.nearby-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: .75rem; }
.nearby-actions button,
.poi-detail-actions button,
.poi-detail-actions a { min-height: 2.75rem; border: 0; border-radius: .55rem; padding: .7rem .85rem; font: 850 .75rem/1.2 ui-sans-serif,system-ui,sans-serif; cursor: pointer; }
.nearby-actions button { color: #fff; background: #075985; }
.nearby-actions button[hidden] { display: none; }
.nearby-actions a { min-height: 2.75rem; align-content: center; }

.poi-detail {
  position: absolute;
  z-index: 1100;
  top: .75rem;
  bottom: .75rem;
  left: 50%;
  display: flex;
  width: min(34rem,calc(100% - 1.5rem));
  flex-direction: column;
  transform: translateX(-50%);
  border: 2px solid #14252a;
  border-radius: 1rem;
  color: #14252a;
  background: rgba(255,253,248,.985);
  box-shadow: 0 .8rem 2.5rem rgba(20,37,42,.42);
}
.poi-detail[hidden] { display: none; }
.poi-detail > header { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid #c8bca7; background: #fffdf8; }
.poi-detail > header p { margin: 0 0 .2rem; color: #075985; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.poi-detail > header h2 { margin: 0; font: 800 1.75rem/.95 ui-serif,Georgia,serif; letter-spacing: -.035em; }
#poi-detail-close { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border: 2px solid #14252a; border-radius: 50%; padding: 0; color: #14252a; background: #fff; font: 500 1.65rem/1 system-ui,sans-serif; }
.poi-detail-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; }
.poi-detail-intro { margin: 0 0 1.2rem; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.poi-detail-scroll section { padding: .85rem 0; border-top: 1px solid #d8cec0; }
.poi-detail-scroll h3 { margin: 0 0 .35rem; color: #075985; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.poi-detail-scroll section p { margin: 0; font-size: .84rem; line-height: 1.55; }
.poi-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; padding-top: .9rem; border-top: 1px solid #d8cec0; }
.poi-detail-actions a { display: grid; place-items: center; color: #fff; background: #075985; text-align: center; text-decoration: none; }
.poi-detail-actions button { grid-column: 1 / -1; color: #fff; background: #075f36; }
.poi-share-status { min-height: 1.2rem; margin: .5rem 0 0; color: #41565c; font-size: .68rem; font-weight: 750; text-align: center; }

.break-icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% .35rem;
  color: #fff;
  background: #087542;
  box-shadow: 0 .2rem .65rem rgba(20,37,42,.42);
  transform: rotate(-45deg);
}
.break-icon svg { width: 1.25rem; height: 1.25rem; transform: rotate(45deg); }
.break-icon path { fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
.break-rating { color: #075f36; font-size: .72rem; font-weight: 850; }
.break-popup-detail { margin: .55rem .35rem .15rem 0; border: 0; border-radius: .4rem; padding: .5rem .65rem; color: #fff; background: #075f36; font: 800 .72rem/1.15 ui-sans-serif,system-ui,sans-serif; }
.break-planner { margin-top: 1.1rem; padding-top: 1rem; border-top: 2px solid #b8ccc2; }
.break-planner > p { margin: 0 0 .25rem; color: #075f36; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.break-planner > span { display: block; margin-bottom: .7rem; color: #53666c; font-size: .72rem; line-height: 1.4; }
.tour-drawer .break-planner ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.tour-drawer .break-planner li button { grid-template-columns: 3rem 1fr; border-color: #9ac9b0; background: #f3fbf5; }
.tour-drawer .break-planner li span { grid-row: span 3; color: #075f36; font-size: .58rem; }
.tour-drawer .break-planner li em { color: #075f36; font-size: .66rem; font-style: normal; font-weight: 850; }
.tour-drawer .break-planner li small { grid-column: 2; }

@media (max-width: 700px) {
  .nearby-actions { display: grid; grid-template-columns: 1fr auto; }
  .nearby-actions button { min-width: 0; }
  .poi-detail { top: .5rem; bottom: .5rem; width: calc(100% - 1rem); }
  .poi-detail > header { padding: .85rem; }
  .poi-detail > header h2 { font-size: 1.55rem; }
  .poi-detail-scroll { padding: .85rem; }
  body:has(.poi-detail:not([hidden])) #start-guidance { display: none; }
}
