:root { color-scheme: light; font-family: system-ui, sans-serif; color: #23332e; }
* { box-sizing: border-box; }
body { margin: 0; }
header { position: absolute; z-index: 2; top: 0; left: 0; right: 0; min-height: 64px;
  background: #fffef9; box-shadow: 0 2px 12px #16342a25; display: flex;
  align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; }
h1 { margin: 0; font-size: 24px; color: #245c47; }
h1 span { font-size: 14px; font-weight: 400; margin-left: 10px; }
nav { display: flex; gap: 8px; align-items: center; }
button, nav a { font: inherit; border: 1px solid #d5ded8; border-radius: 6px;
  padding: 8px 12px; color: #245c47; background: white; cursor: pointer; text-decoration: none; }
button:hover, nav a:hover { background: #edf4ee; }
button:disabled { cursor: wait; opacity: .6; }
#map { position: absolute; inset: 64px 0 0; }
#status { position: absolute; left: 12px; bottom: 24px; z-index: 1;
  max-width: min(600px, 85vw); background: #fffffff0; padding: 8px 12px;
  border-radius: 6px; font-size: 12px; pointer-events: none; }
dialog { border: 0; border-radius: 12px; padding: 24px; width: min(580px, 92vw);
  max-height: 85vh; box-shadow: 0 10px 40px #142b3850; }
dialog::backdrop { background: #10251c70; }
dialog p { line-height: 1.6; }
.close { float: right; }
#reason-options label { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
#reason-options input { width: 18px; height: 18px; }
#visible-places { list-style: none; padding: 0; }
#visible-places button { width: 100%; text-align: left; margin-bottom: 6px; }
:focus-visible { outline: 3px solid #245c47; outline-offset: 3px; }
@media (max-width: 680px) {
  header { padding: 10px; min-height: 96px; flex-wrap: wrap; }
  h1 span { display: none; }
  #map { top: 96px; }
  nav { gap: 5px; }
  button, nav a { padding: 7px 9px; font-size: 13px; }
}
