#lireno-workspace-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(6px);
}

#lireno-workspace-lock-overlay.visible {
  display: grid;
}

.lireno-ws-lock-card {
  max-width: 420px;
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lireno-ws-lock-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.lireno-ws-lock-msg {
  margin: 0 0 10px;
  line-height: 1.45;
}

.lireno-ws-lock-hint {
  margin: 0 0 14px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.lireno-ws-lock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.lireno-ws-lock-ack {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

.lireno-ws-lock-ack:hover {
  background: #1e293b;
}

.lireno-ws-lock-retry {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
}

.lireno-ws-lock-retry:hover {
  background: #f1f5f9;
}

html.lireno-ws-locked .ld-shell,
html.lireno-ws-locked #app {
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.2);
}

/* Kein Aufblitzen der Web-Oberfläche während Prüfung oder Sperr-Dialog */
html.lireno-ws-pending-lock .tbml-wrap,
html.lireno-ws-pending-lock .ld-root,
html.lireno-ws-pending-lock #ld-root,
html.lireno-ws-blocked-ui .tbml-wrap,
html.lireno-ws-blocked-ui .ld-root,
html.lireno-ws-blocked-ui #ld-root {
  display: none !important;
}

html.lireno-ws-pending-lock #lireno-workspace-lock-overlay.visible,
html.lireno-ws-blocked-ui #lireno-workspace-lock-overlay.visible {
  display: grid !important;
}
