.portal-back,.back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;margin:14px 0;border:1px solid #bdd0ed;border-radius:10px;background:white;color:#074bb6;font:700 14px Arial,sans-serif;text-decoration:none;cursor:pointer}.portal-navigation{display:flex;gap:10px;flex-wrap:wrap}.inline-detail .close::before{content:none!important}.inline-detail .detail-top{padding-top:72px}.workspace>.tools{grid-column:1/-1;grid-row:1;padding:0}.workspace>.category-sidebar,.workspace>.map-first{grid-row:2}.workspace>.results{grid-row:3}.branch-toggle{font-size:14px}header .brand-message span{display:none}
@media(max-width:760px){main{padding:0 10px}.workspace{display:flex;flex-direction:column;gap:14px;margin:16px 0 24px}.workspace>.map-first{order:0;border-radius:14px}.workspace .map-first .map-area{height:clamp(320px,48dvh,460px);min-height:320px}.workspace>.tools{order:1;width:100%;padding:0}.search{flex-wrap:nowrap;gap:6px}.search input{font-size:16px}.search span{padding-left:5px}.search .primary{padding:12px;flex:none}.distance-controls{font-size:12px;gap:8px}.workspace>.category-sidebar{order:2;height:auto!important;max-height:none!important;overflow:visible;width:100%;padding:14px}.category-sidebar h2{font-size:16px;letter-spacing:.5px;margin-bottom:12px}.category-sidebar .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.category-branch{min-width:0}.category-branch>.branch-toggle{height:68px;min-height:68px;padding:10px;font-size:14px;line-height:1.35;display:flex;align-items:center;justify-content:space-between;gap:5px;overflow-wrap:normal}.branch-toggle::after{float:none;flex:none;margin:0}.subcategory-button{font-size:14px;min-height:48px;padding:10px 7px;overflow-wrap:normal}.workspace>.results{order:3;height:auto;max-height:460px}.map-label{font-size:14px;padding:10px;left:10px;top:12px}.map-note{font-size:12px;line-height:1.4}header .brand-message strong{font-size:19px;line-height:1.3}}

@media(min-width:761px){.workspace>.map-first{grid-column:2;grid-row:1}.workspace>.category-sidebar{grid-column:1;grid-row:1 / span 3}.workspace>.tools{grid-column:2;grid-row:2;padding:0}.workspace>.results{grid-column:2;grid-row:3}}

/* Keep the mobile map visible and give Leaflet a stable viewport. */
.workspace .map-first{min-width:0;flex-shrink:0}
.workspace .map-first .map-area{position:relative;width:100%}
#map{position:absolute;inset:0;width:100%;height:100%;min-height:300px}
@media(max-width:760px){.workspace .map-first .map-area{height:360px;min-height:360px;max-height:none}.workspace .map-first{display:block;width:100%;flex:none}.workspace>.tools,.workspace>.category-sidebar{flex:none}}

@media(max-width:760px){header .header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0}header .header-actions .action-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:56px;padding:10px 8px;font-size:14px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere}}

.subcategory-button{display:block;text-decoration:none;box-sizing:border-box}a.card{color:inherit;text-decoration:none}

/* Mobile: map, search, then categories in two columns. */
@media(max-width:760px){.workspace>.map-first{order:0}.workspace>.tools{order:1}.workspace>.category-sidebar{order:2}.workspace>.results{order:3}}

.category-sidebar .category-branch{border:1px solid #074bb6;background:#fff;border-radius:10px;box-shadow:0 3px 8px #074bb615}.category-sidebar .category-branch>.branch-toggle{background:#074bb6;color:#ffe629;border-top:3px solid #ffe629}.category-sidebar .category-branch>.branch-toggle:hover,.category-sidebar .category-branch.is-open>.branch-toggle{background:#05358c;color:#fff16b}.category-sidebar .subcategory-button{background:#fff7bc;color:#073575;border-color:#e8d247}.category-sidebar .subcategory-button:hover,.category-sidebar .subcategory-button:focus-visible{background:#ffe629;color:#073575}.category-sidebar .branch-toggle:focus-visible{outline:3px solid #ffde00;outline-offset:-4px}

/* Refined brand palette with clear text and restrained yellow accents. */
.category-sidebar .category-branch{border-color:#0a4db6;box-shadow:0 2px 6px #07357512}.category-sidebar .category-branch>.branch-toggle{background:linear-gradient(135deg,#0757c8,#073a90);color:#fff;border-top:0;border-bottom:3px solid #f4d82e}.category-sidebar .category-branch>.branch-toggle::after{color:#ffe629}.category-sidebar .category-branch>.branch-toggle:hover,.category-sidebar .category-branch.is-open>.branch-toggle{background:#073575;color:#fff}.category-sidebar .subcategory-button{background:#eef4ff;color:#073575;border-color:#c7d8f3}.category-sidebar .subcategory-button:hover,.category-sidebar .subcategory-button:focus-visible{background:#fff4b0;color:#073575;border-color:#e4c72d}

.region-picker{display:flex;align-items:center;gap:12px;margin:20px 4%;font-size:16px;font-weight:bold;color:#073575}.region-picker select{font:inherit;padding:12px 36px 12px 14px;border:1px solid #b9cfee;border-radius:10px;background:#fff;color:#074bb6}@media(max-width:760px){.region-picker{margin:16px 0;justify-content:space-between}.region-picker select{min-width:155px}}

/* Locally hosted category typography, consistent across all regions. */
@font-face{font-family:PortalMontserrat;src:url('/fonts/montserrat-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
.category-sidebar h2,.category-sidebar .branch-toggle,.category-sidebar .subcategory-button{font-family:PortalMontserrat,Arial,sans-serif;font-weight:700;text-transform:none}
.category-sidebar h2{font-size:1.125rem;letter-spacing:.055em;color:#073575;line-height:1.4}
.category-sidebar .category-branch>.branch-toggle{font-size:.875rem;letter-spacing:.005em;line-height:1.4}
.category-sidebar .subcategory-button{font-size:.875rem;letter-spacing:0;line-height:1.5}
@media(max-width:760px){.category-sidebar h2{font-size:1.0625rem}.category-sidebar .category-branch>.branch-toggle{font-size:.8125rem;padding:10px 8px;min-height:76px;height:76px}.category-sidebar .subcategory-button{font-size:.875rem}}

@font-face{font-family:PortalMontserrat;src:url('/fonts/montserrat-semibold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}.category-sidebar .subcategory-button{font-weight:600}
