:root{--bg:#07111f;--panel:#0f1b2d;--border:rgba(255,255,255,.12);--text:#f8fafc;--muted:#9aa8bd;--accent:#0d6efd}
html,body{min-height:100%}
body{background:var(--bg);color:var(--text);padding-top:72px;padding-bottom:84px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{text-decoration:none}
.dlm-topbar{min-height:72px;background:rgba(7,17,31,.96);border-bottom:1px solid var(--border);backdrop-filter:blur(14px)}
.dlm-logo-wordmark{width:150px;height:auto;display:block}
.dlm-page{max-width:980px;margin:0 auto}
.card,.dlm-card{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:18px}
.btn{border-radius:12px}
.form-control,.form-select,.input-group-text,textarea{background:#0a1525!important;color:var(--text)!important;border-color:var(--border)!important;border-radius:12px}
.table{color:var(--text);font-size:.84rem}
.table th,.table td{border-color:var(--border)}
.dlm-bottom-nav{height:78px;background:rgba(7,17,31,.98);border-top:1px solid var(--border);backdrop-filter:blur(14px)}
.dlm-bottom-nav a,.dlm-bottom-nav button{color:var(--muted);font-size:.72rem;line-height:1.1;text-decoration:none}
.dlm-bottom-nav i{display:block;font-size:1.25rem;margin-bottom:.25rem}
.dlm-fab{width:58px;height:58px;border-radius:999px;margin-top:-30px}
.offcanvas{background:var(--bg);color:var(--text)}
.list-group-item{background:transparent;color:var(--text);border-color:var(--border);padding:1rem .25rem}
@media(max-width:576px){.container,.container-fluid{padding-left:16px;padding-right:16px}h1{font-size:1.75rem}.table{font-size:.78rem}}

/* Navbar logo crop/zoom */
.dlm-brand{
  width:180px;
  height:64px;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:12px;
}

.dlm-brand .dlm-logo-wordmark{
  width:180px;
  max-width:none;
  height:auto;
  transform:translate(0,-2px);
}

@media(max-width:576px){
  .dlm-brand{
    width:150px;
    height:60px;
  }

  .dlm-brand .dlm-logo-wordmark{
    width:150px;
    max-width:none;
    height:auto;
    transform:translate(0,-2px);
  }
}


/* Field workflow */
.dlm-workflow-title{
  margin-bottom:.25rem;
}

.dlm-workflow-subtitle{
  color:var(--muted);
  font-size:.875rem;
}

.dlm-sticky-actions{
  position:sticky;
  bottom:92px;
  z-index:10;
  background:linear-gradient(to top, var(--bg) 70%, rgba(7,17,31,0));
  padding-top:1rem;
  padding-bottom:.25rem;
}

.filepond--panel-root{
  background:#0a1525;
  border:1px solid var(--border);
}

.filepond--drop-label{
  color:var(--text);
}

pre{
  color:var(--text);
  background:#0a1525!important;
  border-color:var(--border)!important;
}
