﻿:root {
  --blue: #183863;
  --blue-2: #23558e;
  --blue-soft: #e9f2fb;
  --orange: #d97706;
  --cream: #f7f4e8;
  --white: #ffffff;
  --ink: #10213a;
  --muted: #607089;
  --line: rgba(24, 56, 99, 0.16);
  --shadow: 0 18px 50px rgba(16, 33, 58, 0.12);
}

/* Benutzerlevel Verwaltung */
.blevel-page .employee-sidebar-icon,
.blevel-page .employee-corner-logo {
  filter: drop-shadow(0 10px 18px rgba(24, 56, 99, 0.22));
}

.blevel-shell .employee-app-main {
  overflow: hidden;
}

.blevel-level-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.blevel-level-tabs .employee-pill-button {
  min-width: 118px;
  padding-inline: 18px;
}

.blevel-level-tabs .employee-pill-button.is-active {
  border-color: rgba(25, 93, 160, 0.46);
  color: #183863;
  box-shadow:
    0 0 0 3px rgba(96, 165, 250, 0.15),
    0 14px 24px rgba(24, 56, 99, 0.16);
}

.blevel-editor {
  display: grid;
  gap: 14px;
}

.blevel-form-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(260px, 1.4fr) minmax(150px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
}

.blevel-form-row label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.blevel-form-row input,
.blevel-form-row select,
.blevel-note {
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9));
  box-shadow: inset 1px 3px 8px rgba(15, 23, 42, 0.1);
  color: #10213a;
  font: inherit;
  padding: 0 14px;
  outline: none;
}

.blevel-form-row input:focus,
.blevel-form-row select:focus,
.blevel-note:focus {
  border-color: rgba(47, 128, 201, 0.52);
  box-shadow:
    inset 1px 3px 8px rgba(15, 23, 42, 0.08),
    0 0 0 3px rgba(47, 128, 201, 0.12);
}

.blevel-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blevel-quick-actions .employee-pill-button {
  min-width: 150px;
  padding-inline: 18px;
}

.blevel-table-shell {
  max-height: calc(100vh - 360px);
}

.blevel-table {
  min-width: 1040px;
}

.blevel-table th,
.blevel-table td {
  vertical-align: middle;
}

.blevel-table td:first-child {
  min-width: 220px;
}

.blevel-table td:first-child strong,
.blevel-table td:first-child span {
  display: block;
}

.blevel-table td:first-child strong {
  color: #10213a;
  font-weight: 850;
}

.blevel-table td:first-child span {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.blevel-check {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.blevel-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.blevel-check span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(24, 56, 99, 0.24);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 16px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.blevel-check span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: rotate(42deg) scale(0.7);
  transition: opacity 160ms ease, transform 180ms ease;
}

.blevel-check input:checked + span {
  border-color: rgba(47, 128, 201, 0.72);
  background: linear-gradient(135deg, #183863, #2f80c9);
  box-shadow:
    0 0 0 3px rgba(47, 128, 201, 0.12),
    0 10px 18px rgba(47, 128, 201, 0.2);
}

.blevel-check input:checked + span::after {
  opacity: 1;
  transform: rotate(42deg) scale(1);
}

.blevel-note {
  min-width: 170px;
}

.blevel-summary li,
.blevel-info-panel {
  color: #64748b;
}

.blevel-info-panel {
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .blevel-form-row {
    grid-template-columns: 1fr;
  }

  .blevel-table-shell {
    max-height: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f9fbfd 0%, var(--cream) 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.auth-login-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 8px;
  padding: 0 14px;
  border: 1px solid rgba(47, 128, 201, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #183863;
  font-weight: 900;
}

.logon-status {
  min-height: 32px;
  margin: 2px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(47, 128, 201, 0.16);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.72);
  color: #183863;
  font-size: 0.88rem;
  font-weight: 800;
}

.logon-card.has-error .logon-status {
  border-color: rgba(217, 119, 6, 0.3);
  background: rgba(255, 247, 237, 0.84);
  color: #92400e;
}

.logon-secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96) 55%, rgba(226, 232, 240, 0.98)) !important;
  color: #183863 !important;
  border: 1px solid rgba(24, 56, 99, 0.18) !important;
  box-shadow:
    0 12px 24px rgba(16, 33, 58, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

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

.intranet-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 48, 86, 0.88);
  box-shadow: 0 18px 55px rgba(4, 20, 40, 0.16);
  backdrop-filter: blur(18px);
}

.app-nav {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(660px, 720px) auto;
  align-items: center;
}

html.auth-nav-locked .main-nav > :not(a[href="index.html"]):not(a[href="#hero"]),
body.auth-nav-locked .main-nav > :not(a[href="index.html"]):not(a[href="#hero"]) {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.auth-nav-locked .main-nav a[href="index.html"],
html.auth-nav-locked .main-nav a[href="#hero"],
body.auth-nav-locked .main-nav a[href="index.html"],
body.auth-nav-locked .main-nav a[href="#hero"] {
  display: inline-flex !important;
}

html.auth-nav-locked .nav-dropdown,
body.auth-nav-locked .nav-dropdown {
  display: inline-flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.auth-nav-locked [data-extras-toggle],
html.auth-nav-locked [data-extras-panel] {
  display: none !important;
}

.app-brand {
  min-width: 220px;
}

.app-brand > img {
  width: 82px;
  height: 82px;
  margin: -10px 0 -28px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(16, 33, 58, 0.18));
}

.brand.app-brand > img {
  width: 82px;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.main-nav > a[hidden],
.main-nav > .nav-dropdown[hidden] {
  display: inline-flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.main-nav > .is-nav-placeholder {
  visibility: hidden !important;
  pointer-events: none !important;
}

.main-nav > .is-nav-placeholder .nav-dropdown-menu {
  display: none !important;
}

.nav-actions {
  position: relative;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  min-width: 210px;
}

.nav-logon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 56, 99, 0.98), rgba(35, 85, 142, 0.88) 52%, rgba(11, 32, 61, 0.96)),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.nav-extras-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 56, 99, 0.98), rgba(35, 85, 142, 0.88) 52%, rgba(11, 32, 61, 0.96)),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.nav-extras-button:hover,
.nav-extras-button:focus-visible,
.nav-extras-button[aria-expanded="true"] {
  border-color: rgba(140, 203, 242, 0.72);
  box-shadow: 0 18px 42px rgba(16, 33, 58, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  outline: 0;
  transform: translateY(-2px);
}

.nav-extras-button img {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(16, 33, 58, 0.28));
}

.nav-logon-button::before,
.nav-extras-button::before,
.nav-logon-button::after,
.nav-extras-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.nav-logon-button::before,
.nav-extras-button::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%);
  opacity: 0.5;
  transition: opacity 180ms ease;
}

.nav-logon-button::after,
.nav-extras-button::after {
  top: -32%;
  bottom: -32%;
  left: -82%;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0;
  transform: rotate(20deg);
}

.nav-logon-button:hover::before,
.nav-logon-button:focus-visible::before,
.nav-extras-button:hover::before,
.nav-extras-button:focus-visible::before,
.nav-extras-button[aria-expanded="true"]::before {
  opacity: 1;
}

.nav-logon-button:hover::after,
.nav-logon-button:focus-visible::after,
.nav-extras-button:hover::after,
.nav-extras-button:focus-visible::after,
.nav-extras-button[aria-expanded="true"]::after {
  opacity: 1;
  animation: widmann-button-shine 820ms ease forwards;
}

@keyframes widmann-button-shine {
  0% {
    left: -82%;
  }
  100% {
    left: 118%;
  }
}

.nav-extras-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: clamp(18px, 4vw, 58px);
  z-index: 3200;
  width: min(360px, calc(100vw - 32px));
  padding: 2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(24, 56, 99, 0.92), rgba(35, 85, 142, 0.78));
  box-shadow: 0 28px 70px rgba(16, 33, 58, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-extras-button[hidden],
.nav-extras-panel[hidden] {
  display: none !important;
}

.nav-extras-panel:not([hidden]),
.nav-extras-panel[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-extras-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 22px 24px;
  padding: 30px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(233, 242, 251, 0.95), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  color: var(--ink);
}

.nav-extras-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-extras-separator {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin: 2px 0 0;
  background: linear-gradient(90deg, transparent, rgba(24, 56, 99, 0.22), transparent);
}

.nav-extras-card a,
.nav-extras-card button {
  min-height: 96px;
  display: grid;
  grid-template-rows: 48px auto;
  place-items: center;
  gap: 10px;
  padding: 6px 4px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.nav-extras-card a:hover,
.nav-extras-card a:focus-visible,
.nav-extras-card button:hover,
.nav-extras-card button:focus-visible {
  outline: 0;
  color: var(--blue);
  filter: drop-shadow(0 12px 18px rgba(24, 56, 99, 0.16));
  transform: translateY(-3px);
}

.nav-extras-card a img,
.nav-extras-card button img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(16, 33, 58, 0.14));
}

.nav-extras-card a span,
.nav-extras-card button span {
  max-width: 100%;
  display: block;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 620px) {
  .nav-extras-card {
    grid-template-columns: repeat(2, minmax(96px, 1fr));
  }
}

.nav-logon-button:hover,
.nav-logon-button:focus-visible {
  border-color: rgba(140, 203, 242, 0.72);
  box-shadow: 0 18px 42px rgba(16, 33, 58, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  outline: 0;
  transform: translateY(-2px);
}

.nav-logon-button img {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(16, 33, 58, 0.28));
}

.nav-language-switch {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  width: 148px;
  min-width: 148px;
  height: 64px;
  padding: 12px 62px 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(24, 56, 99, 0.98), rgba(35, 85, 142, 0.94)),
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.18), transparent 42%);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 1px 1px 4px rgba(255, 255, 255, 0.16),
    inset -1px -1px 8px rgba(4, 20, 40, 0.3),
    0 12px 28px rgba(20, 20, 20, 0.1),
    0 0 24px rgba(47, 128, 201, 0.22);
  color: var(--white);
  cursor: default;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.nav-language-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, #183863, #2f80c9);
  box-shadow:
    0 0 0 0 inset rgba(5, 15, 35, 0.1),
    -0.05em -0.05em 0.05em 0 inset rgba(4, 20, 40, 0.28),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.13),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.42),
    0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.16),
    -0.075em -0.25em 0.25em 0.1em inset rgba(4, 20, 40, 0.28);
  transition: box-shadow 300ms ease, clip-path 250ms ease, transform 250ms ease;
}

.nav-language-switch::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(-135deg, rgba(5, 5, 5, 0.34), transparent 22%, transparent 100%);
  filter: blur(0.0125em);
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.nav-language-switch:hover {
  transform: translateY(-2px);
}

.nav-language-switch:hover::before {
  clip-path: inset(1px 1px 1px 1px round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.26),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.18),
    0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.14),
    0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.12),
    0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.18),
    -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.16);
}

.nav-language-switch span {
  position: relative;
  z-index: 2;
}

.nav-language-switch .flag-language-switch__code {
  color: rgba(255, 244, 244, 0.78);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nav-language-switch .flag-language-switch__label {
  color: #fff7f4;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-language-switch img {
  position: absolute;
  right: -2px;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 247, 244, 0.92);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(20, 20, 20, 0.18), 0 0 14px rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.main-nav a,
.nav-dropdown > a {
  padding: 11px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav .nav-digital-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.main-nav .nav-digital-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(16, 33, 58, 0.18));
}

.digital-twin-shell {
  min-height: calc(100vh - 76px);
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(18px, 1.7vw, 30px);
  background: linear-gradient(180deg, #f7fbff 0%, #eef3f8 100%);
}

.digital-twin-page .digital-twin-shell {
  max-width: none;
  margin: 0;
  padding: 18px 12px 30px;
}

.digital-twin-page .digital-twin-head,
.digital-twin-page .digital-workspace,
.digital-twin-page .digital-dashboard-launcher,
.digital-twin-page .digital-content-flow {
  width: 100%;
}

.digital-twin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  padding: 24px clamp(22px, 3vw, 34px);
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(140, 203, 242, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.digital-twin-head h1 {
  margin: 0;
  color: #10213a;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.digital-twin-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
  color: #607089;
  font-weight: 700;
  line-height: 1.6;
}

.digital-twin-head > img {
  width: clamp(74px, 8vw, 126px);
  height: clamp(74px, 8vw, 126px);
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(24, 56, 99, 0.18));
}

.digital-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.digital-content-flow {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.digital-principle-card,
.digital-map-card,
.digital-vision-card,
.digital-phase-grid article,
.digital-task-panel {
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(140, 203, 242, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.digital-principle-card,
.digital-map-card,
.digital-vision-card {
  padding: clamp(22px, 2.6vw, 34px);
}

.digital-principle-card h2,
.digital-map-card h2,
.digital-vision-card h2,
.digital-task-panel h2 {
  margin: 0;
  color: #10213a;
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  line-height: 1;
  font-weight: 950;
}

.digital-principle-card p,
.digital-map-card p,
.digital-vision-card p,
.digital-phase-grid p {
  color: #607089;
  font-weight: 700;
  line-height: 1.62;
}

.digital-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.digital-flow-steps li {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 128, 201, 0.16);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.82);
  color: #183863;
  font-size: 0.82rem;
  font-weight: 900;
}

.digital-note {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid #2f80c9;
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.76);
}

.digital-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.digital-card-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(47, 128, 201, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(225, 236, 248, 0.86));
  color: #183863;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(47, 128, 201, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.digital-card-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 128, 201, 0.42);
  box-shadow: 0 14px 30px rgba(47, 128, 201, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

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

.digital-principle-grid section {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(47, 128, 201, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.digital-principle-grid h3 {
  margin: 0 0 8px;
  color: #10213a;
  font-size: 0.98rem;
  font-weight: 950;
}

.digital-principle-grid p {
  margin: 0;
  font-size: 0.86rem;
}

.digital-map-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 22px;
}

.digital-map-card pre {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: #10213a;
  color: #e9f2fb;
  font: 800 0.92rem/1.55 "Consolas", "SFMono-Regular", monospace;
  white-space: pre-wrap;
}

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

.digital-phase-grid article {
  padding: clamp(20px, 2vw, 28px);
}

.digital-phase-grid article.is-phase-done {
  border-color: rgba(54, 157, 101, 0.28);
  background:
    radial-gradient(circle at 10% 0%, rgba(54, 157, 101, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.9);
}

.digital-phase-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.digital-phase-grid article span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 128, 201, 0.1);
  color: #183863;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.digital-phase-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.digital-phase-done {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 4px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #607089;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(24, 56, 99, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.digital-phase-done::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1px solid rgba(24, 56, 99, 0.2);
  border-radius: 999px;
  background: transparent;
}

.digital-phase-done:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(24, 56, 99, 0.12);
}

.digital-phase-done.is-done {
  border-color: rgba(54, 157, 101, 0.32);
  background: rgba(236, 253, 245, 0.9);
  color: #1f7a4c;
}

.digital-phase-done.is-done::before {
  border-color: #369d65;
  background: #369d65;
  box-shadow: 0 0 0 4px rgba(54, 157, 101, 0.12);
}

.digital-phase-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid rgba(24, 56, 99, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 3px rgba(24, 56, 99, 0.06);
}

.digital-phase-status button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid rgba(24, 56, 99, 0.18);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(24, 56, 99, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.digital-phase-status button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(24, 56, 99, 0.12);
}

.digital-phase-status button.is-active[data-status="red"] {
  border-color: rgba(202, 61, 86, 0.55);
  background: #ca3d56;
  box-shadow: 0 0 0 4px rgba(202, 61, 86, 0.12);
}

.digital-phase-status button.is-active[data-status="orange"] {
  border-color: rgba(236, 149, 55, 0.62);
  background: #ec9537;
  box-shadow: 0 0 0 4px rgba(236, 149, 55, 0.14);
}

.digital-phase-status button.is-active[data-status="green"] {
  border-color: rgba(54, 157, 101, 0.6);
  background: #369d65;
  box-shadow: 0 0 0 4px rgba(54, 157, 101, 0.13);
}

.digital-phase-grid h3 {
  margin: 0 0 8px;
  color: #10213a;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  font-weight: 950;
}

.digital-phase-grid p {
  margin: 0;
  font-size: 0.94rem;
}

.digital-phase-body {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.digital-phase-main {
  min-width: 0;
}

.digital-phase-details {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.digital-phase-details div {
  padding: 13px 14px;
  border: 1px solid rgba(47, 128, 201, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.digital-phase-details dt {
  margin: 0 0 4px;
  color: #183863;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.digital-phase-details dd {
  margin: 0;
  color: #607089;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.45;
}

.digital-phase-tasks {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.digital-phase-tasks h4 {
  margin: 0 0 4px;
  color: #10213a;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.digital-phase-tasks label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.digital-phase-tasks input {
  width: 18px;
  height: 18px;
  accent-color: #2f80c9;
}

.digital-phase-tasks label:has(input:checked) {
  border-color: rgba(47, 128, 201, 0.22);
  background: rgba(239, 246, 255, 0.88);
  color: #183863;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(47, 128, 201, 0.34);
}

.digital-outcome-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.digital-outcome-row span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.84);
  color: #183863;
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
}

.digital-task-panel {
  position: relative;
  top: auto;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2vw, 26px);
}

.digital-task-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 4px;
}

.digital-task-head .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.digital-task-head button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(24, 56, 99, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #183863;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.digital-task-intro {
  margin: -4px 0 0;
  max-width: 920px;
  color: #607089;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.55;
}

.digital-task-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.digital-task-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.digital-task-group h3 {
  margin: 0 0 4px;
  color: #10213a;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.15;
}

.digital-task-group label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.digital-task-group input {
  width: 18px;
  height: 18px;
  accent-color: #2f80c9;
}

.digital-task-group label:has(input:checked) {
  border-color: rgba(47, 128, 201, 0.22);
  background: rgba(239, 246, 255, 0.88);
  color: #183863;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(47, 128, 201, 0.34);
}

@media (max-width: 1180px) {
  .digital-workspace,
  .digital-map-card,
  .digital-phase-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .digital-flow-steps,
  .digital-phase-grid,
  .digital-outcome-row,
  .digital-task-board,
  .digital-principle-grid {
    grid-template-columns: 1fr;
  }
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown:hover > a,
.nav-dropdown[data-open="1"] > a,
.nav-dropdown:focus-within > a {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  padding-bottom: 28px;
  margin-bottom: -28px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  z-index: 40;
  width: 270px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(16, 33, 58, 0.94);
  box-shadow: 0 24px 70px rgba(4, 20, 40, 0.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease 80ms, transform 180ms ease 80ms;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 32px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown[data-open="1"] .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  text-align: left;
  text-transform: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 12px;
  color: var(--blue);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: stretch;
  min-height: 520px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-copy p {
  max-width: 760px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--blue);
}

.status-panel,
.note-panel,
.section-band {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 28px;
}

.status-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.status-panel div {
  padding: 14px;
  border-radius: 16px;
  background: var(--blue-soft);
}

.status-panel dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-panel dd {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.section-band {
  margin-top: 34px;
  padding: 32px;
}

.section-head {
  max-width: 760px;
}

.flow-grid,
.department-grid,
.info-layout,
.quick-links {
  display: grid;
  gap: 16px;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid article,
.department-grid article,
.info-layout article,
.quick-links a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.flow-grid span {
  color: var(--orange);
  font-weight: 900;
}

.flow-grid h3,
.department-grid h2,
.info-layout h2 {
  margin: 8px 0 8px;
  color: var(--blue);
}

.quick-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.quick-links strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.2rem;
}

.quick-links span {
  color: var(--muted);
}

.page-title {
  max-width: 850px;
  margin-bottom: 32px;
}

.department-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-grid ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.info-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.note-panel {
  margin-top: 28px;
  padding: 30px;
}

.simulator-page {
  width: min(1500px, calc(100% - 40px));
}

.simulator-page-full {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 76px);
  margin: 0;
  padding: 0;
}

.simulator-title {
  display: grid;
  gap: 10px;
}

.simulator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.simulator-frame-shell {
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.simulator-page-full .simulator-frame-shell {
  height: calc(100vh - 76px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.simulator-frame {
  display: block;
  width: 100%;
  height: min(980px, calc(100vh - 170px));
  min-height: 680px;
  border: 0;
  border-radius: 14px;
  background: #eef4fb;
}

.simulator-page-full .simulator-frame {
  height: calc(100vh - 76px);
  min-height: 0;
  border-radius: 0;
}

.logon-intranet-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(47, 128, 201, 0.12), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(217, 119, 6, 0.10), transparent 24%),
    linear-gradient(135deg, #f9fbfd 0%, #eef4fb 52%, var(--cream) 100%);
}

.logon-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
}

.logon-fruit-rain {
  position: fixed;
  top: 76px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.logon-fruit-rain img {
  position: absolute;
  top: -140px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 18px 24px rgba(16, 33, 58, 0.16));
  transform: translate3d(0, -140px, 0) rotate(var(--rot));
  animation: logon-fruit-fall var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.logon-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

@keyframes logon-fruit-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -150px, 0) rotate(var(--rot));
  }
  9% {
    opacity: 0.78;
  }
  88% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), calc(100vh + 170px), 0) rotate(calc(var(--rot) + 390deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logon-fruit-rain img {
    animation: none;
    top: auto;
    bottom: 8%;
    opacity: 0.22;
    transform: rotate(var(--rot));
  }
}

.logon-copy h1 {
  max-width: 760px;
}

.logon-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.logon-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(16, 33, 58, 0.16);
  backdrop-filter: blur(18px);
}

.logon-logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.logon-logo-mark img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(16, 33, 58, 0.16));
}

.logon-card label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.logon-card input,
.logon-card select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.logon-card input:focus,
.logon-card select:focus {
  border-color: rgba(35, 85, 142, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 128, 201, 0.14);
}

.logon-password-field {
  position: relative;
  display: block;
}

.logon-password-field input {
  padding-right: 58px;
}

.logon-card .logon-password-preview {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(25, 93, 160, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(24, 56, 99, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.logon-card .logon-password-preview:hover,
.logon-card .logon-password-preview:focus-visible,
.logon-card .logon-password-preview[aria-pressed="true"] {
  border-color: rgba(25, 93, 160, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 24px rgba(24, 56, 99, 0.18);
  outline: none;
}

.logon-password-preview img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  pointer-events: none;
}

.logon-card button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(35, 85, 142, 0.88);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 128, 201, 0.98), rgba(24, 56, 99, 0.98));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(24, 56, 99, 0.24),
    0.0375em 0.0375em 0.0675em 0 rgba(24, 56, 99, 0.16),
    0 14px 26px rgba(24, 56, 99, 0.22);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-shadow: rgba(0, 0, 0, 0.18) 0 1px 1px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.logon-card button[hidden] {
  display: none !important;
}

.logon-card button::before,
.logon-card button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.logon-card button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(47, 128, 201, 0.98), rgba(24, 56, 99, 0.98));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(11, 32, 61, 0.22),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.14),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.38),
    0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.12),
    -0.075em -0.25em 0.25em 0.1em inset rgba(11, 32, 61, 0.24);
  transition:
    box-shadow 300ms ease,
    clip-path 250ms ease,
    transform 250ms ease,
    opacity 250ms ease;
}

.logon-card button::after {
  z-index: -2;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  background: linear-gradient(-135deg, rgba(5, 5, 5, 0.22), transparent 22%, transparent 100%);
  filter: blur(0.0125em);
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.logon-card button:hover,
.logon-card button:focus-visible {
  border-color: rgba(140, 203, 242, 0.84);
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(24, 56, 99, 0.26),
    0.0375em 0.0375em 0.0675em 0 rgba(24, 56, 99, 0.18),
    0 18px 30px rgba(24, 56, 99, 0.26);
  outline: none;
  transform: translateY(-2px);
}

.logon-card button:hover::before,
.logon-card button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.2),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.12),
    0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.08),
    0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.12),
    0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.18),
    -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.1);
}

.logon-card button:active {
  transform: translateY(0) scale(0.98);
}

.logon-card .logon-secondary {
  border-color: rgba(24, 56, 99, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 251, 0.96)) !important;
  color: #344054 !important;
  text-shadow: none;
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 10px 18px rgba(20, 20, 20, 0.08) !important;
}

.logon-card .logon-secondary::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 241, 239, 0.72));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.12),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.32),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.8),
    0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.28),
    -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.1);
}

.logon-card .logon-secondary:hover,
.logon-card .logon-secondary:focus-visible {
  border-color: #b7c6dc !important;
  color: #183863 !important;
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 14px 24px rgba(20, 20, 20, 0.1) !important;
}

.logon-card .logon-password-preview {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-shadow: none;
  cursor: pointer;
  isolation: auto;
  overflow: visible;
  transform: translateY(-50%);
  transition: opacity 160ms ease, filter 160ms ease;
}

.logon-card .logon-password-preview::before,
.logon-card .logon-password-preview::after {
  content: none;
}

.logon-card .logon-password-preview:hover,
.logon-card .logon-password-preview:focus-visible,
.logon-card .logon-password-preview[aria-pressed="true"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(24, 56, 99, 0.18));
  transform: translateY(-50%);
}

.logon-card .logon-password-preview img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.54;
  filter: none;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.logon-card .logon-password-preview:hover img,
.logon-card .logon-password-preview:focus-visible img,
.logon-card .logon-password-preview[aria-pressed="true"] img {
  opacity: 0.82;
}

.logon-forgot-panel {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(239, 246, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.logon-forgot-panel[hidden] {
  display: none;
}

.logon-forgot-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.logon-forgot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.logon-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -24px;
  padding-bottom: 70px;
}

.logon-info-grid article {
  padding: 22px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.logon-info-grid h2 {
  font-size: 1.15rem;
}

.logon-info-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.employee-area {
  width: min(1180px, calc(100% - 40px));
}

.employee-profile-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.employee-profile-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.employee-profile-grid img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 22px rgba(16, 33, 58, 0.15));
}

.employee-profile-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.employee-admin {
  width: min(1480px, calc(100% - 40px));
}

.employee-admin-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
  padding: 26px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow);
}

.employee-admin-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.employee-admin-hero > img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(16, 33, 58, 0.14));
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.18);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.employee-stat-card {
  padding: 20px 22px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 33, 58, 0.08);
}

.employee-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.employee-stat-card strong {
  color: var(--blue);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.employee-admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
}

.employee-form-card,
.employee-table-card {
  padding: 26px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.employee-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.employee-card-head h2 {
  margin: 0;
}

.employee-card-head img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.employee-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.employee-form-card label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.employee-form-card input,
.employee-form-card select,
.employee-table select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.employee-form-card input:focus,
.employee-form-card select:focus,
.employee-table select:focus {
  border-color: rgba(35, 85, 142, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 128, 201, 0.13);
}

.employee-generated {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.employee-generated div {
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 18px;
  background: var(--blue-soft);
}

.employee-generated span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.employee-generated strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.employee-submit,
.employee-reset {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 56, 99, 0.98), rgba(35, 85, 142, 0.92));
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.employee-submit {
  width: 100%;
  min-height: 50px;
}

.employee-reset {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.employee-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(24, 56, 99, 0.10);
  border-radius: 18px;
  background: rgba(233, 242, 251, 0.40);
}

.employee-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  border-spacing: 0;
}

.employee-table th {
  padding: 14px 12px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: left;
  text-transform: uppercase;
  background: rgba(233, 242, 251, 0.78);
}

.employee-table td {
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(24, 56, 99, 0.12);
}

.employee-table td:first-child {
  font-weight: 900;
}

.employee-table code {
  color: var(--blue);
  font-weight: 900;
}

.mitarbeiter-page {
  background:
    linear-gradient(180deg, rgba(233, 242, 251, 0.88), rgba(255, 255, 255, 0.94) 42%),
    #f7fafc;
}

.mitarbeiter-admin-shell {
  width: min(1680px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.mitarbeiter-page .hero-card,
.mitarbeiter-page .sidebar,
.mitarbeiter-page .content-panel {
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
  box-shadow: 0 18px 42px rgba(18, 38, 70, 0.08);
}

.mitarbeiter-page .hero-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mitarbeiter-page .workspace {
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.mitarbeiter-page .sidebar {
  min-width: 312px;
  padding: 18px;
}

.mitarbeiter-page .content-panel {
  min-width: 0;
  min-height: calc(100vh - 210px);
  padding: 24px;
}

.mitarbeiter-page .app-button,
.mitarbeiter-page .tiny-button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  overflow: visible;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 10px 18px rgba(20, 20, 20, 0.08);
}

.mitarbeiter-page .app-button::before,
.mitarbeiter-page .tiny-button::before,
.mitarbeiter-page .app-button::after,
.mitarbeiter-page .tiny-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.mitarbeiter-page .app-button::before,
.mitarbeiter-page .tiny-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(235, 243, 252, 0.72));
  box-shadow:
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.28),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.76),
    -0.075em -0.2em 0.24em 0.08em inset rgba(24, 56, 99, 0.11);
  transition: clip-path 250ms ease, box-shadow 300ms ease;
}

.mitarbeiter-page .app-button::after,
.mitarbeiter-page .tiny-button::after {
  z-index: -2;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  background: linear-gradient(-135deg, rgba(24, 56, 99, 0.24), transparent 22%, transparent 100%);
  filter: blur(0.0125em);
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.mitarbeiter-page .app-button:hover,
.mitarbeiter-page .tiny-button:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 56, 99, 0.34);
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 14px 24px rgba(24, 56, 99, 0.14);
}

.mitarbeiter-page .app-button:hover::before,
.mitarbeiter-page .tiny-button:hover::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(24, 56, 99, 0.14),
    -0.025em -0.03em 0.05em 0.025em inset rgba(24, 56, 99, 0.1),
    0 0 0.05em 0.42em inset rgba(255, 255, 255, 0.12);
}

.mitarbeiter-page .app-button {
  min-height: 42px;
  padding: 0 16px;
}

.mitarbeiter-page .tiny-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.employee-brand-hero {
  margin-bottom: 22px;
}

.employee-brand-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(24, 56, 99, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.employee-brand-logo {
  width: min(210px, 24vw);
  max-height: 92px;
  object-fit: contain;
}

.employee-brand-panel h1 {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.employee-brand-panel p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.employee-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.employee-sidebar,
.employee-content-panel {
  overflow: hidden;
}

.employee-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
}

.employee-content-panel .employee-card-head img {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.employee-action-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.employee-app-button,
.employee-import-button,
.employee-ghost-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.employee-app-button,
.employee-import-button {
  border: 1px solid rgba(24, 56, 99, 0.92);
  color: #fff;
  background: linear-gradient(180deg, var(--blue), #163a6d);
  box-shadow: 0 14px 30px rgba(24, 56, 99, 0.2);
}

.employee-ghost-button {
  border: 1px solid rgba(24, 56, 99, 0.18);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
}

.employee-form-card {
  display: grid;
  gap: 14px;
}

.employee-form-grid-single {
  grid-template-columns: 1fr;
}

.employee-note-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(233, 242, 251, 0.58);
  font-weight: 700;
}

.employee-note-panel strong {
  color: var(--blue);
}

.mitarbeiter-page .employee-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mitarbeiter-page .employee-table {
  min-width: 1280px;
}

.mitarbeiter-page .employee-table th,
.mitarbeiter-page .employee-table td {
  white-space: nowrap;
}

.mitarbeiter-page .employee-table select {
  min-width: 116px;
}

.employee-app-page {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 42% -8%, rgba(25, 93, 160, 0.12), transparent 28%),
    radial-gradient(circle at 84% -4%, rgba(255, 130, 150, 0.12), transparent 24%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
}

.employee-app-shell {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  padding: 16px 18px 20px 10px;
}

.employee-app-sidebar {
  position: relative;
  min-height: calc(100vh - 130px);
  font-family: "Manrope", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

.employee-sidebar-brand {
  position: relative;
  height: 74px;
  margin-bottom: 1px;
}

.employee-sidebar-watermark {
  position: absolute;
  left: 3px;
  top: 8px;
  width: 218px;
  max-height: 58px;
  object-fit: contain;
  opacity: 0.17;
  filter: saturate(1.05);
}

.employee-sidebar-icon {
  position: absolute;
  left: 16px;
  top: 8px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(24, 56, 99, 0.18));
}

.employee-sidebar-card,
.employee-app-main {
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(18px);
}

.employee-sidebar-card {
  min-height: calc(100vh - 220px);
  padding: 20px 16px;
  font-family: "Manrope", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

.employee-sidebar-head,
.employee-app-title-row,
.employee-title-tools,
.employee-filter-row,
.employee-filter-chips {
  display: flex;
  align-items: center;
}

.employee-sidebar-head,
.employee-app-title-row {
  justify-content: space-between;
  gap: 14px;
}

.employee-sidebar-head h1,
.employee-app-title-row h2 {
  margin: 0;
  color: #061932;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.employee-info-button {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  color: #195da0;
  background: linear-gradient(180deg, #ffffff, #eef5ff);
  box-shadow:
    0 0 0 3px rgba(147, 197, 253, 0.18),
    0 8px 16px rgba(59, 130, 246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.employee-info-button::before,
.employee-info-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.employee-info-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(219, 234, 254, 0.76));
  box-shadow:
    0 0 0.05em 0.12em inset rgba(255, 255, 255, 0.32),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.85),
    -0.075em -0.18em 0.22em 0.08em inset rgba(37, 99, 235, 0.14);
  transition:
    clip-path 250ms ease,
    box-shadow 300ms ease;
}

.employee-info-button::after {
  z-index: -2;
  inset: -6px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), rgba(96, 165, 250, 0.08) 45%, transparent 70%);
  filter: blur(2px);
  opacity: 0.9;
}

.employee-info-button:hover,
.employee-info-button:focus-visible {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow:
    0 0 0 4px rgba(96, 165, 250, 0.2),
    0 12px 22px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.employee-info-button:hover::before,
.employee-info-button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.08em 0.12em 0.05em 0 inset rgba(37, 99, 235, 0.12),
    -0.025em -0.03em 0.05em 0.025em inset rgba(37, 99, 235, 0.08),
    0 0 0.05em 0.32em inset rgba(255, 255, 255, 0.16);
}

.employee-info-button img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(1.15) brightness(0.92) contrast(1.05);
}

.employee-side-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.employee-pill-button {
  min-height: 36px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(25, 93, 160, 0.18);
  border-radius: 999px;
  color: #195da0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 10px 18px rgba(24, 56, 99, 0.1);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.employee-pill-button::before,
.employee-pill-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.employee-pill-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(230, 241, 255, 0.76));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.08),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.3),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.82),
    -0.075em -0.2em 0.24em 0.08em inset rgba(24, 56, 99, 0.1);
  transition:
    clip-path 250ms ease,
    box-shadow 300ms ease;
}

.employee-pill-button::after {
  z-index: -2;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  background: linear-gradient(-135deg, rgba(24, 56, 99, 0.24), transparent 22%, transparent 100%);
  filter: blur(0.0125em);
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.employee-pill-button:hover,
.employee-pill-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(25, 93, 160, 0.36);
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 14px 24px rgba(24, 56, 99, 0.16);
}

.employee-pill-button:hover::before,
.employee-pill-button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(24, 56, 99, 0.14),
    -0.025em -0.03em 0.05em 0.025em inset rgba(24, 56, 99, 0.1),
    0 0 0.05em 0.42em inset rgba(255, 255, 255, 0.13);
}

.employee-pill-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 6px 12px rgba(20, 20, 20, 0.08),
    inset 0.08em 0.12em 0.08em rgba(5, 5, 5, 0.1);
}

.employee-pill-button:active::before {
  clip-path: inset(2px round 999px);
  box-shadow:
    0.12em 0.16em 0.08em 0 inset rgba(5, 5, 5, 0.16),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.1),
    0 0 0.05em 0.36em inset rgba(255, 255, 255, 0.12);
}

.employee-side-actions .employee-pill-button {
  border-color: rgba(40, 40, 40, 0.12);
  color: #475569;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 251, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 10px 18px rgba(20, 20, 20, 0.08);
  font-weight: 700;
}

.employee-side-actions .employee-pill-button::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 241, 239, 0.72));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.12),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.32),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.8),
    -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.1);
}

.employee-side-actions .employee-pill-button::after {
  background: linear-gradient(-135deg, rgba(5, 5, 5, 0.22), transparent 22%, transparent 100%);
}

.employee-side-actions .employee-pill-button:hover,
.employee-side-actions .employee-pill-button:focus-visible {
  border-color: #b7c6dc;
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 14px 24px rgba(20, 20, 20, 0.1);
}

.employee-side-actions .employee-pill-button:hover::before,
.employee-side-actions .employee-pill-button:focus-visible::before {
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.18),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.12),
    0 0 0.05em 0.42em inset rgba(255, 255, 255, 0.12);
}

.employee-primary-action {
  color: #fff;
  border-color: rgba(25, 93, 160, 0.8);
  background: linear-gradient(180deg, #195da0, #143f72);
}

.employee-warning-block {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: #061932;
  font-size: 0.78rem;
  font-weight: 500;
}

.employee-warning-block strong {
  font-weight: 800;
}

.employee-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e11d48;
}

.employee-warning-block ul {
  display: grid;
  gap: 4px;
  min-height: 74px;
  margin: 0;
  padding: 0;
  color: #64748b;
  list-style: none;
}

.employee-sidebar-stats {
  display: grid;
  gap: 4px;
  margin: 22px 0 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.employee-sidebar-stats div {
  display: flex;
  gap: 4px;
}

.employee-sidebar-stats dt,
.employee-sidebar-stats dd {
  margin: 0;
}

.employee-app-main {
  min-height: calc(100vh - 132px);
  padding: 12px;
}

.employee-title-tools {
  gap: 10px;
}

.employee-loaded-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  color: #195da0;
  background: rgba(25, 93, 160, 0.09);
  font-size: 0.76rem;
  font-weight: 700;
}

.employee-filter-row {
  gap: 10px;
  margin-top: 14px;
}

.employee-filter-row strong {
  font-size: 0.86rem;
}

.employee-search-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 16px;
  padding: 0 18px;
  color: #061932;
  background: linear-gradient(180deg, #edf2f8, #d8e0ea);
  box-shadow: inset 2px 5px 10px rgba(15, 23, 42, 0.16);
  font: inherit;
  transition:
    background-color 300ms ease-in-out,
    transform 300ms ease-in-out,
    box-shadow 300ms ease-in-out;
}

.employee-search-input:focus {
  outline: none;
  background: #ffffff;
  transform: scale(1.02);
  box-shadow:
    10px 10px 40px rgba(150, 150, 150, 0.22),
    -10px -10px 40px rgba(255, 255, 255, 0.82);
}

.employee-filter-chips {
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.employee-filter-chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
}

.employee-filter-chips select,
.employee-admin-table select {
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.employee-table-shell {
  overflow: auto;
  border: 1px solid rgba(25, 93, 160, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.employee-admin-table {
  width: 100%;
  min-width: 1540px;
  border-collapse: collapse;
  color: #061932;
  font-size: 0.78rem;
}

.employee-admin-table th,
.employee-admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.11);
  white-space: nowrap;
  text-align: left;
}

.employee-admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  color: #061932;
  font-weight: 800;
  cursor: pointer;
}

.employee-admin-table th[data-sort]::after {
  content: " ▲";
  color: #195da0;
  font-size: 0.72em;
  opacity: 0.45;
}

.employee-admin-table td {
  background: rgba(255, 255, 255, 0.76);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.employee-admin-table tbody tr {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.employee-admin-table tbody tr:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 18px rgba(59, 130, 246, 0.12));
}

.employee-admin-table tbody tr:hover td {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(147, 197, 253, 0.2);
}

.employee-admin-table tbody tr:hover td:first-child {
  border-radius: 14px 0 0 14px;
}

.employee-admin-table tbody tr:hover td:last-child {
  border-radius: 0 14px 14px 0;
}

.employee-admin-table code {
  color: #195da0;
  font-weight: 750;
}

.employee-admin-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #195da0;
}

.employee-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 18, 35, 0.42);
  backdrop-filter: blur(10px);
}

.employee-modal-backdrop[hidden] {
  display: none;
}

.employee-modal {
  width: min(1160px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 0;
  border-radius: 28px;
  padding: 24px 28px 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px rgba(5, 18, 35, 0.22);
}

.employee-modal-head,
.employee-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.employee-modal-actions {
  justify-content: flex-end;
}

.employee-modal-head .eyebrow {
  display: none;
}

.employee-modal-head h2 {
  margin: 0 0 14px;
  color: #05070b;
  font-size: 1.38rem;
  line-height: 1.12;
  font-weight: 950;
  overflow: visible;
}

.employee-modal-copy {
  margin: 0;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 500;
}

.employee-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #475569;
  background: linear-gradient(180deg, #fff, #f4f7fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(15, 23, 42, 0.08);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.employee-modal-form,
.employee-csv-panel,
.employee-info-panel {
  margin-top: 18px;
}

.employee-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.employee-modal-section {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(25, 93, 160, 0.1);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.66);
}

.employee-modal-section legend {
  padding: 0 6px;
  color: #195da0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.employee-modal-grid label {
  display: grid;
  gap: 8px;
  color: #3d4a5d;
  font-size: 0.78rem;
  font-weight: 700;
}

.employee-modal-grid input,
.employee-modal-grid select {
  min-height: 47px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  color: #0f172a;
  background: #d7dee8;
  box-shadow:
    inset 3px 6px 12px rgba(15, 23, 42, 0.18),
    inset -4px -5px 10px rgba(255, 255, 255, 0.38);
  font: inherit;
  transition:
    background-color 300ms ease-in-out,
    transform 300ms ease-in-out,
    box-shadow 300ms ease-in-out;
}

.employee-modal-grid input:focus,
.employee-modal-grid select:focus {
  outline: none;
  background: #ffffff;
  transform: scale(1.02);
  box-shadow:
    10px 10px 40px rgba(25, 93, 160, 0.16),
    -10px -10px 40px rgba(255, 255, 255, 0.86);
}

.employee-modal-grid select {
  appearance: none;
}

.employee-modal-generated {
  margin: 18px 0;
  background: transparent;
}

.employee-csv-panel p,
.employee-info-panel p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.65;
  font-weight: 750;
}

.employee-modal .employee-pill-button {
  width: auto;
  min-width: 108px;
  min-height: 36px;
  padding: 0 18px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: rgba(25, 93, 160, 0.18);
  color: #195da0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 10px 18px rgba(24, 56, 99, 0.1);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.employee-modal .employee-pill-button::before,
.employee-modal .employee-pill-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.employee-modal .employee-pill-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(230, 241, 255, 0.76));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.08),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.3),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.82),
    -0.075em -0.2em 0.24em 0.08em inset rgba(24, 56, 99, 0.1);
  transition:
    clip-path 250ms ease,
    box-shadow 300ms ease;
}

.employee-modal .employee-pill-button::after {
  z-index: -2;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  background: linear-gradient(-135deg, rgba(24, 56, 99, 0.24), transparent 22%, transparent 100%);
  filter: blur(0.0125em);
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.employee-modal .employee-pill-button:hover,
.employee-modal .employee-pill-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(25, 93, 160, 0.36);
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 14px 24px rgba(24, 56, 99, 0.16);
}

.employee-modal .employee-pill-button:hover::before,
.employee-modal .employee-pill-button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(24, 56, 99, 0.14),
    -0.025em -0.03em 0.05em 0.025em inset rgba(24, 56, 99, 0.1),
    0 0 0.05em 0.42em inset rgba(255, 255, 255, 0.13);
}

.employee-modal .employee-primary-action {
  color: #fff;
  border-color: rgba(25, 93, 160, 0.82);
  background: linear-gradient(180deg, #195da0, #143f72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(25, 93, 160, 0.24);
}

.employee-modal .employee-primary-action::before {
  background: linear-gradient(135deg, rgba(71, 142, 213, 0.92), rgba(20, 63, 114, 0.9));
  box-shadow:
    0 0 0.05em 0.18em inset rgba(255, 255, 255, 0.16),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.28),
    -0.075em -0.18em 0.22em 0.08em inset rgba(5, 18, 35, 0.2);
}

.employee-corner-logo {
  position: fixed;
  right: 22px;
  bottom: 28px;
  width: 54px;
  height: 54px;
  object-fit: contain;
  z-index: 20;
  filter: drop-shadow(0 12px 18px rgba(24, 56, 99, 0.18));
}

/* Mitarbeiter app: ZION typography and controls, Widmann blue accent. */
.mitarbeiter-page {
  --employee-brand: #183863;
  --employee-brand-soft: #e9f2fb;
  --employee-text: #111827;
  --employee-muted: #667085;
  color: var(--employee-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.mitarbeiter-page :where(button, input, select, table, textarea) {
  font-family: inherit;
}

.mitarbeiter-page :where(.employee-sidebar-head h1, .employee-app-title-row h2) {
  color: var(--employee-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.mitarbeiter-page :where(.employee-pill-button, .employee-side-actions .employee-pill-button) {
  color: #344054;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.mitarbeiter-page .employee-primary-action {
  color: #fff;
  border-color: rgba(24, 56, 99, 0.82);
  background: linear-gradient(180deg, var(--employee-brand), #10213a);
}

.mitarbeiter-page :where(.employee-filter-row strong, .employee-filter-chips label, .employee-modal-grid label) {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.mitarbeiter-page :where(.employee-warning-block, .employee-sidebar-stats, .employee-modal-copy, .employee-csv-panel p, .employee-info-panel p) {
  color: var(--employee-muted);
  font-weight: 500;
}

.mitarbeiter-page .employee-warning-block strong {
  color: var(--employee-text);
  font-weight: 800;
}

.mitarbeiter-page :where(.employee-admin-table th, .employee-modal-section legend) {
  color: var(--employee-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.mitarbeiter-page .employee-modal-section legend {
  color: var(--employee-brand);
}

.mitarbeiter-page :where(.employee-admin-table td, .employee-sidebar-stats, .employee-warning-block li) {
  font-size: 13px;
}

.mitarbeiter-page :where(.employee-loaded-badge, .employee-admin-table code) {
  color: var(--employee-brand);
  font-weight: 700;
}

.mitarbeiter-page :where(.employee-admin-table th[data-sort]::after) {
  color: var(--employee-brand);
}

.mitarbeiter-page :where(.employee-admin-table input[type="checkbox"]) {
  accent-color: var(--employee-brand);
}

.mitarbeiter-page .employee-info-button {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 34px;
  padding: 0;
  color: var(--employee-brand);
  border: 1px solid #93c5fd;
  border-radius: 999px;
  background: #eef5ff;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.14);
  transform: none;
}

.mitarbeiter-page .employee-info-button::before {
  content: none;
}

.mitarbeiter-page .employee-info-button::after {
  content: none;
}

.mitarbeiter-page .employee-info-button:hover,
.mitarbeiter-page .employee-info-button:focus-visible {
  transform: none;
  border-color: #60a5fa;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.18);
}

.mitarbeiter-page .employee-info-button img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.mitarbeiter-page .info-button {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: #eef5ff;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.14);
  transform: none;
}

.mitarbeiter-page .info-button:hover,
.mitarbeiter-page .info-button:focus-visible {
  transform: none;
  border-color: #60a5fa;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.18);
}

.mitarbeiter-page .info-button::before,
.mitarbeiter-page .info-button::after {
  content: none;
}

.mitarbeiter-page .info-button img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  opacity: 1;
  filter: none;
}

.mitarbeiter-page .employee-info-button.info-button {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 34px;
  padding: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  color: var(--employee-brand);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 8px 16px rgba(59, 130, 246, 0.14);
  transform: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.mitarbeiter-page .employee-info-button.info-button::before,
.mitarbeiter-page .employee-info-button.info-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.mitarbeiter-page .employee-info-button.info-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 241, 239, 0.72));
  box-shadow:
    0 0 0 0 inset rgba(5, 5, 5, 0.08),
    -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.12),
    0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.32),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.8),
    -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.1);
  transition:
    clip-path 250ms ease,
    box-shadow 300ms ease;
}

.mitarbeiter-page .employee-info-button.info-button::after {
  z-index: -2;
  inset: -5px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), rgba(96, 165, 250, 0.08) 48%, transparent 72%);
  filter: blur(2px);
  opacity: 0.82;
}

.mitarbeiter-page .employee-info-button.info-button:hover,
.mitarbeiter-page .employee-info-button.info-button:focus-visible {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.1),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1),
    0 12px 22px rgba(59, 130, 246, 0.18);
}

.mitarbeiter-page .employee-info-button.info-button:hover::before,
.mitarbeiter-page .employee-info-button.info-button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.18),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.12),
    0 0 0.05em 0.42em inset rgba(255, 255, 255, 0.12);
}

.mitarbeiter-page .employee-info-button.info-button:active {
  transform: translateY(0) scale(0.96);
  border-color: #60a5fa;
  box-shadow:
    0 6px 12px rgba(59, 130, 246, 0.14),
    inset 0.08em 0.12em 0.08em rgba(5, 5, 5, 0.12);
}

.mitarbeiter-page .employee-info-button.info-button:active::before {
  clip-path: inset(2px round 999px);
  box-shadow:
    0.12em 0.16em 0.08em 0 inset rgba(5, 5, 5, 0.18),
    -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.1),
    0 0 0.05em 0.36em inset rgba(255, 255, 255, 0.12);
}

.mitarbeiter-page .employee-info-button,
.mitarbeiter-page .info-button,
.mitarbeiter-page .employee-info-button.info-button {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.mitarbeiter-page .employee-info-button img,
.mitarbeiter-page .info-button img,
.mitarbeiter-page .employee-info-button.info-button img {
  width: 12px;
  height: 12px;
}

.mitarbeiter-page .employee-info-button.info-button::after {
  inset: -4px;
}

@media (max-width: 860px) {
  .dashboard-kpi-grid,
  .dashboard-panel-grid,
  .digital-dashboard-links {
    grid-template-columns: 1fr;
  }

  .widmann-map-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .widmann-globe-stage {
    min-height: 360px;
  }

  .widmann-globe-orbit {
    width: min(82vw, 420px);
  }

  .widmann-globe-core {
    width: min(72vw, 340px);
    min-width: 260px;
  }

  .dashboard-score-head {
    display: none;
  }

  .dashboard-score-row {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-score-row .dashboard-sparkline,
  .dashboard-target-meter {
    grid-column: 1 / -1;
  }

  .dashboard-bar-row {
    grid-template-columns: 88px minmax(0, 1fr) 42px;
  }

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

  .intranet-header {
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 14px 12px;
  }

  .brand img,
  .brand.app-brand > img {
    width: 70px;
    height: 70px;
    margin: -8px 0 -22px;
  }

  .brand span {
    display: none;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .flow-grid,
  .quick-links,
  .department-grid,
  .info-layout,
  .logon-hero,
  .logon-info-grid,
  .employee-profile-grid,
  .employee-admin-hero,
  .employee-admin-grid,
  .employee-stats-grid,
  .employee-form-grid,
  .employee-generated {
    grid-template-columns: 1fr;
  }

  .logon-hero {
    min-height: auto;
  }

  .mitarbeiter-page .employee-admin-hero {
    align-items: start;
  }

  .mitarbeiter-page .badge {
    justify-self: start;
  }

  .mitarbeiter-page .employee-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .mitarbeiter-page .employee-table {
    min-width: 0;
    display: block;
  }

  .mitarbeiter-page .employee-table thead {
    display: none;
  }

  .mitarbeiter-page .employee-table tbody {
    display: grid;
    gap: 12px;
  }

  .mitarbeiter-page .employee-table tr {
    display: block;
    border: 1px solid rgba(24, 56, 99, 0.14);
    border-radius: 18px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .mitarbeiter-page .employee-table td {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
    word-break: break-word;
  }

  .mitarbeiter-page .employee-table td:last-child {
    border-bottom: 0;
  }

  .mitarbeiter-page .employee-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .employee-brand-panel,
  .employee-workspace,
  .mitarbeiter-page .employee-stats-grid {
    grid-template-columns: 1fr;
  }

  .employee-brand-panel {
    padding: 22px;
  }

  .employee-brand-logo {
    width: 180px;
    max-width: 70vw;
  }

  .employee-sidebar {
    position: static;
  }

  .employee-content-panel .employee-card-head img {
    width: 108px;
  }

  .mitarbeiter-page .employee-table th,
  .mitarbeiter-page .employee-table td {
    white-space: normal;
  }

  .employee-app-shell {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .employee-sidebar-brand {
    height: 64px;
  }

  .employee-sidebar-card,
  .employee-app-main {
    min-height: auto;
  }

  .employee-filter-row,
  .employee-app-title-row,
  .employee-modal-head,
  .employee-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .employee-title-tools {
    justify-content: flex-start;
  }

  .employee-modal-grid {
    grid-template-columns: 1fr;
  }

  .employee-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .employee-admin-table {
    min-width: 0;
    display: block;
  }

  .employee-admin-table thead {
    display: none;
  }

  .employee-admin-table tbody {
    display: grid;
    gap: 12px;
  }

  .employee-admin-table tr {
    display: block;
    border: 1px solid rgba(24, 56, 99, 0.14);
    border-radius: 18px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .employee-admin-table td {
    display: grid;
    grid-template-columns: minmax(118px, 42%) 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
    white-space: normal;
    word-break: break-word;
  }

  .employee-admin-table td:last-child {
    border-bottom: 0;
  }

  .employee-admin-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
  }
}


/* Final ZION typography parity for Widmann Atlas Mitarbeiter. */
.mitarbeiter-page,
.mitarbeiter-page button,
.mitarbeiter-page input,
.mitarbeiter-page select,
.mitarbeiter-page table,
.mitarbeiter-page textarea {
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.mitarbeiter-page .employee-side-actions .employee-pill-button {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: #344054;
}

.mitarbeiter-page .employee-sidebar-head h1,
.mitarbeiter-page .employee-app-title-row h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.mitarbeiter-page .employee-admin-table {
  font-size: 14px;
}

.mitarbeiter-page .employee-admin-table th,
.mitarbeiter-page .employee-admin-table td {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.mitarbeiter-page .employee-admin-table th {
  font-size: 13px;
  font-weight: 800;
}

.mitarbeiter-page .employee-admin-table code,
.mitarbeiter-page .employee-admin-table select {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
}

.mitarbeiter-page .employee-filter-row strong,
.mitarbeiter-page .employee-filter-chips label,
.mitarbeiter-page .employee-modal-grid label,
.mitarbeiter-page .employee-sidebar-stats,
.mitarbeiter-page .employee-warning-block {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.mitarbeiter-page .employee-modal-section legend,
.mitarbeiter-page .employee-warning-block strong {
  font-weight: 800;
}

/* Projektbook */
.projectbook-page .employee-sidebar-icon,
.projectbook-page .employee-corner-logo {
  filter: drop-shadow(0 10px 18px rgba(24, 56, 99, 0.22));
}

.projectbook-shell {
  grid-template-columns: 254px minmax(0, 1fr);
}

.projectbook-main {
  display: grid;
  align-content: start;
  gap: 14px;
}

.projectbook-page .employee-title-tools {
  gap: 12px;
}

.projectbook-page .employee-app-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.projectbook-page .employee-app-title-row h2 {
  grid-column: 1;
}

.projectbook-page .employee-app-title-row .employee-title-tools {
  display: contents;
}

.projectbook-page .employee-app-title-row .projectbook-view-switch {
  grid-column: 2;
  justify-self: center;
}

.projectbook-page .employee-app-title-row [data-projectbook-info-button] {
  grid-column: 3;
  justify-self: end;
}

.dashboard-page .employee-sidebar-icon {
  filter: drop-shadow(0 12px 20px rgba(24, 56, 99, 0.22));
}

.dashboard-shell .employee-app-main {
  overflow: hidden;
}

.landkarte-dashboard-page .dashboard-shell,
.kpi-dashboard-page .dashboard-shell,
.oee-dashboard-page .dashboard-shell {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 12px;
}

.landkarte-dashboard-page .employee-app-sidebar,
.kpi-dashboard-page .employee-app-sidebar,
.oee-dashboard-page .employee-app-sidebar {
  position: fixed;
  left: 18px;
  top: 104px;
  z-index: 920;
  width: 254px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  transform: translateX(-118%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 220ms ease;
}

.landkarte-sidebar-open .employee-app-sidebar {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.landkarte-dashboard-page .employee-app-sidebar .employee-sidebar-card,
.kpi-dashboard-page .employee-app-sidebar .employee-sidebar-card,
.oee-dashboard-page .employee-app-sidebar .employee-sidebar-card {
  padding-top: 76px;
}

.landkarte-sidebar-toggle {
  position: fixed;
  left: 18px;
  top: 104px;
  z-index: 950;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.landkarte-sidebar-toggle .bloom-container {
  position: relative;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  transition: transform 220ms ease;
}

.landkarte-sidebar-toggle .button-container-main {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(124, 0, 73, 0.98), rgba(210, 2, 123, 0.95) 56%, rgba(99, 0, 59, 0.98)),
    rgba(210, 2, 123, 0.86);
  box-shadow: 0 14px 30px rgba(210, 2, 123, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landkarte-sidebar-toggle .button-container-main::before,
.landkarte-sidebar-toggle .button-container-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.landkarte-sidebar-toggle .button-container-main::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 58%);
  opacity: 0.56;
  transition: opacity 180ms ease;
}

.landkarte-sidebar-toggle .button-container-main::after {
  top: -32%;
  bottom: -32%;
  left: -82%;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  opacity: 0;
  transform: rotate(20deg);
}

.landkarte-sidebar-toggle .button-inner {
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: none;
  transition: transform 180ms ease;
}

.landkarte-sidebar-toggle .back {
  display: none;
}

.landkarte-sidebar-toggle .front {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
}

.landkarte-sidebar-toggle .svg {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.82;
  width: 24px;
  aspect-ratio: 1;
  transform: none;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.landkarte-sidebar-toggle .button-glass {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.44), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 62%);
  transform: none;
}

.landkarte-sidebar-toggle .bloom {
  display: none;
}

.landkarte-sidebar-toggle .bloom-container:hover {
  transform: translateY(-2px);
}

.landkarte-sidebar-toggle .bloom-container:hover .button-container-main,
.landkarte-sidebar-toggle:focus-visible .button-container-main,
.landkarte-sidebar-toggle[aria-expanded="true"] .button-container-main {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 42px rgba(210, 2, 123, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.landkarte-sidebar-toggle .bloom-container:hover .button-container-main::before,
.landkarte-sidebar-toggle:focus-visible .button-container-main::before,
.landkarte-sidebar-toggle[aria-expanded="true"] .button-container-main::before {
  opacity: 1;
}

.landkarte-sidebar-toggle .bloom-container:hover .button-container-main::after,
.landkarte-sidebar-toggle:focus-visible .button-container-main::after,
.landkarte-sidebar-toggle[aria-expanded="true"] .button-container-main::after {
  opacity: 1;
  animation: widmann-button-shine 820ms ease forwards;
}

.landkarte-sidebar-toggle .bloom-container:hover .front .svg {
  opacity: 1;
  filter: drop-shadow(0 0 10px #ffffff);
}

.landkarte-sidebar-toggle:focus-visible {
  outline: 0;
}

.landkarte-sidebar-toggle .bloom-container:active {
  transform: translateY(0) scale(0.94);
}

.landkarte-sidebar-toggle .bloom-container:active .button-inner {
  transform: scale(1.08);
}

.kpi-dashboard-page .employee-app-main,
.oee-dashboard-page .employee-app-main {
  min-width: 0;
}

.kpi-hero-visual,
.oee-hero-visual {
  margin-bottom: 18px;
}

.kpi-hero-visual .widmann-map-copy,
.oee-hero-visual .widmann-map-copy {
  min-height: 210px;
}

.kpi-hero-visual .landkarte-head-side > img,
.oee-hero-visual .landkarte-head-side > img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(24, 56, 99, 0.18));
}

.landkarte-dashboard-page .employee-app-main,
.kpi-dashboard-page .employee-app-main,
.oee-dashboard-page .employee-app-main {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  min-width: 0;
}

.dashboard-filter-row {
  gap: 12px;
}

.dashboard-filter-row select {
  min-height: 38px;
  min-width: 150px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9));
  color: #10213a;
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.dashboard-info-dialog {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dashboard-info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(4px);
}

.dashboard-info-card {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 36px));
  padding: 34px 38px 36px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(140, 203, 242, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.92));
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.dashboard-info-card > span {
  display: block;
  margin: 0 0 10px;
  color: #d97706;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-info-card h2 {
  margin: 0 0 12px;
  color: #10213a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.dashboard-info-card p {
  margin: 0;
  max-width: 56ch;
  color: #516078;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.65;
}

.dashboard-info-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9));
  color: #183863;
  box-shadow: 0 12px 24px rgba(24, 56, 99, 0.12);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dashboard-info-close:hover,
.dashboard-info-close:focus-visible {
  outline: 0;
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.18);
}

.dashboard-source-block li {
  line-height: 1.45;
}

.widmann-map-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.widmann-map-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 198px;
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(140, 203, 242, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.82));
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.widmann-map-copy > div:first-child {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.widmann-map-copy > div:first-child > span {
  color: #d97706;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widmann-map-copy h3 {
  max-width: 900px;
  margin: 0;
  color: #10213a;
  font-size: clamp(2rem, 3.55vw, 4rem);
  line-height: 1.03;
  font-weight: 950;
}

.widmann-map-copy p {
  max-width: 760px;
  margin: 0;
  color: #516078;
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 750;
}

.landkarte-head-side {
  position: relative;
  min-width: 190px;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: end;
  align-content: center;
  gap: 12px;
}

.landkarte-head-side::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 62%;
  width: clamp(190px, 16vw, 300px);
  height: clamp(58px, 5vw, 92px);
  transform: translateY(-50%);
  background: url("assets/Widmann.png") center / contain no-repeat;
  opacity: 0.14;
  filter: grayscale(1) drop-shadow(0 12px 20px rgba(24, 56, 99, 0.08));
  pointer-events: none;
}

.landkarte-head-side > img {
  position: relative;
  z-index: 1;
  grid-row: 2;
  width: clamp(76px, 8vw, 124px);
  height: clamp(76px, 8vw, 124px);
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(24, 56, 99, 0.18));
}

.landkarte-head-side .info-button {
  flex: 0 0 auto;
}

.landkarte-head-tools {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

.landkarte-head-tools .employee-loaded-badge {
  white-space: nowrap;
}

.landkarte-filter-row {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.landkarte-country-detail-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: stretch;
  gap: 24px;
  width: min(100%, 1720px);
  margin: 0 auto 20px;
  padding: clamp(22px, 2.5vw, 36px);
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(140, 203, 242, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.84));
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
}

.landkarte-detail-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.landkarte-detail-copy span {
  color: #d97706;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landkarte-detail-copy h3 {
  margin: 0;
  color: #10213a;
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  line-height: 1.04;
  font-weight: 950;
}

.landkarte-detail-copy p {
  max-width: 820px;
  margin: 0;
  color: #516078;
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 760;
}

.landkarte-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landkarte-detail-grid div {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 128, 201, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.landkarte-detail-grid dt {
  margin: 0 0 7px;
  color: #6b7588;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landkarte-detail-grid dd {
  margin: 0;
  color: #183863;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
}

@media (max-width: 980px) {
  .landkarte-country-detail-card {
    grid-template-columns: 1fr;
  }

  .landkarte-detail-grid {
    grid-template-columns: 1fr;
  }
}

.widmann-map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.widmann-map-tags b {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(47, 128, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #183863;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(24, 56, 99, 0.08);
}

.widmann-globe-stage {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  isolation: isolate;
}

.global-presence-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.global-presence-toolbar input,
.global-presence-toolbar select {
  min-height: 34px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef5fc);
  color: #10213a;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  outline: none;
}

.global-presence-toolbar input {
  width: 118px;
  padding: 0 12px;
}

.global-presence-toolbar input[data-map-iso] {
  width: 58px;
  text-transform: uppercase;
}

.global-presence-toolbar select {
  padding: 0 30px 0 12px;
}

.global-presence-mode-switch {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 6px;
  border: 1px solid rgba(47, 128, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(24, 56, 99, 0.1);
  backdrop-filter: blur(14px);
}

.global-presence-mode-switch button {
  min-width: 112px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #183863;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.global-presence-mode-switch button:hover,
.global-presence-mode-switch button:focus-visible {
  background: rgba(47, 128, 201, 0.1);
  outline: none;
}

.global-presence-mode-switch button.is-active {
  background: linear-gradient(180deg, #3d6fa7, #183863);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 22px rgba(24, 56, 99, 0.22);
}

.global-presence-map {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2000 / 857;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.global-presence-map::before {
  content: none;
}

.global-presence-map:hover::before,
.global-presence-map:focus-within::before {
  opacity: 0;
}

.global-presence-map::after {
  content: none;
}

.global-presence-map-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: transform 260ms ease;
}

.global-presence-map-inline,
.global-presence-map-image {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
}

.global-presence-map-image {
  object-fit: contain;
  opacity: 0.82;
  filter:
    sepia(1)
    saturate(180%)
    hue-rotate(168deg)
    brightness(0.72)
    drop-shadow(0 18px 32px rgba(24, 56, 99, 0.1));
  transition: opacity 180ms ease, filter 180ms ease;
}

.global-presence-map-inline {
  overflow: visible;
  filter: drop-shadow(0 18px 32px rgba(24, 56, 99, 0.1));
}

.global-presence-map-inline path {
  fill: rgba(96, 122, 156, 0.38) !important;
  stroke: rgba(24, 56, 99, 0.28) !important;
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 160ms ease, stroke 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.global-presence-map-inline path:hover,
.global-presence-map-inline path:focus,
.global-presence-map-inline path.is-continent-hover,
.global-presence-map-inline path.is-country-hover {
  fill: #d2027b !important;
  stroke: rgba(255, 255, 255, 0.92) !important;
  opacity: 1;
  outline: none;
  filter:
    drop-shadow(0 0 8px rgba(210, 2, 123, 0.58))
    drop-shadow(0 0 18px rgba(210, 2, 123, 0.32));
}

.global-presence-map[data-map-mode="export"] .global-presence-map-inline path[data-export-score] {
  fill: rgba(47, 128, 201, 0.42) !important;
  stroke: rgba(24, 56, 99, 0.48) !important;
}

.global-presence-map[data-map-mode="export"] .global-presence-map-inline path[data-export-phase="1"] {
  fill: rgba(47, 128, 201, 0.72) !important;
}

.global-presence-map[data-map-mode="export"] .global-presence-map-inline path[data-export-phase="2"] {
  fill: rgba(47, 128, 201, 0.56) !important;
}

.global-presence-map[data-map-mode="export"] .global-presence-map-inline path[data-export-phase="3"] {
  fill: rgba(47, 128, 201, 0.4) !important;
}

.global-presence-map-inline path.is-export-hover {
  fill: #2f80c9 !important;
  stroke: rgba(255, 255, 255, 0.92) !important;
  opacity: 1;
  outline: none;
  filter:
    drop-shadow(0 0 4px rgba(47, 128, 201, 0.75))
    drop-shadow(0 0 12px rgba(47, 128, 201, 0.34));
}

.global-presence-map[data-hover-continent] .global-presence-map-inline path:not(.is-continent-hover),
.global-presence-map[data-hover-country] .global-presence-map-inline path:not(.is-country-hover),
.global-presence-map[data-hover-export] .global-presence-map-inline path:not(.is-export-hover) {
  opacity: 0.2;
}

.landkarte-full-view-button {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(24, 56, 99, 0.16);
}

.landkarte-full-view-button[hidden] {
  display: none;
}

.landkarte-full-view-button img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.landkarte-zoom-selection {
  position: absolute;
  z-index: 7;
  border: 2px solid rgba(47, 128, 201, 0.9);
  border-radius: 10px;
  background: rgba(47, 128, 201, 0.12);
  box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

.landkarte-zoom-selection[hidden] {
  display: none;
}

.global-presence-hover-card {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 4;
  min-width: 210px;
  transform: translateX(-50%) translateY(-4px);
  padding: 10px 18px;
  border: 1px solid rgba(47, 128, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #183863;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(24, 56, 99, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.global-presence-map[data-hover-continent] .global-presence-hover-card,
.global-presence-map[data-hover-country] .global-presence-hover-card,
.global-presence-map[data-hover-export] .global-presence-hover-card {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.landkarte-supplier-panel {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(24, 56, 99, 0.1);
}

.landkarte-supplier-panel strong {
  color: #d2027b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landkarte-supplier-panel p {
  margin: 0;
  color: #516078;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.landkarte-supplier-dialog label {
  display: grid;
  gap: 4px;
  color: #516078;
  font-size: 11px;
  font-weight: 900;
}

.landkarte-supplier-dialog input,
.landkarte-supplier-dialog select,
.landkarte-product-select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fbfe, #dce5f0);
  color: #10213a;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  padding: 0 11px;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.08);
}

.landkarte-product-select {
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landkarte-supplier-dialog select {
  padding-right: 28px;
}

.landkarte-product-field {
  position: relative;
  display: grid;
  gap: 4px;
  color: #516078;
  font-size: 11px;
  font-weight: 900;
}

.landkarte-product-field > span {
  line-height: 1.2;
}

.landkarte-product-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 4px;
  max-height: 230px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(47, 128, 201, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(24, 56, 99, 0.18);
  backdrop-filter: blur(12px);
}

.landkarte-product-menu[hidden] {
  display: none;
}

.landkarte-product-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 6px;
  border-radius: 10px;
  color: #10213a;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.landkarte-product-menu label:hover {
  background: rgba(47, 128, 201, 0.08);
}

.landkarte-product-menu input {
  width: 14px;
  min-height: 14px;
  height: 14px;
  accent-color: #183863;
  box-shadow: none;
  padding: 0;
}

.landkarte-primary-action {
  margin-top: 2px;
  background: linear-gradient(180deg, #3d6fa7, #183863);
  color: #ffffff;
}

.landkarte-supplier-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
}

.landkarte-supplier-modal[hidden] {
  display: none;
}

.landkarte-supplier-dialog {
  position: relative;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(47, 128, 201, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.94));
  box-shadow: 0 30px 80px rgba(24, 56, 99, 0.24);
}

.landkarte-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(47, 128, 201, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #183863;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(24, 56, 99, 0.12);
}

.landkarte-dialog-head {
  display: grid;
  gap: 6px;
  padding-right: 46px;
}

.landkarte-dialog-head span {
  color: #d2027b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landkarte-dialog-head h3 {
  margin: 0;
  color: #10213a;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 950;
}

.landkarte-dialog-head p {
  margin: 0;
  color: #516078;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.landkarte-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.landkarte-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.landkarte-export-dialog {
  width: min(1040px, calc(100vw - 48px));
}

.landkarte-export-note {
  display: grid;
  gap: 5px;
  color: #516078;
  font-size: 11px;
  font-weight: 900;
}

.landkarte-export-note textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fbfe, #dce5f0);
  color: #10213a;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  padding: 11px;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.08);
}

.landkarte-marker-menu {
  position: fixed;
  z-index: 1300;
  min-width: 210px;
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(47, 128, 201, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 50px rgba(24, 56, 99, 0.22);
  backdrop-filter: blur(12px);
}

.landkarte-marker-menu[hidden] {
  display: none;
}

.landkarte-marker-menu button {
  min-height: 34px;
  border: 1px solid rgba(47, 128, 201, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #edf5fc);
  color: #183863;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  padding: 0 14px;
}

.landkarte-marker-menu button:hover,
.landkarte-marker-menu button:focus-visible {
  outline: none;
  color: #ffffff;
  background: linear-gradient(180deg, #3d6fa7, #183863);
}

.global-presence-supplier-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transition: transform 260ms ease;
}

.landkarte-supplier-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #10213a;
  font: inherit;
}

.landkarte-supplier-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 2px;
  height: 22px;
  background: rgba(210, 2, 123, 0.62);
  transform: translateX(-50%);
}

.landkarte-supplier-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  width: 12px;
  height: 12px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #d2027b;
  box-shadow: 0 0 0 5px rgba(210, 2, 123, 0.16), 0 10px 20px rgba(24, 56, 99, 0.18);
  transform: translate(-50%, -50%);
}

.landkarte-marker-handle {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  pointer-events: auto;
}

.landkarte-supplier-marker.is-dragging .landkarte-marker-handle {
  cursor: grabbing;
}

.landkarte-supplier-marker.is-dragging span {
  box-shadow: 0 0 0 4px rgba(210, 2, 123, 0.18), 0 24px 42px rgba(24, 56, 99, 0.24);
}

.landkarte-supplier-marker span {
  display: grid;
  gap: 2px;
  min-width: 96px;
  padding: 8px 10px;
  border: 1px solid rgba(210, 2, 123, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(24, 56, 99, 0.13);
  text-align: left;
}

.landkarte-supplier-marker b {
  color: #d2027b;
  font-size: 14px;
  font-weight: 950;
}

.landkarte-supplier-marker small {
  color: #516078;
  font-size: 10px;
  font-weight: 850;
}

.landkarte-supplier-marker.is-focus span {
  box-shadow: 0 0 0 4px rgba(210, 2, 123, 0.12), 0 18px 36px rgba(24, 56, 99, 0.2);
}

.landkarte-supplier-info-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: min(320px, 34vw);
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(47, 128, 201, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(24, 56, 99, 0.14);
  backdrop-filter: blur(14px);
  color: #183863;
  pointer-events: none;
}

.landkarte-supplier-info-card strong {
  color: #d2027b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landkarte-supplier-info-card h4 {
  margin: 0;
  color: #10213a;
  font-size: 18px;
  font-weight: 950;
}

.landkarte-supplier-info-card p,
.landkarte-supplier-info-card dl {
  margin: 0;
}

.landkarte-supplier-info-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  color: #516078;
  font-size: 12px;
  font-weight: 800;
}

.landkarte-supplier-info-card dt {
  color: #6b7588;
  font-weight: 950;
}

.landkarte-supplier-info-card dd {
  margin: 0;
  color: #183863;
}

.global-presence-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.global-presence-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  transform-origin: 50% calc(100% + 18px);
  transition: opacity 160ms ease, scale 160ms ease, filter 160ms ease;
}

.global-presence-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 1px;
  height: var(--connector-height, 22px);
  background: rgba(148, 163, 184, 0.88);
  transform: translateX(-50%);
}

.global-presence-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + var(--connector-height, 22px) - 2px);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2f80c9;
  box-shadow: 0 0 0 3px rgba(47, 128, 201, 0.16);
  transform: translateX(-50%);
}

.global-presence-marker span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  max-width: 170px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #23263d;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.global-presence-marker.is-region span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.global-presence-marker.is-focus {
  scale: 1.08;
  filter: drop-shadow(0 14px 20px rgba(24, 56, 99, 0.22));
}

.global-presence-marker.is-focus::before {
  background: rgba(47, 128, 201, 0.92);
}

.global-presence-hint {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.widmann-globe-orbit {
  position: absolute;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 2px solid rgba(47, 128, 201, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.9),
    0 0 70px rgba(47, 128, 201, 0.14);
  animation: widmannGlobePulse 5s ease-in-out infinite;
}

.widmann-globe-core {
  position: relative;
  width: min(34vw, 420px);
  min-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: grab;
  user-select: none;
  filter: drop-shadow(0 32px 44px rgba(24, 56, 99, 0.22));
  transform: rotate(var(--globe-rotate, 0deg)) rotateX(var(--globe-tilt, 0deg));
  animation: widmannGlobeFloat 7s ease-in-out infinite;
}

.widmann-globe-core:active {
  cursor: grabbing;
}

.widmann-globe-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: 50% 50%;
  animation: widmannGlobeAxisSpin 22s linear infinite;
}

.widmann-globe-core:active .widmann-globe-spin {
  animation-play-state: paused;
}

.widmann-globe-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.98;
}

.widmann-globe-sticker {
  position: absolute;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eaf4ff);
  color: #195da0;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(24, 56, 99, 0.2);
  transform: translate(-50%, -50%);
  animation: widmannStickerBob 4.8s ease-in-out infinite;
}

.widmann-globe-sticker.is-munich { left: 53%; top: 31%; }
.widmann-globe-sticker.is-vienna { left: 58%; top: 36%; animation-delay: -0.5s; }
.widmann-globe-sticker.is-spain { left: 45%; top: 42%; animation-delay: -1.1s; }
.widmann-globe-sticker.is-italy { left: 55%; top: 46%; animation-delay: -1.6s; }
.widmann-globe-sticker.is-portugal { left: 39%; top: 45%; animation-delay: -2s; }
.widmann-globe-sticker.is-morocco { left: 48%; top: 55%; animation-delay: -2.5s; }
.widmann-globe-sticker.is-route {
  left: 51%;
  top: 43%;
  min-width: 48px;
  color: #ffffff;
  background: linear-gradient(180deg, #2f80c9, #183863);
  animation-delay: -3s;
}

@keyframes widmannGlobeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes widmannGlobeAxisSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes widmannGlobePulse {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes widmannStickerBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@media (max-width: 860px) {
  .widmann-map-copy {
    display: grid;
  }

  .landkarte-head-side {
    min-width: 0;
    justify-items: start;
  }

  .landkarte-filter-row {
    width: 100%;
    border-radius: 22px;
  }

  .widmann-map-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .widmann-globe-stage {
    min-height: 360px;
  }

  .widmann-globe-orbit {
    width: min(82vw, 420px);
  }

  .widmann-globe-core {
    width: min(72vw, 340px);
    min-width: 260px;
  }

  .global-presence-map {
    width: min(88vw, 620px);
    min-width: 280px;
  }

  .global-presence-toolbar {
    border-radius: 22px;
  }
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.dashboard-metric {
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-metric span,
.dashboard-metric em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.dashboard-metric strong {
  color: #10213a;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  font-weight: 950;
}

.dashboard-metric.is-good {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.94), rgba(255, 255, 255, 0.9));
}

.dashboard-metric.is-watch {
  border-color: rgba(217, 119, 6, 0.2);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.92), rgba(255, 255, 255, 0.9));
}

.dashboard-metric.is-risk {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.9), rgba(255, 255, 255, 0.9));
}

.dashboard-sparkline {
  width: 100%;
  height: 46px;
  display: block;
}

.dashboard-sparkline polyline {
  fill: none;
  stroke: #2f80c9;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 8px rgba(47, 128, 201, 0.18));
}

.dashboard-sparkline.is-good polyline {
  stroke: #16a34a;
}

.dashboard-sparkline.is-watch polyline {
  stroke: #2f80c9;
}

.dashboard-sparkline.is-risk polyline {
  stroke: #ef4444;
}

.dashboard-market-chart {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 22px;
  background: #050609;
  color: #e5edf8;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.dashboard-market-chart-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(130px, 170px));
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.dashboard-market-chart-toolbar h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 900;
}

.dashboard-market-chart-toolbar span {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-market-chart-toolbar label {
  display: grid;
  gap: 4px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-market-chart-toolbar select {
  min-height: 34px;
  border: 1px solid rgba(47, 128, 201, 0.5);
  border-radius: 8px;
  background: #090d14;
  color: #f8fbff;
  padding: 0 10px;
  font: inherit;
  text-transform: none;
}

.dashboard-market-chart-stage {
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
}

.dashboard-market-chart-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-market-bg {
  fill: #050609;
}

.dashboard-market-title {
  fill: #f8fbff;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-market-subtitle,
.dashboard-market-x-labels text,
.dashboard-market-y-label,
.dashboard-market-axis-label {
  fill: rgba(226, 232, 240, 0.68);
  font-size: 10px;
  font-weight: 800;
}

.dashboard-market-grid-line {
  stroke: rgba(148, 163, 184, 0.23);
  stroke-width: 1;
}

.dashboard-market-target-line {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1;
  stroke-dasharray: 5 5;
}

.dashboard-market-bar rect {
  fill: #d2027b;
  filter: drop-shadow(0 0 8px rgba(210, 2, 123, 0.45));
  transition: fill 160ms ease, filter 160ms ease, transform 160ms ease;
  transform-box: fill-box;
  transform-origin: bottom center;
}

.dashboard-market-bar:hover rect,
.dashboard-market-bar:focus rect,
.dashboard-market-bar.is-highlighted rect {
  fill: #f136a3;
  filter: drop-shadow(0 0 14px rgba(241, 54, 163, 0.75));
  transform: scaleY(1.025);
}

.dashboard-market-bar-compare rect {
  fill: #facc15;
  filter: drop-shadow(0 0 9px rgba(250, 204, 21, 0.52));
}

.dashboard-market-bar-compare:hover rect,
.dashboard-market-bar-compare:focus rect,
.dashboard-market-bar-compare.is-highlighted rect {
  fill: #fde047;
  filter: drop-shadow(0 0 15px rgba(253, 224, 71, 0.78));
}

.dashboard-market-tooltip rect {
  fill: rgba(5, 6, 9, 0.94);
  stroke: rgba(226, 232, 240, 0.32);
}

.dashboard-market-tooltip text {
  fill: #f8fbff;
  font-size: 10px;
  font-weight: 900;
}

.dashboard-market-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-market-chart-legend span,
.dashboard-market-chart-legend button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-market-legend-label {
  min-height: 30px;
  color: rgba(226, 232, 240, 0.62);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-market-chart-legend button {
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.78);
  padding: 0 11px;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.dashboard-market-chart-legend button:hover,
.dashboard-market-chart-legend button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(47, 128, 201, 0.16);
  color: #f8fbff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  outline: none;
}

.dashboard-market-chart-legend button.is-active {
  border-color: rgba(210, 2, 123, 0.72);
  background: rgba(210, 2, 123, 0.18);
  color: #fff;
  box-shadow: 0 8px 24px rgba(210, 2, 123, 0.22);
}

.dashboard-market-chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d2027b;
  box-shadow: 0 0 10px rgba(210, 2, 123, 0.55);
}

.dashboard-market-chart-legend button:not([data-kpi-sortiment="total"]) i {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.62);
}

.dashboard-scorecard-panel {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.055);
}

.dashboard-score-table {
  display: grid;
  gap: 8px;
}

.dashboard-score-head,
.dashboard-score-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.15fr) 90px 90px minmax(120px, 0.8fr) minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
}

.dashboard-score-head {
  padding: 0 12px 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-score-row {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 56, 99, 0.09);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.78));
  color: #10213a;
  font-size: 13px;
  font-weight: 850;
}

.dashboard-score-row strong {
  display: grid;
  gap: 2px;
  font-weight: 950;
}

.dashboard-score-row strong em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.dashboard-score-row .dashboard-sparkline {
  height: 34px;
}

.dashboard-target-meter {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
}

.dashboard-target-meter i {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #183863, #2f80c9);
}

.dashboard-target-meter.is-good i {
  background: linear-gradient(90deg, #15803d, #22c55e);
}

.dashboard-target-meter.is-risk i {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.dashboard-target-meter b {
  position: absolute;
  right: 0;
  top: 15px;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
}

.dashboard-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 14px;
  margin-bottom: 16px;
}

.dashboard-panel-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-panel {
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dashboard-panel-head h3 {
  margin: 0;
  color: #10213a;
  font-size: 1rem;
  font-weight: 900;
}

.dashboard-panel-head span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.86);
  color: #195da0;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-bar-list {
  display: grid;
  gap: 12px;
}

.dashboard-bar-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-bar-row div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.86);
}

.dashboard-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #183863, #2f80c9);
  box-shadow: 0 0 16px rgba(47, 128, 201, 0.24);
}

.dashboard-sql-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-sql-list li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.78);
}

.dashboard-sql-list strong {
  color: #183863;
  font-size: 13px;
  font-weight: 950;
}

.dashboard-sql-list span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-gauge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

.dashboard-gauge {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  text-align: center;
}

.dashboard-gauge-arc {
  position: relative;
  width: 112px;
  height: 62px;
  overflow: hidden;
}

.dashboard-gauge-arc span {
  position: absolute;
  inset: 0;
  border-radius: 112px 112px 0 0;
  background:
    conic-gradient(from 270deg at 50% 100%, #2f80c9 0 var(--gauge-angle), rgba(226, 232, 240, 0.96) 0 180deg, transparent 0);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 0 42px, #000 43px);
  mask: radial-gradient(circle at 50% 100%, transparent 0 42px, #000 43px);
}

.dashboard-gauge.is-good .dashboard-gauge-arc span {
  background: conic-gradient(from 270deg at 50% 100%, #22c55e 0 var(--gauge-angle), rgba(226, 232, 240, 0.96) 0 180deg, transparent 0);
}

.dashboard-gauge.is-risk .dashboard-gauge-arc span {
  background: conic-gradient(from 270deg at 50% 100%, #ef4444 0 var(--gauge-angle), rgba(226, 232, 240, 0.96) 0 180deg, transparent 0);
}

.dashboard-gauge-arc i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #10213a;
  transform-origin: left center;
  box-shadow: 0 4px 10px rgba(16, 33, 58, 0.22);
}

.dashboard-gauge strong {
  color: #10213a;
  font-size: 1.4rem;
  font-weight: 950;
}

.dashboard-gauge em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-status.is-good {
  background: rgba(220, 252, 231, 0.88);
  color: #166534;
}

.dashboard-status.is-watch {
  background: rgba(254, 243, 199, 0.9);
  color: #92400e;
}

.dashboard-status.is-risk {
  background: rgba(254, 226, 226, 0.9);
  color: #991b1b;
}

.dashboard-table-shell {
  margin-top: 4px;
}

.digital-dashboard-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.digital-dashboard-links a {
  min-height: 178px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 6px 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 10%, rgba(233, 242, 251, 0.96), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.09);
  color: #10213a;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.digital-dashboard-links a:hover,
.digital-dashboard-links a:focus-visible {
  border-color: rgba(47, 128, 201, 0.34);
  box-shadow: 0 20px 42px rgba(24, 56, 99, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.digital-dashboard-links img {
  grid-row: 1 / 4;
  justify-self: center;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(24, 56, 99, 0.2));
}

.digital-dashboard-links span {
  color: #195da0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.digital-dashboard-links strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.digital-dashboard-links em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.digital-dashboard-launcher {
  position: relative;
  min-height: 320px;
  margin: 18px 0 20px;
  padding: 26px 5vw 30px;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  grid-template-rows: repeat(2, minmax(132px, 1fr));
  gap: 24px 4vw;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.digital-dashboard-launcher a {
  min-height: 132px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  justify-content: center;
  align-items: center;
  gap: 5px 22px;
  padding: 18px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.digital-dashboard-launcher a[hidden],
.digital-dashboard-launcher a.is-access-denied,
.digital-card-actions a[hidden],
.digital-card-actions a.is-access-denied {
  display: none !important;
}

.digital-dashboard-launcher[hidden] {
  display: none !important;
}

.digital-dashboard-launcher a:hover,
.digital-dashboard-launcher a:focus-visible {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-4px);
}

.digital-dashboard-launcher img {
  grid-row: 1 / 4;
  justify-self: center;
  width: 108px;
  height: 108px;
  filter: drop-shadow(0 18px 24px rgba(24, 56, 99, 0.18));
  transition: transform 180ms ease, filter 180ms ease;
}

.digital-dashboard-launcher a:hover img,
.digital-dashboard-launcher a:focus-visible img {
  transform: scale(1.08);
  filter: drop-shadow(0 20px 30px rgba(47, 128, 201, 0.24));
}

.digital-dashboard-launcher span {
  margin-top: 0;
  color: #10213a;
  font-size: 1.05rem;
  text-transform: none;
}

.digital-dashboard-launcher strong {
  color: #516078;
  font-size: 0.9rem;
}

.digital-dashboard-launcher em {
  max-width: 360px;
  color: #6d7890;
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .digital-dashboard-launcher {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 18px;
    padding: 26px 18px 30px;
  }

  .digital-dashboard-launcher a {
    min-height: 150px;
    grid-template-columns: 92px minmax(0, 1fr);
    text-align: left;
  }

  .digital-dashboard-launcher img {
    width: 86px;
    height: 86px;
  }
}

.projectbook-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 5px 10px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 22px rgba(15, 23, 42, 0.06);
}

.projectbook-view-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.projectbook-view-switch input {
  width: 15px;
  height: 15px;
  accent-color: #195da0;
  cursor: pointer;
}

.projectbook-view-switch label:has(input:checked) {
  background: rgba(239, 246, 255, 0.92);
  color: #183863;
  box-shadow: 0 8px 18px rgba(25, 93, 160, 0.12);
}

.projectbook-page .employee-filter-row {
  gap: 12px;
}

.projectbook-status-filter {
  min-width: 180px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.projectbook-project-filter {
  display: none;
  min-width: 132px;
}

.projectbook-project-view .projectbook-project-filter {
  display: inline-flex;
}

.projectbook-status-filter select {
  min-width: 94px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.projectbook-sidebar-select {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.projectbook-sidebar-select select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(40, 40, 40, 0.12);
  border-radius: 999px;
  padding: 0 42px 0 14px;
  color: #344054;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 251, 0.96));
  box-shadow:
    inset 1px 3px 8px rgba(15, 23, 42, 0.08),
    0 10px 18px rgba(20, 20, 20, 0.06);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
}

.projectbook-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.projectbook-stats[hidden] {
  display: none !important;
}

.projectbook-stats article {
  min-height: 86px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.projectbook-stats span,
.projectbook-stats small {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.projectbook-stats strong {
  color: #183863;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.projectbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-height: 520px;
}

.projectbook-grid[hidden],
.projectbook-projects[hidden] {
  display: none !important;
}

.projectbook-page-list {
  display: none;
  align-content: start;
  gap: 10px;
  max-height: calc(100vh - 350px);
  overflow: auto;
  padding: 4px 8px 4px 0;
}

.projectbook-page-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding: 13px 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.projectbook-page-card:hover,
.projectbook-page-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(24, 56, 99, 0.28);
  background: rgba(239, 246, 255, 0.88);
  box-shadow: 0 14px 28px rgba(24, 56, 99, 0.11);
}

.projectbook-page-card span,
.projectbook-page-card strong {
  font-size: 14px;
  font-weight: 800;
}

.projectbook-page-card strong {
  color: #183863;
}

.projectbook-page-card small {
  grid-column: 1 / -1;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.projectbook-detail {
  min-width: 0;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.projectbook-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.projectbook-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.projectbook-icon-action {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(24, 56, 99, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.projectbook-icon-action:hover,
.projectbook-icon-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 93, 160, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 24px rgba(24, 56, 99, 0.16);
}

.projectbook-icon-action:active {
  transform: scale(0.97);
}

.projectbook-icon-action img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

body .employee-corner-logo {
  display: none !important;
}

.projectbook-project-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.projectbook-project-title-row h3,
.projectbook-project-title-row h4 {
  margin: 0;
  min-width: 0;
}

.projectbook-responsibility-button {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  border-color: #93c5fd;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 8px 16px rgba(59, 130, 246, 0.14);
}

.projectbook-responsibility-button img {
  width: 12px;
  height: 12px;
}

.projectbook-kw-button {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  border-color: #93c5fd;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.96));
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.08),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.08),
    0 8px 16px rgba(59, 130, 246, 0.14);
}

.projectbook-kw-button img {
  width: 12px;
  height: 12px;
}

.projectbook-responsibility-button::after,
.projectbook-kw-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4), rgba(96, 165, 250, 0.14) 48%, transparent 72%);
  filter: blur(3px);
  opacity: 0.86;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.projectbook-responsibility-button:hover::after,
.projectbook-responsibility-button:focus-visible::after,
.projectbook-kw-button:hover::after,
.projectbook-kw-button:focus-visible::after {
  opacity: 1;
  transform: scale(1.08);
}

.projectbook-project-expiry {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.projectbook-contact-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.projectbook-contact-list p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}

.projectbook-contact-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.projectbook-contact-list strong,
.projectbook-contact-list span {
  display: block;
}

.projectbook-contact-list strong {
  color: #0b2345;
  font-size: 13px;
  font-weight: 800;
}

.projectbook-contact-list span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.projectbook-contact-list button {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(190, 18, 60, 0.16);
  border-radius: 999px;
  background: rgba(255, 241, 242, 0.92);
  color: #be123c;
  font-weight: 800;
  cursor: pointer;
}

.projectbook-responsibility-modal {
  max-width: 720px;
}

.projectbook-responsibility-info {
  display: grid;
  gap: 12px;
}

.projectbook-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.projectbook-responsibility-grid article {
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.9));
  box-shadow: 0 12px 28px rgba(24, 56, 99, 0.08);
}

.projectbook-responsibility-grid strong {
  display: block;
  color: #0b2345;
  font-size: 18px;
  font-weight: 800;
}

.projectbook-responsibility-grid dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.projectbook-responsibility-grid div {
  display: grid;
  gap: 3px;
}

.projectbook-responsibility-grid dt {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.projectbook-responsibility-grid dd {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.projectbook-responsibility-grid a {
  color: #195da0;
  text-decoration: none;
}

.projectbook-icon-danger {
  border-color: rgba(190, 18, 60, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 242, 0.92));
}

.projectbook-icon-danger::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.32), rgba(225, 29, 72, 0.1) 48%, transparent 74%);
  filter: blur(4px);
  opacity: 0.76;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.projectbook-icon-danger:hover::after,
.projectbook-icon-danger:focus-visible::after {
  opacity: 0.95;
  transform: scale(1.06);
}

.projectbook-kw-modal {
  max-width: 760px;
}

.projectbook-kw-info {
  display: grid;
  gap: 16px;
}

.projectbook-kw-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.projectbook-kw-info-grid article,
.projectbook-kw-info-note {
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(24, 56, 99, 0.08);
}

.projectbook-kw-info-grid article {
  min-height: 118px;
  padding: 16px;
}

.projectbook-kw-info-grid span,
.projectbook-kw-info-note h3 {
  display: block;
  margin: 0 0 8px;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.projectbook-kw-info-grid strong {
  display: block;
  color: #0b2345;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.projectbook-kw-info-grid small,
.projectbook-kw-info-note p {
  display: block;
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.projectbook-kw-info-note {
  padding: 16px;
}

.projectbook-detail-head h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
}

.projectbook-detail-head p:not(.eyebrow) {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
}

.projectbook-task-table {
  min-width: 900px;
}

.projectbook-task-table td:nth-child(3) {
  min-width: 320px;
  white-space: normal;
}

.projectbook-task-table tr {
  cursor: pointer;
}

.projectbook-task-table tr.is-selected td {
  background: rgba(239, 246, 255, 0.96);
  box-shadow: inset 3px 0 0 #195da0;
}

.projectbook-task-table tr.is-subtask td:nth-child(2) {
  padding-left: 34px;
  color: #475569;
}

.projectbook-task-table tr.is-point-task td:nth-child(2) {
  padding-left: 58px;
  color: #64748b;
}


.projectbook-task-table tr.is-main-task td {
  background: rgba(220, 252, 231, 0.52);
}

.projectbook-task-table tr.is-main-task:hover td {
  background: rgba(187, 247, 208, 0.64);
}

.projectbook-task-table tr.is-subtask td {
  background: rgba(240, 253, 244, 0.82);
}

.projectbook-task-table tr.is-subtask:hover td {
  background: rgba(220, 252, 231, 0.78);
}

.projectbook-task-table tr.is-point-task td {
  background: rgba(248, 250, 252, 0.92);
}

.projectbook-task-table tr.is-point-task:hover td {
  background: rgba(239, 246, 255, 0.9);
}

.projectbook-task-table tr.is-subtask td:nth-child(2) {
  padding-left: 34px;
  color: #475569;
}

.projectbook-task-table tr.is-point-task td:nth-child(2) {
  padding-left: 58px;
  color: #64748b;
}

.projectbook-task-table tr.is-selected td {
  background: rgba(239, 246, 255, 0.96) !important;
  box-shadow: inset 3px 0 0 #195da0;
}

.projectbook-context-menu {
  position: fixed;
  z-index: 2200;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.projectbook-context-menu button {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #17233a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.projectbook-context-menu button:hover,
.projectbook-context-menu button:focus-visible {
  background: rgba(239, 246, 255, 0.95);
  color: #195da0;
  outline: none;
}

.projectbook-context-menu button[data-delete-task]:hover,
.projectbook-context-menu button[data-delete-task]:focus-visible {
  background: rgba(255, 241, 242, 0.95);
  color: #be123c;
}

/* AI Analyst Center */
.ai-analyst-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: "Manrope", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(25, 93, 160, 0.12), transparent 32%),
    linear-gradient(180deg, #eef4fb 0%, #f8fbff 48%, #ffffff 100%);
  color: #17233a;
}

.ai-analyst-shell {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 84px);
  padding: 16px 18px 20px 10px;
  overflow-x: hidden;
}

.ai-analyst-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding-right: 2px;
}

.ai-analyst-page .employee-sidebar-logo-stack {
  position: relative;
  height: 74px;
  overflow: hidden;
}

.ai-analyst-page .employee-sidebar-bg-logo {
  position: absolute;
  left: 3px;
  top: 8px;
  width: 218px;
  max-height: 58px;
  object-fit: contain;
  opacity: 0.16;
  filter: saturate(1.05);
}

.ai-analyst-page .employee-sidebar-icon {
  position: absolute;
  left: 16px;
  top: 8px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(24, 56, 99, 0.18));
}

.ai-analyst-page .employee-sidebar-panel {
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(18px);
  padding: 18px 16px;
}

.ai-sidebar-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0;
}

.ai-sidebar-actions button,
.ai-icon-actions button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 18px rgba(24,56,99,0.12);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ai-sidebar-actions button {
  width: 44px;
  height: 44px;
  justify-self: center;
}

.ai-sidebar-actions button:hover,
.ai-icon-actions button:hover,
.ai-sidebar-actions button:focus-visible,
.ai-icon-actions button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 93, 160, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 15px 26px rgba(24,56,99,0.16);
  outline: none;
}

.ai-sidebar-actions img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.ai-analyst-page button img {
  object-fit: contain;
}

.ai-analyst-main {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ai-analyst-main > * {
  width: 100%;
}

.ai-analyst-page :where(.ai-panel, .ai-grid-two, .ai-task-management, .ai-project-analysis, .ai-command-panel) {
  min-width: 0;
}

.ai-app-title-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto 34px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
}

.ai-app-title-row h2 {
  margin: 0;
  color: #061932;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.ai-view-switch {
  justify-self: center;
}

.ai-view-switch label {
  min-width: 142px;
  justify-content: center;
}

.ai-analyst-page [data-ai-view-section][hidden] {
  display: none !important;
}

.ai-analyst-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 38px rgba(15,23,42,0.08);
}

.ai-analyst-hero h2 {
  margin: 0;
  color: #102947;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: 0;
}

.ai-analyst-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 10px 0 0;
  color: #516070;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.ai-analyst-hero img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(24,56,99,0.16));
}

.ai-notification-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
}

.ai-notification-bar span {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(239,246,255,0.95);
  color: #183863;
  font-size: 12px;
  font-weight: 850;
}

.ai-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.ai-project-status .ai-kpi-grid {
  padding: 14px;
}

.ai-kpi-grid article,
.ai-panel {
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

.ai-kpi-grid article {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
}

.ai-kpi-grid span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.ai-kpi-grid strong {
  color: #183863;
  font-size: 28px;
  line-height: 1;
}

.ai-workflow-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}

.ai-analysis-flow {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ai-workflow-strip span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(239,246,255,0.96);
  color: #183863;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.ai-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-panel {
  overflow: hidden;
}

.ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  border-bottom: 1px solid rgba(24,56,99,0.1);
  background: linear-gradient(180deg, rgba(239,246,255,0.88), rgba(255,255,255,0.76));
}

.ai-panel-head h3,
.ai-command-panel h3 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.15;
}

.ai-panel select {
  min-height: 38px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: #17233a;
  font-weight: 750;
}

.ai-status-badge,
.ai-priority-tag {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.ai-status-badge.is-success {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.ai-status-badge.is-ready {
  background: rgba(239, 246, 255, 0.96);
  color: #195da0;
}

.ai-status-badge.is-warning {
  background: rgba(255, 247, 237, 0.96);
  color: #c2410c;
}

.ai-status-badge.is-error,
.ai-priority-tag.is-critical {
  background: rgba(255, 241, 242, 0.96);
  color: #be123c;
}

.ai-priority-tag.is-high {
  background: rgba(255, 247, 237, 0.96);
  color: #c2410c;
}

.ai-priority-tag.is-medium {
  background: rgba(254, 249, 195, 0.9);
  color: #854d0e;
}

.ai-priority-tag.is-low {
  background: rgba(239, 246, 255, 0.96);
  color: #195da0;
}

.ai-project-analysis {
  overflow: hidden;
}

.ai-analysis-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  padding: 14px;
}

.ai-analysis-summary,
.ai-analysis-files article,
.ai-roadmap-columns article,
.ai-insight-list article {
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.ai-analysis-summary {
  padding: 14px;
}

.ai-analysis-summary dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
}

.ai-analysis-summary dt {
  color: #667085;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-analysis-summary dd {
  margin: 3px 0 0;
  color: #183863;
  font-size: 14px;
  font-weight: 900;
}

.ai-analysis-summary p {
  margin: 14px 0 0;
  color: #516070;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.ai-analysis-files,
.ai-roadmap-columns,
.ai-insight-list {
  display: grid;
  gap: 10px;
}

.ai-analysis-files article,
.ai-roadmap-columns article,
.ai-insight-list article {
  padding: 13px;
}

.ai-analysis-files strong,
.ai-roadmap-columns strong,
.ai-insight-list h4 {
  display: block;
  margin: 0 0 7px;
  color: #102947;
  font-size: 14px;
  font-weight: 900;
}

.ai-analysis-files span,
.ai-roadmap-columns p,
.ai-insight-list p {
  margin: 0;
  color: #516070;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ai-roadmap-columns {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: 14px;
}

.ai-insight-list {
  padding: 14px;
}

.ai-insight-list .ai-priority-tag {
  margin-bottom: 9px;
}

.ai-task-management {
  overflow: hidden;
}

.ai-task-toolbar,
.ai-card-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-task-toolbar button,
.ai-card-icons button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 18px rgba(24,56,99,0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ai-task-toolbar button:hover,
.ai-card-icons button:hover,
.ai-task-toolbar button:focus-visible,
.ai-card-icons button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25,93,160,0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), 0 14px 24px rgba(24,56,99,0.16);
  outline: none;
}

.ai-task-toolbar img,
.ai-card-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ai-task-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(24,56,99,0.1);
}

.ai-task-controls label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.ai-task-controls input,
.ai-task-controls select,
.ai-task-modal input,
.ai-task-modal select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: #17233a;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 2px 5px rgba(24,56,99,0.08);
}

.ai-task-selected-hint {
  padding: 10px 16px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.ai-task-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 0 14px 14px;
}

.ai-task-board h4 {
  margin: 0 0 10px;
  color: #102947;
  font-size: 15px;
  font-weight: 950;
}

.ai-task-list {
  display: grid;
  gap: 12px;
}

.ai-managed-task {
  padding: 14px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 12px 26px rgba(15,23,42,0.055);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ai-managed-task:hover,
.ai-managed-task.is-selected {
  transform: translateY(-1px);
  border-color: rgba(25,93,160,0.32);
  background: rgba(239,246,255,0.88);
  box-shadow: 0 16px 30px rgba(24,56,99,0.12);
}

.ai-managed-task header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ai-managed-task .ai-card-icons {
  justify-content: flex-start;
}

.ai-managed-task h4 {
  margin: 0;
  color: #102947;
  font-size: 16px;
  line-height: 1.25;
}

.ai-managed-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-source-badge {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239,246,255,0.96);
  color: #183863;
  font-size: 11px;
  font-weight: 950;
}

.ai-managed-task p {
  margin: 12px 0;
  color: #516070;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ai-managed-task dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.ai-managed-task dt {
  color: #667085;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-managed-task dd {
  margin: 2px 0 0;
  color: #17233a;
  font-size: 12px;
  font-weight: 800;
}

.ai-priority-tag.is-kritisch {
  background: rgba(255,241,242,0.96);
  color: #be123c;
}

.ai-priority-tag.is-hoch {
  background: rgba(255,247,237,0.96);
  color: #c2410c;
}

.ai-priority-tag.is-mittel {
  background: rgba(254,249,195,0.9);
  color: #854d0e;
}

.ai-priority-tag.is-niedrig,
.ai-priority-tag.is-idee {
  background: rgba(239,246,255,0.96);
  color: #195da0;
}

.ai-form-wide {
  grid-column: 1 / -1;
}

.ai-task-checklist-editor {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.ai-task-checklist-editor label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(239,246,255,0.88);
  color: #183863;
  font-size: 13px;
  font-weight: 850;
}

.ai-approval-list,
.ai-queue-list,
.ai-blocker-list,
.ai-history-list,
.ai-report-list,
.ai-change-list,
.ai-problem-list,
.ai-recommendation-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ai-pill-action {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
  color: #183863;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(24,56,99,0.1);
}

.ai-pill-action:hover,
.ai-pill-action:focus-visible {
  border-color: rgba(25, 93, 160, 0.36);
  outline: none;
}

.ai-history-item,
.ai-report-list article,
.ai-change-list article,
.ai-problem-list article,
.ai-recommendation-list article,
.ai-knowledge-grid article {
  padding: 14px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.74);
}

.ai-history-item header,
.ai-change-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-history-item strong,
.ai-report-list strong,
.ai-change-list strong,
.ai-problem-list strong,
.ai-knowledge-grid strong {
  color: #102947;
  font-size: 14px;
  line-height: 1.3;
}

.ai-history-item header span,
.ai-change-list span,
.ai-problem-list em {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.ai-history-item dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0 0;
}

.ai-history-item dt {
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-history-item dd {
  margin: 2px 0 0;
  color: #183863;
  font-size: 13px;
  font-weight: 900;
}

.ai-report-list p {
  margin: 8px 0 0;
  color: #516070;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ai-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.ai-knowledge-grid span {
  display: block;
  margin-bottom: 7px;
  color: #195da0;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-architecture-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 14px;
  list-style: none;
  counter-reset: architecture;
}

.ai-architecture-flow li {
  counter-increment: architecture;
  position: relative;
  padding: 12px 12px 12px 42px;
  border-radius: 14px;
  background: rgba(239,246,255,0.88);
  color: #183863;
  font-size: 13px;
  font-weight: 850;
}

.ai-architecture-flow li::before {
  content: counter(architecture);
  position: absolute;
  left: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #183863;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.ai-problem-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 12px;
}

.ai-problem-list article span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #183863;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.ai-problem-list em {
  font-style: normal;
}

.ai-recommendation-list article {
  color: #17233a;
  font-size: 13px;
  font-weight: 750;
}

.ai-extension-grid,
.ai-release-checklist {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ai-extension-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-extension-grid article,
.ai-release-checklist label {
  padding: 14px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.74);
}

.ai-extension-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #102947;
  font-size: 14px;
  font-weight: 950;
}

.ai-extension-grid span {
  color: #516070;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ai-release-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #183863;
  font-size: 13px;
  font-weight: 850;
}

.ai-philosophy-panel {
  overflow: hidden;
}

.ai-philosophy-panel p {
  margin: 0;
  padding: 16px;
  color: #516070;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.ai-compare-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 14px 6px;
}

.ai-compare-box label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ai-compare-box select {
  width: 100%;
}

.ai-export-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 14px 14px;
}

.ai-export-actions button {
  min-height: 38px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: rgba(239,246,255,0.92);
  color: #183863;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ai-settings-panel {
  overflow: hidden;
}

.ai-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.ai-settings-grid label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ai-settings-grid input,
.ai-settings-grid select,
.ai-codex-modal textarea {
  width: 100%;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  color: #17233a;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 2px 5px rgba(24,56,99,0.08);
}

.ai-settings-grid input,
.ai-settings-grid select {
  min-height: 42px;
  padding: 0 12px;
}

.ai-settings-actions {
  padding: 0 14px 14px;
}

.ai-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.74);
}

.ai-task h4,
.ai-queue-item strong,
.ai-blocker-list strong {
  margin: 0;
  color: #102947;
  font-size: 15px;
  line-height: 1.25;
}

.ai-task p,
.ai-blocker-list p {
  margin: 7px 0;
  color: #516070;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.ai-task small,
.ai-task em {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.ai-task em {
  margin-top: 8px;
  color: #195da0;
  font-style: normal;
}

.ai-priority {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #183863;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.ai-task-status {
  display: grid;
  align-content: start;
  gap: 10px;
}

.ai-icon-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, 36px);
  gap: 7px;
}

.ai-icon-actions button {
  width: 36px;
  height: 36px;
  padding: 0;
}

.ai-icon-actions button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.ai-icon-actions img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.ai-queue-item,
.ai-blocker-list article {
  padding: 14px;
  border: 1px solid rgba(24,56,99,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.74);
}

.ai-queue-item header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ai-queue-item header span {
  color: #195da0;
  font-size: 12px;
  font-weight: 900;
}

.ai-queue-item dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0;
}

.ai-codex-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: start;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
  color: #183863;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(24,56,99,0.1);
}

.ai-codex-open img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ai-queue-item dt {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-queue-item dd {
  margin: 3px 0 0;
  color: #17233a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.ai-day-flow {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 14px;
  list-style: none;
}

.ai-day-flow li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(239,246,255,0.86);
  color: #17233a;
  font-size: 13px;
  font-weight: 750;
}

.ai-day-flow span {
  color: #195da0;
  font-weight: 950;
}

.ai-command-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.ai-command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.ai-command-grid span {
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(239,246,255,0.88);
  color: #183863;
  font-size: 12px;
  font-weight: 850;
}

.ai-empty {
  margin: 0;
  padding: 14px;
  color: #667085;
  font-weight: 700;
}

.ai-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
}

.ai-modal-backdrop[hidden] {
  display: none;
}

.ai-codex-modal {
  width: min(1040px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border: 1px solid rgba(24,56,99,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 30px 80px rgba(15,23,42,0.28);
}

.ai-codex-modal header,
.ai-codex-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(24,56,99,0.1);
  background: linear-gradient(180deg, rgba(239,246,255,0.92), rgba(255,255,255,0.82));
}

.ai-codex-modal footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(24,56,99,0.1);
  border-bottom: 0;
}

.ai-codex-modal h3 {
  margin: 0;
  color: #102947;
  font-size: 22px;
}

.ai-codex-modal header > button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(24,56,99,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #183863;
  font-size: 22px;
  cursor: pointer;
}

.ai-codex-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 16px;
}

.ai-codex-modal-grid label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.ai-codex-modal textarea {
  min-height: 86px;
  padding: 12px;
  resize: vertical;
}

.ai-codex-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.ai-codex-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(239,246,255,0.88);
  color: #183863;
  font-size: 12px;
  font-weight: 850;
}

.ai-codex-status {
  margin: 0 16px 14px;
  padding: 10px 14px;
  border: 1px solid rgba(25, 93, 160, 0.14);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.88);
  color: #183863;
  font-size: 12px;
  font-weight: 800;
}

.ai-confirm-action {
  background: #183863;
  color: #fff;
}

/* AI Logbuch */
.ailog-page .employee-app-main {
  overflow: hidden;
}

.ailog-command-row {
  grid-template-columns: auto minmax(280px, 1fr) auto;
}

.ailog-view {
  display: grid;
  gap: 14px;
}

.ailog-day-toolbar,
.ailog-index-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.ailog-day-toolbar h3,
.ailog-index-head h3 {
  margin: 0;
  color: #102947;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.ailog-day-toolbar small {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.ailog-daily-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.ailog-daily-card label,
.ailog-grid label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ailog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ailog-daily-card input,
.ailog-daily-card select,
.ailog-daily-card textarea,
.ailog-index-head input {
  width: 100%;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.92));
  box-shadow: inset 0 1px 2px rgba(15,23,42,0.07);
  color: #17233a;
  font: inherit;
}

.ailog-daily-card input,
.ailog-daily-card select {
  min-height: 40px;
  padding: 0 12px;
}

.ailog-daily-card textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.ailog-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ailog-blog-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(25, 93, 160, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(239,246,255,0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 26px rgba(24,56,99,0.07);
}

.ailog-blog-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
}

.ailog-blog-card header span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(25, 93, 160, 0.1);
  color: #195da0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ailog-blog-card header strong {
  color: #102947;
  font-size: 18px;
  font-weight: 950;
}

.ailog-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.ailog-checklist label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.88);
  color: #183863;
}

.ailog-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
}

.ailog-empty,
.ailog-empty-list {
  padding: 26px;
  border: 1px dashed rgba(24, 56, 99, 0.2);
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.62);
  color: #667085;
}

.ailog-empty h3 {
  margin: 0 0 8px;
  color: #102947;
}

.ailog-index-head {
  grid-template-columns: minmax(220px, 0.55fr) minmax(260px, 1fr);
}

.ailog-index-list {
  display: grid;
  gap: 12px;
}

.ailog-index-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.ailog-index-card:hover {
  border-color: rgba(25, 93, 160, 0.24);
  box-shadow: 0 16px 34px rgba(24, 56, 99, 0.11);
}

.ailog-index-card h4,
.ailog-index-card p {
  margin: 0;
}

.ailog-index-card h4 {
  color: #102947;
  font-size: 18px;
  font-weight: 900;
}

.ailog-index-card span,
.ailog-index-card p {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

.ailog-index-card strong {
  color: #195da0;
  white-space: nowrap;
}

.ailog-hero,
.ailog-card,
.ailog-settings-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.ailog-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ailog-hero h3,
.ailog-card h3,
.ailog-settings-card h3 {
  margin: 0;
  color: #102947;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 950;
}

.ailog-hero p,
.ailog-blog-copy {
  margin: 8px 0 0;
  color: #516070;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.ailog-run-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ailog-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
}

.ailog-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.ailog-kpi-grid article,
.ailog-change-list article,
.ailog-insight-grid article,
.ailog-roadmap-grid article,
.ailog-recommendation-list article,
.ailog-queue-list article,
.ailog-chronicle-list article {
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.055);
}

.ailog-kpi-grid article {
  padding: 14px;
}

.ailog-kpi-grid span,
.ailog-kpi-grid small,
.ailog-roadmap-grid span,
.ailog-recommendation-list span,
.ailog-queue-list span,
.ailog-chronicle-list span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ailog-kpi-grid strong {
  display: block;
  margin: 7px 0 2px;
  color: #102947;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.ailog-change-list,
.ailog-insight-grid,
.ailog-roadmap-grid,
.ailog-recommendation-list,
.ailog-queue-list,
.ailog-chronicle-list {
  display: grid;
  gap: 12px;
}

.ailog-change-list article,
.ailog-insight-grid article,
.ailog-roadmap-grid article,
.ailog-recommendation-list article,
.ailog-queue-list article,
.ailog-chronicle-list article {
  padding: 15px;
}

.ailog-change-list p,
.ailog-insight-grid p,
.ailog-recommendation-list p,
.ailog-queue-list p,
.ailog-chronicle-list p {
  margin: 0;
  color: #516070;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.ailog-insight-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ailog-insight-grid strong,
.ailog-roadmap-grid strong,
.ailog-recommendation-list strong,
.ailog-queue-list strong,
.ailog-chronicle-list strong {
  display: block;
  margin-bottom: 7px;
  color: #102947;
  font-size: 16px;
  font-weight: 950;
}

.ailog-insight-grid article > span {
  display: block;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid rgba(25, 93, 160, 0.36);
  color: #195da0;
  font-size: 13px;
  font-weight: 850;
}

.ailog-roadmap-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ailog-roadmap-grid span,
.ailog-recommendation-list header span,
.ailog-queue-list header span {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 93, 160, 0.1);
  color: #195da0;
}

.ailog-recommendation-list header,
.ailog-queue-list header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ailog-recommendation-list dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}

.ailog-recommendation-list dt,
.ailog-recommendation-list dd {
  margin: 0;
}

.ailog-recommendation-list dt {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.ailog-recommendation-list dd {
  color: #183863;
  font-size: 13px;
  font-weight: 850;
}

.ailog-queue-list button {
  margin-top: 12px;
}

.ailog-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ailog-settings-grid label,
.ailog-toggle {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ailog-settings-grid input,
.ailog-settings-grid select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.92));
  color: #17233a;
  font: inherit;
}

.ailog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

/* AI Logbuch Activity Feed */
.ailog-feed-page .ailog-main {
  gap: 14px;
}

.ailog-feed-page .employee-app-title-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.ailog-feed-page .employee-app-title-row .employee-title-tools.ailog-title-tools {
  display: grid;
  grid-template-columns: 176px minmax(620px, 620px) 38px;
  align-items: center;
  justify-content: start;
  justify-items: stretch;
  gap: 24px;
  min-width: 0;
  width: 100%;
}

.ailog-period-switch {
  display: grid;
  grid-column: 1;
  gap: 6px;
  min-width: 176px;
  min-height: 126px;
  align-content: center;
  justify-self: start;
  padding: 9px 12px;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 22px rgba(15, 23, 42, 0.06);
}

.ailog-feed-page .employee-app-title-row .ailog-period-switch {
  grid-column: 1;
  justify-self: start;
}

.ailog-period-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-width: 0;
  min-height: 30px;
  justify-content: flex-start;
  padding: 8px 13px;
  border-radius: 999px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ailog-period-switch input {
  width: 15px;
  height: 15px;
  accent-color: #195da0;
  cursor: pointer;
}

.ailog-period-switch label:has(input:checked) {
  background: rgba(239, 246, 255, 0.92);
  color: #183863;
  box-shadow: 0 8px 18px rgba(25, 93, 160, 0.12);
}

.ailog-period-carousel {
  grid-column: 2;
  justify-self: start;
}

.ailog-feed-page .employee-app-title-row .ailog-period-carousel {
  grid-column: 2;
}

.ailog-feed-page .employee-app-title-row .employee-title-tools.ailog-title-tools > .info-button {
  grid-column: 3;
  justify-self: end;
}

.ailog-day-carousel {
  position: relative;
  width: 620px;
  height: 74px;
  padding: 5px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 20px rgba(24,56,99,0.08);
  overflow: hidden;
}

.ailog-period-carousel[hidden] {
  display: none !important;
}

.ailog-day-orbit {
  position: relative;
  width: 100%;
  height: 100%;
}

.ailog-day-grip {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 46px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 8px 18px rgba(24,56,99,0.12);
  cursor: grab;
  transform: translateY(-50%);
}

.ailog-day-grip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #195da0;
  border-left: 2px solid #195da0;
}

.ailog-day-grip.is-left {
  left: 8px;
}

.ailog-day-grip.is-left::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.ailog-day-grip.is-right {
  right: 8px;
}

.ailog-day-grip.is-right::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.ailog-day-grip:hover,
.ailog-day-grip:focus-visible,
.ailog-day-grip.is-holding {
  border-color: rgba(25, 93, 160, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 24px rgba(24,56,99,0.18);
  outline: none;
}

.ailog-day-grip.is-holding {
  cursor: grabbing;
  background: linear-gradient(180deg, rgba(239,246,255,1), rgba(219,234,254,0.96));
}

.ailog-day-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 116px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  font: inherit;
  text-decoration: none;
  opacity: 0;
  cursor: pointer;
  user-select: none;
  touch-action: pan-x;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(var(--day-x, 0)) scale(var(--day-scale, 0.7));
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease, background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.ailog-day-chip span {
  color: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.ailog-day-chip small,
.ailog-day-chip em {
  margin-top: 3px;
  color: inherit;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.ailog-day-chip em {
  margin-top: 2px;
  font-style: normal;
  opacity: 0.72;
}

.ailog-day-chip.is-active {
  width: 154px;
  min-height: 60px;
  background: linear-gradient(180deg, #ffffff, #edf5ff);
  color: #183863;
  opacity: 1;
  pointer-events: auto;
  cursor: grab;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 18px rgba(24,56,99,0.14);
}

.ailog-day-chip.is-past-day {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(219, 234, 254, 0.72));
  color: #195da0;
}

.ailog-day-chip.is-today-day {
  background: linear-gradient(180deg, rgba(250, 255, 250, 0.98), rgba(220, 252, 231, 0.78));
  color: #166534;
}

.ailog-day-chip.is-future-day {
  background: linear-gradient(180deg, rgba(255, 253, 232, 0.98), rgba(254, 243, 199, 0.78));
  color: #92400e;
}

.ailog-day-chip.is-active.is-past-day {
  background: linear-gradient(180deg, #ffffff, #dbeafe);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 20px rgba(25,93,160,0.18);
}

.ailog-day-chip.is-active.is-today-day {
  background: linear-gradient(180deg, #ffffff, #dcfce7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 20px rgba(22,101,52,0.16);
}

.ailog-day-chip.is-active.is-future-day {
  background: linear-gradient(180deg, #ffffff, #fef3c7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 20px rgba(146,64,14,0.16);
}

.ailog-day-chip.is-side {
  opacity: 0.64;
  pointer-events: auto;
  cursor: pointer;
}

.ailog-day-chip.is-far {
  opacity: 0;
  pointer-events: none;
}

.ailog-day-chip[data-day-pos="-2"] { --day-x: -246px; --day-scale: .74; opacity: .46; pointer-events: auto; }
.ailog-day-chip[data-day-pos="-1"] { --day-x: -128px; --day-scale: .88; }
.ailog-day-chip[data-day-pos="0"] { --day-x: 0px; --day-scale: 1; }
.ailog-day-chip[data-day-pos="1"] { --day-x: 128px; --day-scale: .88; }
.ailog-day-chip[data-day-pos="2"] { --day-x: 246px; --day-scale: .74; opacity: .46; pointer-events: auto; }

.ailog-day-carousel.is-dragging {
  cursor: grabbing;
}

.ailog-day-carousel.is-dragging .ailog-day-chip.is-active {
  cursor: grabbing;
}

.ailog-day-carousel.is-dragging .ailog-day-chip {
  transition-duration: 120ms;
}

.ailog-day-carousel.is-rotating .ailog-day-chip {
  transition-duration: 220ms;
}

.ailog-day-chip.is-side:hover,
.ailog-day-chip.is-side:focus-visible {
  opacity: 1;
  outline: none;
}

.ailog-day-chip.is-active:hover,
.ailog-day-chip.is-active:focus-visible {
  --day-scale: 1.04;
  outline: none;
}

.ailog-side-nav {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.ailog-side-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 16px rgba(24,56,99,0.08);
  color: #23324d;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.ailog-side-nav a:hover,
.ailog-side-nav a:focus-visible {
  border-color: rgba(25, 93, 160, 0.34);
  color: #195da0;
  outline: none;
}

.ailog-mini-calendar {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.72);
}

.ailog-mini-calendar strong,
.ailog-mini-calendar > span {
  color: #102947;
  font-size: 13px;
  font-weight: 950;
}

.ailog-mini-calendar div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ailog-mini-calendar p {
  width: 100%;
  margin: 0;
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.ailog-mini-calendar a,
.ailog-mini-calendar div span {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #183863;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.ailog-feed-dashboard,
.ailog-feed-section,
.ailog-day-entry {
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.ailog-feed-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.3fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.ailog-feed-dashboard h3,
.ailog-section-head h3,
.ailog-day-head time {
  margin: 0;
  color: #102947;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.12;
}

.ailog-feed-dashboard p {
  margin: 8px 0 0;
  color: #516070;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.ailog-status-panel {
  display: grid;
  gap: 8px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.78);
}

.ailog-status-panel span,
.ailog-status-panel small {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ailog-status-panel strong {
  color: #102947;
  font-size: 15px;
  font-weight: 950;
}

.ailog-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 56, 99, 0.12);
}

.ailog-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #195da0, #4f8ed1);
}

.ailog-activity-feed {
  display: grid;
  gap: 16px;
}

.ailog-day-entry {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.ailog-day-entry[hidden] {
  display: none !important;
}

.ailog-day-placeholder {
  opacity: 0.62;
}

.ailog-day-placeholder .ailog-feed-post {
  background: rgba(239, 246, 255, 0.28);
}

.ailog-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
}

.ailog-day-head span,
.ailog-post-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 93, 160, 0.1);
  color: #195da0;
  font-size: 12px;
  font-weight: 900;
}

.ailog-feed-post {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px 20px 20px 72px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.08);
}

.ailog-feed-post:last-child {
  border-bottom: 0;
}

.ailog-feed-post::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 62px;
  bottom: -18px;
  width: 2px;
  background: rgba(24, 56, 99, 0.11);
}

.ailog-feed-post:last-child::before {
  display: none;
}

.ailog-feed-post > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ailog-skill-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(239, 246, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 16px rgba(24,56,99,0.12);
  font-size: 20px;
}

.ailog-feed-post h3 {
  margin: 0;
  color: #102947;
  font-size: 18px;
  font-weight: 950;
}

.ailog-feed-post time {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.ailog-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ailog-check-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(239, 246, 255, 0.76);
  color: #183863;
  font-size: 12px;
  font-weight: 850;
}

.ailog-check-list li::before {
  content: "✓";
  color: #195da0;
  font-weight: 950;
}

.ailog-post-block,
.ailog-feed-section {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.ailog-post-block h4 {
  margin: 0 0 10px;
  color: #102947;
  font-size: 15px;
  font-weight: 950;
}

.ailog-post-block p,
.ailog-feed-text,
.ailog-prompt-list p,
.ailog-skill-grid p {
  margin: 0;
  color: #516070;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.ailog-feed-insight {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.62);
}

.ailog-feed-insight + .ailog-feed-insight {
  margin-top: 10px;
}

.ailog-feed-insight strong,
.ailog-prompt-list strong,
.ailog-knowledge-map strong,
.ailog-skill-grid strong {
  color: #102947;
  font-size: 14px;
  font-weight: 950;
}

.ailog-feed-insight span {
  color: #195da0;
  font-size: 13px;
  font-weight: 800;
}

.ailog-recommendation-feed {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.ailog-recommendation-feed li {
  color: #102947;
  font-weight: 900;
}

.ailog-recommendation-feed span {
  display: block;
  margin-top: 4px;
  color: #516070;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.ailog-roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ailog-roadmap-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(25, 93, 160, 0.1);
  color: #195da0;
  font-size: 12px;
  font-weight: 900;
}

.ailog-feed-section {
  display: grid;
  gap: 14px;
}

.ailog-section-head {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
}

.ailog-prompt-list,
.ailog-knowledge-map,
.ailog-skill-grid {
  display: grid;
  gap: 12px;
}

.ailog-prompt-list article,
.ailog-knowledge-map article,
.ailog-skill-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 15px;
  background: rgba(255,255,255,0.74);
}

.ailog-prompt-list details {
  border-radius: 12px;
  background: rgba(239,246,255,0.75);
}

.ailog-prompt-list summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  color: #195da0;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ailog-prompt-list pre {
  white-space: pre-wrap;
  margin: 0;
  padding: 12px;
  border-top: 1px solid rgba(24,56,99,0.1);
  color: #183863;
  font: 12px/1.55 "Manrope", "Segoe UI", sans-serif;
}

.ailog-knowledge-map,
.ailog-skill-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.ailog-knowledge-map span {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.ailog-skill-grid article > span {
  font-size: 24px;
}

@media (max-width: 1100px) {
  .ailog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ailog-hero,
  .ailog-feed-dashboard,
  .ailog-settings-grid {
    grid-template-columns: 1fr;
  }

  .ailog-run-panel,
  .ailog-toggle {
    justify-self: stretch;
  }

  .ailog-feed-post {
    padding-left: 18px;
  }

  .ailog-feed-post::before {
    display: none;
  }

  .ailog-feed-post > header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .ailog-day-carousel {
    width: min(520px, 100%);
  }

  .ailog-feed-page .employee-app-title-row {
    grid-template-columns: 1fr;
  }

  .ailog-feed-page .employee-app-title-row .employee-title-tools.ailog-title-tools {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    justify-items: stretch;
  }

  .ailog-period-switch {
    width: auto;
  }

  .ailog-post-status {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .ailog-blog-grid {
    grid-template-columns: 1fr;
  }

  .ailog-index-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ailog-feed-page .employee-app-title-row .employee-title-tools.ailog-title-tools {
    grid-template-columns: 1fr;
  }

  .ailog-period-switch {
    min-height: 0;
    width: 100%;
  }

  .ailog-command-row,
  .ailog-day-toolbar,
  .ailog-index-head,
  .ailog-grid {
    grid-template-columns: 1fr;
  }

  .ailog-card-actions {
    justify-content: stretch;
  }

  .ailog-card-actions .employee-pill-button,
  .ailog-command-row .employee-pill-button {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .ai-grid-two {
    grid-template-columns: 1fr;
  }

  .ai-app-title-row {
    grid-template-columns: 1fr auto;
  }

  .ai-view-switch {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .ai-analyst-sidebar {
    position: static;
  }

  .ai-kpi-grid,
  .ai-workflow-strip,
  .ai-command-grid,
  .ai-analysis-layout,
  .ai-settings-grid,
  .ai-task-board,
  .ai-task-controls,
  .ai-extension-grid,
  .ai-codex-modal-grid,
  .ai-codex-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-task {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ai-analyst-shell {
    padding: 12px;
  }

  .ai-app-title-row {
    grid-template-columns: 1fr;
  }

  .ai-view-switch label {
    min-width: 126px;
  }

  .ai-analyst-hero {
    grid-template-columns: 1fr;
  }

  .ai-kpi-grid,
  .ai-workflow-strip,
  .ai-command-grid,
  .ai-analysis-layout,
  .ai-analysis-summary dl,
  .ai-roadmap-columns,
  .ai-settings-grid,
  .ai-task-board,
  .ai-task-controls,
  .ai-extension-grid,
  .ai-managed-task header,
  .ai-managed-task dl,
  .ai-codex-modal-grid,
  .ai-codex-checklist,
  .ai-queue-item dl {
    grid-template-columns: 1fr;
  }
}

.projectbook-project-task-grid {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.projectbook-project-task-card {
  overflow: hidden;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.projectbook-project-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.8));
}

.projectbook-project-task-head h4 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.projectbook-progress {
  min-width: 188px;
  display: grid;
  gap: 5px;
  justify-items: end;
}

.projectbook-progress strong {
  color: #183863;
  font-size: 18px;
  font-weight: 900;
}

.projectbook-progress span {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 56, 99, 0.12);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.projectbook-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #195da0, #4f8dca);
  box-shadow: 0 0 12px rgba(25, 93, 160, 0.28);
}

.projectbook-progress small {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.projectbook-card-table-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.projectbook-project-table {
  min-width: 1320px;
}

.projectbook-index-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-height: 520px;
}

.projectbook-project-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: calc(100vh - 350px);
  overflow: auto;
  padding: 4px 8px 4px 0;
}

.projectbook-index-table {
  min-width: 1280px;
  display: grid;
  gap: 6px;
}

.projectbook-index-row {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(220px, 1.25fr) minmax(110px, 0.55fr) minmax(230px, 0.95fr) minmax(230px, 0.95fr) minmax(120px, 0.5fr) 82px 42px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.projectbook-index-row-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 38px;
  border-color: rgba(24, 56, 99, 0.14);
  background: rgba(239, 246, 255, 0.96);
  color: #183863;
  cursor: default;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.projectbook-index-row:not(.projectbook-index-row-head):hover,
.projectbook-index-row.is-active {
  transform: translateY(-1px);
  border-color: rgba(24, 56, 99, 0.28);
  background: rgba(240, 253, 244, 0.88);
  box-shadow: 0 12px 24px rgba(24, 56, 99, 0.1);
}

.projectbook-index-row span {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projectbook-index-row span:nth-child(4),
.projectbook-index-row span:nth-child(5) {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.projectbook-index-row-head span {
  color: #183863;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.projectbook-index-row small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #667085;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projectbook-index-progress {
  display: grid !important;
  gap: 3px;
}

.projectbook-index-progress strong {
  color: #183863;
  font-size: 13px;
  font-weight: 900;
}

.projectbook-index-progress small {
  margin: 0;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

.projectbook-index-progress i {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 56, 99, 0.12);
}

.projectbook-index-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #195da0, #4f8dca);
}

.projectbook-task-jump {
  width: 32px;
  height: 32px;
  display: inline-grid !important;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(24, 56, 99, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  box-shadow: 0 8px 16px rgba(24, 56, 99, 0.1);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.projectbook-task-jump:hover {
  transform: translateY(-1px);
  border-color: rgba(25, 93, 160, 0.38);
  box-shadow: 0 12px 22px rgba(24, 56, 99, 0.16);
}

.projectbook-task-jump img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.employee-context-menu {
  position: fixed;
  z-index: 10050;
  min-width: 170px;
  padding: 8px;
  border: 1px solid rgba(24, 56, 99, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 38px rgba(24, 56, 99, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.employee-context-menu button {
  width: 100%;
  display: block;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  color: #10233f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.employee-context-menu button:hover,
.employee-context-menu button:focus-visible {
  color: #195da0;
  background: rgba(25, 93, 160, 0.08);
  outline: none;
}

.projectbook-index-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding: 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.projectbook-index-card:hover,
.projectbook-index-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(24, 56, 99, 0.28);
  background: rgba(239, 246, 255, 0.88);
  box-shadow: 0 14px 28px rgba(24, 56, 99, 0.11);
}

.projectbook-index-card span {
  font-size: 14px;
  font-weight: 800;
}

.projectbook-index-card small {
  grid-column: 1 / -1;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.projectbook-project-detail {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  overflow: auto;
}

.projectbook-index-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(24, 56, 99, 0.1);
}

.projectbook-detail-progress {
  min-width: 190px;
  display: grid;
  gap: 9px;
  justify-items: end;
}

.projectbook-index-detail-head h3 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
}

.projectbook-index-detail-head p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.projectbook-index-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.projectbook-index-meta div {
  padding: 12px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.projectbook-index-meta dt {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.projectbook-index-meta dd {
  margin: 4px 0 0;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.projectbook-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.projectbook-index-task-preview {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.projectbook-index-task-preview h4 {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.projectbook-index-task-preview p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(240, 253, 244, 0.82);
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.projectbook-index-task-preview span {
  display: inline-flex;
  margin-right: 8px;
  color: #166534;
  font-weight: 800;
}

.projectbook-row-action {
  min-width: 118px;
  min-height: 34px;
  padding-inline: 12px;
  font-size: 12px;
}

.projectbook-danger-action {
  border-color: rgba(190, 18, 60, 0.18) !important;
  color: #9f1239 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 242, 0.9)) !important;
}

.projectbook-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.projectbook-status.is-erledigt {
  color: #1f7a4c;
  background: rgba(220, 252, 231, 0.88);
}

.projectbook-status.is-offen {
  color: #183863;
  background: rgba(239, 246, 255, 0.9);
}

.projectbook-status.is-abgelehnt {
  color: #9f1239;
  background: rgba(255, 241, 242, 0.92);
}

.projectbook-empty {
  margin: 0;
  padding: 18px;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
}

.projectbook-form-grid {
  grid-template-columns: minmax(0, 1fr);
}

.employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section legend,
.employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section > input[type="hidden"],
.employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section label:has(textarea),
.employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section label:has(input[type="file"]) {
  grid-column: 1 / -1;
}

.projectbook-modal textarea,
.projectbook-modal input[type="file"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.82), rgba(207, 216, 228, 0.82));
  color: #111827;
  font: inherit;
  font-size: 15px;
  resize: vertical;
  box-shadow: inset 0 2px 8px rgba(24, 56, 99, 0.12);
}

.projectbook-modal input[type="file"] {
  min-height: 48px;
  cursor: pointer;
}

.projectbook-page .employee-table-shell {
  max-height: calc(100vh - 390px);
  overflow: auto;
}

@media (max-width: 1180px) {
  .projectbook-grid,
  .projectbook-index-window,
  .projectbook-stats {
    grid-template-columns: 1fr;
  }

  .projectbook-page-list,
  .projectbook-project-list {
    max-height: 360px;
  }

  .projectbook-index-meta {
    grid-template-columns: 1fr;
  }

  .employee-modal-form[data-project-form] .projectbook-form-grid .employee-modal-section {
    grid-template-columns: 1fr;
  }
}

.logs-shell .employee-app-main {
  min-width: 0;
}

.logs-table-shell {
  max-height: calc(100vh - 250px);
  overflow: auto;
}

.logs-table td span {
  display: block;
  margin-top: 3px;
  color: #6b7890;
  font-size: 11px;
  font-weight: 700;
}

.logs-action-badge {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin: 0 !important;
  padding: 4px 10px;
  border: 1px solid rgba(32, 91, 156, 0.16);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.88);
  color: #183863 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.logs-empty {
  padding: 28px !important;
  color: #667085;
  text-align: center;
  font-weight: 700;
}

.logs-editor-shell {
  grid-template-columns: 300px minmax(0, 1fr);
}

.logs-editor-sidebar .employee-sidebar-card {
  min-height: calc(100vh - 150px);
}

.logs-editor-search-label {
  display: block;
  margin: 6px 0 8px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.logs-editor-search {
  width: 100%;
  min-height: 46px;
  margin-bottom: 14px;
}

.logs-sort-button {
  width: 100%;
  margin: 0 0 14px;
}

.logs-sort-button span::before {
  content: "↓";
  display: inline-block;
  margin-right: 8px;
  color: #195da0;
  font-weight: 950;
}

.logs-sort-button[data-log-sort="asc"] span::before {
  content: "↑";
}

.logs-editor-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  margin-bottom: 16px;
  padding-right: 4px;
  overflow: auto;
}

.logs-day-nav {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 3px solid rgba(47, 128, 201, 0.5);
  border-radius: 10px;
  background: rgba(239, 246, 255, 0.54);
}

.logs-day-nav strong {
  color: #10213a;
  font-size: 12px;
  font-weight: 900;
}

.logs-day-nav span {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.logs-editor-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #14213d;
  text-align: left;
  box-shadow: 0 10px 26px rgba(24, 56, 99, 0.06);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.logs-editor-item:hover,
.logs-editor-item:focus-visible,
.logs-editor-item.is-active {
  border-color: rgba(32, 91, 156, 0.38);
  background: rgba(239, 246, 255, 0.96);
  box-shadow: 0 14px 30px rgba(32, 91, 156, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.logs-editor-item span {
  color: #d67618;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logs-editor-item strong {
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logs-editor-item small {
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logs-editor-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.logs-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.logs-editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.logs-editor-meta span,
.logs-editor-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.74);
  color: #183863;
  font-size: 12px;
  font-weight: 800;
}

.logs-editor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.logs-editor-document {
  flex: 1;
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(24, 56, 99, 0.055) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.94));
  background-size: 100% 28px, auto;
  box-shadow: 0 22px 55px rgba(24, 56, 99, 0.1);
}

.logs-editor-kicker {
  margin: 0 0 8px;
  color: #d67618;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.logs-editor-document h3 {
  margin: 0 0 20px;
  color: #111827;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 900;
  letter-spacing: 0;
}

.logs-editor-body {
  display: grid;
  gap: 22px;
  color: #10213a;
  font-family: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.logs-editor-body p {
  margin: 0 0 12px;
}

.logs-editor-body pre {
  min-height: 120px;
  margin: 8px 0 0;
  padding: 18px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.72);
  color: #111827;
  font: inherit;
  white-space: pre-wrap;
}

.logs-editor-day {
  display: grid;
  gap: 5px;
}

.logs-editor-day h4 {
  margin: 0 0 6px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(24, 56, 99, 0.16);
  color: #183863;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.logs-editor-line {
  display: grid;
  grid-template-columns: 82px 150px 150px 120px 130px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  min-height: 28px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
}

.logs-editor-line span {
  color: #195da0;
  font-weight: 800;
}

.logs-editor-line code {
  color: #10213a;
  font-family: inherit;
  font-weight: 800;
}

.logs-editor-line strong {
  color: #0f172a;
  font-weight: 900;
}

.logs-editor-line em,
.logs-editor-line small {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.logs-editor-line b {
  min-width: 0;
  color: #334155;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.logs-editor-footer {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.settings-modal {
  max-width: 720px;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.settings-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-form input,
.settings-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.72), rgba(207, 216, 228, 0.72));
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
  box-shadow: inset 0 2px 8px rgba(24, 56, 99, 0.1);
}

.settings-form input:focus,
.settings-form select:focus {
  border-color: rgba(32, 91, 156, 0.36);
  outline: none;
  box-shadow: 0 0 0 4px rgba(32, 91, 156, 0.1), inset 0 2px 8px rgba(24, 56, 99, 0.1);
}

.settings-form .settings-check-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(24, 56, 99, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.settings-form .settings-check-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: #195da0;
  box-shadow: none;
}

.settings-form .settings-check-row span {
  color: #183863;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

.settings-status {
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(32, 91, 156, 0.12);
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.78);
  color: #183863;
  font-size: 13px;
  font-weight: 800;
}

.settings-form .employee-modal-actions {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .logs-editor-shell {
    grid-template-columns: 1fr;
  }

  .logs-editor-sidebar .employee-sidebar-card {
    min-height: auto;
  }

  .logs-editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .logs-editor-line {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .logs-editor-line strong,
  .logs-editor-line em,
  .logs-editor-line small,
  .logs-editor-line b {
    grid-column: 2;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }
}

.tools-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 68% 0%, rgba(210, 2, 123, 0.08), transparent 26%),
    linear-gradient(135deg, #e9f2f8 0%, #f7fbff 48%, #f3f6f9 100%);
}

.tools-department-nav {
  position: sticky;
  top: 86px;
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(24, 56, 99, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(24, 56, 99, 0.08);
  backdrop-filter: blur(18px);
}

.tools-department-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  color: #1f2a44;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tools-department-nav a:hover,
.tools-department-nav a:focus-visible,
.tools-department-nav a.is-active {
  background: rgba(239, 246, 255, 0.96);
  color: #d2027b;
  box-shadow: 0 10px 24px rgba(32, 91, 156, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.tools-shell {
  padding-top: 18px;
}

.tools-shell .employee-app-main {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.tools-shell .employee-side-actions .employee-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.tools-sidebar-app-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tools-sidebar-app-list a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #14213d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(24, 56, 99, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tools-sidebar-app-list a:hover,
.tools-sidebar-app-list a:focus-visible {
  border-color: rgba(32, 91, 156, 0.24);
  background: rgba(239, 246, 255, 0.92);
  box-shadow: 0 14px 28px rgba(32, 91, 156, 0.13);
  outline: none;
  transform: translateY(-1px);
}

.tools-sidebar-app-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tools-sidebar-app-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tools-department-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.tools-launcher-board {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.tools-launcher-title {
  display: inline-flex;
  align-items: center;
  justify-self: stretch;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 0;
  color: #d2027b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-launcher-title::before,
.tools-launcher-title::after {
  content: "";
  width: min(120px, 18%);
  height: 1px;
  background: rgba(24, 56, 99, 0.12);
}

.tools-app-window {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 160px;
}

.tools-app-window > header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  width: 100%;
  padding: 16px 20px 10px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.72));
  box-shadow: 0 14px 30px rgba(24, 56, 99, 0.08);
}

.tools-window-info {
  margin-left: auto;
}

.tools-app-window > header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(32, 91, 156, 0.16);
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.94);
  color: #205b9c;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(32, 91, 156, 0.1);
}

.tools-window-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(32, 91, 156, 0.16));
}

.tools-app-window h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.tools-app-window p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.tools-app-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 24px 18px;
  margin: 58px 0 8px;
  padding: 8px 8px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tools-app-grid a {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 116px;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: #111827;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tools-app-grid a:hover,
.tools-app-grid a:focus-visible {
  border-color: rgba(32, 91, 156, 0.12);
  background: rgba(239, 246, 255, 0.66);
  box-shadow: 0 14px 32px rgba(32, 91, 156, 0.11);
  outline: none;
  transform: translateY(-3px);
}

.tools-app-grid a.is-filtered {
  display: none;
}

.tools-app-grid img {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(24, 56, 99, 0.12));
}

.tools-app-grid strong {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.tools-app-grid small {
  display: block;
  max-width: 18ch;
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.tools-app-info-button {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  isolation: isolate;
  overflow: visible;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef5ff);
  box-shadow:
    0 0 0 3px rgba(147, 197, 253, 0.18),
    0 8px 16px rgba(59, 130, 246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  opacity: 1;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.tools-app-info-button::before,
.tools-app-info-button::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.tools-app-info-button::before {
  inset: 0;
  z-index: -1;
  clip-path: inset(0 0 0 0 round 999px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(219, 234, 254, 0.76));
  box-shadow:
    0 0 0.05em 0.12em inset rgba(255, 255, 255, 0.32),
    0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 0.85),
    -0.075em -0.18em 0.22em 0.08em inset rgba(37, 99, 235, 0.14);
  transition:
    clip-path 250ms ease,
    box-shadow 300ms ease;
}

.tools-app-info-button::after {
  z-index: -2;
  inset: -6px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), rgba(96, 165, 250, 0.08) 45%, transparent 70%);
  filter: blur(2px);
  opacity: 0.9;
}

.tools-app-info-button:hover,
.tools-app-info-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow:
    0 0 0 4px rgba(96, 165, 250, 0.2),
    0 12px 22px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tools-app-info-button:hover::before,
.tools-app-info-button:focus-visible::before {
  clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999px);
  box-shadow:
    0.08em 0.12em 0.05em 0 inset rgba(37, 99, 235, 0.12),
    -0.025em -0.03em 0.05em 0.025em inset rgba(37, 99, 235, 0.08),
    0 0 0.05em 0.32em inset rgba(255, 255, 255, 0.16);
}

.tools-app-info-button img {
  width: 14px;
  height: 14px;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(1.15) brightness(0.92) contrast(1.05);
}

.tools-window-blog {
  width: 100%;
  margin: 0 0 16px;
  padding: 0 20px 18px 88px;
  border: 1px solid rgba(24, 56, 99, 0.11);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(255, 255, 255, 0.82));
  box-shadow: 0 14px 30px rgba(24, 56, 99, 0.08);
}

.tools-window-blog strong {
  display: block;
  margin-bottom: 5px;
  color: #d2027b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tools-window-blog p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.tools-department-card {
  position: relative;
  min-height: 210px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(24, 56, 99, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(24, 56, 99, 0.08);
  scroll-margin-top: 160px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tools-department-card::after {
  content: "";
  position: absolute;
  inset: auto -44px -52px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 91, 156, 0.12), transparent 68%);
  pointer-events: none;
}

.tools-department-card:hover,
.tools-department-card:focus-within {
  border-color: rgba(32, 91, 156, 0.22);
  box-shadow: 0 22px 48px rgba(32, 91, 156, 0.13);
  transform: translateY(-2px);
}

.tools-department-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid rgba(32, 91, 156, 0.14);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.9);
  color: #205b9c;
  font-size: 13px;
  font-weight: 900;
}

.tools-department-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.tools-department-card p {
  max-width: 58ch;
  margin: 0 0 14px;
  color: #536176;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.tools-department-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools-department-card li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.88);
  color: #183863;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .tools-app-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .tools-department-board {
    grid-template-columns: 1fr;
  }

  .tools-department-nav {
    top: 76px;
  }
}

@media (max-width: 640px) {
  .tools-app-grid {
    grid-template-columns: 1fr;
  }
}
