:root{--bg:#f6f7f9;--card:#fff;--text:#171a1f;--muted:#68707c;--line:#e5e8ec;--accent:#1d5c4f;--accent2:#e7f2ef;--danger:#b42318}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.topbar{height:70px;padding:0 max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{font-weight:800;letter-spacing:-.02em}.topbar nav{display:flex;gap:22px;font-size:14px;color:var(--muted)}.container{max-width:1180px;margin:0 auto;padding:42px 24px 70px}.hero{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.hero h1,.form-card h1,.auth-card h1,.admin-head h1{font-size:clamp(34px,5vw,58px);line-height:1;letter-spacing:-.045em;margin:8px 0 12px}.hero p{font-size:18px;color:var(--muted);max-width:700px;margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:var(--accent)}.count{font-size:44px;font-weight:800;line-height:.9;text-align:right}.count small{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-top:8px}.search-panel{display:grid;grid-template-columns:2.2fr 1fr 1.2fr auto auto;gap:10px;background:#fff;border:1px solid var(--line);padding:12px;border-radius:18px;margin-bottom:26px;box-shadow:0 8px 30px rgba(20,30,40,.04)}input,select,textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:11px;padding:12px 13px;background:#fff;color:var(--text)}button,.button{border:0;border-radius:11px;background:var(--accent);color:#fff;padding:12px 17px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.secondary{display:flex;align-items:center;justify-content:center;padding:0 12px;color:var(--muted);font-weight:700}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.card{display:flex;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;transition:.2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(20,30,40,.07);border-color:#ccd6d2}.avatar,.profile-photo{width:72px;height:72px;min-width:72px;border-radius:16px;background:var(--accent2);display:flex;align-items:center;justify-content:center;overflow:hidden;font-weight:800;color:var(--accent);font-size:20px}.avatar img,.profile-photo img{width:100%;height:100%;object-fit:cover}.card h2{font-size:20px;margin:0 0 5px;letter-spacing:-.02em}.practice{font-weight:650}.location{font-size:13px;color:var(--muted);margin-top:3px}.card p{font-size:14px;line-height:1.5;color:var(--muted);margin:9px 0 0}.empty{grid-column:1/-1;padding:50px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:18px}.back{display:inline-block;margin-bottom:24px;color:var(--muted);font-weight:700}.profile{display:flex;gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;margin-bottom:16px}.profile-photo{width:112px;height:112px;min-width:112px;border-radius:22px;font-size:30px}.profile h1{font-size:42px;letter-spacing:-.04em;margin:0 0 6px}.profile h3{margin:0 0 7px}.muted{color:var(--muted)}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px}.panel h3{margin-top:0}.panel p{line-height:1.7;color:#39414a}.auth-card,.form-card{max-width:760px;margin:30px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px}.auth-card{max-width:460px}.auth-card h1,.form-card h1{font-size:38px}.stack{display:grid;gap:15px}.stack label,.form-grid label{font-size:13px;font-weight:750;color:#49515b}.stack input,.form-grid input,.form-grid textarea{margin-top:7px}.admin-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.admin-head h1{font-size:42px;margin-bottom:0}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:15px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#fafbfc}.actions{white-space:nowrap;display:flex;gap:12px}.actions a,.link{font-weight:750;color:var(--accent);background:none;padding:0}.link.danger{color:var(--danger)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}.form-grid small{font-weight:500;color:var(--muted)}.flash{padding:12px 15px;border-radius:10px;margin-bottom:18px;background:#eef6f3;color:var(--accent);font-weight:650}.flash.error{background:#fff0ef;color:var(--danger)}footer{text-align:center;padding:28px;color:var(--muted);font-size:12px;border-top:1px solid var(--line);background:#fff}@media(max-width:820px){.hero{align-items:flex-start;flex-direction:column}.count{text-align:left}.search-panel{grid-template-columns:1fr}.cards,.detail-grid{grid-template-columns:1fr}.profile{align-items:flex-start}.topbar nav{gap:12px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.admin-head{align-items:flex-start;flex-direction:column;gap:15px}}@media(max-width:560px){.container{padding:28px 16px 60px}.cards{grid-template-columns:1fr}.card{padding:16px}.profile{flex-direction:column}.profile h1{font-size:32px}.topbar{padding:0 16px}.brand{font-size:14px}.topbar nav{font-size:12px}}
.primary-badge,.main-label{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.02em;background:#eef3ff;border:1px solid #d8e2ff;border-radius:999px;padding:.2rem .5rem;color:#2d4f8f}.main-label{margin-left:.35rem}.extra-locations{font-size:.82rem;color:#5e6a78;margin-top:.3rem}.locations-section{margin-top:2rem}.location-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.location-card{border:1px solid #e4e8ee;border-radius:16px;padding:1rem;background:#fff}.location-card h3{margin-top:0}.section-title{border-top:1px solid #e5e8ec;padding-top:1.2rem;margin-top:.5rem}.section-title h2{margin:0 0 .25rem}.section-title p{margin:0;color:#667085}.additional-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.location-editor{border:1px solid #dde3ea;border-radius:16px;padding:1rem;margin-bottom:1rem;background:#fafbfc}.location-editor-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mini-grid .wide{grid-column:1/-1}@media(max-width:720px){.additional-head{align-items:flex-start;flex-direction:column}.mini-grid{grid-template-columns:1fr}.mini-grid .wide{grid-column:auto}}

/* v1.3 — prominent multi-location admin editor */
.locations-admin-panel{border:2px solid #d6dbe3;border-radius:16px;padding:20px;margin:10px 0 18px;background:#fbfcfe}
.locations-admin-panel .additional-head{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:16px}
.add-location-button{white-space:nowrap;font-weight:700}
.bottom-add-location{margin-top:14px}
.location-editor{border:1px solid #dfe3e8;border-radius:14px;padding:16px;margin-top:12px;background:white}
.location-editor-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mini-grid .wide{grid-column:1/-1}
.version-tag{opacity:.65;margin-left:8px;font-size:.85em}
@media (max-width:700px){.locations-admin-panel .additional-head{align-items:stretch;flex-direction:column}.mini-grid{grid-template-columns:1fr}.mini-grid .wide{grid-column:auto}.add-location-button{width:100%}}
.admin-notice{padding:14px 16px;border:1px solid #cfd8e3;border-radius:12px;background:#f7fafc;margin:4px 0 8px}
.practice-manager{margin-top:22px;border:3px solid #202938}
.practice-manager .add-practice-box{margin-top:24px;padding:20px;border:2px dashed #8794a6;border-radius:16px;background:#f8fafc}
.practice-manager .add-practice-box h2{margin-top:0}
.server-location{margin:14px 0 20px}
.existing-locations{margin-top:20px}

/* v1.7 — state filter is separate from search and stays in the sticky header */
.header-actions{display:flex;align-items:center;gap:22px}
.header-state-filter{display:flex;align-items:center;gap:8px;margin:0}
.header-state-filter label{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.header-state-filter select{width:auto;min-width:130px;padding:9px 34px 9px 11px;border-radius:10px;background:#fff;font-weight:700}
@media(max-width:820px){.header-actions{gap:12px}.header-state-filter label{display:none}.header-state-filter select{min-width:105px}}
@media(max-width:560px){.topbar{height:auto;min-height:70px;padding-top:10px;padding-bottom:10px}.header-actions{gap:8px}.header-state-filter select{min-width:92px;padding:8px 28px 8px 9px}.topbar nav{display:none}}
/* v1.9 enhanced / verified profiles */
.verified-badge,.referral-badge,.controlled-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;margin:0 6px 6px 0}.verified-badge{background:#edf8f2;color:#176b48;border:1px solid #cdebdc}.referral-badge{background:#eef4ff;color:#315aa8;border:1px solid #d7e3ff}.controlled-badge{background:#f4f1ff;color:#6045a8;border:1px solid #e3dcff}.profile-badges,.card-badges{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:7px}.enhanced-card{border-width:2px}.enhanced-profile{border-width:2px}.qualifications-panel h3{font-size:18px}.premium-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}.wide-panel{grid-column:1/-1}.profile-actions{display:flex;gap:12px;margin:16px 0}.booking-button{font-size:15px}.text-button{display:inline-flex;margin-top:6px;font-weight:800;color:var(--accent)}.preline{white-space:pre-line;line-height:1.7}.premium-admin{border:2px solid #dce5df;border-radius:16px;background:#fafdfb;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.premium-admin h2,.analytics-admin h3{grid-column:1/-1;margin:0 0 4px}.check-label{display:flex!important;align-items:center;gap:9px}.check-label input{width:auto;margin:0!important}.analytics-admin{grid-column:1/-1;border-top:1px solid var(--line);padding-top:15px}.analytics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 24px}.analytics-grid>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.analytics-grid strong{display:block;font-size:30px;letter-spacing:-.03em}.analytics-grid span{display:block;color:var(--muted);font-size:12px;margin-top:4px}@media(max-width:820px){.premium-grid,.premium-admin,.analytics-grid{grid-template-columns:1fr}.wide-panel,.premium-admin h2,.analytics-admin h3{grid-column:auto}}
.clinical-gallery{margin-top:28px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.gallery-item{margin:0;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.gallery-item figcaption{padding:10px 12px;font-size:.9rem}.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin:18px 0}.gallery-admin-item{display:flex;gap:12px;border:1px solid #e5e7eb;border-radius:12px;padding:10px}.gallery-admin-item img{width:96px;height:80px;object-fit:cover;border-radius:8px}.gallery-admin-item p{margin:4px 0}.compliance-box{border:1px solid #d8dee8;border-radius:12px;padding:14px;background:#fafbfc;align-items:flex-start!important}.compliance-box input{margin-top:4px}.compliance-box span{line-height:1.45}

/* v2.1 — persistent role header, doctor profile photo, full-size gallery */
.session-role{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:var(--accent2);color:var(--accent);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.logout-link{font-weight:800;color:var(--danger)!important}
.gallery-full-link{display:block;cursor:zoom-in}
.gallery-full-link img{transition:transform .18s ease,opacity .18s ease}
.gallery-full-link:hover img{transform:scale(1.015);opacity:.96}
.view-full{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:650}
.profile-photo-editor{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center;margin-top:18px}
.doctor-profile-photo-preview,.doctor-profile-photo-placeholder{width:180px;height:180px;border-radius:20px;border:1px solid var(--line);object-fit:cover;background:var(--accent2)}
.doctor-profile-photo-placeholder{display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:var(--muted);font-weight:700}
.profile-photo-form{margin:0}
.gallery-admin-item>a{display:block;flex:0 0 auto;cursor:zoom-in}
@media(max-width:820px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;gap:10px;padding-top:9px;padding-bottom:9px}.header-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.topbar nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end}.profile-photo-editor{grid-template-columns:140px 1fr}.doctor-profile-photo-preview,.doctor-profile-photo-placeholder{width:140px;height:140px}}
@media(max-width:560px){.topbar nav{display:flex!important;gap:8px;font-size:11px;width:100%;justify-content:flex-end}.header-actions{width:100%;justify-content:space-between}.header-state-filter{flex:0 0 auto}.session-role{font-size:9px}.profile-photo-editor{grid-template-columns:1fr}.doctor-profile-photo-preview,.doctor-profile-photo-placeholder{width:150px;height:150px}.logout-link{padding:6px 8px;border:1px solid #f1c9c5;border-radius:8px}}


/* v2.3 — clickable photos, side-by-side practices, inline referrals */
.card-body{flex:1;min-width:0}.card-profile-link{display:block}.avatar-photo,.profile-photo-link{cursor:zoom-in}.avatar-photo img,.profile-photo-link img{transition:transform .18s ease,opacity .18s ease}.avatar-photo:hover img,.profile-photo-link:hover img{transform:scale(1.025);opacity:.96}.profile-photo-link{display:flex}.practice-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px}.practice-name{font-size:1.03rem;margin-bottom:8px}.additional-practices-panel .location-list{grid-template-columns:1fr}.compact-location-list{gap:10px}.compact-location-list .location-card{padding:14px;background:#fafbfc}.compact-location-list .location-card h3{font-size:1rem;margin-bottom:6px}.compact-location-list .location-card p{margin:5px 0}.empty-location{color:var(--muted)}.referral-inline .preline{white-space:pre-line}
@media(max-width:820px){.practice-contact-grid{grid-template-columns:1fr}}

/* v2.4 — practice copy controls and admin statistics */
.practice-contact-card .main-location-card{background:#fafbfc;border:1px solid #e4e8ee;border-radius:16px;padding:14px}
.copy-details-button{margin-top:12px;border:1px solid #d7dde5;background:#fff;color:var(--ink);border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}
.copy-details-button:hover{background:#f1f4f7}.copy-details-button.copied{background:#edf8f2;border-color:#cdebdc;color:#176b48}
.location-card .copy-details-button{display:inline-flex}
.admin-profile-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.actions form{margin:0}

/* v2.5 — interactive List / Map directory view */
.directory-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:-4px 0 12px}
.view-toggle{display:inline-flex;background:#eef1f5;border:1px solid var(--line);border-radius:12px;padding:3px;gap:2px}
.view-toggle a{padding:8px 14px;border-radius:9px;text-decoration:none;color:var(--muted);font-weight:800;font-size:13px}
.view-toggle a.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.map-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;align-items:start}
.directory-map{height:68vh;min-height:520px;border:1px solid var(--line);border-radius:20px;overflow:hidden;position:sticky;top:92px;background:#eef2f5}
.map-side-list{display:grid;grid-template-columns:1fr;gap:12px;max-height:68vh;min-height:520px;overflow:auto;padding-right:4px}
.map-side-list .card{margin:0}
.map-popup{min-width:220px;max-width:280px}.map-popup-photo{width:52px;height:52px;object-fit:cover;border-radius:12px;float:left;margin:0 10px 8px 0}
.map-popup strong{display:block;font-size:14px;margin:3px 0}.map-popup span,.map-popup small{display:block;margin:3px 0;color:#667085}.map-popup a{display:inline-block;margin-top:7px;font-weight:800;color:var(--accent)}
.map-popup .verified-badge{font-size:10px;padding:3px 6px;margin-bottom:4px}
.leaflet-popup-content-wrapper{border-radius:14px}.leaflet-control-zoom a{color:#111!important}
@media(max-width:900px){.map-layout{grid-template-columns:1fr}.directory-map{height:58vh;min-height:420px;position:relative;top:auto}.map-side-list{max-height:none;min-height:0;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
@media(max-width:560px){.directory-toolbar{justify-content:stretch}.view-toggle{width:100%}.view-toggle a{flex:1;text-align:center}.directory-map{height:52vh;min-height:360px;border-radius:14px}}

/* v2.6 — Leaflet rendering hardening */
#directory-map.leaflet-container{width:100%;isolation:isolate;background:#dfe5e8}
#directory-map .leaflet-map-pane,#directory-map .leaflet-tile-pane,#directory-map .leaflet-overlay-pane,#directory-map .leaflet-marker-pane,#directory-map .leaflet-tooltip-pane,#directory-map .leaflet-popup-pane{max-width:none!important;max-height:none!important}
#directory-map .leaflet-tile{max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important}
#directory-map img.leaflet-tile{box-shadow:none!important}

/* v2.7 — GP Scope branding, logo header, multi-practice map polish */
:root{
  --bg:#f5f8fa;
  --card:#ffffff;
  --text:#073a55;
  --ink:#073a55;
  --muted:#596b79;
  --line:#dce5ea;
  --accent:#073f5b;
  --accent-dark:#003550;
  --accent2:#e8f7f4;
  --teal:#25a996;
  --teal-dark:#178f82;
  --danger:#b42318;
}
body{background:var(--bg);color:var(--text)}
.topbar{min-height:84px;height:84px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 18px rgba(7,63,91,.05)}
.brand-logo{display:flex;align-items:center;flex:0 1 310px;min-width:180px;max-width:310px;height:64px}
.brand-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:58px;object-fit:contain;object-position:left center}
button,.button{background:linear-gradient(135deg,var(--accent),#075270)}
button:hover,.button:hover{background:var(--accent-dark)}
.eyebrow,.actions a,.link,.text-button,.map-popup a{color:var(--teal-dark)}
.card:hover{border-color:#9bd8cf;box-shadow:0 14px 32px rgba(7,63,91,.10)}
.avatar,.profile-photo{background:var(--accent2);color:var(--accent)}
.verified-badge{background:#e9f8f4;color:#08766a;border-color:#bfe9df}
.referral-badge{background:#edf6fb;color:#075270;border-color:#cee5f0}
.controlled-badge{background:#f0f5f8;color:#4f6572;border-color:#dce7ed}
.header-state-filter select{border-color:#cddde5;color:var(--accent);background:#fff}
.session-role{background:var(--accent2);color:var(--teal-dark)}
.view-toggle{background:#eaf1f4}.view-toggle a.active{color:var(--accent)}
.practice-contact-card .main-location-card,.compact-location-list .location-card{background:#f2f5f7;border-color:#d9e2e7}
.copy-details-button{border-color:#bfd2dc;color:var(--accent)}
.copy-details-button:hover{background:#eaf5f3;border-color:#9fd8cf}
.copy-details-button.copied{background:#e7f8f4;border-color:#9fd8cf;color:#08766a}
.directory-map{border-color:#cddde5;background:#e6edf0}
.map-location-type{display:inline-block!important;width:max-content;margin:0 0 4px!important;padding:3px 7px;border-radius:999px;background:#e8f7f4;color:#08766a!important;font-size:10px!important;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.leaflet-marker-icon{filter:hue-rotate(130deg) saturate(.85)}
@media(max-width:820px){
  .topbar{min-height:82px;height:auto}
  .brand-logo{flex-basis:230px;max-width:230px;height:58px}
  .brand-logo img{max-height:52px}
}
@media(max-width:560px){
  .topbar{padding-top:8px;padding-bottom:8px}
  .brand-logo{flex-basis:185px;max-width:185px;min-width:150px;height:50px}
  .brand-logo img{max-height:46px}
}

/* v2.8 — content pages and Verified GP application */
.content-page{max-width:900px;margin:34px auto 70px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(24px,5vw,54px);box-shadow:0 14px 38px rgba(7,63,91,.06)}
.content-page h1{font-size:clamp(34px,5vw,54px);line-height:1.05;letter-spacing:-.04em;margin:10px 0 24px;color:var(--accent)}
.content-page h2{font-size:clamp(24px,3vw,32px);margin:38px 0 12px;color:var(--accent)}
.content-page h3{font-size:21px;margin:28px 0 10px;color:var(--accent)}
.content-page p,.content-page li{font-size:16px;line-height:1.72;color:#3f5664}
.content-page strong{color:var(--ink)}
.feature-list{padding-left:22px;margin:12px 0 26px}.feature-list li{margin:10px 0;padding-left:4px}
.verified-cta{display:inline-flex;text-decoration:none;margin-top:4px}.closing-line{font-size:20px!important;margin-top:30px!important;color:var(--accent)!important}
.verified-apply{display:grid;grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr);gap:28px;align-items:start;margin:36px 0 70px}
.apply-intro{position:sticky;top:110px;padding:28px 10px 28px 0}.apply-intro h1{font-size:clamp(38px,5vw,58px);line-height:1.02;letter-spacing:-.045em;color:var(--accent);margin:10px 0 18px}.apply-intro p{font-size:17px;line-height:1.65;color:var(--muted)}
.verified-form-card{margin:0}.verified-form-card select{width:100%}
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.submission-success{max-width:660px;margin:70px auto;text-align:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:54px 42px;box-shadow:0 14px 38px rgba(7,63,91,.07)}
.submission-success h1{color:var(--accent);font-size:38px;letter-spacing:-.035em;margin:10px 0 14px}.submission-success p{font-size:17px;line-height:1.65;color:var(--muted);margin-bottom:26px}.success-mark{width:62px;height:62px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--accent2);color:var(--teal-dark);font-size:30px;font-weight:900}
@media(max-width:850px){.verified-apply{grid-template-columns:1fr}.apply-intro{position:static;padding:8px 0}.content-page{margin-top:20px}}
@media(max-width:560px){.content-page{padding:24px 20px;border-radius:18px}.submission-success{padding:38px 22px;margin:34px auto}.submission-success h1{font-size:31px}}
.about-lead-heading{margin-top:20px!important}

/* v3.0 — admin-only spreadsheet-style practitioner data sheet */
.datasheet-page{max-width:none}.datasheet-head{align-items:flex-start}.datasheet-head p{max-width:760px;color:var(--muted);line-height:1.55}
.sheet-utilities{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;margin:18px 0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px}
.sheet-search{display:flex;flex-direction:column;gap:6px;min-width:min(520px,100%);font-size:12px;font-weight:800;color:var(--muted)}
.sheet-search input,.sheet-import input[type=file]{background:#fff;border:1px solid #cfdbe2;border-radius:10px;padding:10px 12px;color:var(--text)}
.sheet-import{display:flex;align-items:flex-end;gap:8px}.sheet-import label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:var(--muted)}
.datasheet-wrap{overflow:auto;max-height:68vh;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(7,63,91,.04)}
.datasheet-table{border-collapse:separate;border-spacing:0;min-width:3250px;width:max-content;font-size:12px;background:#fff}
.datasheet-table th{position:sticky;top:0;z-index:3;background:#edf4f6;color:var(--accent);font-weight:900;text-align:left;padding:9px 7px;border-right:1px solid #dce5ea;border-bottom:1px solid #ccdbe2;white-space:nowrap}
.datasheet-table td{padding:5px;border-right:1px solid #e5ebef;border-bottom:1px solid #e5ebef;vertical-align:top;background:#fff}
.datasheet-table tbody tr:nth-child(even) td{background:#fbfcfd}.datasheet-table tbody tr:hover td{background:#f3faf8}
.datasheet-table .sticky-name{position:sticky;left:44px;z-index:2;min-width:220px;max-width:220px;background:inherit;box-shadow:5px 0 8px rgba(7,63,91,.04)}
.datasheet-table th.sticky-name{z-index:5;background:#edf4f6}.datasheet-table .sheet-id{position:sticky;left:0;z-index:2;width:44px;min-width:44px;text-align:center;font-weight:800;color:var(--muted);background:inherit}
.sheet-input{width:150px;min-width:150px;border:1px solid transparent;border-radius:7px;padding:7px 8px;background:transparent;color:var(--text);font:inherit;line-height:1.3}
.sheet-input:hover{border-color:#cfdae0;background:#fff}.sheet-input:focus{outline:2px solid #96d8cd;outline-offset:0;border-color:#69bfb2;background:#fff}
.sheet-input.name-cell{width:205px;min-width:205px;font-weight:800}.sheet-area{resize:vertical;width:260px;min-width:260px;min-height:48px}.wide-cell{min-width:270px}.check-cell{text-align:center;min-width:95px}.check-cell input{width:18px;height:18px;margin-top:7px;accent-color:var(--teal-dark)}
.sheet-actions{min-width:150px}.sheet-tools{display:flex;flex-direction:column;gap:6px}.sheet-tools a{font-weight:800;color:var(--teal-dark);white-space:nowrap}.sheet-tools a:hover{text-decoration:underline}
.datasheet-savebar{position:sticky;bottom:12px;z-index:6;margin:14px 0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px;background:rgba(255,255,255,.97);border:1px solid #bfd4dc;border-radius:15px;padding:12px 14px;box-shadow:0 10px 30px rgba(7,63,91,.12)}
.datasheet-savebar span{color:var(--muted);font-size:13px}.sheet-notice{padding:12px 15px;border-radius:12px;margin:12px 0;font-weight:800}.sheet-notice.success{background:#e8f8f3;color:#08766a;border:1px solid #b8e5d9}.sheet-notice.error{background:#fff0ef;color:#9c251c;border:1px solid #efc3bf}
@media(max-width:800px){.sheet-utilities{align-items:stretch;flex-direction:column}.sheet-search{min-width:0}.sheet-import{align-items:stretch;flex-direction:column}.datasheet-savebar{align-items:stretch;flex-direction:column}.datasheet-savebar button{width:100%}}

/* v3.1 admin deletion controls */
.danger-button,.sheet-delete{background:#b42318;color:#fff;border:1px solid #b42318;border-radius:10px;padding:.7rem 1rem;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap}
.danger-button:hover,.sheet-delete:hover{background:#912018;border-color:#912018}
.sheet-delete{padding:.42rem .65rem;font-size:.88rem;width:auto}
.danger-zone{border:1px solid #f1b6b1;background:#fff8f7;margin-top:1.25rem}
.danger-zone h2{margin:.25rem 0 .35rem;color:#8f1d16}
.admin-profile-actions form{margin:0}

/* v3.1.1 directory table + sorting */
.directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.sort-control label{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--muted)}.sort-control select{padding:9px 34px 9px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text)}.public-directory-table table{min-width:900px}.public-directory-table td{vertical-align:top}.public-directory-table td:nth-child(4),.public-directory-table td:nth-child(5){max-width:340px}.datasheet-table th small{display:block;font-weight:500;white-space:nowrap;color:var(--muted)}


/* v3.1.3 — public Verified filter and stronger Verified profile treatment */
.search-panel{grid-template-columns:minmax(240px,2.2fr) minmax(120px,1fr) minmax(180px,1.2fr) auto auto auto;align-items:center}
.verified-filter-toggle{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #bfe1db;border-radius:11px;background:#f2fbf8;color:#08766a;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}
.verified-filter-toggle input{width:auto;margin:0;accent-color:var(--teal-dark)}
.verified-checkmark{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--teal);color:#fff;font-size:12px;font-weight:900}
.verified-card{position:relative;border:2px solid #87d6c9;background:linear-gradient(135deg,#ffffff 0%,#f1fbf8 100%);box-shadow:0 8px 24px rgba(37,169,150,.10)}
.verified-card:hover{border-color:#25a996;box-shadow:0 16px 34px rgba(37,169,150,.18)}
.verified-card .avatar{background:#daf5ef;border:1px solid #b8e8dd}
.verified-card .card-body h2{color:#075270}
.verified-card .verified-badge{background:#0f8f80;color:#fff;border-color:#0f8f80;box-shadow:0 2px 8px rgba(15,143,128,.18)}
.public-directory-table .verified-table-row{background:linear-gradient(90deg,#effaf7 0%,#ffffff 70%)}
.public-directory-table .verified-table-row td:first-child{border-left:4px solid var(--teal)}
.table-verified-badge{display:table;margin-top:7px;background:#0f8f80;color:#fff;border-color:#0f8f80}
@media(max-width:980px){.search-panel{grid-template-columns:1fr 1fr}.search-panel input[type=search]{grid-column:1/-1}.verified-filter-toggle{justify-content:center}.search-panel .secondary{min-height:44px}}
@media(max-width:620px){.search-panel{grid-template-columns:1fr}.search-panel input[type=search]{grid-column:auto}.verified-filter-toggle{justify-content:flex-start}}

/* v3.1.4 — instant directory filtering */
.instant-search-panel{grid-template-columns:minmax(240px,2.2fr) minmax(120px,1fr) minmax(180px,1.2fr) auto auto;align-items:center}
.instant-search-panel input,.instant-search-panel select{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.instant-search-panel input:focus,.instant-search-panel select:focus{border-color:#74c8bb;box-shadow:0 0 0 3px rgba(37,169,150,.10)}
.clear-search-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
@media(max-width:980px){.instant-search-panel{grid-template-columns:1fr 1fr}.instant-search-panel input[type=search]{grid-column:1/-1}.instant-search-panel .clear-search-button{min-height:44px}}
@media(max-width:620px){.instant-search-panel{grid-template-columns:1fr}.instant-search-panel input[type=search]{grid-column:auto}}

/* v3.1.6 — minimalist category icon chips */
.category-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 2px}
.category-chips.compact{gap:5px;margin:9px 0 0}
.category-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px;border:1px solid #cfe1e6;border-radius:999px;background:#f7fafb;color:#174b60;font-size:11px;font-weight:750;line-height:1.15;white-space:nowrap}
.category-chip .category-icon{width:15px;height:15px;min-width:15px;color:#159586}
.category-chips.compact .category-chip{padding:4px 7px;font-size:10.5px}
.category-chips.compact .category-icon{width:14px;height:14px;min-width:14px}
.verified-card .category-chip{background:#eaf8f5;border-color:#b9e2d9;color:#075270}
.verified-card .category-chip .category-icon{color:#087f73}
.special-interests-panel .category-chips{margin:0 0 13px}
.public-directory-table .category-chips{margin:0 0 7px;min-width:210px}
.public-directory-table .category-chip{white-space:normal}
.table-interest-text{color:var(--muted);line-height:1.45}
@media(max-width:620px){.category-chip{white-space:normal}.category-chips{gap:6px}}

/* v3.1.8 — site-wide trust/navigation footer */
.site-footer{margin-top:54px;background:#062f46;color:#dcebf0;border-top:4px solid var(--teal);font-size:14px}
.footer-cta{max-width:1240px;margin:0 auto;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-cta strong{display:block;color:#fff;font-size:18px;margin-bottom:5px}.footer-cta span{color:#bdd1d9}.footer-cta-actions{display:flex;gap:10px;flex-wrap:wrap}.footer-cta .button{background:var(--teal);border-color:var(--teal)}.footer-cta .secondary{background:transparent;color:#fff;border-color:#6f929f}
.footer-main{max-width:1240px;margin:0 auto;padding:36px 28px 30px;display:grid;grid-template-columns:1.45fr repeat(4,1fr);gap:32px}.footer-brand img{width:210px;max-width:100%;height:auto;filter:brightness(0) invert(1);opacity:.96}.footer-brand p{max-width:310px;color:#bcd0d8;line-height:1.6;margin-top:14px}.footer-column h3{color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:4px 0 14px}.footer-column a{display:block;color:#c8dce3;text-decoration:none;margin:0 0 10px;line-height:1.35}.footer-column a:hover,.footer-bottom a:hover{color:#fff;text-decoration:underline}
.footer-disclaimer{max-width:1240px;margin:0 auto;padding:20px 28px;border-top:1px solid rgba(255,255,255,.1);color:#afc6cf;font-size:12px;line-height:1.55}.footer-disclaimer p{margin:0 0 7px;max-width:1120px}.footer-bottom{max-width:1240px;margin:0 auto;padding:16px 28px 22px;border-top:1px solid rgba(255,255,255,.1);display:flex;gap:20px;justify-content:space-between;align-items:center;color:#9fb8c2;font-size:12px}.footer-bottom a{color:#c8dce3;text-decoration:none}.site-footer .version-tag{opacity:.55}.legal-page{max-width:900px}.legal-page h1{margin-bottom:20px}.legal-page h2{margin-top:28px}.legal-page p{line-height:1.72}
@media(max-width:980px){.footer-main{grid-template-columns:1.5fr 1fr 1fr}.footer-brand{grid-row:span 2}.footer-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){.footer-main{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-brand{grid-column:1/-1;grid-row:auto}.footer-cta,.footer-main,.footer-disclaimer,.footer-bottom{padding-left:20px;padding-right:20px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}.footer-cta-actions{width:100%}.footer-cta-actions a{flex:1;text-align:center;justify-content:center}}

/* v3.1.9 result batching */
.result-hidden{display:none!important}
.show-more-wrap{display:flex;align-items:center;justify-content:center;gap:14px;margin:24px 0 8px}
.show-more-button{min-width:132px;cursor:pointer}
.show-more-count{font-size:12px;color:var(--muted)}
.map-side-list .show-more-wrap{margin:16px 8px 8px;flex-wrap:wrap}

/* v3.1.9 simplified footer */
.footer-main{grid-template-columns:1.45fr repeat(3,1fr)}
@media(max-width:980px){.footer-main{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:680px){.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}

/* v3.1.10: prominent progressive-results control */
.show-more-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:34px auto 14px;padding:8px 0;width:100%}
.show-more-button{min-width:260px;min-height:54px;padding:14px 28px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--accent),var(--accent-dark))!important;color:#fff!important;border:1px solid var(--accent-dark)!important;font-size:16px!important;font-weight:800!important;letter-spacing:.01em;box-shadow:0 8px 22px rgba(7,63,91,.18)!important;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.show-more-button:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(7,63,91,.24)!important;filter:brightness(1.05)}
.show-more-button:focus-visible{outline:3px solid rgba(37,169,150,.34);outline-offset:3px}
.show-more-count{font-size:13px;color:var(--muted);font-weight:600}
.map-side-list .show-more-wrap{margin:22px 8px 10px}
.map-side-list .show-more-button{min-width:210px;width:calc(100% - 16px);max-width:320px}
@media(max-width:640px){.show-more-button{width:100%;min-width:0;max-width:360px;min-height:52px}.show-more-wrap{margin-top:26px}}

/* v3.1.11 — supplied GP Scope Verified seal */
.verified-seal{display:block;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(7,63,91,.10))}
.profile-verified-seal{width:112px;max-width:28vw;margin-top:10px}
.verified-apply .apply-intro{position:relative}
.verified-apply-seal{width:170px;max-width:42vw;margin:0 0 18px auto}
@media (max-width:700px){.verified-apply-seal{width:135px;margin:0 0 16px 0}.profile-verified-seal{width:92px}}

/* v3.1.11 map side-panel width fix — keep all GP cards inside the right column */
.map-layout{min-width:0}
.map-side-list{
  min-width:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overflow-y:auto;
}
.map-side-list .card{
  min-width:0;
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.map-side-list .card > *{min-width:0;max-width:100%}
.map-side-list .card-body{
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.map-side-list .card h2,
.map-side-list .practice,
.map-side-list .location,
.map-side-list .extra-locations,
.map-side-list .card p{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}
.map-side-list .category-chips{max-width:100%;min-width:0;flex-wrap:wrap}
.map-side-list .category-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.map-side-list .card-badges{max-width:100%;min-width:0;flex-wrap:wrap}
.map-side-list .show-more-wrap{max-width:100%;min-width:0;overflow:hidden}
.map-side-list .show-more-button{max-width:calc(100% - 16px);min-width:0}

/* Directory introduction integrated into site header */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.site-header .topbar{border-bottom:1px solid var(--line)}
.directory-header{background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%)}
.directory-header-inner{max-width:1180px;margin:0 auto;padding:30px 24px 32px;display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.directory-header h1{font-size:clamp(32px,4.5vw,52px);line-height:1.02;letter-spacing:-.045em;margin:7px 0 10px;color:var(--ink,var(--text))}
.directory-header p{font-size:17px;line-height:1.55;color:var(--muted);max-width:760px;margin:0}
.directory-header .count{flex:0 0 auto}
@media(max-width:820px){.directory-header-inner{align-items:flex-start;flex-direction:column;padding-top:24px;padding-bottom:26px}.directory-header .count{text-align:left}}
@media(max-width:560px){.directory-header-inner{padding:20px 16px 22px}.directory-header h1{font-size:32px}.directory-header p{font-size:15px}}

/* Exact map: full-width and no side list */
.map-only-layout{display:block!important;width:100%;min-width:0}
.map-only-layout .directory-map{width:100%;max-width:none;height:72vh;min-height:560px;position:relative;top:auto}
@media(max-width:900px){.map-only-layout .directory-map{height:64vh;min-height:460px}}
@media(max-width:560px){.map-only-layout .directory-map{height:58vh;min-height:400px}}

/* Exact-map progressive geocoding status */
#directory-map{position:relative}
.map-geocode-status{position:absolute;z-index:800;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(7,63,91,.94);color:#fff;padding:9px 14px;border-radius:999px;font-size:13px;font-weight:700;box-shadow:0 4px 18px rgba(0,0,0,.18);pointer-events:none;white-space:nowrap;max-width:calc(100% - 30px);overflow:hidden;text-overflow:ellipsis}

/* v3.1.15 practitioner profile location map */
.profile-map-section{margin-top:18px;overflow:hidden}
.profile-map-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.profile-map-heading h2{margin:0 0 4px}
.profile-location-map{width:100%;height:380px;min-height:320px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#dfe5e8}
.profile-location-map.leaflet-container{isolation:isolate}
.profile-location-map .leaflet-tile{max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important}
.profile-map-note{margin:10px 2px 0;font-size:13px}
@media(max-width:700px){.profile-location-map{height:320px;min-height:280px;border-radius:14px}}

/* v3.1.20 */
.verified-apply{display:block!important;max-width:1050px;margin:36px auto 70px!important}
.verified-apply .apply-intro{position:static!important;padding:12px 0 30px!important;max-width:none!important}
.verified-apply .apply-intro p{max-width:1000px}
.verified-apply .verified-benefits{columns:2;column-gap:44px}
.verified-apply .verified-benefits li{break-inside:avoid;margin-bottom:10px}
.verified-apply .verified-form-card{max-width:760px;margin:0 auto}
.profile-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:20px}
.profile-map-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.profile-map-card-head{display:flex;flex-direction:column;gap:4px;padding:16px 18px}
.profile-map-card-head strong{font-size:17px;color:var(--navy)}
.profile-map-card-head small{color:var(--muted);line-height:1.45}
.profile-address-map{display:block;width:100%;height:360px;border:0;background:#eef2f3}
@media(max-width:700px){.verified-apply .verified-benefits{columns:1}.profile-address-map{height:310px}}

.doctor-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#d9f2ed!important;color:#075e58!important;border:1px solid #8ed2c5;font-size:12px!important;text-transform:none!important;letter-spacing:0!important}.doctor-help{max-width:880px;margin:20px auto}.doctor-help textarea{width:100%}

/* Accessibility and certificate printing; existing branding/layout retained. */
.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:#fff;color:#083b4b;padding:12px;border:2px solid currentColor;border-radius:8px}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid #176f87;outline-offset:3px}
.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(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{header,.site-footer,.skip-link,.certificate button{display:none!important}.certificate{border:2px solid #1d5c4f;max-width:none;break-inside:avoid}.certificate .verified-seal{max-width:160px}.container{padding:0}}
/* WCAG contrast corrections within the existing teal palette. */
.verified-card .verified-badge,.table-verified-badge{background:#0b756a;border-color:#0b756a;color:#fff}
.footer-cta .button,.footer-cta .button:hover{background:#13786d;border-color:#13786d;color:#fff}
.eyebrow{color:#0b756a}

/* Suburb estimates are visibly distinct from confirmed street pins. */
.approximate-map-marker{border:2px dashed #0b756a;border-radius:50%;background:#fff;color:#0b756a;text-align:center;font-size:22px;font-weight:700;line-height:24px}
.unmapped-practices{margin-top:18px}

/* Practitioner portal: scoped navigation and private conversation views. */
nav .doctor-name{display:flex;flex-direction:column;align-items:flex-start;background:#e6f4ef;border:2px solid #0b756a;border-radius:12px;padding:10px 16px;color:#084f49;max-width:100%;white-space:normal}
nav .doctor-name strong{font-size:1.12rem;font-weight:800}.session-caption{font-size:.7rem;font-weight:500;letter-spacing:.04em}
.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0}.portal-heading h1{font-size:clamp(1.8rem,4vw,2.7rem);font-weight:800;color:#084f49;margin:6px 0}
.portal-tabs{display:flex;gap:6px;overflow-x:auto;padding:8px 0 14px;border-bottom:1px solid #cbded8;margin-bottom:24px}.portal-tabs a{flex:0 0 auto;padding:11px 16px;border-radius:9px;text-decoration:none;color:#195b51;background:#edf5f2;font-weight:600}.portal-tabs a[aria-current=page]{background:#0b756a;color:#fff}.portal-content .form-card{margin-bottom:24px}.portal-content .form-card h1{font-size:1.5rem}.overall-activity{margin-bottom:24px}.portal-notice{padding:14px;background:#e6f4ef;color:#084f49;border-left:4px solid #0b756a}
.portal-thread{display:flex;justify-content:space-between;gap:16px;padding:18px 4px;border-bottom:1px solid #d6e4df;text-decoration:none;color:#164a42}.portal-thread span,.portal-thread small{display:block;margin-top:5px}.unread-badge{background:#0b756a;color:white;border-radius:12px;padding:3px 9px;font-size:.8rem}.portal-message{border:1px solid #d2e4dd;border-radius:12px;padding:16px;margin:16px 0;overflow-wrap:anywhere}.portal-message.sent{margin-left:5%;background:#eaf6f1}.portal-message.received{margin-right:5%;background:#f7faf9}.portal-message header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.portal-message time{font-size:.8rem;color:#52675f}.portal-message p{white-space:normal}.message-pagination{display:flex;gap:18px;margin:18px 0}.portal-message-form{max-width:850px}.portal-content textarea{resize:vertical}
@media(max-width:700px){.portal-heading{align-items:flex-start;flex-direction:column}.portal-tabs{margin-right:-12px}.portal-thread{flex-direction:column}.portal-message.sent,.portal-message.received{margin-left:0;margin-right:0}nav .doctor-name{width:100%;font-size:1rem}.portal-content .form-card{padding:18px}}

.inbox-filters{display:grid;grid-template-columns:2fr 1.4fr 1fr auto;gap:12px;align-items:end;margin:20px 0}.inbox-filters label{display:flex;flex-direction:column;gap:8px}.inbox-filters>a{align-self:center;text-decoration:underline}.recipient-picker{padding:16px;background:#f4f9f6;border:1px solid #d2e4dd;border-radius:12px}.recipient-picker label{display:block}.recipient-picker select{margin-top:8px;min-height:180px}.recipient-picker input{margin-top:8px}.recipient-picker p{margin:10px 0;font-size:.9rem}
@media(max-width:850px){.inbox-filters{grid-template-columns:1fr 1fr}.inbox-filters label:first-child{grid-column:1/-1}}
@media(max-width:500px){.inbox-filters{grid-template-columns:1fr}.inbox-filters label:first-child{grid-column:auto}}
.topbar .session-role{color:#0b756a}
.locked-feature{border:1px solid #d9dfdf;border-radius:12px;background:#f6f8f7;margin:12px 0;padding:14px}.locked-feature fieldset{border:0;padding:0;margin:0;min-width:0;opacity:.6}.locked-feature .tier-lock-notice{color:#234d45;font-size:.95rem;margin:0 0 12px}.tier-lock-notice a{text-decoration:underline;font-weight:700}.booking-provider-widget{width:100%;height:600px;border:0;margin:16px 0}
.form-grid>.locked-feature{grid-column:1/-1}.locked-feature fieldset .form-card{margin:0}.locked-feature fieldset label{display:block}.locked-feature fieldset label input,.locked-feature fieldset label textarea{margin-top:8px}
