.address-row .map-link {
  padding: 0;
  background: transparent;
  text-align: left;
}
.address-row .map-link:hover { color: var(--lime); }
html.map-dialog-open { overflow: hidden; }
.map-dialog {
  width: min(1000px, calc(100% - 48px));
  max-width: none;
  height: min(760px, calc(100dvh - 64px));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 100px #101e2440;
}
.map-dialog[open] { display: flex; flex-direction: column; }
.map-dialog::backdrop { background: #101e24b8; backdrop-filter: blur(6px); }
.map-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  flex-shrink: 0;
}
.map-dialog-header .tiny-label { font-size: 9px; color: var(--blue); }
.map-dialog-header h2 { margin-top: 8px; font-size: 25px; letter-spacing: -1px; }
.map-dialog-close {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  font-size: 13px;
  white-space: nowrap;
}
.map-dialog-close > span { font-size: 26px; font-weight: 300; line-height: 1; }
.map-dialog-close:hover { background: var(--ink); color: var(--paper); }
.map-dialog-body { position: relative; flex: 1; min-height: 0; background: #e5e9df; }
.map-dialog-canvas, .map-dialog-canvas iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-dialog-status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: #e5e9df;
  font-size: 14px;
  text-align: center;
}
.map-dialog-retry { padding: 12px 20px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.map-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
  padding: 20px 30px;
}
.map-dialog-footer address { font-style: normal; font-size: 13px; line-height: 1.8; }
.map-dialog-footer strong { font-weight: 600; }
.map-dialog-hint { font-size: 11px; color: var(--muted); }
@media (max-width: 600px) {
  .map-dialog { width: calc(100% - 24px); height: calc(100dvh - 32px); border-radius: 12px; }
  .map-dialog-header { padding: 20px 18px; gap: 12px; }
  .map-dialog-header h2 { font-size: 21px; }
  .map-dialog-header .tiny-label { font-size: 8px; }
  .map-dialog-close { padding-inline: 12px; font-size: 12px; }
  .map-dialog-footer { padding: 16px 18px; }
  .map-dialog-footer address { font-size: 12px; }
  .map-dialog-hint { display: none; }
}
@media (max-height: 480px) {
  .map-dialog { height: calc(100dvh - 16px); }
  .map-dialog-header { padding-block: 10px; }
  .map-dialog-header .tiny-label, .map-dialog-hint { display: none; }
  .map-dialog-header h2 { margin: 0; font-size: 20px; }
  .map-dialog-footer { padding-block: 10px; }
}
