.room-workspace {
  max-width: 1080px;
  color: var(--ink);
}
.room-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.room-workspace > .room-actions {
  justify-content: space-between;
  margin-bottom: 22px;
}
.room-workspace h1 {
  font:
    500 clamp(32px, 4vw, 48px)/1.12 'Instrument Sans',
    Inter,
    sans-serif;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.room-workspace h2,
.room-modal h2 {
  font:
    550 22px/1.25 'Instrument Sans',
    Inter,
    sans-serif;
  letter-spacing: -0.025em;
}
.room-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}
.room-section,
.room-list {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.room-section > .room-actions {
  margin-top: 12px;
}
.room-back {
  display: inline-block;
  color: var(--accent-ink, var(--accent));
  margin-bottom: 12px;
}
.room-hint,
.room-row small {
  color: var(--muted);
  line-height: 1.55;
}
.room-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  overflow-wrap: anywhere;
}
.room-row > div:first-child,
.room-row > span:first-child,
.room-row > strong:first-child {
  flex: 1;
  min-width: 0;
}
.room-row a {
  font-weight: 600;
}
.room-row a:hover,
.room-back:hover {
  text-decoration: underline;
}
.room-row small {
  display: block;
  font-size: 12px;
}
.room-section > .btn {
  margin-top: 15px;
}
.room-status {
  padding: 4px 10px;
  font-size: 12px;
  background: var(--surface-soft, #eaf0f5);
  border-radius: 20px;
  text-transform: capitalize;
}
.room-status[data-status='published'] {
  background: #d6f2df;
  color: #174e2b;
}
.room-status[data-status='expired'],
.room-status[data-status='publish-failed'] {
  background: #ffebdc;
  color: #683e20;
}
.room-field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-weight: 550;
  color: var(--ink);
  min-width: 0;
}
.room-field :is(input, select, textarea) {
  font:
    400 14px/1.4 Inter,
    sans-serif;
  width: 100%;
  min-width: 0;
  background: var(--surface, #fff);
  color: var(--ink);
  padding: 9px 11px;
  border: 1px solid var(--control-line, var(--line));
  border-radius: 7px;
}
.room-field textarea {
  resize: vertical;
}
.room-error {
  color: var(--error, #aa391b);
  overflow-wrap: anywhere;
}
.room-error:empty {
  display: none;
}
.room-modal {
  padding: 24px;
  background: var(--surface, #fff);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(480px, 92vw);
  max-height: 88dvh;
  overflow: auto;
}
.room-modal::backdrop {
  background: #17233470;
}
.room-file-picker {
  display: grid;
  align-items: stretch;
  gap: 4px;
  max-height: 35dvh;
  overflow: auto;
  margin: 10px 0;
}
.room-file-picker button {
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}
@media (max-width: 760px) {
  .room-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .room-row {
    gap: 8px;
  }
  .room-row .btn {
    padding-inline: 9px;
  }
  .room-modal {
    padding: 16px;
  }
}
