/* vip-bruecke.css – Tikki VIP im Vorzimmer-Design der Vorlage („Tikki Vorzimmer-Design“, 14.11.2026).
   Das Aussehen kommt ganz aus vip-gpt/vorzimmer.css. Hier steht nur, was unsere Funktionsteile dazu brauchen:
   die unsichtbare Bühne (sie trägt nur noch die Fenster in der Mitte), Gespräch, Status, Login und „Was Tikki kann“. */

/* stil.css legt den Körper als dunkle, zentrierte Bühne an – für die Vorlage zurück auf normal. */
html, body { height: auto; min-height: 100%; overflow: auto; background: #efe6d6; }
body { display: block; place-items: initial; font-family: inherit; }

/* Die alte Bühne: über allem, aber durchsichtig und ohne Klickflächen; zu sehen sind nur die Fenster in der Mitte. */
#buehne.buehne { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important;
  max-width: none !important; max-height: none !important; aspect-ratio: auto !important; margin: 0 !important;
  background: none !important; pointer-events: none; z-index: 60; overflow: visible; transform: none !important; }
#buehne > * { display: none !important; }   /* auch der Schleier: kein Fenster über dem Zimmer (Thorsten, 14.11.) */

/* Gespräch: unsere Nachrichten im eingelassenen Feld der Vorlage, ohne eigene Karte. */
.tikki-foyer-messages > #blasen-klein { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important;
  overflow-y: auto; background: none; border: 0; box-shadow: none; padding: 0; }
#blasen-klein .blase { font-size: 14px; line-height: 1.45; }
.tikki-foyer-chat .status.tikki-personal-greeting { position: static !important; inset: auto !important; width: auto !important; height: auto !important;
  margin: 0; cursor: default; }
.tikki-foyer-chat footer #vip-senden.stopp { background: #6b4a2d; color: #fff6e8; }

/* Login/Logout oben rechts in der Kopfleiste: ein Wort, darunter bei Bedarf die eine Eingabezeile. */
.vip-einlass-platz { position: relative; display: inline-flex; align-items: center; }
.vip-einlass-platz > .einlass { position: static !important; inset: auto !important; width: auto !important; height: auto !important; --e: 0.8px; }
.vip-einlass-platz .einlass-kopf { gap: 12px; }
.vip-einlass-platz .einlass-wort { font-size: 13px; letter-spacing: .14em; color: #5b3f24; text-shadow: 0 1px 0 rgba(255, 252, 244, .9);
  padding: 6px 12px; border: 1px solid rgba(160, 120, 70, .45); border-radius: 8px; background: linear-gradient(#fffaf0, #f2e3c8); }
.vip-einlass-platz .einlass-wort:hover, .vip-einlass-platz .einlass-wort:focus-visible { color: #2f2012; }
.vip-einlass-platz .einlass-form, .vip-einlass-platz .einlass-sagt { position: absolute; right: 0; z-index: 80; }
.vip-einlass-platz .einlass-form { top: calc(100% + 10px); }
.vip-einlass-platz .einlass-sagt { top: calc(100% + 70px); width: 300px; color: #5b3f24; text-shadow: none; font-size: 13px; }
.vip-einlass-platz .praege-zeile { width: 320px; height: 44px; background: linear-gradient(#f8efdf, #efe0c4);
  box-shadow: inset 0 2px 5px rgba(90, 60, 30, .35), 0 1px 0 rgba(255, 255, 255, .8); border: 1px solid rgba(160, 120, 70, .4); }
.vip-einlass-platz .praege-zeile input.dran { color: #3a2814; font-size: 15px; caret-color: #8a5a22; }
.vip-einlass-platz .praege-zeile input::placeholder { color: rgba(90, 63, 36, .55); }
.vip-einlass-platz .einlass-agb { color: #3a2814; font-size: 13px; }
.vip-einlass-platz #einlass-weiter { color: #5b3f24; font-size: 22px; padding: 0 8px; }
.vip-name { font-size: 13px; color: #6b5034; margin-right: 6px; }
.vip-name:empty { display: none; }

/* „Was Tikki kann“ in der Kopfleiste. */
.tikki-app-tools { display: flex; align-items: center; gap: 10px; }
.tikki-app-tools .kann-menue { position: relative !important; inset: auto !important; width: auto !important; height: auto !important; --e: 0.8px; }

/* Laufschrift unten: Schlagzeilen ziehen langsam vorbei, beim Überfahren steht sie. */
#vip-ticker { overflow: hidden; white-space: nowrap; display: block; min-width: 0; flex: 1; }
#vip-ticker .vip-zug { display: inline-block; }
#vip-ticker .vip-zug.laeuft { padding-left: 100%; animation: vip-lauf linear infinite; }
#vip-ticker:hover .vip-zug { animation-play-state: paused; }
#vip-ticker .q { font-variant: small-caps; letter-spacing: .06em; opacity: .7; margin-right: .5em; }
#vip-ticker .p { margin: 0 1.2em; opacity: .5; }
#vip-ticker a { color: inherit; text-decoration: none; }
#vip-ticker a:hover { text-decoration: underline; }
@keyframes vip-lauf { to { transform: translateX(-100%); } }

/* Inhalte (Briefing, Daueraufträge, Termine …) in der eingelassenen, durchscheinenden Wandfläche der Vorlage. */
main[data-agenda-wall] > #fenster { --e: 0.85px; max-width: none; max-height: none; color: #3a2a1e; }
main[data-agenda-wall] > #fenster.breit { width: calc(var(--agenda-detail-width) * 1.55) !important; }
main[data-agenda-wall] > #fenster > header { padding: 0 0 10px; margin: 0; border: 0; align-items: flex-start; gap: 8px; }
main[data-agenda-wall] > #fenster h1 { font: 500 22px/1.15 Georgia, serif; letter-spacing: 0; text-transform: none; color: #49331d; }
main[data-agenda-wall] > #fenster header p { font-size: 12px; color: #6b5034; }
main[data-agenda-wall] > #fenster #fenster-zu { width: 32px; height: 32px; min-width: 32px; border: 0; border-radius: 6px; font-size: 16px; color: #5b3f24; background: none; }
main[data-agenda-wall] > #fenster #fenster-zu:hover { color: #2f2012; text-shadow: 0 0 6px #fff5bd; }
main[data-agenda-wall] > #fenster > .inhalt { padding: 0; }
main[data-agenda-wall] > #fenster .reiter { flex-wrap: wrap; overflow: visible; row-gap: 6px; }

/* Knöpfe im Gespräch (z. B. „Ja, habe ich" / „Nein – wo gibt es einen kostenlos?") als Knöpfe im Stil der Vorlage. */
#blasen-klein .knopf, main[data-agenda-wall] > #fenster .knopf { display: inline-block; padding: 5px 12px; border: 1px solid rgba(160, 120, 70, .5); border-radius: 8px;
  background: linear-gradient(#fffaf0, #f2e3c8); color: #3a2814; font: 600 13px/1.3 "Avenir Next", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
#blasen-klein .knopf.haupt, main[data-agenda-wall] > #fenster .knopf.haupt { background: linear-gradient(#80603d, #6b4a2d); color: #fff6e8; border-color: #5b3f24; }
#blasen-klein .knopf:hover, main[data-agenda-wall] > #fenster .knopf:hover { filter: brightness(1.05); }
/* Die Vorlage setzt Knöpfe im Gespräch mit !important flach – unsere Antwort-Knöpfe sollen als Knöpfe erkennbar bleiben. */
html body #root main[data-agenda-wall] #tikki-foyer-conversation #blasen-klein .knopf, html body #root main[data-agenda-wall] > #fenster .knopf {
  display: inline-block !important; padding: 5px 12px !important; border: 1px solid rgba(160, 120, 70, .5) !important; border-radius: 8px !important;
  background: linear-gradient(#fffaf0, #f2e3c8) !important; color: #3a2814 !important; text-shadow: none !important; }
html body #root main[data-agenda-wall] #tikki-foyer-conversation #blasen-klein .knopf.haupt, html body #root main[data-agenda-wall] > #fenster .knopf.haupt {
  background: linear-gradient(#80603d, #6b4a2d) !important; color: #fff6e8 !important; border-color: #5b3f24 !important; }

/* Hermes-Output im Gesprächsfeld: Schalter neben „Senden“, die Ausgabe im eingelassenen Feld (Bausteine von „Tikki bei der Arbeit“). */
html body #root .tikki-foyer-chat footer .vip-live-schalter { appearance: none; cursor: pointer; margin-left: 6px; padding: 5px 10px; border-radius: 6px;
  border: 1px solid rgba(160, 120, 70, .5); background: linear-gradient(#fffaf0, #f2e3c8); color: #3a2814; font: 600 12px/1.2 "Avenir Next", system-ui, sans-serif; }
html body #root .tikki-foyer-chat footer .vip-live-schalter[aria-pressed="true"] { background: linear-gradient(#80603d, #6b4a2d); color: #fff6e8; border-color: #5b3f24; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output:not([hidden]) { display: block !important; visibility: visible !important; position: relative !important;
  inset: auto !important; transform: none !important; flex: 1 1 auto; min-height: 120px; max-height: 100%; overflow: auto; padding: 6px 4px; font-size: 12.5px; line-height: 1.45; color: #3a2814;
  --e: 0.85px; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output .arbeit-frage { font-weight: 600; margin: 10px 0 4px; color: #49331d; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output .rf-kopf { font-weight: 600; color: #7a5c35; margin: 6px 0 2px; font-size: 11.5px; letter-spacing: .04em; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output .karte { border: 1px solid #a97f453f; border-radius: 8px; padding: 6px 8px; margin: 6px 0; background: #fff6e44d; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output pre, html body #root #tikki-foyer-conversation > .tikki-world-original-output .langtext {
  white-space: pre-wrap; overflow-wrap: anywhere; font: 11.5px/1.45 ui-monospace, "SF Mono", Menlo, monospace; margin: 2px 0; color: #3a2814; }
html body #root #tikki-foyer-conversation > .tikki-world-original-output .vip-live-leer { color: #6b5034; margin: 10px 2px; }

/* Das Gespräch (Thorsten, 14.11.): durchsichtig auf das Design, nur ein Rahmen drumherum; darin der ganze Dialog. */
html body #root main[data-agenda-wall] > #tikki-foyer-conversation {
  border: 1.5px solid rgba(176, 136, 72, .75) !important; border-radius: 14px !important; background: rgba(255, 250, 240, .16) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 220, .55), inset 0 2px 6px rgba(120, 90, 40, .12), 0 1px 0 rgba(255, 240, 210, .6) !important; }
html body #root #tikki-foyer-conversation .tikki-foyer-messages { overflow: hidden; }
html body #root #tikki-foyer-conversation #blasen-klein { overflow-y: auto !important; padding: 2px 4px 6px !important; scrollbar-width: thin; scrollbar-color: #ab824666 transparent; }
html body #root #tikki-foyer-conversation #blasen-klein .blase { display: block; width: fit-content; max-width: 92%; margin: 6px 0; padding: 6px 10px;
  background: rgba(255, 252, 245, .55) !important; border: 1px solid rgba(196, 160, 96, .38); border-radius: 11px; box-shadow: none;
  color: #3a2814 !important; font: 13.5px/1.45 "Avenir Next", system-ui, sans-serif; text-shadow: none; }
html body #root #tikki-foyer-conversation #blasen-klein .blase.ich { margin-left: auto; background: rgba(214, 180, 120, .32) !important; border-color: rgba(176, 136, 72, .45); }
html body #root #tikki-foyer-conversation #blasen-klein .blase p { margin: .3em 0; }
/* Tikki-Output „An“: die Zwischenschritte, leiser als Frage und Antwort */
html body #root #tikki-foyer-conversation #blasen-klein .blase.zwischen { max-width: 100%; background: rgba(255, 248, 235, .3) !important; border-style: dashed;
  font: 12px/1.45 "Avenir Next", system-ui, sans-serif; color: #4a3820 !important; }
#blasen-klein .zw { margin: 3px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#blasen-klein .zw b { color: #7a5c35; font-weight: 650; margin-right: 4px; }
#blasen-klein .zw code { font: 11.5px ui-monospace, "SF Mono", Menlo, monospace; background: rgba(176, 136, 72, .14); padding: 0 4px; border-radius: 4px; }
#blasen-klein .zw-ergebnis { color: #5b4630; padding-left: 10px; }
#blasen-klein .zw.fehler { color: #9b2c1c; }
#blasen-klein .zw.stand, #blasen-klein .zw.ende { color: #7a5c35; font-size: 11.5px; }

/* Data out des Vorzimmers in der Wandfläche */
main[data-agenda-wall] > #fenster .dataout-liste { margin: 0; padding: 0; list-style: none; }
main[data-agenda-wall] > #fenster .dataout-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 7px 2px; border-top: 1px solid #a97f453f; }
main[data-agenda-wall] > #fenster .dataout-liste li:first-child { border-top: 0; }
main[data-agenda-wall] > #fenster .dataout-liste .name { flex: 1 1 100%; font: 600 13.5px/1.3 "Avenir Next", system-ui, sans-serif; color: #3a2814; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main[data-agenda-wall] > #fenster .dataout-liste .gross { flex: 1; font-size: 11.5px; color: #7a5c35; }
main[data-agenda-wall] > #fenster .dataout-kopf { display: flex; gap: 8px; margin: 0 0 8px; }
main[data-agenda-wall] > #fenster .dataout-blatt { display: block; width: 100%; min-height: 220px; max-height: 60vh; margin: 0; padding: 10px 12px; overflow: auto; box-sizing: border-box;
  border: 1px solid #a97f453f; border-radius: 10px; background: rgba(255, 250, 240, .45); font: 13px/1.5 Georgia, serif; color: #3a2814; white-space: pre-wrap; }
main[data-agenda-wall] > #fenster iframe.dataout-blatt { height: 55vh; padding: 0; background: #fffaf0; }
main[data-agenda-wall] > #fenster .dataout-blatt.bild { object-fit: contain; padding: 6px; }

/* 15.11.: Die Meldung unter der Login-Zeile steht auf eigener heller Fläche, damit sie über jedem Hintergrund lesbar ist
   (in der Räume-Ansicht lag sie sonst über „+ Raum anlegen“). Ohne Text ist sie gar nicht da. */
.vip-einlass-platz .einlass-sagt:empty { display: none; }
.vip-einlass-platz .einlass-sagt:not(:empty) { top: calc(100% + 62px); width: auto; max-width: 320px; min-height: 0; padding: 7px 11px; border-radius: 9px;
  background: rgba(255, 250, 240, .97); border: 1px solid rgba(160, 120, 70, .45); box-shadow: 0 3px 10px rgba(90, 60, 30, .18); }
.vip-einlass-platz .praege-zeile { box-shadow: inset 0 2px 5px rgba(90, 60, 30, .3), 0 4px 14px rgba(90, 60, 30, .2); }

/* 15.11. (Fotostrecke): drei Darstellungsfehler.
   1) Sprechblasen wurden abgeschnitten: stil.css legt das Gespräch als Spalte an, in der Blasen schrumpfen. Jetzt normale Blöcke, das Feld rollt. */
html body #root #tikki-foyer-conversation #blasen-klein, html body #root #tikki-foyer-conversation #blasen-klein .gesagt { display: block !important; }
html body #root #tikki-foyer-conversation #blasen-klein .blase { overflow: visible; overflow-wrap: anywhere; }
html body #root #tikki-foyer-conversation #blasen-klein .blase .satz { display: inline; -webkit-line-clamp: unset; overflow: visible; }
/* 3) Laufschrift: Die eigene Arbeit steht sofort ruhig da (zu lang: Auslassungspunkte); KI-News laufen nahtlos, ohne leeren Anfang. */
#vip-ticker .vip-zug.arbeit { display: block; overflow: hidden; text-overflow: ellipsis; animation: none; padding-left: 0; }
#vip-ticker .vip-zug.laeuft { padding-left: 0; animation-name: vip-lauf-halb; }
@keyframes vip-lauf-halb { to { transform: translateX(-50%); } }

/* Verständliche Fortschritte: innerhalb des vorhandenen Gesprächsrahmens.
   Eigene Namen und hohe Gewichtung halten die starke Vorlage fern. */
html body #root#root#root .vip-fortschritt {
  display: block !important; position: relative !important; inset: auto !important;
  width: auto !important; min-width: 0 !important; max-width: 100% !important;
  height: auto !important; max-height: none !important; flex: 0 0 auto !important;
  margin: 5px 2px 10px !important; padding: 7px 10px !important; box-sizing: border-box !important;
  border: 0 !important; border-inline-start: 1px solid rgba(157, 105, 89, .45) !important;
  border-radius: 0 !important; overflow: visible !important;
  background: linear-gradient(90deg, rgba(255, 250, 240, .42), rgba(255, 250, 240, .08) 88%, transparent) !important;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .75) !important;
  color: #50382c !important; font: 13px/1.5 "Avenir Next", system-ui, sans-serif !important;
  letter-spacing: .005em !important; text-transform: none !important;
  text-shadow: 0 1px 0 rgba(255, 250, 240, .95) !important;
  white-space: normal !important; overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-liste {
  display: block !important; list-style: none !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-schritt,
html body #root#root#root .vip-fortschritt .vip-fort-jetzt {
  display: flex !important; align-items: baseline !important; gap: .6em !important;
  position: static !important; width: auto !important; min-width: 0 !important;
  margin: 2px 0 !important; padding: 0 !important; list-style: none !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
  font: inherit !important; color: inherit !important;
  white-space: normal !important; overflow: visible !important; -webkit-line-clamp: unset !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-schritt::before,
html body #root#root#root .vip-fortschritt .vip-fort-schritt::after {
  content: none !important; display: none !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-schritt > span,
html body #root#root#root .vip-fortschritt .vip-fort-jetzt > span {
  position: static !important; min-width: 0 !important; font: inherit !important;
  white-space: normal !important; overflow-wrap: anywhere !important;
  -webkit-text-fill-color: currentColor !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-zeichen,
html body #root#root#root .vip-fortschritt .vip-fort-punkt {
  display: inline-block !important; flex: 0 0 1em !important; width: 1em !important;
  color: #855344 !important; text-align: center !important;
  text-shadow: 0 1px 0 #fffaf0, 0 0 5px rgba(237, 183, 162, .7) !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-punkt {
  font-size: .75em !important; animation: vip-fort-licht 3.2s ease-in-out infinite;
}
html body #root#root#root .vip-fortschritt .wartet .vip-fort-punkt { animation: none !important; }
html body #root#root#root .vip-fortschritt .fehler { color: #863d2e !important; }
html body #root#root#root .vip-fortschritt .offen,
html body #root#root#root .vip-fortschritt .vip-fort-hinweis {
  color: #705447 !important; font-size: 12px !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-hinweis {
  display: block !important; margin: 5px 0 0 !important; padding: 0 !important;
  border: 0 !important; background: none !important; font-style: normal !important;
}
html body #root#root#root .vip-fortschritt summary {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 8px !important; min-height: 32px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: #684638 !important; font: inherit !important; font-weight: 600 !important;
  text-shadow: 0 1px 0 #fffaf0, 0 0 5px rgba(255, 246, 232, .65) !important;
  cursor: pointer !important; list-style: none !important; white-space: normal !important;
}
html body #root#root#root .vip-fortschritt summary::-webkit-details-marker { display: none !important; }
html body #root#root#root .vip-fortschritt summary::marker { content: "" !important; }
html body #root#root#root .vip-fortschritt summary::before,
html body #root#root#root .vip-fortschritt summary::after { content: none !important; }
html body #root#root#root .vip-fortschritt summary:focus-visible {
  outline: 2px solid #996759 !important; outline-offset: 3px !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-auf {
  flex: 0 0 auto !important; font-size: 11px !important; font-weight: 500 !important;
  color: #785044 !important; white-space: nowrap !important;
}
html body #root#root#root .vip-fortschritt.vip-fort-fertig[open] > summary .vip-fort-auf {
  visibility: hidden !important;
}
html body #root#root#root .vip-fortschritt .vip-fort-frueher {
  display: block !important; margin: 0 0 4px !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
html body #root#root#root details.vip-fortschritt:not([open]) > :not(summary),
html body #root#root#root .vip-fortschritt details:not([open]) > :not(summary) {
  display: none !important;
}
html body #root#root#root .vip-fort-ansage {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; border: 0 !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
}
@keyframes vip-fort-licht {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@media (max-width: 760px) {
  html body #root#root#root .vip-fortschritt {
    margin: 4px 1px 8px !important; padding: 5px 8px !important; font-size: 13px !important;
  }
  html body #root#root#root .vip-fortschritt summary { min-height: 38px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body #root#root#root .vip-fortschritt .vip-fort-punkt { animation: none !important; opacity: 1 !important; }
}
