/* Practice profiles only. Keep the offer before its explanatory context. */
body.spdx-public [data-spd-profile] .spdx-profile-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0;margin:4px 0 12px;padding:0;border:0}
body.spdx-public [data-spd-profile] .spdx-profile-save{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;margin:0;padding:0;background:transparent;border-radius:0;font-size:14px;line-height:1.5}
body.spdx-public [data-spd-profile] .spdx-profile-save button,body.spdx-public [data-spd-profile] .spdx-profile-save a{display:inline-flex;align-items:center;min-height:44px;font:inherit}
body.spdx-public [data-spd-profile] .spdx-profile-save button{padding:0 4px}
body.spdx-public [data-spd-profile] .spdx-offer-context{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;margin:12px 0 18px;min-width:0}
body.spdx-public [data-spd-profile] .spdx-offer-context .spdx-offer-scope{margin:0;gap:6px}
body.spdx-public [data-spd-profile] .spdx-offer-context .spdx-profile-guides{margin:0;font-size:14px;line-height:1.5}
body.spdx-public [data-spd-profile] .spdx-profile-guides a{display:inline-block;padding:8px 0;overflow-wrap:anywhere}
body.spdx-public [data-spd-profile] #spdx-offer .spdx-visit-profile,body.spdx-public [data-spd-profile] #spdx-offer .spdx-pricing-context{margin:16px 0 20px;padding:16px;background:#f6f9fd;border:1px solid #dce4f1;border-radius:10px}
body.spdx-public [data-spd-profile] #spdx-offer .spdx-visit-profile>h2,body.spdx-public [data-spd-profile] #spdx-offer .spdx-pricing-context>h2{font-size:18px;line-height:1.4;margin:0 0 10px}
body.spdx-public [data-spd-profile] .spdx-profile-toolbar a:focus-visible,body.spdx-public [data-spd-profile] .spdx-profile-toolbar button:focus-visible,body.spdx-public [data-spd-profile] .spdx-profile-guides a:focus-visible{outline:3px solid #3864ef;outline-offset:3px;border-radius:3px}
@media(max-width:800px){
 body.spdx-public [data-spd-profile] .spdx-profile-toolbar{gap:0;margin:4px 0 12px;padding:0}
 body.spdx-public [data-spd-profile] .spdx-profile-save{width:100%;gap:4px 18px;font-size:13px}
 body.spdx-public [data-spd-profile] .spdx-offer-context{align-items:flex-start;flex-direction:column;gap:6px;margin:12px 0 16px}
 body.spdx-public [data-spd-profile] .spdx-offer-scope div{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
 body.spdx-public [data-spd-profile] #spdx-offer .spdx-visit-profile,body.spdx-public [data-spd-profile] #spdx-offer .spdx-pricing-context{padding:12px}
}

/* City link and browser-save controls share the row above the profile hero. */
body.spdx-public [data-spd-profile] .spdx-profile-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 24px;min-width:0;margin:0 0 20px}
body.spdx-public [data-spd-profile] .spdx-profile-topline .spd-breadcrumb{margin:0;min-width:0;overflow-wrap:anywhere}
body.spdx-public [data-spd-profile] .spdx-profile-topline .spd-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
body.spdx-public [data-spd-profile] .spdx-profile-topline .spdx-profile-save{width:auto;max-width:100%;flex-shrink:0}
body.spdx-public [data-spd-profile] .spdx-profile-topline a:focus-visible,body.spdx-public [data-spd-profile] .spdx-profile-topline button:focus-visible{outline:3px solid #3864ef;outline-offset:3px;border-radius:3px}
@media(max-width:600px){
 body.spdx-public [data-spd-profile] .spdx-profile-topline{flex-direction:column;align-items:flex-start;gap:0;margin-bottom:16px}
 body.spdx-public [data-spd-profile] .spdx-profile-topline .spdx-profile-save{width:100%;justify-content:flex-start}
}
