/* Society picker and provider registration use the existing navy/cyan design. */
.public .society-picker{position:relative;font-size:13px;color:#092247}
.public .society-picker summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;background:#f0f6fa;border:1px solid #dce7ef;border-radius:7px;padding:11px 13px;min-width:150px}
.public .society-picker summary::-webkit-details-marker{display:none}
.public .society-picker summary>span:first-of-type{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}
.public .society-picker .icon{width:18px;height:18px;flex-shrink:0}
.public .society-popover{position:absolute;right:0;top:calc(100% + 12px);width:310px;padding:20px;background:#fff;border:1px solid #dce7ef;border-radius:12px;box-shadow:0 14px 40px #06142b26;z-index:120}
.public .society-popover>strong{display:block;font-size:18px}.public .society-popover>small{display:block;color:#64748b;margin:5px 0 16px}
.public .society-popover .locate-customer{width:100%;background:#e1f7fb;color:#092247;border:0;justify-content:center;margin-bottom:8px}
.public .society-popover label{display:block;color:#64748b;margin:14px 0 8px;font-size:12px}
.public .society-popover input{width:100%;border:1px solid #d5e1ed;border-radius:6px;padding:11px;font:inherit}
.public .society-options{max-height:240px;overflow:auto;margin-top:10px}.public .society-option,.public .clear-area{display:block;width:100%;border:0;border-radius:6px;background:#fff;text-align:left;padding:12px;font:inherit;color:#092247;cursor:pointer}
.public .society-option:hover,.public .society-option[aria-current=true]{background:#edf6fb}.public .clear-area{border-top:1px solid #e5edf3;border-radius:0;color:#64748b;margin-top:6px}
.location-status,.map-status{font-size:12px;line-height:1.5;color:#475569}.location-status:empty,.map-status:empty{display:none}
.public .featured-label{position:absolute;left:9px;top:9px;border-radius:4px;padding:4px 7px;background:#092247;color:#fff;font-size:10px;font-weight:700}
.public .provider-distance{font-size:11px;min-height:0}.public .provider-distance:empty{display:none}
.public .registration-page{padding-top:40px;padding-bottom:60px;max-width:940px}.public .registration-page h1{font-size:32px;letter-spacing:-1px;color:#092247}.public .registration-page .section-heading p{margin-top:8px;color:#64748b}
.public .registration-form{padding:28px;border:1px solid #dce7ef;border-radius:12px;box-shadow:0 5px 25px #09224708;background:#fff}
.public .registration-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.public .registration-form .field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}.public .registration-form .full{grid-column:1/-1}.public .registration-form label{font-size:13px;font-weight:600;color:#092247}.public .registration-form input:not([type=checkbox]),.public .registration-form select,.public .registration-form textarea{width:100%;border:1px solid #ccd9e5;border-radius:6px;padding:11px;font:inherit;background:#fff;color:#092247;font-size:14px}
.public .registration-form small,.public .registration-form>.muted{font-size:12px;color:#64748b;line-height:1.6}.public .registration-form>.button{margin-top:24px;background:#092247;color:#fff}.public .registration-form>.muted{margin-top:12px}
.public .registration-form .registration-consent{flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.6}.registration-consent input{margin-top:4px;flex-shrink:0}.registration-trap{position:absolute;left:-9999px}
.registration-success{padding:50px 24px;text-align:center;border:1px solid #dce7ef;border-radius:12px;background:#f5fafc}.registration-success>span{display:inline-flex;background:#ddf8ee;color:#14704a;padding:14px;border-radius:50%;margin-bottom:15px}.registration-success p{margin:12px auto 24px;max-width:500px;line-height:1.7;color:#64748b}
.coordinate-map{height:300px;width:100%;border:1px solid #ccd9e5;border-radius:8px;z-index:0;margin:12px 0}.coordinate-map[hidden]{display:none}.map-field .button{align-self:flex-start}.map-field .muted{font-size:12px;margin:6px 0 12px}
.map-pin{background:none!important;border:0!important}.map-pin span{display:block;width:26px;height:26px;background:#092247;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 6px #0005}.map-pin span:after{content:'';position:absolute;width:7px;height:7px;left:7px;top:7px;background:#31e2e4;border-radius:50%}
@media(max-width:1100px) and (min-width:701px){.public nav#main-nav{gap:15px}.public nav#main-nav a{font-size:13px}.public .society-picker summary{min-width:125px;padding:9px}.public .header-inner{gap:16px}}
@media(max-width:700px){.public .header-actions{gap:9px}.public .society-picker summary{padding:7px;min-width:0;gap:4px;font-size:11px}.public .society-picker summary>span:first-of-type{max-width:80px}.public .society-picker .icon{width:14px;height:14px}.public .society-popover{position:fixed;left:12px;right:12px;top:66px;width:auto;max-height:calc(100dvh - 85px);overflow:auto}.public .registration-page{padding-top:28px;padding-bottom:40px}.public .registration-page h1{font-size:27px}.public .registration-form{padding:20px}.public .registration-form .form-grid{grid-template-columns:1fr;gap:18px}.coordinate-map{height:260px}.public .brand{flex-shrink:1;min-width:0}.public .brand-word{font-size:20px}}

.public .listing-featured{display:inline-block;background:#edf3f9;color:#092247;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;margin:3px 0}

/* Match the location arrow to the UI, with a stable centred SVG. */
.public .society-picker summary{align-items:center;line-height:1.25}
.public .location-chevron{display:block;width:14px;height:14px;flex:0 0 14px;margin-left:7px;transition:transform .18s ease}
.public .society-picker[open] .location-chevron{transform:rotate(180deg)}
/* Featured ribbon lives in a dedicated strip above the portrait, never on a face. */
.public .provider-card,.public .expert-card{position:relative}
.public .provider-card{padding-top:30px}
.public .expert-card[data-featured="1"]{padding-top:23px}
.public .featured-ribbon{position:absolute;top:0;left:0;z-index:1;display:inline-block;background:#092247;color:#fff;font:700 9px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.15px;padding:5px 16px 5px 9px;border-radius:5px 0 0 0;clip-path:polygon(0 0,100% 0,calc(100% - 6px) 50%,100% 100%,0 100%);pointer-events:none}
@media(max-width:700px){.public .location-chevron{width:12px;height:12px;flex-basis:12px;margin-left:3px}.public .provider-card{padding-top:29px}.public .expert-card[data-featured="1"]{padding-top:22px}.public .featured-ribbon{font-size:8px;padding:5px 13px 5px 7px}}

/* Full provider image keeps its entire frame on the detail page. */
.public .profile-photo.profile-photo-full{height:auto;min-height:0;background:#eef3f7}
.public .profile-photo.profile-photo-full img.cover{display:block;position:static;width:100%;height:auto;max-height:720px;object-fit:contain;object-position:center;content-visibility:visible}
@media(max-width:700px){.public .profile-photo.profile-photo-full img.cover{max-height:540px}}

/* Home selection is an admin option; no public featured badge or reserved strip. */
.public .provider-card{padding-top:15px}.public .expert-card[data-featured="1"]{padding-top:0}
@media(max-width:700px){.public .provider-card{padding-top:13px}.public .expert-card[data-featured="1"]{padding-top:0}}
