.highlights-panel{max-width:52rem;margin:0 auto;padding:clamp(1rem,3vw,2rem)}
.highlights-list{display:grid;gap:1rem}.highlight-card{background:var(--surface,#fff);border:1px solid color-mix(in srgb,#023059 20%,transparent);border-left:5px solid #023059;border-radius:12px;padding:1rem;color:inherit}
.highlight-card__open{all:unset;display:block;width:100%;cursor:pointer}.highlight-card__open:focus-visible{outline:3px solid #2a83b8;outline-offset:5px;border-radius:6px}
.highlight-card h2{margin:.25rem 0;font-size:1.2rem}.highlight-card__body{white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.highlight-meta{color:var(--muted,#52636d);font-size:.9rem}.highlight-actions,.publication-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.highlight-location{padding:.75rem;background:color-mix(in srgb,#023059 7%,transparent);border-radius:8px}
.content-image{display:block;max-width:100%;height:auto;margin:1rem 0;border-radius:9px}.content-image--preview{max-height:13rem;width:auto;object-fit:contain}
.publication-dialog{width:min(46rem,calc(100vw - 2rem));max-width:none;max-height:calc(100dvh - 2rem);padding:0;border:0;border-radius:14px;color:inherit;background:var(--surface,#fff)}.publication-dialog::backdrop{background:#07141db8;backdrop-filter:blur(5px)}
.publication-dialog__shell{position:relative;max-height:calc(100dvh - 2rem);overflow:auto;padding:clamp(1.25rem,4vw,2.5rem)}.publication-dialog__close{position:sticky;top:0;float:right;z-index:2}.publication-body{white-space:pre-wrap}.publication-dialog audio{width:100%}
@media(max-width:680px){.highlights-panel{padding:.75rem}.highlight-actions .button,.publication-actions .button{flex:1}}

/* Alert/Highlight detail presentation: theme-safe and map-enabled. */
.publication-dialog {
  color: var(--text);
  background: var(--panel);
}

.publication-dialog__shell {
  color: var(--text);
  background: var(--panel);
}

.publication-dialog .alert-card {
  color: var(--text);
  background: var(--panel-soft);
}

.publication-dialog .alert-card:hover {
  border-color: var(--border-strong);
  background: var(--panel-soft);
}

.publication-dialog .alert-card[data-incident-state="active"],
.publication-dialog .alert-card[data-incident-state="active"]:hover {
  background: color-mix(in srgb, var(--warning) 11%, var(--panel));
}

.publication-dialog .highlight-location {
  color: var(--text-soft);
  background: color-mix(in srgb, var(--accent) 9%, var(--panel));
}

.public-location-map {
  position: relative;
  width: 100%;
  height: 250px;
  margin: .75rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #dfe7eb;
  isolation: isolate;
}

.public-location-map__tiles,
.public-location-map__overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.public-location-map__tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  margin: 0;
  border: 0;
  user-select: none;
  pointer-events: none;
}

.public-location-map__overlay {
  z-index: 2;
  pointer-events: none;
}

.public-location-map__radius {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 3px solid rgba(2, 48, 89, .88);
  border-radius: 50%;
  background: rgba(2, 48, 89, .20);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.45);
}

.public-location-map__marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #b42318;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 7px rgba(0,0,0,.55);
}

.public-location-map__attribution {
  position: absolute;
  z-index: 3;
  right: 5px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #263640;
  background: rgba(255,255,255,.90);
  font-size: 10px;
  text-decoration: none;
}

.public-location-map__attribution:hover {
  color: #023059;
  background: #fff;
}

@media (max-width: 680px) {
  .public-location-map {
    height: 220px;
  }
}
