:root{
  --dgaia-bg:#050914;
  --dgaia-panel:rgba(15,23,42,.86);
  --dgaia-line:rgba(148,163,184,.22);
  --dgaia-blue:#2563eb;
  --dgaia-cyan:#22d3ee;
  --dgaia-text:#eef6ff;
  --dgaia-muted:#94a3b8;
}

body{
  text-rendering:optimizeLegibility;
}

a,button,input,select,textarea{
  transition:all .18s ease;
}

button:hover,
.btn:hover,
a.btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}

.card,
.metric,
.tableWrap,
.filters,
.list,
.hero,
.panel,
.box{
  box-shadow:0 18px 55px rgba(0,0,0,.22);
}

input,select,textarea{
  outline:none;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(34,211,238,.55)!important;
  box-shadow:0 0 0 3px rgba(34,211,238,.13)!important;
}

.dgaia-original-logo,
.dgaia-map-header-logo,
.dgaia-news-logo{
  object-fit:contain!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}

.brand{
  text-decoration:none!important;
}

.dgaia-toast-wrap{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999999;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:min(420px,calc(100vw - 28px));
}

.dgaia-toast{
  border:1px solid rgba(34,211,238,.28);
  background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(8,47,73,.94));
  color:#eef6ff;
  padding:14px 16px;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.38);
  font-weight:800;
  line-height:1.35;
}

.dgaia-toast.success{border-color:rgba(34,197,94,.45)}
.dgaia-toast.error{border-color:rgba(239,68,68,.55)}
.dgaia-toast.warn{border-color:rgba(245,158,11,.55)}

@media(max-width:760px){
  .nav,.topbar,header{
    flex-wrap:wrap!important;
  }
  .navlinks,.links{
    width:100%;
    overflow-x:auto;
    padding-bottom:6px;
  }
  .dgaia-original-logo,
  .dgaia-map-header-logo,
  .dgaia-news-logo{
    max-width:130px!important;
  }
}
