/* Three navigation categories; coffee remains a separate place type in walks. */
body.map-page .workspace .categories,
body.map-page .workspace:not(.list-view) .categories{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
}
.walk-coffee-layer{
 display:flex;align-items:center;gap:12px;flex:0 0 auto;
 width:284px;max-width:100%;min-height:56px;margin:0;
 padding:10px 14px;border:1px solid var(--line);border-radius:20px;
 background:var(--white);color:var(--ink);text-align:left;
 box-shadow:0 3px 12px #25363018;pointer-events:auto;
 -webkit-tap-highlight-color:transparent;
}
.walk-coffee-layer[hidden]{display:none}
.walk-coffee-layer>.i{width:28px;height:28px;flex:none;color:#6e472c}
.walk-coffee-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}
.walk-coffee-title{font-size:15px;line-height:20px;font-weight:700}
.walk-coffee-helper{font-size:12px;line-height:17px;font-weight:400;color:var(--muted)}
.walk-coffee-switch{display:block;position:relative;flex:none;width:44px;height:26px;border:1px solid #8b9290;border-radius:20px;background:#e3e7df;transition:background .16s,border-color .16s}
.walk-coffee-switch>span{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #25363025;transition:transform .16s}
.walk-coffee-layer[aria-checked=true] .walk-coffee-switch{background:var(--terra);border-color:var(--terra)}
.walk-coffee-layer[aria-checked=true] .walk-coffee-switch>span{transform:translateX(18px)}
.walk-coffee-layer:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
body.map-page .workspace .map-top-row{flex-wrap:wrap;align-items:center}
body.map-page .map-top-row>.walk-coffee-layer{order:0}
body.map-page .map-top-row>.map-list-toggle{order:1}
body.map-page .map-top-row>.place-filters{order:2}
@media(min-width:761px){
 body.map-page .workspace .categories{width:100%;max-width:960px;grid-auto-rows:68px}
 body.map-page .workspace:not(.list-view) .toolbar{top:20px;left:60px;right:24px;height:auto;padding:0}
 body.map-page .workspace:not(.list-view) .map-overlay-top{top:104px;left:60px;right:24px}
 body.map-page .workspace:not(.list-view):has(.toolbar[hidden]) .map-overlay-top{top:20px}
 @container map-tools (max-width:680px){
  body.map-page .workspace .categories,body.map-page .workspace:not(.list-view) .categories{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:78px;gap:8px}
  body.map-page .workspace .categories .cat,body.map-page .workspace:not(.list-view) .categories .cat{flex-direction:column;justify-content:center;min-height:78px;padding:6px;gap:3px;font-size:12px;line-height:16px;text-align:center}
  body.map-page .workspace .categories .category-image{width:28px;height:28px}
  body.map-page .workspace:not(.list-view) .map-overlay-top{top:114px}
  body.map-page .map-top-row>.walk-coffee-layer{width:100%}
  body.map-page .workspace.walks-map .map-top-row>.map-list-toggle{width:auto;margin-left:auto}
  body.map-page .workspace.walks-map .map-top-row>.place-filters{width:auto;flex:0 0 auto}
  body.map-page .workspace.walks-map .map-add-place-btn{display:none}
  body.map-page .workspace.walks-map .map-bottom-row .mobile-add,
  body.map-page .workspace.walks-map:has(.selected-place:not([hidden])) .map-bottom-row .mobile-add{display:inline-flex;min-height:44px;padding:10px 13px;font-size:12px;gap:6px;box-shadow:0 2px 12px #35422c30}
  body.map-page .workspace.walks-map .map-bottom-row .mobile-add>.i{width:19px;height:19px}
  body.map-page .workspace.walks-map .map-bottom-row .map-legend{min-width:0;font-size:10px;padding:8px}
  body.map-page .workspace.walks-map .map-bottom-row .map-status-legend{gap:5px 8px}
 }
 @container map-tools (max-width:520px){
  body.map-page .workspace.walks-map .map-list-toggle{font-size:12px;padding:10px 12px;min-height:48px}
  body.map-page .workspace.walks-map .map-list-toggle .list-long{display:none}
  body.map-page .workspace.walks-map .map-list-toggle .list-short{display:inline}
  body.map-page .workspace.walks-map .place-filters-button{position:relative;width:48px;min-height:48px;padding:12px;justify-content:center}
  body.map-page .workspace.walks-map .place-filters-button>span:not(.i):not(.filters-badge){display:none}
  body.map-page .workspace.walks-map .place-filters-button>.filters-badge{position:absolute;top:-4px;right:-4px}
 }
}
@media(max-width:760px){
 body.map-page .workspace .categories .cat{min-height:76px;font-size:12px;line-height:15px;gap:3px;padding:5px 4px}
 body.map-page .workspace .categories .cat .category-image{width:30px;height:30px}
 body.map-page .workspace{--category-bar-height:80px}
 body.map-page .workspace .map-overlay-top{left:54px;right:10px}
 body.map-page .workspace .map-top-row{gap:8px}
 body.map-page .map-top-row>.walk-coffee-layer{flex:0 0 100%;width:100%;min-height:56px;padding:10px 12px;gap:10px;border-radius:18px}
 body.map-page .map-top-row>.place-filters{order:1;flex:0 0 auto;justify-content:flex-start}
 body.map-page .map-top-row>.map-list-toggle{order:2;margin-left:auto}
 .walk-coffee-title{font-size:15px;line-height:20px}
 .walk-coffee-helper{font-size:12px;line-height:17px}
}
@media(max-width:360px){
 .walk-coffee-layer>.i{width:24px;height:24px}
 .walk-coffee-title{font-size:14px}
 .walk-coffee-helper{font-size:11px}
 body.map-page .map-top-row>.walk-coffee-layer{padding-inline:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce){.walk-coffee-switch,.walk-coffee-switch>span{transition:none}}
