/* try to match your site colors a bit */
:root {
  --admin-bar: #1f2937;    /* dark top bar */
  --admin-link: #e5e7eb;
  --admin-link-hover: #fff;
}

.admin-brand { display:inline-flex; align-items:center; margin-right:10px; }
.admin-logo  { height:22px; display:block; }

.admin-topbar{
  background: var(--admin-bar);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-topbar a{
  color: var(--admin-link);
  text-decoration: none;
  margin-right: 16px;
  font-weight: 600;
}
.admin-topbar a:hover{ color: var(--admin-link-hover); }

/* ===================== Golden Template Dashboard (gtd-) ===================== */
.field-kopf label, .field-topologie label, .field-geraete label,
.field-aufgaben_tabelle label, .field-einsaetze label, .field-fassungen label { display: none; }
.field-kopf .readonly, .field-topologie .readonly, .field-geraete .readonly,
.field-aufgaben_tabelle .readonly, .field-einsaetze .readonly, .field-fassungen .readonly { margin-left: 0; width: 100%; }

.gtd-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 6px 0; font-size: 15px; }
.gtd-name { font-size: 1.9em; font-weight: 700; color: #1c6ea4; }
.gtd-fassung { font-size: 1.1em; font-weight: 600; padding: 3px 10px; border: 1px solid #999; border-radius: 6px; }
.gtd-pille { font-weight: 700; padding: 4px 12px; border-radius: 14px; font-size: 1em; }
.gtd-meta { color: #777; font-size: 1em; }

.gtd-kacheln { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.gtd-kachel { border: 1px solid #bbb; border-radius: 8px; padding: 8px 12px; min-width: 150px; font-size: 14px; line-height: 1.4; }
.gtd-kachel-name { font-weight: 700; font-size: 1.1em; color: #1c6ea4; }
.gtd-summe { font-weight: 700; font-size: 15px; margin: 6px 0; }

.gtd-topologie { width: 80%; max-width: 1200px; background: #fff; border: 1px solid #888; padding: 6px; }

.gtd-tabelle { border-collapse: collapse; font-size: 14px; margin-bottom: 6px; }
.gtd-tabelle th { text-align: left; padding: 4px 16px 4px 0; color: #1c6ea4; }
.gtd-tabelle td { padding: 4px 16px 4px 0; vertical-align: top; }
.gtd-pre { white-space: pre-wrap; max-height: 320px; overflow: auto; background: #1b1b1b; color: #eee; padding: 8px; border-radius: 4px; }

.gtd-fassungen { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.gtd-fassung-link { font-weight: 600; }
.gtd-fassung-diese { font-weight: 700; padding: 3px 10px; border-radius: 6px; background: #1c6ea4; color: #fff; }

.gtd-link { font-weight: 600; font-size: 14px; }
.gtd-text { font-size: 14px; line-height: 1.45; max-width: 900px; margin: 6px 0; }
.gtd-grau { color: #777; }
.gtd-klein { font-size: 12px; }
.gtd-rot { color: #d9534f; font-weight: 700; font-size: 15px; }
.gtd-gruen { color: #198754; font-weight: 700; font-size: 15px; }

.gtd-schritte .gtd-knopf { display: flex; align-items: flex-start; gap: 18px; padding: 10px 0; }
.gtd-btn { font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 6px; border: 0; cursor: pointer; white-space: nowrap; }
.gtd-btn-blau { background: #1c6ea4; color: #fff; }
.gtd-btn-grau { background: #6c757d; color: #fff; }
.gtd-sperre { color: #d9534f; }
