:root[data-theme="black"]{
  color-scheme:dark;color:#eee;background:#000;background-image:none;
  --border:#454545;--muted:#bdbdbd;--green:#23845f;
}
[data-theme="black"] body{background:#000}
[data-theme="black"] header{background:#000;border-bottom:1px solid var(--border)}
[data-theme="black"] .panel{background:#000;box-shadow:none}
[data-theme="black"] :is(button,input,select,textarea){background:#080808;border-color:#555;color:#eee}
[data-theme="black"] :is(input,textarea)::placeholder{color:#aaa}
[data-theme="black"] button:hover:not(:disabled){background:#242424}
[data-theme="black"] button.primary{background:#135b3d;border-color:#398767;color:#fff}
[data-theme="black"] button.primary:hover:not(:disabled){background:#1c6c49}
[data-theme="black"] :focus-visible{outline-color:#9bdfff}
[data-theme="black"] th{background:#111}
[data-theme="black"] #form-status{color:#ffb8af}
[data-theme="black"] :is(#map,#edit-map,#fullscreen-map){background:#000}
[data-theme="black"] .leaflet-tile-pane{filter:brightness(.55) saturate(.7)}
[data-theme="black"] :is(.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-bar a,.leaflet-tooltip){background:#000;color:#eee;border-color:#555}
[data-theme="black"] :is(.leaflet-bar a:hover,.leaflet-bar a.leaflet-disabled){background:#242424;color:#ccc}
[data-theme="black"] .leaflet-tooltip-top::before{border-top-color:#000}
[data-theme="black"] :is(.leaflet-container a.leaflet-popup-close-button,.leaflet-container .leaflet-control-attribution){color:#eee}
[data-theme="black"] .leaflet-container .leaflet-control-attribution{background:#000}
[data-theme="black"] .leaflet-control-attribution a{color:#9bdfff}
[data-theme="black"] .site-menu-items{background:#000;border:1px solid #454545}
[data-theme="black"] .site-menu-items a{background:#080808;border-color:#555;color:#eee}
[data-theme="black"] .site-menu-items a:hover{background:#242424}
[data-theme="black"] .leaflet-container a.plot-popup-action{color:#b9e9c7}
[data-theme="black"] .leaflet-container a.plot-popup-action:hover{background:#242424}
[data-theme="black"] .sort-button{background:transparent}
[data-theme="black"] a.plot-action-icon{background:#080808;border-color:#555}
[data-theme="black"] a.plot-action-icon:hover{background:#242424}
[data-theme="black"] a.google-map-link{color:#9bc6ff}
[data-theme="black"] a.yandex-map-link{color:#ffaba5}
[data-theme="black"] .plot-share-dialog{background:#000;color:#eee}
[data-theme="black"] .plot-share-choices a:hover{background:#242424}
[data-theme="black"] .site-footer a{background:#000;color:#ddd}
[data-theme="black"] .site-footer a:focus-visible{outline-color:#9bdfff}
