/* CABINET DES CARTES v0.033 R2 · lieux publics */
.map-frame { position: relative; }

.public-poi-status {
  position: absolute;
  z-index: 8;
  top: 10px;
  left: 10px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(20, 21, 18, 0.55);
  border-radius: 0;
  background: rgba(243, 240, 231, 0.94);
  color: #383832;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.public-poi-status[aria-pressed="false"] {
  color: #77736B;
  border-style: dashed;
}

.public-place-sheet {
  position: fixed;
  z-index: 1900;
  left: max(4px, env(safe-area-inset-left));
  right: max(4px, env(safe-area-inset-right));
  bottom: calc(84px + env(safe-area-inset-bottom));
  max-height: min(48vh, 430px);
  overflow: auto;
  border-top: 1px solid #171813;
  border-bottom: 1px solid #171813;
  background: #F3F0E7;
  color: #171813;
  box-shadow: none;
}

.public-place-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(23, 24, 19, 0.4);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-place-sheet__header div {
  display: grid;
  gap: 4px;
}

.public-place-sheet__header span {
  color: #8B2635;
  font-size: 11px;
  font-weight: 500;
}

.public-place-sheet__header small {
  color: #716D65;
  font-size: 9px;
}

.public-place-sheet button {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-place-sheet__body {
  padding: 18px 20px 16px;
}

.public-place-sheet__body h2 {
  margin: 0 0 8px;
  font-family: "Newsreader", serif;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 400;
  line-height: 1.02;
}

.public-place-sheet__body p {
  margin: 5px 0;
  color: #5F5C55;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.public-place-sheet__body .public-place-sheet__original {
  color: #171813;
  font-family: "Newsreader", serif;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.public-place-sheet__actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-top: 1px solid rgba(23, 24, 19, 0.4);
}

.public-place-sheet__actions button + button {
  border-left: 1px solid rgba(23, 24, 19, 0.4);
}

.public-place-sheet__actions .public-place-sheet__save,
.public-place-sheet__actions [data-public-place-open] {
  color: #8B2635;
}

.public-search-section {
  border-top: 1px solid rgba(23, 24, 19, 0.35);
}

.public-search-section__title {
  margin: 0;
  padding: 10px 18px 7px;
  color: #8B2635;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-search-result {
  display: grid;
  width: 100%;
  min-height: 54px;
  padding: 9px 18px;
  border: 0;
  border-top: 1px solid rgba(23, 24, 19, 0.16);
  border-radius: 0;
  background: #F3F0E7;
  color: #171813;
  text-align: left;
}

.public-search-result strong {
  overflow: hidden;
  font-family: "Newsreader", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-search-result span {
  overflow: hidden;
  margin-top: 4px;
  color: #6D6961;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 760px) {
  .public-place-sheet {
    left: 50%;
    right: auto;
    width: min(680px, calc(100vw - 40px));
    transform: translateX(-50%);
  }
}

.public-poi-status[data-state="enriching"]::after { content: " · ACTUALISATION"; color: #77736B; }
