
:root {
  --sem-ui-scale: 1;
  --sem-ui-viewport-width: 100vw;
  --sem-ui-viewport-height: 100vh;
  --bg: #17191b;
  --bg-deep: #121416;
  --panel: #202327;
  --panel-raised: #252a30;
  --line: #34404c;
  --line-soft: rgba(113, 135, 158, .26);
  --text: #f7f7f8;
  --muted: #9badbf;
  --blue: #143b59;
  --blue-glow: #58aefe;
  --green: #39b76a;
  --yellow: #d8a21d;
  --red: #c84d50;
  --violet: #9c6bff;
  --card-bg-image: url("/assets/sem-card-background.png?v=20260801-python-card-png-only-1");
  --sem-button-blue: rgba(88,174,254,.14);
  --sem-button-border: rgba(119,168,216,.18);
  --sem-button-border-hover: rgba(119,168,216,.32);
  --sem-card-motion: transform .22s cubic-bezier(.22, 1, .36, 1),
    border-color .22s ease,
    opacity .22s ease;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--bg-deep);
}
body {
  margin: 0;
  min-height: var(--sem-ui-viewport-height);
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}
.sem-app-background-image {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: -1;
  width: var(--sem-ui-viewport-width);
  height: var(--sem-ui-viewport-height);
  max-width: none;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
body::before {
  content: none;
}
body::after {
  content: none;
}
a { color: inherit; }
/* Login-Buehne: Zentriert die Login-Karte wie im lokalen Python-Programm. */
.login-shell {
  min-height: var(--sem-ui-viewport-height);
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
/* Login-Erfolg: Login-Karte faehrt nach oben raus, bevor das Dashboard einfliegt. */
.login-shell {
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1);
  will-change: transform;
}
body.login-dashboard-transition {
  overflow: hidden;
}
html.login-dashboard-transition {
  overflow: hidden;
}
body.login-dashboard-transition .login-shell {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  filter: none;
}
html.login-dashboard-transition .login-shell {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  filter: none;
}
body.login-dashboard-transition .site-login-stage .sem-login-card {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1);
}
html.login-dashboard-transition .site-login-stage .sem-login-card {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1);
}

/* SEM-Designsystem: Gemeinsame Glas-Kartenflaeche fuer Python- und Web-Login. */
.sem-glass-card,
.sem-dropdown-menu {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: none;
  color: var(--text);}

/* Login-Karte: Feste Proportionen aus dem Python-Vorbau, responsiv begrenzt. */
.sem-login-card {
  width: min(540px, 100%);
  min-height: 613px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: layout paint style;
}

/* Login-Zurueck: Der Web-Login bleibt ohne sichtbaren Zurueckpfeil. */
.login-back {
  position: fixed;
  top: 28px;
  left: 30px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: rgba(231,241,250,.92);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  z-index: 6;
  transition: transform .18s ease, color .18s ease, filter .18s ease;
}
.login-back:hover {
  color: rgba(255,255,255,.96);
  filter: drop-shadow(0 0 14px rgba(99,183,255,.32));
  transform: translateX(-3px);
}
.login-back svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.15;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Login-Logo: Gleiche Groesse und Position wie im Python-Login. */
.sem-login-logo {
  display: block;
  width: min(360px, 90%);
  height: 150px;
  object-fit: contain;
  margin: 0 auto 2px;
}

/* Login-Typografie: Titel und Unterzeile exakt aus der Python-Vorlage. */
.sem-title {
  margin: 0;
  text-align: center;
  font-size: 30px;
  line-height: 32px;
  font-weight: 950;
  letter-spacing: 0;
}
.sem-subtitle {
  margin: 16px 0 38px;
  color: rgba(195,208,220,.88);
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

/* Login-Formular: Kein Grid-Gap, die Abstaende kommen aus den SEM-Feldern. */
.login-form {
  display: block;
  padding: 0;
}

/* SEM-Eingabefelder: Einheitliche Feldoptik wie im Python-Programm. */
.sem-field-wrap {
  position: relative;
  height: 56px;
  margin-bottom: 16px;
}
.sem-input {
  height: 56px;
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(137,164,188,.24);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255,255,255,.067), rgba(255,255,255,.03)),
    rgba(11,14,18,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 24px rgba(0,0,0,.10);
  font-size: 16px;
  font-weight: 700;
  outline: none;
  padding: 0 18px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.sem-input:focus {
  border-color: rgba(142,166,190,.32);
  background:
    linear-gradient(rgba(255,255,255,.078), rgba(255,255,255,.034)),
    rgba(11,14,18,.36);
}
.sem-input::placeholder {
  color: rgba(209,216,226,.74);
}
.sem-input::-webkit-credentials-auto-fill-button,
.sem-input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
}
.sem-password-input {
  padding-right: 56px;
}

/* Passwort-Auge: Gleiche schmale SVG-Darstellung wie im Python-Login. */
.sem-password-toggle {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: rgba(218,231,242,.78);
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: none;
  appearance: none;
  -webkit-appearance: none;
}
.sem-password-toggle:hover,
.sem-password-toggle:focus,
.sem-password-toggle:focus-visible,
.sem-password-toggle:active {
  color: rgba(255,255,255,.96);
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  transform: none !important;
}
.sem-password-toggle svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sem-password-toggle .eye-off {
  display: none;
}
.sem-password-input.is-visible + .sem-password-toggle .eye-on {
  display: none;
}
.sem-password-input.is-visible + .sem-password-toggle .eye-off {
  display: block;
}

/* SEM-Button: Gleiche Hoehe, Glow und Hover-Bewegung wie im Python-Programm. */
.sem-button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(119,168,216,.18);
  color: rgba(244,246,250,.94);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.024)),
    rgba(17,20,23,.46);
  box-shadow:
    0 16px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.085);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.sem-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 0;
  border-radius: 999px;
  border: 0 solid transparent;
  opacity: 0;
  transition: width .18s ease, height .18s ease, margin-right .18s ease, opacity .18s ease;
}
.sem-button:hover,
.sem-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(119,168,216,.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.20), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.078), rgba(255,255,255,.030)),
    rgba(24,30,35,.74);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    0 0 0 3px rgba(88,174,254,.08),
    inset 0 1px 0 rgba(255,255,255,.10);
}
.sem-button:active {
  transform: translateY(0);
}
.sem-button:disabled {
  cursor: wait;
  opacity: .82;
  transform: none;
}
.sem-button.is-loading {
  color: rgba(244,246,250,.88);
}
.sem-button.is-loading::before {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border-width: 2px;
  border-color: rgba(210,226,241,.76);
  border-top-color: rgba(88,174,254,.34);
  opacity: 1;
  animation: sem-login-spinner .72s linear infinite;
}
@keyframes sem-login-spinner {
  to { transform: rotate(360deg); }
}
.sem-login-card .sem-button {
  margin: 4px 0 20px;
}

/* Login-Fehler: Reservierter Slot, damit die Felder nie springen. */
.sem-error-slot {
  min-height: 34px;
  margin: -18px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  color: transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  transform: translateY(3px) scale(.985);
  transition: opacity 220ms ease, transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.sem-error-slot.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  color: rgba(255,186,190,.93);
  background: rgba(200,77,80,.165);
  border-color: rgba(200,77,80,.376);
}

/* Login-Fussnote: Textstand aus der Python-Vorlage. */
.sem-footer-note {
  margin: 0;
  color: rgba(196,205,216,.84);
  font-size: 13px;
  font-weight: 820;
  text-align: center;
  line-height: 1.35;
}
body.admin-login .login-shell {
  padding: max(20px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
}
body.admin-login .sem-login-card {
  width: min(430px, 100%);
}
body.admin-login .sem-title {
  font-size: 28px;
}
body.admin-login .sem-button {
  font-weight: 950;
}
body.admin-login .sem-footer-note {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  body.admin-login {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    background-color: var(--bg-deep);
  }
  body.admin-login .login-shell {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    place-items: center;
    overflow: visible;
    padding: max(18px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
  }
  body.admin-login .login-back {
    display: none;
  }
  body.admin-login .sem-login-card {
    margin-top: 0;
    border-radius: 28px;
    padding: 28px 20px 22px;
  }
  body.admin-login .sem-login-logo {
    width: min(330px, 92%);
    margin-bottom: 4px;
  }
  body.admin-login .sem-title {
    font-size: 30px;
  }
  body.admin-login .sem-subtitle {
    font-size: 14px;
  }
}
.admin-app-install-card {
  display: grid;
  gap: 16px;
}
.admin-app-install-steps {
  display: grid;
  gap: 12px;
}
.admin-app-install-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-app-install-step i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
  color: rgba(244,246,250,.94);
  border: 1px solid rgba(119,168,216,.22);
  background: rgba(17,20,23,.38);
}
.admin-app-install-step strong {
  display: block;
  margin-bottom: 4px;
}
.admin-app-install-step span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.38;
}
.admin-app-install-actions {
  display: grid;
  gap: 12px;
}
.admin-app-install-actions a,
.admin-app-install-actions button {
  min-height: 52px;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}
.language-switcher {
  --closed-size: 58px;
  --open-width: 184px;
  --open-height: 154px;
  position: fixed;
  right: 28px;
  bottom: 26px;
  width: var(--closed-size);
  height: var(--closed-size);
  z-index: 30;
  color: var(--text);
  font-weight: 850;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
  transform-origin: right bottom;
  transition:
    width .34s cubic-bezier(.16,1,.3,1),
    height .34s cubic-bezier(.16,1,.3,1),
    border-color .22s ease;
  will-change: width, height;}
.language-switcher.is-opening,
.language-switcher.is-open {
  width: var(--open-width);
  height: var(--open-height);
  border-color: rgba(88,174,254,.34);
}
.language-switcher::after {
  content: none;
}
.language-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  transition:
    opacity .17s ease,
    transform .22s cubic-bezier(.16,1,.3,1);
}
.language-trigger:hover {
  filter: none;
  transform: none;
  background: rgba(45,59,72,.64);
}
.language-switcher.is-opening .language-trigger {
  opacity: 0;
  transform: translateY(12px) scale(.94);
  transition-delay: 0s;
  pointer-events: none;
}
.language-switcher.is-open .language-trigger,
.language-switcher.is-closing .language-trigger {
  opacity: 0;
  transform: translateY(10px) scale(.94);
  pointer-events: none;
}
.language-switcher.show-closed .language-trigger,
.language-switcher.is-closing.show-closed .language-trigger {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  pointer-events: auto;
}
.language-menu {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(3, 42px);
  gap: 4px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transform-origin: bottom right;
  transition:
    opacity .16s ease,
    transform .25s cubic-bezier(.16,1,.3,1);
}
.language-switcher.is-opening .language-menu {
  opacity: 0;
  transform: translateY(12px);
}
.language-switcher.show-open .language-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.language-switcher.is-closing .language-menu {
  opacity: 0;
  transform: translateY(12px);
  transition-delay: 0s;
  pointer-events: none;
}
.language-option {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 0 10px 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(214,222,231,.78);
  background: transparent;
  box-shadow: none;
  font-size: 15.5px;
  font-weight: 820;
  text-align: left;
  cursor: pointer;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease;
}
.language-option:hover {
  filter: none;
  transform: none;
  color: rgba(255,255,255,.95);
  border-color: rgba(138,166,194,.18);
  background: rgba(45,59,72,.64);
}
.language-option.is-active {
  color: rgba(255,255,255,.98);
}
.language-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(172,185,196,.34),
    inset 0 1px 0 rgba(255,255,255,.20),
    0 8px 18px rgba(0,0,0,.19);
  overflow: hidden;
  background-color: #111;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  justify-self: end;
  transform: translateZ(0);
}
.language-flag-de {
  background-image: url("/assets/language-flag-de.png");
}
.language-flag-en {
  background-image: url("/assets/language-flag-en.png");
}
.language-flag-es {
  background-image: url("/assets/language-flag-es.png");
}
.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 24px 70px;
  position: relative;
  z-index: 1;
}
.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
h2 { margin: 0 0 16px; font-size: 24px; }
h3 { margin: 0 0 10px; font-size: 18px; }
.subtitle {
  color: var(--muted);
  font-weight: 750;
  margin-top: 10px;
}
.card {
  background: var(--card-bg-image) center / cover no-repeat;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.035);
  padding: 22px;}
label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  margin: 0 0 8px;
}
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(119,168,216,.22);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 4px 2px 8px;
  font-size: 16px;
  font-weight: 800;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(119,194,255,.52);
  box-shadow: none;
}
.field { margin-bottom: 14px; }
button, .button-link {
  border: 1px solid var(--sem-button-border);
  border-radius: 14px;
  padding: 12px 16px;
  color: rgba(244,246,250,.94);
  background:
    radial-gradient(circle at 18% 0%, var(--sem-button-blue), rgba(0,0,0,0) 38%),
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.024)),
    rgba(17,20,23,.46);
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.086);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
button:hover, .button-link:hover {
  transform: translateY(-1px);
  filter: none;
  border-color: var(--sem-button-border-hover);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.20), rgba(0,0,0,0) 38%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    rgba(20,25,30,.58);
  box-shadow:
    0 18px 40px rgba(0,0,0,.20),
    0 0 18px rgba(88,174,254,.10),
    inset 0 1px 0 rgba(255,255,255,.10);
}
.language-switcher .language-option {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  justify-content: initial;
  gap: 12px;
  padding: 0 10px 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(214,222,231,.78);
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: none;
  font-size: 15.5px;
  font-weight: 820;
  text-align: left;
  white-space: nowrap;
  transform: none;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease;}
.language-switcher .language-option:hover {
  filter: none;
  transform: none;
  color: rgba(255,255,255,.95);
  border-color: rgba(138,166,194,.18);
  background: rgba(45,59,72,.64);
  box-shadow: none;}
.login-card .password-toggle,
.login-card .password-toggle:hover,
.login-card .password-toggle:focus,
.login-card .password-toggle:focus-visible,
.login-card .password-toggle:active {
  transform: translateY(-50%) !important;
  transition: none !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;}
.login-card .password-toggle:hover,
.login-card .password-toggle:focus-visible {
  color: rgba(255,255,255,.96) !important;
}
.login-shell .login-back,
body .login-back,
body.admin-login .login-back {
  display: none !important;
}
button.danger { background: linear-gradient(135deg, #873135, #c84d50); }
button.green { background: linear-gradient(135deg, #247843, #39b76a); }
button.ghost, .button-link.ghost {
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.035);
}
.full { width: 100%; }
.error {
  border: 1px solid rgba(200,77,80,.42);
  background:
    linear-gradient(180deg, rgba(200,77,80,.16), rgba(200,77,80,.08));
  color: #ffdfe0;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.metric > .admin-metric-compact > strong { display: block; font-size: 34px; line-height: 1; margin-bottom: 8px; }
.metric > .admin-metric-compact > span { color: var(--muted); font-weight: 750; }
.admin-grid {
  position: relative;
  margin-top: 8px;
  transition: grid-template-rows .34s ease, gap .24s ease;
}
.admin-grid.has-expanded {
  min-height: 108px;
}
.admin-metric-card {
  text-align: left;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  min-height: 126px;
  display: grid;
  align-content: center;
  transition:
    transform .28s ease,
    border-color .24s ease,
    box-shadow .28s ease,
    opacity .2s ease;
}
.admin-metric-card:hover,
.admin-metric-card.is-active {
  border-color: rgba(88,174,254,.42);
  transform: translateY(-1px);
}
.admin-metric-card.is-expanded {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 770px;
  min-height: 770px;
  cursor: default;
  transform: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  animation: none;
}
.admin-metric-card.is-closing {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 21;
  height: 770px;
  min-height: 770px;
  pointer-events: none;
  transform: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  animation: none;
}
.admin-metric-compact {
  display: block;
}
.admin-metric-expanded {
  display: none;
}
.admin-metric-card.is-expanded .admin-metric-compact {
  display: none;
}
.admin-metric-card.is-closing .admin-metric-compact {
  display: none;
}
.admin-metric-card.is-expanded .admin-metric-expanded {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}
.admin-metric-card.is-closing .admin-metric-expanded {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}
.admin-metric-card:not(.is-expanded):not(.is-closing) {
  height: 126px;
  min-height: 126px;
  align-content: center;
  grid-template-rows: none;
  gap: 0;
}
.admin-metric-card:not(.is-expanded):not(.is-closing) .admin-metric-compact {
  display: block;
}
.admin-metric-card:not(.is-expanded):not(.is-closing) .admin-metric-expanded {
  display: none;
}
.admin-grid.has-expanded .admin-metric-card:not(.is-expanded):not(.is-closing) {
  opacity: 1;
  pointer-events: none;
  transform: none;
  height: 126px;
  min-height: 126px;
  transition: none;
}
.admin-metric-placeholder {
  height: 126px;
  min-height: 126px;
  visibility: hidden;
  pointer-events: none;
}
.admin-metric-card .admin-close {
  display: grid;
  place-items: center;
}
.admin-metric-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}
.admin-metric-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.admin-metric-summary {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 850;
}
.admin-metric-summary strong {
  color: var(--text);
}
.main { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tree, .list { display: flex; flex-direction: column; gap: 12px; }
.customer, .project, .installation, .device, .account, .audit-row, .setting-row, .project-row {
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 14px 16px;}
.project { margin: 10px 0 0 18px; background: var(--card-bg-image) center / cover no-repeat; }
.project.is-selected {
  border-color: rgba(88,174,254,.52);
  background: var(--card-bg-image) center / cover no-repeat;}
.installation, .device, .account, .project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.installation { margin: 8px 0 0 18px; }
.name { font-weight: 950; }
.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.status {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
}
.completed { background: var(--green); box-shadow: 0 0 18px rgba(57,183,106,.35); }
.in_progress { background: var(--yellow); box-shadow: 0 0 18px rgba(216,162,29,.35); }
.unprocessed { background: var(--red); box-shadow: 0 0 18px rgba(200,77,80,.35); }
.account-form, .settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.settings-form { grid-template-columns: 1fr; }
.account-form button, .settings-form button { grid-column: 1 / -1; }
.log {
  font-family: Consolas, ui-monospace, monospace;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 13px;
  min-height: 90px;
}
.admin-shell { max-width: 1480px; }
.admin-topbar {
  position: relative;
  align-items: center;
  margin-bottom: 34px;
}
.admin-brand-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.admin-brand-lockup img {
  display: block;
  width: min(330px, 38vw);
  height: auto;
  opacity: .95;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,.22));
}
.admin-brand-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.admin-brand-copy h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  white-space: nowrap;
}
.admin-brand-copy .subtitle {
  margin-top: 0;
}
.admin-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  user-select: none;
}
.admin-account-name {
  text-align: right;
}
.admin-account-name .subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.admin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(119,168,216,.35);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(145deg, rgba(70, 103, 129, .75), rgba(23, 27, 31, .85));
  box-shadow: inset 0 0 18px rgba(255,255,255,.08), 0 16px 34px rgba(0,0,0,.22);
  color: #fff;
  font-weight: 950;
}
.admin-account .name {
  text-align: right;
}
.admin-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  min-width: 210px;
  border: 1px solid rgba(119,168,216,.20);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 10px;
  display: none;
  gap: 8px;
  z-index: 40;}
.admin-account.is-open .admin-account-menu,
.admin-account.open .admin-account-menu { display: grid; }
.admin-account-menu a,
.admin-account-menu button {
  display: grid;
  place-items: center;
  min-height: 46px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
  font-size: 17px;
  padding: 13px 42px;
  border-radius: 14px;
  border: 1px solid rgba(119,168,216,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    rgba(17,20,23,.22);
  transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
  cursor: pointer;
}
.admin-account-menu a:hover,
.admin-account-menu button:hover {
  border-color: rgba(88,174,254,.38);
  background:
    radial-gradient(circle at 16% 10%, rgba(119,194,255,.18), transparent 42%),
    rgba(88,174,254,.13);
  color: #f8fbff;
  transform: translateY(-1px);
}
.work-feedback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(8, 12, 16, .58);
  backdrop-filter: blur(16px);
  animation: feedbackBackdropIn .22s ease both;
}
.work-feedback-dialog {
  width: min(620px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(119,168,216,.24);
  border-radius: 20px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 26px;
  animation: feedbackDialogIn .24s cubic-bezier(.2,.8,.2,1) both;}
.work-feedback-dialog h2 {
  margin: 0;
  color: #f7fbff;
  font-size: 30px;
  line-height: 1.1;
}
.work-feedback-dialog p {
  margin: 0;
  color: rgba(188, 207, 224, .84);
  font-weight: 800;
  line-height: 1.45;
}
.work-feedback-dialog textarea {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  color: var(--text);
  border: 1px solid rgba(119,168,216,.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)),
    rgba(12,16,20,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 34px rgba(0,0,0,.16);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  outline: none;
  padding: 16px 17px;
}
.work-feedback-dialog textarea:focus {
  border-color: rgba(88,174,254,.58);
  box-shadow:
    0 0 0 3px rgba(88,174,254,.12),
    inset 0 1px 0 rgba(255,255,255,.075),
    0 18px 42px rgba(0,0,0,.20);
}
.work-feedback-status {
  min-height: 22px;
  color: rgba(188, 207, 224, .82);
  font-size: 14px;
  font-weight: 850;
}
.work-feedback-status.is-error {
  color: #ffb7b7;
}
.work-feedback-status.is-success {
  color: #bff4d0;
}
.work-feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.work-feedback-actions button {
  min-width: 148px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 850;
  color: rgba(244,246,250,.94);
  text-decoration: none;
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.024)),
    rgba(17,20,23,.46);
  box-shadow:
    0 14px 32px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.085);
  padding: 0 18px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.work-feedback-actions button:hover {
  border-color: rgba(88,174,254,.46);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    rgba(24,31,38,.58);
  color: #f8fbff;
  transform: translateY(-1px);
  box-shadow:
    0 17px 36px rgba(0,0,0,.20),
    0 0 0 3px rgba(88,174,254,.07),
    inset 0 1px 0 rgba(255,255,255,.10);
}
.work-feedback-actions button[disabled] {
  opacity: .58;
  cursor: wait;
}
.work-site-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(8, 12, 16, .62);
  backdrop-filter: blur(16px);
  animation: feedbackBackdropIn .2s ease both;
}

.work-site-dialog-backdrop[hidden] {
  display: none;
}
.work-site-dialog {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(119,168,216,.26);
  border-radius: 20px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: 0 32px 90px rgba(0,0,0,.46);
  padding: 26px;
  animation: feedbackDialogIn .24s cubic-bezier(.2,.8,.2,1) both;
}
.work-site-dialog.is-error {
  border-color: rgba(232, 96, 105, .42);
}
.work-site-dialog h2 {
  margin: 0;
  color: #f7fbff;
  font-size: 28px;
  line-height: 1.15;
}
.work-site-dialog p {
  margin: 0;
  color: rgba(214, 226, 237, .9);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  white-space: pre-wrap;
}
.work-site-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}
.work-site-dialog-actions button {
  min-width: 132px;
  min-height: 44px;
  border: 1px solid rgba(119,168,216,.22);
  border-radius: 12px;
  color: rgba(244,246,250,.96);
  background: var(--card-bg-image) center / cover no-repeat;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.work-site-dialog-actions button:hover,
.work-site-dialog-actions button:focus-visible {
  border-color: rgba(88,174,254,.52);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(88,174,254,.08);
  outline: none;
}
.work-site-dialog.is-error .work-site-dialog-primary {
  border-color: rgba(232, 96, 105, .48);
}
@keyframes feedbackBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes feedbackDialogIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.admin-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-command-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 258px 258px;
  gap: 18px;
  min-height: 0;
}
.admin-command-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  cursor: pointer;
  transition:
    transform .28s ease,
    border-color .24s ease,
    box-shadow .28s ease,
    opacity .2s ease;
}
.admin-command-card:hover {
  transform: translateY(-2px);
  border-color: rgba(119,194,255,.34);
}
.admin-command-card h2 {
  margin: 0 0 8px;
}
.admin-command-card .meta {
  color: var(--muted);
}
.admin-command-card.is-expanded {
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  z-index: 12;
  height: 622px;
  min-height: 622px;
  max-height: none;
  overflow: hidden;
  cursor: default;
  animation: none;
}
.admin-command-card.is-closing {
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  z-index: 14;
  min-height: 622px;
  max-height: none;
  overflow: hidden;
  pointer-events: none;
  cursor: default;
  animation: none;
}
.admin-command-grid.security-expanded .admin-command-card:not(.is-expanded) {
  opacity: 1;
  transform: none;
}
.admin-command-grid.security-expanded #securityCard.is-expanded {
  position: relative;
  inset: auto;
  z-index: 12;
  height: 622px;
  overflow: hidden;
  min-height: 622px;
  max-height: none;
  animation: none;
}
#securityCard.is-closing {
  position: relative;
  inset: auto;
  height: 622px;
  min-height: 622px;
}
.admin-command-grid.status-expanded #statusCard.is-expanded {
  height: 622px;
  max-height: none;
  min-height: 622px;
  overflow: hidden;
}
#statusCard.is-closing {
  height: 622px;
  min-height: 622px;
}
.admin-command-grid.has-expanded .admin-command-card:not(.is-expanded) {
  opacity: 1;
  pointer-events: none;
  transform: none;
}
.admin-command-grid.security-expanded .admin-command-card:not(.is-expanded) {
  opacity: 1;
  pointer-events: none;
  transform: none;
}
.admin-command-grid.status-expanded .admin-command-card:not(.is-expanded) {
  opacity: 1;
  pointer-events: none;
  transform: none;
}
.admin-security-card { grid-column: 1 / 3; grid-row: 1; }
.admin-status-card { grid-column: 3 / 5; grid-row: 1; }
.admin-alert-card { grid-column: 5 / 7; grid-row: 1; }
.admin-log-card { grid-column: 1 / 4; grid-row: 2; }
.admin-accounts-card { grid-column: 4 / 7; grid-row: 2; }
.admin-access-card { grid-column: 5 / 7; grid-row: 2; }
.admin-shell-v2 {
  max-width: 1520px;
}
.admin-shell-v2 .admin-command-grid {
  grid-template-rows: 276px 326px;
  gap: 20px;
}
.admin-shell-v2 .admin-command-grid.security-expanded #securityCard.is-expanded {
  height: 622px;
  min-height: 622px;
}
.admin-shell-v2 .admin-security-card {
  grid-column: 1 / 3;
}
.admin-shell-v2 .admin-status-card {
  grid-column: 3 / 5;
}
.admin-shell-v2 .admin-alert-card {
  grid-column: 5 / 7;
}
.admin-shell-v2 .admin-log-card {
  grid-column: 1 / 4;
}
.admin-shell-v2 .admin-accounts-card {
  grid-column: 5 / 7;
  grid-row: 2;
}
.admin-shell-v2 .admin-access-card {
  grid-column: 4 / 5;
  grid-row: 2;
}
.admin-shell-v2 .admin-command-card h2 {
  font-size: 22px;
}
.admin-shell-v2 .admin-command-card:not(.is-expanded) .admin-card-body {
  align-content: stretch;
}
.admin-shell-v2 .admin-log-card:not(.is-expanded) .admin-log-list,
.admin-shell-v2 .admin-accounts-card:not(.is-expanded) .admin-account-list,
.admin-shell-v2 .admin-alert-card:not(.is-expanded) .admin-alert-list {
  max-height: 226px;
}
.admin-extension-preview {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(168px, auto) minmax(112px, auto);
  gap: 16px;
  margin-top: 22px;
  min-height: 392px;
  overflow-anchor: none;
}
.admin-extension-preview .preview-wide {
  grid-column: span 2;
}
.admin-extension-preview .preview-tall {
  min-height: 168px;
}
.admin-extension-preview.has-expanded {
  grid-template-rows: minmax(360px, auto);
  min-height: 392px;
}
.admin-extension-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: opacity .22s ease, transform .24s ease, border-color .2s ease;
  cursor: pointer;
}
.admin-extension-card.preview-tall {
  min-height: 168px;
}
.admin-extension-preview.has-expanded .admin-extension-card:not(.is-expanded) {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(.985);
}
.admin-extension-card.is-expanded {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 392px;
  z-index: 4;
  cursor: default;
  animation: adminCardExpand .22s ease-out both;
}
.admin-extension-compact {
  display: grid;
  gap: 10px;
}
.admin-extension-card h2 {
  margin: 0;
  font-size: 20px;
}
.admin-extension-card .meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.admin-extension-card.is-expanded .admin-extension-compact {
  display: none;
}
.admin-extension-detail {
  display: none;
}
.admin-extension-card.is-expanded .admin-extension-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px 34px;
  height: 100%;
}
.admin-extension-detail-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-extension-detail-head h2 {
  font-size: 28px;
}
.admin-extension-state {
  color: rgba(244,246,250,.92);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-extension-detail-section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.admin-extension-detail-section h3 {
  margin: 0;
  font-size: 15px;
}
.admin-extension-detail-section p,
.admin-extension-detail-section li {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}
.admin-extension-detail-section ul {
  margin: 0;
  padding-left: 18px;
}
.admin-extension-workspace {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 2px;
}
.admin-extension-work-item {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 62px;
}
.admin-extension-work-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.admin-extension-work-item strong {
  color: rgba(244,246,250,.95);
  font-size: 18px;
}
.admin-extension-placeholder {
  min-height: 112px;
  border: 1px dashed rgba(119,168,216,.28);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  opacity: .82;
}
.admin-access-card {
  padding: 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  cursor: default;
}
.admin-access-card:hover {
  transform: none;
}
.admin-access-list {
  display: grid;
  gap: 12px;
  align-content: start;
}
.admin-access-link {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(119,168,216,.18);
  background: var(--card-bg-image) center / cover no-repeat;
  color: rgba(244,246,250,.94);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.admin-access-link:hover {
  transform: translateY(-1px);
  border-color: rgba(119,194,255,.36);
  background: var(--card-bg-image) center / cover no-repeat;
}
.admin-access-link strong {
  font-size: 17px;
}
.admin-access-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
@keyframes adminCardExpand {
  from { opacity: .45; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes adminSecurityExpand {
  from { opacity: .45; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes adminCardClose {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.985); }
}
.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-close {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(244,246,250,.88);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.admin-command-card.is-expanded .admin-close { display: none; }
.admin-card-content-ghost {
  position: absolute;
  inset: 22px;
  z-index: 8;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 240ms ease;
}
.admin-card-content-ghost.is-fading {
  opacity: 0;
}
.admin-card-content-ghost .admin-expanded-only,
.admin-card-content-ghost .admin-metric-expanded {
  display: none !important;
}
.admin-card-content-ghost .admin-card-head .meta {
  display: none !important;
}
.admin-card-content-ghost .admin-status-grid,
.admin-card-content-ghost .admin-security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  height: 100% !important;
  gap: 10px !important;
}
.admin-card-content-ghost .admin-metric-compact {
  display: block !important;
}
.admin-metric-card .admin-card-content-ghost {
  align-content: center;
  grid-template-rows: none;
}
.admin-animation-card {
  position: fixed !important;
  z-index: 2000 !important;
  box-sizing: border-box;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
  transform: none !important;
  will-change: left, top, width, height;
}
.work-animation-underlay > * {
  opacity: 0 !important;
  transition: none !important;
}
.work-animation-underlay {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.work-customer-list-card.work-animation-underlay {
  background: var(--card-bg-image) center / cover no-repeat !important;
  border-color: var(--line-soft) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.work-news-card.work-animation-underlay {
  background: var(--card-bg-image) center / cover no-repeat !important;
  border-color: var(--line-soft) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.admin-animation-locked .admin-metric-card,
body.admin-animation-locked .admin-command-card,
body.admin-animation-locked .work-account-card,
body.admin-animation-locked .work-release-card,
body.admin-animation-locked .work-employee-card,
body.admin-animation-locked .work-news-card,
body.admin-animation-locked .work-launch-card,
body.admin-animation-locked .work-stat-card,
body.admin-animation-locked .work-customer-list-card,
body.admin-animation-locked .work-project-action-tile {
  pointer-events: none !important;
}
body.admin-animation-locked :is(
  .admin-metric-card,
  .admin-command-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-news-card,
  .work-launch-card,
  .work-stat-card,
  .work-customer-list-card,
  .work-project-action-tile
):not(.admin-animation-card):not(.admin-animation-content-ghost):not(.is-expanded):not(.is-opening):not(.is-closing) {
  transform: none !important;
}
.admin-animation-card .admin-animation-layer {
  position: absolute;
  inset: 22px;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 310ms ease;
  will-change: opacity;
  z-index: 1;
}
.admin-animation-card.is-python-reference .admin-animation-layer {
  contain: layout paint;
}
.admin-animation-card.admin-command-card h2 {
  font-size: 22px;
}
.admin-animation-card.admin-command-card .admin-animation-layer {
  gap: 0;
}
.admin-animation-card.work-account-card .admin-animation-layer {
  gap: 0;
}
.admin-animation-card.work-account-card .admin-animation-expanded {
  gap: 14px;
}
.admin-animation-card.work-account-card .admin-animation-expanded .work-card-header {
  margin-bottom: 0 !important;
}
.admin-animation-card.work-release-card .admin-animation-layer {
  gap: 0;
}
.admin-animation-card.work-employee-card .admin-animation-layer {
  inset: 28px !important;
  gap: 0;
}
.admin-animation-card.work-news-card .admin-animation-layer {
  inset: 30px !important;
  gap: 0;
  /* Der Meldungen-Titel sitzt in beiden Zustands-Layern 8px oberhalb des
     normalen Inhaltsursprungs. Die generische Clip-Grenze wuerde genau
     diesen oberen Teil bis zum Handoff abschneiden. Listen und Spalten
     begrenzen ihren Inhalt weiterhin selbst. */
  overflow: visible !important;
}
.admin-animation-card.work-news-card.has-stable-news-title .work-news-animation-title {
  position: absolute;
  left: 30px;
  z-index: 3;
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
  white-space: nowrap;
  pointer-events: none;
  animation: workNewsTitleOpenTrack var(--work-card-animation-ms, 620ms)
    var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both !important;
}
.admin-animation-card.work-news-card.has-stable-news-title.is-reverse .work-news-animation-title {
  animation-name: workNewsTitleCloseTrack !important;
}
.admin-animation-card.work-news-card.has-stable-news-title
  .admin-animation-layer :is(.work-news-compact > h2, .work-news-expanded-head > h2) {
  visibility: hidden !important;
}
@keyframes workNewsTitleOpenTrack {
  0% { top: 30px; opacity: 1; }
  50% { opacity: 0; }
  100% { top: 22px; opacity: 1; }
}
@keyframes workNewsTitleCloseTrack {
  0% { top: 22px; opacity: 1; }
  50% { opacity: 0; }
  100% { top: 30px; opacity: 1; }
}
.admin-animation-card.work-launch-card .admin-animation-layer {
  inset: 26px !important;
  gap: 0;
}
.admin-animation-card.work-project-action-tile .admin-animation-layer {
  inset: 30px !important;
  gap: 12px;
}
.admin-animation-card.work-customer-list-card .admin-animation-layer {
  inset: 34px !important;
  gap: 12px;
}
.admin-animation-card.work-release-card .admin-animation-expanded {
  gap: 16px !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded {
  grid-template-rows: auto auto !important;
  align-content: start !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .work-employee-body {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .dashboard-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 15px !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .dashboard-form .work-edit-line {
  min-height: 0 !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .dashboard-form .work-custom-select .work-select-value {
  min-height: 58px !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .dashboard-form > .work-custom-select {
  position: relative !important;
  top: -9px !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .employee-list {
  display: grid !important;
  align-content: start !important;
  gap: 14px !important;
  max-height: 437px !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  padding: 2px 4px 0 0 !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .dashboard-form > button {
  position: relative !important;
  top: -21px !important;
  margin-top: 2px !important;
  border: 1px solid var(--line-soft) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(88,174,254,.16), transparent 34%),
    rgba(28, 32, 36, .86) !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 16px 36px rgba(0,0,0,.18) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  min-height: 0 !important;
}
.admin-animation-card.work-launch-card .admin-animation-compact {
  gap: 22px;
}
.admin-animation-card.work-launch-card .admin-animation-layer.admin-animation-compact > .work-launch-details,
.admin-animation-card.work-launch-card .admin-animation-layer.admin-animation-expanded > .work-launch-compact {
  display: none !important;
}
.admin-animation-card.work-launch-card .admin-animation-layer.admin-animation-compact > .work-launch-compact,
.admin-animation-card.work-launch-card .admin-animation-layer.admin-animation-expanded > .work-launch-details {
  display: grid !important;
}
.admin-animation-card.work-launch-card .admin-animation-expanded {
  gap: 18px;
  grid-template-rows: minmax(0, 1fr) !important;
  align-content: stretch !important;
}
.admin-animation-card.work-launch-card .admin-animation-expanded .work-launch-details {
  height: 100% !important;
  min-height: 0 !important;
  align-content: start !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-compact {
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 0 !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-compact {
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: stretch !important;
  gap: 24px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-layer.admin-animation-compact {
  display: grid !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-compact .work-customer-preview-list.is-compact {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
  overflow: hidden !important;
  padding-right: 4px !important;
  min-height: 0 !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-compact .work-customer-preview-row {
  margin: 0 !important;
  align-self: start !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-compact > strong {
  display: block !important;
  align-self: end !important;
  justify-self: end !important;
  font-size: 42px !important;
  line-height: 1 !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded,
.admin-animation-card.work-customer-list-card .admin-animation-expanded {
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  align-content: stretch !important;
  gap: 18px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-layer.admin-animation-expanded {
  overflow: visible !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded > strong {
  display: none !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-project-card-details,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-card-details {
  display: grid !important;
  min-height: 0 !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-project-card-details {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 28px !important;
  align-content: start !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-project-card-details:has(.work-form-grid) {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded:has(.work-customer-logo-actions) {
  gap: 0 !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-form-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  align-content: start !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-edit-line {
  min-height: 54px !important;
  padding-bottom: 8px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-field-body {
  gap: 5px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-edit-line input {
  font-size: 17px !important;
  line-height: 20.4px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-customer-logo-actions {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-form-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-customer-logo-actions button,
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-customer-logo-actions .work-customer-logo-pick-button,
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-form-actions button,
.admin-animation-card.work-project-action-tile .admin-animation-expanded .work-form-grid > button.full {
  min-height: 50px !important;
  width: 100% !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  padding: 0 20px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(113,135,158,.26) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(88,174,254,.16), transparent 34%),
    rgba(28,32,36,.86) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.024), 0 16px 36px rgba(0,0,0,.18) !important;
  color: var(--text) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}
.admin-animation-content-ghost.work-project-action-tile.is-customer-form-entering .admin-animation-expanded .work-form-grid > button.full {
  opacity: 0 !important;
}
.admin-animation-content-ghost.work-project-action-tile.is-customer-form-entering.is-customer-form-actions-ready .admin-animation-expanded .work-form-grid > button.full {
  opacity: 1 !important;
  transition: opacity 140ms ease !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-project-card-details {
  margin-top: 8px !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded {
  gap: 0 !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 28px !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-edit-line {
  border-bottom-color: rgba(119,168,216,.24) !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-form-grid > .full,
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-form-grid > .work-edit-line.full {
  grid-column: 1 / -1 !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-attachment-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-form-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-attachment-actions button,
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-form-actions button {
  min-height: 50px !important;
  width: 100% !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  padding: 0 20px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(113,135,158,.26) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(88,174,254,.16), transparent 34%),
    rgba(28,32,36,.86) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  transform: none !important;
  transition: none !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-select-value::after,
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-search-select .work-edit-line::after {
  align-self: center !important;
  justify-self: end !important;
  margin-bottom: 7px !important;
  transform: rotate(45deg) !important;
  transition: none !important;
}
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-custom-select.is-open .work-select-value::after,
.admin-animation-card.work-project-action-tile.is-project-form-entering .admin-animation-expanded .work-search-select.is-open .work-edit-line::after {
  transform: rotate(225deg) !important;
  border-color: #77c2ff !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded {
  gap: 0 !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-card-details {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 18px !important;
  align-content: stretch !important;
  align-items: stretch !important;
  margin-top: 0 !important;
  transform: translate3d(0, 18px, 0) !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .42fr) !important;
  gap: 22px !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-list-panel {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  gap: 14px !important;
  min-width: 0 !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-list-head,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-detail-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) 180px minmax(0, .9fr) !important;
  gap: 14px !important;
  align-items: center !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-list-head.is-close-head,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-row.is-project {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) !important;
  gap: 16px !important;
  align-items: center !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-actions {
  display: grid !important;
  grid-template-columns: minmax(128px, auto) !important;
  gap: 10px !important;
  align-items: center !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-project-list-head {
  padding: 0 16px !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-list {
  display: grid !important;
  gap: 10px !important;
  grid-auto-rows: max-content !important;
  align-content: start !important;
  min-width: 0 !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-list {
  display: grid !important;
  grid-row: 3 !important;
  grid-auto-rows: max-content !important;
  align-self: start !important;
  align-content: start !important;
  align-items: start !important;
  justify-items: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px !important;
  gap: 10px !important;
  align-items: center !important;
  justify-items: stretch !important;
  text-align: left !important;
  min-height: 58px !important;
  height: 72px !important;
  padding: 10px 10px 10px 14px !important;
  margin: 0 !important;
  transform: none !important;
  transition: none !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-main,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-main {
  justify-items: start !important;
  text-align: left !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-main strong,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-main span,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-main strong,
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-finished-project-main span {
  justify-self: start !important;
  text-align: left !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-action {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  justify-self: end !important;
  align-self: center !important;
  transform: none !important;
  transition: none !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded .work-print-area-action svg {
  width: 19px !important;
  height: 19px !important;
  transform: none !important;
  transition: none !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded aside {
  display: grid !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) !important;
  gap: 14px !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
}
.admin-animation-card.work-project-action-tile.is-close-project-entering .admin-animation-expanded aside > button {
  grid-row: 4 !important;
  align-self: end !important;
  min-height: 50px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 20px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(113,135,158,.26) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(88,174,254,.16), transparent 34%),
    rgba(28,32,36,.86) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}
.admin-animation-card.work-project-action-tile.is-logo-preview .admin-animation-expanded .work-project-card-details:has(.work-customer-logo-overlay) {
  grid-template-columns: minmax(0, 1fr) 358px !important;
  gap: 30px !important;
  margin-top: 18px !important;
}
.admin-animation-card.work-project-action-tile.is-logo-preview .admin-animation-expanded > .work-project-action-title,
.admin-animation-card.work-project-action-tile.is-logo-preview .admin-animation-expanded > .work-project-muted {
  width: 358px !important;
  justify-self: end !important;
}
.admin-animation-card.work-project-action-tile.is-logo-preview .admin-animation-expanded .work-form-grid {
  grid-column: 2 !important;
}
.admin-animation-card.work-project-action-tile.is-logo-preview .admin-animation-expanded .work-customer-logo-overlay {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-card-details {
  margin-top: 18px !important;
  gap: 18px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-customer-expanded-grid {
  display: block !important;
  min-height: 0 !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: min(430px, calc((100% + 68px) * .44)) !important;
  z-index: 3 !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line {
  width: 100% !important;
  min-height: 51.4px !important;
  padding: 2px 0 8px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(119,168,216,.24) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel .work-field-body {
  background: transparent !important;
  box-shadow: none !important;
  gap: 5px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel input {
  font-size: 17px !important;
  line-height: 20.4px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-head,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-result-list {
  display: none !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-customer-expanded-list {
  max-height: 552px !important;
  padding-top: 10px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-customer-preview-list:not(.is-compact) {
  max-height: 552px !important;
  padding-top: 10px !important;
}
.admin-animation-card.work-customer-list-card .admin-animation-compact .work-project-card-details,
.admin-animation-card.work-project-action-tile .admin-animation-compact .work-project-card-details {
  display: none !important;
}
.admin-animation-card.work-account-card,
.admin-animation-card.work-release-card,
.admin-animation-card.work-employee-card,
.admin-animation-card.work-news-card,
.admin-animation-card.work-launch-card,
.admin-animation-card.work-stat-card,
.admin-animation-card.work-customer-list-card,
.admin-animation-card.work-project-action-tile {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-animation-card.work-account-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-release-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-employee-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-news-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-launch-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-stat-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-customer-list-card:not(.admin-animation-content-ghost),
.admin-animation-card.work-project-action-tile:not(.admin-animation-content-ghost) {
  border: 1px solid var(--line-soft) !important;
  background:
    var(--card-bg-image) center / cover no-repeat !important;
}
.admin-animation-card.work-account-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-release-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-employee-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-news-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-launch-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-stat-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-customer-list-card:not(.admin-animation-content-ghost)::after,
.admin-animation-card.work-project-action-tile:not(.admin-animation-content-ghost)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border: 0;
  border-radius: inherit;
  outline: 0;
  outline-offset: 0;
  box-shadow: none;
}
.admin-animation-card.work-account-card::before,
.admin-animation-card.work-release-card::before,
.admin-animation-card.work-employee-card::before,
.admin-animation-card.work-news-card::before,
.admin-animation-card.work-launch-card::before,
.admin-animation-card.work-stat-card::before,
.admin-animation-card.work-customer-list-card::before,
.admin-animation-card.work-project-action-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 0;
  border-radius: inherit;
  background: transparent;
  opacity: 0;
  display: none !important;
}
.admin-animation-card.work-account-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-release-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-employee-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-news-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-launch-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-customer-list-card:not(.admin-animation-content-ghost)::before,
.admin-animation-card.work-project-action-tile:not(.admin-animation-content-ghost)::before {
  display: none !important;
}
.admin-animation-card.is-glass-handoff::before {
  opacity: 0;
}
.admin-animation-card.work-stat-card .admin-animation-layer {
  gap: 0;
  display: block;
}
.admin-animation-card.work-account-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-release-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-employee-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-news-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-launch-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-stat-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-customer-list-card.is-opening-first .admin-animation-compact,
.admin-animation-card.work-project-action-tile.is-opening-first .admin-animation-compact {
  opacity: 1 !important;
}
.admin-animation-card.work-account-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-release-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-employee-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-news-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-launch-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-stat-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-customer-list-card.is-opening-first .admin-animation-expanded,
.admin-animation-card.work-project-action-tile.is-opening-first .admin-animation-expanded {
  opacity: 0 !important;
}
.admin-animation-card.work-account-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-release-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-employee-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-news-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-launch-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-stat-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-customer-list-card.is-opening-second .admin-animation-compact,
.admin-animation-card.work-project-action-tile.is-opening-second .admin-animation-compact {
  opacity: 0 !important;
}
.admin-animation-card.work-account-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-release-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-employee-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-news-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-launch-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-stat-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-customer-list-card.is-opening-second .admin-animation-expanded,
.admin-animation-card.work-project-action-tile.is-opening-second .admin-animation-expanded {
  opacity: 1 !important;
}
.admin-animation-card.work-account-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-release-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-employee-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-news-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-launch-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-stat-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-customer-list-card.is-reverse.is-closing-first .admin-animation-expanded,
.admin-animation-card.work-project-action-tile.is-reverse.is-closing-first .admin-animation-expanded {
  opacity: 0 !important;
}
.admin-animation-card.work-account-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-release-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-employee-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-news-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-launch-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-stat-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-customer-list-card.is-reverse.is-closing-first .admin-animation-compact,
.admin-animation-card.work-project-action-tile.is-reverse.is-closing-first .admin-animation-compact {
  opacity: 0 !important;
}
.admin-animation-card.work-account-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-release-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-employee-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-news-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-launch-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-stat-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-customer-list-card.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-project-action-tile.is-reverse.is-closing-second .admin-animation-expanded {
  opacity: 0 !important;
}
.admin-animation-card.work-account-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-release-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-employee-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-news-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-launch-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-stat-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-customer-list-card.is-reverse.is-closing-second .admin-animation-compact,
.admin-animation-card.work-project-action-tile.is-reverse.is-closing-second .admin-animation-compact {
  opacity: 1 !important;
}
.admin-animation-content-ghost.work-release-card.is-python-content-out .admin-animation-expanded .work-card-details,
.admin-animation-content-ghost.work-release-card.is-python-content-out .admin-animation-expanded .work-release-layout,
.admin-animation-content-ghost.work-release-card.is-python-content-out .admin-animation-expanded .work-release-panel,
.admin-animation-content-ghost.work-release-card.is-python-content-out .admin-animation-expanded .work-release-count {
  animation: workReleaseDetailsOutEarly var(--work-card-animation-ms, 560ms) var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both !important;
}
.admin-animation-content-ghost.work-release-card.is-python-content-out {
  animation: workReleaseContentOutHalf var(--work-card-animation-ms, 560ms) var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both !important;
}
.admin-animation-content-ghost.work-release-card.is-python-content-in {
  animation: workReleaseCompactInEarly var(--work-card-animation-ms, 560ms) var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both !important;
}
.admin-animation-card.work-launch-card.is-python-reference.is-reverse .admin-animation-layer.admin-animation-compact {
  transform: translateY(4px);
}
.admin-animation-card.work-account-card .admin-animation-compact .work-card-details,
.admin-animation-card.work-account-card .admin-animation-expanded .work-card-details {
  display: none !important;
}
.admin-animation-card.work-account-card .admin-animation-compact .work-avatar-edit {
  display: none !important;
}
.admin-animation-card.work-account-card .admin-animation-expanded .work-avatar-edit {
  display: none !important;
}
.admin-animation-card.work-account-card.is-opening-second .admin-animation-expanded .work-avatar-edit,
.admin-animation-card.work-account-card.is-reverse .admin-animation-expanded .work-avatar-edit {
  display: grid !important;
}
.admin-animation-content-ghost.work-account-card .admin-animation-expanded .work-avatar-edit {
  display: grid !important;
}
.admin-animation-card.work-account-card .admin-animation-expanded .work-card-details {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  align-content: start !important;
}
.admin-animation-card.work-account-card .admin-animation-expanded .work-edit-line input {
  font-size: 17px !important;
}
.admin-animation-card.work-account-card .admin-animation-expanded .work-card-details > button {
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}
.admin-animation-card.work-release-card .admin-animation-expanded .work-card-details {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto auto !important;
  gap: 16px !important;
  align-content: start !important;
  height: 100% !important;
  min-height: 0 !important;
}
.admin-animation-card.work-release-card .admin-animation-expanded .work-release-status {
  grid-column: 1 !important;
  grid-row: 2 !important;
}
.admin-animation-card.work-release-card .admin-animation-expanded .work-card-details > button {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: end !important;
  justify-self: end !important;
  min-height: 50px !important;
  min-width: 220px !important;
}
.admin-animation-card.work-release-card .admin-animation-expanded .work-release-submit {
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}
.admin-animation-card.work-news-card .admin-animation-compact .work-news-compact {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 18px !important;
  height: 100% !important;
  min-height: 0 !important;
  position: relative !important;
}
.admin-animation-card.work-news-card .admin-animation-compact .work-news-empty {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  pointer-events: none !important;
}
.admin-animation-card.work-news-card .admin-animation-compact .work-news-expanded {
  display: none !important;
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-compact {
  display: none !important;
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-expanded {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 18px !important;
  height: 100% !important;
  min-height: 0 !important;
}
.work-news-expanded-head,
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-expanded-head {
  position: relative;
  top: -8px;
  transform: none !important;
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
  visibility: hidden !important;
}
.admin-animation-card.work-news-card .work-news-list,
.admin-animation-card.work-news-card .work-news-empty,
.admin-animation-card.work-news-card .work-news-column-list,
.admin-animation-card.work-news-card .work-news-columns,
.admin-animation-content-ghost.work-news-card .work-news-list,
.admin-animation-content-ghost.work-news-card .work-news-empty,
.admin-animation-content-ghost.work-news-card .work-news-column-list,
.admin-animation-content-ghost.work-news-card .work-news-columns,
.admin-animation-card.work-employee-card #employeeList,
.admin-animation-card.work-employee-card .employee-list,
.admin-animation-content-ghost.work-employee-card #employeeList,
.admin-animation-content-ghost.work-employee-card .employee-list {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
  visibility: hidden !important;
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-column {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 12px !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: var(--card-bg-image) center / cover no-repeat !important;
  border-color: rgba(113, 135, 158, .26) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-animation-card.work-news-card .work-news-column,
.admin-animation-content-ghost.work-news-card .work-news-column,
.work-news-card.work-animation-underlay .work-news-column {
  background: var(--card-bg-image) center / cover no-repeat !important;
  border-color: rgba(113, 135, 158, .26) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-column-list {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.admin-animation-card.work-news-card.is-opening-second .work-news-column {
  animation: none !important;
}
.admin-animation-card.work-news-card.is-opening-second .work-news-column-list > * {
  animation: none !important;
}
.admin-animation-card.work-news-card.is-opening-second .work-news-column:nth-child(2),
.admin-animation-card.work-news-card.is-opening-second .work-news-column:nth-child(2) .work-news-column-list > * {
  animation-delay: 0ms !important;
}
.admin-animation-card.work-news-card.is-opening-second .work-news-column:nth-child(3),
.admin-animation-card.work-news-card.is-opening-second .work-news-column:nth-child(3) .work-news-column-list > * {
  animation-delay: 0ms !important;
}
@keyframes workNewsColumnSettle {
  from { opacity: .92; }
  to { opacity: 1; }
}
@keyframes workNewsItemRise {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes workNewsItemMaterialize {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.admin-animation-card.work-news-card .admin-animation-expanded .work-news-column-list > *,
.admin-animation-card.work-news-card.is-reverse .admin-animation-compact .work-news-list > *,
.admin-animation-card.work-employee-card .admin-animation-expanded #employeeList > * {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded #employeeList {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
  visibility: hidden !important;
}
.admin-animation-card.work-release-card .admin-animation-expanded .work-edit-line input {
  font-size: 17px !important;
}
.admin-animation-card.work-release-card .admin-animation-compact .work-release-count {
  display: none !important;
}
.admin-animation-card.work-release-card .admin-animation-compact .work-card-note {
  display: block !important;
}
.admin-animation-card.work-release-card .admin-animation-compact .work-card-details,
.admin-animation-card.work-release-card .admin-animation-expanded .work-card-note,
.admin-animation-card.work-release-card .admin-animation-expanded .work-release-count,
.admin-animation-card.work-employee-card .admin-animation-compact .work-employee-body,
.admin-animation-card.work-launch-card .admin-animation-compact .work-launch-details,
.admin-animation-card.work-launch-card .admin-animation-expanded .work-launch-compact {
  display: none !important;
}
.admin-animation-card.work-employee-card .admin-animation-expanded .work-employee-body,
.admin-animation-card.work-launch-card .admin-animation-expanded .work-launch-details {
  display: grid !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-expanded,
.admin-animation-card.work-stat-card .admin-animation-expanded .work-stat-compact {
  display: none !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact.is-stat-fixed-layer {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-compact {
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  height: 100% !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-compact span {
  text-align: center !important;
  overflow-wrap: normal !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-label.is-single-line,
.work-stat-card:not(.is-expanded):not(.is-closing):not(.is-opening) .work-stat-label.is-single-line {
  max-width: none !important;
  white-space: nowrap !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-label.is-two-line,
.work-stat-card:not(.is-expanded):not(.is-closing):not(.is-opening) .work-stat-label.is-two-line {
  max-width: 158px !important;
  white-space: normal !important;
}
.admin-animation-card.work-stat-card .admin-animation-compact .work-stat-compact,
.admin-animation-card.work-stat-card .admin-animation-expanded .work-stat-expanded {
  width: 100% !important;
  min-height: 0 !important;
}
.admin-animation-card.work-stat-card .admin-animation-expanded .work-stat-expanded {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 16px !important;
  align-content: stretch !important;
  height: 100% !important;
  text-align: left !important;
}
.admin-animation-card.work-stat-card .admin-animation-expanded .work-project-list,
.admin-animation-card.work-stat-card .admin-animation-expanded .work-list-empty-large {
  height: 100% !important;
  min-height: 0 !important;
}
.admin-animation-card.work-stat-card.is-reverse.is-closing-second .admin-animation-compact {
  opacity: 1 !important;
}
.admin-animation-stat-compact-ghost {
  position: fixed;
  z-index: 2001;
  display: grid;
  align-content: center;
  justify-items: center;
  pointer-events: none;
  text-align: center;
  opacity: 1;
  transition: opacity 280ms ease;
}
.admin-animation-stat-compact-ghost.is-hidden {
  opacity: 0;
}
.admin-animation-stat-compact-ghost .work-stat-compact {
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}
.admin-animation-news-placeholder-ghost {
  position: fixed;
  z-index: 2002;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #d0dbe6;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  opacity: 1;
  transform: none;
  transition: opacity 280ms ease;
}
.admin-animation-news-placeholder-ghost.is-hidden {
  opacity: 0;
}
.admin-animation-content-ghost {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1;
  transition: none !important;
}
.admin-animation-content-ghost::before {
  display: none !important;
}
.admin-animation-content-ghost.is-hidden {
  opacity: 0 !important;
}
.admin-animation-content-ghost.is-python-content-out,
.admin-animation-news-placeholder-ghost.is-python-content-out {
  opacity: 1;
  animation: workContentOutHalf var(--work-card-animation-ms, 560ms) var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both;
}
.admin-animation-content-ghost.is-python-content-in,
.admin-animation-news-placeholder-ghost.is-python-content-in {
  opacity: 0;
  animation: workContentInHalf var(--work-card-animation-ms, 560ms) var(--work-card-easing, cubic-bezier(.34, .08, .18, 1)) both;
}
@keyframes workContentOutHalf {
  0%,
  16% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes workContentInHalf {
  0%,
  50% {
    opacity: 0;
  }
  72%,
  100% {
    opacity: 1;
  }
}
@keyframes workReleaseContentOutHalf {
  0%,
  10% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}
@keyframes workReleaseDetailsOutEarly {
  0% {
    opacity: 1;
  }
  12%,
  100% {
    opacity: 0;
  }
}
@keyframes workReleaseCompactInEarly {
  0%,
  28% {
    opacity: 0;
  }
  46%,
  100% {
    opacity: 1;
  }
}
@keyframes detailOldOut {
  0% { opacity: 1; }
  48% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes detailNewIn {
  0% { opacity: 0; }
  56% { opacity: 0; transform: translateY(10px); }
  92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
@keyframes detailNewOut {
  0% { opacity: 1; }
  48% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes detailOldIn {
  0% { opacity: 0; }
  56% { opacity: 0; transform: translateY(8px); }
  92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
.admin-animation-content-ghost .admin-animation-compact,
.admin-animation-content-ghost .admin-animation-expanded {
  opacity: 1 !important;
}
.admin-animation-card .admin-animation-compact {
  opacity: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}
.admin-animation-card .admin-animation-expanded {
  opacity: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}
.admin-animation-card.is-opening-first .admin-animation-compact {
  opacity: 0;
}
.admin-animation-card.is-opening-second .admin-animation-expanded {
  opacity: 1;
}
.admin-animation-card.is-reverse .admin-animation-compact {
  opacity: 0;
}
.admin-animation-card.is-reverse .admin-animation-expanded {
  opacity: 1;
}
.admin-animation-card.is-reverse.is-closing-first .admin-animation-expanded {
  opacity: 0;
}
.admin-animation-card.is-reverse.is-closing-second .admin-animation-compact {
  opacity: 1;
}
.admin-animation-card.admin-metric-card.is-reverse .admin-animation-compact {
  opacity: 1;
}
.admin-animation-card.admin-metric-card.is-reverse .admin-animation-expanded {
  opacity: 0;
}
.admin-animation-card.is-python-reference .admin-animation-compact,
.admin-animation-card.is-python-reference .admin-animation-expanded {
  transition: opacity .24s ease !important;
}
.admin-animation-card.is-python-reference .admin-animation-compact {
  opacity: 1 !important;
  animation: none !important;
}
.admin-animation-card.is-python-reference .admin-animation-expanded {
  opacity: 0 !important;
  animation: none !important;
}
.admin-animation-card.is-python-reference.is-opening-first .admin-animation-compact {
  opacity: 0 !important;
}
.admin-animation-card.is-python-reference.is-opening-first .admin-animation-expanded {
  opacity: 0 !important;
}
.admin-animation-card.is-python-reference.is-opening-second .admin-animation-expanded {
  opacity: 1 !important;
}
.admin-animation-card.is-python-reference.is-reverse .admin-animation-compact {
  opacity: 0 !important;
}
.admin-animation-card.is-python-reference.is-reverse .admin-animation-expanded {
  opacity: 1 !important;
}
.admin-animation-card.is-python-reference.is-reverse.is-closing-first .admin-animation-compact {
  opacity: 0 !important;
}
.admin-animation-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded {
  opacity: 0 !important;
}
.admin-animation-card.is-python-reference.is-reverse.is-closing-second .admin-animation-compact {
  opacity: 1 !important;
}
/* dashboard_release_employee_overlay_solid_v1_20260802: keeps release/user-management animation shells on the real card background image. */
.admin-animation-card.work-release-card.is-python-reference,
.admin-animation-card.work-employee-card.is-python-reference {
  opacity: 1 !important;
  border: 1px solid var(--line-soft) !important;
  background: var(--card-bg-image) center / cover no-repeat !important;
  box-shadow: var(--card-shadow) !important;
}
.admin-animation-card.work-release-card.is-python-reference .admin-animation-layer,
.admin-animation-card.work-employee-card.is-python-reference .admin-animation-layer {
  transition: opacity .24s ease !important;
}
.admin-animation-card.work-release-card.is-python-reference.is-reverse,
.admin-animation-card.work-employee-card.is-python-reference.is-reverse {
  opacity: 1 !important;
}
.admin-animation-card.work-release-card.is-python-reference.is-reverse.is-closing-first,
.admin-animation-card.work-release-card.is-python-reference.is-reverse.is-closing-second,
.admin-animation-card.work-employee-card.is-python-reference.is-reverse.is-closing-first,
.admin-animation-card.work-employee-card.is-python-reference.is-reverse.is-closing-second {
  opacity: 1 !important;
  border-color: var(--line-soft) !important;
  background: var(--card-bg-image) center / cover no-repeat !important;
}
/* dashboard_news_columns_phase_v1_20260802: news column boxes join the card motion while their placeholder text reveals later. */
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-columns,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-columns {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-column,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-column {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-column-list,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-column-list {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-column-list > * {
  opacity: 0 !important;
  visibility: visible !important;
  transform: translateY(18px) !important;
  animation: workListItemRise 340ms cubic-bezier(.34, .08, .18, 1) 130ms both !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-column:nth-child(2) .work-news-column-list > * {
  animation-delay: 130ms !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-opening-second .admin-animation-expanded .work-news-column:nth-child(3) .work-news-column-list > * {
  animation-delay: 130ms !important;
}
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-second .admin-animation-expanded,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-second .admin-animation-expanded .work-news-columns,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-second .admin-animation-expanded .work-news-column,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-second .admin-animation-expanded .work-news-column-list,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-second .admin-animation-expanded .work-news-column-list > * {
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  transform: translateY(18px) !important;
}
.admin-animation-card.work-news-card.is-python-reference .admin-animation-expanded .work-news-column-list > * {
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
}
/* dashboard_news_reverse_clip_guard_v3_20260807: beim Schliessen darf der
   ausgefahrene Meldungen-Inhalt nicht in der schrumpfenden Kartenbox bleiben,
   sonst werden die drei Spalten zu schmalen hohen Streifen geclippt. */
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-columns,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-column,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-column-list,
.admin-animation-card.work-news-card.is-python-reference.is-reverse.is-closing-first .admin-animation-expanded .work-news-column-list > * {
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  transform: none !important;
}
.admin-animation-card .admin-animation-compact .admin-expanded-only,
.admin-animation-card .admin-animation-compact .admin-metric-expanded {
  display: none !important;
}
.admin-animation-card .admin-animation-expanded .admin-compact-only {
  display: none !important;
}
.admin-animation-card .admin-animation-compact .admin-card-head .meta {
  display: none !important;
}
.admin-animation-card .admin-animation-compact .admin-status-grid,
.admin-animation-card .admin-animation-compact .admin-security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  height: 100% !important;
  gap: 10px !important;
}
.admin-animation-card.admin-command-card .admin-animation-compact .admin-status-pill,
.admin-animation-card.admin-command-card .admin-animation-compact .admin-security-pill {
  min-height: 0 !important;
  padding: 4px 0 !important;
}
.admin-animation-card.admin-command-card .admin-animation-compact .admin-card-body {
  height: 100% !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 12px !important;
}
.admin-animation-card.admin-accounts-card .admin-animation-compact .admin-card-body {
  padding-inline: 0 !important;
}
.admin-animation-card.admin-log-card .admin-animation-compact .admin-card-body {
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 12px !important;
}
.admin-animation-card.admin-log-card .admin-animation-compact .admin-log-list,
.admin-animation-card.admin-accounts-card .admin-animation-compact .admin-account-list {
  padding-top: 0 !important;
  align-content: stretch !important;
  grid-auto-rows: minmax(0, 1fr) !important;
}
.admin-animation-card.admin-accounts-card .admin-animation-expanded .admin-account-list,
.admin-animation-card.admin-log-card .admin-animation-expanded .admin-log-list {
  display: grid !important;
  padding-top: 5px !important;
  gap: 10px !important;
  align-content: start !important;
  grid-auto-rows: max-content !important;
}
.admin-animation-card.admin-log-card .admin-animation-expanded .audit-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
}
.admin-animation-card.admin-log-card .admin-animation-compact .toolbar,
.admin-animation-card.admin-log-card .admin-animation-compact .admin-log-filters,
.admin-animation-card.admin-accounts-card .admin-animation-compact .admin-account-create,
.admin-animation-card.admin-command-card .admin-animation-compact .admin-expanded-list,
.admin-animation-card.admin-security-card .admin-animation-compact .admin-security-detail,
.admin-animation-card.admin-security-card .admin-animation-compact .admin-expanded-only {
  display: none !important;
}
.admin-animation-card.admin-command-card .admin-animation-compact .admin-mini-overview,
.admin-animation-card.admin-command-card .admin-animation-compact .admin-mini-summary {
  display: grid !important;
}
.admin-animation-card.admin-command-card .admin-animation-compact .admin-mini-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 22px !important;
  height: 100% !important;
  margin-bottom: 0 !important;
}
.admin-animation-card.admin-command-card .admin-animation-compact .admin-mini-item {
  align-content: center !important;
  min-height: 0 !important;
  padding: 0 2px !important;
}
.admin-animation-card.admin-log-card .admin-animation-compact .admin-mini-overview {
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 18px !important;
  height: 100% !important;
}
.admin-animation-card.admin-log-card .admin-animation-compact .admin-log-list,
.admin-animation-card.admin-accounts-card .admin-animation-compact .admin-account-list,
.admin-animation-card.admin-alert-card .admin-animation-compact .admin-alert-list {
  max-height: 160px !important;
}
.admin-animation-card.admin-log-card .admin-animation-expanded .admin-mini-overview,
.admin-animation-card.admin-alert-card .admin-animation-expanded .admin-mini-summary,
.admin-animation-card.admin-accounts-card .admin-animation-expanded .admin-mini-summary,
.admin-animation-card.admin-security-card .admin-animation-expanded .admin-alert-list {
  display: none !important;
}
.admin-animation-card.admin-log-card .admin-animation-expanded .admin-expanded-list,
.admin-animation-card.admin-alert-card .admin-animation-expanded .admin-expanded-list,
.admin-animation-card.admin-accounts-card .admin-animation-expanded .admin-expanded-list,
.admin-animation-card.admin-security-card .admin-animation-expanded .admin-security-detail {
  display: grid !important;
}
.admin-animation-card.admin-security-card .admin-animation-compact .admin-security-content {
  grid-template-columns: minmax(0, 1fr) minmax(118px, 22%) !important;
  gap: 16px !important;
}
.admin-animation-card.admin-status-card.is-expanded .admin-animation-compact .admin-status-grid,
.admin-animation-card.admin-security-card.is-expanded .admin-animation-compact .admin-security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  height: 100% !important;
  gap: 10px !important;
}
.admin-animation-card .admin-animation-compact .admin-metric-compact {
  display: block !important;
}
.admin-animation-card .admin-animation-expanded .admin-expanded-only {
  display: block;
}
.admin-animation-card .admin-animation-expanded .admin-metric-expanded {
  display: grid !important;
}
.admin-animation-card.admin-metric-card .admin-animation-compact {
  align-content: center;
  grid-template-rows: none;
}
.admin-animation-card.admin-metric-card .admin-animation-compact .admin-metric-compact > strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}
.admin-animation-card.admin-metric-card .admin-animation-compact .admin-metric-compact > span {
  display: block;
  color: var(--muted);
  font-weight: 750;
}
.admin-animation-card.admin-metric-card .admin-animation-expanded {
  grid-template-rows: auto minmax(0, 1fr);
}
.admin-command-card.admin-content-swapping > .admin-card-head,
.admin-command-card.admin-content-swapping > .admin-card-body,
.admin-metric-card.admin-content-swapping > .admin-metric-compact,
.admin-metric-card.admin-content-swapping > .admin-metric-expanded {
  opacity: 0;
  transition: none;
}
.admin-command-card.admin-content-swapping.admin-content-visible > .admin-card-head,
.admin-command-card.admin-content-swapping.admin-content-visible > .admin-card-body,
.admin-metric-card.admin-content-swapping.admin-content-visible > .admin-metric-compact,
.admin-metric-card.admin-content-swapping.admin-content-visible > .admin-metric-expanded {
  opacity: 1;
  transition: opacity 240ms ease;
}
.admin-card-body {
  min-height: 0;
  display: grid;
  gap: 12px;
}
.admin-command-card:not(.is-expanded) .admin-card-body {
  height: 100%;
}
.admin-status-grid,
.admin-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  gap: 10px;
  height: 100%;
}
.admin-command-card.is-expanded .admin-status-grid,
.admin-command-card.is-expanded .admin-security-grid {
  grid-auto-rows: minmax(78px, auto);
}
.admin-status-card.is-expanded .admin-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: auto;
  grid-template-rows: minmax(58px, auto);
  gap: 8px 26px;
}
.admin-status-pill,
.admin-security-pill {
  display: grid;
  gap: 5px;
  min-height: 0;
  align-content: start;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  padding: 10px 12px;
}
.admin-security-pill {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 4px 0;
}
.admin-status-pill {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 4px 0;
}
.admin-command-card.is-expanded .admin-status-pill,
.admin-command-card.is-expanded .admin-security-pill {
  min-height: 78px;
  padding: 12px;
}
.admin-accounts-card.is-expanded .admin-card-body {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  padding-inline: 6px;
}
.admin-account-create,
.admin-account-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: stretch;
}
.admin-account-create .admin-account-role-select,
.admin-account-edit .admin-account-role-select {
  position: relative;
  z-index: 21;
  align-self: end;
  margin: 0 0 8px;
}
.admin-account-create .admin-account-role-line,
.admin-account-edit .admin-account-role-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 2px 0 5px;
  border-bottom: 1px solid rgba(119,168,216,.18);
  cursor: pointer;
}
.admin-account-create .admin-account-role-line {
  transform: translateY(-3px);
}
.admin-account-create .work-custom-select {
  position: relative;
}
.admin-account-create .work-custom-select .work-edit-line {
  border-bottom-color: transparent;
}
.admin-account-create .work-custom-select::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: rgba(119,168,216,.18);
  pointer-events: none;
}
.admin-account-edit .admin-filter-select {
  align-self: end;
  height: auto;
  margin: 0 0 8px;
}
.admin-account-edit .admin-filter-select .work-edit-line {
  height: 100%;
  min-height: auto;
  margin: 0;
  padding: 2px 0 5px;
}
.admin-account-create #employeeRoleSelect {
  position: relative;
  z-index: 21;
  align-self: end;
  height: auto;
  margin: 0 0 8px;
}
.admin-account-create #employeeRoleSelect .work-select-value {
  min-height: auto;
  margin: 0;
  padding: 2px 0 5px;
  transform: translateY(-4px);
}
.admin-account-create > button,
.admin-account-create .admin-action,
.admin-account-row-actions button {
  font-size: 14px;
  line-height: 1.1;
}
.admin-account-role-arrow {
  width: 18px;
  height: 18px;
  border-right: 3px solid rgba(244,246,250,.92);
  border-bottom: 3px solid rgba(244,246,250,.92);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
}
.admin-account-create {
  display: none;
}
.admin-accounts-card.is-expanded .admin-account-create {
  display: grid;
}
.admin-account-create .admin-action {
  min-height: 58px;
  align-self: stretch;
  font-size: 22px !important;
}
.admin-account-row-actions .admin-action,
.admin-account-edit-actions .admin-action {
  font-size: 18px !important;
}
.admin-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  justify-content: stretch;
  gap: 14px 28px;
  align-items: center;
  padding: 14px 14px 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-account-row:last-child {
  border-bottom: 0;
}
.admin-account-row.is-editing {
  align-items: start;
}
.admin-account-row .status {
  justify-self: end;
}
.admin-account-row.is-inactive .name,
.admin-account-row.is-inactive .meta {
  opacity: .72;
}
.admin-account-row-actions,
.admin-account-edit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 0;
}
.admin-account-row-actions {
  margin-right: 14px;
}
.admin-account-edit {
  grid-column: 1 / -1;
  padding-top: 8px;
  animation: workExpand .18s ease-out;
}
.admin-account-edit-actions {
  grid-column: 1 / -1;
  padding-top: 4px;
}
.admin-account-edit-actions .danger,
.admin-account-row-actions .danger {
  border-color: rgba(216,91,98,.46) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(216,91,98,.18), transparent 34%),
    rgba(44, 26, 29, .72) !important;
}
.admin-accounts-card:not(.is-expanded) .admin-account-create,
.admin-accounts-card:not(.is-expanded) .admin-expanded-list {
  display: none;
}
.admin-accounts-card.is-expanded .admin-mini-summary {
  display: none;
}
.admin-accounts-card.is-expanded .admin-account-list {
  max-height: none;
  align-content: start;
  grid-auto-rows: max-content;
}
.admin-status-pill strong,
.admin-security-pill strong {
  color: rgba(244,246,250,.94);
  font-size: 22px;
  line-height: 1.05;
}
.admin-status-pill span,
.admin-security-pill span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.admin-security-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 22%);
  gap: 16px;
  min-height: 0;
  height: 100%;
}
.admin-command-card.is-expanded .admin-security-content {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 20%);
  gap: 24px;
}
.admin-security-detail {
  display: none;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}
.admin-security-detail::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.admin-command-card.is-expanded .admin-security-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
  align-content: stretch;
}
.admin-security-detail-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 2px 0;
  min-height: 126px;
}
.admin-security-detail-card h3 {
  margin: 0 0 10px;
}
.admin-security-detail-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}
.admin-emergency-hold {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100%;
  border: 1px solid rgba(255,113,113,.34);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,113,113,.13), rgba(255,113,113,.035)),
    rgba(18, 20, 23, .56);
  color: rgba(255,235,235,.96);
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
}
.admin-emergency-hold::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--hold-progress, 0%);
  background: linear-gradient(180deg, rgba(255,113,113,.06), rgba(255,113,113,.36));
  transition: height .12s linear;
}
.admin-emergency-hold span {
  position: relative;
  display: block;
  padding: 10px;
}
.admin-command-card:not(.is-expanded) .admin-emergency-hold span {
  font-size: 12px;
  line-height: 1.2;
}
.admin-command-card.is-expanded .admin-emergency-hold span {
  padding: 16px;
}
.admin-alert-list,
.admin-log-list,
.admin-account-list,
.admin-detail-scroll {
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}
.admin-alert-list::-webkit-scrollbar,
.admin-log-list::-webkit-scrollbar,
.admin-account-list::-webkit-scrollbar,
.admin-detail-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.admin-log-list {
  max-height: 160px;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
  padding-top: 5px;
}
.admin-command-card.is-expanded .admin-log-list {
  max-height: none;
}
.admin-log-card.is-expanded .admin-card-body,
.admin-log-card.is-closing .admin-card-body {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 22px;
}
.admin-log-card.is-expanded .admin-log-list,
.admin-log-card.is-closing .admin-log-list {
  position: relative;
  z-index: 1;
  padding-top: 5px;
  gap: 10px;
  align-content: start;
  grid-auto-rows: max-content;
}
.admin-log-card.is-expanded.has-open-filter .admin-log-list,
.admin-log-card.is-closing.has-open-filter .admin-log-list {
  padding-top: 12px;
}
.admin-log-card.is-expanded:has(.admin-filter-select.is-open) .admin-log-list,
.admin-log-card.is-closing:has(.admin-filter-select.is-open) .admin-log-list {
  padding-top: 12px;
}
.admin-command-card:not(.is-expanded) .toolbar,
.admin-command-card:not(.is-expanded) .admin-log-filters {
  display: none;
}
.admin-command-card.is-closing .toolbar {
  display: flex;
}
.admin-command-card.is-closing .admin-log-filters {
  display: grid;
}
.admin-command-card:not(.is-expanded) .admin-card-head .meta {
  display: none;
}
.admin-command-card.is-closing .admin-card-head .meta {
  display: block;
}
.admin-log-filters {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) minmax(152px, 176px);
  gap: 14px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  align-items: start;
  border-bottom: 1px solid rgba(119,168,216,.14);
}
.admin-log-card:not(.is-expanded) .admin-log-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-log-card:not(.is-expanded) .admin-log-filters .admin-action {
  grid-column: 1 / -1;
}
.admin-log-filters .admin-action {
  min-height: 56px;
  height: 56px;
  align-self: stretch;
}
.admin-filter-select .work-select-value {
  min-height: 56px;
}
.admin-filter-select {
  position: relative;
  z-index: 21;
  align-self: stretch;
  min-height: 56px;
}
.admin-filter-select.is-open {
  z-index: 60;
}
.admin-filter-select .work-edit-line {
  margin: 0;
  height: 100%;
  padding: 5px 0 8px;
  align-items: end;
}
.admin-filter-select input {
  font-size: 15px;
  line-height: 1.15;
}
.admin-filter-select .work-select-menu {
  align-content: start;
  z-index: 70;
  left: 0;
  right: 0;
  padding: 12px;
  gap: 8px;
  max-height: 0;
  overflow: auto;
}
.admin-filter-select.is-open .work-select-menu {
  max-height: min(320px, calc(var(--sem-ui-viewport-height) - 260px));
}
.admin-filter-select .work-select-option {
  position: relative;
  min-height: 44px;
  justify-items: start;
  place-items: center start;
  padding: 11px 14px;
  text-align: left;
  font-size: 15px;
  border-radius: 13px;
  overflow-wrap: anywhere;
}
.admin-filter-select .work-select-option:first-child {
  position: relative;
  top: auto;
  z-index: auto;
  border-color: rgba(119,194,255,.26);
  background: var(--card-bg-image) center / cover no-repeat;}
.admin-expanded-only {
  display: none;
}
.admin-command-card.is-expanded .admin-expanded-only {
  display: block;
}
.admin-command-card.is-closing .admin-expanded-only {
  display: block;
}
.admin-security-card.is-expanded #securityEvents {
  display: none;
}
.admin-security-card.is-closing #securityEvents {
  display: none;
}
.admin-security-card.is-expanded .admin-security-detail.admin-expanded-only {
  display: grid;
}
.admin-security-card.is-closing .admin-security-detail.admin-expanded-only {
  display: grid;
}
.admin-command-card.is-expanded .admin-card-body {
  grid-template-rows: auto minmax(0, 1fr);
}
.admin-command-card.is-closing .admin-card-body {
  grid-template-rows: auto minmax(0, 1fr);
}
.admin-status-card.is-expanded .admin-card-body {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
}
.admin-status-card.is-closing .admin-card-body {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
}
.admin-status-card.is-expanded #statusDetail {
  overflow: visible;
  max-height: none;
}
.admin-status-card.is-closing #statusDetail {
  overflow: visible;
  max-height: none;
}
.admin-log-card.is-expanded .admin-card-body,
.admin-log-card.is-closing .admin-card-body {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 22px;
}
.admin-log-card.is-expanded .admin-log-list,
.admin-log-card.is-closing .admin-log-list,
.admin-log-card.is-expanded.has-open-filter .admin-log-list,
.admin-log-card.is-closing.has-open-filter .admin-log-list,
.admin-log-card.is-expanded:has(.admin-filter-select.is-open) .admin-log-list,
.admin-log-card.is-closing:has(.admin-filter-select.is-open) .admin-log-list {
  padding-top: 5px;
  gap: 10px;
  align-content: start;
  grid-auto-rows: max-content;
}
.admin-log-card.is-expanded .admin-log-filters,
.admin-log-card.is-closing .admin-log-filters {
  margin-bottom: -14px;
}
.admin-command-card:not(.is-expanded) .admin-alert-list,
.admin-command-card:not(.is-expanded) .admin-account-list {
  max-height: 160px;
}
.admin-command-card:not(.is-expanded):not(.is-closing) .admin-expanded-only {
  display: none !important;
}
.admin-mini-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  height: 100%;
  align-items: stretch;
}
.admin-mini-item {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0 2px;
}
.admin-mini-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.admin-mini-item strong {
  color: rgba(244,246,250,.96);
  font-size: 24px;
  line-height: 1;
}
.admin-mini-overview {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  height: 100%;
}
.admin-mini-overview .admin-mini-summary {
  height: auto;
}
.admin-mini-last {
  display: grid;
  gap: 6px;
  min-height: 58px;
  align-content: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-mini-last strong {
  display: block;
  color: rgba(244,246,250,.94);
  font-size: 16px;
}
.admin-command-card.is-expanded .admin-mini-overview {
  display: none;
}
.admin-expanded-list {
  display: none;
}
.admin-command-card.is-expanded .admin-expanded-list {
  display: grid;
  gap: 10px;
}
.admin-command-card.is-expanded .admin-compact-only,
.admin-command-card.is-closing .admin-compact-only {
  display: none !important;
}
.admin-command-card.is-expanded .admin-mini-summary {
  margin-bottom: 12px;
}
.admin-alert-card.is-expanded .admin-mini-summary {
  display: none;
}
.admin-log-card.is-expanded .admin-mini-summary {
  display: none;
}
.admin-accounts-card.is-expanded .admin-mini-summary {
  display: none;
}
.admin-alert-card.is-closing .admin-mini-summary,
.admin-log-card.is-closing .admin-mini-summary,
.admin-accounts-card.is-closing .admin-mini-summary {
  display: none;
}
.admin-alert-card.is-expanded .admin-expanded-list {
  min-height: 0;
}
.admin-log-card.is-expanded #auditList,
.admin-log-card.is-closing #auditList,
.admin-alert-card.is-expanded #alertList,
.admin-alert-card.is-closing #alertList,
.admin-accounts-card.is-expanded #accountList,
.admin-accounts-card.is-closing #accountList {
  display: grid;
}
.admin-status-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
}
.admin-status-card.is-expanded .admin-status-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
}
.admin-status-detail-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.admin-status-detail-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.admin-status-card.is-expanded .admin-status-detail-card h3 {
  font-size: 14px;
}
.admin-status-detail-card dl {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}
.admin-status-card.is-expanded .admin-status-detail-card dl {
  grid-template-columns: 1fr;
  gap: 3px;
}
.admin-status-detail-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.admin-status-detail-card dd {
  margin: 0;
  color: rgba(244,246,250,.94);
  font-weight: 800;
  word-break: break-word;
}
.admin-status-card.is-expanded .admin-status-detail-card dd {
  margin-bottom: 6px;
}
.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-summary-tile {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 12px;}
.admin-summary-tile strong { display: block; font-size: 22px; }
.admin-detail {
  margin-top: 12px;
  max-height: 360px;
  overflow: auto;
}
.admin-detail[hidden] { display: none; }
.audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}
.audit-row .audit-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.audit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.audit-tags span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
}
.admin-alert-feed {
  display: grid;
  gap: 13px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}
.admin-alert-feed::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.admin-alert-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 2px 0 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-alert-row:last-child {
  border-bottom: 0;
}
.admin-alert-marker {
  width: 5px;
  min-height: 52px;
  border-radius: 999px;
  background: rgba(88,174,254,.72);
  box-shadow: 0 0 18px rgba(88,174,254,.18);
}
.admin-alert-row.severity-critical .admin-alert-marker {
  background: rgba(255,113,113,.92);
  box-shadow: 0 0 20px rgba(255,113,113,.24);
}
.admin-alert-row.severity-warning .admin-alert-marker {
  background: rgba(255,198,92,.92);
  box-shadow: 0 0 20px rgba(255,198,92,.18);
}
.admin-alert-row.severity-info .admin-alert-marker {
  background: rgba(112,224,169,.86);
  box-shadow: 0 0 18px rgba(112,224,169,.14);
}
.admin-alert-main {
  min-width: 0;
}
.admin-alert-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(244,246,250,.96);
  font-size: 15px;
  font-weight: 920;
}
.admin-alert-severity {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-alert-detail {
  margin-top: 4px;
  color: rgba(202,214,224,.82);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}
.admin-alert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-alert-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.admin-action {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 12px 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.11), transparent 38%),
    rgba(17, 20, 23, .42) !important;
  border: 1px solid rgba(119,168,216,.16) !important;
  color: rgba(244,246,250,.92) !important;
  box-shadow: none !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.admin-action:hover {
  border-color: rgba(88,174,254,.38) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.16), transparent 38%),
    rgba(24, 30, 35, .72) !important;
}
.badge {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 850;
  margin-left: 6px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.hero-logo { width: min(310px, 42vw); filter: drop-shadow(0 12px 24px rgba(0,0,0,.28)); }
.empty-state {
  color: var(--muted);
  font-weight: 750;
  padding: 18px;
  border: 1px dashed var(--line-soft);
  border-radius: 18px;
}
/* Public page layout: centered shell, header and first-view spacing. */
.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  min-height: var(--sem-ui-viewport-height);
  padding: 38px 24px 70px;
  position: relative;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 58px;
}
.site-nav img { width: 300px; max-width: 52vw; height: auto; }
.site-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #c8d5df;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  opacity: .92;
  padding: 4px 0;
}
.site-status:hover { opacity: 1; color: #e7f1fa; }
.site-status[data-health-state="ok"] .storage-icon {
  color: #39b76a;
  filter: drop-shadow(0 0 10px rgba(57,183,106,.32));
}
.site-status[data-health-state="warning"] .storage-icon {
  color: #d8a21d;
  filter: drop-shadow(0 0 11px rgba(216,162,29,.34));
}
.site-status[data-health-state="offline"] .storage-icon {
  color: #c84d50;
  filter: drop-shadow(0 0 12px rgba(200,77,80,.38));
}
.site-status[data-health-state="checking"] .storage-icon {
  color: #9badbf;
  filter: drop-shadow(0 0 9px rgba(155,173,191,.24));
}
.site-status[data-health-state="checking"] .storage-icon::after {
  animation: site-status-pulse 1.2s ease-in-out infinite;
}
.storage-icon {
  width: 28px;
  height: 25px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  color: #39b76a;
  filter: drop-shadow(0 0 10px rgba(57,183,106,.32));
}
.storage-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 50%, currentColor, transparent 66%);
  opacity: .12;
}
.storage-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.storage-icon span {
  position: relative;
  height: 7px;
  border: 1px solid color-mix(in srgb, currentColor 66%, #dbe7ef 34%);
  border-radius: 3px;
  background:
    linear-gradient(90deg, color-mix(in srgb, currentColor 18%, transparent), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 14px color-mix(in srgb, currentColor 20%, transparent);
}
@keyframes site-status-pulse {
  0%, 100% { opacity: .45; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1); }
}
/* Public hero: left-side message, webtool entry point and responsive text rhythm. */
.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 34px;
  align-items: start;
}
.site-title {
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
  margin: 0 0 22px;
}
.site-title span { display: block; }
.site-kicker {
  color: #d7e5f2;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.1;
  margin: -6px 0 22px;
}
.site-kicker span { color: var(--blue-glow); }
.site-copy {
  color: #c3d0dc;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
  max-width: 640px;
}
.site-cta {
  padding: 16px 24px;
  min-width: 190px;
  font-size: 16px;
  border-radius: 16px;
  box-shadow:
    0 18px 42px rgba(0,0,0,.20),
    0 0 20px rgba(88,174,254,.10),
    inset 0 1px 0 rgba(255,255,255,.09);
}
/* Public login transition: title content exits up while the real login card enters from below. */
.site-shell {
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1),
    opacity .34s ease,
    filter .9s cubic-bezier(.215,.61,.355,1);
  will-change: transform, opacity, filter;
}
html.site-start-intro,
body.site-start-intro {
  overflow: hidden;
}
html.site-start-intro .site-shell,
body.site-start-intro .site-shell {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  filter: none;
}
html.site-start-intro.is-ready .site-shell,
body.site-start-intro.is-ready .site-shell {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}
body.site-login-active .site-shell {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * -1.12), 0);
  filter: blur(2px);
}
.site-login-stage {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.site-login-stage .sem-login-card {
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * 1.12), 0);
  opacity: 0;
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1),
    opacity .24s ease;
  will-change: transform, opacity;
}
body.site-login-active .site-login-stage {
  opacity: 1;
  pointer-events: auto;
}
body.site-login-active .site-login-stage .sem-login-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
body.site-login-transitioning {
  overflow: hidden;
}
/* Public info panel: glass card with image-backed surface and stable inner grid. */
.site-panel {
  min-height: 450px;
  border-radius: 30px;
  border: 1px solid rgba(113, 135, 158, .28);
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 30px;
  overflow: hidden;}
.site-panel-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  height: 360px;
  position: relative;
}
/* Public feature cards: compact cards that keep their grid slot stable while animating. */
.site-feature {
  border: 1px solid rgba(113, 135, 158, .26);
  border-radius: 18px;
  padding: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  color: var(--text);
  cursor: pointer;
  display: block;
  font: inherit;
  outline: none;
  text-align: left;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  position: relative;
  overflow: hidden;
  transition:
    opacity .26s ease,
    border-color .22s ease;
  will-change: opacity;}
.site-feature:hover,
.site-feature:focus-visible {
  border-color: rgba(119,168,216,.34);
  background: var(--card-bg-image) center / cover no-repeat;}
.site-feature-layer {
  position: absolute;
  inset: 18px;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}
.site-feature-expanded {
  inset: 28px;
  opacity: 0;
}
.site-feature-layer strong {
  display: block;
  margin-bottom: 6px;
}
.site-feature-layer span,
.site-feature-layer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.site-feature-layer p {
  margin: 16px 0 0;
  max-width: 92%;
  overflow: hidden;
  transform: translateY(6px);
}
.site-feature-expanded strong {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 12px;
}
.site-feature-expanded span {
  color: #d3dfeb;
  font-size: 16px;
  width: 100%;
}
.site-feature-expanded p {
  color: #b9c8d5;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  transform: translateY(0);
}
/* Public feature layout states: placeholders prevent neighboring cards from reflowing. */
.site-panel-grid.is-expanded .site-feature:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  transform: none;
}
.site-panel-grid.is-expanded.is-animating .site-feature:not(.is-active) {
  opacity: 1;
  transform: none;
}
.site-panel-grid.is-animating {
  pointer-events: none;
}
.site-feature.is-animation-hidden {
  visibility: hidden;
  pointer-events: none;
}
.site-feature-placeholder {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}
.site-feature.is-active {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  padding: 28px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  box-shadow:
    0 30px 75px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform-origin: top left;
  transform: none;
  will-change: top, height;
}
.site-feature.is-active:not(.is-opening):not(.is-closing) .site-feature-compact {
  opacity: 0;
}
.site-feature.is-active:not(.is-opening):not(.is-closing) .site-feature-expanded {
  opacity: 1;
}
/* Public feature overlay: cloned card animates from position 1 to position 2 without layout jumps. */
.site-feature-animation-card {
  position: fixed !important;
  z-index: 80;
  margin: 0;
  min-height: 0;
  max-height: none;
  display: block;
  transition:
    left .56s cubic-bezier(.22,.9,.22,1),
    top .56s cubic-bezier(.22,.9,.22,1),
    width .56s cubic-bezier(.22,.9,.22,1),
    height .56s cubic-bezier(.22,.9,.22,1);
  will-change: left, top, width, height;
}
.site-feature-animation-card .site-feature-compact {
  opacity: 1;
}
.site-feature-animation-card .site-feature-compact {
  left: var(--feature-compact-inset, 18px);
  top: var(--feature-compact-inset, 18px);
  right: auto;
  bottom: auto;
  width: var(--feature-compact-w, auto);
  height: var(--feature-compact-h, auto);
}
.site-feature-animation-card .site-feature-expanded {
  opacity: 0;
}
.site-feature-animation-card.is-reverse .site-feature-compact {
  opacity: 0;
}
.site-feature-animation-card.is-reverse .site-feature-expanded {
  opacity: 1;
}
.site-feature-animation-card.is-opening-first .site-feature-compact,
.site-feature-animation-card.is-closing-first .site-feature-expanded {
  animation: site-feature-layer-out .56s linear both;
}
.site-feature-animation-card.is-opening-second .site-feature-expanded,
.site-feature-animation-card.is-closing-second .site-feature-compact {
  animation: site-feature-layer-in .56s linear both;
}
/* Public feature legacy keyframes: retained for compatibility with older live markup. */
@keyframes site-feature-expand {
  0% {
    top: var(--feature-start-y, 0px);
    height: var(--feature-start-height, 104px);
    opacity: .98;
  }
  100% {
    top: 0;
    height: 100%;
    opacity: 1;
  }
}
@keyframes site-feature-collapse {
  0% {
    top: 0;
    height: 100%;
    opacity: 1;
  }
  100% {
    top: var(--feature-start-y, 0px);
    height: var(--feature-start-height, 104px);
    opacity: .98;
  }
}
/* Public feature content timing: 0-50% fades old content, 50-100% fades new content. */
@keyframes site-feature-layer-out {
  0% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes site-feature-layer-in {
  0%, 50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.site-panel-note {
  color: #cfdae4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 22px;
}
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin-bottom: 24px;
}
.dashboard-greeting h1 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
  margin-bottom: 12px;
}
.dashboard-message {
  color: #c5d1dc;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 720px;
}
.dashboard-logo {
  width: min(270px, 34vw);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.24));
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.dashboard-tile {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 20px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;}
.dashboard-tile:hover,
.dashboard-tile.is-active {
  transform: translateY(-2px);
  border-color: rgba(88,174,254,.46);
  background: var(--card-bg-image) center / cover no-repeat;}
.dashboard-tile strong {
  font-size: 34px;
  line-height: 1;
}
.dashboard-tile span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.dashboard-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.dashboard-panel {
  min-height: 430px;
  display: none;
}
.dashboard-panel.is-active {
  display: block;
  grid-column: 1 / -1;
}
.dashboard-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.dashboard-section-title h2 { margin: 0; }
.dashboard-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.dashboard-form .full-row { grid-column: 1 / -1; }
.employee-row {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;}
.employee-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.news-list { display: grid; gap: 12px; }
.news-item {
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background:
    var(--card-bg-image) center / cover no-repeat;
  padding: 16px;
}
.news-item strong {
  display: block;
  margin-bottom: 6px;
}
.work-scroll-shell {
  height: var(--sem-ui-viewport-height);
  min-height: var(--sem-ui-viewport-height);
  max-height: var(--sem-ui-viewport-height);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: 1;
}
/* Dashboard-Login-Intro: Nach erfolgreichem Login gleitet das Webtool wie im Python-Programm herein. */
html.work-login-intro,
body.work-login-intro {
  /* Do not leave the dashboard locked if a later script fails to initialise. */
  overflow: visible;
}
html.work-login-intro .work-scroll-shell,
body.work-login-intro .work-scroll-shell {
  opacity: 0;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * 1.12), 0);
  animation: workLoginIntroReveal .9s cubic-bezier(.215,.61,.355,1) both;
  will-change: transform, opacity;
}
html.work-login-intro.is-ready .work-scroll-shell,
body.work-login-intro.is-ready .work-scroll-shell {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@keyframes workLoginIntroReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, calc(var(--sem-ui-viewport-height) * 1.12), 0);
  }
  26% { opacity: 1; }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* Logout-Uebergang: Dashboard faehrt nach unten heraus wie der Gegenlauf zum Login. */
html.work-logout-transition,
body.work-logout-transition {
  overflow: hidden;
  background: transparent;
}
html.work-logout-transition .work-scroll-shell,
body.work-logout-transition .work-scroll-shell {
  opacity: 1;
  transform: translate3d(0, calc(var(--sem-ui-viewport-height) * 1.12), 0);
  transition:
    transform .9s cubic-bezier(.215,.61,.355,1);
  will-change: transform;
}
.work-scroll-shell.is-snapping {
  scroll-snap-type: none;
  scroll-behavior: auto;
  overflow-y: hidden;
}
.work-scroll-shell.is-single-page {
  scroll-snap-type: none;
}
/* Offene Dashboard-Karten bleiben fest auf ihrer Ausgangsseite. */
.work-scroll-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.work-tool-body {
  height: var(--sem-ui-viewport-height);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.work-tool-body input,
.work-tool-body textarea,
.work-tool-body [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
.work-dashboard-page {
  min-height: var(--sem-ui-viewport-height);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  padding: clamp(26px, 3.6vw, 46px) clamp(32px, 6vw, 92px) 64px;
}
.work-scroll-shell > .work-dashboard-page:first-child {
  padding-top: clamp(14px, 2.4vw, 30px);
}
.work-board {
  width: min(1360px, 100%);
  margin: 0 auto;
}
.work-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(18px, calc(var(--sem-ui-viewport-height) * .036), 42px);
}
.work-logo {
  width: min(235px, 25vw);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.22));
}
.work-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.work-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(119,168,216,.35);
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(145deg, rgba(70, 103, 129, .75), rgba(23, 27, 31, .85));
  box-shadow: inset 0 0 18px rgba(255,255,255,.08), 0 16px 34px rgba(0,0,0,.22);
}
.work-top-account {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(244,246,250,.94);
  text-decoration: none;
  cursor: pointer;
}
.work-top-account-name {
  display: grid;
  gap: 3px;
  text-align: right;
}
.work-top-account-name strong {
  font-size: 15px;
  line-height: 1.05;
}
.work-top-account-name span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.work-top-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(137,164,188,.28);
  background:
    radial-gradient(circle at 28% 20%, rgba(88,174,254,.25), transparent 42%),
    rgba(17,20,23,.62);
  color: #f5f8fb;
  font-weight: 950;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.22);
}
.work-greeting {
  width: min(820px, 100%);
  margin: 0 auto clamp(28px, calc(var(--sem-ui-viewport-height) * .035), 40px);
  text-align: center;
}
.work-greeting h1 {
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: .98;
  margin: 0 0 16px;
}
.work-greeting p {
  margin: 0;
  color: #d0dbe6;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 850;
}
.work-dashboard-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) minmax(320px, 492px);
  grid-template-rows: repeat(2, 192px) minmax(190px, auto);
  min-height: 785px;
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.work-dashboard-grid.is-empty {
  min-height: 420px;
}
.work-dashboard-grid.is-project-lead {
  grid-template-columns: 250px minmax(0, 1fr) minmax(310px, 360px);
  grid-template-rows: repeat(4, 132px);
  min-height: 600px;
  gap: 20px;
}
.work-dashboard-grid.is-technician {
  grid-template-columns: 250px minmax(0, 1fr) minmax(310px, 360px);
  grid-template-rows: repeat(4, 132px);
  min-height: 600px;
  gap: 20px;
}
.work-dashboard-grid.is-technician .work-stat-stack {
  grid-column: 1;
  grid-row: 1 / 5;
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
}
.work-dashboard-grid.is-technician .work-news-card {
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 0;
  margin-left: 0;
}
.work-dashboard-grid.is-technician .work-account-card {
  grid-column: 3;
  grid-row: 1;
}
.work-dashboard-grid.is-technician .work-release-card {
  grid-column: 3;
  grid-row: 2 / 4;
}
.work-dashboard-grid.is-technician .work-launch-card {
  grid-column: 3;
  grid-row: 4;
}
.work-technician-focus-card {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 28px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}
.work-technician-focus-card h2,
.work-technician-card h2 {
  margin: 0;
  font-size: 26px;
}
.work-technician-focus-card .meta,
.work-technician-card .meta {
  color: var(--muted);
  font-weight: 800;
}
.work-technician-project-list {
  display: grid;
  gap: 12px;
  align-content: start;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-technician-project-list::-webkit-scrollbar {
  width: 0;
}
.work-technician-project-row {
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 16px;
  align-items: center;}
.work-technician-project-row .name {
  font-size: 18px;
  font-weight: 950;
}
.work-technician-project-row .meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 5px;
}
.work-technician-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.work-technician-card {
  grid-column: 3;
  grid-row: 2;
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.work-project-page {
  min-height: var(--sem-ui-viewport-height);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  padding: clamp(34px, 5vw, 72px) clamp(32px, 6vw, 92px) 72px;
  display: grid;
  align-items: center;
}
.work-project-board {
  width: min(1360px, 100%);
  margin: 0 auto;
}
.work-project-board h2 {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1;
  margin-bottom: 14px;
}
.work-project-board > p {
  color: var(--muted);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 34px;
}
.work-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  position: relative;
  height: 700px;
  min-height: 0;
  max-height: calc(var(--sem-ui-viewport-height) - 220px);
}
.work-customer-list-card {
  grid-row: 1 / 4;
  height: 100%;
  min-height: 0;
  padding: 34px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
}
.work-customer-list-card h3,
.work-project-action-title {
  display: block;
  font-size: 28px;
  font-weight: 950;
  margin-bottom: 10px;
}
.work-project-muted {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}
.work-customer-preview-list {
  display: grid;
  gap: 12px;
  align-content: start;
  overflow: auto;
  padding-right: 4px;
  min-height: 0;
  max-height: 100%;
  overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-customer-preview-list::-webkit-scrollbar {
  width: 0;
}
.work-customer-preview-row {
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 17px 18px;}
.work-customer-preview-row strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}
.work-customer-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: #d0dbe6;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  padding: 18px 12px 32px;
  pointer-events: none;
}
.work-project-action-tile {
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-align: left;
  padding: 30px;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  min-height: 0;
  transition: border-color .2s ease;
}
.work-project-action-tile:hover {
  transform: none;
  border-color: var(--line-soft);
}
.work-project-action-tile strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  align-self: end;
  justify-self: end;
}
.work-customer-list-card,
.work-project-action-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.work-customer-list-card {
  cursor: pointer;
}
.work-customer-list-card.is-expanded,
.work-project-action-tile.is-expanded {
  position: absolute;
  inset: 0;
  z-index: 25;
  height: 100%;
  min-height: 0;
  cursor: default;
  transform-origin: left top;
}
.work-customer-list-card.is-tool-opening,
.work-project-action-tile.is-tool-opening {
  pointer-events: none;
  transition: transform .34s cubic-bezier(.16, 1, .3, 1), opacity .22s ease;
}
#closeProjectCard.is-expanded,
#closeProjectCard.is-tool-opening {
  transition: none !important;
}
.work-project-action-tile.is-expanded {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  transform: none;
}
.work-project-action-tile.is-expanded > strong {
  display: none;
}
.work-project-card-details {
  display: none;
  min-height: 0;
  margin-top: 18px;
}
.work-customer-list-card.is-expanded .work-project-card-details,
.work-project-action-tile.is-expanded .work-project-card-details {
  display: grid;
  gap: 18px;
}
.work-customer-list-card.is-expanded .work-customer-preview-list.is-compact {
  display: none;
}
.work-customer-status {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c5454c;
  box-shadow: 0 0 18px rgba(197,69,76,.32);
  flex: 0 0 auto;}
.work-customer-status.is-active {
  background: #39b36e;
  box-shadow: 0 0 18px rgba(57,179,110,.34);}
.work-customer-status.is-progress {
  background: #d8a21d;
  box-shadow: 0 0 18px rgba(216,162,29,.34);}
.work-customer-status.is-closed {
  background: #58aefe;
  box-shadow: 0 0 18px rgba(88,174,254,.38);}
.work-customer-preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.work-customer-preview-row > div {
  min-width: 0;
}
.work-customer-preview-row strong,
.work-customer-preview-row span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-customer-expanded-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}
.work-customer-expanded-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.work-customer-expanded-head .work-edit-line {
  width: min(420px, 48%);
}
.work-customer-expanded-list,
.work-project-result-list,
.work-finished-project-list {
  max-height: 430px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 2px;
}
.work-customer-expanded-list::-webkit-scrollbar,
.work-project-result-list::-webkit-scrollbar,
.work-finished-project-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.work-customer-list-card .work-customer-expanded-grid {
  display: block;
  min-height: 0;
}
.work-customer-list-card .work-project-list-panel {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
.work-customer-list-card.is-expanded .work-project-list-panel {
  position: absolute;
  top: 34px;
  right: 34px;
  width: min(430px, 44%);
  z-index: 3;
}
.work-customer-list-card .work-project-list-panel > .work-edit-line {
  width: 100%;
  min-height: 51px;
  padding: 2px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(119,168,216,.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.work-customer-list-card .work-project-list-panel > .work-edit-line .work-field-body {
  background: transparent;
  box-shadow: none;
}
.work-customer-list-card .work-project-list-panel > .work-edit-line input {
  background: transparent;
}
.work-customer-list-card .work-project-list-panel > .work-edit-line:focus-within {
  border-color: rgba(119,194,255,.38);
}
.work-customer-list-card.is-expanded .work-project-list-panel > .work-edit-line,
.work-customer-list-card.is-tool-opening .work-project-list-panel > .work-edit-line,
.work-customer-list-card.is-opening .work-project-list-panel > .work-edit-line,
.work-customer-list-card.is-closing .work-project-list-panel > .work-edit-line {
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid rgba(119,168,216,.24) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.work-customer-list-card.is-expanded .work-project-list-panel > .work-edit-line .work-field-body,
.work-customer-list-card.is-tool-opening .work-project-list-panel > .work-edit-line .work-field-body,
.work-customer-list-card.is-opening .work-project-list-panel > .work-edit-line .work-field-body,
.work-customer-list-card.is-closing .work-project-list-panel > .work-edit-line .work-field-body {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.work-customer-list-card .work-project-list-head,
.work-customer-list-card #customerProjectList {
  display: none;
}
.work-customer-list-card #customerExpandedList {
  max-height: 552px;
  padding-top: 4px;
}
.work-customer-expanded-list {
  display: grid;
  gap: 12px;
  align-content: start;
}
.work-customer-full-row {
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  overflow: hidden;}
.work-customer-full-main {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto 44px 44px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 17px 18px;
  color: var(--text);
  background: var(--card-bg-image) center / cover no-repeat;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;}
.work-customer-full-main:focus-visible {
  outline: 1px solid rgba(119,194,255,.5);
  outline-offset: -4px;
}
.work-customer-full-main strong,
.work-customer-full-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-customer-count {
  justify-self: end;
}
.work-customer-header-action {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 14px;
  padding: 0;
  border: 1px solid rgba(119,168,216,.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.12), transparent 40%),
    rgba(17,20,23,.34);
  color: var(--text);
  display: grid;
  place-items: center;}
.work-customer-header-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.work-customer-header-action:hover {
  border-color: rgba(88,174,254,.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.2), transparent 42%),
    rgba(88,174,254,.13);}
.work-customer-header-action.danger {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 91, 91, .32);
}
.work-customer-header-action.danger::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--hold-progress, 0%);
  background: linear-gradient(180deg, rgba(255,91,91,.08), rgba(255,91,91,.32));
  pointer-events: none;
  transition: height .08s linear;
}
.work-customer-header-action.danger span {
  position: relative;
  z-index: 1;
}
.work-customer-full-main .work-project-muted {
  display: block;
  margin-top: 4px;
}
.work-customer-projects {
  display: none;
  padding: 0 10px 20px 24px;
}
.work-customer-full-row.is-open .work-customer-projects {
  display: grid;
  gap: 10px;
  will-change: height, opacity, transform;
}
.work-customer-project-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(119,168,216,.12);
  min-height: 78px;
  padding: 17px 0;
}
.work-customer-project-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.work-customer-project-title strong {
  flex: 0 1 auto;
  font-size: 20px;
  line-height: 1.1;
}
.work-customer-project-title .work-project-number {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  flex: 0 0 auto;
}
.work-project-number {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}
.work-customer-project-actions {
  display: grid;
  grid-template-columns: minmax(128px, auto) repeat(4, 44px);
  gap: 10px;
  align-items: center;
  overflow: visible !important;
  white-space: normal !important;
  position: relative;
}
.work-customer-project-row strong,
.work-customer-project-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-customer-project-row.is-search-result {
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 14px 16px;}
.work-project-list-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}
.work-project-list-head,
.work-project-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 180px minmax(0, .9fr);
  gap: 14px;
  align-items: center;
}
.work-project-list-head.is-close-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}
.work-project-list-head.is-close-head span:last-child {
  text-align: right;
}
.work-project-list-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 14px;
}
.work-project-detail-row,
.work-place-result-row,
.work-finished-project-row {
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 14px;}
.work-project-detail-row span,
.work-project-detail-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  align-content: start;
}
.work-project-action-tile.is-expanded:has(.work-form-grid) {
  min-height: 700px;
}
#createCustomerCard.is-expanded {
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 700px;
  z-index: 12;
}
#createCustomerCard.is-expanded.is-logo-preview {
  grid-column: 1 / 3;
}
#createCustomerCard.is-expanded.is-logo-preview .work-project-card-details {
  grid-template-columns: minmax(0, 1fr) 358px;
  gap: 30px;
  margin-top: 18px;
}
#createCustomerCard.is-expanded.is-logo-preview > .work-project-action-title,
#createCustomerCard.is-expanded.is-logo-preview > .work-project-muted {
  width: 358px;
  justify-self: end;
}
#createCustomerCard.is-expanded .work-project-card-details {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}
#createCustomerCard.is-expanded .work-form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}
#createCustomerCard.is-expanded.is-logo-preview .work-form-grid {
  grid-column: 2;
}
#createCustomerCard.is-expanded .work-edit-line {
  min-height: 54px;
}
.work-project-action-tile.is-expanded:has(.work-form-grid) .work-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.work-project-action-tile.is-expanded:has(.work-form-grid) .work-edit-line {
  min-height: 54px;
}
#createCustomerCard.is-expanded .work-customer-logo-actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
#createCustomerCard.is-expanded .work-customer-logo-actions button {
  grid-column: 1 / -1;
}
#createCustomerCard.is-expanded .work-customer-logo-actions .work-customer-logo-pick-button {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}
.work-form-grid .full {
  grid-column: 1 / -1;
}
.work-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.work-form-actions button {
  width: 100%;
}
.work-customer-logo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.work-customer-logo-overlay {
  display: none;
  place-items: center;
  width: min(560px, 82%);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(119,168,216,.2);
  border-radius: 24px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(34px);
  padding: 0;
  align-self: center;
  justify-self: center;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;}
.work-customer-logo-overlay.has-logo {
  padding: 0;
}
.work-customer-logo-overlay.is-open {
  display: grid;
}
.work-customer-logo-overlay img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.34));
}
.work-customer-logo-frame {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: var(--card-bg-image) center / cover no-repeat;
  overflow: visible;
  padding: 0;
  box-shadow: none;}
.work-customer-logo-empty {
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}
#createProjectCard.is-expanded .work-form-grid {
  gap: 14px 28px;
}
#createProjectCard.is-expanded .work-project-card-details {
  margin-top: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 2px;
}
#createProjectCard.is-expanded .work-project-card-details::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#createProjectCard.is-expanded,
#closeProjectCard.is-expanded {
  min-height: 100%;
}
#closeProjectCard.is-expanded .work-project-card-details,
#closeProjectCard.is-expanded .work-finished-layout {
  height: 100%;
  min-height: 0;
}
#closeProjectCard.is-expanded .work-project-list-panel {
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
#closeProjectCard.is-expanded .work-finished-project-list {
  max-height: none;
  min-height: 0;
}
#closeProjectCard.is-expanded #finishedProjectList {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  grid-auto-rows: max-content;
  align-content: start;
  padding: 1px 3px 54px 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#closeProjectCard.is-expanded #finishedProjectList::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#closeProjectCard.is-expanded #finishedProjectList .work-list-empty-large {
  height: 100%;
  min-height: 0;
  padding: 24px;
}
#closeProjectCard.is-expanded aside {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 14px;
}
#closeProjectCard.is-expanded #printAreaList {
  grid-row: 3;
  align-self: start;
  grid-auto-rows: max-content;
  min-height: 0;
}
#closeProjectCard.is-expanded aside > button {
  grid-row: 4;
  align-self: end;
  margin: 0;
}
.work-search-select {
  position: relative;
  min-width: 0;
  isolation: isolate;
}
.work-search-select .work-edit-line {
  position: relative;
  cursor: pointer;
  min-height: 58px;
  border-bottom-color: rgba(119,168,216,.24);
  transition: border-color .2s ease, background .2s ease, padding .2s ease;}
.work-search-select .work-edit-line input {
  padding-right: 34px;
}
.work-search-select .work-edit-line::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(244,246,250,.92);
  border-bottom: 2px solid rgba(244,246,250,.92);
  transform: rotate(45deg) translateY(-3px);
  transform-origin: center;
  transition: transform .22s ease, border-color .2s ease;
}
.work-search-select.is-open .work-edit-line {
  border-bottom-color: rgba(119,194,255,.48);
}
.work-search-select.is-open .work-edit-line::after {
  transform: rotate(225deg) translate(-1px, -1px);
  border-color: #77c2ff;
}
.work-search-select .work-place-result-list {
  position: absolute;
  left: -14px;
  right: -14px;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(119,168,216,.2);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 10px;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: max-height .24s ease, opacity .18s ease, transform .24s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;}
.work-search-select.is-open .work-place-result-list {
  max-height: 230px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.work-place-result-list {
  display: grid;
  gap: 8px;
  max-height: 112px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-place-result-list::-webkit-scrollbar {
  width: 0;
}
.work-place-result-row {
  text-align: left;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.work-search-select .work-place-result-row {
  border: 0;
  border-radius: 14px;
  background: var(--card-bg-image) center / cover no-repeat;
  color: var(--text);
  text-align: left;
  padding: 13px 14px;
  min-height: 46px;
  width: 100%;
  font-weight: 850;
  font-size: 17px;
  letter-spacing: 0;
  transition: background .16s ease, color .16s ease, transform .16s ease;}
.work-search-select .work-place-result-row:hover {
  background: var(--card-bg-image) center / cover no-repeat;
  color: #f8fbff;
  transform: translateX(2px);}
.work-search-select .work-place-result-row:focus,
.work-search-select .work-place-result-row:focus-visible {
  outline: none;
  background: var(--card-bg-image) center / cover no-repeat;}
.work-search-select .work-select-menu > .empty-state {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: rgba(212,222,233,.78);
  font-weight: 850;
  text-align: center;
}
.work-search-select .work-place-result-row strong {
  font-size: 17px;
  font-weight: 850;
}
.work-search-select .work-place-result-row .work-project-muted {
  display: none;
}
.work-attachment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.work-file-button {
  min-height: 54px;
}
.work-file-input {
  display: none;
}
.work-customer-logo-pick-button {
  position: relative;
  overflow: hidden;
}
.work-customer-logo-pick-button .work-customer-logo-input {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.work-customer-logo-pick-button .work-customer-logo-input:disabled {
  pointer-events: none;
}
.work-attachment-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  max-height: 76px;
  overflow: auto;
  scrollbar-width: none;
}
.work-attachment-list::-webkit-scrollbar {
  width: 0;
}
.work-attachment-row {
  display: grid;
  grid-template-columns: minmax(0, .52fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(119,168,216,.14);
  border-radius: 14px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 8px 10px;}
.work-attachment-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.work-attachment-row input {
  min-height: 36px;
  padding: 5px 0;
}
.work-attachment-panel {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px 16px;
  align-items: start;
  border: 1px solid rgba(119,168,216,.14);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 14px;}
.work-file-button {
  min-height: 50px;
  align-self: end;
}
.work-attachment-list {
  gap: 9px;
  max-height: 124px;
  padding-right: 2px;
}
.work-attachment-row {
  grid-template-columns: 32px minmax(0, .86fr) minmax(0, 1.1fr) 34px;
  gap: 10px;
  border-color: rgba(119,168,216,.16);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 9px 10px;}
.work-attachment-delete {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(244,246,250,.82);}
.work-attachment-delete:hover {
  color: #ff777d;
  transform: translateY(-1px);
}
.work-attachment-empty {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: rgba(212,222,233,.72);
  font-size: 14px;
  font-weight: 820;
  border: 1px dashed rgba(119,168,216,.16);
  border-radius: 14px;
}
.work-attachment-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.work-project-inner-overlay {
  position: absolute;
  inset: 22px;
  z-index: 55;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(119,168,216,.22);
  border-radius: 24px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 30px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(22px);}
.work-project-inner-overlay.is-open {
  display: grid;
  animation: workExpand .18s ease-out;
}
.work-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.work-overlay-head h3 {
  margin: 0;
  font-size: 26px;
}
.work-overlay-close {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(244,246,250,.9);
  font-size: 34px;
  line-height: 1;
  font-weight: 650;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.work-overlay-close:focus,
.work-overlay-close:focus-visible,
.work-attachment-delete:focus,
.work-attachment-delete:focus-visible {
  outline: none;
  box-shadow: none !important;
}
.work-overlay-close:hover {
  color: rgba(255,255,255,.96);
  filter: drop-shadow(0 0 12px rgba(119,194,255,.28));
  transform: none;
}
.work-attachment-large-list {
  display: grid;
  gap: 11px;
  align-content: start;
  overflow: auto;
  scrollbar-width: none;
}
.work-attachment-large-list::-webkit-scrollbar {
  width: 0;
}
.work-attachment-display-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, auto) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 15px 16px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;}
.work-attachment-display-row:hover {
  border-color: rgba(88,174,254,.36);
  background: var(--card-bg-image) center / cover no-repeat;
  transform: translateY(-1px);}
.work-attachment-title {
  min-width: 0;
  justify-self: start;
  padding: 4px 0 6px;
  line-height: 1.18;
}
.work-attachment-display-row strong,
.work-attachment-display-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-attachment-display-row strong {
  display: block;
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 0;
}
.work-attachment-type {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.work-attachment-actions-inline {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}
.work-attachment-text-button {
  min-height: 40px;
  border-radius: 14px;
  padding: 0 18px;
  border: 1px solid rgba(119,168,216,.18);
  background: rgba(22, 27, 31, .62);
  color: rgba(244,246,250,.9);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.work-attachment-text-button:hover {
  border-color: rgba(88,174,254,.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.16), transparent 38%),
    rgba(24, 30, 35, .78);
  transform: translateY(-1px);
}
.work-attachment-text-button.danger {
  color: rgba(255, 178, 178, .96);
}
.work-attachment-text-button:disabled {
  cursor: default;
  opacity: .45;
  transform: none;
}
.work-attachment-dialog {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  background: var(--card-bg-image) center / cover no-repeat;
  backdrop-filter: blur(10px);}
.work-attachment-dialog.is-open {
  display: grid;
}
.work-attachment-dialog-card {
  width: min(440px, 92%);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(119,168,216,.22);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.45);}
.work-attachment-dialog-card h3 {
  margin: 0;
  font-size: 22px;
}
.work-attachment-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.work-finished-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .42fr);
  gap: 22px;
  min-height: 0;
}
.work-finished-project-list {
  display: grid;
  gap: 10px;
}
.work-finished-project-row {
  display: grid;
  gap: 4px;
  justify-items: stretch;
  text-align: left;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.work-finished-project-row.is-project {
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
.work-finished-project-main {
  display: grid;
  gap: 5px;
  min-width: 0;
  justify-items: start;
  text-align: left;
}
.work-finished-project-main strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  justify-self: start;
  gap: 8px;
  min-width: 0;
  font-size: 21px;
  line-height: 1.12;
  text-align: left;
}
.work-finished-project-main .work-project-number {
  font-size: 14px;
  line-height: 1.1;
}
.work-finished-project-main .work-project-muted {
  justify-self: start;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}
.work-finished-project-actions {
  display: grid;
  grid-template-columns: minmax(128px, auto);
  align-items: center;
  gap: 10px;
}
.work-finished-layout .work-finished-project-actions {
  justify-self: end;
  min-width: 128px;
}
.work-finished-layout .work-finished-project-assignment {
  grid-template-columns: max-content;
  grid-auto-flow: row;
  justify-items: end;
  max-height: 45px;
}
.work-print-area-list {
  display: grid;
  grid-auto-rows: max-content;
  gap: 8px;
  align-self: start;
  align-content: start;
  align-items: start;
}
.work-print-area-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  justify-items: stretch;
  min-height: 58px;
  height: 72px;
  text-align: left;
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 10px 10px 10px 14px;}
.work-print-area-main {
  min-width: 0;
  display: grid;
  gap: 3px;
  justify-items: start;
  text-align: left;
}
.work-print-area-main strong {
  justify-self: start;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.12;
  text-align: left;
}
.work-print-area-main span {
  justify-self: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
}
.work-print-area-action {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  max-height: 42px;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(119,168,216,.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.12), transparent 40%),
    rgba(18, 22, 26, .58);
  color: var(--text);
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  flex: 0 0 42px;
  transition: border-color .2s ease, background .2s ease;
}
.work-print-area-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.work-print-area-action:hover {
  border-color: rgba(88,174,254,.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.2), transparent 42%),
    rgba(19, 25, 31, .72);
}
.work-finished-project-assignment {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 3px 9px;
  justify-content: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
  overflow: visible !important;
}
.work-finished-action {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 14px;
  padding: 0;
  border: 1px solid rgba(119,168,216,.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.12), transparent 40%),
    rgba(18, 22, 26, .58);
  color: var(--text);
  display: grid;
  place-items: center;
}
.work-finished-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.work-finished-action:hover {
  border-color: rgba(88,174,254,.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.2), transparent 42%),
    rgba(19, 25, 31, .72);
}
.work-finished-action.danger {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 91, 91, .32);
}
.work-finished-action.danger::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--hold-progress, 0%);
  background: linear-gradient(180deg, rgba(255,91,91,.08), rgba(255,91,91,.32));
  pointer-events: none;
  transition: height .08s linear;
}
.work-finished-action.danger span {
  position: relative;
  z-index: 1;
}
.work-status-control {
  position: relative;
  width: 44px;
  height: 44px;
  overflow: visible !important;
  white-space: normal !important;
}
.work-status-menu {
  position: absolute;
  z-index: 8;
  right: -62px;
  top: 50%;
  width: 460px;
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(119,168,216,.24);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: 0 16px 38px rgba(0,0,0,.30);
  transform: translateY(-50%) translateX(8px) scaleX(.46);
  transform-origin: right center;
  opacity: 0;
  pointer-events: none;
  transition:
    transform .24s cubic-bezier(.16,1,.3,1),
    opacity .16s ease;
  overflow: visible !important;
  white-space: normal !important;}
.work-status-control.is-open .work-status-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scaleX(1);
}
.work-status-control.is-open > .work-finished-action {
  opacity: 0;
  pointer-events: none;
}
.work-status-choice {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(119,168,216,.18);
  background:
    var(--card-bg-image) center / cover no-repeat;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.work-status-choice:hover,
.work-status-choice:focus-visible {
  border-color: rgba(119,194,255,.44);
  transform: translateY(-1px);
}
.work-status-choice.is-current {
  border-color: rgba(119,194,255,.48);
  color: #fff;
}
.work-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 auto;
}
.work-status-dot.is-created { background: #c5454c; box-shadow: 0 0 16px rgba(197,69,76,.32); }
.work-status-dot.is-progress { background: #d8a21d; box-shadow: 0 0 16px rgba(216,162,29,.34); }
.work-status-dot.is-ready { background: #39b36e; box-shadow: 0 0 16px rgba(57,179,110,.34); }
.work-finished-project-row.is-selected {
  border-color: rgba(119,194,255,.48);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-project-page .work-edit-line {
  min-height: 58px;
  padding: 2px 0 8px;
  align-items: end;
  border-bottom-color: rgba(119,168,216,.24);
}
.work-project-page .work-field-body {
  gap: 5px;
}
.work-project-page .work-field-body span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.work-project-page .work-edit-line input {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}
.work-project-page .work-select-value,
.work-project-page .work-search-select .work-edit-line {
  min-height: 58px;
  padding-right: 0;
  transition: border-color .2s ease;
}
.work-project-page .work-select-value::after,
.work-project-page .work-search-select .work-edit-line::after {
  align-self: center;
  justify-self: end;
  margin-bottom: 7px;
  transform: rotate(45deg);
}
.work-project-page .work-custom-select.is-open .work-select-value::after,
.work-project-page .work-search-select.is-open .work-edit-line::after {
  transform: rotate(225deg);
  border-color: #77c2ff;
}
.work-project-page .work-select-menu,
.work-project-page .work-search-select .work-place-result-list {
  left: -12px;
  right: -12px;
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 26px 62px rgba(0,0,0,.34);}
.work-project-page .work-select-option,
.work-project-page .work-search-select .work-place-result-row {
  min-height: 48px;
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 14px;
  background: var(--card-bg-image) center / cover no-repeat;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
  padding: 13px 16px;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;}
.work-project-page .work-search-select .work-place-result-row:hover,
.work-project-page .work-select-option:hover {
  border-color: rgba(88,174,254,.38);
  background: var(--card-bg-image) center / cover no-repeat;
  color: #f8fbff;
  transform: translateY(-1px);}
.work-project-page button:not(.work-project-action-tile):not(.work-customer-full-main):not(.work-place-result-row):not(.work-finished-project-row):not(.work-finished-action):not(.work-status-choice):not(.work-customer-header-action):not(.work-overlay-close):not(.work-attachment-delete):not(.work-print-area-action),
.work-project-page .work-attachment-text-button {
  min-height: 50px;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.work-project-page .work-attachment-actions button,
.work-project-page .work-customer-logo-actions button,
.work-project-page .work-customer-logo-actions .work-customer-logo-pick-button,
.work-project-page .work-attachment-dialog-actions button,
.work-project-page .work-form-grid > button.full,
.work-project-page .work-finished-layout aside > button {
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}
.work-customer-preview-row,
.work-customer-full-row,
.work-customer-project-row.is-search-result,
.work-project-detail-row,
.work-place-result-row,
.work-finished-project-row,
.work-attachment-row,
.work-attachment-display-row {
  border-color: rgba(119,168,216,.18);
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);}
.work-customer-preview-row:hover,
.work-customer-full-row:hover,
.work-customer-project-row.is-search-result:hover,
.work-project-detail-row:hover,
.work-finished-project-row:hover,
.work-attachment-row:hover,
.work-attachment-display-row:hover {
  border-color: rgba(88,174,254,.36);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-project-page .work-project-list-head {
  padding: 0 16px;
}
.work-pdf-modal {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: none;
  place-items: center;
  background: var(--card-bg-image) center / cover no-repeat;
  backdrop-filter: blur(6px);}
.work-pdf-modal.is-open {
  display: grid;
}
.work-pdf-modal-card {
  width: min(520px, calc(100% - 48px));
  border: 1px solid rgba(119,168,216,.24);
  border-radius: 26px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
  padding: 28px;
  text-align: center;}
.work-pdf-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.work-glass {
  border: 1px solid var(--line-soft);
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: var(--sem-card-motion);}
.work-stat-stack {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.work-stat-stack:has(.work-stat-card.is-expanded),
.work-stat-stack:has(.work-stat-card.is-closing) {
  z-index: 13;
}
.work-dashboard-grid.is-project-lead .work-stat-stack {
  grid-column: 1;
  grid-row: 1 / 5;
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
}
.work-dashboard-grid.is-technician .work-stat-stack {
  grid-column: 1;
  grid-row: 1 / 5;
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
}
.work-dashboard-grid.is-project-lead .work-stat-stack > #createdProjectCard {
  grid-row: 1;
}
.work-dashboard-grid.is-technician .work-stat-stack > #createdProjectCard {
  grid-row: 1;
}
.work-dashboard-grid.is-project-lead .work-stat-stack > #activeProjectCard {
  grid-row: 2;
}
.work-dashboard-grid.is-technician .work-stat-stack > #activeProjectCard {
  grid-row: 2;
}
.work-dashboard-grid.is-project-lead .work-stat-stack > #finishingProjectCard {
  grid-row: 3;
}
.work-dashboard-grid.is-technician .work-stat-stack > #finishingProjectCard {
  grid-row: 3;
}
.work-dashboard-grid.is-project-lead .work-stat-stack > #closedProjectCard {
  grid-row: 4;
}
.work-dashboard-grid.is-technician .work-stat-stack > #closedProjectCard {
  grid-row: 4;
}
.work-news-card {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 408px;
  margin-left: 16px;
  padding: 30px;
  display: grid;
  min-width: 0;
  cursor: pointer;
}
.work-dashboard-grid.is-project-lead .work-news-card {
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 0;
  margin-left: 0;
}
.work-dashboard-grid.is-project-lead .work-news-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-news-card.is-closing,
.work-dashboard-grid.is-technician .work-news-card.is-expanded,
.work-dashboard-grid.is-technician .work-news-card.is-closing {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
  z-index: 16;
  position: relative;
  min-height: 0;
  cursor: default;
  animation: none;
  transform: none;
}
.work-news-compact {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  height: 100%;
  position: relative;
}
.work-news-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  color: #d0dbe6;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  pointer-events: none;
  transform: none;
}
.work-news-empty[hidden] {
  display: none !important;
}
.work-news-expanded {
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  height: 100%;
}
.work-news-card.is-expanded .work-news-compact,
.work-news-card.is-closing .work-news-compact {
  display: none;
}
.work-news-card.is-expanded .work-news-expanded,
.work-news-card.is-closing .work-news-expanded {
  display: grid;
}
.work-news-expanded-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.work-news-expanded-head h2 {
  margin: 0;
}
.work-news-expanded-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.work-news-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
  min-height: 0;
}
.work-news-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(113, 135, 158, .26);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 16px;
}
.work-news-card.is-list-revealing .work-news-column-list > *,
.work-release-card.is-list-revealing .work-release-list > *,
.work-release-card.is-list-revealing .work-search-results > *,
.work-employee-card.is-list-revealing #employeeList > *,
.work-customer-list-card.is-list-revealing #customerExpandedList > *,
#closeProjectCard.is-list-revealing #finishedProjectList > * {
  animation: workListItemRise 340ms cubic-bezier(.34, .08, .18, 1) both;
}
.work-customer-list-card.is-list-revealing #customerExpandedList {
  animation: workListItemRise 340ms cubic-bezier(.34, .08, .18, 1) both;
}
.work-news-card.is-compact-news-revealing .work-news-empty,
.work-news-card.is-compact-news-revealing .work-news-list > * {
  animation: workListItemRise 340ms cubic-bezier(.34, .08, .18, 1) both;
}
.work-customer-list-card.is-compact-news-revealing .work-customer-empty,
.work-customer-list-card.is-compact-news-revealing .work-customer-preview-list > * {
  animation: workCustomerListItemRise 460ms cubic-bezier(.34, .08, .18, 1) both;
}
.work-customer-list-card.is-compact-news-pending .work-customer-empty,
.work-customer-list-card.is-compact-news-pending .work-customer-preview-list > * {
  opacity: 0;
  transform: translateY(30px);
}
.work-news-card.is-opening .work-news-empty,
.work-news-card.is-opening .work-news-list > *,
.work-news-card.is-opening .work-news-column-list > *,
.work-news-card.is-opening .work-news-columns,
.work-news-card.is-closing .work-news-empty,
.work-news-card.is-closing .work-news-list > *,
.work-news-card.is-closing .work-news-column-list > *,
.work-news-card.is-closing .work-news-columns,
.work-employee-card.is-opening #employeeList > *,
.work-employee-card.is-closing #employeeList > *,
.work-release-card.is-opening .work-release-list > *,
.work-release-card.is-opening .work-search-results > *,
.work-customer-list-card.is-opening #customerExpandedList > *,
.work-customer-list-card.is-closing #customerExpandedList > *,
.work-customer-list-card.is-opening .work-customer-empty,
.work-customer-list-card.is-closing .work-customer-empty {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
}
.admin-animation-card.work-news-card .work-news-empty,
.admin-animation-card.work-news-card .work-news-list,
.admin-animation-card.work-news-card .work-news-columns,
.admin-animation-card.work-news-card .work-news-column-list,
.admin-animation-content-ghost.work-news-card .work-news-empty,
.admin-animation-content-ghost.work-news-card .work-news-list,
.admin-animation-content-ghost.work-news-card .work-news-columns,
.admin-animation-content-ghost.work-news-card .work-news-column-list,
.admin-animation-card.work-employee-card #employeeList,
.admin-animation-card.work-employee-card .employee-list,
.admin-animation-content-ghost.work-employee-card #employeeList,
.admin-animation-content-ghost.work-employee-card .employee-list,
.admin-animation-card.work-release-card .work-release-list > *,
.admin-animation-card.work-release-card .work-search-results > *,
.admin-animation-content-ghost.work-release-card .work-release-list > *,
.admin-animation-content-ghost.work-release-card .work-search-results > *,
.admin-animation-card.work-customer-list-card #customerExpandedList,
.admin-animation-card.work-customer-list-card .work-customer-empty,
.admin-animation-content-ghost.work-customer-list-card #customerExpandedList,
.admin-animation-content-ghost.work-customer-list-card .work-customer-empty {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
  visibility: hidden !important;
}
.admin-animation-content-ghost.work-project-action-tile.is-close-project-list-pending .work-finished-project-list > *,
.admin-animation-layer.is-close-project-list-pending .work-finished-project-list > * {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: none !important;
  visibility: hidden !important;
}
.work-employee-card.is-list-revealing #employeeList > *:nth-child(2) {
  animation-delay: 45ms;
}
.work-employee-card.is-list-revealing #employeeList > *:nth-child(3) {
  animation-delay: 90ms;
}
.work-news-card.is-list-revealing .work-news-column-list > * {
  animation-delay: 0ms !important;
}
@keyframes workListItemRise {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes workCustomerListItemRise {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.work-news-column h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}
.work-news-column-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 50px 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-news-column-list::-webkit-scrollbar {
  width: 0;
}
.work-news-column-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: rgba(208, 219, 230, .78);
  font-size: 16px;
  font-weight: 850;
  text-align: center;
}
.work-action-card {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
  color: var(--text);
}
button.work-action-card {
  cursor: pointer;
}
body:not(.admin-animation-locked) .work-action-card:not(.is-expanded):not(.is-opening):not(.is-closing):not(.admin-animation-card):not(.admin-animation-content-ghost):not(.work-animation-underlay):hover {
  border-color: rgba(88,174,254,.46);
  filter: none;
  transform: translateY(-1px);
}
.work-hover-suspended:hover,
.work-hover-suspended:focus-visible {
  border-color: var(--line-soft) !important;
  transform: none !important;
}
/* Account-Randuebergabe: Verhindert den kurzen Hover-Farbimpuls beim Wechsel vom Animationslayer zur ausgefahrenen Karte. */
.work-account-card.work-hover-suspended {
  border: 1px solid var(--line-soft) !important;
  outline: none !important;
  filter: none !important;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    opacity .2s ease !important;
}
.work-stat-card:hover {
  transform: none;
}
body:not(.admin-animation-locked) .work-glass:is(
  .work-action-card,
  .work-stat-card,
  .work-news-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-launch-card,
  .work-customer-list-card,
  .work-project-action-tile,
  .admin-metric-card,
  .admin-command-card,
  .admin-extension-card,
  .admin-access-card,
  .admin-app-card,
  .admin-mobile-card,
  .admin-mobile-metric-tile
):not(.is-expanded):not(.is-closing):not(.admin-animation-card):not(.admin-animation-content-ghost):hover,
body:not(.admin-animation-locked) .work-glass:is(
  .work-action-card,
  .work-stat-card,
  .work-news-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-launch-card,
  .work-customer-list-card,
  .work-project-action-tile,
  .admin-metric-card,
  .admin-command-card,
  .admin-extension-card,
  .admin-access-card,
  .admin-app-card,
  .admin-mobile-card,
  .admin-mobile-metric-tile
):not(.is-expanded):not(.is-closing):not(.admin-animation-card):not(.admin-animation-content-ghost):focus-visible {
  transform: translateY(-2px);
  border-color: rgba(119, 194, 255, .42);
  background:
    var(--card-bg-image) center / cover no-repeat;
  filter: none;
}
.work-action-card span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.work-action-card strong {
  font-size: 36px;
  line-height: 1;
}
.work-action-card input {
  margin-top: auto;
}
.work-card-note {
  color: #d0dbe6;
  font-size: 15px;
  line-height: 1.35;
}
.work-stat-card {
  padding: 22px;
  display: grid;
  justify-content: stretch;
  align-content: stretch;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.work-dashboard-grid.is-project-lead .work-stat-card {
  min-height: 0;
}
.work-stat-card strong {
  font-size: 34px;
}
.work-stat-expanded .work-project-row strong {
  font-size: 16px;
  line-height: 1.2;
}
.work-stat-expanded .work-project-row span {
  color: #d0dbe6;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}
.work-stat-compact {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  height: 100%;
  min-height: 0;
}
.work-stat-expanded {
  display: none;
  height: 100%;
  min-height: 0;
}
.work-stat-expanded h2 {
  margin: 0;
  font-size: 26px;
}
.work-stat-card.is-expanded,
.work-stat-card.is-closing {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--work-stat-expanded-width, 100%);
  height: 100%;
  z-index: 13;
  padding: 22px;
  cursor: default;
  text-align: left;
}
.work-dashboard-grid.is-project-lead .work-stat-stack > .work-stat-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-stat-stack > .work-stat-card.is-closing,
.work-dashboard-grid.is-technician .work-stat-stack > .work-stat-card.is-expanded,
.work-dashboard-grid.is-technician .work-stat-stack > .work-stat-card.is-closing {
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
}
.work-stat-placeholder {
  visibility: hidden;
  pointer-events: none;
  min-height: 0;
}
.work-right-placeholder {
  visibility: hidden !important;
  pointer-events: none !important;
  min-height: 0 !important;
  opacity: 0 !important;
}
.work-project-tool-placeholder {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.work-project-grid.is-customer-list-closing > .work-project-action-tile:not(.admin-animation-card):not(.admin-animation-content-ghost),
.work-project-grid.is-customer-list-closing > .work-project-action-tile:not(.admin-animation-card):not(.admin-animation-content-ghost):hover,
.work-project-grid.is-customer-list-closing > .work-project-action-tile:not(.admin-animation-card):not(.admin-animation-content-ghost):focus-visible {
  transition: none !important;
  transform: none !important;
  border-color: var(--line-soft) !important;
  box-shadow: none !important;
}
.admin-animation-card.work-customer-list-card.is-reverse:not(.admin-animation-content-ghost) {
  border: 1px solid var(--line-soft) !important;
  background: var(--card-bg-image) center / cover no-repeat !important;
  box-shadow: none !important;
}
.work-stat-card.is-expanded .work-stat-compact,
.work-stat-card.is-closing .work-stat-compact,
.work-stat-card.is-opening .work-stat-compact {
  display: none;
}
.work-stat-card.is-expanded .work-stat-expanded,
.work-stat-card.is-closing .work-stat-expanded {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  align-content: stretch;
}
.work-stat-card.is-opening .work-stat-expanded {
  display: none;
}
.work-account-card,
.work-release-card {
  padding: 22px;
}
.work-account-card {
  grid-column: 3;
  grid-row: 1;
  cursor: pointer;
  position: relative;
  transition:
    transform .28s ease,
    border-color .24s ease,
    box-shadow .28s ease,
    opacity .2s ease;
}
.work-release-card {
  grid-column: 3;
  grid-row: 2;
  cursor: pointer;
  position: relative;
  transition:
    transform .28s ease,
    border-color .24s ease,
    box-shadow .28s ease,
    opacity .2s ease;
}
.work-dashboard-grid.is-project-lead .work-account-card {
  grid-column: 3;
  grid-row: 1;
}
.work-dashboard-grid.is-project-lead .work-release-card {
  grid-column: 3;
  grid-row: 2;
}
.work-dashboard-grid.is-project-lead .work-release-card:not(.is-expanded) .work-release-count {
  display: none;
}
.work-account-card.is-expanded,
.work-release-card.is-expanded {
  grid-row: 1 / 3;
  z-index: 7;
}
.work-account-card.is-expanded {
  grid-column: 3;
  z-index: 10;
  cursor: default;
}
.work-dashboard-grid.is-project-lead .work-account-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-account-card.is-closing,
.work-dashboard-grid.is-technician .work-account-card.is-expanded,
.work-dashboard-grid.is-technician .work-account-card.is-closing {
  grid-column: 3;
  grid-row: 1 / 5;
  z-index: 14;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 14px;
}
.work-account-card.is-closing {
  cursor: default;
  pointer-events: none;
}
.work-release-card.is-expanded {
  grid-column: 2 / 4;
  z-index: 10;
  animation: workExpand .22s ease-out;
}
.work-dashboard-grid.is-project-lead .work-release-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-launch-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-launch-card.is-closing,
.work-dashboard-grid.is-technician .work-release-card.is-expanded,
.work-dashboard-grid.is-technician .work-launch-card.is-expanded,
.work-dashboard-grid.is-technician .work-launch-card.is-closing {
  grid-column: 3;
  grid-row: 1 / 5;
  z-index: 14;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  height: auto;
  min-height: 0;
  cursor: default;
  animation: none;
  transform: none;
}
.work-dashboard-grid.is-project-lead .work-release-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-release-card.is-closing,
.work-dashboard-grid.is-technician .work-release-card.is-expanded,
.work-dashboard-grid.is-technician .work-release-card.is-closing {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
  z-index: 16;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  height: auto;
  min-height: 0;
  cursor: default;
  animation: none;
  transform: none;
}
.work-dashboard-grid.is-project-lead .work-employee-card.is-expanded,
.work-dashboard-grid.is-project-lead .work-employee-card.is-closing {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
  z-index: 16;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  height: auto;
  min-height: 0;
  cursor: default;
  animation: none;
  transform: none;
}
.work-employee-card {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 28px;
  min-height: 190px;
  height: 353px;
  cursor: pointer;
  position: relative;
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease;
  overflow: hidden;
}
.work-dashboard-grid.is-project-lead .work-employee-card {
  grid-column: 3;
  grid-row: 3;
  height: auto;
  min-height: 0;
}
.work-dashboard-grid.is-project-lead .work-employee-card:not(.is-expanded) .work-employee-body {
  display: none;
}
.work-launch-card {
  grid-column: 3;
  grid-row: 4;
  padding: 26px;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
/* Box-Bewegung: Alle klickbaren Karten nutzen denselben Hover- und Fokus-Uebergang. */
.work-glass:is(
  .work-action-card,
  .work-stat-card,
  .work-news-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-launch-card,
  .work-customer-list-card,
  .work-project-action-tile,
  .admin-metric-card,
  .admin-command-card,
  .admin-extension-card,
  .admin-access-card,
  .admin-app-card,
  .admin-mobile-card,
  .admin-mobile-metric-tile
):not(.is-expanded):not(.is-closing):not(.admin-animation-card):not(.admin-animation-content-ghost) {
  transition: var(--sem-card-motion);
  will-change: transform, border-color, box-shadow;
}
.work-launch-card strong {
  font-size: 28px;
}
.work-launch-compact {
  display: grid;
  gap: 22px;
}
.work-launch-details {
  display: none;
  height: 100%;
  min-height: 0;
  align-content: start;
  gap: 18px;
}
.work-launch-details h2 {
  margin: 0;
  font-size: 26px;
}
.work-launch-options {
  display: grid;
  gap: 12px;
}
.work-launch-option {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(119,168,216,.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(88,174,254,.16), transparent 38%),
    rgba(24, 30, 35, .72);
  color: var(--text);
  text-decoration: none;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}
.work-launch-card.is-expanded .work-launch-compact,
.work-launch-card.is-closing .work-launch-compact {
  display: none;
}
.work-launch-card.is-expanded .work-launch-details,
.work-launch-card.is-closing .work-launch-details {
  display: grid;
}
.work-employee-card.is-expanded,
.work-employee-card.is-closing {
  position: absolute;
  grid-column: 1 / -1;
  grid-row: 1 / 4;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  height: auto;
  z-index: 12;
  min-height: 0;
  cursor: default;
  transform-origin: bottom center;
}
/* Nutzerverwaltung: Eine direkte Geometrieanimation auf der echten Karte.
   Es gibt keinen Box-Klon, keinen Clip-Pfad und keinen Rand-Handoff. */
.work-employee-card.employee-direct-motion {
  position: fixed !important;
  grid-column: auto !important;
  grid-row: auto !important;
  right: auto !important;
  bottom: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  z-index: 70 !important;
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
  transform-origin: center !important;
  transition: none !important;
  animation: none !important;
  will-change: left, top, width, height;
  contain: layout paint;
}
.work-employee-card.employee-direct-motion > .work-employee-head:not(.employee-direct-compact-layer),
.work-employee-card.employee-direct-motion > .work-employee-body,
.work-employee-card.employee-direct-motion > .employee-direct-compact-layer {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  will-change: opacity;
}
.work-employee-card.employee-direct-motion #employeeCreateButton {
  transition: none !important;
  will-change: transform;
}
.work-employee-card .employee-direct-compact-layer {
  position: absolute;
  top: 28px;
  right: 28px;
  left: 28px;
  z-index: 4;
  margin: 0;
  pointer-events: none;
}
.work-news-card h2,
.work-account-card h2,
.work-release-card h2,
.work-employee-card h2 {
  margin-bottom: 18px;
  font-size: 26px;
}
.work-account-card .work-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.work-account-card .work-panel-grid input:nth-child(3),
.work-account-card .work-panel-grid button {
  grid-column: 1 / -1;
}
.work-dashboard-page .dashboard-form button,
.work-dashboard-page .work-panel-grid button,
.work-project-page button:not(.work-project-action-tile):not(.work-customer-full-main):not(.work-place-result-row):not(.work-finished-project-row):not(.work-finished-action):not(.work-status-choice):not(.work-customer-header-action):not(.work-overlay-close):not(.work-attachment-delete):not(.work-print-area-action),
.work-project-page .work-customer-logo-pick-button {
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 18% 10%, rgba(88,174,254,.16), transparent 34%),
    rgba(28, 32, 36, .86);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 36px rgba(0,0,0,.18);
}
.work-dashboard-page .dashboard-form button:hover,
.work-dashboard-page .work-panel-grid button:hover,
.work-project-page button:not(.work-project-action-tile):not(.work-customer-full-main):not(.work-place-result-row):not(.work-finished-project-row):not(.work-finished-action):not(.work-status-choice):not(.work-customer-header-action):not(.work-overlay-close):not(.work-attachment-delete):not(.work-print-area-action):hover,
.work-project-page .work-customer-logo-pick-button:hover {
  border-color: rgba(88,174,254,.46);
  filter: none;
  transform: translateY(-1px);
}
.work-release-card input {
  margin-top: 10px;
}
.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.work-profile-summary {
  display: grid;
  gap: 8px;
}
.work-profile-summary strong {
  font-size: 24px;
  line-height: 1.1;
}
.work-profile-summary span {
  color: var(--muted);
  font-weight: 850;
}
.work-profile-large {
  width: 76px;
  height: 76px;
  font-size: 25.333px;
  line-height: normal;
}
.work-avatar-edit {
  position: absolute;
  left: -38px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: none;
  place-items: center;
  padding: 0;
  color: rgba(218,231,242,.78);
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color .12s ease;
}
.work-avatar-edit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-avatar-edit:hover,
.work-avatar-edit:focus,
.work-avatar-edit:focus-visible,
.work-avatar-edit:active {
  color: rgba(255,255,255,.96);
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: translateY(-50%);
}
.work-account-card.is-expanded .work-avatar-edit,
.work-account-card.is-closing .work-avatar-edit {
  display: grid;
}
.work-card-details {
  display: none;
  margin-top: 0;
}
.work-account-card.is-expanded .work-card-details,
.work-account-card.is-closing .work-card-details,
.work-release-card.is-expanded .work-card-details {
  display: grid;
  gap: 14px;
}
.work-account-card.is-expanded .work-card-details,
.work-account-card.is-closing .work-card-details {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}
.work-release-card.is-expanded .work-card-details {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-content: start;
  height: 100%;
  min-height: 0;
}
.work-account-card.is-expanded .work-card-details > button,
.work-account-card.is-closing .work-card-details > button,
.work-account-card.is-expanded #passwordConfirmRow {
  grid-column: 1 / -1;
}
.work-account-card.is-expanded .work-card-header,
.work-account-card.is-closing .work-card-header {
  margin-bottom: 0;
}
.work-account-card.is-expanded .work-card-details > button,
.work-account-card.is-closing .work-card-details > button,
.work-release-card.is-expanded .work-card-details > button,
.work-employee-card.is-expanded .dashboard-form > button,
.work-launch-option {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.work-edit-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 2px 0 5px;
  border-bottom: 1px solid rgba(119,168,216,.18);
}
.work-dashboard-page .work-edit-line:focus-within,
.work-dashboard-page .work-edit-line input:focus,
.work-dashboard-page .work-edit-line input:focus-visible {
  border-color: rgba(119,168,216,.18);
  box-shadow: none;
  outline: none;
}
.work-edit-line input {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  outline: none;
  box-shadow: none;
}
.work-account-card.is-expanded .work-edit-line input,
.work-release-card.is-expanded .work-edit-line input {
  font-size: 17px;
}
.work-edit-line input:disabled {
  color: #d4dee9;
  opacity: 1;
}
.work-edit-line.is-locked input {
  pointer-events: none;
  cursor: default;
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}
.work-edit-line input::placeholder {
  color: rgba(212,222,233,.64);
}
.work-field-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.work-field-body span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.work-password-body {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}
.work-password-body span {
  grid-column: 1 / -1;
}
.work-password-body input {
  min-width: 0;
}
.work-password-body.is-visible .password-toggle .eye-on {
  display: none;
}
.work-password-body.is-visible .password-toggle .eye-off {
  display: block;
}
.work-icon-button {
  width: 28px;
  height: 28px;
  border-radius: 0;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.work-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-password-body .password-toggle {
  position: static !important;
  right: auto !important;
  top: auto !important;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(218,231,242,.78);
  appearance: none;
  -webkit-appearance: none;
  align-self: center;
  transform: translateY(-4px) !important;
  transition: color .12s ease, opacity .12s ease !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.work-password-body .password-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-password-body .password-toggle .eye-off {
  display: none;
}
.work-password-body.has-value .password-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.work-edit-line.is-password-invalid {
  border-bottom-color: rgba(221,86,91,.78) !important;
}
.work-edit-line.is-create-invalid {
  border-bottom-color: rgba(221,86,91,.78) !important;
  box-shadow: 0 8px 14px -12px rgba(221,86,91,.92);
}
.work-edit-line.is-create-invalid .work-field-body > span,
.work-edit-line.is-create-invalid .work-field-body input {
  color: rgba(255,142,146,.96);
}
.work-edit-line.is-create-invalid .work-field-body input::placeholder {
  color: rgba(255,142,146,.90);
  opacity: 1;
}
.work-field-heading {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.work-field-error {
  display: none !important;
  grid-column: auto !important;
  margin-left: auto;
  color: rgba(255,142,146,.96) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: right;
  text-transform: none !important;
  white-space: nowrap;
}
.work-edit-line.is-create-invalid .work-field-error:not(:empty) {
  display: inline !important;
}
.work-edit-line.is-create-shaking .work-field-body {
  animation: work-password-shake 360ms cubic-bezier(.36,.07,.19,.97) both;
}
.work-edit-line.is-password-invalid .work-field-body > span,
.work-edit-line.is-password-invalid .work-field-body input {
  color: rgba(255,142,146,.96);
}
.work-edit-line.is-password-invalid .work-field-body input::placeholder {
  color: rgba(255,142,146,.90);
  opacity: 1;
}
.work-edit-line.is-password-shaking .work-field-body {
  animation: work-password-shake 360ms cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes work-password-shake {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-5px); }
  36% { transform: translateX(5px); }
  54% { transform: translateX(-4px); }
  72% { transform: translateX(4px); }
  88% { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .work-edit-line.is-password-shaking .work-field-body,
  .work-edit-line.is-create-shaking .work-field-body {
    animation: none;
  }
}
.work-password-body .password-toggle:hover,
.work-password-body .password-toggle:focus,
.work-password-body .password-toggle:focus-visible,
.work-password-body .password-toggle:active {
  color: rgba(255,255,255,.96);
  transform: translateY(-4px) !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.work-icon-button:hover {
  color: #77c2ff;
  transform: translateY(-1px);
}
.work-icon-button:focus,
.work-icon-button:focus-visible,
.work-icon-button:active {
  outline: none;
  border: 0;
  box-shadow: none;
}
.work-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}
.work-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.work-hidden {
  display: none !important;
}
.work-release-count {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.work-release-count strong {
  font-size: 40px;
  line-height: 1;
}
.work-release-card.is-expanded .work-card-note,
.work-release-card.is-expanded .work-release-count {
  display: none;
}
.work-release-card.is-expanded {
  cursor: default;
}
.work-release-card.is-expanded .work-card-details {
  margin-top: 0;
}
.work-release-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 28px;
  height: 100%;
  min-height: 0;
}
.work-release-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}
.work-release-panel h3 {
  margin: 0;
  font-size: 22px;
}
.work-release-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: start;
}
.work-release-panel-head .work-edit-line {
  margin: 0;
  justify-self: end;
  width: 100%;
  padding-top: 0;
}
.work-release-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-right: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
}
.work-release-list::-webkit-scrollbar,
.work-search-results::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.work-release-employee-row,
.work-release-project-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(119,168,216,.16);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;}
.work-release-employee-row {
  border-color: rgba(216, 162, 29, .44);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-employee-row:hover,
.work-release-project-row:hover {
  border-color: rgba(88,174,254,.42);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-employee-row.is-selected,
.work-release-employee-row.is-selected:hover {
  border-color: rgba(77, 159, 245, .78);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-project-row.is-created {
  border-color: rgba(255, 92, 102, .42);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-project-row.is-active {
  border-color: rgba(216, 162, 29, .44);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-project-row.is-finishing {
  border-color: rgba(117, 223, 153, .44);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-release-project-row.is-selected,
.work-release-project-row.is-selected:hover {
  border-color: rgba(77, 159, 245, .78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(77,159,245,.44),
    0 0 18px rgba(42,126,218,.22);
}
.work-release-row-main {
  min-width: 0;
}
.work-release-row-main strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.work-release-row-main span {
  display: block;
  margin-top: 5px;
  color: rgba(212,222,233,.72);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.work-release-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.work-release-status-dot.is-created {
  background: var(--red);
  box-shadow: 0 0 18px rgba(200,77,80,.35);
}
.work-release-status-dot.is-active {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(216,162,29,.35);
}
.work-release-status-dot.is-finishing {
  background: var(--green);
  box-shadow: 0 0 18px rgba(57,183,106,.35);
}
.work-release-status-dot.is-selected {
  background: #4d9ff5;
  box-shadow: 0 0 18px rgba(77,159,245,.46);
}
.work-search-results {
  display: grid;
  gap: 8px;
  min-height: 190px;
  max-height: none;
  overflow: auto;
  align-content: start;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
}
.work-release-card.is-expanded #projectSearchResults {
  grid-column: 1;
  grid-row: auto;
}
.work-custom-select.is-dropup .work-select-menu {
  top: auto;
  bottom: calc(100% + 10px);
  transform: translateY(8px);
}
.work-custom-select.is-dropup.is-open .work-select-menu {
  transform: translateY(0);
}
.work-release-card.is-expanded .work-card-details > button {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  min-height: 50px;
  min-width: 220px;
}
.work-release-status {
  grid-column: 1;
  grid-row: 2;
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.work-release-status.is-ok {
  color: rgba(117, 223, 153, .95);
}
.work-release-status.is-error {
  color: rgba(255, 142, 142, .95);
}
.work-release-submit {
  min-width: 190px;
  border-radius: 16px;
  border: 1px solid rgba(119,168,216,.22);
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;}
.work-release-card.is-expanded .work-edit-line input {
  font-size: 17px;
}
.work-release-submit:hover {
  border-color: rgba(88,174,254,.46);
  transform: translateY(-1px);
}
.work-release-submit.is-confirmed {
  border-color: rgba(117,223,153,.48);
  background: var(--card-bg-image) center / cover no-repeat;
  color: #effff4;}
.work-select-option.is-selected {
  border-color: rgba(117,223,153,.34);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-select-option .work-select-check {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(117,223,153,.95);
  font-weight: 950;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}
.work-custom-select {
  position: relative;
  isolation: isolate;
}
.work-select-value {
  position: relative;
  cursor: pointer;
  min-height: 58px;
  align-items: end;
  border-bottom-color: rgba(119,168,216,.24);
  transition: border-color .2s ease, background .2s ease, padding .2s ease;}
.work-select-value input {
  cursor: pointer;
  padding-right: 34px;
}
.work-select-value::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(244,246,250,.92);
  border-bottom: 2px solid rgba(244,246,250,.92);
  transform: rotate(45deg) translateY(-3px);
  transform-origin: center;
  transition: transform .22s ease, border-color .2s ease;
}
.work-custom-select.is-open .work-select-value::after {
  transform: rotate(225deg) translate(-1px, -1px);
  border-color: #77c2ff;
}
.work-custom-select.is-open .work-select-value {
  border-bottom-color: rgba(119,194,255,.48);
}
.work-select-menu {
  position: absolute;
  left: -14px;
  right: -14px;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(119,168,216,.2);
  border-radius: 22px;
  background: var(--card-bg-image) center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 26px 62px rgba(0,0,0,.34);
  backdrop-filter: blur(22px);
  padding: 10px;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: max-height .24s ease, opacity .18s ease, transform .24s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;}
.work-select-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.work-custom-select.is-open .work-select-menu {
  max-height: 230px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.work-select-option {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 14px;
  background: var(--card-bg-image) center / cover no-repeat;
  color: var(--text);
  text-align: center;
  padding: 13px 42px;
  min-height: 46px;
  width: 100%;
  font-weight: 850;
  font-size: 17px;
  letter-spacing: 0;
  transition: background .16s ease, color .16s ease, transform .16s ease;}
.work-select-option:hover {
  border-color: rgba(88,174,254,.38);
  background: var(--card-bg-image) center / cover no-repeat;
  color: #f8fbff;
  transform: translateY(-1px);}
.work-select-option:focus,
.work-select-option:focus-visible {
  outline: none;
  background: var(--card-bg-image) center / cover no-repeat;}
.work-select-menu .empty-state {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: rgba(212,222,233,.78);
  font-size: 16px;
  font-weight: 850;
  text-align: center;
}
.work-project-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 516px);
  height: 408px;
  z-index: 9;
  display: none;
  padding: 28px;
  transform-origin: left top;
  animation: workExpand .22s ease-out;
}
.work-dashboard-grid.is-project-lead .work-project-overlay {
  width: calc(100% - 380px);
  height: 100%;
}
.work-project-overlay.is-open {
  display: block;
}
.work-project-list {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  padding-right: 4px;
}
.work-stat-expanded .work-project-list {
  height: 100%;
  max-height: none;
  min-height: 0;
  align-content: start;
  grid-auto-rows: max-content;
}
.work-stat-expanded .work-list-empty-large {
  height: 100%;
  min-height: 0;
}
.work-project-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  min-height: 78px;
  padding: 14px 16px;
  cursor: pointer;
}
.work-project-row.is-static {
  cursor: default;
}
.work-project-row:focus-visible {
  outline: 2px solid rgba(119,194,255,.7);
  outline-offset: 2px;
}
.work-project-row-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.work-project-row-main strong {
  flex: 0 1 auto;
  font-size: 20px;
  line-height: 1.1;
}
.work-project-row-main .work-project-number {
  flex: 0 0 auto;
}
.work-project-row-customer {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-list-empty-large {
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #d0dbe6;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}
.work-news-list[hidden] {
  display: none !important;
}
.work-news-list {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 50px 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-news-list::-webkit-scrollbar {
  width: 0;
}
.work-news-message {
  border: 1px solid rgba(255, 92, 102, .42);
  border-radius: 18px;
  background: var(--card-bg-image) center / cover no-repeat;
  padding: 12px 16px;
  color: #f4f6fa;
  box-shadow: none;
  cursor: default;
  transition: opacity .22s ease, transform .22s ease, border-color .18s ease;}
.work-news-message.is-action {
  border-color: rgba(255, 92, 102, .48);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-news-message.is-observe {
  border-color: rgba(216, 162, 29, .46);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-news-message.is-info {
  border-color: rgba(142, 156, 172, .34);
  background: var(--card-bg-image) center / cover no-repeat;
  cursor: pointer;}
.work-news-message.is-info:hover {
  border-color: rgba(174, 190, 207, .5);
  background: var(--card-bg-image) center / cover no-repeat;}
.work-news-message.has-destination {
  cursor: pointer;
}
.work-news-message.has-destination:hover,
.work-news-message.has-destination:focus-visible {
  border-color: rgba(77,159,245,.72);
  outline: none;
  box-shadow: 0 0 0 1px rgba(77,159,245,.22);
}
.work-news-message.is-dismissing {
  opacity: 0;
  transform: translateY(-8px) scale(.985);
}
.work-news-message strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.08;
}
.work-news-message span {
  display: block;
  color: rgba(222,232,244,.74);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.24;
}
.work-news-compliance-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
.work-news-compliance-actions a,
.work-news-compliance-actions button {
  min-height: 30px;
  border: 1px solid rgba(151, 175, 205, .34);
  border-radius: 7px;
  background: rgba(8, 15, 27, .34);
  color: #eaf2ff;
  padding: 6px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}
.work-news-compliance-actions button {
  border-color: rgba(255, 92, 102, .56);
}
.work-news-compliance-actions a:hover,
.work-news-compliance-actions button:hover,
.work-news-compliance-actions a:focus-visible,
.work-news-compliance-actions button:focus-visible {
  border-color: rgba(110, 177, 255, .82);
  outline: none;
}
.work-news-compliance-actions button:disabled {
  opacity: .55;
  cursor: wait;
}
@keyframes workExpand {
  from { opacity: .45; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes workCollapse {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.985); }
}
.work-employee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.work-employee-search {
  width: min(330px, 38vw);
  min-height: 58px;
  margin: -4px 0 0;
  flex: 0 1 330px;
}
.work-employee-search input {
  width: 100%;
}
.work-employee-card:not(.is-expanded) .work-employee-search,
.work-employee-card .employee-direct-compact-layer .work-employee-search {
  display: none;
}
.work-employee-body {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: 18px;
}
.work-employee-card:not(.is-expanded) .dashboard-form {
  gap: 9px;
  align-content: start;
}
.work-employee-card:not(.is-expanded) .dashboard-form .work-edit-line {
  min-height: 58px;
}
.work-employee-card:not(.is-expanded) .dashboard-form button {
  min-height: 52px;
}
.work-employee-card.is-expanded .work-employee-body {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.work-employee-card.is-expanded .dashboard-form {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 15px;
}
.work-employee-create-status {
  position: relative;
  top: -14px;
  height: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: transparent;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  padding: 3px 12px;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  transform: translateY(3px) scale(.985);
  transition: opacity 220ms ease, transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
  visibility: hidden;
}
.work-employee-create-status.has-message {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}
.work-employee-create-status.has-message:not(.is-error):not(.is-success) {
  color: var(--muted);
}
.work-employee-create-status.is-error {
  color: rgba(255,142,146,.96);
  background: rgba(200,77,80,.165);
  border-color: rgba(200,77,80,.376);
}
.work-employee-create-status.is-success {
  color: rgba(117,223,153,.95);
  background: rgba(48,139,82,.13);
  border-color: rgba(84,186,119,.30);
}
#employeeCreateButton {
  position: relative;
  top: -21px;
  margin-top: 2px;
}
#employeeRoleSelect {
  top: -9px;
}
.work-employee-card.is-expanded #employeeList {
  display: grid;
  gap: 14px;
  max-height: 437px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px 4px var(--employee-list-tail-space, 0px) 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 50px), rgba(0,0,0,.62) calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-employee-card.is-expanded #employeeList::-webkit-scrollbar {
  width: 0;
}
.employee-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) 60px;
  grid-template-rows: minmax(60px, auto) auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(119,168,216,.18);
  border-radius: 16px;
  background: var(--card-bg-image) center / cover no-repeat;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;}
.employee-row:hover {
  border-color: rgba(88,174,254,.42);
  background: var(--card-bg-image) center / cover no-repeat;}
.employee-row .status {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.employee-row .status.is-pending {
  background: #4d9ff5;
  box-shadow: 0 0 18px rgba(77,159,245,.42);
}
.employee-row > .employee-summary {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.employee-avatar {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(125,167,210,.34);
  border-radius: 50%;
  background: rgba(12,18,25,.58);
  color: rgba(226,236,247,.92);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.employee-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.employee-row .name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
.employee-row .badge {
  padding: 4px 10px;
  font-size: 12px;
}
.employee-row .meta {
  margin-top: 7px;
  color: rgba(212,222,233,.72);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}
.employee-row.is-editing {
  align-items: center;
  border-color: rgba(119,194,255,.44);
  background: var(--card-bg-image) center / cover no-repeat;}
.employee-edit-panel {
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding-top: 14px;
  max-height: 320px;
  overflow: hidden;
  transform-origin: top center;
  animation: employeeEditExpand .42s cubic-bezier(.33,.1,.2,1) both;
  will-change: max-height, opacity, transform, padding-top;
}
.employee-edit-panel.is-closing {
  pointer-events: none;
  animation: employeeEditCollapse .42s cubic-bezier(.33,.1,.2,1) both;
}
@keyframes employeeEditExpand {
  from { max-height: 0; padding-top: 0; opacity: 0; transform: translateY(-4px) scale(.996); }
  to { max-height: 320px; padding-top: 14px; opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes employeeEditCollapse {
  from { max-height: 320px; padding-top: 14px; opacity: 1; transform: translateY(0) scale(1); }
  to { max-height: 0; padding-top: 0; opacity: 0; transform: translateY(-4px) scale(.996); }
}
.employee-edit-panel .work-custom-select {
  min-width: 0;
}
.employee-edit-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}
.employee-edit-actions button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 8px;
  font-size: 14px !important;
  white-space: nowrap;
}
.employee-action-slot {
  position: relative;
  display: block;
  min-width: 0;
}
.employee-action-slot > button {
  height: 100%;
}
.employee-action-slot.has-tooltip::before,
.employee-action-slot.has-tooltip::after {
  position: absolute;
  left: 50%;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity .18s ease, transform .18s ease;
}
.employee-action-slot.has-tooltip::before {
  content: "";
  bottom: calc(100% + 5px);
  border: 6px solid transparent;
  border-top-color: rgba(123,151,180,.66);
}
.employee-action-slot.has-tooltip::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 16px);
  width: max-content;
  max-width: 250px;
  padding: 9px 11px;
  border: 1px solid rgba(123,151,180,.42);
  border-radius: 8px;
  background: rgba(10,16,23,.97);
  box-shadow: 0 10px 26px rgba(0,0,0,.32);
  color: rgba(229,237,246,.96);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.32;
  text-align: center;
  white-space: normal;
}
.employee-action-slot.has-tooltip:hover::before,
.employee-action-slot.has-tooltip:hover::after,
.employee-action-slot.has-tooltip:focus-within::before,
.employee-action-slot.has-tooltip:focus-within::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.employee-edit-actions .employee-action-slot:last-child.has-tooltip::before {
  left: auto;
  right: 18px;
  transform: translateY(5px);
}
.employee-edit-actions .employee-action-slot:last-child.has-tooltip::after {
  left: auto;
  right: 0;
  transform: translateY(5px);
}
.employee-edit-actions .employee-action-slot:last-child.has-tooltip:hover::before,
.employee-edit-actions .employee-action-slot:last-child.has-tooltip:hover::after,
.employee-edit-actions .employee-action-slot:last-child.has-tooltip:focus-within::before,
.employee-edit-actions .employee-action-slot:last-child.has-tooltip:focus-within::after {
  transform: translateY(0);
}
.employee-edit-actions .employee-edit-lock {
  border-color: rgba(216,162,29,.40);
  color: rgba(255,222,150,.96);
}
.employee-edit-actions .employee-edit-lock.is-unlock {
  border-color: rgba(76,180,122,.42);
  color: rgba(177,239,204,.96);
}
.employee-edit-actions .employee-edit-invite {
  border-color: rgba(77,159,245,.68);
  background: rgba(36,88,142,.24);
  color: rgba(166,211,255,.98);
}
.employee-edit-actions .employee-edit-invite:hover {
  border-color: rgba(98,181,255,.88);
  background: rgba(42,105,171,.32);
  color: #e1f1ff;
}
.work-employee-card #employeeList.is-filter-exiting > * {
  pointer-events: none;
  animation: employeeFilterExit 170ms cubic-bezier(.34,.08,.18,1) both !important;
}
.work-employee-card #employeeList.is-filter-entering > * {
  animation: employeeFilterEnter 280ms cubic-bezier(.34,.08,.18,1) both !important;
}
@keyframes employeeFilterExit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(18px); }
}
@keyframes employeeFilterEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.employee-edit-actions .employee-edit-delete {
  position: relative;
  overflow: hidden;
  border-color: rgba(216,91,98,.46);
  background:
    radial-gradient(circle at 18% 10%, rgba(216,91,98,.18), transparent 34%),
    rgba(44, 26, 29, .88);
}
.employee-edit-actions .employee-edit-delete::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hold-progress, 0%);
  background: rgba(216,91,98,.30);
  pointer-events: none;
  transition: width .08s linear;
}
.employee-edit-actions .employee-edit-delete span {
  position: relative;
  z-index: 1;
}
.employee-edit-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none !important;
}
.work-panel {
  display: none;
  margin-top: 24px;
  padding: 26px;
}
.work-panel.is-open {
  display: block;
}
.work-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.work-panel-grid input,
.work-panel-grid select {
  min-width: 0;
}
.admin-mobile-nav {
  display: none;
}
.admin-install-page {
  width: min(1180px, calc(100% - 34px));
  min-height: var(--sem-ui-viewport-height);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 0 max(34px, env(safe-area-inset-bottom));
  position: relative;
  z-index: 1;
}
.admin-install-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.admin-install-title h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}
.admin-install-title .subtitle {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 750;
}
.admin-install-title .subtitle:empty {
  display: none;
}
.admin-app-grid {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(420px, 1.22fr);
  gap: 18px;
  align-items: stretch;
}
.admin-app-card {
  min-height: 128px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.admin-app-screen {
  min-height: 760px;
  border-radius: 34px;
  padding: 22px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
}
.admin-app-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-app-wide {
  grid-column: 1 / -1;
}
.admin-app-auth-state {
  display: grid;
  gap: 12px;
}
.admin-app-state-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-app-state-row > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.admin-app-state-row:last-child {
  border-bottom: 0;
}
.admin-app-state-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-app-state-row strong {
  color: rgba(244,246,250,.95);
  font-size: 17px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.admin-app-pill {
  min-width: 78px;
  text-align: center;
  color: rgba(244,246,250,.94);
  font-size: 12px;
  font-weight: 950;
}
.admin-app-pill.is-ok {
  color: rgba(188,255,215,.95);
}
.admin-app-pill.is-warn {
  color: rgba(255,219,145,.95);
}
.admin-app-login-flow {
  display: grid;
  gap: 12px;
}
.admin-app-login-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.admin-app-login-step i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(119,168,216,.22);
  background: rgba(17,20,23,.38);
  color: rgba(244,246,250,.95);
  font-style: normal;
  font-weight: 950;
}
.admin-app-login-step strong {
  display: block;
  margin-bottom: 4px;
}
.admin-app-login-step span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}
.admin-app-emergency-card {
  border-color: rgba(255,113,113,.36);
  background: var(--card-bg-image) center / cover no-repeat;}
.admin-app-emergency-card h2 {
  color: rgba(255,238,238,.96);
}
.admin-app-emergency-button {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border-color: rgba(255,113,113,.42);
  background:
    linear-gradient(180deg, rgba(255,113,113,.18), rgba(255,113,113,.05)),
    rgba(18,20,23,.66);
  color: rgba(255,240,240,.98);
  font-size: 18px;
  font-weight: 950;
}
.admin-app-emergency-button .hold-label {
  position: relative;
  display: block;
  margin-top: 5px;
  color: rgba(255,215,215,.72);
  font-size: 12px;
  font-weight: 900;
}
.admin-app-emergency-button::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--hold-progress, 0%);
  background: linear-gradient(180deg, rgba(255,113,113,.05), rgba(255,113,113,.34));
  transition: height .1s linear;
}
.admin-app-emergency-button:disabled {
  opacity: .82;
  cursor: default;
}
.admin-app-mini-log {
  display: grid;
  gap: 9px;
}
.admin-app-mini-log div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  color: rgba(222,230,238,.9);
  font-size: 13px;
  font-weight: 780;
}
.admin-app-mini-log span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-app-card h2 {
  margin: 0;
  font-size: 20px;
}
.admin-app-card .meta {
  color: var(--muted);
}
.admin-app-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-app-stat {
  display: grid;
  gap: 4px;
}
.admin-app-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-app-stat strong {
  font-size: 18px;
}
.admin-otp-code {
  font-size: clamp(48px, 10vw, 68px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}
.admin-otp-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.admin-otp-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(88,174,254,.86), rgba(57,183,106,.82));
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 60s linear;
}
.admin-app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-app-actions a,
.admin-app-actions button {
  min-height: 52px;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 1120px) {
  .admin-app-grid {
    grid-template-columns: 1fr;
  }
  .admin-app-screen {
    min-height: auto;
  }
}
.admin-app-mobile-list {
  display: none;
}
@media (max-width: 720px) {
  body.admin-mobile {
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.admin-mobile::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-install-page {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 0 clamp(12px, 4vw, 18px) max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .admin-install-page::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-install-head {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 10px;
    padding: max(16px, env(safe-area-inset-top)) 0 0;
    background: transparent;
    backdrop-filter: none;
  }
  .admin-install-head {
    animation: admin-mobile-from-top .34s cubic-bezier(.16, 1, .3, 1) both;
  }
  .admin-install-logo {
    display: block;
    width: clamp(116px, 38vw, 170px);
    height: auto;
    opacity: .94;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
  }
  .admin-mobile-title-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    margin-top: clamp(4px, 1.8vh, 14px);
    text-align: center;
  }
  .admin-install-title h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: .96;
  }
  .admin-install-title .subtitle {
    display: none;
  }
  .admin-account {
    position: absolute;
    top: max(18px, env(safe-area-inset-top));
    right: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    gap: 0;
    padding: 0;
  }
  .admin-account .admin-account-name {
    display: none;
  }
  .admin-account .admin-avatar {
    width: 48px;
    height: 48px;
  }
  .admin-app-grid {
    display: block;
  }
  .admin-app-screen,
  .admin-app-panel-grid {
    display: none;
  }
  .admin-app-mobile-list {
    display: grid;
    gap: 6px;
    padding-bottom: max(240px, calc(env(safe-area-inset-bottom) + 18px));
  }
  .admin-mobile-emergency-top {
    margin-bottom: 3px;
    animation: admin-mobile-from-left .34s cubic-bezier(.16, 1, .3, 1) .04s both;
  }
  .admin-mobile-emergency-top .admin-app-emergency-button {
    width: 100%;
    min-height: 78px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    text-align: center;
  }
  .admin-mobile-emergency-top .admin-app-emergency-button .main-label {
    position: relative;
    display: block;
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.05;
  }
  .admin-mobile-emergency-top .admin-app-emergency-button .hold-label {
    display: block;
    margin-top: 0;
  }
  .admin-mobile-metric-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 1px 0;
    margin-bottom: 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .admin-mobile-metric-carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-mobile-metric-tile {
    min-height: 104px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 18px 20px;
    border-radius: 24px;
    display: grid;
    align-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    touch-action: pan-x pan-y;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.07),
      inset 0 0 0 1px rgba(113,135,158,.23);
    animation: admin-mobile-from-left .36s cubic-bezier(.16, 1, .3, 1) both;
  }
  .admin-mobile-metric-tile.is-source-hidden {
    visibility: hidden;
  }
  .admin-mobile-metric-overlay {
    cursor: pointer;
    overflow: hidden;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.07),
      inset 0 0 0 1px rgba(113,135,158,.23);
  }
  .admin-mobile-metric-tile strong {
    font-size: 36px;
    line-height: 1;
  }
  .admin-mobile-metric-tile span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 950;
  }
  .admin-mobile-metric-detail {
    display: none;
  }
  body.is-mobile-metric-open .admin-install-page {
    overflow: hidden;
  }
  body.is-mobile-metric-open .admin-app-mobile-list > :not(.admin-mobile-emergency-top):not(.admin-mobile-metric-carousel) {
    opacity: 0;
    pointer-events: none;
  }
  body.is-mobile-metric-open .admin-mobile-metric-carousel .admin-mobile-metric-tile:not(.is-source-hidden) {
    opacity: 0;
    pointer-events: none;
  }
  .admin-mobile-metric-overlay.is-expanded {
    position: fixed;
    left: max(clamp(12px, 4vw, 18px), env(safe-area-inset-left));
    right: max(clamp(12px, 4vw, 18px), env(safe-area-inset-right));
    top: var(--metric-top, 212px);
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 86;
    width: auto;
    min-height: 0;
    max-height: none;
    padding: 20px;
    align-content: start;
    grid-template-rows: auto auto minmax(0, 1fr);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: admin-mobile-metric-open .34s cubic-bezier(.16, 1, .3, 1) both;
  }
  .admin-mobile-metric-overlay.is-closing {
    animation: admin-mobile-metric-close .28s cubic-bezier(.7, 0, .84, 0) both;
  }
  .admin-mobile-metric-overlay.is-expanded strong,
  .admin-mobile-metric-overlay.is-expanded span {
    position: relative;
    z-index: 2;
  }
  .admin-mobile-metric-overlay.is-expanded .admin-mobile-metric-detail {
    display: grid;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 2px 0;
    margin-top: 5px;
    border-top: 1px solid rgba(255,255,255,.09);
    scrollbar-width: none;
  }
  .admin-mobile-metric-overlay.is-expanded .admin-mobile-metric-detail::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-mobile-metric-detail .empty-state {
    min-height: auto;
    padding: 14px 0;
    border: 0;
    text-align: left;
  }
  @keyframes admin-mobile-metric-open {
    from { clip-path: inset(0 0 calc(100% - 104px) 0 round 24px); }
    to { clip-path: inset(0 0 0 0 round 24px); }
  }
  @keyframes admin-mobile-metric-close {
    from { clip-path: inset(0 0 0 0 round 24px); }
    to { clip-path: inset(0 0 calc(100% - 104px) 0 round 24px); }
  }
  .admin-mobile-card {
    min-height: 0;
    padding: 18px;
    border-radius: 24px;
    display: grid;
    gap: 12px;
  }
  @keyframes admin-mobile-from-top {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes admin-mobile-from-bottom {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes admin-mobile-from-left {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
  }
  .admin-mobile-card.is-mobile-expandable {
    cursor: pointer;
    touch-action: pan-y;
  }
  body.is-mobile-panel-open .admin-install-page {
    overflow: hidden;
  }
  .admin-mobile-card.is-expanded {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    top: max(12px, env(safe-area-inset-top));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    width: auto;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 20px;
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: admin-mobile-panel-in .44s cubic-bezier(.16, 1, .3, 1) both;
    touch-action: pan-y pan-x;
  }
  .admin-mobile-card.is-expanded.is-closing {
    animation: admin-mobile-panel-out .34s cubic-bezier(.7, 0, .84, 0) both;
  }
  .admin-mobile-card.is-expanded .admin-mobile-card-body {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .admin-mobile-card.is-expanded .admin-mobile-form {
    position: static;
  }
  @keyframes admin-mobile-panel-in {
    from {
      clip-path: inset(
        var(--panel-inset-top, 0)
        var(--panel-inset-right, 0)
        var(--panel-inset-bottom, 0)
        var(--panel-inset-left, 0)
        round 24px
      );
    }
    to {
      clip-path: inset(0 0 0 0 round 24px);
    }
  }
  @keyframes admin-mobile-panel-out {
    from {
      clip-path: inset(0 0 0 0 round 24px);
    }
    to {
      clip-path: inset(
        var(--panel-inset-top, 0)
        var(--panel-inset-right, 0)
        var(--panel-inset-bottom, 0)
        var(--panel-inset-left, 0)
        round 24px
      );
    }
  }
  .admin-mobile-card.is-otp-focus {
    gap: 18px;
  }
  .admin-mobile-card.is-otp-focus .admin-otp-code {
    font-size: clamp(54px, 16vw, 76px);
  }
  .admin-mobile-card h2 {
    margin: 0;
    font-size: 20px;
  }
  .admin-mobile-card .meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.35;
  }
  .admin-mobile-card-body {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 2px;
  }
  .admin-mobile-card-body.is-tall {
    max-height: 520px;
  }
  .admin-mobile-card-body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-mobile-card-body.is-mobile-list-preview .admin-mobile-row:nth-of-type(n+3) {
    display: none;
  }
  .admin-mobile-card-body.is-mobile-list-preview {
    max-height: 178px;
    min-height: 150px;
    overflow: hidden;
  }
  .admin-mobile-list-hub {
    min-height: 384px;
    height: 384px;
    overflow: hidden;
    cursor: pointer;
    scroll-margin-top: 12px;
    scroll-margin-bottom: 12px;
    transition:
      height .44s cubic-bezier(.16, 1, .3, 1),
      min-height .44s cubic-bezier(.16, 1, .3, 1);
  }
  .admin-mobile-list-hub.is-list-expanded {
    height: calc(100svh - 24px);
    min-height: calc(100svh - 24px);
    overflow: hidden;
    cursor: default;
  }
  .admin-mobile-list-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    height: 100%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    touch-action: pan-x pan-y;
    cursor: grab;
    overscroll-behavior-x: contain;
  }
  .admin-mobile-list-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
  .admin-mobile-list-carousel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .admin-mobile-list-page {
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    align-content: start;
    overflow: hidden;
  }
  .admin-mobile-list-page h2 {
    position: relative;
    z-index: 120;
    margin: 0;
  }
  .admin-mobile-list-title-button {
    all: unset;
    box-sizing: border-box;
    width: auto;
    min-height: 32px;
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    font: inherit;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .admin-install-page:has(.admin-mobile-list-hub.is-list-expanded) {
    overflow: hidden;
  }
  body.is-mobile-list-open {
    overflow: hidden;
  }
  .admin-mobile-list-title-button:hover,
  .admin-mobile-list-title-button:focus,
  .admin-mobile-list-title-button:focus-visible,
  .admin-mobile-list-title-button:active {
    color: var(--text);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-list-page {
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-account-page {
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-audit-page {
    grid-template-rows: auto auto auto minmax(0, 1fr);
  }
  .admin-mobile-list-hub .admin-mobile-expanded-only {
    display: none;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-expanded-only {
    display: inline-grid;
  }
  #mobileAccountCreateToggle {
    width: 100%;
    min-height: 48px;
    place-items: center;
  }
  .admin-mobile-account-form {
    display: grid;
    gap: 11px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
    pointer-events: none;
    transition:
      max-height .32s cubic-bezier(.16, 1, .3, 1),
      opacity .22s ease,
      padding .32s cubic-bezier(.16, 1, .3, 1);
  }
  .admin-mobile-list-hub.is-account-form-open .admin-mobile-account-form {
    max-height: 460px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    pointer-events: auto;
    overflow: visible;
    position: relative;
    z-index: 20;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-account-list {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-card-body.is-mobile-list-preview .admin-mobile-row {
    display: grid;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-card-body {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .admin-mobile-list-hub.is-list-expanded .admin-mobile-card-body.is-mobile-list-preview {
    min-height: 0;
  }
  .admin-mobile-card.is-expanded .admin-mobile-card-body.is-mobile-list-preview .admin-mobile-row {
    display: grid;
  }
  .admin-mobile-panel-pages {
    display: grid;
    gap: 12px;
  }
  .admin-mobile-panel-page:not(:first-child) {
    display: none;
  }
  .admin-mobile-card.is-expanded .admin-mobile-panel-page:not(:first-child) {
    display: grid;
  }
  .admin-mobile-card.is-expanded .admin-mobile-panel-pages {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 14px;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .admin-mobile-card.is-expanded .admin-mobile-panel-pages::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .admin-mobile-card.is-expanded .admin-mobile-panel-page {
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    gap: 12px;
    align-content: start;
  }
  .admin-mobile-card.is-expanded .admin-mobile-panel-page .admin-mobile-card-body {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .admin-mobile-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .admin-mobile-stat,
  .admin-mobile-row,
  .admin-mobile-form {
    display: grid;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .admin-mobile-stat span,
  .admin-mobile-row span,
  .admin-mobile-form span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }
  .admin-mobile-stat strong,
  .admin-mobile-row strong {
    color: rgba(244,246,250,.96);
    font-size: 17px;
    line-height: 1.12;
  }
  .admin-mobile-row .meta {
    font-size: 12px;
  }
  .admin-mobile-form input {
    width: 100%;
    min-height: 48px;
    color: rgba(244,246,250,.96);
    font: inherit;
    font-weight: 850;
    outline: none;
  }
  .admin-mobile-form input {
    border: 0;
    border-bottom: 1px solid rgba(160,180,202,.28);
    border-radius: 0;
    background: transparent;
  }
  .admin-mobile-role-select {
    position: relative;
    z-index: 80;
  }
  .admin-mobile-role-select .work-select-value {
    min-height: 48px;
    border: 0;
    border-bottom: 1px solid rgba(160,180,202,.28);
    border-radius: 0;
    padding: 0;
    background: var(--card-bg-image) center / cover no-repeat;
  }
  .admin-mobile-role-select .work-select-value input {
    min-height: 46px;
    padding: 0;
    border: 0;
    color: rgba(244,246,250,.96);
    font-weight: 850;
  }
  .admin-mobile-role-select .work-select-value::after {
    right: 16px;
  }
  .admin-mobile-role-select .work-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 90;
  }
  .admin-mobile-role-select .work-select-option {
    min-height: 44px;
    border-radius: 12px;
    padding: 0 12px;
  }
  .admin-mobile-row-actions,
  .admin-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }
  .admin-mobile-row-actions {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  }
  .admin-mobile-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-mobile-card.is-expanded .admin-mobile-actions.is-three {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .admin-mobile-card.is-expanded .admin-mobile-actions.is-three button {
    min-height: 40px;
    width: auto;
    min-width: 92px;
    padding: 10px 14px;
  }
  .admin-mobile-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
  }
  .admin-mobile-alert {
    border-left: 3px solid rgba(87,176,255,.8);
    padding-left: 12px;
  }
  .admin-mobile-alert.is-critical {
    border-left-color: rgba(255,113,113,.92);
  }
  .admin-mobile-alert.is-warning {
    border-left-color: rgba(255,205,111,.92);
  }
  .admin-mobile-log {
    display: grid;
    gap: 10px;
  }
  .admin-mobile-log .admin-mobile-row {
    padding-top: 0;
  }
  .admin-mobile-emergency {
    border-color: rgba(255,113,113,.36);
    background:
      radial-gradient(circle at 15% 0%, rgba(255,113,113,.22), transparent 38%),
      linear-gradient(180deg, rgba(255,113,113,.08), rgba(255,255,255,.012)),
      rgba(17,20,23,.45);
  }
  .admin-mobile-emergency .admin-app-emergency-button {
    min-height: 78px;
  }
}
@media (max-width: 950px) {
  .work-scroll-shell {
    scroll-snap-type: none;
  }
  .work-dashboard-page,
  .work-project-page {
    scroll-snap-align: none;
  }
  .topbar, .main, .hero, .site-hero { grid-template-columns: 1fr; }
  .dashboard-hero, .dashboard-panels { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-form { grid-template-columns: 1fr; }
  .work-dashboard-page { padding: 24px 22px 72px; }
  .work-project-page { padding: 24px 22px 72px; align-items: start; }
  .work-topline { align-items: flex-start; margin-bottom: 38px; }
  .work-logo { width: 220px; }
  .work-dashboard-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-dashboard-grid.is-project-lead,
  .work-dashboard-grid.is-technician {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }
  .work-dashboard-grid.is-project-lead > .work-stat-stack,
  .work-dashboard-grid.is-project-lead > .work-news-card,
  .work-dashboard-grid.is-project-lead > .work-account-card,
  .work-dashboard-grid.is-project-lead > .work-release-card,
  .work-dashboard-grid.is-project-lead > .work-employee-card,
  .work-dashboard-grid.is-project-lead > .work-launch-card,
  .work-dashboard-grid.is-technician > .work-stat-stack,
  .work-dashboard-grid.is-technician > .work-news-card,
  .work-dashboard-grid.is-technician > .work-account-card,
  .work-dashboard-grid.is-technician > .work-release-card,
  .work-dashboard-grid.is-technician > .work-employee-card,
  .work-dashboard-grid.is-technician > .work-launch-card {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
  }
  .work-dashboard-grid.is-project-lead > .work-stat-stack,
  .work-dashboard-grid.is-technician > .work-stat-stack {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(112px, auto));
  }
  .work-project-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; max-height: none; }
  .work-customer-list-card { grid-row: auto; min-height: 360px; height: auto; }
  .work-stat-stack,
  .work-news-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-launch-card,
  .work-technician-focus-card,
  .work-technician-card,
  .work-project-overlay { position: static; width: auto; height: auto; grid-column: 1; grid-row: auto; }
  .work-technician-project-row { grid-template-columns: 1fr; }
  .work-technician-actions { justify-content: flex-start; flex-wrap: wrap; }
  .work-news-card { margin-left: 0; }
  .work-stat-stack { grid-template-rows: none; grid-template-columns: 1fr; }
  .work-employee-body { grid-template-columns: 1fr; }
  .work-account-card .work-panel-grid { grid-template-columns: 1fr; }
  .work-panel-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-command-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .admin-command-card,
  .admin-security-card,
  .admin-status-card,
  .admin-alert-card,
  .admin-log-card,
  .admin-accounts-card,
  .admin-access-card { grid-column: 1; grid-row: auto; min-height: 260px; }
  .admin-security-content { grid-template-columns: 1fr; }
  .admin-emergency-hold { min-height: 96px; }
  .admin-log-filters { grid-template-columns: 1fr; }
  .account-form, .settings-form { grid-template-columns: 1fr; }
  .site-nav img { width: 235px; }
}
@media (max-width: 720px) {
  .work-dashboard-page,
  .work-project-page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .work-topline {
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
  }
  .work-logo {
    width: min(190px, 56vw);
  }
  .work-greeting h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .work-greeting p {
    font-size: 17px;
  }
  .work-dashboard-grid.is-project-lead,
  .work-dashboard-grid.is-technician {
    gap: 14px;
  }
  .work-dashboard-grid.is-project-lead > .work-stat-stack,
  .work-dashboard-grid.is-technician > .work-stat-stack {
    gap: 14px;
  }
  .work-dashboard-grid.is-project-lead > :is(
    .work-news-card,
    .work-account-card,
    .work-release-card,
    .work-employee-card,
    .work-launch-card
  ),
  .work-dashboard-grid.is-technician > :is(
    .work-news-card,
    .work-account-card,
    .work-release-card,
    .work-employee-card,
    .work-launch-card
  ) {
    margin-left: 0;
  }
  .work-dashboard-grid.is-project-lead > :is(
    .work-news-card,
    .work-account-card,
    .work-release-card,
    .work-launch-card
  ).is-expanded:not(.admin-animation-card):not(.admin-animation-content-ghost),
  .work-dashboard-grid.is-technician > :is(
    .work-news-card,
    .work-account-card,
    .work-release-card,
    .work-launch-card
  ).is-expanded:not(.admin-animation-card):not(.admin-animation-content-ghost),
  .work-dashboard-grid.is-project-lead > .work-employee-card.is-expanded:not(.employee-direct-motion),
  .work-dashboard-grid.is-technician > .work-employee-card.is-expanded:not(.employee-direct-motion) {
    position: fixed;
    inset: 12px;
    z-index: 80;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    grid-column: auto;
    grid-row: auto;
  }
  .work-news-card.is-expanded .work-news-columns {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(168px, auto);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
  }
  .work-release-card.is-expanded .work-release-layout,
  .work-release-card.is-expanded .work-release-panel-head,
  .work-employee-card.is-expanded .work-employee-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-release-card.is-expanded .work-release-layout {
    height: auto;
  }
  .work-release-card.is-expanded .work-release-panel {
    min-height: 260px;
  }
  .work-employee-card.is-expanded .work-employee-search {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }
  .work-employee-card.is-expanded #employeeList {
    max-height: none;
  }
  body.admin-mobile {
    min-height: 100svh;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.admin-mobile .admin-shell {
    width: 100%;
    max-width: none;
    padding: max(16px, env(safe-area-inset-top)) 14px 22px;
  }
  body.admin-mobile .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: -2px -2px 14px;
    padding: 12px 2px 10px;
    backdrop-filter: blur(18px);
  }
  body.admin-mobile .admin-topbar h1 {
    font-size: 25px;
    line-height: 1.05;
  }
  body.admin-mobile .admin-topbar .subtitle {
    max-width: 210px;
    font-size: 12px;
    line-height: 1.25;
  }
  body.admin-mobile .admin-account {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body.admin-mobile .admin-account-name {
    display: none;
  }
  body.admin-mobile .admin-account-menu {
    right: 0;
    left: auto;
    min-width: 152px;
  }
  body.admin-mobile .admin-install-head .admin-account {
    display: grid;
    min-width: 0;
    gap: 0;
  }
  body.admin-mobile .admin-install-head .admin-account-name {
    display: none;
  }
  body.admin-mobile .admin-install-head .admin-account-name .name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.admin-mobile .admin-install-head .admin-account-menu {
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    min-width: 184px;
    gap: 8px;
    padding: 9px;
    border-radius: 20px;
  }
  body.admin-mobile .admin-install-head .admin-account-menu a {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 13px;
  }
  body.admin-mobile .admin-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 42vw);
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -14px 14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  body.admin-mobile .admin-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  body.admin-mobile .admin-metric-card {
    min-width: 0;
    min-height: 108px;
    height: 108px;
    scroll-snap-align: start;
    padding: 18px;
  }
  body.admin-mobile .metric > .admin-metric-compact > strong {
    font-size: 30px;
  }
  body.admin-mobile .metric > .admin-metric-compact > span {
    font-size: 13px;
  }
  body.admin-mobile .admin-command-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
    min-height: 0;
  }
  body.admin-mobile .admin-command-card,
  body.admin-mobile .admin-security-card,
  body.admin-mobile .admin-status-card,
  body.admin-mobile .admin-alert-card,
  body.admin-mobile .admin-log-card,
  body.admin-mobile .admin-accounts-card {
    grid-column: 1;
    grid-row: auto;
    min-height: 188px;
    height: auto;
    padding: 18px;
  }
  body.admin-mobile .admin-shell-v2 .admin-access-card {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    min-height: 188px;
    height: auto;
    padding: 18px;
  }
  body.admin-mobile .admin-log-card,
  body.admin-mobile .admin-accounts-card {
    min-height: 222px;
  }
  body.admin-mobile .admin-card-head h2,
  body.admin-mobile .admin-command-card h2 {
    font-size: 20px;
  }
  body.admin-mobile .admin-card-head .meta,
  body.admin-mobile .admin-command-card .meta {
    font-size: 13px;
    line-height: 1.35;
  }
  body.admin-mobile .admin-command-grid.has-expanded {
    min-height: 0;
  }
  body.admin-mobile .admin-command-card.is-expanded,
  body.admin-mobile .admin-command-card.is-closing,
  body.admin-mobile .admin-command-grid.security-expanded #securityCard.is-expanded,
  body.admin-mobile .admin-command-grid.security-expanded #securityCard.is-closing,
  body.admin-mobile .admin-shell-v2 .admin-command-grid.security-expanded #securityCard.is-expanded,
  body.admin-mobile .admin-command-grid.status-expanded #statusCard.is-expanded,
  body.admin-mobile #statusCard.is-closing,
  body.admin-mobile .admin-metric-card.is-expanded,
  body.admin-mobile .admin-metric-card.is-closing {
    position: fixed;
    inset: max(12px, env(safe-area-inset-top)) 12px calc(78px + env(safe-area-inset-bottom)) 12px;
    z-index: 90;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    /* Der sichtbare Overlay-Pfad animiert bereits die komplette Geometrie.
       Eine zweite Keyframe-Bewegung der unsichtbaren Zielkarte wuerde ihre
       Messposition waehrend des ersten Frames verschieben. */
    animation: none;
  }
  body.admin-mobile .admin-command-card.is-closing,
  body.admin-mobile .admin-metric-card.is-closing {
    pointer-events: none;
    animation: none;
  }
  body.admin-mobile .admin-command-grid.has-expanded .admin-command-card:not(.is-expanded):not(.is-closing),
  body.admin-mobile .admin-grid.has-expanded .admin-metric-card:not(.is-expanded):not(.is-closing) {
    opacity: 1;
    pointer-events: none;
    transform: none;
  }
  body.admin-mobile .admin-metric-card.is-expanded .admin-metric-expanded,
  body.admin-mobile .admin-metric-card.is-closing .admin-metric-expanded {
    min-height: 0;
  }
  body.admin-mobile .admin-metric-list,
  body.admin-mobile .admin-log-list,
  body.admin-mobile .admin-account-list,
  body.admin-mobile .admin-alert-list,
  body.admin-mobile .admin-detail-scroll {
    max-height: none;
    overflow: visible;
  }
  body.admin-mobile .admin-security-content,
  body.admin-mobile .admin-status-card.is-expanded .admin-status-detail-grid,
  body.admin-mobile .admin-status-detail-grid,
  body.admin-mobile .admin-account-create,
  body.admin-mobile .admin-log-filters {
    grid-template-columns: 1fr;
  }
  body.admin-mobile .admin-security-grid,
  body.admin-mobile .admin-status-grid,
  body.admin-mobile .admin-mini-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.admin-mobile .admin-emergency-hold {
    min-height: 92px;
  }
  body.admin-mobile .audit-row,
  body.admin-mobile .account,
  body.admin-mobile .device {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.admin-mobile .admin-mobile-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: var(--card-bg-image) center / cover no-repeat;
    box-shadow: 0 18px 46px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
  }
  body.admin-mobile .admin-mobile-nav button {
    min-height: 44px;
    padding: 0 4px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.1;
    box-shadow: none;
  }
}
@keyframes adminMobileSheetIn {
  from { opacity: .98; transform: scale(.985) translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes adminMobileSheetOut {
  from { opacity: 1; transform: none; }
  to { opacity: .98; transform: scale(.985) translateY(12px); }
}
/* Dashboard-Listen-Handoff: waehrend die Kartenbox fliegt, bleibt echter
   Listeninhalt unsichtbar; nach dem Handoff fliegt er sauber von unten ein. */
.work-news-card.is-opening .work-news-empty,
.work-news-card.is-opening .work-news-list,
.work-news-card.is-opening .work-news-columns,
.work-news-card.is-opening .work-news-column-list,
.work-news-card.is-closing .work-news-empty,
.work-news-card.is-closing .work-news-list,
.work-news-card.is-closing .work-news-columns,
.work-news-card.is-closing .work-news-column-list,
.work-employee-card.is-opening #employeeList,
.work-employee-card.is-closing #employeeList {
  visibility: hidden !important;
}
.work-news-card.is-list-revealing .work-news-columns,
.work-news-card.is-list-revealing .work-news-column-list,
.work-news-card.is-compact-news-revealing .work-news-empty,
.work-news-card.is-compact-news-revealing .work-news-list,
.work-employee-card.is-list-revealing #employeeList {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
/* Boxbild-Referenz: sichtbare Karten nutzen ausschliesslich das Python-Boxbild.
   Keine CSS-Lichtlayer auf Kartenflaechen, damit keine Riffel oder Kanten entstehen. */
.card.work-glass:not(.admin-animation-card):not(.admin-animation-content-ghost),
.work-news-message,
.work-customer-preview-row,
.work-customer-full-row,
.work-customer-project-row.is-search-result,
.work-release-employee-row,
.work-release-project-row,
.work-project-list-panel,
.work-project-row,
.work-project-detail-row,
.work-place-result-row,
.work-finished-project-row,
.work-print-area-row,
.work-attachment-row,
.work-attachment-display-row,
.work-document-row,
.work-info-row,
.work-detail-row,
.sem-glass-card,
.sem-dropdown-menu,
.site-panel,
.site-feature,
.language-switcher,
.admin-account-menu,
.work-feedback-dialog,
.work-project-inner-overlay,
.work-attachment-dialog-card,
.work-pdf-modal-card,
.work-status-menu,
.work-select-menu,
.work-project-page .work-select-menu,
.work-project-page .work-search-select .work-place-result-list,
.admin-app-card,
.work-glass:is(
  .work-action-card,
  .work-stat-card,
  .work-news-card,
  .work-account-card,
  .work-release-card,
  .work-employee-card,
  .work-launch-card,
  .work-customer-list-card,
  .work-project-action-tile,
  .work-project-overlay,
  .admin-metric-card,
  .admin-command-card,
  .admin-extension-card,
  .admin-access-card,
  .admin-app-card,
  .admin-mobile-card,
  .admin-mobile-metric-tile
):not(.admin-animation-card):not(.admin-animation-content-ghost) {
  background: var(--card-bg-image) center / cover no-repeat !important;
}
/* Auftraggeberliste: die rechte Suche ist kein eigener Kasten.
   Das Bild liegt nur auf der grossen Karte, nicht auf dem Suchpanel oder Input. */
.work-customer-list-card .work-project-list-panel,
.work-customer-list-card .work-project-list-panel > .work-edit-line,
.work-customer-list-card .work-project-list-panel > .work-edit-line .work-field-body,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line .work-field-body,
.admin-animation-content-ghost.work-customer-list-card .admin-animation-expanded .work-project-list-panel,
.admin-animation-content-ghost.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line,
.admin-animation-content-ghost.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line .work-field-body {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.work-customer-list-card .work-project-list-panel > .work-edit-line,
.admin-animation-card.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line,
.admin-animation-content-ghost.work-customer-list-card .admin-animation-expanded .work-project-list-panel > .work-edit-line {
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid rgba(119,168,216,.24) !important;
  border-radius: 0 !important;
}
/* Projektabschluss: Das linke Listenpanel ist nur ein unsichtbarer
   Geometriecontainer. Das durchgehende Boxbild liegt ausschliesslich auf der
   grossen Abschlusskarte und bleibt dadurch ohne sichtbare Farbnaht. */
#closeProjectCard .work-project-list-panel,
.admin-animation-card.work-project-action-tile.is-close-project-entering .work-project-list-panel,
.admin-animation-content-ghost.work-project-action-tile.is-close-project-entering .work-project-list-panel {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
