/* Hand-reviewed controls shared by the 62 full-page templates. */
html[data-site-theme="dark"],html[data-site-theme="dark"] body,
html[data-site-theme="dark"] .landing-body{background-color:#101722!important;color:#f0f5fb!important}
html[data-site-theme="dark"] :is(input,select,textarea)::placeholder{color:#a9bcd0!important;opacity:1}
html[data-site-theme="dark"] :is(input,textarea,select){accent-color:#71b9ff}
html[data-site-theme="dark"] :is(input,select,textarea,button,a):focus-visible{outline:2px solid #8dccff!important;outline-offset:2px}
html[data-site-theme="dark"] :is(.nav-user-dropdown,.notification-panel,.search-results,dialog,.modal,[role="dialog"]){background:#1b2635!important;color:#f0f5fb!important;border:1px solid #3c5169!important}
html[data-site-theme="dark"] :is(.nav-user-dropdown,.notification-panel,.search-results,dialog,.modal,[role="dialog"]) :is(input,textarea,select){background:#101722!important;color:#f0f5fb!important;border-color:#3c5169!important}
html[data-site-theme="dark"] :is(.button.secondary,.nav-current-user,.atlas-location-links a){background:#1b2635!important;color:#f0f5fb!important;border-color:#3c5169!important}
html[data-site-theme="dark"] :is(.atlas-location-links a.active,.button.primary,.button:not(.secondary):not(.danger):not(.danger-outline):not(.premium-nav-button)){background:#71b9ff!important;color:#101722!important;border-color:#71b9ff!important}
html[data-site-theme="dark"] :is(.button.danger,.button.danger-outline,.alert.error,.error-message){color:#ffa0aa!important}
html[data-site-theme="dark"] :is(.success,.alert.success){color:#80e2b2!important}
html[data-site-theme="dark"] :is(.leaflet-container,.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-control-layers,.leaflet-control-zoom a,.leaflet-bar a){background:#1b2635!important;color:#f0f5fb!important;border-color:#3c5169!important}
html[data-site-theme="dark"] :is(.leaflet-control-attribution,.leaflet-control-scale-line){background:rgba(27,38,53,.94)!important;color:#e6f0fa!important}
html[data-site-theme="dark"] .leaflet-container a:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out){color:#71b9ff}
html[data-site-theme="dark"] :is(.leaflet-tile,.leaflet-marker-icon,.leaflet-shadow,.atlas-city-photo img,.person-avatar img,.brand-logo,.family-photo,.book-photo,img,video,canvas){filter:none!important}
@media print{
 html[data-site-theme="dark"],html[data-site-theme="dark"] body,
 html[data-site-theme="dark"] :is(.card,.panel,.book-page,.table-card,.person-card){background:#fff!important;color:#111!important;border-color:#999!important}
 html[data-site-theme="dark"] :is(h1,h2,h3,p,span,th,td){color:#111!important}
}

/* v205: Restore the intent of small controls after removing the broad submit rule. */
html[data-site-theme="dark"] .people-remove-link,
html[data-site-theme="dark"] .people-remove-link:hover{
  display:inline!important;width:auto!important;min-height:0!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:#ffa0aa!important;text-decoration:underline;
}
html[data-site-theme="dark"] .people-remove-link:focus-visible{border-radius:3px!important}
html[data-site-theme="dark"] .theme-radio{
  display:grid!important;place-items:center!important;width:22px!important;height:22px!important;
  min-height:0!important;padding:0!important;border:0!important;
  border-radius:50%!important;background:transparent!important;box-shadow:none!important;
}
html[data-site-theme="dark"] .theme-radio>span{
  display:block;width:13px;height:13px;border:1.5px solid #94abc4!important;
  border-radius:50%;background:#1b2635!important;
}
html[data-site-theme="dark"] .theme-radio.selected>span{border:4px solid #71b9ff!important}
html[data-site-theme="dark"] .theme-radio:hover>span{box-shadow:0 0 0 3px rgba(113,185,255,.18)!important}
html[data-site-theme="dark"] .tree-action-menu :is(button,a){
  background:transparent!important;color:#e2effb!important;border:0!important;
  box-shadow:none!important;text-align:left;
}
html[data-site-theme="dark"] .tree-action-menu :is(button,a):hover{background:#2a3a50!important}
html[data-site-theme="dark"] .tree-action-menu .tree-remove-action{color:#ffa0aa!important}
html[data-site-theme="dark"] .tree-action-menu .tree-restore-action{color:#80e2b2!important}
html[data-site-theme="dark"] .tree-menu-divider{height:1px!important;background:#3c5169!important}
html[data-site-theme="dark"] .admin-panel hr{height:0!important;border:0!important;border-top:1px solid #3c5169!important;background:transparent!important;margin:18px 0!important}
html[data-site-theme="dark"] .my-trees-v48 .workspace-tree-picture{
  background:url('/images/workspace-family-tree-hero-dark.svg') center/cover no-repeat!important;
  mix-blend-mode:normal!important;
}
html[data-site-theme="dark"] .my-trees-v48 .workspace-tree-art blockquote{color:#d8f3e5!important}
