/* Place exploration stays below the search control; deeper categories use their own sheet. */
#discover-bar .discover-scroller { gap: 7px; }
#discover-bar .discover-scroller > button { flex: 0 0 auto; }
.categories-backdrop { position: fixed; inset: 0; z-index: 815; background: #071827a6; }
.place-categories { position: fixed; z-index: 825; right: 18px; bottom: 18px; width: min(540px,calc(100% - 24px)); max-height: min(86dvh,850px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #c6d9e1; border-radius: 24px; background: #f8fbfd; color: #163247; box-shadow: 0 20px 70px #081b2c94; padding: 0; }
.place-categories[hidden],.categories-backdrop[hidden] { display: none!important; }
.categories-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; }
.categories-head h2 { font-size: 21px; line-height: 1.2; margin: 0; }
.categories-head button { border: 0; border-radius: 50%; width: 44px; height: 44px; background: #e5eef4; color: #1a3447; font-size: 25px; }
.categories-tabs { display: flex; gap: 6px; overflow: auto; flex: none; padding: 8px 16px 12px; scrollbar-width: thin; border-bottom: 1px solid #d6e2e9; }
.categories-tabs button { flex: none; min-height: 42px; padding: 8px 13px; border: 0; border-radius: 12px; background: transparent; color: inherit; font-size: 14px; font-weight: 700; }
.categories-tabs button[aria-pressed="true"] { background: #d8ebf1; color: #07506a; }
.place-categories .category-groups { display: block; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0; scroll-behavior: smooth; }
.place-categories .category-group { display: block; border: 0; border-bottom: 9px solid #eaf1f4; border-radius: 0; margin: 0; padding: 18px 20px 22px; background: transparent; scroll-margin-top: 0; }
.place-categories .category-group h3 { margin: 0 0 14px; font-size: 17px; }
.place-categories .category-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; }
.place-categories .category-options button { min-width: 0; min-height: 47px; width: fit-content; max-width: 100%; border: 1px solid #b6e6e9; border-radius: 24px; padding: 9px 14px; background: #e1f8f7; color: #14526a; text-align: left; white-space: normal; font-size: 14px; line-height: 1.25; font-weight: 700; }
.place-categories .category-options button[aria-pressed="true"] { background: #096381; color: white; border-color: #096381; }
.place-categories :is(button):focus-visible { outline: 3px solid #e0a737; outline-offset: 2px; }
body.ui-dark .place-categories { background: #101d2a; color: #edf7fb; border-color: #526a78; }
body.ui-dark .categories-head button { background: #294258; color: white; }
body.ui-dark .categories-tabs { border-color: #324657; }
body.ui-dark .categories-tabs button[aria-pressed="true"] { background: #304b5d; color: #b4edfa; }
body.ui-dark .place-categories .category-group { background: #101d2a; border-color: #0b1620; }
body.ui-dark .place-categories .category-options button { background: #073743; color: #b8f1fc; border-color: #1c5661; }
body.ui-dark .place-categories .category-options button[aria-pressed="true"] { background: #156a82; color: #fff; border-color: #62cadd; }
.place-highlights { display: flex; gap: 7px; flex-wrap: wrap; padding: 4px 16px 9px; }
.place-highlights:empty { display: none; }
.place-highlights span { border-radius: 12px; padding: 7px 10px; background: #e6f5f2; color: #155264; font-size: 13px; font-weight: 700; line-height: 1.3; }
.place-photo { margin: 4px 16px 14px; overflow: hidden; border-radius: 16px; background: #d9e5e8; }
.place-photo[hidden] { display: none!important; }
.place-photo img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.place-photo figcaption { padding: 7px 10px; font-size: 12px; }
.place-photo a { color: #176284; }
.place-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.place-contact-actions a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border-radius: 22px; padding: 8px 13px; background: #d9f3f0; color: #104c61; text-decoration: none; font-weight: 750; font-size: 13px; }
.place-contact-actions a[hidden] { display: none!important; }
.place-contact-actions[hidden],.place-card.compact :is(.place-highlights,.place-photo,.place-contact-actions) { display: none!important; }
.poi-copy .poi-facts { color: #126c76; margin-top: 4px; }
.discover-result .poi-photo { width: 76px; height: 66px; flex: none; border-radius: 12px; object-fit: cover; background: #d9e5e8; }
.discover-result .poi-photo-credit { font-size: 11px; line-height: 1.3; color: #567782; margin-top: 3px; }
body.ui-dark .place-highlights span, body.ui-dark .place-contact-actions a { background: #174552; color: #d9fbfc; }
body.ui-dark .place-photo { background: #233b49; }
body.ui-dark .place-photo a,body.ui-dark .poi-copy .poi-facts { color: #94dfe6; }
body.ui-dark #layers-extra-status { color: #d3e5ed; }
@media(max-width:760px) {
  #discover-bar .discover-scroller { width: auto; overflow: visible!important; }
  #discover-bar .discover-scroller > button { min-height: 42px!important; padding: 7px 12px!important; font-size: 13px!important; }
  .place-categories { left: 0; right: 0; bottom: 0; width: 100%; max-height: calc(90dvh - env(safe-area-inset-top)); border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .categories-head { padding-top: 16px; }
  .place-categories .category-group { padding: 18px 16px 22px; }
  .place-categories .category-options { gap: 9px 6px; }
  .place-categories .category-options button { font-size: 13px; padding: 9px 10px; }
}

.health-energy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.health-energy > div { border: 1px solid #b9d9d1; border-radius: 17px; padding: 15px; background: #e9f7f2; }
.health-energy h3 { margin: 0 0 6px; font-size: 15px; }
.health-energy p { margin: 0 0 8px; font-size: 17px; font-weight: 850; }
.health-energy progress { display: block; width: 100%; accent-color: #179a79; margin-bottom: 8px; }
.health-energy small { line-height: 1.45; color: #35695d; }
body.ui-dark .health-energy > div { background: #17372f; border-color: #4b7d72; color: #edf8f3; }
body.ui-dark .health-energy small { color: #bdddd1; }
@media(max-width:420px) { .health-energy { grid-template-columns: 1fr; } }
