/* MOSPROS design system v31 — clean rebuild, no legacy CSS */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--pink:#f72f8d;--pink2:#ff68ad;--pink-soft:#fff0f7;--pink-pale:#fff8fb;--ink:#242538;--muted:#7b7d91;--line:#f0e6ed;--surface:#fff;--bg:#fffafd;--shadow:0 12px 34px rgba(91,43,72,.08);--radius:20px;--radius-sm:13px;--max:1440px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fff 0,#fffafd 55%,#fff 100%);color:var(--ink);font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}body,button,input,select,textarea{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--pink)}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}button,.btn{cursor:pointer;transition:transform .18s,background .18s,box-shadow .18s,border-color .18s}button:hover,.btn:hover{transform:translateY(-1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffacd0;outline-offset:2px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}h1{font-size:clamp(28px,3vw,42px);font-weight:800}h2{font-size:clamp(22px,2.1vw,30px);font-weight:800}h3{font-size:18px;font-weight:800}small,.muted{color:var(--muted)}.wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.topbar{height:72px;position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(240,230,237,.9)}.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:800;letter-spacing:-.06em}.brand>span:last-child{display:flex;flex-direction:column;line-height:1.1}.brand small{font-size:9px;font-weight:600;letter-spacing:.02em;margin-top:5px}.brand-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--pink),#ff83bc);color:white;font-size:13px;box-shadow:0 5px 14px #f72f8d40}.navlinks{display:flex;align-items:center;gap:10px}.btn,button{border:0;border-radius:999px;background:linear-gradient(135deg,var(--pink),#ff5aa6);color:white;padding:11px 20px;font-weight:800;font-size:12px;box-shadow:0 7px 18px #f72f8d25;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.secondary,button.secondary{background:white;color:var(--pink);border:1px solid #ffd0e4;box-shadow:none}.btn.ghost,button.ghost{background:#fff7fb;color:#646477;border:1px solid var(--line);box-shadow:none}.btn:hover,button:hover{box-shadow:0 9px 22px #f72f8d35;color:white}.btn.secondary:hover,.btn.ghost:hover{color:var(--pink);background:var(--pink-soft)}.directory-page{width:min(1500px,100%);margin:auto;padding:0 28px 50px}.directory-header{display:flex;align-items:center;gap:18px;padding:12px 0 18px}.directory-brand{font-size:25px;font-weight:800;letter-spacing:-.06em;color:var(--ink)}.directory-logo{color:var(--pink)}.directory-nav{display:flex;align-items:center;gap:8px;margin-left:auto}.menu-toggle{border:0;width:42px;height:42px;border-radius:14px;background:var(--pink);color:#fff;font-size:20px;box-shadow:0 6px 18px #f72f8d40}.directory-main>h1{font-size:18px;color:var(--muted);margin:10px 0 14px}.directory-main>h1 span{color:var(--pink)}.luxury-intro{position:relative;overflow:hidden;min-height:250px;border-radius:26px;background:radial-gradient(ellipse at 76% 22%,#ffc6df 0,transparent 33%),linear-gradient(110deg,#fff0f7 0,#ffe0ee 49%,#ffd0e5 100%);padding:38px 42px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow);margin-bottom:22px}.luxury-intro:after{content:"";position:absolute;right:4%;top:-90px;width:350px;height:350px;border-radius:50%;border:1px solid #fff9;box-shadow:0 0 0 28px #ffffff25,0 0 0 58px #ffffff18;pointer-events:none}.luxury-intro-copy{position:relative;z-index:1;max-width:560px}.luxury-kicker,.eyebrow{color:var(--pink);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.luxury-intro h2{font-size:clamp(30px,4vw,48px);margin:10px 0;color:#272439}.luxury-intro h2 em{font-style:normal;color:var(--pink)}.luxury-intro p{color:#696477;max-width:420px}.luxury-cta{display:inline-flex;align-items:center;gap:24px;padding:13px 20px;background:var(--pink);color:white;border-radius:999px;font-weight:800;box-shadow:0 8px 20px #f72f8d35}.luxury-cta:hover{color:white;background:#df1973}.luxury-intro-orbit{position:relative;z-index:1;width:170px;height:170px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#fff9,#ffeff8);border:1px solid #fff;box-shadow:0 15px 40px #c55c8e22}.orbit-core{width:105px;height:105px;border-radius:50%;display:grid;align-content:center;justify-items:center;background:white;color:var(--pink);box-shadow:inset 0 0 0 1px #ffe1ef}.orbit-core b{font-size:32px;line-height:1}.orbit-core small{font-size:9px;letter-spacing:.15em;text-align:center;margin-top:5px}.orbit-orb{position:absolute;width:34px;height:34px;border-radius:12px;background:white;color:var(--pink);display:grid;place-items:center;box-shadow:var(--shadow);font-size:19px}.orb-one{top:5px;left:18px}.orb-two{right:0;top:62px}.orb-three{bottom:5px;left:25px}.directory-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:20px;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);margin:18px 0 28px}.city-picker,.filter-select,.filter-switch{min-width:0;position:relative}.city-picker{display:flex;align-items:center;gap:8px}.city-picker>span{color:var(--pink)}select,input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea{width:100%;min-height:42px;padding:10px 13px;background:#fff;border:1px solid #eadfe7;border-radius:12px;color:var(--ink);outline:none}select:focus,input:focus,textarea:focus{border-color:#ff8cbd;box-shadow:0 0 0 3px #fff0f7}input::placeholder,textarea::placeholder{color:#a7a4b2}.filter-trigger{width:100%;justify-content:space-between;background:#fff;color:#4a485d;border:1px solid var(--line);box-shadow:none;border-radius:12px;padding:12px 13px}.filter-trigger:hover{background:var(--pink-pale);color:var(--pink)}.range-control,.multi-options{position:absolute;z-index:20;top:calc(100% + 7px);left:0;width:min(310px,85vw);padding:15px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px #30213620}.range-values{display:flex;align-items:center;gap:8px}.range-values input{min-width:0}.dual-range{display:flex;gap:10px;margin-top:12px}.dual-range input[type=range]{width:50%;accent-color:var(--pink)}.multi-options{max-height:260px;overflow:auto}.multi-options label{display:flex;align-items:center;gap:8px;padding:7px;border-radius:9px}.multi-options label:hover{background:var(--pink-pale)}input[type=checkbox],input[type=radio]{accent-color:var(--pink)}.filter-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid var(--line);border-radius:12px}.filter-switch input{accent-color:var(--pink)}.filter-bottom{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px}.filter-result-count{color:var(--muted)}.filter-result-count strong{color:var(--pink)}.reset-filters{color:var(--pink);font-weight:700;margin-left:auto}.active-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.active-filter-chips span{padding:5px 9px;background:var(--pink-soft);border-radius:99px;color:#bd2d71;font-size:11px}.directory-results-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 16px}.directory-results-head h2{margin:0;font-size:24px}.directory-results-head h2:before{content:"✦";display:inline-grid;place-items:center;width:30px;height:30px;margin-right:10px;border-radius:10px;background:var(--pink-soft);color:var(--pink);font-size:15px}.directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.directory-card{position:relative;min-width:0;background:white;border:1px solid #f1e6ed;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #5c31500b;transition:transform .22s,box-shadow .22s,border-color .22s}.directory-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px #5c315018;border-color:#ffd0e4}.directory-card.is-vip{border-color:#ffb2d3}.directory-card.is-top{border-color:#f6d28e}.directory-card-title{padding:13px 14px 7px;display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.directory-card-title h3{font-size:16px;margin:0 0 4px}.verified-mark{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#20be82;color:#fff;vertical-align:middle;margin-left:5px}.verified-mark svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:3}.directory-location{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.location-pin{width:13px;height:13px;fill:none;stroke:var(--pink);stroke-width:1.8}.directory-icons{display:flex;gap:5px}.contact-icon{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:var(--pink-soft);color:var(--pink)}.contact-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}.icon-muted{background:#f5f3f6;color:#b5b1bd}.directory-phone{display:flex;align-items:center;gap:7px;padding:0 14px 10px;color:var(--pink);font-weight:800;font-size:12px}.phone-symbol svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.directory-photo{position:relative;display:block;margin:0 9px;overflow:hidden;border-radius:13px;aspect-ratio:3/4;background:#f7eaf1}.directory-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.directory-card:hover .directory-photo img{transform:scale(1.035)}.tariff-badge{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:8px;color:#fff;font-size:10px;font-weight:800;box-shadow:0 4px 12px #0002}.vip-badge{background:var(--pink)}.top-badge{background:#d6a33e}.directory-card-info{padding:12px 13px 14px}.directory-stats{display:flex;gap:6px 11px;flex-wrap:wrap;font-size:10px;color:var(--muted);padding-bottom:11px;border-bottom:1px solid #f4edf1}.directory-stats b{color:#454257;font-weight:800}.directory-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:11px 0}.directory-prices span{font-size:10px;color:var(--muted)}.directory-prices b{display:block;color:var(--pink);font-size:12px;margin-top:3px}.directory-more{display:flex;align-items:center;justify-content:center;width:100%;padding:10px;border:1px solid #ffd0e4;background:var(--pink-pale);color:var(--pink);border-radius:11px;font-size:11px;font-weight:800}.directory-more:hover{background:var(--pink);color:white}.directory-empty,.empty{padding:30px;background:white;border:1px dashed #edc7d9;border-radius:18px;text-align:center;color:var(--muted)}.directory-footer,.footer{padding:26px;text-align:center;color:var(--muted);font-size:11px;border-top:1px solid var(--line);margin-top:30px}.directory-menu-backdrop{position:fixed;inset:0;z-index:80;background:#21151f70;opacity:0;visibility:hidden;transition:.22s}.directory-drawer{position:fixed;z-index:81;inset:0 auto 0 0;width:min(300px,86vw);background:#fff;padding:20px 14px;transform:translateX(-105%);transition:transform .25s;box-shadow:20px 0 50px #24132120;overflow:auto}.menu-open .directory-menu-backdrop{opacity:1;visibility:visible}.menu-open .directory-drawer{transform:translateX(0)}.drawer-head{display:flex;justify-content:flex-end;align-items:center;padding:2px 4px 20px}.drawer-close{width:38px;height:38px;border-radius:12px;background:var(--pink-soft);color:var(--pink);box-shadow:none;font-size:23px;padding:0}.drawer-links{display:grid;gap:7px}.drawer-link{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:13px;color:#4c485b;font-weight:700}.drawer-link:hover,.drawer-link.active{background:var(--pink-soft);color:var(--pink)}.drawer-link:before{width:22px;text-align:center;color:var(--pink);font-size:18px}.drawer-verified:before{content:'✧'}.drawer-new:before{content:'♨'}.drawer-messenger:before{content:'➤'}.drawer-expensive:before{content:'⌃'}.drawer-cheap:before{content:'⌄'}.wrap>main,.wrap main{min-width:0}.panel,.account-welcome,.account-tabs,.settings-card,.profile-about-panel,.profile-services-panel,.comments-panel,.comments-panel,.profile-contact{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}main.wrap{padding-top:28px;padding-bottom:50px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0 22px}.section-head h1,.section-head h2{margin:0}.account-hero-head{align-items:center}.account-page{max-width:1180px}.account-welcome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;background:linear-gradient(110deg,#fff,#fff1f8)}.account-welcome h3{margin:0}.account-welcome p{margin:0}.balance-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:700}.balance-money-icon{font-size:18px}.account-balance{font-size:24px;color:var(--pink);margin:0 14px}.account-tabs{display:flex;gap:8px;padding:8px;margin-bottom:20px;overflow:auto}.account-tab{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:12px 16px;border-radius:13px;color:#656276;font-weight:800}.account-tab.active,.account-tab:hover{background:var(--pink-soft);color:var(--pink)}.account-tab-icon{color:var(--pink)}.reply-badge{background:var(--pink);color:white;border-radius:99px;padding:1px 6px}.my-list{display:grid;gap:14px}.my-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:start;gap:18px;padding:18px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #5c31500b}.managed-profile-photo{width:100px;aspect-ratio:3/4;overflow:hidden;border-radius:13px;background:var(--pink-soft)}.managed-profile-photo img{width:100%;height:100%;object-fit:cover}.managed-profile-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.profile-id-chip{padding:3px 7px;border-radius:7px;background:#f6f3f6;color:var(--muted);font-size:10px}.managed-profile-info p{margin:8px 0}.managed-profile-actions{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:160px}.managed-profile-actions form{margin:0}.managed-profile-actions .btn,.managed-profile-actions button{width:100%;white-space:normal}.status{display:inline-flex;padding:5px 10px;border-radius:99px;font-size:11px;font-weight:800;margin:7px 0}.status.approved{background:#e8fbf3;color:#159b69}.status.pending{background:#fff5dc;color:#a36b00}.status.rejected{background:#fff0f3;color:#d93c69}.placement-form{grid-column:2/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}.placement-label{min-width:100px}.placement-price-hint{margin:0;color:var(--pink);font-weight:800}.auth-page{max-width:520px;margin:45px auto!important}.auth-modern{padding:30px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.auth h1,.auth-modern h1{text-align:center}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label,label{font-weight:700;color:#4e4b60}.field input,.field select,.field textarea{width:100%}.span-2{grid-column:1/-1}.form-grid button[type=submit]{justify-self:start}.notice{padding:13px 15px;border-radius:12px;margin:14px 0;background:#effaf5;color:#147c55}.notice.error{background:#fff0f3;color:#c22b56}.help{padding:11px 13px;background:var(--pink-pale);border-radius:12px;color:#9d4770}.profile-page{max-width:1240px;margin:auto;padding:28px 24px 50px}.profile-back{display:inline-flex;margin-bottom:16px;color:var(--pink);font-weight:800}.profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.profile-heading h1{margin:0 0 5px}.profile-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-detail-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:22px;align-items:start}.gallery{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px}.gallery-thumbs{display:flex;flex-direction:column;gap:9px}.gallery-thumbs img{width:84px;height:95px;object-fit:cover;border-radius:12px;cursor:pointer;border:2px solid transparent}.gallery-thumbs img:hover{border-color:var(--pink)}.gallery-main{width:100%;max-height:720px;aspect-ratio:3/4;object-fit:cover;border-radius:20px;cursor:zoom-in;background:var(--pink-soft)}.gallery-empty{display:grid;place-items:center;min-height:280px;border-radius:18px;background:var(--pink-soft)}.profile-contact{padding:20px;background:linear-gradient(135deg,#fff,#fff1f8)}.profile-phone-link{font-size:22px;color:var(--pink);font-weight:800}.contact-icons{display:flex;gap:8px;flex-wrap:wrap}.round-contact{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:99px;background:var(--pink-soft);color:var(--pink);font-weight:800}.profile-services-panel,.profile-about-panel,.comments-panel{margin-top:18px}.profile-service-groups,.service-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-service-row,.service-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;background:#fff7fb;border:1px solid #f7e4ee}.profile-recommendations{margin-top:28px}.profile-recommendation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.profile-recommendation-card{display:flex;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:white}.profile-recommendation-photo{width:75px;height:90px;flex:none;object-fit:cover;border-radius:10px}.profile-recommendation-name{font-weight:800}.recommendation-location,.recommendation-meta{display:block;font-size:11px;color:var(--muted)}.recommendation-price{color:var(--pink);font-weight:800}.photo-lightbox{display:none;position:fixed;inset:0;z-index:1000;align-items:center;justify-content:center;background:#15121beF;padding:64px 20px 24px;touch-action:pan-y}.photo-lightbox img{max-width:min(90vw,1000px);max-height:calc(100dvh - 100px);object-fit:contain;border-radius:10px;user-select:none}.photo-close,.photo-prev,.photo-next{position:absolute;z-index:2;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffffff35;background:#ffffff20;color:white;box-shadow:none;font-size:32px;border-radius:50%}.photo-close{top:12px;right:14px}.photo-prev{left:14px;top:50%;transform:translateY(-50%)}.photo-next{right:14px;top:50%;transform:translateY(-50%)}body.photo-lightbox-open{overflow:hidden}.photo-upload-field{display:flex;flex-direction:column;gap:10px}.photo-upload-input{max-width:100%}.photo-upload-previews,.saved-photo-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:10px}.saved-photo-card{position:relative;min-width:0}.saved-photo-card img,.photo-upload-previews img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px}.saved-photo-delete,.photo-close{cursor:pointer}.saved-photo-delete{position:absolute;right:5px;top:5px;width:27px;height:27px;border-radius:50%;padding:0;background:#f72f8d;color:white}.profile-edit-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-edit-page{max-width:1000px;margin:auto}.account-form-panel{padding:22px;background:white;border:1px solid var(--line);border-radius:18px}.profile-management-card{grid-template-columns:100px minmax(0,1fr) auto}.statlist{display:flex;gap:10px;flex-wrap:wrap}.stat{padding:12px 16px;background:var(--pink-soft);border-radius:14px}.admin-page .panel{margin-bottom:18px}.admin-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.admin-hub-card{display:grid;gap:8px;padding:20px;border-radius:17px;background:white;border:1px solid var(--line);box-shadow:var(--shadow)}.admin-hub-card:hover{border-color:#ffb9d8;transform:translateY(-2px)}.hub-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--pink-soft);color:var(--pink);font-size:20px}.admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-actions form{display:inline-flex;gap:8px;flex-wrap:wrap}.comment{padding:18px 0;border-bottom:1px solid var(--line)}.settings-nav{margin-bottom:18px}.settings-card{margin:18px 0}.billing-user-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px}.billing-user-form label{display:grid;gap:6px}.chat-admin-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.chat-users{max-height:70vh;overflow:auto}.chat-user{display:flex;gap:10px;padding:11px;border-radius:12px}.chat-user:hover,.chat-user.selected{background:var(--pink-soft)}.chat-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--pink-soft);color:var(--pink);font-weight:800}.chat-user-info{display:grid;min-width:0}.chat-user-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread{display:flex;flex-direction:column;gap:12px;max-height:55vh;overflow:auto;padding:14px 0}.chat-bubble{max-width:85%;padding:13px;border-radius:15px;background:#f8f5f8}.chat-bubble.from-admin{align-self:flex-end;background:var(--pink-soft)}.chat-bubble p{margin:6px 0}.chat-compose{display:grid;gap:10px}.unread-count{background:var(--pink);color:white;border-radius:99px;padding:2px 7px;font-size:10px}.status,.tariff-badge{letter-spacing:.01em}.directory-card-title h3 a:hover,.directory-phone a:hover{color:#c91c6c}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.directory-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.directory-filters{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.directory-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-detail-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-page{padding-inline:18px}.luxury-intro{min-height:220px}.luxury-intro-orbit{width:130px;height:130px}.orbit-core{width:82px;height:82px}}
@media(max-width:760px){.wrap{width:calc(100% - 28px)}.topbar{height:62px}.nav{gap:8px}.brand{font-size:19px}.brand small{display:none}.navlinks{gap:6px}.navlinks .btn{padding:9px 12px;font-size:11px}.directory-page{padding:0 12px 35px}.directory-header{padding:10px 0}.directory-brand{font-size:21px}.directory-nav .nav-login,.directory-nav .nav-register{display:none}.menu-toggle{width:38px;height:38px}.luxury-intro{min-height:190px;padding:24px 20px;border-radius:19px;margin-bottom:15px}.luxury-intro h2{font-size:27px}.luxury-intro p{font-size:12px;max-width:260px}.luxury-kicker{font-size:8px}.luxury-intro-orbit{display:none}.luxury-cta{padding:11px 15px;font-size:11px}.directory-main>h1{font-size:15px}.directory-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border-radius:17px;margin:14px 0 20px}.filter-bottom{grid-column:1/-1}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.directory-card{border-radius:15px}.directory-card-title{padding:10px 9px 5px}.directory-card-title h3{font-size:13px}.directory-location{font-size:10px}.directory-icons{display:none}.directory-phone{padding:0 9px 8px;font-size:10px;gap:4px;overflow-wrap:anywhere}.directory-photo{margin:0 6px;border-radius:10px;aspect-ratio:3/4}.directory-card-info{padding:9px}.directory-stats{font-size:9px;gap:4px 7px;padding-bottom:8px}.directory-prices{gap:3px;padding:8px 0}.directory-prices span{font-size:9px}.directory-prices b{font-size:10px}.directory-more{padding:8px;font-size:10px}.tariff-badge{top:6px;left:6px;padding:4px 6px;font-size:9px}.directory-results-head{margin:20px 0 12px}.directory-results-head h2{font-size:21px}.directory-footer{padding:22px 10px}.main,.directory-main{min-width:0}.account-page{padding-top:20px!important}.section-head{align-items:flex-start}.account-hero-head{flex-direction:column}.account-hero-head .btn{align-self:stretch}.account-welcome{display:block;padding:17px}.account-welcome h3{margin-bottom:10px}.account-welcome p{margin:9px 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.account-balance{font-size:21px;margin:0 5px}.account-tabs{padding:6px;border-radius:15px}.account-tab{padding:10px 12px;font-size:11px}.my-row,.profile-management-card{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px}.managed-profile-photo{width:76px}.managed-profile-info{min-width:0}.managed-profile-title strong{font-size:14px}.managed-profile-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.placement-form{grid-column:1/-1}.placement-label{flex:1;min-width:80px}.placement-form button{width:100%}.panel,.account-form-panel{padding:16px;border-radius:16px}.form-grid{grid-template-columns:1fr;gap:13px}.span-2{grid-column:auto}.auth-page{margin:24px auto!important}.auth-modern{padding:22px}.profile-page{padding:20px 12px 35px}.profile-heading{display:block}.profile-heading h1{font-size:29px}.profile-detail-layout{grid-template-columns:1fr;gap:14px}.gallery{grid-template-columns:60px minmax(0,1fr);gap:8px}.gallery-thumbs img{width:60px;height:74px;border-radius:9px}.gallery-main{max-height:72vh;border-radius:15px}.profile-contact{padding:16px}.profile-phone-link{font-size:19px}.profile-service-groups,.service-groups{grid-template-columns:1fr}.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-recommendation-card{gap:7px;padding:7px}.profile-recommendation-photo{width:56px;height:70px}.profile-recommendation-name{font-size:11px}.photo-lightbox{padding:65px 8px 20px}.photo-close{top:10px;right:10px;width:40px;height:40px}.photo-prev{left:7px;width:38px;height:42px;font-size:27px}.photo-next{right:7px;width:38px;height:42px;font-size:27px}.photo-lightbox img{max-width:100%;max-height:calc(100dvh - 95px)}.admin-hub{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-user-form,.chat-admin-layout{grid-template-columns:1fr}.chat-users{max-height:260px}.chat-window{min-width:0}.directory-drawer{padding-top:16px}}
@media(max-width:380px){.directory-grid{gap:8px}.directory-card-title h3{font-size:12px}.directory-prices{grid-template-columns:1fr}.directory-prices span{display:flex;justify-content:space-between;gap:6px}.directory-prices b{display:inline;margin:0}.directory-filters{padding:9px;gap:7px}.filter-trigger{padding:10px 9px;font-size:11px}.directory-phone{font-size:9px}.navlinks .btn{padding:8px 10px}.admin-hub{grid-template-columns:1fr}}

/* v32 polish: larger card information, clearer contacts, and robust mobile layout */
.directory-header{min-height:76px;gap:16px;padding:10px 0 14px}
.menu-toggle{flex:0 0 48px;width:48px;height:48px;font-size:25px;border-radius:16px;display:grid;place-items:center;line-height:1}
.directory-brand{font-size:clamp(23px,2vw,30px)}
.directory-nav .nav-login,.directory-nav .nav-register{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;border-radius:999px;font-size:14px;font-weight:800;letter-spacing:.01em;border:2px solid #ff4f9b;background:#fff;color:#ed247f;box-shadow:0 5px 16px #f72f8d14;transition:background .18s,color .18s,box-shadow .18s}
.directory-nav .nav-register{background:linear-gradient(135deg,#ff4d9a,#ff78b5);color:#fff;border-color:#ff4d9a;box-shadow:0 7px 18px #f72f8d2b}
.directory-nav .nav-login:hover,.directory-nav .nav-register:hover{background:#ffeaf4;color:#c91c6c;box-shadow:0 8px 20px #f72f8d25}
.directory-nav .nav-register:hover{background:#ed247f;color:#fff}
.directory-card{border-radius:22px;box-shadow:0 10px 28px rgba(91,37,69,.08)}
.directory-card-title{padding:15px 16px 9px}
.directory-card-title h3{font-size:clamp(17px,1.25vw,21px);line-height:1.25}
.directory-location{font-size:13px;gap:7px}
.directory-icons{gap:7px}
.contact-icon{width:34px;height:34px;border-radius:11px}
.contact-icon svg{width:18px;height:18px}
.directory-phone{padding:2px 16px 12px;gap:9px;font-size:clamp(15px,1.15vw,18px);line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.directory-phone a{font-weight:850;letter-spacing:.01em}
.phone-symbol svg{width:19px;height:19px}
.directory-card-info{padding:13px 16px 16px}
.directory-stats{font-size:12px;gap:7px 13px;padding-bottom:11px}
.directory-stats b{color:var(--ink);font-size:13px}
.directory-prices{gap:7px;padding:11px 0}
.directory-prices span{font-size:12px}
.directory-prices b{font-size:14px;font-weight:850}
.directory-more{font-size:13px;font-weight:850;padding:11px 13px;border-radius:12px}
.directory-drawer{padding:12px 14px 24px;overflow-y:auto;overscroll-behavior:contain}
.drawer-head{position:sticky;top:0;z-index:3;min-height:52px;padding:0 0 12px;background:#fff;align-items:center}
.drawer-close{flex:0 0 46px;width:46px;height:46px;min-width:46px;min-height:46px;border:1px solid #ffc4dd;background:#fff0f7;color:#d91e75;border-radius:14px;display:grid;place-items:center;font-size:0;line-height:1;box-shadow:0 5px 16px #d91e7518;position:relative}
.drawer-close:before,.drawer-close:after{content:"";position:absolute;left:12px;top:21px;width:20px;height:3px;border-radius:5px;background:currentColor;display:block}
.drawer-close:before{transform:rotate(45deg)}.drawer-close:after{transform:rotate(-45deg)}
.drawer-close span{display:none}
.drawer-links{display:grid;gap:8px}
.drawer-link{min-height:54px;display:flex;align-items:center;gap:15px;padding:11px 14px;border-radius:15px;font-size:15px;font-weight:750;color:#333044;transition:background .18s,color .18s}
.drawer-link>span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#fff0f7;color:#f32e88;font-size:23px;line-height:1}
.drawer-link:hover,.drawer-link:focus-visible{background:#fff0f7;color:#d91e75}
.drawer-link.drawer-verified{background:#fff;color:#333044}
.drawer-link.drawer-verified:hover,.drawer-link.drawer-verified:focus-visible{background:#fff0f7;color:#d91e75}
.directory-menu-backdrop{z-index:80}
.profile-page{max-width:1380px;margin-inline:auto}
.profile-detail-layout{gap:26px}
.profile-contact{border:1px solid #f6dce9;border-radius:22px;box-shadow:0 12px 32px rgba(91,37,69,.07);padding:25px}
.profile-phone-link{display:inline-block;font-size:clamp(25px,2.2vw,34px);line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere;word-break:break-word;margin:5px 0 14px}
.profile-contact .round-contact{font-size:14px;min-height:46px;padding:12px 18px}
.profile-heading h1{font-size:clamp(29px,3vw,42px)}
.profile-about-panel,.profile-services-panel,.comments-panel,.profile-contact{overflow-wrap:anywhere}
.gallery-empty{min-height:360px;border:1px solid #f6dce9;background:radial-gradient(circle at 50% 36%,#fff 0,#fff5fa 40%,#ffe5f1 100%);color:#d91e75;position:relative;overflow:hidden}
.gallery-empty:before{content:"";width:130px;height:130px;border-radius:38px;background:#fff;box-shadow:0 16px 40px #d91e7517;border:1px solid #ffd3e6;position:absolute;top:calc(50% - 92px);left:calc(50% - 65px)}
.gallery-empty:after{content:"♡";position:absolute;top:calc(50% - 78px);left:0;width:100%;text-align:center;font-size:74px;font-weight:300;line-height:130px;color:#f05a9c}
.gallery-empty>*{position:relative;z-index:1}
.directory-photo img[src$="placeholder.svg"]{object-fit:cover;background:#fff1f7}
@media(max-width:1100px){.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.directory-phone{font-size:15px}.directory-nav .nav-login,.directory-nav .nav-register{padding-inline:16px}}
@media(max-width:760px){
 .directory-page{padding-inline:12px}.directory-header{display:flex;flex-wrap:wrap;gap:10px;padding:10px 0 13px;min-height:0}
 .menu-toggle{width:44px;height:44px;flex-basis:44px;font-size:23px;border-radius:14px}
 .directory-brand{font-size:22px;flex:1;min-width:0;align-self:center}
 .city-picker{order:4;width:100%;flex-basis:100%;margin:0}.city-picker select{min-height:44px}
 .directory-nav{margin-left:auto;gap:7px}.directory-nav .nav-login,.directory-nav .nav-register{display:inline-flex;min-height:40px;padding:8px 13px;font-size:12px;border-width:1.5px}
 .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .directory-card{border-radius:16px}.directory-card-title{padding:10px 9px 6px;gap:4px}.directory-card-title h3{font-size:14px;overflow-wrap:anywhere}.directory-location{font-size:10px;gap:4px}.directory-icons{display:none}
 .directory-phone{padding:0 9px 9px;font-size:clamp(12px,3.2vw,15px);gap:5px;align-items:flex-start}.phone-symbol svg{width:16px;height:16px}.directory-photo{margin:0 6px;aspect-ratio:3/4;border-radius:10px}
 .directory-card-info{padding:9px 10px 11px}.directory-stats{font-size:10px;gap:5px 8px;padding-bottom:8px}.directory-stats b{font-size:11px}.directory-prices{display:grid;grid-template-columns:1fr;gap:5px;padding:8px 0}.directory-prices span{display:flex;justify-content:space-between;gap:5px;font-size:10px}.directory-prices b{font-size:11px}.directory-more{width:100%;padding:9px 7px;font-size:11px}
 .drawer-head{min-height:58px;padding-bottom:12px}.drawer-close{width:46px;height:46px;flex-basis:46px}.drawer-close:before,.drawer-close:after{left:12px;top:21px}.drawer-link{min-height:53px;font-size:14px}.drawer-link>span{width:35px;height:35px;flex-basis:35px;font-size:23px}
 .profile-page{padding:16px 10px 28px}.profile-heading h1{font-size:28px}.profile-detail-layout{grid-template-columns:minmax(0,1fr);gap:13px}.gallery{grid-template-columns:56px minmax(0,1fr);gap:8px}.gallery-thumbs img{width:56px;height:70px}.gallery-main{max-height:68dvh;aspect-ratio:3/4}.gallery-empty{min-height:260px}.profile-contact{padding:18px;border-radius:17px}.profile-phone-link{font-size:clamp(23px,6vw,30px)}.profile-contact .round-contact{width:100%;justify-content:center}.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){.directory-brand{font-size:19px}.directory-nav .nav-login,.directory-nav .nav-register{padding:7px 9px;font-size:11px}.directory-grid{gap:8px}.directory-card-title h3{font-size:13px}.directory-phone{font-size:12px}.directory-stats{font-size:9px}.directory-stats b{font-size:10px}.directory-card-info{padding:8px}.directory-prices span{font-size:9px}.directory-prices b{font-size:10px}}


/* v33: coherent profile page, one photo picker, and collision-free mobile header */
.photo-upload-input.photo-picker-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.photo-picker-button{align-self:flex-start;min-height:46px;padding:12px 20px;border:1px solid #f5a8cb;background:linear-gradient(135deg,#ff4f9a,#f02f83);color:#fff;border-radius:14px;font-weight:800;box-shadow:0 8px 18px #e72b821f}
.photo-picker-button:hover,.photo-picker-button:focus{background:#df2476;color:#fff}
.photo-preview-card{position:relative;min-width:0;padding:7px;border-radius:15px;background:#fff;border:1px solid #f0cddd;box-shadow:0 5px 18px #7c3d5b0d}
.photo-preview-card img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;background:#f7eaf1}
.photo-preview-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 3px 1px;color:#746476;font-size:11px}
.photo-preview-remove{position:absolute;top:10px;right:10px;width:31px;height:31px;min-width:31px;padding:0;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#e9277c;color:#fff;font-size:22px;line-height:1;box-shadow:0 3px 10px #32132235}
.drawer-close:hover,.drawer-close:focus,.drawer-close:focus-visible{color:#d91e75!important;background:#fff0f7!important;border-color:#ffc4dd!important;box-shadow:0 5px 16px #d91e7518!important;transform:none!important}
/* Profile page is a standalone layout, not a generic two-column form. */
.profile-page{width:min(1320px,calc(100% - 48px));padding:24px 0 56px;color:#29253a}
.profile-back a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #f1d8e5;border-radius:999px;background:#fff;color:#c52b70;font-weight:750}
.profile-heading{padding:8px 0 20px;border-bottom:1px solid #f2e2eb;margin-bottom:22px}
.profile-heading h1{font-size:clamp(30px,3vw,44px);color:#272439;font-weight:850;letter-spacing:-.04em}
.profile-detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:start;gap:24px}
.profile-detail-layout>.panel,.profile-page>.panel,.profile-page>section.panel{min-width:0;padding:22px;background:#fff;border:1px solid #f0dce7;border-radius:22px;box-shadow:0 12px 35px rgba(77,37,61,.07)}
.profile-detail-layout>section.panel:first-child{position:sticky;top:92px}
.gallery{grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:start}
.gallery-thumbs{max-height:720px;overflow-y:auto;overscroll-behavior:contain;padding:2px}
.gallery-thumbs img{width:100%;height:auto;aspect-ratio:4/5;border:2px solid transparent;border-radius:13px;object-fit:cover}
.gallery-thumbs img:active,.gallery-thumbs img:hover{border-color:#f04491}
.gallery-main{width:100%;height:auto;max-height:calc(100vh - 145px);aspect-ratio:3/4;object-fit:cover;object-position:center;border-radius:17px;background:#fff0f7}
.gallery-empty{min-height:440px;width:100%;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#fff7fb,#f9e8f1);border:1px dashed #e8b6cf;overflow:hidden}
.gallery-empty .gallery-main{width:min(100%,480px);height:440px;max-height:none;object-fit:contain;background:transparent}
.profile-detail-layout>.panel:nth-child(2){display:grid;gap:17px;padding:22px;background:#fff;border-radius:22px}
.profile-topline{font-size:16px;font-weight:850;color:#343044;padding-bottom:13px;border-bottom:1px solid #f2e2eb}
.statlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0!important}
.stat{min-width:0;padding:12px 14px;background:#fff5fa;border:1px solid #f6dce9;border-radius:13px;display:flex;flex-direction:column;gap:5px}
.stat span{font-size:12px;color:#817587}.stat strong{font-size:14px;line-height:1.4;color:#312b40;overflow-wrap:anywhere}
.profile-contact{display:flex;flex-direction:column;gap:10px;padding:19px;border:1px solid #f3c9dd;border-radius:18px;background:linear-gradient(135deg,#fff7fb,#ffedf5);box-shadow:none}
.profile-phone-link{font-size:clamp(24px,2.4vw,34px);font-weight:900;line-height:1.25;color:#e52a80;overflow-wrap:anywhere;word-break:normal}
.profile-contact .contact-icons{display:flex;gap:10px;flex-wrap:wrap}.profile-contact .round-contact{min-height:44px;justify-content:center;border:1px solid #f3c6dc;background:#fff;color:#d82476;border-radius:13px}
.profile-detail-layout>.panel:nth-child(2)>section.panel{margin:0;padding:17px;border:1px solid #f0dce7;border-radius:17px;background:#fff}
.profile-detail-layout h2,.profile-page>section.panel h2{font-size:21px;color:#302a40;margin-bottom:15px}
.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.price-grid .stat{background:#fff5fa}.price-grid .stat strong{font-size:16px;color:#df2879}
.profile-about-panel p{font-size:15px;line-height:1.8;color:#51495a;overflow-wrap:anywhere}
.profile-service-groups,.service-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.profile-service-group{min-width:0;padding:14px;border:1px solid #f2dce8;border-radius:15px;background:#fffafd}
.profile-service-group h3{font-size:15px;color:#d72a78;margin-bottom:9px}
.profile-service-row{align-items:flex-start;padding:10px 0;border:0;border-bottom:1px solid #f3e6ed;border-radius:0;background:transparent;font-size:13px;color:#51485a}
.profile-service-row:last-child{border-bottom:0}.profile-service-row strong{flex:none;color:#d92878;font-size:13px}
.comments-panel .comment-form{display:grid;gap:9px}.comments-panel .comment-form label{margin-top:7px}
.directory-header{min-width:0}.directory-brand{flex:0 1 auto}.directory-nav{min-width:0;flex-wrap:nowrap}
@media(max-width:900px){.profile-page{width:calc(100% - 32px)}.profile-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.gallery{grid-template-columns:64px minmax(0,1fr);gap:9px}.profile-detail-layout>.panel,.profile-page>.panel,.profile-page>section.panel{padding:15px}.profile-detail-layout>.panel:nth-child(2){padding:15px}.profile-detail-layout>section.panel:first-child{top:78px}.gallery-empty,.gallery-empty .gallery-main{min-height:300px;height:300px}}
@media(max-width:680px){
 .directory-header{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;grid-template-areas:'menu brand nav' 'city city city';align-items:center;gap:9px;padding:10px 0 12px}
 .directory-header .menu-toggle{grid-area:menu;width:42px;height:42px;min-width:42px}
 .directory-header .directory-brand{grid-area:brand;font-size:clamp(18px,5vw,23px);white-space:nowrap;min-width:0}
 .directory-header .directory-nav{grid-area:nav;display:flex;gap:5px;margin:0;justify-content:flex-end}
 .directory-nav .nav-login,.directory-nav .nav-register{min-height:36px;padding:7px 10px;font-size:11px;white-space:nowrap;border-width:1px}
 .directory-header .city-picker{grid-area:city;width:100%;margin:0}
 .profile-page{width:calc(100% - 24px);padding:15px 0 32px}
 .profile-heading{margin-bottom:13px;padding-bottom:14px}.profile-heading h1{font-size:clamp(25px,7vw,34px);line-height:1.18}
 .profile-detail-layout{grid-template-columns:minmax(0,1fr);gap:13px}
 .profile-detail-layout>section.panel:first-child{position:static;top:auto}
 .profile-detail-layout>.panel,.profile-page>.panel,.profile-page>section.panel{padding:12px;border-radius:17px}
 .profile-detail-layout>.panel:nth-child(2){padding:13px;gap:13px;border-radius:17px}
 .gallery{grid-template-columns:62px minmax(0,1fr);gap:8px}
 .gallery-thumbs{max-height:68vh;gap:7px}.gallery-thumbs img{width:100%;height:auto;aspect-ratio:4/5;border-radius:9px}
 .gallery-main{max-height:72dvh;aspect-ratio:3/4;border-radius:13px}
 .gallery-empty{min-height:300px}.gallery-empty .gallery-main{height:300px;min-height:300px}
 .statlist{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stat{padding:10px;border-radius:11px}.stat span{font-size:11px}.stat strong{font-size:13px}
 .profile-contact{padding:14px;border-radius:15px}.profile-phone-link{font-size:clamp(22px,6vw,29px);line-height:1.25;letter-spacing:-.02em}
 .profile-contact .contact-icons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-contact .round-contact{min-width:0;padding:10px;font-size:13px}
 .price-grid,.profile-service-groups,.service-groups{grid-template-columns:minmax(0,1fr)}
 .profile-detail-layout h2,.profile-page>section.panel h2{font-size:19px}
 .profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .directory-nav .nav-login,.directory-nav .nav-register{padding:7px 8px;font-size:10px;min-height:34px}
}
@media(max-width:360px){.directory-header{grid-template-columns:36px minmax(0,1fr) auto;gap:6px}.directory-header .menu-toggle{width:36px;height:36px;min-width:36px}.directory-header .directory-brand{font-size:17px}.directory-nav .nav-login,.directory-nav .nav-register{padding:6px 7px;font-size:9px}.profile-page{width:calc(100% - 18px)}.gallery{grid-template-columns:52px minmax(0,1fr)}.statlist{grid-template-columns:1fr}}

/* v34: profile detail layout rebuilt to avoid inherited legacy sizing */
.profile-detail-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:22px}
.profile-detail-layout>.panel{min-width:0}
.gallery{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;align-items:start}
.gallery-main{grid-column:1;grid-row:1;width:100%;height:auto;min-width:0;max-height:calc(100vh - 150px);aspect-ratio:3/4;object-fit:cover}
.gallery-thumbs{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:9px;max-height:calc(100vh - 150px);overflow-y:auto;min-width:0}
.gallery-thumbs img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;cursor:pointer}
.gallery-empty{grid-column:1/-1;min-width:0}
.gallery-empty .gallery-main{grid-column:auto;grid-row:auto;width:min(100%,480px);height:440px;max-height:none;aspect-ratio:auto;object-fit:contain}
.price-group-icon{display:inline-grid;width:34px;height:34px;min-width:34px;place-items:center;vertical-align:middle;margin-right:7px;border-radius:10px;background:#fff0f7;color:#df2879}
.price-group-icon svg{display:block!important;width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round}
.profile-detail-layout h2 .price-group-icon{font-size:0;line-height:1}
@media(max-width:900px){.profile-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.gallery{grid-template-columns:minmax(0,1fr) 64px}.gallery-main{grid-column:1;grid-row:1}.gallery-thumbs{grid-column:2;grid-row:1}}
@media(max-width:680px){
 .profile-page{width:calc(100% - 24px);padding:14px 0 30px;overflow:hidden}
 .profile-heading h1{font-size:clamp(24px,6.5vw,32px);overflow-wrap:anywhere}
 .profile-detail-layout{grid-template-columns:minmax(0,1fr);gap:13px}
 .gallery{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:9px;width:100%}
 .gallery-main{grid-column:1;grid-row:1;width:100%;height:auto;max-height:70dvh;aspect-ratio:3/4;object-fit:cover}
 .gallery-thumbs{grid-column:1;grid-row:2;display:flex;flex-direction:row;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 1px 6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
 .gallery-thumbs img{flex:0 0 68px;width:68px;height:84px;aspect-ratio:auto;object-fit:cover;scroll-snap-align:start}
 .gallery-empty{min-height:260px;padding:12px}
 .gallery-empty .gallery-main{grid-column:1;grid-row:1;width:100%;height:260px;min-height:260px;max-height:260px;aspect-ratio:auto;object-fit:contain}
 .profile-detail-layout>.panel:nth-child(2){min-width:0;width:100%}
 .profile-detail-layout h2{overflow-wrap:anywhere}
 .price-group-icon{width:30px;height:30px;min-width:30px}
 .price-group-icon svg{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important}
}

/* v35: targeted fixes for profile details, contact icons and account controls */
.account-tabs{display:flex;flex-wrap:wrap;gap:8px}
.account-tab{display:inline-flex;align-items:center;gap:8px}
.managed-profile-actions .btn[href^="profile.php"]:before{content:none!important;display:none!important}
/* Keep gallery layout stable: one large photo + side previews on desktop */
.profile-detail-layout{align-items:start;min-width:0}
.profile-detail-layout>.panel{min-width:0;overflow:hidden}
.profile-detail-layout>section.panel:first-child{min-width:0}
.profile-page .gallery{display:grid!important;grid-template-columns:minmax(0,1fr) 84px!important;grid-template-rows:auto!important;gap:12px!important;align-items:start;min-width:0;width:100%}
.profile-page .gallery-main{grid-column:1!important;grid-row:1!important;display:block;width:100%!important;min-width:0;height:auto!important;max-height:calc(100dvh - 150px)!important;aspect-ratio:3/4!important;object-fit:cover!important;border-radius:16px}
.profile-page .gallery-thumbs{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0;max-height:calc(100dvh - 150px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:2px!important}
.profile-page .gallery-thumbs img{display:block;flex:0 0 auto;width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;border:2px solid transparent;border-radius:10px;cursor:pointer}
.profile-page .gallery-thumbs img:hover{border-color:#e83b8d}
.profile-page .gallery-empty{grid-column:1/-1!important;min-width:0;width:100%;min-height:320px}
.profile-page .gallery-empty .gallery-main{grid-column:auto!important;grid-row:auto!important;width:min(100%,420px)!important;height:320px!important;max-height:320px!important;aspect-ratio:auto!important;object-fit:contain!important}
/* SVG and emoji icons must never expand to the size of the profile column */
.profile-page .stat svg,.profile-page .stat span svg,.profile-page .section-icon svg,.profile-page .profile-contact svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;flex:0 0 20px!important;display:inline-block;vertical-align:middle}
.profile-page .stat{min-width:0;gap:10px}
.profile-page .stat>span:first-child{display:flex;align-items:center;gap:7px;min-width:0}
.profile-page .stat strong{min-width:0;overflow-wrap:anywhere}
.profile-contact .contact-icons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.profile-contact .round-contact{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:46px;min-height:44px;padding:10px 14px!important;font-size:15px!important;font-weight:800;white-space:nowrap}
.profile-contact .round-contact span{display:inline!important;font-size:13px!important;line-height:1.2}
.profile-contact .whatsapp-icon{color:#168b55!important;background:#edfff5!important;border-color:#b9ebd0!important}
.profile-contact .telegram-icon{color:#1688c9!important;background:#eff9ff!important;border-color:#b9e3f8!important}
/* Make messenger choices visible in add/edit profile forms */
.messenger-choice-field{padding:16px!important;border:1px solid #edc2d7!important;border-radius:16px!important;background:#fff7fb!important}
.messenger-field-title{display:block;font-size:16px!important;font-weight:850!important;color:#79284d!important;margin-bottom:12px}
.messenger-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.messenger-choice{position:relative;display:grid!important;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:13px!important;border:1px solid #e6c9d8!important;border-radius:13px!important;background:#fff!important;min-width:0}
.messenger-choice input[type=checkbox]{width:20px;height:20px;accent-color:#df3684;grid-column:1;grid-row:1}
.messenger-choice-icon{grid-column:1;grid-row:1;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fce5f0;color:#c92b74;font-size:19px;font-weight:900;pointer-events:none}
.messenger-choice:has(input:checked){border-color:#e83b8d!important;background:#fff0f7!important;box-shadow:0 0 0 2px #f9c6de inset}
.messenger-choice>span:nth-of-type(2),.messenger-choice-copy{display:grid;gap:3px;min-width:0}
.messenger-choice strong{color:#63203f;font-size:14px}
.messenger-choice small{font-size:11px;color:#856779;line-height:1.35}
.telegram-handle-input{grid-column:1/-1;width:100%;min-width:0;margin-top:4px!important;border:1px solid #dfb6ca!important;background:#fff!important;border-radius:10px!important;padding:11px 12px!important}
/* Verification photo: one designed button, no browser-native control */
/* Verification upload uses a custom visible control */
.verification-native-file{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.verification-file-picker{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px;border:1px dashed #d99bb9;border-radius:14px;background:#fff7fb;margin:8px 0 16px}
.verification-file-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:12px 17px!important;border:1px solid #e9a7c8!important;border-radius:12px!important;background:#fff!important;color:#a52360!important;font-weight:800!important;cursor:pointer}
.verification-file-button span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#fbe1ee;font-size:18px}
.verification-file-name{font-size:13px;color:#79576a;overflow-wrap:anywhere}
.verification-file-button:focus-within,.verification-native-file:focus+.verification-file-button{outline:3px solid #ffacd0;outline-offset:2px}
@media(max-width:760px){
 .profile-page .profile-detail-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .profile-page .gallery{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:9px!important}
 .profile-page .gallery-main{grid-column:1!important;grid-row:1!important;width:100%!important;max-height:70dvh!important;aspect-ratio:3/4!important;object-fit:cover!important}
 .profile-page .gallery-thumbs{grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:row!important;gap:8px!important;max-height:none!important;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 1px 7px!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
 .profile-page .gallery-thumbs img{flex:0 0 68px!important;width:68px!important;height:84px!important;aspect-ratio:auto!important;scroll-snap-align:start}
 .profile-page .gallery-empty{min-height:250px!important}
 .profile-page .gallery-empty .gallery-main{height:250px!important;min-height:250px!important;max-height:250px!important;aspect-ratio:auto!important;object-fit:contain!important}
 .messenger-choice-grid{grid-template-columns:minmax(0,1fr)}
 .profile-contact .contact-icons{display:flex!important;grid-template-columns:none!important}
 .profile-contact .round-contact{width:auto!important;flex:1 1 auto;min-width:0;padding:10px 12px!important}
 .profile-contact .round-contact span{font-size:12px!important}
 .account-tabs .account-tab{flex:1 1 auto}
}


/* v36 targeted polish: profile gallery, compact services/comments, responsive admin forms */
.profile-page .gallery{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0}
.profile-page .gallery-main{display:block;width:100%;max-width:100%;height:auto;max-height:72vh;aspect-ratio:3/4;object-fit:cover;border-radius:16px;grid-column:auto!important;grid-row:auto!important}
.profile-page .gallery-thumbs{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;width:100%;max-width:100%;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 2px 8px!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.profile-page .gallery-thumbs img{flex:0 0 78px!important;width:78px!important;height:96px!important;object-fit:cover;border-radius:10px;cursor:zoom-in;scroll-snap-align:start;border:2px solid transparent}
.profile-page .gallery-thumbs img:hover{border-color:#e83b8d}
.profile-page .gallery-empty{width:100%;min-width:0;min-height:250px}
.profile-page .gallery-empty .gallery-main{height:300px;max-height:55vh;object-fit:contain}
.profile-service-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-service-group{min-width:0;padding:12px 14px;background:#fff8fc;border:1px solid #f1dce7;border-radius:13px}
.profile-service-group h3{font-size:14px;margin:0 0 6px;color:#6c2447}
.profile-service-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap;padding:6px 0!important;border-bottom:1px solid #f1e4eb!important;font-size:12px!important;line-height:1.35}
.profile-service-row:last-child{border-bottom:0!important}
.profile-service-row>span{flex:0 1 auto;min-width:0}
.profile-service-row>strong{flex:0 0 auto;margin-left:0!important;padding:2px 7px;border-radius:7px;background:#ffe8f3;color:#c82170!important;font-size:12px!important;white-space:nowrap}
.comments-panel .comment{padding:11px 13px!important;margin:8px 0!important;background:#fff8fc;border:1px solid #f0dfe8;border-radius:12px}
.comments-panel .comment p{margin:5px 0;font-size:13px;line-height:1.45}
.comments-panel .comment small{font-size:10px}
.profile-recommendation-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
.profile-recommendation-card{display:flex!important;flex-direction:column!important;min-width:0;overflow:hidden;border:1px solid #f0dce7!important;border-radius:15px!important;background:#fff!important;padding:10px!important;gap:8px!important}
.profile-recommendation-photo{order:0;width:100%!important;height:auto!important;aspect-ratio:3/4;overflow:hidden;border-radius:11px}
.profile-recommendation-photo img{width:100%;height:100%;object-fit:cover}
.profile-recommendation-name{order:-1;font-size:14px!important;font-weight:800;overflow-wrap:anywhere}
.profile-recommendation-card .recommendation-meta{display:flex;flex-direction:column;gap:5px;min-width:0}
.profile-recommendation-card .recommendation-phone{display:flex;align-items:center;gap:5px;font-size:12px;overflow-wrap:anywhere}
.profile-recommendation-card .recommendation-price{font-size:13px;color:#cf2877}
.profile-recommendation-card .recommendation-location{font-size:11px;overflow-wrap:anywhere}
.verification-return-top{display:flex;justify-content:flex-start;margin:0 0 18px}
.verification-return-top .btn{white-space:normal}
.admin-table input,.admin-table select,.admin-table textarea{min-width:130px;max-width:100%;background:#fff!important;color:#35283b!important;border:1px solid #e6cbd9!important;border-radius:10px!important;padding:9px 10px!important}
.admin-actions{display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap!important;min-width:220px;margin:7px 0!important}
.admin-actions>*{flex:0 1 auto;min-width:0;max-width:100%}
.admin-actions input[type=text]{flex:1 1 160px!important;width:100%;max-width:240px!important}
.placement-admin-form select{flex:1 1 110px!important;width:auto!important}
.placement-admin-form button{flex:1 1 170px!important;white-space:normal;line-height:1.3}
.user-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:center}
.user-actions button{max-width:100%;white-space:normal}
.billing-user-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}
.billing-user-form label{display:grid;gap:7px;min-width:0}
.billing-user-form button{align-self:end;min-height:42px}
.price-input{display:flex!important;align-items:stretch!important;gap:0!important;min-width:0;overflow:hidden;border:1px solid #dfc8d5;border-radius:12px;background:#fff}
.price-input input{flex:1 1 auto!important;width:1%!important;min-width:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.price-input>span{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:52px;padding:0 10px;background:#f8edf3;border-left:1px solid #ead6e1;color:#75566a;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:760px){
 .profile-page .gallery-main{max-height:65dvh!important;width:100%!important;aspect-ratio:3/4!important}
 .profile-page .gallery-thumbs img{flex-basis:64px!important;width:64px!important;height:80px!important}
 .profile-service-groups{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 .profile-service-group{padding:10px 12px}
 .profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .admin-actions{min-width:0!important}
 .admin-actions input[type=text]{flex-basis:100%!important;max-width:none!important}
 .billing-user-form{grid-template-columns:minmax(0,1fr)!important}
 .user-actions button{width:100%}
}

/* v37 profile polish: keep profile gallery thumbnails below the main image */
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;min-width:0}
.profile-page .gallery-main{display:block;width:100%;max-width:100%;height:auto;max-height:78vh;aspect-ratio:3/4;object-fit:contain;background:#fff7fb;border-radius:16px}
.profile-page .gallery-thumbs{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;padding:2px!important}
.profile-page .gallery-thumbs img{display:block;flex:0 0 auto!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover;border-radius:11px;cursor:zoom-in}
.profile-page .verified-mark{display:inline-flex!important;align-items:center;justify-content:center;width:32px;height:32px;margin-left:8px;border-radius:50%;background:#16a765;color:#fff!important;font-size:22px!important;font-weight:900;line-height:1;vertical-align:middle;box-shadow:0 3px 9px #16a76535;border:3px solid #e5fff0}
/* Recommended profile cards: prevent SVG location icon from expanding */
.profile-recommendation-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.profile-recommendation-card{display:flex!important;flex-direction:column!important;min-width:0!important;max-width:100%;overflow:hidden!important;gap:9px!important;padding:12px!important;border-radius:16px!important}
.profile-recommendation-photo{width:100%!important;max-width:100%;aspect-ratio:3/4!important;height:auto!important;overflow:hidden!important;flex:none!important}
.profile-recommendation-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.profile-recommendation-name{font-size:17px!important;line-height:1.25!important;font-weight:800!important;overflow-wrap:anywhere}
.profile-recommendation-card .recommendation-meta{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;min-width:0!important;width:100%!important}
.profile-recommendation-card .recommendation-phone{display:flex!important;align-items:center!important;gap:7px!important;font-size:clamp(14px,1.2vw,17px)!important;line-height:1.3!important;font-weight:800!important;overflow-wrap:anywhere;min-width:0}
.profile-recommendation-card .recommendation-phone svg{display:block!important;flex:0 0 19px!important;width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;stroke:currentColor!important;stroke-width:1.8!important;fill:none!important}
.profile-recommendation-card .recommendation-price{display:block!important;font-size:clamp(16px,1.35vw,20px)!important;line-height:1.25!important;font-weight:900!important;color:#cf2877!important;overflow-wrap:anywhere}
.profile-recommendation-card .recommendation-location{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere;color:#62606a}
.profile-recommendation-card .recommendation-location svg{display:block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;max-height:17px!important;stroke:#e83b8d!important;stroke-width:1.8!important;fill:none!important;overflow:visible!important}
/* Compact, polished comments with neutral avatar */
.comments-panel .comment{position:relative!important;padding:12px 14px 11px 54px!important;margin:9px 0!important;background:linear-gradient(135deg,#fffafd,#fff)!important;border:1px solid #f0dce8!important;border-radius:14px!important;box-shadow:0 3px 12px #4a163008!important;min-width:0}
.comments-panel .comment:before{content:' ';position:absolute;left:13px;top:13px;width:29px;height:29px;border-radius:50%;background:#f9d9e9;box-shadow:inset 0 0 0 1px #f0bfd7}
.comments-panel .comment:after{content:'♙';position:absolute;left:13px;top:14px;width:29px;height:29px;display:flex;align-items:center;justify-content:center;color:#b92e75;font-size:17px;line-height:1}
.comments-panel .comment>strong{display:block;font-size:13px!important;color:#322532!important;line-height:1.3}
.comments-panel .comment p{margin:5px 0 4px!important;font-size:13px!important;line-height:1.5!important;color:#4d4650}
.comments-panel .comment small{display:block;font-size:10px!important;color:#92818d!important}
.comments-panel .comment-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;max-width:100%}
.comments-panel .comment-form input,.comments-panel .comment-form textarea{width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #e8cbdc!important;border-radius:10px!important;background:#fffafd!important;padding:9px 11px!important;font-size:13px!important}
.comments-panel .comment-form textarea{min-height:74px!important;height:74px!important;resize:vertical!important}
.comments-panel .comment-form button{justify-self:start!important;min-height:36px!important;padding:8px 18px!important;font-size:13px!important;border-radius:10px!important}
@media(max-width:900px){.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.profile-recommendation-name{font-size:15px!important}.profile-recommendation-card .recommendation-phone{font-size:14px!important}.profile-recommendation-card .recommendation-price{font-size:17px!important}}
@media(max-width:560px){.profile-page .gallery-main{max-height:70vh!important}.profile-page .gallery-thumbs{display:flex!important;flex-direction:column!important;overflow:visible!important;max-height:none!important}.profile-page .gallery-thumbs img{width:100%!important;aspect-ratio:3/4!important}.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-recommendation-card{padding:8px!important;gap:7px!important}.profile-recommendation-card .recommendation-phone{font-size:13px!important}.profile-recommendation-card .recommendation-phone svg{flex-basis:16px!important;width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important}.profile-recommendation-card .recommendation-location svg{flex-basis:15px!important;width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important}}


/* v38: compact, consistent account forms and photo previews */
.saved-photo-thumbs{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(88px,112px))!important;gap:10px!important;align-items:start!important}
.saved-photo-thumbs .saved-photo-card{width:100%!important;max-width:112px!important;min-width:0!important;display:block!important}
.saved-photo-thumbs .saved-photo-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover!important}
.saved-photo-thumbs.gallery-thumbs{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(88px,112px))!important;flex-direction:initial!important}
.photo-upload-previews{grid-template-columns:repeat(auto-fill,minmax(88px,112px))!important;align-items:start!important}
.photo-upload-previews>*{min-width:0!important;max-width:112px!important}
.photo-upload-previews img{width:100%!important;max-width:112px!important;aspect-ratio:3/4!important;height:auto!important;object-fit:cover!important}
.form-grid .price-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.form-grid .price-grid>.field{min-width:0!important}
.price-input{max-width:260px!important;min-width:0!important}
.price-input input{min-width:0!important;width:1%!important;padding:9px 8px!important}
.price-input>span{min-width:42px!important;padding:0 7px!important;font-size:11px!important}
.service-option{align-items:center!important;gap:8px!important}
.service-option>label{flex:1 1 auto!important;min-width:0!important}
.service-option>input[type=number]{flex:0 1 112px!important;width:112px!important;min-width:80px!important;max-width:112px!important;padding:8px!important}
.choice-list{display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:stretch!important}
.choice-list .checkline{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:10px 13px!important;margin:0!important;border:1px solid #efcddd!important;border-radius:12px!important;background:#fff6fa!important;white-space:nowrap!important}
.choice-list .checkline input{margin:0!important;flex:none!important}
.managed-photo-placeholder{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;min-height:100px!important;background:linear-gradient(145deg,#fff0f7,#f8dce9)!important;color:#d92c7c!important}
.managed-photo-placeholder svg{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.5!important}
.verification-return-top{display:flex!important;justify-content:flex-end!important;margin:0 0 18px!important}
.topup-return-top{display:flex;justify-content:flex-end;margin:0 0 18px}
.topup-return-top .btn,.verification-return-top .btn{white-space:nowrap!important}
.verification-form{display:grid;gap:10px}
.verification-submit{justify-self:start}
.chat-compose textarea{min-height:86px!important;height:86px!important;resize:vertical!important;max-width:100%!important}
.chat-compose button{justify-self:start!important;padding:10px 18px!important;font-size:12px!important}
.messages-page .chat-compose{grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:10px!important}
.messages-page .chat-compose textarea{min-width:0!important}
.messages-page .chat-compose button{white-space:nowrap!important}
@media(max-width:760px){.form-grid .price-grid{grid-template-columns:1fr!important}.price-input{max-width:none!important}.service-option>input[type=number]{flex-basis:94px!important;width:94px!important;max-width:94px!important}.choice-list .checkline{white-space:normal!important}.saved-photo-thumbs,.saved-photo-thumbs.gallery-thumbs{grid-template-columns:repeat(auto-fill,minmax(78px,96px))!important;gap:8px!important}.saved-photo-thumbs .saved-photo-card{max-width:96px!important}.photo-upload-previews{grid-template-columns:repeat(auto-fill,minmax(78px,96px))!important}.photo-upload-previews>*{max-width:96px!important}.messages-page .chat-compose{grid-template-columns:1fr!important}.messages-page .chat-compose button{justify-self:start!important}.verification-return-top .btn,.topup-return-top .btn{font-size:11px!important;padding:9px 12px!important}}


/* v39 refinement based on the supplied mobile gallery example */
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
.profile-page .gallery-main{width:100%!important;max-width:100%!important;aspect-ratio:3/4!important;object-fit:cover!important;max-height:78vh!important;border-radius:16px!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:8px!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;align-items:start!important;justify-items:stretch!important;padding:0!important}
.profile-page .gallery-thumbs img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover!important;border:1px solid #f0d5e3!important;border-radius:13px!important;box-shadow:0 2px 8px rgba(110,35,75,.08)!important;cursor:zoom-in!important}
/* Checkboxes are placed directly beside labels and remain easy to tap */
.profile-edit-page .service-option,.service-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;border:1px solid #efd8e4!important;border-radius:11px!important;background:#fffafd!important;min-width:0!important}
.service-option>label{display:flex!important;flex:1 1 auto!important;align-items:center!important;gap:8px!important;line-height:1.35!important;cursor:pointer!important;min-width:0!important;white-space:normal!important}
.service-option>label input[type=checkbox],.choice-list .checkline input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px!important;margin:0!important;accent-color:#e83b8d!important;cursor:pointer!important;position:static!important;opacity:1!important}
.service-option>input[type=number]{flex:0 0 100px!important;width:100px!important;min-width:85px!important;max-width:100px!important;box-sizing:border-box!important}
.choice-list{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:9px!important;align-items:center!important}
.choice-list .checkline{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;cursor:pointer!important}
/* Recommended cards: robust layout and clear contact/price */
.profile-recommendation-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;min-width:0!important;overflow:hidden!important}
.profile-recommendation-photo{display:block!important;width:100%!important;aspect-ratio:3/4!important;min-width:0!important;overflow:hidden!important;border-radius:12px!important}
.profile-recommendation-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.profile-recommendation-card .recommendation-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important}
.profile-recommendation-card .recommendation-phone{font-size:clamp(15px,1.4vw,18px)!important;font-weight:850!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-price{font-size:clamp(18px,1.5vw,22px)!important;font-weight:900!important;line-height:1.25!important}
.profile-recommendation-card .recommendation-location{display:flex!important;align-items:center!important;gap:6px!important;font-size:14px!important;line-height:1.35!important}
.profile-recommendation-card .recommendation-location svg{display:block!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;flex:0 0 17px!important;stroke-width:1.8!important}
/* Compact comment form */
.comments-panel .comment-form{max-width:460px!important;gap:5px!important}
.comments-panel .comment-form label{font-size:12px!important;margin-top:3px!important}
.comments-panel .comment-form input{max-width:300px!important;height:38px!important}
.comments-panel .comment-form textarea{max-width:460px!important;height:68px!important;min-height:68px!important;padding:8px 10px!important}
.comments-panel .comment-form button{min-height:34px!important;padding:7px 17px!important;font-size:13px!important}
/* Return-to-account link lives inside the support form, aligned like other pages */
.messages-page .chat-compose{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important}
.messages-page .chat-compose .chat-return{grid-column:1/-1!important;justify-self:end!important;margin-bottom:4px!important;white-space:nowrap!important}
@media(max-width:760px){
 .profile-page .gallery-main{max-height:68vh!important}
 .profile-page .gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .profile-page .gallery-thumbs img{width:100%!important;aspect-ratio:3/4!important}
 .service-option{flex-wrap:nowrap!important}
 .service-option>input[type=number]{flex-basis:88px!important;width:88px!important;min-width:78px!important;max-width:88px!important}
 .choice-list .checkline{white-space:normal!important;max-width:100%!important}
 .comments-panel .comment-form input,.comments-panel .comment-form textarea{max-width:100%!important}
 .messages-page .chat-compose{grid-template-columns:minmax(0,1fr)!important}
 .messages-page .chat-compose .chat-return{grid-column:1!important;justify-self:end!important}
}


/* v40: fix malformed recommendation-card markup, exact gallery proportions, and support return link */
.profile-recommendation-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.profile-recommendation-card{display:flex!important;position:relative!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;align-self:stretch!important;overflow:hidden!important;text-decoration:none!important;background:#fff!important;border:1px solid #f0dce7!important;border-radius:16px!important;padding:12px!important;gap:9px!important;box-shadow:0 4px 18px rgba(76,28,53,.06)!important}
.profile-recommendation-name{display:block!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;color:#292333!important;font-size:18px!important;font-weight:800!important;line-height:1.3!important;text-decoration:none!important;overflow-wrap:anywhere!important}
.profile-recommendation-photo{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:3/4!important;min-width:0!important;overflow:hidden!important;flex:0 0 auto!important;border-radius:12px!important;background:#fff0f7!important}
.profile-recommendation-photo img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border:0!important;border-radius:inherit!important}
.profile-recommendation-card .recommendation-meta{display:flex!important;position:static!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;box-sizing:border-box!important}
.profile-recommendation-card .recommendation-phone{display:flex!important;position:static!important;align-items:center!important;gap:8px!important;max-width:100%!important;min-width:0!important;color:#292333!important;font-size:clamp(15px,1.4vw,19px)!important;font-weight:850!important;line-height:1.35!important;overflow-wrap:anywhere!important;text-decoration:none!important}
.profile-recommendation-card .recommendation-phone svg{display:none!important}
.profile-recommendation-card .recommendation-phone:before{content:'☎';display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 25px!important;width:25px!important;height:25px!important;border-radius:8px!important;background:#ffe6f1!important;color:#e52f87!important;font-size:17px!important;line-height:1!important}
.profile-recommendation-card .recommendation-price{display:block!important;position:static!important;width:100%!important;color:#d92d80!important;font-size:clamp(18px,1.6vw,22px)!important;font-weight:900!important;line-height:1.25!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-location{display:flex!important;position:static!important;align-items:center!important;gap:7px!important;max-width:100%!important;min-width:0!important;color:#625866!important;font-size:14px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-location svg{display:none!important}
.profile-recommendation-card .recommendation-location:before{content:'⌖';display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:7px!important;background:#fff0f7!important;color:#e52f87!important;font-size:19px!important;line-height:1!important}
/* Gallery matches reference: main image then small two-column thumbnails */
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important}
.profile-page .gallery-main{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:3/4!important;max-height:72vh!important;object-fit:cover!important;flex:0 0 auto!important;border-radius:15px!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:7px!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important;padding:0!important;margin:0!important}
.profile-page .gallery-thumbs img{display:block!important;position:static!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;box-sizing:border-box!important;border:1px solid #f1d9e5!important;border-radius:12px!important;box-shadow:none!important;cursor:zoom-in!important}
.comments-panel .comment-form{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
.comments-panel .comment-form input,.comments-panel .comment-form textarea{margin:0!important}
.comments-panel .comment-form button{margin-top:7px!important;position:relative!important;z-index:1!important;clear:both!important}
.messages-page .account-hero-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
.messages-page .chat-return-top{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;margin:0 0 0 auto!important;white-space:nowrap!important}
.messages-page .chat-compose .chat-return{display:none!important}
@media(max-width:760px){
 .profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .profile-recommendation-card{padding:8px!important;gap:7px!important}
 .profile-recommendation-name{font-size:15px!important}
 .profile-recommendation-card .recommendation-phone{font-size:14px!important;gap:6px!important}
 .profile-recommendation-card .recommendation-phone:before{flex-basis:21px!important;width:21px!important;height:21px!important;font-size:15px!important}
 .profile-recommendation-card .recommendation-price{font-size:17px!important}
 .profile-recommendation-card .recommendation-location{font-size:12px!important}
 .profile-page .gallery-main{max-height:65vh!important}
 .profile-page .gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .messages-page .account-hero-head{align-items:flex-start!important;flex-direction:column!important}
 .messages-page .chat-return-top{align-self:flex-end!important;margin-top:2px!important}
}

/* v41: hard layout bounds for profile gallery and valid recommendation cards */
.profile-page .profile-detail-layout>section.panel:first-child{min-width:0!important;overflow:hidden!important}
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:10px!important}
.profile-page .gallery-main{display:block!important;width:100%!important;max-width:360px!important;height:auto!important;aspect-ratio:330/460!important;max-height:none!important;object-fit:cover!important;align-self:flex-start!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:360px!important;gap:7px!important;max-height:none!important;overflow:visible!important;align-self:flex-start!important;padding:0!important;margin:0!important}
.profile-page .gallery-thumbs img{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:12px!important}
.profile-recommendation-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:14px!important}
.profile-recommendation-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;position:relative!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;padding:12px!important;gap:9px!important;border:1px solid #f0dce7!important;border-radius:16px!important;background:#fff!important;text-decoration:none!important}
.profile-recommendation-card *{box-sizing:border-box!important;max-width:100%!important}
.profile-recommendation-card .profile-recommendation-name{display:block!important;position:static!important;font-size:17px!important;font-weight:800!important;line-height:1.3!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .profile-recommendation-photo{display:block!important;position:relative!important;width:100%!important;aspect-ratio:3/4!important;height:auto!important;overflow:hidden!important;border-radius:12px!important;background:#fff0f7!important}
.profile-recommendation-card .profile-recommendation-photo img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.profile-recommendation-card .recommendation-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;width:100%!important}
.profile-recommendation-card .recommendation-phone{display:flex!important;align-items:center!important;gap:7px!important;font-size:16px!important;font-weight:800!important;line-height:1.35!important;overflow-wrap:anywhere!important;color:#302a40!important}
.profile-recommendation-card .recommendation-phone>span,.profile-recommendation-card .recommendation-location>span{display:inline-flex!important;flex:0 0 24px!important;width:24px!important;height:24px!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;background:#ffe8f3!important;color:#df2d82!important;font-size:17px!important}
.profile-recommendation-card .recommendation-price{display:block!important;font-size:20px!important;font-weight:900!important;line-height:1.25!important;color:#d92d80!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-location{display:flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;line-height:1.35!important;color:#625866!important;overflow-wrap:anywhere!important}
@media(max-width:760px){.profile-page .gallery-main,.profile-page .gallery-thumbs{max-width:330px!important}.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.profile-recommendation-card{padding:8px!important;gap:7px!important}.profile-recommendation-card .profile-recommendation-name{font-size:15px!important}.profile-recommendation-card .recommendation-phone{font-size:13px!important}.profile-recommendation-card .recommendation-price{font-size:16px!important}.profile-recommendation-card .recommendation-location{font-size:11px!important}}

/* v42: fixed-size recommendation cards, responsive without oversized icons */
.profile-recommendations{width:100%;max-width:100%;min-width:0;overflow:hidden;box-sizing:border-box}
.profile-recommendation-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),240px))!important;justify-content:start!important;align-items:stretch!important;gap:16px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.profile-recommendation-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:240px!important;min-width:0!important;min-height:0!important;height:auto!important;box-sizing:border-box!important;overflow:hidden!important;align-self:start!important;padding:12px!important;gap:9px!important;border:1px solid #f0dce7!important;border-radius:16px!important;background:#fff!important}
.profile-recommendation-card .profile-recommendation-name{display:block!important;width:100%!important;max-width:100%!important;font-size:18px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .profile-recommendation-photo{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:3/4!important;flex:none!important;overflow:hidden!important;border-radius:12px!important}
.profile-recommendation-card .profile-recommendation-photo img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important}
.profile-recommendation-card .recommendation-meta{display:flex!important;position:static!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;width:100%!important;height:auto!important;min-width:0!important;max-width:100%!important}
.profile-recommendation-card .recommendation-phone{display:flex!important;position:static!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;font-size:17px!important;font-weight:850!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-phone>span,.profile-recommendation-card .recommendation-location>span,.profile-recommendation-card .recommendation-phone:before,.profile-recommendation-card .recommendation-location:before{display:inline-flex!important;position:static!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;align-items:center!important;justify-content:center!important;font-size:16px!important;line-height:1!important;border-radius:8px!important;box-sizing:border-box!important}
.profile-recommendation-card .recommendation-price{display:block!important;position:static!important;width:100%!important;font-size:21px!important;font-weight:900!important;line-height:1.25!important;overflow-wrap:anywhere!important}
.profile-recommendation-card .recommendation-location{display:flex!important;position:static!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
@media(max-width:520px){.profile-recommendation-grid{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;gap:12px!important}.profile-recommendation-card{width:100%!important;max-width:100%!important;padding:12px!important}.profile-recommendation-card .profile-recommendation-photo{width:100%!important;max-width:100%!important;aspect-ratio:3/4!important}.profile-recommendation-card .recommendation-phone{font-size:17px!important}.profile-recommendation-card .recommendation-price{font-size:21px!important}.profile-recommendation-card .recommendation-location{font-size:13px!important}}

/* v43: tidy recommendation cards: no duplicate icons, compact price, image-sized photo area */
.profile-recommendation-grid{grid-template-columns:repeat(auto-fill,minmax(0,240px))!important;justify-content:start!important;align-items:start!important;gap:16px!important}
.profile-recommendation-card{width:240px!important;max-width:240px!important;min-height:0!important;height:auto!important;padding:10px!important;gap:8px!important;align-self:start!important}
.profile-recommendation-card .profile-recommendation-photo{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;flex:0 0 auto!important;margin:0!important;padding:0!important;background:#fff0f7!important;line-height:0!important}
.profile-recommendation-card .profile-recommendation-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.profile-recommendation-card .recommendation-phone:before,.profile-recommendation-card .recommendation-location:before{content:none!important;display:none!important}
.profile-recommendation-card .recommendation-phone>span,.profile-recommendation-card .recommendation-location>span{flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;font-size:13px!important}
.profile-recommendation-card .recommendation-price{font-size:16px!important;font-weight:800!important;line-height:1.3!important;margin:0!important}
.profile-recommendation-card .recommendation-phone{font-size:17px!important;font-weight:850!important;line-height:1.35!important}
.profile-recommendation-card .recommendation-location{font-size:14px!important;line-height:1.35!important}
@media(max-width:520px){.profile-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.profile-recommendation-card{width:100%!important;max-width:100%!important;padding:8px!important}.profile-recommendation-card .recommendation-price{font-size:15px!important}.profile-recommendation-card .recommendation-phone{font-size:14px!important}.profile-recommendation-card .recommendation-location{font-size:12px!important}}


/* v44: main profile photo keeps its original proportions; exactly two square thumbnails per row below */
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important}
.profile-page .gallery-main{display:block!important;width:100%!important;max-width:360px!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;object-fit:contain!important;align-self:flex-start!important;border-radius:12px!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:7px!important;width:100%!important;max-width:360px!important;height:auto!important;max-height:none!important;overflow:visible!important;align-self:flex-start!important;box-sizing:border-box!important;padding:0!important;margin:0!important}
.profile-page .gallery-thumbs img{display:block!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;box-sizing:border-box!important;border:1px solid #f1d9e5!important;border-radius:10px!important;box-shadow:none!important;cursor:zoom-in!important}
@media(max-width:760px){.profile-page .gallery-main,.profile-page .gallery-thumbs{max-width:330px!important}}

/* v45 emergency gallery correction: gallery width follows rendered original photo; thumbs are separate square tiles, two per row */
.profile-page .profile-detail-layout>section.panel:first-child{min-width:0!important}
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;width:fit-content!important;max-width:100%!important;min-width:0!important}
.profile-page .gallery-main{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;max-height:78vh!important;object-fit:contain!important;align-self:flex-start!important;flex:0 0 auto!important;background:transparent!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;align-self:stretch!important;padding:0!important;margin:0!important}
.profile-page .gallery-thumbs img{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;position:static!important}
@media(max-width:760px){.profile-page .gallery{width:fit-content!important;max-width:100%!important}.profile-page .gallery-main{width:auto!important;max-width:100%!important;max-height:72vh!important}.profile-page .gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v46: match the requested profile gallery layout only */
.profile-detail-layout{grid-template-columns:minmax(0,330px) minmax(0,1fr)!important;align-items:start!important;gap:20px!important}
.profile-detail-layout>section.panel:first-child{position:static!important;top:auto!important;width:100%!important;min-width:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.profile-page .gallery{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.profile-page .gallery-main{display:block!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;align-self:stretch!important;flex:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important}
.profile-page .gallery-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;flex:none!important;flex-direction:initial!important;gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;align-self:stretch!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:0!important}
.profile-page .gallery-thumbs img{display:block!important;position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;box-shadow:none!important;cursor:zoom-in!important}
@media(max-width:900px){.profile-detail-layout{grid-template-columns:minmax(0,330px) minmax(0,1fr)!important;gap:14px!important}}
@media(max-width:650px){.profile-detail-layout{grid-template-columns:minmax(0,1fr)!important}.profile-detail-layout>section.panel:first-child{width:min(100%,330px)!important;max-width:100%!important}.profile-page .gallery-main{width:100%!important;max-height:none!important}.profile-page .gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v47: saved photo deletion control must show an X, not the native checkbox tick */
.saved-photo-delete{display:grid!important;place-items:center!important;position:absolute!important;right:6px!important;top:6px!important;width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;margin:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#f72f8d!important;color:#fff!important;box-shadow:0 2px 8px #0003!important;cursor:pointer!important;line-height:1!important;font-size:23px!important;font-weight:700!important;z-index:3!important}
.saved-photo-delete input[type=checkbox]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;z-index:2!important}
.saved-photo-delete>span[aria-hidden=true]{display:block!important;pointer-events:none!important;line-height:20px!important;font-size:23px!important;font-weight:700!important;color:#fff!important}
.saved-photo-delete input[type=checkbox]:checked + span[aria-hidden=true]{transform:rotate(45deg)!important}
.saved-photo-delete:has(input[type=checkbox]:checked){background:#b91c52!important;box-shadow:0 0 0 3px #f72f8d55!important}


/* v48: saved-photo X is an immediate-delete button, never a checkbox toggle */
.saved-photo-delete{display:grid!important;place-items:center!important;position:absolute!important;right:6px!important;top:6px!important;width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;margin:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#f72f8d!important;color:#fff!important;box-shadow:0 2px 8px #0003!important;cursor:pointer!important;line-height:1!important;font-size:23px!important;font-weight:700!important;z-index:3!important;appearance:none!important;-webkit-appearance:none!important}
.saved-photo-delete:hover{background:#c91e63!important;transform:scale(1.04)!important}

/* v50: keep the original site header; remove only the pink intro block above filters */
.directory-page>.directory-header{display:flex!important}
.directory-main>.luxury-intro{display:none!important}
.directory-main>h1{display:none!important}.directory-filters{margin-top:0!important}
.directory-location a,.stat a,.profile-service-row a,.recommendation-location{color:inherit;text-decoration:underline;text-decoration-color:#f5a6ca;text-underline-offset:3px;cursor:pointer}
.contact-icon.icon-active{background:#ffe1ef;color:#f72f8d;box-shadow:0 0 0 1px #ffc0dc inset}
@media(max-width:760px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.directory-card{width:100%;min-width:0;border-radius:14px}.directory-card-title{padding:9px 9px 6px}.directory-card-title h3{font-size:13px;overflow-wrap:anywhere}.directory-location{font-size:10px}.directory-phone{font-size:10px;padding:0 9px 7px;gap:4px}.directory-photo{margin:0 6px;aspect-ratio:3/4;border-radius:10px}.directory-card-info{padding:8px}.directory-stats{font-size:9px;gap:4px 7px}.directory-stats b{font-size:10px}.directory-prices{gap:4px}.directory-prices span{font-size:9px}.directory-prices b{font-size:10px}.directory-more{font-size:10px;padding:8px}.directory-filters{margin-top:0!important}}

/* v50: clear hover text for comment availability */
.directory-icons a.contact-icon[aria-label="Есть комментарии"],.directory-icons a.contact-icon[aria-label="Комментариев нету"]{position:relative}
.directory-icons a.contact-icon[aria-label="Есть комментарии"]:hover:after,.directory-icons a.contact-icon[aria-label="Комментариев нету"]:hover:after{content:attr(aria-label);position:absolute;right:0;top:calc(100% + 8px);z-index:30;white-space:nowrap;padding:6px 9px;border-radius:7px;background:#292333;color:#fff;font-size:11px;font-weight:700;box-shadow:0 4px 14px #0002;pointer-events:none}
@media(max-width:380px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.directory-card-title h3{font-size:12px}.directory-phone{font-size:9px}.directory-stats{font-size:8px}.directory-prices span{font-size:8px}}

/* v51 fixes: mobile directory, dropdown overflow, contact hints and admin forms */
.directory-icons .contact-icon[aria-label="Есть Мессенджеры"],.directory-icons .contact-icon[aria-label="Мессенджеров нет"]{position:relative}
.directory-icons .contact-icon[aria-label="Есть Мессенджеры"]:hover:after,.directory-icons .contact-icon[aria-label="Мессенджеров нет"]:hover:after{content:attr(aria-label);position:absolute;right:0;top:calc(100% + 8px);z-index:35;white-space:nowrap;padding:6px 9px;border-radius:7px;background:#292333;color:#fff;font-size:11px;font-weight:700;box-shadow:0 4px 14px #0002;pointer-events:none}
.profile-recommendation-card .recommendation-phone .phone-symbol{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 19px!important;width:19px!important;height:19px!important;color:#e83b8d!important}
.profile-recommendation-card .recommendation-phone .phone-symbol svg{display:block!important;width:100%!important;height:100%!important;stroke:currentColor!important;stroke-width:1.8!important;fill:none!important}
.profile-recommendation-card .recommendation-location .recommendation-pin{display:block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;stroke:#e83b8d!important;stroke-width:1.8!important;fill:none!important;overflow:visible!important}
.admin-users-page .user-admin-card,.user-admin-card{padding:22px!important;margin:0 0 20px!important;overflow:hidden!important}
.user-admin-card .admin-user-form{gap:16px!important;margin:14px 0!important;align-items:end!important}
.user-admin-card .admin-user-form .field{min-width:0!important}
.user-admin-card .admin-user-form input{width:100%!important;min-width:0!important;max-width:100%!important}
.user-admin-card .admin-user-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:12px!important;padding-top:10px!important}
.user-admin-card .admin-user-actions button{max-width:100%!important;white-space:normal!important}
.admin-profile-edit-page{max-width:1100px!important;margin:0 auto!important;padding-top:22px!important}
.admin-profile-edit-page>.account-form-panel{padding:24px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--shadow)!important}
.admin-profile-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
.admin-profile-form .field{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important}
.admin-profile-form .field>label:not(.checkline){font-size:12px!important;font-weight:800!important;color:#514653!important}
.admin-profile-form input:not([type=checkbox]),.admin-profile-form select,.admin-profile-form textarea{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;border:1px solid #ead8e3!important;border-radius:12px!important;background:#fffafd!important;padding:11px 12px!important}
.admin-profile-form .service-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.admin-profile-form .service-group{min-width:0!important;padding:14px!important;border:1px solid #f1dce8!important;border-radius:14px!important;background:#fffafd!important}
.admin-profile-form .service-option{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;gap:9px!important;align-items:center!important;padding:8px!important}
.admin-profile-form .service-option>label{min-width:0!important;overflow-wrap:anywhere!important}
.admin-profile-form .service-option input[type=number]{width:100%!important;min-width:0!important;max-width:100%!important}
.admin-profile-form .span-2{grid-column:1/-1!important}
.admin-profile-form .choice-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
@media(max-width:760px){
 .directory-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .directory-card{width:100%!important;min-width:0!important}
 .directory-card-title h3{font-size:17px!important}
 .directory-location{font-size:13px!important}
 .directory-photo{aspect-ratio:3/4!important;margin:0 10px!important}
 .directory-phone{font-size:14px!important;padding:0 12px 10px!important}
 .directory-card-info{padding:12px!important}
 .directory-stats{font-size:12px!important;gap:6px 12px!important}
 .directory-stats b{font-size:13px!important}
 .directory-prices span,.directory-prices b{font-size:12px!important}
 .directory-icons{display:flex!important;position:relative!important;gap:7px!important}
 .directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
 .filter-select{position:relative!important;min-width:0!important;max-width:100%!important}
 .filter-trigger{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
 .filter-trigger>span{min-width:0!important;overflow-wrap:anywhere!important}
 .multi-options,.range-control{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 5px)!important;width:100%!important;min-width:0!important;max-width:min(88vw,360px)!important;max-height:55vh!important;overflow-x:hidden!important;overflow-y:auto!important;z-index:80!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .multi-options label{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .multi-options label span{min-width:0!important;overflow-wrap:anywhere!important}
 .range-values{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:5px!important}
 .range-values input{min-width:0!important;width:100%!important}
 .admin-profile-edit-page>.account-form-panel{padding:16px!important}
 .admin-profile-form,.admin-profile-form .service-groups,.admin-profile-form .choice-list{grid-template-columns:minmax(0,1fr)!important}
 .admin-profile-form .span-2{grid-column:auto!important}
 .admin-profile-form .service-option{grid-template-columns:minmax(0,1fr) 90px!important}
 .user-admin-card{padding:15px!important}
 .user-admin-card .admin-user-form{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .user-admin-card .admin-user-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .user-admin-card .admin-user-actions button{width:100%!important}
}

/* v52 mobile card sizing: keep one card per row, reduce overall visual scale ~20%. */
@media(max-width:760px){
 .directory-grid{grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
 .directory-card{max-width:100%!important;border-radius:12px!important}
 .directory-card-title{padding:7px 9px 4px!important}
 .directory-card-title h3{font-size:15px!important}
 .directory-location{font-size:11px!important}
 .directory-photo{aspect-ratio:4/3!important;margin:0 8px!important;border-radius:9px!important}
 .directory-phone{font-size:12px!important;padding:0 10px 7px!important}
 .directory-card-info{padding:9px!important}
 .directory-stats{font-size:10px!important;gap:4px 9px!important}
 .directory-stats b{font-size:11px!important}
 .directory-prices{gap:4px!important;padding:6px 0!important}
 .directory-prices span,.directory-prices b{font-size:10px!important}
 .directory-more{font-size:11px!important;padding:7px!important}
}
@media(max-width:380px){.directory-photo{aspect-ratio:4/3!important}.directory-card-title h3{font-size:14px!important}.directory-phone{font-size:11px!important}.directory-stats{font-size:9px!important}.directory-prices span,.directory-prices b{font-size:9px!important}}
/* Admin profile photo manager and action spacing */
.admin-profile-photos{margin:18px 0 22px;padding:16px;border:1px solid #efd7e4;border-radius:16px;background:#fffafd}
.admin-profile-photos h3{margin:0 0 12px;font-size:17px}
.admin-profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,130px));gap:12px;align-items:start;margin:12px 0 16px}
.admin-profile-photo{position:relative;min-width:0;padding:6px;border:1px solid #f0dce7;border-radius:12px;background:#fff}
.admin-profile-photo img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px}
.admin-profile-photo .saved-photo-delete{z-index:2}
.admin-photo-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border-radius:12px;background:#fff0f7}
.admin-photo-upload input[type=file]{max-width:100%}
.admin-profile-form .verification-field{padding:12px 14px;border:2px solid #e83b8d;border-radius:12px;background:#fff0f7;color:#7d1648;font-weight:800}
.admin-profile-form .messenger-fields{padding:14px;border:1px solid #d6e9ff;border-radius:14px;background:#f4f9ff}
.admin-profile-form .admin-profile-actions{display:flex;gap:12px;flex-wrap:wrap;padding-top:8px}
.admin-profile-form .admin-profile-actions .btn, .admin-profile-form .admin-profile-actions button{min-width:160px}
@media(max-width:760px){.admin-profile-form{grid-template-columns:minmax(0,1fr)!important}.admin-profile-form .service-groups{grid-template-columns:minmax(0,1fr)!important}.admin-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-profile-form .admin-profile-actions>*{width:100%;text-align:center}}


/* v53 corrections requested by admin */
.geo-add-forms{gap:26px!important;row-gap:24px!important;align-items:end!important}
.geo-add-forms>form{display:flex;flex-direction:column;gap:16px!important;padding:18px!important;margin:0!important;border:1px solid #f0dbe6!important;border-radius:16px!important;background:#fffafd!important;min-width:0}
.geo-add-forms>form label{display:flex;flex-direction:column;gap:9px!important;margin:0!important}
.geo-add-forms>form button{margin-top:5px!important;align-self:flex-start}
@media(max-width:760px){.geo-add-forms{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.geo-add-forms>form{padding:16px!important}}
.admin-profile-photos{margin:0 0 6px!important}.admin-profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,125px));gap:10px;margin:12px 0}.admin-profile-photo{position:relative;min-width:0}.admin-profile-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px}.admin-profile-photo .saved-photo-delete{position:absolute;right:5px;top:5px;border:2px solid white;width:29px;height:29px;font-size:22px;line-height:1;padding:0}.admin-profile-photo.photo-pending-delete{opacity:.28;filter:grayscale(1)}.admin-profile-photo.photo-pending-delete:after{content:'Будет удалено после сохранения';position:absolute;inset:auto 3px 3px;background:#27202a;color:#fff;font-size:9px;line-height:1.2;padding:4px;border-radius:5px;text-align:center}.admin-photo-upload{display:grid;gap:9px;margin-top:14px}.admin-photo-upload label{font-weight:800}.admin-profile-form>.span-2{grid-column:1/-1!important}.admin-delete-profile-form{display:inline-block;margin:7px 0 0!important}.admin-delete-profile-btn{padding:6px 10px!important;font-size:11px!important;color:#c91e63!important;border-color:#f5b4cf!important}
/* Keep the original mobile listing card proportions and portrait photo size. */
@media(max-width:760px){.directory-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.directory-card{width:100%!important;max-width:none!important}.directory-card-title{padding:13px 14px 7px!important}.directory-card-title h3{font-size:16px!important}.directory-location{font-size:11px!important}.directory-photo{aspect-ratio:3/4!important;margin:0 9px!important;border-radius:13px!important}.directory-phone{font-size:12px!important;padding:0 14px 10px!important}.directory-card-info{padding:12px 13px 14px!important}.directory-stats{font-size:10px!important;gap:6px 11px!important}.directory-stats b{font-size:11px!important}.directory-prices span,.directory-prices b{font-size:11px!important}.directory-more{font-size:12px!important;padding:8px!important}}
.directory-phone a:hover,.directory-phone a:focus-visible{display:inline-flex;align-items:center;border-radius:7px;outline:none;box-shadow:0 0 0 2px #f72f8d inset,0 0 0 1px #ffc0dc;padding:2px 5px;margin:-2px -5px;color:#c91c6c!important}
/* Drawer already renders its icon in the span; disable duplicate pseudo-icons. */
.drawer-link:before{display:none!important;content:none!important}

/* v54: admin editor controls, reversible photo selection, tidy delete action and card interactions */
.admin-profile-photo.photo-pending-delete:after{pointer-events:none!important}
.admin-profile-photo.photo-pending-delete .saved-photo-delete{background:#fff!important;color:#c91e63!important;border-color:#c91e63!important;transform:rotate(45deg)!important}
.admin-profile-form .messenger-fields{padding:10px 12px!important;gap:7px!important;min-width:0!important}
.admin-profile-form .messenger-fields>label:not(.checkline){margin:0!important;font-size:12px!important}
.admin-profile-form .messenger-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;white-space:normal!important}
.admin-profile-form .messenger-check input[type=checkbox],.admin-profile-form .verification-check input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;margin:0!important}
.admin-profile-form .telegram-field input{max-width:340px!important;width:100%!important}
.admin-profile-form .verification-field{grid-column:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;padding:10px 13px!important;min-height:54px!important}
.admin-profile-form .verification-field>label:first-child{margin:0!important;white-space:nowrap!important}
.admin-profile-form .verification-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:0!important;white-space:nowrap!important}
.admin-delete-profile-form{display:block!important;width:fit-content!important;max-width:100%!important;margin:12px 0 8px!important;clear:both!important;position:relative!important}
.admin-delete-profile-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:8px 13px!important;line-height:1.2!important;white-space:normal!important;margin:0!important;position:static!important}
.comment-icon-static{cursor:default!important;pointer-events:auto!important;box-shadow:none!important;outline:none!important;text-decoration:none!important;transition:none!important}
.comment-icon-static:hover,.comment-icon-static:focus,.comment-icon-static:focus-visible{color:inherit!important;background:transparent!important;border-color:inherit!important;box-shadow:none!important;outline:none!important;transform:none!important}
@media(max-width:760px){
 .directory-card-title h3{font-size:19px!important;line-height:1.25!important}
 .directory-location{font-size:14px!important;line-height:1.4!important}
 .directory-phone{font-size:17px!important;font-weight:800!important;line-height:1.35!important;padding:2px 14px 12px!important;overflow-wrap:anywhere!important}
 .directory-card-info{padding:14px 14px 16px!important}
 .directory-stats{font-size:13px!important;gap:8px 13px!important;line-height:1.45!important}
 .directory-stats b{font-size:14px!important}
 .directory-prices{gap:7px!important;padding:8px 0!important}
 .directory-prices span,.directory-prices b{font-size:13px!important;line-height:1.4!important}
 .directory-more{font-size:13px!important;padding:10px!important}
 .admin-profile-form .verification-field{grid-column:1/-1!important;flex-wrap:wrap!important;gap:8px!important}
 .admin-profile-form .telegram-field input{max-width:100%!important}
}


/* v55 polish: consistent admin controls, icons and mobile listing */
.brand-mark{display:none!important}.brand-title{display:inline-block;font-weight:900;letter-spacing:-.04em;color:var(--ink)}
.navlinks .btn{border-radius:12px!important;font-weight:800!important;padding:10px 15px!important;border:1px solid #f0d5e3!important;box-shadow:0 3px 10px #d92d800d!important}.navlinks .btn.secondary{background:#fff1f8!important;color:#c91c6c!important}.navlinks .btn.ghost{background:#fff!important;color:#554353!important}
.city-picker>span{display:none!important}
.directory-phone a:hover,.directory-phone a:focus-visible{box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;outline:none!important;color:inherit!important}
.directory-icons .comment-icon-static,.directory-icons .comment-icon-static:hover{position:relative!important;pointer-events:auto!important;box-shadow:none!important;border-color:transparent!important;outline:none!important;transform:none!important;cursor:default!important}
.directory-icons .comment-icon-static:after{content:attr(aria-label);position:absolute;right:0;top:calc(100% + 8px);z-index:35;white-space:nowrap;padding:6px 9px;border-radius:7px;background:#292333;color:#fff;font-size:11px;font-weight:700;box-shadow:0 4px 14px #0002;pointer-events:none;opacity:0;visibility:hidden}
.directory-icons .comment-icon-static:hover:after{opacity:1;visibility:visible}
.admin-profile-edit-page .admin-photo-upload>label{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:11px 17px!important;border-radius:12px!important;background:linear-gradient(135deg,#f72f8d,#d92d80)!important;color:#fff!important;font-weight:800!important;cursor:pointer!important;box-shadow:0 6px 16px #f72f8d25!important}
.admin-profile-edit-page #adminPhotoInput{display:block!important;position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important}
.admin-profile-edit-page .admin-photo-upload{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.admin-profile-edit-page .messenger-fields{min-width:0!important;max-width:100%!important}.admin-profile-edit-page .telegram-field input{width:100%!important;max-width:320px!important}.admin-profile-edit-page .verification-field{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}.admin-profile-edit-page .verification-field>label:first-child{margin:0!important}.admin-profile-edit-page .verification-check{margin:0!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
.admin-delete-profile-form{display:block!important;margin-top:12px!important;margin-bottom:5px!important}.admin-delete-profile-btn{display:inline-flex!important;position:static!important;max-width:100%!important;white-space:normal!important}
.managed-profile-actions button:hover,.managed-profile-actions .btn:hover{color:#fff!important;opacity:1!important;text-shadow:none!important}.managed-profile-actions .secondary:hover{background:#c91c6c!important;border-color:#c91c6c!important}.managed-profile-actions .ghost:hover{background:#fff1f8!important;color:#c91c6c!important}
@media(max-width:760px){.directory-phone{font-size:13px!important;font-weight:800!important;line-height:1.35!important}.directory-card-title h3{font-size:15px!important}.directory-location{font-size:12px!important}.directory-stats{font-size:11px!important;gap:5px 8px!important}.directory-stats b{font-size:12px!important}.directory-prices span{font-size:11px!important}.directory-prices b{font-size:12px!important}.directory-more{font-size:12px!important}.navlinks .btn{padding:7px 9px!important;font-size:10px!important}}

/* v56: directory header buttons match the main account/admin UI; hide only bust display on cards. */
.directory-nav .btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:12px;font-size:12px;font-weight:800;white-space:nowrap;border:1px solid #f0d5e3;box-shadow:0 3px 10px #d92d800d;transition:background .18s,color .18s,box-shadow .18s}
.directory-nav .btn.secondary{background:#fff1f8;color:#c91c6c;border-color:#ffd0e4;box-shadow:none}
.directory-nav .btn.nav-register{background:linear-gradient(135deg,#ff4d9a,#ff78b5);color:#fff;border-color:#ff4d9a;box-shadow:0 7px 18px #f72f8d2b}
.directory-nav .btn.ghost{background:#fff;color:#554353;border-color:#f0d5e3;box-shadow:none}
.directory-nav .btn:hover{transform:translateY(-1px);background:#ffeaf4;color:#c91c6c;box-shadow:0 6px 16px #f72f8d20}
.directory-nav .btn.nav-register:hover{background:#ed247f;color:#fff}
.directory-logo{display:none!important}
@media(max-width:760px){.directory-nav .btn{display:inline-flex!important;min-height:34px;padding:7px 8px;font-size:10px;border-width:1px}.directory-nav{gap:5px!important}}
@media(max-width:390px){.directory-nav .btn{padding:6px 6px;font-size:9px;letter-spacing:-.02em}}

/* v57: show only two recommended profiles on mobile; desktop keeps the full list. */
@media(max-width:760px){.profile-recommendation-grid>.profile-recommendation-card:nth-child(n+3){display:none!important}}


/* v63: targeted corrections only; preserve the original profile-card structure. */
.directory-results-head h2:before{content:none!important;display:none!important}
.directory-results-head h2{font-size:clamp(25px,2.5vw,34px)!important;font-weight:900!important}
.directory-profile-count{font-size:clamp(19px,1.8vw,24px)!important;font-weight:800!important;color:var(--pink)!important}
.filter-result-count[hidden]{display:none!important}
@media(max-width:760px){
  /* Keep the original one-column card layout and portrait proportions; only reduce spacing slightly. */
  .directory-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .directory-card{width:100%!important;max-width:100%!important}
  .directory-card-title{padding:9px 11px 5px!important}
  .directory-card-title h3{font-size:15px!important}
  .directory-photo{aspect-ratio:3/4!important;margin:0 8px!important}
  .directory-phone{font-size:13px!important;padding:0 11px 8px!important}
  .directory-card-info{padding:9px 10px 11px!important}
  .directory-stats{font-size:10px!important;gap:5px 9px!important}
  .directory-stats b{font-size:11px!important}
  .directory-prices span,.directory-prices b{font-size:10px!important}
}
/* Reviews: retain the icon's normal active/muted appearance; suppress hover styling only. */
.directory-icons .comment-icon-static:hover,
.directory-icons .comment-icon-static:focus,
.directory-icons .comment-icon-static:focus-visible,
.directory-icons .comment-icon-static:active{
  background:inherit!important;
  color:inherit!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
}


/* v64: make review icon completely static on hover; improve mobile phone and profile attributes readability. */
.directory-icons .comment-icon-static,
.directory-icons .comment-icon-static:hover,
.directory-icons .comment-icon-static:focus,
.directory-icons .comment-icon-static:focus-visible,
.directory-icons .comment-icon-static:active {
  transform:none!important;
  filter:none!important;
  transition:none!important;
  opacity:1!important;
  outline:none!important;
}
.directory-icons .comment-icon-static.icon-active,
.directory-icons .comment-icon-static.icon-active:hover,
.directory-icons .comment-icon-static.icon-active:focus,
.directory-icons .comment-icon-static.icon-active:focus-visible,
.directory-icons .comment-icon-static.icon-active:active {
  background:#ffe1ef!important;
  color:#f72f8d!important;
  box-shadow:0 0 0 1px #ffc0dc inset!important;
  border-color:transparent!important;
}
.directory-icons .comment-icon-static.icon-muted,
.directory-icons .comment-icon-static.icon-muted:hover,
.directory-icons .comment-icon-static.icon-muted:focus,
.directory-icons .comment-icon-static.icon-muted:focus-visible,
.directory-icons .comment-icon-static.icon-muted:active {
  background:#f5f3f6!important;
  color:#b5b1bd!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
@media(max-width:760px){
  .directory-phone{font-size:16px!important;line-height:1.45!important;padding:1px 11px 9px!important}
  .directory-stats{font-size:13px!important;line-height:1.45!important;gap:7px 10px!important}
  .directory-stats b{font-size:14px!important}
  .directory-prices span,.directory-prices b{font-size:13px!important;line-height:1.4!important}
}
