:root {
  --green: #478955;
  --green-dark: #356c42;
  --green-soft: #eef7f0;
  --bg: #f5f7f6;
  --text: #202622;
  --muted: #6f7972;
  --line: #dfe5e1;
  --white: #ffffff;
  --shadow:
    0 10px 30px rgba(31,55,38,.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.auth-brand {
  justify-content: center;
  margin-bottom: 18px;
  font-size: 25px;
  font-weight: 900;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(
      135deg,
      #f8fbf8,
      #eef5ef
    );
}

.auth-card {
  width: min(430px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 28px;
}

.muted {
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
}

.stack input,
.stack select,
.search input {
  width: 100%;
  border: 1px solid #cfd8d1;
  background: white;
  border-radius: 10px;
  padding: 12px 13px;
  outline: none;
}

.stack input:focus,
.stack select:focus,
.search input:focus {
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(71,137,85,.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border-color: #ccd7cf;
  background: white;
  color: var(--text);
}

.button.full {
  width: 100%;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 650;
}

.text-link.compact {
  margin-top: 0;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 14px 0;
}

.alert.error {
  background: #fff0f0;
  color: #9b2d2d;
}

.alert.success {
  background: var(--green-soft);
  color: var(--green-dark);
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.sidebar-brand {
  padding:
    0 6px 24px;
  border-bottom:
    1px solid #edf0ee;
}

.sidebar-brand div {
  display: grid;
}

.sidebar-brand small {
  color: var(--muted);
  font-size: 11px;
}

.sidebar nav {
  display: grid;
  gap: 7px;
  padding-top: 22px;
}

.nav-item,
.nav-logout {
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 10px;
  padding: 11px 13px;
  color: #566158;
  font-weight: 650;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.sidebar-stat {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: var(--green-soft);
  display: grid;
  gap: 5px;
}

.sidebar-stat strong {
  color: var(--green-dark);
}

.sidebar-stat span {
  font-size: 13px;
  color: var(--muted);
}

.nav-logout {
  margin-top: 10px;
  width: 100%;
}

.main {
  margin-left: 224px;
  min-height: 100vh;
  padding: 28px;
}

.topbar {
  display: grid;
  grid-template-columns:
    1fr
    minmax(280px,430px)
    auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.admin-topbar {
  grid-template-columns:
    1fr auto;
}

.topbar h1 {
  font-size: 28px;
  margin: 0;
}

.topbar p {
  margin: 5px 0 0;
  color: var(--muted);
}

.search {
  display: flex;
  gap: 8px;
}

.search button {
  border: 0;
  border-radius: 10px;
  background: #eef2ef;
  padding: 0 14px;
  cursor: pointer;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar,
.mini-avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
}

.avatar {
  width: 40px;
  height: 40px;
}

.mini-avatar {
  width: 30px;
  height: 30px;
  margin-right: 9px;
}

.user-chip div {
  display: grid;
}

.user-chip small {
  color: var(--muted);
  font-size: 12px;
}

.job-grid {
  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );
  gap: 14px;
  margin-bottom: 18px;
}

.job-card,
.empty-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  box-shadow:
    0 3px 14px rgba(35,55,41,.03);
}

.job-card.selected {
  border-color: var(--green);
  box-shadow:
    0 0 0 2px rgba(71,137,85,.08);
}

.job-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.job-card > div:last-child {
  display: grid;
  grid-template-columns:
    1fr auto;
  column-gap: 12px;
  align-items: end;
  width: 100%;
}

.job-name {
  grid-column: 1/-1;
  font-weight: 700;
  margin-bottom: 10px;
}

.job-card strong {
  font-size: 26px;
}

.job-card small {
  color: var(--muted);
  align-self: center;
}

.content-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    360px;
  gap: 18px;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(35,55,41,.035);
}

.panel-head {
  padding: 18px 20px;
  border-bottom:
    1px solid #edf0ee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom:
    1px solid #eef1ef;
  font-size: 14px;
}

th {
  color: #718077;
  background: #fafbfa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.row-selected {
  background: #f3f9f4;
}

.row-link {
  font-weight: 700;
  display: flex;
  align-items: center;
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.status.new {
  background: #e6f5e9;
  color: #2f7b42;
}

.status.read {
  background: #eef1ef;
  color: #69736c;
}

.empty-row,
.detail-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

.detail-panel {
  padding: 20px;
  height: max-content;
  position: sticky;
  top: 20px;
}

.detail-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom:
    1px solid #edf0ee;
}

.detail-title h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-dark);
  font-weight: 800;
}

.details {
  margin: 0;
}

.details > div {
  padding: 14px 0;
  border-bottom:
    1px solid #eef1ef;
}

.details dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.details dd {
  margin: 0;
  font-weight: 650;
  word-break: break-word;
}

.actions {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns:
    380px 1fr;
  gap: 18px;
}

.form-pad {
  padding: 20px;
}

.user-list {
  display: grid;
}

.user-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom:
    1px solid #eef1ef;
}

.user-row > div:first-child {
  display: grid;
  gap: 4px;
}

.user-row span {
  font-size: 13px;
  color: var(--muted);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.small-button {
  border:
    1px solid #d5ded7;
  background: white;
  border-radius: 8px;
  padding: 7px 9px;
  cursor: pointer;
}

@media (max-width: 1100px) {

  .topbar {
    grid-template-columns:
      1fr auto;
  }

  .search {
    grid-column: 1/-1;
    grid-row: 2;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  .sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom:
      1px solid var(--line);
  }

  .sidebar-stat {
    display: none;
  }

  .main {
    margin-left: 0;
    padding: 18px;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .user-chip {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    display: block;
  }
}

/* ==================== BEGIN_APPLICANT_STATUS_STYLE_V1 ==================== */
/*
   Zweck:
   Zusätzliche Darstellung des Bewerberstatus.
   Bestehende Status-/Layout-Regeln bleiben unverändert.
*/

.applicant-status {
  white-space: nowrap;
}

.applicant-neu {
  background: #eef1ef;
  color: #606b64;
}

.applicant-kontaktiert {
  background: #fff5d9;
  color: #8a6815;
}

.applicant-gespraech_geplant {
  background: #e9f0ff;
  color: #315f9b;
}

.applicant-nicht_erreicht {
  background: #fff0df;
  color: #a25c18;
}

.applicant-eingestellt {
  background: #e4f5e8;
  color: #26713a;
}

.applicant-abgelehnt {
  background: #fdeaea;
  color: #a13737;
}

.applicant-status-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcfa;
}

.applicant-status-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.applicant-status-heading span {
  font-weight: 750;
}

.applicant-status-heading small {
  color: var(--muted);
}

.applicant-status-form {
  display: grid;
  gap: 10px;
}

.applicant-status-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfd8d1;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.applicant-status-form select:focus {
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(71,137,85,.12);
}

/* ===================== END_APPLICANT_STATUS_STYLE_V1 ===================== */

/* ==================== BEGIN_ADMIN_LEAD_DELETE_STYLE_V1 ==================== */

.admin-delete-zone {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eedada;
  display: grid;
  gap: 9px;
}

.admin-delete-label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #9a5a5a;
}

.button.danger {
  background: #fff;
  border-color: #d9aaaa;
  color: #9f3030;
}

.button.danger:hover {
  background: #fff1f1;
  border-color: #c87979;
}

/* ===================== END_ADMIN_LEAD_DELETE_STYLE_V1 ===================== */

/* ==================== BEGIN_APPLICANT_BADGES_V2 ==================== */
/*
   Deutlich sichtbare Recruiting-Status-Badges.
   Rein visuelle Erweiterung.
*/

.status.applicant-status {
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.status.applicant-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .9;
}

/* Neu */

.status.applicant-neu {
  background: #f1f3f2;
  border-color: #d9dfdb;
  color: #5f6962;
}

/* Kontaktiert */

.status.applicant-kontaktiert {
  background: #fff3c8;
  border-color: #ecd887;
  color: #8a6810;
}

/* Gespräch geplant */

.status.applicant-gespraech_geplant {
  background: #e4efff;
  border-color: #b9d1f5;
  color: #285e9f;
}

/* Nicht erreicht */

.status.applicant-nicht_erreicht {
  background: #ffead2;
  border-color: #f2c48f;
  color: #a6530c;
}

/* Eingestellt */

.status.applicant-eingestellt {
  background: #ddf4e3;
  border-color: #acd8b7;
  color: #23743a;
}

/* Abgelehnt */

.status.applicant-abgelehnt {
  background: #fde1e1;
  border-color: #efb5b5;
  color: #a42f2f;
}

/* Auch der bestehende Neu/Gelesen-Status etwas klarer */

.status.new {
  border: 1px solid #b9ddc1;
  background: #e2f4e6;
  color: #28743b;
}

.status.read {
  border: 1px solid #d7ddda;
  background: #f0f2f1;
  color: #626d66;
}

/* ===================== END_APPLICANT_BADGES_V2 ===================== */

/* ==================== BEGIN_RECRUITING_METRICS_STYLE_V1 ==================== */

.metric-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow:
    0 3px 14px rgba(35,55,41,.035);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.metric-card strong {
  font-size: 27px;
  line-height: 1;
}

.metric-label {
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
}

.metric-new {
  border-top: 3px solid #7c8981;
}

.metric-interview {
  border-top: 3px solid #3f75b5;
}

.metric-hired {
  border-top: 3px solid #3e8b51;
}

@media (max-width: 760px) {

  .metric-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .metric-card {
    min-height: 82px;
    padding: 12px 10px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .metric-label {
    font-size: 11px;
    line-height: 1.25;
  }
}

/* ===================== END_RECRUITING_METRICS_STYLE_V1 ===================== */

/* ==================== BEGIN_MOBILE_DASHBOARD_STYLE_V2 ==================== */

/*
   Mobile App-Darstellung.
   Desktop bleibt unverändert.
*/

.mobile-appbar,
.mobile-bottom-nav,
.mobile-lead-list {
  display: none;
}

@media (max-width: 760px) {

  html {
    scroll-behavior: smooth;
  }

  body {
    padding-bottom: 78px;
  }

  /* Alte Desktop-Sidebar auf Smartphones ausblenden */

  .sidebar {
    display: none;
  }

  /* Kompakte Kopfzeile */

  .mobile-appbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 64px;
    padding: 10px 14px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    backdrop-filter: blur(12px);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }

  .mobile-brand .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 19px;
    flex: 0 0 38px;
  }

  .mobile-brand-copy {
    display: grid;
    line-height: 1.05;
  }

  .mobile-brand-copy strong {
    color: var(--green-dark);
    font-size: 15px;
  }

  .mobile-brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
  }

  .mobile-logout {
    min-height: 40px;
    border: 1px solid #d8dfda;
    border-radius: 10px;
    padding: 0 12px;
    background: white;
    color: #5e6961;
    font-size: 12px;
    font-weight: 750;
  }

  /* Hauptbereich */

  .main {
    margin-left: 0;
    padding: 18px 14px 26px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }

  .topbar h1 {
    font-size: 25px;
    line-height: 1.08;
  }

  .topbar p {
    font-size: 14px;
  }

  .user-chip {
    display: none;
  }

  /* Suche größere Touch-Flächen */

  .search {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    width: 100%;
  }

  .search input {
    min-height: 46px;
    font-size: 16px;
  }

  .search button {
    min-height: 46px;
    padding: 0 16px;
    font-weight: 700;
  }

  /* Kennzahlen */

  .metric-grid {
    gap: 8px;
    margin-bottom: 14px;
  }

  .metric-card {
    min-height: 78px;
    padding: 11px 10px;
    border-radius: 12px;
  }

  .metric-card strong {
    font-size: 25px;
  }

  .metric-label {
    font-size: 10px;
    line-height: 1.2;
  }

  /* Stellen */

  .job-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .job-card,
  .empty-card {
    min-height: 88px;
    padding: 14px;
    border-radius: 13px;
  }

  .job-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .job-card strong {
    font-size: 24px;
  }

  /* Inhalt */

  .content-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .panel {
    border-radius: 14px;
  }

  .panel-head {
    padding: 15px 16px;
  }

  /* Desktop-Tabelle mobil komplett ersetzen */

  .table-wrap {
    overflow: visible;
  }

  .table-wrap > table {
    display: none;
  }

  .mobile-lead-list {
    display: grid;
    gap: 9px;
    padding: 10px;
  }

  .mobile-lead-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e1e7e3;
    border-radius: 13px;
    background: white;
    box-shadow:
      0 2px 8px rgba(35,55,41,.025);
  }

  .mobile-lead-card.selected {
    border-color: #b9d7c0;
    background: #f3f9f4;
    box-shadow:
      0 0 0 2px rgba(71,137,85,.06);
  }

  .mobile-lead-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-lead-person {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .mobile-lead-person .mini-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin-right: 10px;
  }

  .mobile-lead-person > div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-lead-person strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .mobile-lead-person small {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-lead-card .applicant-status {
    flex: 0 0 auto;
    font-size: 10px;
    padding: 5px 8px;
  }

  .mobile-lead-card .applicant-status::before {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }

  .mobile-lead-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
    padding-top: 10px;
    border-top: 1px solid #edf1ee;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-lead-empty {
    padding: 28px 15px;
    text-align: center;
    color: var(--muted);
  }

  /* Detailansicht */

  .detail-panel {
    position: static;
    padding: 17px;
    scroll-margin-top: 76px;
  }

  .detail-title {
    padding-bottom: 15px;
  }

  .detail-title h2 {
    font-size: 22px;
  }

  .details > div {
    padding: 13px 0;
  }

  .details dt {
    font-size: 11px;
  }

  .details dd {
    margin-top: 3px;
    font-size: 15px;
    line-height: 1.35;
  }

  .applicant-status-box {
    margin-top: 15px;
    padding: 14px;
  }

  .applicant-status-form select,
  .applicant-status-form .button {
    min-height: 48px;
  }

  .applicant-status-form select {
    font-size: 16px;
  }

  .actions {
    gap: 9px;
  }

  .actions .button {
    min-height: 49px;
  }

  .admin-delete-zone .button {
    min-height: 49px;
  }

  /* Platz für Sprung aus der Bottom-Navigation */

  #bewerber {
    scroll-margin-top: 76px;
  }

  /* Feste Navigation am unteren Rand */

  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    min-height: 66px;
    padding:
      6px
      max(7px, env(safe-area-inset-right))
      calc(6px + env(safe-area-inset-bottom))
      max(7px, env(safe-area-inset-left));
    border-top: 1px solid #dfe5e1;
    background: rgba(255,255,255,.97);
    box-shadow:
      0 -8px 24px rgba(25,45,32,.07);
    backdrop-filter: blur(12px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }

  .mobile-nav-item {
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 10px;
    color: #69736c;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-nav-item.active {
    color: var(--green-dark);
    background: var(--green-soft);
  }

  .mobile-nav-symbol {
    font-size: 20px;
    line-height: 1;
  }
}

/* ===================== END_MOBILE_DASHBOARD_STYLE_V2 ===================== */

/* ==================== BEGIN_BIOTEC_BRANDING_STYLE_V1 ==================== */

.brand-logo {
  display: block;
  object-fit: contain;
}

.branded-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.brand-logo-sidebar {
  width: 118px;
  max-width: 100%;
  height: auto;
}

.brand-subtitle {
  margin-left: 3px;
  color: var(--muted);
  font-size: 11px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.brand-logo-auth {
  width: 190px;
  max-width: 75%;
  height: auto;
}

.mobile-nav-symbol {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}

.mobile-nav-symbol svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {

  .brand-logo-mobile {
    width: 105px;
    max-width: 34vw;
    height: auto;
  }

  .mobile-brand {
    gap: 8px;
  }

  .mobile-brand-copy {
    display: grid;
  }

  .mobile-brand-copy small {
    margin-top: 2px;
    font-size: 10px;
    color: var(--muted);
  }

}

/* ===================== END_BIOTEC_BRANDING_STYLE_V1 ===================== */

/* ==================== BEGIN_FINAL_UI_POLISH_V1 ==================== */
/*
   Finaler rein optischer Feinschliff.
   Keine Änderung an Funktionen oder Daten.
*/

/* Branding etwas ausgewogener */

.brand-logo-sidebar {
  width: 108px;
}

.brand-logo-auth {
  width: 165px;
  max-width: 68%;
}

/* Bessere Tastatur-/Accessibility-Rückmeldung */

.button:focus-visible,
.nav-item:focus-visible,
.mobile-nav-item:focus-visible,
.mobile-lead-card:focus-visible,
.search button:focus-visible,
.mobile-logout:focus-visible {
  outline: 3px solid rgba(71,137,85,.22);
  outline-offset: 2px;
}

/* Dezenter Interaktionszustand */

.mobile-lead-card {
  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}

@media (hover: hover) {

  .mobile-lead-card:hover {
    border-color: #b8d4bf;
    background: #f8fbf8;
  }

}

/* Smartphone */

@media (max-width: 760px) {

  .mobile-appbar {
    min-height: 58px;
    padding: 8px 14px;
  }

  .brand-logo-mobile {
    width: 88px;
    max-width: 29vw;
  }

  .mobile-brand-copy small {
    font-size: 10px;
    line-height: 1.1;
  }

  .mobile-logout {
    min-height: 38px;
    padding: 0 11px;
  }

  .main {
    padding-top: 16px;
  }

  .topbar h1 {
    font-size: 24px;
  }

  .auth-card {
    padding: 30px 28px;
  }

  .brand-logo-auth {
    width: 145px;
    max-width: 62%;
  }

  .auth-logo {
    margin-bottom: 16px;
  }

  .mobile-bottom-nav {
    min-height: 64px;
  }

  .mobile-nav-item {
    min-height: 50px;
  }

}

/* Sehr schmale Smartphones */

@media (max-width: 390px) {

  .metric-card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .metric-label {
    font-size: 9.5px;
  }

  .mobile-nav-item {
    font-size: 9px;
  }

}

/* ===================== END_FINAL_UI_POLISH_V1 ===================== */
