/* The existing Gold room artwork is the shared surface for the native room controls. */
.room-double {
  flex: none;
  padding-bottom: 8px;
}
.room-double-phase {
  margin: 2px 0 12px;
  color: #76501d;
  font-size: 15px;
  text-shadow: 0 1px #fff0d1;
}
.room-double-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}
.room-solution {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid #9a702f6b;
  border-radius: 12px;
  color: #65441b;
  background: linear-gradient(175deg, #aa81542b, #ffe7b839);
  box-shadow: inset 0 2px 4px #77502735, inset 0 -2px 4px #ffe8b0a3;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.room-solution strong {
  font: 400 22px/1.2 Georgia, serif;
  text-shadow: 0 1px #fff0cf;
}
.room-solution span {
  font-size: 12px;
}
.room-solution[aria-pressed=true], .room-solution:hover {
  border-color: #bd9148;
  box-shadow: inset 0 2px 4px #77502738, inset 0 -2px 8px #ffe6a9, 0 0 12px #ffdf932b;
}
.room-question-form {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}
.room-question-form h2 {
  margin: 0;
  font: 400 22px Georgia, serif;
}
.room-question-form label {
  display: grid;
  gap: 6px;
}
.room-question-form textarea {
  width: 100%;
  box-sizing: border-box;
}
.room-result-accepted {
  color: #76501d;
  font-weight: 600;
}
.room-policy-note, .room-discussion-status {
  margin: 6px 0 12px;
  color: #715638;
  font-size: 13px;
  line-height: 1.5;
}
.room-open {
  overflow: hidden;
}
.room-open .vip-leiste {
  position: fixed;
  z-index: 41;
}
.room-open .vip-reiter {
  border-color: transparent;
}
.room-open .vip-reiter[data-rooms] {
  border-color: #a5742f;
}
.room-open .band {
  position: fixed;
  z-index: 42;
}
.room-surface {
  --room-ink: #523815;
  --room-line: #a77f454f;
  --room-gap: clamp(8px, 1.3vh, 13px);
  position: fixed;
  z-index: 40;
  inset: 66px 0 0;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3.8vh, 42px) 14.5vw clamp(95px, 22vh, 238px);
  overflow: hidden;
  color: var(--room-ink);
  background: #dfc29e url('./bilder/raumwand-gold.png') center / cover no-repeat;
  font: 14px/1.45 "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.room-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 14px;
}
.room-brand {
  display: none;
}
.room-header h1 {
  margin: 0;
  font: 400 clamp(28px, 3vw, 43px)/1.15 Georgia, serif;
  letter-spacing: -.025em;
  text-shadow: 0 1px #ffebc8;
}
.room-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  justify-content: flex-end;
}
.room-button {
  display: inline-block;
  padding: 7px 9px;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  color: var(--room-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px #ffe9c2;
  cursor: pointer;
  text-decoration: none;
}
.room-button:hover {
  background: #fff0c82e;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.room-button:disabled {
  opacity: .55;
  cursor: wait;
}
.room-surface :is(button, input, textarea, summary):focus-visible {
  outline: 2px solid #785322;
  outline-offset: 3px;
}
.room-status {
  flex: none;
  margin: 0 0 12px;
  padding: 9px 0;
  border-block: 1px solid var(--room-line);
  color: #6b451b;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.room-status:empty {
  display: none;
}
.room-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #a98757a1 transparent;
}
.room-toolbar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 5px 0;
  border-block: 1px solid var(--room-line);
  box-shadow: 0 1px #ffeac67a, inset 0 1px #ffe9bc63;
}
.room-toolbar input[type=search] {
  flex: 1;
  min-width: 80px;
  width: 0;
}
.room-surface input:not([type=checkbox]), .room-surface textarea {
  padding: 10px 12px;
  border: 1px solid #a77f4566;
  border-radius: 5px;
  color: var(--room-ink);
  background: #fff1d14d;
  box-shadow: inset 0 1px 3px #6a461e1a;
  font: inherit;
}
.room-toolbar input[type=search] {
  border: 0;
  border-radius: 0;
  padding-inline: 4px;
  background: transparent;
  box-shadow: none;
}
.room-surface input::placeholder, .room-surface textarea::placeholder {
  color: #775e3e;
  opacity: 1;
}
.room-archive {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
}
.room-archive input {
  accent-color: #94703d;
}
.room-list {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: calc((100% - 2 * var(--room-gap)) / 3);
  align-content: start;
  gap: var(--room-gap);
  overflow: auto;
  padding: 2px 4px 3px;
  scrollbar-width: thin;
  scrollbar-color: #a98757a1 transparent;
}
.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 14px 10px 35px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #825c296e;
  border-radius: clamp(9px, 1.08vw, 17px);
  background: radial-gradient(ellipse at 50% 102%, #fff3d76e, transparent 58%), linear-gradient(177deg, #b58f595c, #dfc59c52 19%, #f8e1b691 68%, #f6dcaaab);
  box-shadow: inset 0 3px 4px #82583148, inset 1px 0 2px #8664384f, inset -1px -1px 2px #fff2bbd4, inset 0 -3px 7px #ffe7a46b;
  text-shadow: 0 1px #ffe9c2;
}
.room-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid #c49a612c;
  border-top-color: #92734946;
  border-bottom-color: #ffe9ae99;
  border-radius: inherit;
}
.room-card:hover {
  background-color: #fff0ce50;
}
.room-card h2 {
  margin: 0 0 8px;
  font: 600 clamp(14px, 1.08vw, 18px)/1.25 "Avenir Next", -apple-system, sans-serif;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}
.room-goal {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.room-card .room-goal {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.35;
  color: #73532b;
}
.room-counts {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #795c35;
  font-size: 10px;
  line-height: 1.4;
}
.room-card .room-button {
  position: absolute;
  inset: auto 4px 5px;
  min-height: 26px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 600;
}
.room-card { padding-bottom: 63px; }
.room-card-actions {
  position: absolute;
  inset: auto 7px 5px;
  display: grid;
  justify-items: stretch;
}
.room-card .room-card-actions .room-button {
  position: static;
  min-height: 25px;
  width: 100%;
}
.room-card-data-out {
  border-top: 1px solid #9b743d50;
  letter-spacing: .1em;
  color: #76501d;
  text-shadow: 0 1px #fff1c9, 0 0 7px #ffe09a88;
}
.room-output-list { display: grid; gap: 16px; padding: 4px 3px 20px; }
.room-output-group {
  padding: 18px 20px;
  border: 1px solid #a77f454f;
  border-radius: 12px;
  background: linear-gradient(178deg, #ad83401a, #fff0c92b);
  box-shadow: inset 0 2px 3px #68481f24, inset 0 -2px 7px #ffe5a48c;
}
.room-output-group h2 { margin: 0 0 8px; font: 400 23px/1.3 Georgia, serif; }
.room-output-choices { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 12px; }
.room-output-choices .room-button[aria-pressed=true] {
  box-shadow: inset 0 -1px #a67b35;
  color: #684416;
  text-shadow: 0 1px #fff4d8, 0 0 9px #ffdc82;
}
.room-output-content, .room-input-content { min-width: 0; padding: 2px 3px 22px; }
.room-input-draft, .room-input-goal {
  padding: 15px 18px;
  border-block: 1px solid #a77f454f;
  background: linear-gradient(180deg, #b58c4512, #ffe9b31c);
  box-shadow: inset 0 1px 3px #7853291c, inset 0 -1px #ffe9b77a;
}
.room-input-draft label { display: grid; gap: 10px; color: #76501d; }
.room-input-draft input[type=file] { max-width: 100%; width: 100%; box-sizing: border-box; }
.room-input-draft input::file-selector-button {
  border: 1px solid #9a723d66;
  border-radius: 5px;
  background: #f4dfb24d;
  color: #67471f;
  padding: 7px 10px;
  margin-right: 10px;
  font: inherit;
}
.room-file-list { display: grid; gap: 4px; }
.room-file { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid #a77f4533; padding: 8px 0; }
.room-file > span { min-width: 0; overflow-wrap: anywhere; }
.room-input-goal p { white-space: pre-wrap; overflow-wrap: anywhere; }
.room-output-content .room-toolbar { flex-wrap: wrap; gap: 8px; }
.room-surface:is([data-state=data-out], [data-state=data-in]) .room-body { display: block; }
.room-surface:is([data-state=data-out], [data-state=data-in]) .room-output-content .room-deliverable {
  background: #fff0d126;
  border-color: #a67e454d;
}
.room-empty {
  color: #6e5230;
  line-height: 1.6;
}
.room-list > .room-empty {
  grid-column: 1 / -1;
  margin: 18px 0;
}
.room-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.room-label {
  font-size: 11px;
  color: #755834;
}
.room-person {
  padding: 7px 11px;
  border: 1px solid #aa824855;
  border-radius: 5px;
  background: #f9e3bdb3;
  color: #62441e;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px #fff1cc;
}
.room-board {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #a98757a1 transparent;
}
.room-column {
  flex: 1 0 190px;
  min-width: 190px;
  max-width: 330px;
  padding: 0 12px 0 0;
  border-right: 1px solid var(--room-line);
}
.room-column:last-child {
  border-right: 0;
}
.room-column h2 {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  color: #76542a;
}
.room-task {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 8px;
  padding: 10px 11px;
  text-align: left;
  border: 1px solid #a87f453a;
  border-radius: 7px;
  background: #ffefd054;
  color: #543919;
  box-shadow: inset 0 1px #ffeecb;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.room-task:hover {
  background: #fff2d48c;
}
.room-task strong {
  font-size: 13px;
  line-height: 1.35;
}
.room-task p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}
.room-task-person, .room-task small {
  color: #7d5b32;
  font-size: 11px;
}
.room-task-text {
  white-space: pre-wrap;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.room-detail-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--room-line);
}
.room-detail-section summary {
  cursor: pointer;
}
.room-log {
  max-height: 400px;
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.6;
  background: #6e4c1910;
}
.room-attachment {
  display: block;
  padding: 10px 0;
}
.room-create {
  display: grid;
  gap: 24px;
  width: min(600px, 100%);
  margin: 20px auto;
}
.room-create label {
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.room-create textarea {
  resize: vertical;
}
.room-create button {
  justify-self: start;
  border: 1px solid #a77f4566;
  padding: 9px 18px;
  background: #f8e5bf80;
}
.room-open .schleier {
  z-index: 60;
  inset: 66px 0 0;
}

/* Room work stays on the wall above the original conference table. */
.room-surface:is([data-state=room], :has(.room-board)) {
  padding: 30px 4vw 90px;
  background-image: url('./bilder/meeting-gold.png');
}
.room-surface:is([data-state=room], :has(.room-board)) .room-header {
  position: relative;
  z-index: 2;
  align-items: flex-start;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-header h1 {
  max-width: 38vw;
  font-size: clamp(26px, 2.4vw, 37px);
}
.room-surface:is([data-state=room], :has(.room-board)) .room-header-actions {
  max-width: 48vw;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-body {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-body > * {
  pointer-events: auto;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-status {
  position: absolute;
  z-index: 3;
  left: 29%;
  right: 19%;
  top: 12%;
  max-height: 65px;
  overflow: auto;
  background: #f5dfbfe6;
}
.room-surface:is([data-state=room], :has(.room-board)) #room-goal {
  position: absolute;
  top: 14%;
  left: 29%;
  right: 19%;
  max-height: 11%;
  margin: 0;
  overflow: auto;
  font-size: 14px;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-workflow {
  position: absolute;
  left: 3%;
  top: 20%;
  width: 21.5%;
  max-height: 38%;
  padding: 9px 12px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.45;
  scrollbar-width: thin;
}
.room-workflow h2 {
  margin: 0 0 9px;
  font: 600 17px Georgia, serif;
}
.room-workflow p {
  margin: 0 0 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.room-workflow .room-button {
  padding: 5px 0;
  font-size: 12px;
}
.room-workflow .room-detail-section {
  margin-top: 8px;
  padding-top: 8px;
}
.room-workflow .room-log {
  max-height: 125px;
  padding: 8px;
  font-size: 11px;
}
.room-workflow-error {
  color: #7f4125;
}
.room-surface:is([data-state=room], :has(.room-board)) .room-board {
  position: absolute;
  left: 29%;
  right: 19%;
  top: 29%;
  height: 22%;
  padding: 10px 0;
  border-top: 1px solid var(--room-line);
}
.room-surface:is([data-state=room], :has(.room-board)) .room-participants {
  position: absolute;
  left: 29%;
  right: 19%;
  top: 57%;
  max-height: 15%;
  margin: 0;
  padding: 8px 12px;
  overflow: auto;
  background: #f9e9cc9c;
  border: 1px solid #c49b6166;
  border-radius: 6px;
  box-shadow: inset 0 1px #fff3d5;
}

@media (max-width: 1100px) {
  .room-surface {
    padding-inline: 9vw;
  }
  .room-card {
    padding-inline: 7px;
  }
  .room-header-actions {
    gap: 6px;
  }
}
@media (max-width: 950px) {
  .room-surface {
    inset-block-start: 62px;
    padding: 24px 5vw 82px;
  }
  .room-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 145px;
  }
  .room-card h2 {
    font-size: 17px;
  }
  .room-header {
    gap: 10px;
  }
  .room-header h1 {
    font-size: 30px;
  }
  .room-toolbar {
    gap: 10px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) {
    padding: 22px 5vw 78px;
    overflow: auto;
    background-position: 56% center;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-header {
    flex-direction: column;
    gap: 10px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-header h1 {
    max-width: 100%;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-header-actions {
    max-width: 100%;
    justify-content: flex-start;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-body {
    position: relative;
    inset: auto;
    flex: none;
    display: flex;
    overflow: visible;
    gap: 18px;
    padding: 20px;
    background: #f8e4c3e6;
    border: 1px solid #ba945a66;
    border-radius: 9px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) :is(#room-goal, .room-workflow, .room-board, .room-participants, .room-status) {
    position: static;
    width: auto;
    max-height: none;
    margin: 0;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-board {
    min-height: 170px;
    max-height: 340px;
    padding-block: 10px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-workflow {
    padding: 0;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-status {
    margin-bottom: 12px;
  }
  .room-open .schleier {
    inset-block-start: 62px;
  }
}
@media (max-width: 600px) {
  .room-surface {
    padding: 18px 14px 82px;
    background-position: 52% center;
  }
  .room-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .room-header h1 {
    font-size: 29px;
  }
  .room-header-actions {
    justify-content: flex-start;
  }
  .room-button {
    font-size: 12px;
    min-height: 34px;
  }
  .room-toolbar {
    flex-wrap: wrap;
    gap: 4px 9px;
  }
  .room-toolbar input[type=search] {
    flex-basis: 100%;
    width: 100%;
    border-bottom: 1px solid var(--room-line);
  }
  .room-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 137px;
    gap: 8px;
  }
  .room-card {
    padding: 11px 7px 30px;
    border-radius: 11px;
  }
  .room-card h2 {
    font-size: 14px;
  }
  .room-card .room-goal {
    font-size: 10px;
  }
  .room-card .room-counts {
    font-size: 9px;
  }
  .room-card .room-button {
    font-size: 10px;
  }
  .room-create {
    margin-top: 10px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) {
    padding-inline: 14px;
  }
  .room-surface:is([data-state=room], :has(.room-board)) .room-body {
    padding: 14px;
  }
  .room-open .schleier {
    height: calc(var(--sicht-hoehe, 100dvh) - 62px);
  }
}
@media (max-height: 690px) and (min-width: 951px) {
  .room-surface {
    padding-top: 18px;
    padding-bottom: 65px;
  }
  .room-header h1 {
    font-size: 28px;
  }
  .room-card {
    padding-top: 8px;
    padding-bottom: 27px;
  }
  .room-card .room-goal {
    display: none;
  }
  .room-card h2 {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .room-card .room-button {
    min-height: 22px;
    padding-block: 2px;
  }
}

/* A room conversation uses the same left-wall reading area as the foyer. */
.room-open.tikki-conversation #chat {
  position: fixed;
  z-index: 43;
  top: calc(66px + 14vh);
  left: 4.5vw;
  width: 48vw;
  height: 63vh;
}
.room-open.tikki-conversation .room-body {
  visibility: hidden;
  pointer-events: none;
}
.room-open.tikki-conversation .room-header-actions {
  max-width: 52vw;
}
.room-open.tikki-conversation .room-status {
  top: 11vh;
  left: 4.5vw;
  right: auto;
  width: 48vw;
  max-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}
@media (max-width: 950px) {
  .room-open.tikki-conversation #chat {
    top: 255px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100dvh - 285px);
    min-height: 250px;
    padding: 15px;
  }
  .room-open.tikki-conversation .room-header-actions {
    max-width: 100%;
  }
  .room-open.tikki-conversation .room-surface {
    overflow: auto;
  }
}
@media (max-height: 650px) and (max-width: 950px) {
  .room-open.tikki-conversation #chat {
    top: 200px;
    height: calc(100dvh - 220px);
    min-height: 160px;
  }
}

/* A/B labels belong to the photographed wall recesses, not to new cards. */
.room-surface:is([data-state=room], :has(.room-board)) .room-double {
  position: absolute;
  inset: 0;
  width: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  pointer-events: none;
}
.room-double .room-double-options {
  display: contents;
}
.room-double :is(.room-solution, .room-double-result) {
  position: absolute;
  left: calc(var(--room-image-x) + 54px * var(--room-image-scale));
  width: calc(350px * var(--room-image-scale));
  height: calc(90px * var(--room-image-scale));
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 4px 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #6e4719;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
}
.room-double .room-solution[data-variant=A] {
  top: calc(var(--room-image-y) + 192px * var(--room-image-scale));
  transform: rotate(4deg);
}
.room-double .room-solution[data-variant=B] {
  top: calc(var(--room-image-y) + 319px * var(--room-image-scale));
  transform: rotate(1.2deg);
}
.room-double .room-double-result {
  top: calc(var(--room-image-y) + 444px * var(--room-image-scale));
  transform: rotate(-1.5deg);
}
.room-double :is(.room-solution, .room-double-result) strong {
  font: 400 clamp(19px, calc(27px * var(--room-image-scale)), 29px)/1.2 Georgia, serif;
  letter-spacing: .035em;
  text-shadow: 0 1px #fff4d2, 0 -1px #59361633;
}
.room-double :is(.room-solution, .room-double-result) span {
  font: 500 clamp(11px, calc(14px * var(--room-image-scale)), 15px)/1.3 "Avenir Next", sans-serif;
  letter-spacing: .025em;
  color: #7b582f;
  text-shadow: 0 1px #fff0cf;
}
.room-double :is(.room-solution, .room-double-result):is(:hover, [aria-pressed=true]) {
  background: none;
  box-shadow: none;
  color: #624018;
  text-shadow: 0 0 8px #ffe59d;
}
.room-double :is(.room-solution, .room-double-result):is(:hover, [aria-pressed=true]) strong {
  text-shadow: 0 1px #fff6db, 0 0 12px #ffd270, 0 0 3px #fff1ba;
}
.room-double .room-double-result:disabled {
  cursor: default;
  opacity: .75;
}
.room-double-phase {
  position: absolute;
  top: calc(var(--room-image-y) + 127px * var(--room-image-scale));
  left: calc(var(--room-image-x) + 53px * var(--room-image-scale));
  width: calc(350px * var(--room-image-scale));
  margin: 0;
  font-size: 13px;
  text-align: center;
}
.room-double .room-double-tools {
  position: absolute;
  left: calc(var(--room-image-x) + 54px * var(--room-image-scale));
  top: calc(var(--room-image-y) + 558px * var(--room-image-scale));
  width: calc(350px * var(--room-image-scale));
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  border: 0;
  background: none;
  box-shadow: none;
  pointer-events: auto;
}
.room-double .room-double-tools .room-button {
  padding: 5px 0;
  min-height: 28px;
  font-size: 13px;
  font-weight: 500;
}
.room-double .room-double-tools .room-button:hover {
  background: none;
}
.room-double .room-question-form {
  position: absolute;
  left: 36%;
  top: 20%;
  width: 35%;
  max-height: 33%;
  overflow: auto;
  pointer-events: auto;
}
.room-surface[data-await-questions=true] :is(.room-board, .room-participants) {
  visibility: hidden;
}
.room-double :is(.room-workflow-error, .room-discussion-status) {
  position: absolute;
  left: 36%;
  top: 50%;
  width: 35%;
  font-size: 12px;
}
.room-surface[data-scope=foyer] {
  background-image: url('./bilder/foyer-agenda-wall.b9725a5a43e2.png');
}
.room-surface[data-scope=foyer][data-state=create] .room-create {
  width: min(32vw, 520px);
  margin: 0 0 0 2vw;
  gap: 14px;
}
.room-surface[data-scope=foyer] .room-double :is(.room-solution, .room-double-result, .room-double-phase, .room-double-tools) {
  left: calc(var(--room-image-x) + 192px * var(--room-image-scale));
  width: calc(344px * var(--room-image-scale));
  transform: none;
}
.room-surface[data-scope=foyer] .room-double .room-double-phase {
  top: calc(var(--room-image-y) + 140px * var(--room-image-scale));
}
.room-surface[data-scope=foyer] .room-double .room-solution[data-variant=A] {
  top: calc(var(--room-image-y) + 185px * var(--room-image-scale));
}
.room-surface[data-scope=foyer] .room-double .room-solution[data-variant=B] {
  top: calc(var(--room-image-y) + 290px * var(--room-image-scale));
}
.room-surface[data-scope=foyer] .room-double .room-double-result {
  top: calc(var(--room-image-y) + 395px * var(--room-image-scale));
}
.room-surface[data-scope=foyer] .room-double .room-double-tools {
  top: calc(var(--room-image-y) + 480px * var(--room-image-scale));
}
.room-surface[data-scope=foyer][data-state=room] :is(#room-goal, .room-board, .room-participants) {
  left: 44%;
  right: 26%;
}
@media (max-width: 950px) {
  .room-surface:is([data-state=room], :has(.room-board)) .room-double {
    position: static;
    width: auto;
    max-height: none;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .room-double .room-double-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .room-surface .room-double :is(.room-solution, .room-double-result, .room-double-phase, .room-double-tools, .room-question-form, .room-workflow-error, .room-discussion-status) {
    position: static;
    width: auto;
    max-height: none;
    transform: none;
  }
  .room-double :is(.room-solution, .room-double-result) {
    height: 76px;
  }
  .room-double .room-double-tools {
    align-items: flex-start;
  }
  .room-surface[data-scope=foyer][data-state=create] .room-create {
    width: 100%;
    margin: 0;
  }
  .room-surface[data-scope=foyer][data-state=room] :is(#room-goal, .room-board, .room-participants) {
    left: auto;
    right: auto;
  }
}

/* A/B results occupy only the clear rear wall; the assistant and light strips stay visible. */
@media (min-width: 951px) {
  body.room-open:has(:is(#room-results, .room-output-content)[data-double-scope]) #schleier .fenster {
    left: 39vw;
    top: calc(66px + 10vh);
    width: 29vw;
    height: 34vh;
  }
  body.room-open:has(#room-results[data-double-scope=foyer]) #schleier .fenster {
    left: 44vw;
    width: 29vw;
    height: 22vh;
  }
}

body.room-open:has(:is(#room-results, .room-output-content)[data-double-scope]) #fenster-zu {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Results stay on the existing wall surface; files are usable without opening logs. */
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable {
  padding: 14px 0;
  border-top: 1px solid #9b753c66;
  box-shadow: inset 0 1px #fff0cf7a;
  color: #523815;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-kind {
  margin: 0 0 3px;
  color: #6c4d23;
  font-size: 13px;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-name {
  margin: 0;
  font: 600 16px/1.4 "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
  text-shadow: 0 1px #fff1d1;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  padding-top: 6px;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-actions :is(a, button) {
  box-sizing: border-box;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 5px 2px;
  color: #604115;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-actions :is(a, button):focus-visible {
  outline: 2px solid #765016;
  outline-offset: 3px;
  box-shadow: 0 0 8px #ffecb5;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-notice {
  margin: 5px 0 0;
  color: #6a4d28;
  font-size: 13px;
  line-height: 1.45;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-preview {
  padding-top: 8px;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-preview[hidden] {
  display: none;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-media {
  display: block;
  width: 100%;
  max-height: 26vh;
  object-fit: contain;
  border-radius: 8px;
}
:is(#room-results, .room-output-content)[data-double-scope] audio.room-deliverable-media {
  min-width: 0;
  height: 44px;
}
:is(#room-results, .room-output-content)[data-double-scope] .room-deliverable-text {
  margin: 0;
  padding: 10px 0;
  max-height: 30vh;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #463019;
  background: transparent;
  font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
