:is(#profileStampAds,#businessProfileAds) .stamp-card{white-space:normal;font-family:inherit;min-height:156px;padding:10px 7px 7px;cursor:pointer;font-weight:400}:is(#profileStampAds,#businessProfileAds) .stamp-card:disabled{opacity:1;cursor:default}:is(#profileStampAds,#businessProfileAds) .stamp-card img{width:56px;height:56px;object-fit:cover;border-radius:50%;margin-bottom:3px}:is(#profileStampAds,#businessProfileAds) .stamp-heading{flex-wrap:wrap}:is(#profileStampAds,#businessProfileAds) .stamp-heading>div{flex:1;min-width:220px}
.profile-ad-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #cad9e8;border-radius:16px;padding:22px;color:#173858;box-shadow:0 12px 50px #0a27404d}.profile-ad-dialog::backdrop{background:#0a274077}.profile-ad-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-ad-dialog h2{font-size:22px;margin:0 0 12px}.profile-ad-dialog p{font-size:13px;line-height:1.5}.profile-ad-dialog form,#profileAdsAdmin form{display:grid;gap:12px;margin:12px 0}.profile-ad-dialog label,#profileAdsAdmin label{display:grid;gap:5px;font-size:13px}.profile-ad-dialog input:not([type=checkbox]),.profile-ad-dialog select,#profileAdsAdmin input:not([type=checkbox]),#profileAdsAdmin select{width:100%;min-width:0;box-sizing:border-box;padding:9px;border:1px solid #cad9e8;border-radius:8px;font:inherit}.profile-ad-dialog button{min-height:44px;font-size:13px}.ad-order{padding:12px;margin:10px 0;border:1px solid #d5e1ee;border-radius:10px;background:#f4f8fc}.ad-order p{margin:5px 0}.ad-photo-preview{width:70px;height:70px;object-fit:cover;border-radius:50%}.ad-order-list{max-height:440px;overflow:auto}.ad-result,#profileAdAdminStatus{font-size:13px;color:#1a4569}#profileAdsAdmin{margin:12px 0;padding:16px;border:1px solid #d5e1ee;border-radius:12px;box-shadow:0 3px 0 #dde7f0}#profileAdsAdmin form{max-width:520px}
@media(max-width:600px){.profile-ad-dialog input:not([type=checkbox]),.profile-ad-dialog select{font-size:16px}:is(#profileStampAds,#businessProfileAds) .stamp-card{min-height:152px}}
:is(#profileStampAds,#businessProfileAds) .stamp-card :is(strong,span:not(.stamp-tag),small){display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#profileStampAds,#businessProfileAds) .stamp-card:focus-visible{outline:3px solid #1264ce;outline-offset:-3px}
#homeMembershipPricing .plan,#membershipPricing .plan{cursor:pointer}#homeMembershipPricing .plan:focus-visible,#membershipPricing .plan:focus-visible{outline:3px solid #1264ce;outline-offset:3px}#homeMembershipPricing .plan-body>[data-select-plan],#homeMembershipPricing .plan-body>[data-diamond-checkout],#membershipPricing .plan-body>[data-select-plan],#membershipPricing .plan-body>[data-diamond-checkout]{display:none!important}#homeMembershipPricing .home-plan-more{background:none!important;color:#145d9f!important;box-shadow:none!important;border:0!important;text-decoration:underline;font-weight:600}
#homeMembershipPricing .plan.diamond-ultimate .plan-body [data-diamond-checkout],#membershipPricing .plan.diamond-ultimate .plan-body [data-diamond-checkout]{display:none!important}
/* Compact profile checkout; preserve the shared account and review dialogs. */
.profile-ad-dialog:has(#profileAdBuy){width:min(460px,calc(100% - 24px));padding:16px;border-radius:14px}
.profile-ad-dialog:has(#profileAdBuy) h2{font-size:18px;margin:0}
.profile-ad-dialog:has(#profileAdBuy) header{margin-bottom:10px}
.profile-ad-dialog:has(#profileAdBuy) [data-ad-close]{min-height:32px;width:32px;padding:0;border-radius:8px}
.profile-ad-dialog:has(#profileAdBuy)>p{font-size:12px;line-height:1.45;margin:8px 0}
.profile-ad-dialog #profileAdBuy{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:12px 0 0}
.profile-ad-dialog #profileAdBuy label{font-size:12px;gap:4px}
.profile-ad-dialog #profileAdBuy input,.profile-ad-dialog #profileAdBuy select{padding:7px 8px;min-height:36px;font-size:13px}
.profile-ad-dialog #profileAdBuy label:nth-child(n+3),.profile-ad-dialog #profileAdBuy>button{grid-column:1/-1}
.profile-ad-dialog #profileAdBuy>button{min-height:40px;padding:8px;font-size:12px;margin-top:2px}
.profile-ad-dialog:has(#profileAdBuy) .ad-result:empty{display:none}
@media(max-width:480px){.profile-ad-dialog #profileAdBuy input,.profile-ad-dialog #profileAdBuy select{font-size:16px}.profile-ad-dialog:has(#profileAdBuy){padding:14px}}
@media(max-width:350px){.profile-ad-dialog #profileAdBuy{grid-template-columns:1fr}}
/* Compact raised admin controls. */
#profileAdsAdmin{padding:14px;background:linear-gradient(145deg,#fff,#f0f5fb);border:1px solid #ccdbea;border-top:3px solid #193e65;box-shadow:0 4px 0 #d7e2ed,0 7px 16px #1738580b;font-size:13px}
#profileAdsAdmin h4{font-size:16px;margin:0 0 6px}#profileAdsAdmin>p{font-size:12px;line-height:1.5;margin:0 0 10px;max-width:800px}
#profileAdsAdmin button{width:auto;min-height:34px;padding:7px 12px;font-size:12px;line-height:1.3;border-radius:8px;box-shadow:0 3px 0 #9e142b,inset 0 1px 0 #ffffff55}
#profileAdsAdminContent{display:grid;grid-template-columns:minmax(200px,1fr) minmax(300px,2fr);gap:12px;margin-top:12px;align-items:start}
#profileAdsAdmin form{max-width:none;margin:0;padding:12px;gap:9px;background:#fff;border:1px solid #d5e1ee;border-radius:10px;box-shadow:0 3px 0 #e0e8f1}
#profileAdsAdmin label{font-size:12px;gap:4px;color:#244766}#profileAdsAdmin input:not([type=checkbox]),#profileAdsAdmin select{padding:7px 8px;min-height:34px;font-size:13px;border-radius:7px;box-shadow:inset 0 1px 2px #1639570a}
#profileAdsAdmin #profileAdSpot{grid-template-columns:1fr 1fr}#profileAdSpot label:has([type=checkbox]){grid-column:1/-1;display:flex;align-items:center;gap:7px}
#profileAdsAdmin input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#193e65}#profileAdsAdmin form>button{justify-self:start}
#profileAdAdminStatus,#profileAdsAdminContent>h5,#profileAdsAdminContent>.ad-order-list{grid-column:1/-1;margin:0}#profileAdAdminStatus:empty{display:none}#profileAdsAdminContent>h5{font-size:13px}#profileAdsAdmin .ad-order-list{font-size:12px}#profileAdsAdmin .ad-order{box-shadow:0 2px 0 #dde7f0}
.profile-ad-dialog:has(#profileAdEdit){width:min(480px,calc(100% - 24px));padding:16px;background:linear-gradient(145deg,#fff,#f0f5fb);box-shadow:0 5px 0 #becedc,0 15px 50px #0a27404d}
.profile-ad-dialog:has(#profileAdEdit) h2{font-size:18px;margin:0}.profile-ad-dialog:has(#profileAdEdit) p{font-size:12px;line-height:1.4;margin:8px 0}.profile-ad-dialog:has(#profileAdEdit) [data-ad-close]{width:32px;min-height:32px;padding:0}
.profile-ad-dialog:has(#profileAdEdit) .ad-photo-preview{width:48px;height:48px;border:2px solid white;box-shadow:0 2px 4px #193e6530}
.profile-ad-dialog #profileAdEdit{grid-template-columns:1fr 1fr;gap:9px 12px;margin:10px 0}.profile-ad-dialog #profileAdEdit label{font-size:12px;gap:4px}.profile-ad-dialog #profileAdEdit input:not([type=checkbox]){padding:7px 8px;min-height:34px;font-size:13px}
#profileAdEdit label:nth-child(n+3),#profileAdEdit>button{grid-column:1/-1}.profile-ad-dialog #profileAdEdit label:has([type=checkbox]){display:flex;align-items:center;gap:7px}.profile-ad-dialog:has(#profileAdEdit) button{min-height:34px;padding:7px 12px;font-size:12px;border-radius:8px;box-shadow:0 3px 0 #b5c6d8}.profile-ad-dialog:has(#profileAdEdit) .ad-result:empty{display:none}
@media(max-width:700px){#profileAdsAdminContent{grid-template-columns:1fr}#profileAdsAdmin input:not([type=checkbox]),#profileAdsAdmin select,.profile-ad-dialog #profileAdEdit input:not([type=checkbox]){font-size:16px}}
@media(max-width:380px){#profileAdsAdmin #profileAdSpot,.profile-ad-dialog #profileAdEdit{grid-template-columns:1fr}}

#addProfileAdAdmin{margin-left:8px}
.profile-ad-dialog:has(#profileAdCreate){width:min(480px,calc(100% - 24px));padding:16px;background:linear-gradient(145deg,#fff,#f0f5fb);box-shadow:0 5px 0 #becedc,0 15px 50px #0a27404d}
.profile-ad-dialog:has(#profileAdCreate) h2{font-size:18px;margin:0}.profile-ad-dialog:has(#profileAdCreate) p{font-size:12px;line-height:1.4;margin:8px 0}.profile-ad-dialog:has(#profileAdCreate) [data-ad-close]{width:32px;min-height:32px;padding:0}
.profile-ad-dialog:has(#profileAdCreate) .ad-photo-preview{width:48px;height:48px;border:2px solid white;box-shadow:0 2px 4px #193e6530}
.profile-ad-dialog #profileAdCreate{grid-template-columns:1fr 1fr;gap:9px 12px;margin:10px 0}.profile-ad-dialog #profileAdCreate label{font-size:12px;gap:4px}.profile-ad-dialog #profileAdCreate input:not([type=checkbox]){padding:7px 8px;min-height:34px;font-size:13px}
#profileAdCreate label:nth-child(n+3),#profileAdCreate>button{grid-column:1/-1}.profile-ad-dialog #profileAdCreate label:has([type=checkbox]){display:flex;align-items:center;gap:7px}.profile-ad-dialog:has(#profileAdCreate) button{min-height:34px;padding:7px 12px;font-size:12px;border-radius:8px;box-shadow:0 3px 0 #b5c6d8}.profile-ad-dialog:has(#profileAdCreate) .ad-result:empty{display:none}
@media(max-width:700px){#profileAdsAdminContent{grid-template-columns:1fr}#profileAdsAdmin input:not([type=checkbox]),#profileAdsAdmin select,.profile-ad-dialog #profileAdCreate input:not([type=checkbox]){font-size:16px}}
@media(max-width:380px){#profileAdsAdmin #profileAdSpot,.profile-ad-dialog #profileAdCreate{grid-template-columns:1fr}}

#profileAdCreate label:first-child{grid-column:1/-1}
/* Plans and seasonal offers: compact desktop grid, stacked on small screens. */
#adminPlans #planEditors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
#adminPlans #planEditors>.panel{min-width:0;margin:0;padding:12px;border:1px solid #ccdbea;border-top:3px solid #244869;border-radius:11px;background:linear-gradient(145deg,#fff,#f3f7fc);box-shadow:0 3px 0 #dbe5ef;font-size:12px}
#adminPlans #planEditors>.tier-silver{border-top-color:#8798ad}#adminPlans #planEditors>.tier-gold{border-top-color:#dca922}
#adminPlans #planEditors h4{font-size:14px;margin:0 0 8px}#adminPlans #planEditors p,#adminPlans #planEditors small{font-size:11px;line-height:1.45;margin:7px 0}
#adminPlans #planEditors label{font-size:11px;line-height:1.4;margin:0;display:grid;gap:4px;min-width:0}
#adminPlans #planEditors .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
#adminPlans #planEditors input:not([type=checkbox]),#adminPlans #planEditors textarea{width:100%;min-width:0;box-sizing:border-box;padding:6px 8px;min-height:32px;font-size:12px;border-radius:7px;margin:0}
#adminPlans #planEditors textarea{height:56px;resize:vertical}#adminPlans #planEditors textarea[name=features]{height:74px}
#adminPlans #planEditors button{width:auto;min-height:32px;padding:6px 10px;font-size:11px;margin:7px 0 0;border-radius:7px}
#adminPlans #planEditors details{font-size:11px;margin:8px 0}#adminPlans #planEditors .season-offer{padding:8px;margin:8px 0;border-radius:8px;min-width:0}#adminPlans #planEditors legend{font-size:11px}
#adminPlans #recentWebsitePlanOrders{order:-2;grid-column:1/-1}#adminPlans #recentWebsitePlanOrders .subscription-list-scroll{max-height:180px;overflow:auto}#adminPlans #recentWebsitePlanOrders th,#adminPlans #recentWebsitePlanOrders td{padding:7px 9px;font-size:11px}
#adminPlans #diamondPackageEditor{grid-column:span 1}#adminPlans #leasePlanEditor{grid-column:span 2}#adminPlans #leasePlanEditor label:has(input[type=checkbox]){display:flex;align-items:center;gap:7px}
@media(max-width:1100px){#adminPlans #planEditors{grid-template-columns:repeat(2,minmax(0,1fr))}#adminPlans #leasePlanEditor{grid-column:span 1}}
@media(max-width:700px){#adminPlans #planEditors{grid-template-columns:1fr}#adminPlans #planEditors input:not([type=checkbox]),#adminPlans #planEditors textarea{font-size:16px}}
#adminPlans #planEditors>.panel h4{font-size:14px!important;margin:0 0 6px!important;line-height:1.4!important}
#adminPlans #planEditors>.panel label{font-size:11px!important;line-height:1.35!important;gap:3px!important}
#adminPlans #planEditors>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0 0 7px!important}
#adminPlans #planEditors>.panel input:not([type=checkbox]){height:32px!important;min-height:32px!important;padding:5px 7px!important;font-size:12px!important}
#adminPlans #planEditors>.panel p,#adminPlans #planEditors>.panel small{font-size:11px!important;line-height:1.35!important;margin:5px 0!important}
#adminPlans #planEditors>.panel p:empty{display:none}
#adminPlans #planEditors>.panel button{min-height:30px!important;padding:5px 9px!important;font-size:11px!important;margin:5px 4px 5px 0!important}
#adminPlans #planEditors>.panel .season-offer{padding:7px!important;margin:6px 0!important}
@media(max-width:700px){#adminPlans #planEditors>.panel input:not([type=checkbox]){font-size:16px!important}}
#adminPlans #planEditors>.panel{box-shadow:inset 0 1px 0 #fff,0 4px 0 #cfdae6,0 7px 16px #183b5d12;background:linear-gradient(145deg,#fff 30%,#edf3fa)}
#adminPlans .plan-admin-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin-right:4px;vertical-align:middle;border-radius:7px;color:#24496c;background:linear-gradient(#fff,#dce9f6);border:1px solid #c5d6e7;box-shadow:0 2px 0 #b9ccdf,inset 0 1px 0 white;font-size:15px}
#adminPlans .tier-gold .plan-admin-icon{color:#926500;background:linear-gradient(#fff6d4,#f2d274);border-color:#ddbd60;box-shadow:0 2px 0 #c5a04a}
#adminPlans #planEditors .seasonal-offers{border:1px solid #ceddea;border-radius:8px;background:#f8fbff;box-shadow:0 2px 0 #dbe5ef;margin:10px 0;padding:0}
#adminPlans .seasonal-offers>summary{cursor:pointer;padding:8px;font-size:12px;font-weight:700;color:#24496c}
#adminPlans .seasonal-offers[open]{padding:0 8px 8px}#adminPlans .seasonal-offers[open]>summary{margin:0 -8px 8px;border-bottom:1px solid #dbe5ef}
#adminPlans #planEditors{grid-template-columns:repeat(6,minmax(0,1fr))}#adminPlans #planEditors>[data-plan-editor]{grid-column:span 2}
#adminPlans #planEditors>#leasePlanEditor,#adminPlans #planEditors>#diamondPackageEditor{grid-column:span 3}
@media(max-width:1100px){#adminPlans #planEditors{grid-template-columns:repeat(2,minmax(0,1fr))}#adminPlans #planEditors>[data-plan-editor],#adminPlans #planEditors>#leasePlanEditor,#adminPlans #planEditors>#diamondPackageEditor{grid-column:span 1}#adminPlans #planEditors>[data-plan-editor=gold]{grid-column:1/-1}}
@media(max-width:700px){#adminPlans #planEditors{grid-template-columns:1fr}#adminPlans #planEditors>.panel{grid-column:1/-1}}
#adminRealEstateClassification .classification-search{display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:12px;margin:12px 0;background:linear-gradient(#fff,#edf4fb);border:1px solid #cad9e8;border-radius:10px;box-shadow:0 3px 0 #d7e2ee}
#adminRealEstateClassification .classification-search label{display:grid;gap:4px;font-size:12px;margin:0}#adminRealEstateClassification .classification-search label:first-child{flex:1;min-width:180px}
#adminRealEstateClassification .classification-search input,#adminRealEstateClassification .classification-search select{padding:7px;min-height:34px;font-size:13px;margin:0}
#adminRealEstateClassification button{min-height:32px;padding:6px 12px;font-size:12px}
#adminRealEstateClassification [data-estate-classifications]{max-height:520px;overflow:auto;border:1px solid #d5e1ee;border-radius:10px}
#adminRealEstateClassification .estate-classification-row{padding:8px 10px!important;gap:8px!important;margin:0!important;min-height:54px!important}
#adminRealEstateClassification .estate-classification-row h4{font-size:13px!important;margin:0!important}#adminRealEstateClassification .estate-classification-icon{width:28px;height:28px;box-shadow:0 2px 0 #d5e1ee}
#adminRealEstateClassification .classification-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px}
@media(max-width:600px){#adminRealEstateClassification .classification-search input,#adminRealEstateClassification .classification-search select{font-size:16px}.classification-pager{flex-wrap:wrap}}
.verification-search{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:12px;margin:12px 0;border:1px solid #cbdbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d3dfeb,0 5px 12px #193e6510}
.verification-search label{display:grid;gap:4px;font-size:12px;margin:0}.verification-search label:first-child{flex:1;min-width:180px}.verification-search input,.verification-search select{font-size:13px;min-height:34px;padding:6px 8px;margin:0}
.verification-search button,.verification-pager button,.verification-results button{min-height:32px;padding:6px 10px;font-size:12px;box-shadow:0 2px 0 #c4d3e2}
.verification-results{max-height:500px;overflow:auto;padding:3px}.verification-results>.panel{padding:10px 12px!important;margin:0 0 8px!important;font-size:13px;border:1px solid #cdddea;border-radius:10px;background:linear-gradient(145deg,#fff,#f3f7fc);box-shadow:0 3px 0 #dbe5ef}.verification-results p{font-size:12px;line-height:1.4;margin:5px 0!important}.verification-results .status{font-size:11px}
.verification-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:12px}
@media(max-width:600px){.verification-search input,.verification-search select{font-size:16px}.verification-pager{flex-wrap:wrap}}
#subscriberRows,#referralAdminRows{max-height:480px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:3px;align-content:start}
#subscriberRows>.panel,#referralAdminRows>.referral-admin-row{position:relative;min-width:0;padding:10px 12px!important;margin:0!important;border:1px solid #cbdbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d7e2ee;font-size:13px;overflow-wrap:anywhere}
#subscriberRows p,#referralAdminRows span,#referralAdminRows small{font-size:12px;line-height:1.4;margin:4px 0;display:block}#subscriberRows small{font-size:11px}
#referralAdminRows>.referral-admin-row{padding-right:80px!important}#referralAdminRows img{position:absolute;right:10px;top:10px;width:60px;height:60px}
#adminSubscribers button,#adminReferrals button{min-height:32px;padding:6px 10px;font-size:12px}#adminSubscribers .slide-controls{margin:10px 0;gap:10px}
#adminReferralForm{max-width:760px;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px!important;border-radius:10px;box-shadow:0 3px 0 #d7e2ee;background:linear-gradient(#fff,#f0f5fb)}#adminReferralForm label{font-size:12px;margin:0}#adminReferralForm label:has(textarea),#adminReferralForm .referral-check,#adminReferralForm p{grid-column:1/-1}#adminReferralForm input:not([type=checkbox]),#adminReferralForm textarea{padding:7px;font-size:13px}#adminReferralForm textarea{min-height:55px;height:55px}
@media(max-width:700px){#subscriberRows,#referralAdminRows,#adminReferralForm{grid-template-columns:1fr}#adminReferralForm input:not([type=checkbox]),#adminReferralForm textarea{font-size:16px}}
#newsletterAdminList{max-height:480px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:3px}
#newsletterAdminList>.panel{padding:10px 12px!important;margin:0!important;border:1px solid #cbdbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d7e2ee;font-size:13px}
#newsletterAdminList p{font-size:11px;margin:5px 0}#adminNewsletters button{min-height:32px;padding:6px 10px;font-size:12px}
#adminNewsletters #newsletterForm{padding:12px;margin:10px 0;background:linear-gradient(145deg,#fff,#f0f5fb);border:1px solid #cbdbea;border-radius:11px;box-shadow:0 3px 0 #d7e2ee;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
#newsletterForm>.grid{display:contents}#newsletterForm>label,#newsletterMessage{grid-column:1/-1}#newsletterForm label{font-size:12px;margin:0;display:grid;gap:4px}#newsletterForm input,#newsletterForm select,#newsletterForm textarea{font-size:13px;padding:7px;min-height:34px;margin:0}#newsletterForm textarea{height:65px;min-height:65px;resize:vertical}#newsletterForm button{justify-self:start}
@media(max-width:700px){#newsletterAdminList,#adminNewsletters #newsletterForm{grid-template-columns:1fr}#newsletterForm input,#newsletterForm select,#newsletterForm textarea{font-size:16px}}
#adminSubscriptions #membershipRequests{padding:12px;border:1px solid #cbdbea;border-radius:11px;background:linear-gradient(145deg,#fff,#f0f5fb);box-shadow:0 3px 0 #d7e2ee}
#adminSubscriptions .subscription-list-scroll{max-height:480px;overflow:auto}#adminSubscriptions .subscription-request-list td,#adminSubscriptions .subscription-request-list th{padding:8px 10px;font-size:12px}#adminSubscriptions button{min-height:32px;padding:6px 10px;font-size:12px}#adminSubscriptions .subscription-list-icon{width:27px;height:27px;box-shadow:0 2px 0 #d0ddeb}#adminSubscriptions .membership-request-actions{gap:5px}#adminSubscriptions .membership-payment-confirm{font-size:11px}
#memberUsers .admin-table-tools,#adminTeam #teamInviteForm{padding:12px;border:1px solid #ccdbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d6e1ed;gap:9px}
#memberUsers .admin-table-scroll{max-height:480px;overflow:auto}#memberUsers td,#memberUsers th,#adminTeam td,#adminTeam th{font-size:12px;padding:8px 10px}#memberUsers label,#adminTeam label{font-size:12px}#memberUsers button,#adminTeam button{min-height:32px;padding:6px 10px;font-size:12px}
#adminTeam table{width:100%;border:1px solid #cedcea;border-radius:10px;font-size:12px}#teamInvitations{max-height:360px;overflow:auto}#teamInvitations li{padding:9px!important;margin:6px 0!important;border:1px solid #cedcea;border-radius:9px;box-shadow:0 2px 0 #d6e1ed;font-size:12px}
#adminTeam #teamInviteForm{display:grid;grid-template-columns:1fr 1fr;max-width:700px}#adminTeam input,#adminTeam select{padding:7px;font-size:13px;min-height:34px}
#admin #stats{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:9px!important}#admin #stats .stat{min-height:88px!important;padding:10px!important;font-size:11px!important;border-radius:10px!important;box-shadow:0 3px 0 #d0ddea,0 5px 10px #17385812!important}#admin #stats .stat b{font-size:21px!important;line-height:1.2}#admin #stats .stat small{font-size:9px!important}#admin #stats .dashboard-chart--compact{max-width:65px!important}
#teamChartDialog{width:min(720px,calc(100% - 24px));max-height:80vh;overflow:auto;border:1px solid #cbdbea;border-radius:14px;padding:16px;background:linear-gradient(#fff,#f0f5fb);box-shadow:0 5px 0 #bfcedd,0 15px 50px #16395744}#teamChartDialog::backdrop{background:#193e6570}#teamChartDialog h3{font-size:18px}#teamChartDialog .hierarchy-department{padding:10px}#teamChartDialog p,#teamChartDialog small{font-size:12px}
@media(max-width:1100px){#admin #stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media(max-width:600px){#admin #stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}#adminTeam #teamInviteForm{grid-template-columns:1fr}}
#managementDialog:has(.explorer-chart-wrap){width:min(620px,calc(100% - 24px))!important;max-height:80vh;padding:16px!important;border:1px solid #cbdbea;border-radius:13px;background:linear-gradient(#fff,#edf4fb);box-shadow:0 4px 0 #c5d4e3,0 15px 50px #17385844}
#managementDialog:has(.explorer-chart-wrap) .explorer-chart-wrap{padding:8px!important;margin:8px 0!important}#managementDialog:has(.explorer-chart-wrap) svg{width:100%;max-height:235px}#managementDialog:has(.explorer-chart-wrap) p{font-size:12px;margin:7px 0}#managementDialog:has(.explorer-chart-wrap) button{min-height:32px;font-size:12px;padding:6px 10px}
#adminWebScraping #webScrapingForm{padding:12px!important;border:1px solid #cadbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d5e1ed;max-width:760px}#adminWebScraping label{font-size:12px}#adminWebScraping input,#adminWebScraping select{padding:7px;font-size:13px;min-height:34px}#adminWebScraping button{padding:6px 10px;min-height:32px;font-size:12px}
#webScrapingBatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto;padding:3px}#webScrapingBatches>button{text-align:left;border-radius:9px;background:linear-gradient(#fff,#edf4fb);box-shadow:0 3px 0 #d5e1ed;margin:0!important}
#webScrapingPreview{padding:12px;border:1px solid #cadbea;border-radius:10px;background:linear-gradient(#fff,#f5f8fc);box-shadow:0 3px 0 #d5e1ed}#webScrapingPreview:empty{display:none}#webScrapingPreview>div{max-height:430px;overflow:auto}#webScrapingPreview td,#webScrapingPreview th{padding:7px 9px;font-size:12px}#webScrapingPreview p{font-size:12px;margin:6px 0}#webScrapingPreview h4{font-size:15px;margin:0 0 8px}
@media(max-width:600px){#webScrapingBatches{grid-template-columns:1fr}#adminWebScraping input,#adminWebScraping select{font-size:16px}}
#adminCategories #adminCategoryList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:460px;overflow:auto;padding:3px}
#adminCategories .admin-category-card{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #cbdbea;border-radius:10px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:0 3px 0 #d7e2ee}
#adminCategories .admin-category-card strong{font-size:12px;line-height:1.4;display:block}#adminCategories .admin-category-card small{display:block;font-size:10px;color:#536d89;margin-top:3px}#adminCategories .category-group-icon{flex-shrink:0;box-shadow:0 2px 0 #bed0e2}#adminCategories button{min-height:32px;padding:6px 10px;font-size:12px}
@media(max-width:900px){#adminCategories #adminCategoryList{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){#adminCategories #adminCategoryList{grid-template-columns:1fr}}
/* Compact homepage notice editor; all existing fields and save handler retained. */
#adminNotice #noticeEditor{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px!important;max-width:860px;margin:12px 0!important;padding:16px!important;border:1px solid #cbdbea;border-top:3px solid #24496c;border-radius:12px;background:linear-gradient(145deg,#fff,#edf4fb);box-shadow:inset 0 1px 0 #fff,0 4px 0 #d1deeb,0 7px 16px #17385812}
#adminNotice #noticeEditor label{display:grid;gap:4px!important;margin:0!important;font-size:12px!important;line-height:1.4}
#adminNotice #noticeEditor input,#adminNotice #noticeEditor select{box-sizing:border-box;width:100%;min-width:0;min-height:36px;height:36px;padding:7px 9px!important;margin:0!important;font-size:13px!important;border:1px solid #c6d7e7;border-radius:8px;box-shadow:inset 0 1px 2px #193e650c}
#adminNotice #noticeEditor>.grid{display:contents!important}#adminNotice #noticeEditor>p{grid-column:1/-1;font-size:11px!important;margin:0!important;line-height:1.4}#adminNotice #noticeEditor>p:empty{display:none}
#adminNotice #noticeEditor>button{justify-self:start;min-height:34px;padding:7px 14px!important;font-size:12px!important;border-radius:8px;box-shadow:0 3px 0 #a30a23,inset 0 1px 0 #ffffff55;margin:0!important}
#adminNotice>p{font-size:12px;margin:5px 0 10px}#adminNotice h3{font-size:18px;margin-bottom:6px}
@media(max-width:650px){#adminNotice #noticeEditor{grid-template-columns:1fr;padding:12px!important}#adminNotice #noticeEditor input,#adminNotice #noticeEditor select{font-size:16px!important}}
#adminChat .chat-inbox-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:12px;margin-top:12px}#adminChat #chatThreads{max-height:440px;overflow:auto;padding:3px}#adminChat .chat-thread{width:100%;padding:9px 11px!important;margin:0 0 8px!important;border:1px solid #cadbea;border-radius:9px;background:linear-gradient(#fff,#edf4fb);box-shadow:0 3px 0 #d5e1ed;font-size:12px;text-align:left}#adminChat .chat-thread.selected{border-color:#2465a2;background:linear-gradient(#e4f0ff,#d4e6fa)}#adminChat .chat-thread strong{font-size:13px}#adminChat .chat-thread span,#adminChat .chat-thread small{font-size:11px;line-height:1.4}
#adminChat .chat-inbox-layout>div:last-child{min-width:0;padding:12px;border:1px solid #cadbea;border-radius:11px;background:linear-gradient(#fff,#f0f5fb);box-shadow:0 3px 0 #d5e1ed}#adminChat #chatThreadTitle{font-size:15px;margin:0 0 8px}#adminChat #adminMessages{height:290px;max-height:40vh;padding:8px}#adminChat .chat-bubble{padding:8px 10px;font-size:12px}#adminChat .chat-bubble p{margin:4px 0}#adminChat #adminReply{margin-top:8px}#adminChat #adminReply label{font-size:12px}#adminChat #adminReplyText{min-height:62px;height:62px;font-size:13px;padding:8px}#adminChat button{min-height:32px;padding:6px 10px;font-size:12px}
@media(max-width:700px){#adminChat .chat-inbox-layout{grid-template-columns:1fr}#adminChat #chatThreads{max-height:240px}#adminChat #adminReplyText{font-size:16px}}
#admin #adminChat:not([hidden]){display:block!important}#admin .workspace-nav a[href="#adminChat"]{display:block!important}

/* Dimensional realtor cards; placeholder artwork never replaces published headshots. */
:is(#profileStampAds,#businessProfileAds) .stamp-card{flex:0 0 142px;width:142px;height:202px;min-height:202px;padding:23px 9px 10px;gap:4px;border-radius:15px;background:linear-gradient(145deg,#fff 18%,#edf4fb);box-shadow:inset 0 1px 0 #fff,0 4px 0 #cbd9e7,0 8px 14px #183d6112;transition:box-shadow .15s,border-color .15s}
:is(#profileStampAds,#businessProfileAds) .stamp-card.available{border-style:solid;border-top:3px solid #c99b26}
:is(#profileStampAds,#businessProfileAds) .stamp-card img{width:80px;height:80px;flex-shrink:0;object-fit:cover;border-radius:18px;margin-bottom:5px;border:2px solid #fff;box-shadow:0 3px 7px #17385824;background:#e9f1f8}
:is(#profileStampAds,#businessProfileAds) .stamp-card.paid img{border-radius:18px}
:is(#profileStampAds,#businessProfileAds) .stamp-card strong{font-size:12px;line-height:1.4;color:#153b60}
:is(#profileStampAds,#businessProfileAds) .stamp-card .stamp-tag{top:6px;left:7px;padding:2px 5px;border-radius:5px;background:#e5edf6;color:#365a7d;font-size:8px}
:is(#profileStampAds,#businessProfileAds) .stamp-card.available:hover{border-color:#b18a26;box-shadow:inset 0 1px 0 #fff,0 4px 0 #bdccdb,0 9px 18px #183d6120}
:is(#profileStampAds,#businessProfileAds) .stamp-viewport{padding-bottom:10px}
@media(max-width:600px){:is(#profileStampAds,#businessProfileAds) .stamp-card{flex-basis:132px;width:132px;height:194px;min-height:194px}:is(#profileStampAds,#businessProfileAds) .stamp-card img{width:74px;height:74px}}
@media(prefers-reduced-motion:reduce){:is(#profileStampAds,#businessProfileAds) .stamp-card{transition:none}}

/* Keep published names readable and frame real photos consistently. */
:is(#profileStampAds,#businessProfileAds) .stamp-card.paid{height:224px;min-height:224px}
:is(#profileStampAds,#businessProfileAds) .stamp-card.paid strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;flex-shrink:0}
:is(#profileStampAds,#businessProfileAds) .stamp-photo{display:block;box-sizing:content-box;width:80px;height:80px;flex-shrink:0;overflow:hidden;border-radius:18px;margin-bottom:5px;border:2px solid #fff;box-shadow:0 3px 7px #17385824;background:#e9f1f8}
:is(#profileStampAds,#businessProfileAds) .stamp-photo img{display:block;width:100%;height:100%;border:0;border-radius:0;margin:0;box-shadow:none}
:is(#profileStampAds,#businessProfileAds) .mocee-profile .stamp-photo img{object-position:50% 25%;transform:scale(2.2);transform-origin:50% 0%}
@media(max-width:600px){:is(#profileStampAds,#businessProfileAds) .stamp-photo{width:74px;height:74px}:is(#profileStampAds,#businessProfileAds) .stamp-card.paid{height:216px;min-height:216px}}
