.sheet-grip{display:none}.find button{background:#ee7b68;color:#182a34;border-left:1px solid #e78270;border-radius:0 5px 5px 0}.find:focus-within{border-color:#9a5444}.find button:hover{background:#f28c7a}

.map-footer {
  position:relative; z-index:5; min-width:0; margin:0; padding:3px clamp(9px,1.25vw,24px);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0 12px;
  border-top:1px solid var(--warm-edge); background:#fff; color:#526055;
  font:500 .8rem/1.3 var(--elementer-font);
}
.map-footer a,.map-footer summary {color:inherit;text-decoration:none}
.map-footer-brand,.map-footer-nav,.map-footer-nav>a,.map-footer-more summary {display:flex;align-items:center}
.map-footer-brand,.map-footer-nav>a,.map-footer-more summary {min-height:30px;gap:6px;white-space:nowrap}
.map-footer-brand small {font-size:.76rem}
.map-footer-brand img {object-fit:contain}
.map-footer-nav {gap:clamp(10px,1.3vw,24px)}
.map-footer-nav .map-footer-apps {color:var(--coral-ink);font-weight:700}
.map-footer-apps img {border-radius:5px}
.map-footer-about {border-inline-start:1px solid var(--warm-edge);padding-inline-start:clamp(10px,1.3vw,24px)}
.map-footer a:hover,.map-footer summary:hover {color:var(--coral-ink);text-decoration:underline;text-underline-offset:3px}
.map-footer-more {position:relative}
.map-footer-more summary {list-style:none;cursor:pointer;gap:0}
.map-footer-more summary::-webkit-details-marker {display:none}
.map-footer-more summary i {width:6px;height:6px;margin:3px 2px 0 6px;border:solid currentColor;border-width:1.5px 1.5px 0 0;transform:rotate(-45deg)}
.map-footer-more[open] summary i {transform:rotate(135deg);margin-top:-3px}
.map-footer-menu {
  position:absolute; inset:auto 0 calc(100% + 6px) auto; width:max-content; max-width:calc(100vw - 2rem);
  max-height:65vh; max-height:65dvh; overflow:auto; overscroll-behavior:contain;
  padding:12px 14px; background:#fff; border:1px solid var(--warm-edge); border-radius:9px;
  box-shadow:0 5px 24px #30251c22;
}
.map-footer-menu h2 {margin:0 0 3px;font:700 .85rem/1.4 var(--elementer-font);color:var(--elementer-ink)}
.map-footer-menu a {display:block;padding:5px 0}
.map-footer-menu .map-footer-about-compact {display:none}
.map-footer-menu section+section {margin-top:7px;padding-top:9px;border-top:1px solid var(--warm-edge)}

@media (min-width:701px) {
  body.atlas-home {
    --places-width:clamp(377px,39vw,594px);
    display:grid; height:100vh; height:100dvh; min-height:0;
    grid-template-columns:var(--places-width) minmax(0,1fr);
    grid-template-rows:auto auto minmax(0,1fr) auto;
  }
  .atlas-home>.mast {grid-area:1 / 1 / 2 / -1}
  .atlas-home>.notices {grid-area:2 / 1 / 3 / -1;max-height:25vh;overflow:auto}
  /* The map and its footer share a column. The list spans both rows. */
  .atlas-home>main {
    grid-area:3 / 1 / 5 / -1; display:grid; min-height:0;
    grid-template-columns:var(--places-width) minmax(0,1fr);
    grid-template-rows:minmax(0,1fr) 37px; grid-template-rows:subgrid;
  }
  .atlas-home .workspace {display:contents}
  .atlas-home .places {grid-area:1 / 1 / -1 / 2;min-height:0;overflow:auto;overscroll-behavior:contain}
  .atlas-home .map-column {grid-area:1 / 2 / 2 / 3;min-height:0}
  .atlas-home>.map-footer {grid-area:4 / 2 / 5 / 3}
}
@media (min-width:701px) and (max-width:970px), (max-width:520px) {
  .map-footer-brand img,.map-footer-apps img,.map-footer-extra {display:none}
  .map-footer {column-gap:6px}
  .map-footer-nav {gap:8px}
  .map-footer-about {padding-inline-start:8px}
}
@media (min-width:701px) and (max-width:780px), (max-width:375px) {
  .map-footer-nav>.map-footer-about {display:none}
  .map-footer-menu .map-footer-about-compact {display:block}
}
@media(max-width:700px){
 .atlas-home > .map-footer {display:none}
 .atlas-home .workspace{--sheet-height:46%;height:max(530px,calc(100svh - 58px));position:relative;display:block}
 .atlas-home .workspace[data-sheet="0"]{--sheet-height:21%}.atlas-home .workspace[data-sheet="2"]{--sheet-height:72%}
 .atlas-home .places{position:absolute;left:0;right:0;bottom:0;z-index:3;height:var(--sheet-height);overflow:auto;overscroll-behavior:contain;background:#fffdfa;border:1px solid #bdc8bb;border-bottom:0;border-radius:14px 14px 0 0;box-shadow:0 -2px 10px #33433312}
 .atlas-home .map-column{height:calc(100% - var(--sheet-height) + 8px)}.atlas-home .map-column #activity-map{height:100%}
 .atlas-home .sheet-grip{display:grid;place-items:center;width:100%;height:34px;touch-action:none}.sheet-grip span{display:block;width:36px;height:4px;border-radius:10px;background:#84958a}
 .atlas-home.list-mode .workspace{height:auto;min-height:calc(100svh - 58px)}.atlas-home.list-mode .places{position:static;height:auto;min-height:inherit;border:0;border-radius:0;box-shadow:none;overflow:visible}.atlas-home.list-mode .sheet-grip{display:none}
 .atlas-home .em-map .em-credit{bottom:8px}.mobile-switch button{min-height:39px}.atlas-home .chip{min-height:36px}
}

.places #result-limit {text-align:center;padding-inline:12px}

.map-modes {display:flex;gap:3px;width:100%;box-sizing:border-box;border:1px solid #d2d9d0;background:#f1f4ee;border-radius:7px;padding:3px;margin:0 0 12px}
.map-modes a {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:4px 10px;color:#45564f;text-decoration:none;font-size:.85rem;font-weight:650;border-radius:4px}
.map-modes a[aria-current=page] {background:#fff;color:#613b32;box-shadow:0 1px 3px #30433926}
.map-modes .icon {width:16px;height:16px}
.map-interests {display:grid;justify-items:start;gap:5px;margin:0 0 13px;color:#405547}
.map-interests label,.map-interests a {font-size:.84rem;font-weight:650}
.map-interests p {margin:0;font-size:.87rem}
.map-interests select {max-width:100%;width:100%;min-height:38px;background:white;border:1px solid #bdc8bc;border-radius:5px;padding:5px}
@media(max-width:700px){.map-modes a {min-height:38px}}
.sort-control {flex-wrap:wrap}
.list-feedback {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 7px;margin-inline-start:auto;max-width:100%;font-size:.8rem;color:#405447;text-align:right}
.list-feedback.is-loading {flex-wrap:nowrap}
.list-feedback[hidden],.result-head [hidden] {display:none}
#result-limit .limit-advice {display:block}
.is-loading-places::after{content:"";position:absolute;inset:0 0 auto;z-index:6;height:3px;background:#ee7b68;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.is-loading-places::after{width:38%;animation:map-progress 1.4s ease-in-out infinite alternate}@keyframes map-progress{to{transform:translateX(165%)}}}
.list-feedback.is-loading::before,.peek-loading::before {content:"";display:inline-block;width:14px;height:14px;border:2px solid #d4dfd5;border-top-color:#9e5747;border-radius:50%;flex:none}
.peek-loading {display:flex;align-items:center;gap:9px;min-height:56px}
@media(prefers-reduced-motion:no-preference){.list-feedback.is-loading::before,.peek-loading::before {animation:map-wait .85s linear infinite}@keyframes map-wait{to{transform:rotate(1turn)}}}
.atlas-home .map-preview {display:flex;flex-direction:column;overflow:hidden;max-height:calc(100% - 85px)}
.atlas-home .map-preview[hidden]{display:none}
#preview-body {overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.map-preview.is-group {width:min(388px,calc(100% - 70px));max-width:388px;background:#fff}
.map-preview.is-group h2 {padding-right:12px;margin-top:4px}
.stack-address {color:#526258;font-size:.88rem}.stack-address:empty {display:none}
.stack-rows{display:grid;gap:9px}.stack-rows .place-row{padding:8px;border:1px solid #d6ded6;border-radius:6px;background:#fff}
.result-list,.stack-rows {overflow-anchor:none}
.rows-departing {position:absolute;width:0;height:0;pointer-events:none;z-index:1}
.rows-departing>.place-row {margin:0;background:#fffdfa;pointer-events:none}
.stack-rows .row-link {min-width:0}.map-preview .dismiss {z-index:2}
@media (min-width:701px) {
  .atlas-home .map-preview:not(.is-group) {
    left:clamp(8px,1vw,18px);
    width:min(380px,calc(100% - 16px));
    max-width:380px;
    padding-inline:clamp(10px,1.2vw,18px);
  }
}
@media(max-width:700px){.atlas-home .map-preview,.atlas-home .map-preview.is-group{max-height:54%;bottom:22px;left:9px;right:auto;width:calc(100% - 65px);max-width:400px;padding:12px 14px}.map-preview .peek-heading h2{font-size:1.12rem}}
@media (max-width:700px) {
  .atlas-home .map-preview:not(.is-group) {max-height:calc(100% - 66px)}
  .atlas-home .map-preview .preview-actions {position:sticky;bottom:0;z-index:1;background:#fffcf8;padding-top:5px}
}
.atlas-home .map-preview:not(.is-group) #preview-body { container: place-preview / inline-size; }
.atlas-home .map-preview .preview-actions {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: stretch;
  gap: 5px;
}
.atlas-home .preview-actions .btn { white-space: nowrap; }
@container place-preview (max-width: 265px) {
  .atlas-home .map-preview .preview-actions {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .atlas-home .preview-actions > .primary { grid-column: 1 / -1; }
  .atlas-home .preview-actions > :last-child:nth-child(2) { grid-column: 1 / -1; }
}
