.desk-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  perspective: 1600px;
}

.desk-shell {
  position: fixed;
  top: 6.35rem;
  right: 2.2rem;
  left: max(46.5vw, 32rem);
  bottom: 6.05rem;
  transform-style: preserve-3d;
  transform-origin: 100% 48%;
  opacity: 0;
}

.desk {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(22, 34, 42, 0.97) 0%, rgba(9, 16, 21, 0.98) 100%);
  border: 1px solid rgba(139, 191, 207, 0.34);
  border-radius: 22px;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(8, 16, 22, 0.9) inset,
    0 0 70px rgba(77, 141, 161, 0.1);
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
  color: #eef7f9;
}

.desk::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 42%, rgba(139, 191, 207, 0.07) 50%, transparent 58%);
  background-size: 220% 100%;
  animation: desk-sheen 10s ease-in-out infinite;
}

.desk-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  background: rgba(8, 14, 20, 0.94);
  border-bottom: 1px solid rgba(139, 191, 207, 0.1);
  flex-shrink: 0;
}

.desk-wordmark {
  display: block;
  height: 1.05rem;
  width: auto;
  max-width: 7.4rem;
  object-fit: contain;
  filter: none;
}

.desk-steps {
  display: flex;
  gap: 5px;
  padding: 10px 14px 0;
  flex-shrink: 0;
  position: relative;
}

.desk-steps__beam {
  position: absolute;
  top: 10px;
  left: 0;
  height: calc(100% - 10px);
  width: 16%;
  border-radius: 999px;
  background: rgba(139, 191, 207, 0.2);
  box-shadow: 0 0 22px rgba(139, 191, 207, 0.18);
  pointer-events: none;
  z-index: 0;
}

.desk-steps span {
  flex: 1;
  text-align: center;
  padding: 9px 4px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c5d6dd;
  background: rgba(16, 32, 40, 0.55);
  border: 1px solid rgba(139, 191, 207, 0.12);
  opacity: 1;
  filter: none;
  position: relative;
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center center;
  transition: color 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.desk-steps span.on {
  color: #f4fbfd;
  background: rgba(107, 163, 181, 0.38);
  border-color: rgba(139, 191, 207, 0.42);
  box-shadow: 0 0 0 1px rgba(139, 191, 207, 0.16);
}

.desk-body {
  flex: 1;
  min-height: 0;
  position: relative;
}

.desk-panel {
  position: absolute;
  inset: 0;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.desk-panel.on {
  opacity: 1;
  visibility: visible;
}

.desk-call {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.party {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(16, 32, 40, 0.78);
  border: 1px solid rgba(139, 191, 207, 0.12);
  min-height: 78px;
}

.party.talk {
  border-color: rgba(139, 191, 207, 0.62);
  box-shadow: 0 0 0 1px rgba(107, 163, 181, 0.2);
}

.party b { display: block; font-size: 16px; }
.party .status {
  font-size: 13px;
  color: #6d8a94;
  font-weight: 600;
}
.party.talk .status { color: #8bbfcf; }

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avatar.caller {
  background:
    radial-gradient(circle at 35% 30%, #8bbfcf 0%, transparent 36%),
    linear-gradient(160deg, #4d8da1, #1a3038);
}

.avatar.lomeva {
  background: #0d181e;
  object-fit: contain;
  padding: 8px;
  filter: invert(1) sepia(0.35) saturate(2.2) hue-rotate(155deg) brightness(1.05);
}

.desk-wave {
  width: 120px;
  height: 48px;
  display: block;
  justify-self: center;
}

.transcript {
  flex: 1;
  min-height: 0;
  padding: 14px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(6, 12, 16, 0.82);
  border: 1px solid rgba(139, 191, 207, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.transcript-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.talk {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11.4rem;
  gap: 12px;
}

.capture {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(8, 16, 22, 0.78);
  border: 1px solid rgba(139, 191, 207, 0.12);
}

.cap {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(16, 32, 40, 0.72);
  border: 1px solid transparent;
}

.cap.on {
  border-color: rgba(139, 191, 207, 0.35);
  background: rgba(77, 141, 161, 0.18);
}

.cap span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
  margin-bottom: 3px;
}

.cap b {
  font-size: 13.5px;
  font-weight: 650;
  color: #eef7f9;
  line-height: 1.3;
}

.sys-chip {
  align-self: center;
  margin: 4px 0;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  color: #d7e8ee;
  background: rgba(107, 163, 181, 0.22);
  border: 1px solid rgba(139, 191, 207, 0.28);
  flex-shrink: 0;
}

.bubble {
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 15.5px;
  line-height: 1.45;
  color: #e7f4f8;
  flex-shrink: 0;
}

.bubble small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 700;
}

.bubble.caller {
  align-self: flex-start;
  background: #173038;
  border-bottom-left-radius: 5px;
}
.bubble.caller small { color: #8bbfcf; }

.bubble.lomeva {
  align-self: flex-end;
  background: #2a4f5c;
  border-bottom-right-radius: 5px;
}
.bubble.lomeva small { color: #d4eef4; }

.ring-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.call-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 34rem;
}

.call-node {
  min-width: 7.5rem;
  text-align: center;
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(16, 32, 40, 0.82);
  border: 1px solid rgba(139, 191, 207, 0.14);
}

.call-node b { display: block; font-size: 16px; }
.call-node span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8aa3ad;
}

.call-node.on {
  border-color: rgba(139, 191, 207, 0.55);
  box-shadow: 0 0 24px rgba(107, 163, 181, 0.18);
}

.call-line {
  height: 2px;
  flex: 1;
  max-width: 5rem;
  background: linear-gradient(90deg, #4d8da1, #8bbfcf);
  position: relative;
}

.call-line::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #8bbfcf;
  box-shadow: 0 0 12px #8bbfcf;
}

.ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 3px solid rgba(139, 191, 207, 0.22);
  display: grid;
  place-items: center;
  position: relative;
}

.ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(107, 163, 181, 0.35);
  animation: desk-pulse 1.6s ease-out infinite;
}

.ring b {
  font-size: 17px;
  font-weight: 700;
}

.ring-box > p {
  color: #c5dbe3;
  font-size: 16.5px;
  text-align: center;
  max-width: 32rem;
  line-height: 1.45;
}

@keyframes desk-pulse {
  0% { opacity: 0.7; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes desk-sheen {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .desk::after { animation: none; }
}

.data-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.data-row, .sys-card, .praxis-box, .cal-card, .list-card {
  background: rgba(16, 32, 40, 0.84);
  border: 1px solid rgba(139, 191, 207, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
}

.data-row span, .sys-card > span, .eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
  margin-bottom: 6px;
}

.data-row b, .sys-card b, .praxis-box b {
  font-size: 20px;
  font-weight: 650;
  color: #f7fcfe;
}

.sys-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.sys-grid--cal { grid-template-columns: 1.2fr 0.9fr; }

.sys-sheet {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgba(12, 24, 30, 0.72);
  border: 1px solid rgba(139, 191, 207, 0.16);
}

.sys-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sys-sheet__head b {
  display: block;
  font-size: 1.15rem;
  color: #f7fcfe;
}

.sys-sheet__head em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
}

.sys-sheet__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(139, 191, 207, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.sys-sheet__fields > div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(139, 191, 207, 0.08);
  background: rgba(8, 16, 22, 0.45);
}

.sys-sheet__fields > div:nth-child(odd) { border-right: 1px solid rgba(139, 191, 207, 0.08); }
.sys-sheet__fields > div:nth-last-child(-n+2) { border-bottom: 0; }

.sys-sheet__fields dt {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
  align-self: center;
}

.sys-sheet__fields dd {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #eef7f9;
}

.check-run {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.check-run li {
  display: grid;
  grid-template-columns: 1.15rem 8.5rem 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(139, 191, 207, 0.14);
  background: rgba(8, 16, 22, 0.55);
}

.check-run li i {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #8bbfcf;
  justify-self: center;
}

.check-run li span {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
}

.check-run li b { font-size: 14.5px; color: #eef7f9; font-weight: 650; }
.check-run li.ok { border-color: rgba(139, 191, 207, 0.32); }
.check-run li.next {
  border-color: rgba(139, 191, 207, 0.5);
  background: rgba(77, 141, 161, 0.2);
}
.check-run li.next i {
  background: transparent;
  border: 1.5px solid #8bbfcf;
  animation: desk-pulse 1.4s ease-out infinite;
}

.proto {
  margin: 10px 0 0;
  padding-left: 1.15rem;
  color: #d7e8ee;
  font-size: 14.5px;
  line-height: 1.55;
}

.proto li { margin: 0.2rem 0; }

.proto--log {
  list-style: none;
  padding-left: 0;
}

.proto--log li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px;
  align-items: baseline;
  margin: 0.35rem 0;
  font-variant-numeric: tabular-nums;
}

.proto--log time {
  color: #8bbfcf;
  font-size: 12px;
  font-weight: 700;
}

.app-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.app-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(8, 16, 22, 0.62);
  border: 1px solid rgba(139, 191, 207, 0.14);
}

.app-list li span {
  font-weight: 700;
  color: #eef7f9;
  font-size: 14px;
}

.app-list li em {
  font-style: normal;
  color: #8bbfcf;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.app-list li b {
  font-size: 12px;
  color: #b7cdd5;
  font-weight: 650;
  white-space: nowrap;
}

.desk-hot {
  box-shadow: 0 0 0 1px rgba(139, 191, 207, 0.42), 0 0 30px rgba(107, 163, 181, 0.24);
}

.cal-slots--hours {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.cal-slots--hours .slot {
  min-height: 0;
}

.cal-slots--hours .slot em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  color: #6d8a94;
}

.cal-card, .list-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cal-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 10px 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f9aa5;
  text-align: center;
}

.cal-head .today { color: #eef7f9; font-weight: 700; }

.cal-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  flex: 1;
}

.slot {
  min-height: 92px;
  border-radius: 10px;
  background: rgba(8, 16, 22, 0.7);
  border: 1px dashed rgba(139, 191, 207, 0.12);
}

.slot.busy {
  border-style: solid;
  border-color: rgba(139, 191, 207, 0.16);
  background: rgba(16, 32, 40, 0.88);
  padding: 8px;
}

.slot.busy b {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #8aa3ad;
  font-weight: 650;
}

.slot.event {
  border: 1px solid rgba(139, 191, 207, 0.4);
  background: rgba(77, 141, 161, 0.28);
  padding: 10px 8px;
}

.slot.event b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.slot.event em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #d4eef4;
}

.list-empty {
  margin-top: 10px;
  color: #c5dbe3;
  font-size: 15px;
  line-height: 1.45;
}

.praxis-box p, .sys-card p {
  margin-top: 8px;
  color: #c5dbe3;
  font-size: 15.5px;
  line-height: 1.45;
}

.inbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.badge {
  flex-shrink: 0;
  margin-top: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1318;
  background: #8bbfcf;
}

.desk-note {
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(107, 163, 181, 0.14);
  color: #d7e8ee;
  font-size: 15.5px;
  line-height: 1.45;
}

.desk-incoming {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8bbfcf;
  font-weight: 700;
}

.tut-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #8bbfcf;
  font-size: 15px;
  font-weight: 650;
}

.tut-search b {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #8bbfcf;
  animation: desk-pulse 1.4s ease-out infinite;
}

/* In der Website-Bay: gleiches Fenster, nicht fullscreen-fixiert */
.lomeva-tut .desk-layer {
  position: relative;
  inset: auto;
  width: 100%;
  height: min(82vh, 860px);
  min-height: 34rem;
  z-index: 2;
  pointer-events: none;
}

.lomeva-tut .desk-shell {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.lomeva-tut .desk {
  pointer-events: none;
}

.lomeva-tut .desk-steps span {
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .lomeva-tut .desk-layer {
    height: 68vh;
    min-height: 24rem;
  }
  .lomeva-tut .desk-shell {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
  }
  .desk-shell {
    left: 1.1rem;
    right: 1.1rem;
    top: auto;
    height: 40vh;
    bottom: 4.7rem;
  }
  .desk-steps span { font-size: 9px; padding: 6px 3px; }
  .bubble { font-size: 13.5px; }
  .talk { grid-template-columns: 1fr; }
  .capture { display: none; }
  .data-list, .sys-grid { grid-template-columns: 1fr; }
  .desk-call { grid-template-columns: 1fr 80px 1fr; }
  .data-row b, .sys-card b, .praxis-box b { font-size: 16px; }
  .sys-sheet__fields { grid-template-columns: 1fr; }
  .sys-sheet__fields > div:nth-child(odd) { border-right: 0; }
  .sys-sheet__fields > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(139, 191, 207, 0.08); }
  .sys-sheet__fields > div:last-child { border-bottom: 0; }
  .check-run li { grid-template-columns: 1.15rem 1fr; }
  .check-run li span,
  .check-run li b { grid-column: 2; }
}

