.agent-room-page {
  padding-bottom:70px
}

@media(max-width:560px) {
  .room-topbar .topbar-trailing>.button {
    display:none
  }
  .room-model-routing {
    white-space:nowrap
  }
  
}

.agent-room-page h1 {
  line-height:1.4
}

.agent-room-page h2 {
  line-height:1.5;
  margin:0 0 12px;
  }

.agent-room-page h3 {
  line-height:1.6;
  margin:0;
  }

.agent-room-page p {
  font-size:13px;
  line-height:1.85;
  max-width:74ch
}

.agent-room-page .section-heading p {
  font-size:13px
}

.agent-room-page .button {
  font-size:12px;
  min-height:39px;
  line-height:1.7;
  white-space:normal
}

.agent-room-page .field {
  margin-bottom:17px
}


.agent-room-page input,.agent-room-page select,.agent-room-page textarea {
  font-size:13px;
  color:#243c34;
  caret-color:#1e6652
}

.agent-room-page input::placeholder,.agent-room-page textarea::placeholder {
  color:#69786f;
  opacity:1
}

.agent-room-page select {
  min-height:40px;
  max-width:100%;
  text-overflow:ellipsis
}

.agent-room-page textarea {
  resize:vertical;
  line-height:1.85
}

.agent-room-page .field-hint,.agent-room-page .room-subtle {
  font-size:12px;
  }

.agent-room-page :focus-visible,.room-chat-entry:focus-visible {
  outline:2px solid #246a56;
  outline-offset:3px
}

.agent-room-page ::selection {
  background:#cce5d8;
  color:#193e30
}

.agent-room-page button:disabled {
  opacity:.5;
  cursor:not-allowed
}

.agent-room-page details>summary {
  font-size:13px;
  line-height:1.8;
  cursor:pointer;
  color:#375e4b;
  padding:8px 0
}

.agent-room-page details[open]>summary {
  margin-bottom:14px
}

.agent-room-page pre {
  font-family:inherit;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.9;
  color:#364f41
}

.room-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  }

.room-switch {
  display:flex;
  align-items:center;
  gap:12px;
  color:#52685d;
  min-width:0;
  }

.room-switch select {
  flex:1;
  min-width:0;
  border:1px solid #d7e3db;
  background:#fff;
  padding:8px 12px
}



.room-start-copy>p {
  margin:10px 0 22px;
  color:#52685d
}

.room-members {
  list-style:none;
  display:flex;
  }

.room-members li {
  display:flex;
  flex:1;
  }

.room-members li>span:nth-child(2) {
  flex:1;
  min-width:0
}

.room-members strong {
  display:block;
  }

.room-members small {
  display:block;
  }

.room-members li>svg {
  flex:none
}

.room-members li:last-child>svg {
  display:none
}

.room-members [data-active=true] strong {
  color:#185a42
}

.room-avatar {
  width:36px;
  height:36px;
  border-radius:11px;
  display:grid;
  place-items:center;
  flex:none;
  font-size:14px;
  font-weight:600;
  color:#345746;
  background:#eaf2ed
}

.room-avatar-claude {
  background:#f4e9df;
  color:#80523b
}

.room-avatar-deepseek {
  background:#e9eef8;
  color:#3a5488
}

.room-avatar-story-agent {
  background:#f4e9df;
  color:#80523b
}

.room-avatar-storyboard-agent {
  background:#e9eef8;
  color:#3a5488
}

.room-avatar-gpt-image {
  background:#e2eee8;
  color:#2b5f48
}

.room-avatar-user {
  background:#edf0ee;
  color:#4b6154
}

.room-create-form {
  border-top:1px solid #dfe8e1
}

.room-agent-settings {
  margin:28px 0 26px;
  padding:24px 0 8px;
  border-top:1px solid #dfe8e1
}

.room-agent-settings>h2 {
  margin-bottom:8px
}

.room-agent-settings>.room-subtle {
  margin:0 0 24px
}

.room-agent-fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px
}

.room-agent-assignment {
  min-width:0
}

.room-agent-heading {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px
}

.room-agent-heading .room-avatar {
  width:30px;
  height:30px;
  border-radius:9px;
  font-size:12px
}

.room-agent-heading h3 {
  font-size:14px
}

.room-agent-assignment input,.room-agent-assignment textarea {
  width:100%
}

.room-agent-boundary {
  margin:0 0 20px!important;
  color:#52685d;
  font-size:12px!important
}

.room-members strong {
  overflow-wrap:anywhere
}

.room-field-pair,.room-option-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}

.room-model-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
  margin-top:26px
}

.room-model-fields {
  min-width:0
}

.room-model-fields .room-subtle {
  margin:3px 0 20px
}

.room-option-grid {
  gap:12px
}

.room-upload {
  padding:10px 0 20px;
  border-top:1px solid #e2e9e4;
  border-bottom:1px solid #e2e9e4
}

.room-upload img {
  display:block;
  width:180px;
  height:150px;
  object-fit:contain;
  background:#f6f8f6;
  border-radius:8px;
  margin:0 0 16px
}

.room-upload input[type=file] {
  display:block;
  width:100%;
  max-width:100%;
  margin:12px 0 16px;
  font-size:12px
}

.room-check {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:12px;
  color:#3f5d4d;
  line-height:1.8;
  margin:15px 0;
  cursor:pointer
}

.room-check input {
  width:16px;
  height:16px;
  accent-color:#256b55;
  flex:none;
  margin:3px 0 0
}

.room-actions {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:23px 0 5px
}

.room-error,.room-unsaved {
  padding:17px 20px;
  background:#fff8ee;
  border:1px solid #ead4b8;
  border-radius:10px;
  color:#764f28;
  margin:18px 0 25px;
  font-size:12px;
  line-height:1.8
}

.room-error p {
  margin:0 0 10px;
  overflow-wrap:anywhere
}

.room-inline-error {
  color:#98452e!important;
  overflow-wrap:anywhere
}

.room-loading {
  height:200px;
  padding:35px 0;
  font-size:13px;
  color:#52685d
}


.room-conversation>.room-members {
  margin-top:0;
  padding-bottom:9px
}

.room-conversation-summary {
  display:flex;
  align-items:center;
  }

.room-conversation-summary .tag {
  white-space:normal
}

.room-settings {
  border-bottom:1px solid #e0e8e2;
  margin-bottom:30px;
  padding-bottom:12px
}

.room-settings>form {
  padding:16px 0 8px
}

.room-transcript {
  padding:8px 0 5px
}

.room-message {
  display:flex;
  max-width:100%;
  align-items:flex-start
}

.room-message-main {
  min-width:0;
  flex:1
}

.room-message-author {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  margin:0 0 10px;
  line-height:1.7
}

.room-message-author strong {
  font-weight:600;
  }

.room-message-author time {
  margin-left:auto;
  font-variant-numeric:tabular-nums
}

.room-message-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-width:75ch
}

.room-message-user .room-message-text {
  padding:15px 18px;
  }


.room-message-model {
  display:block;
  margin-top:10px;
  overflow-wrap:anywhere
}

.room-raw-output pre {
  max-height:340px;
  overflow:auto;
  margin:0;
  padding-right:10px
}

.room-output-editor {
  border-top:1px solid #e0e8e2;
  padding:9px 0 13px
}

.room-output-editor>textarea {
  width:100%;
  border:1px solid #d8e3dc;
  border-radius:9px;
  padding:15px
}

.room-output-editor>.button {
  margin-bottom:8px
}

.room-shot-edit {
  border-top:1px solid #e5ece7;
  padding:9px 0
}

.room-shot-edit .field {
  padding:0 3px
}

.room-shot-edit textarea,.room-shot-edit input {
  width:100%
}

.room-next {
  border-top:1px solid #dfe8e1
}

.room-next>p {
  margin:0 0 17px;
  }

.room-next>small {
  display:block;
  margin-top:12px
}

.room-progress {
  padding:16px 0;
  color:#266d52!important
}

.room-preview {
  border:1px solid #cbded0;
  border-radius:12px;
  margin:25px 0 35px
}

.room-preview-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:23px
}

.room-preview-title .tag {
  background:#e8f0e8;
  color:#35553f;
  font-size:12px
}

.room-preview-facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  margin:0 0 18px
}

.room-preview-facts dt {
  font-size:12px;
  color:#5b7161;
  margin-bottom:7px
}

.room-preview-facts dd {
  color:#2d503b;
  margin:0;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums
}

.room-preview-assignment {
  padding:8px 0 12px;
  font-size:12px;
  color:#365741
}

.room-preview-assignment p {
  margin:8px 0 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.room-prompt-review {
  margin:16px 0 18px;
  border-top:1px solid #dce7dd;
  padding-top:8px
}

.room-prompt-review pre {
  max-height:320px;
  overflow:auto;
  padding-right:8px
}

.room-reference-preview {
  margin:16px 0
}

.room-reference-preview img {
  width:160px;
  height:160px;
  object-fit:contain;
  border-radius:8px;
  background:#fff
}

.room-reference-preview figcaption {
  font-size:12px;
  color:#536b5b;
  line-height:1.8;
  margin-top:8px
}

.room-references {
  padding-top:20px;
  margin-top:22px;
  border-top:1px solid #dfe8e1
}

.room-references>p {
  margin-bottom:25px
}

.room-reference-shot {
  padding:24px 0 30px;
  border-top:1px solid #dfe8e1
}

.room-reference-heading {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px
}

.room-reference-heading .tag {
  font-size:12px;
  color:#43634d;
  background:#f0f5ef;
  white-space:normal
}

.room-shot-image {
  display:block;
  max-width:100%;
  max-height:420px;
  object-fit:contain;
  background:#f7f8f7;
  border-radius:9px;
  margin:20px 0
}

.room-reference-shot>.button+.button {
  margin-left:10px
}

.room-chat-entry {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 18px;
  color:#2f5843;
  background:#f4f8f5;
  border:1px solid #d3e1d8;
  border-radius:12px;
  text-align:left;
  font-size:12px;
  margin:14px auto 0;
  max-width:100%;
  line-height:1.7
}

.room-chat-entry:hover {
  background:#eaf3ed;
  border-color:#aac9b5
}

.room-chat-entry small {
  display:block;
  font-size:12px;
  color:#526c5a;
  margin-top:3px
}

@media(max-width:1100px) {
  .room-model-grid {
    gap:20px
  }
  .room-members li>svg {
    margin:0 6px
  }
  .room-members li {
    gap:8px
  }
  .room-members small {
    font-size:12px
  }
  .room-option-grid {
    grid-template-columns:1fr;
    gap:0
  }
  
}

@media(max-width:760px) {
  .agent-room-page .section-heading {
    flex-wrap:wrap
  }
  .agent-room-page .section-heading>.button {
    margin-top:0
  }
  .room-switch {
    width:100%
  }
  .room-switch select {
    max-width:calc(100% - 48px)
  }
  .room-members {
    align-items:stretch;
    }
  .room-members .room-avatar {
    width:31px;
    height:31px;
    border-radius:9px;
    font-size:13px;
    margin-bottom:9px
  }
  .room-members small {
    margin-top:4px
  }
  .room-start-copy {
    padding-top:0;
    padding-bottom:14px
  }
  .room-start-copy h2 {
    font-size:18px
  }
  .room-field-pair {
    gap:12px
  }
  .room-model-grid {
    grid-template-columns:1fr;
    gap:7px;
    margin-top:22px
  }
  .room-option-grid {
    grid-template-columns:1fr 1fr;
    gap:12px
  }
  .room-actions {
    gap:12px
  }
  .room-actions>.button,.room-actions>button {
    width:100%
  }
  .room-conversation-summary {
    align-items:flex-start;
    }
  .room-settings {
    margin-bottom:23px
  }
  .room-message .room-avatar {
    border-radius:9px;
    font-size:12px
  }
  .room-message-author time {
    margin-left:0
  }
  .room-message-user .room-message-text {
    padding:12px 13px
  }
  .room-preview-facts {
    grid-template-columns:1fr;
    gap:15px
  }
  .room-preview-facts dd {
    font-size:13px
  }
  .room-preview-title h3 {
    font-size:14px
  }
  .room-prompt-review pre {
    max-height:260px;
    font-size:12px
  }
  .room-check {
    font-size:12px
  }
  .room-next>.button {
    width:100%
  }
  .room-reference-heading {
    align-items:flex-start
  }
  .room-reference-shot>.button {
    width:100%;
    margin:7px 0!important
  }
  .room-references>.button {
    width:100%
  }
  .room-chat-entry {
    font-size:12px;
    padding:12px 15px
  }
  .room-chat-entry small {
    font-size:12px
  }
  .room-error {
    padding:14px 16px
  }
  
}


.room-avatar-image {
  background:#e2eee8;
  color:#2b5f48
}

.room-model-routing {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#466452;
  font-size:12px;
  line-height:1.6;
  white-space:nowrap
}

.room-composer {
  border:1px solid #d8e4db;
  background:#fff
}

.room-composer textarea {
  width:100%;
  border:0;
  padding:0;
  min-height:72px;
  resize:vertical;
  background:transparent
}

.room-composer-footer {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-top:12px
}

.room-composer-footer>p {
  margin:0;
  max-width:55ch;
  }

.room-composer-footer>button {
  flex:none
}

@media(max-width:760px) {
  .room-composer-footer>button {
    width:100%
  }
  
}

@media(max-width:760px) {
  .room-agent-fields {
    grid-template-columns:1fr;
    gap:18px
  }
  .room-agent-settings {
    margin:24px 0 20px;
    padding-top:22px
  }
  .room-agent-assignment+.room-agent-assignment {
    border-top:1px solid #e1e8e3;
    padding-top:23px
  }
  .room-agent-heading {
    margin-bottom:18px
  }
  
}


/* Live collaboration layout: transcript beside editable model assignments. */
.agent-room-page {
  padding:32px 38px 60px;
  }

.agent-room-page h1 {
  letter-spacing:-.025em;
  }

.agent-room-page .section-heading {
  margin-bottom:25px
}

.agent-room-page .section-heading p {
  margin-top:9px;
  }

.room-toolbar {
  margin:0 0 25px
}

.room-switch {
  font-size:12px;
  max-width:76%
}

.room-switch select {
  border-color:#dbe6de;
  border-radius:8px;
  color:#315b52
}

.room-start,.room-conversation {
  max-width:none;
  margin:0
}

.room-start-copy {
  max-width:none;
  padding:5px 0 0
}

.room-start-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  max-width:920px
}

.room-start-intro>div {
  min-width:0
}

.room-start-intro h2 {
  font-size:22px;
  margin-bottom:10px
}

.room-start-intro p {
  color:#526d68;
  max-width:60ch
}

.room-start-intro>.robot-mark,.room-start-intro>.xiaoyu-pet {
  flex:none
}

.room-create-form {
  max-width:1060px;
  padding-top:25px
}

.room-create-form>.room-agent-settings {
  margin-top:28px
}

.room-project-summary {
  display:flex;
  align-items:center;
  gap:16px;
  background:#f4f6f1;
  padding:18px 20px;
  border-radius:14px;
  margin-bottom:24px
}

.room-project-summary>img {
  width:66px;
  height:72px;
  object-fit:contain;
  border-radius:7px;
  background:#fff;
  flex:none
}

.room-project-summary>.button {
  flex:none
}

.room-project-summary>.robot-mark,.room-project-summary>.xiaoyu-pet {
  flex:none
}

.room-project-copy {
  min-width:0;
  flex:1
}

.room-project-copy h2 {
  font-size:15px;
  margin:0 0 5px;
  color:#173d3c;
  overflow-wrap:anywhere
}

.room-project-copy>p {
  margin:0 0 9px;
  font-size:12px;
  line-height:1.85;
  color:#526d68;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-width:85ch
}

.room-conversation-summary {
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:13px;
  font-size:12px;
  margin:0;
  color:#526d68
}

.room-conversation-summary .tag {
  background:#e4eee5;
  border-radius:5px;
  color:#315b52;
  font-size:12px;
  padding:3px 8px
}

.room-members,.room-conversation>.room-members {
  margin:0 0 28px;
  max-width:none;
  padding:0 0 18px;
  border-bottom:1px solid #e2e9e1;
  align-items:flex-start;
  gap:10px
}

.room-members li {
  padding:0;
  gap:9px;
  align-items:flex-start;
  position:relative;
  min-width:0
}

.room-step-number {
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid #ceded1;
  border-radius:50%;
  color:#526d68;
  background:#fff;
  font-size:12px;
  line-height:1
}

.room-step-copy {
  padding-top:3px
}

.room-members strong {
  font-size:12px;
  color:#315b52;
  font-weight:500;
  line-height:1.6
}

.room-members small {
  font-size:12px;
  line-height:1.7;
  color:#526d68;
  margin-top:4px;
  overflow-wrap:anywhere
}

.room-step-state {
  display:inline-block;
  margin-top:7px;
  padding:2px 6px;
  border-radius:4px;
  background:#f8eee5;
  color:#7d482f;
  font-size:12px;
  line-height:1.6
}

.room-members li>svg {
  width:12px;
  min-width:12px;
  margin:7px 15px 0;
  color:#9bb2a0
}

.room-members [data-active=true] .room-step-number {
  background:#e4eee2;
  border-color:#b6d0b9;
  color:#27654d
}

.room-members [data-completed=true] .room-step-state {
  background:#e5efe5;
  color:#32623e
}

.room-members [data-completed=true] .room-step-number {
  background:#e5efe5;
  color:#32623e
}

.room-desktop-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:30px;
  align-items:start
}

.room-workspace {
  min-width:0
}

.room-inspector {
  min-width:0;
  padding:23px 20px 20px;
  background:#f6f8f3;
  border-radius:14px
}

.room-inspector .room-agent-settings {
  padding:0;
  border:0;
  margin:0
}

.room-inspector .room-agent-settings>h2 {
  font-size:16px;
  line-height:1.6;
  margin:0 0 7px
}

.room-inspector .room-agent-settings>.room-subtle {
  font-size:12px;
  margin:0 0 22px;
  color:#526d68
}

.room-inspector .room-agent-fields {
  display:block
}

.room-inspector .room-agent-assignment+.room-agent-assignment {
  margin-top:20px;
  padding-top:21px;
  border-top:1px solid #dfe6db
}

.room-inspector .room-agent-heading {
  margin-bottom:17px;
  gap:8px
}

.room-inspector .room-agent-heading h3 {
  font-size:12px
}

.room-inspector .room-agent-heading .room-avatar {
  width:26px;
  height:26px;
  border-radius:7px;
  font-size:12px
}

.room-inspector .field {
  margin-bottom:12px
}

.room-inspector .field-label {
  font-size:12px;
  color:#315b52
}

.room-inspector input,.room-inspector select,.room-inspector textarea {
  font-size:12px;
  border-color:#d9e5dc;
  background:#fff;
  border-radius:8px;
  max-width:100%;
  min-width:0
}

.room-inspector select {
  width:100%;
  min-height:38px;
  padding:8px
}

.room-inspector textarea {
  padding:9px 10px;
  line-height:1.9;
  min-height:80px
}

.room-inspector .room-agent-boundary {
  font-size:12px!important;
  margin-bottom:0!important;
  color:#526d68
}

.room-media-assignment {
  padding-top:20px;
  margin-top:21px;
  border-top:1px solid #dfe6db
}

.room-media-assignment h3 {
  font-size:12px;
  margin-bottom:11px
}

.room-media-assignment>p {
  font-size:12px;
  line-height:1.85;
  color:#315b52;
  overflow-wrap:anywhere;
  margin:8px 0
}

.room-media-assignment>.room-subtle {
  font-size:12px;
  color:#526d68
}

.room-inspector .room-settings {
  margin:21px 0 15px;
  padding:9px 0;
  border-top:1px solid #dfe6db;
  border-bottom:1px solid #dfe6db
}

.room-inspector .room-settings>summary {
  font-size:12px;
  color:#315b52;
  line-height:1.9
}

.room-inspector .room-settings[open]>summary {
  margin-bottom:17px
}

.room-inspector .room-model-grid,.room-inspector .room-option-grid {
  grid-template-columns:minmax(0,1fr);
  gap:6px
}

.room-inspector .room-model-grid {
  margin-top:20px
}

.room-inspector .room-subtle,.room-inspector .field-hint,.room-inspector .room-check {
  font-size:12px;
  color:#526d68
}

.room-inspector .button {
  font-size:12px;
  min-height:38px;
  width:100%
}

.room-assignment-form>.button {
  margin-top:5px;
  border-color:#b9d2c1;
  color:#25634f;
  background:#fff
}

.room-companion-note {
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid #dfe6db
}

.room-companion-note>.robot-mark,.room-companion-note>.xiaoyu-pet {
  flex:none
}

.room-companion-note>p {
  font-size:12px;
  color:#526d68;
  line-height:1.9;
  margin:0
}

.room-transcript {
  padding-top:2px
}

.room-message {
  gap:13px;
  padding-bottom:24px;
  margin-bottom:24px;
  border-bottom:1px solid #e7ede6
}

.room-message-author {
  font-size:12px;
  gap:8px;
  color:#526d68
}

.room-message-author strong {
  font-size:13px;
  color:#173d3c
}

.room-message-text {
  font-size:13px;
  line-height:1.95;
  color:#315446
}

.room-message-author time,.room-message-model {
  font-size:12px;
  color:#526d68
}

.room-message-user .room-message-text {
  background:#f4f7f0;
  border-radius:0 12px 12px 12px
}

.room-avatar-coordinator {
  background:transparent
}

.room-avatar-coordinator>.robot-mark,.room-avatar-coordinator>.xiaoyu-pet {
  max-width:none
}

.room-message-coordinator .room-message-text {
  font-size:12px;
  color:#526d68
}

.room-output-editor>summary {
  font-size:12px;
  color:#315b52
}

.room-next {
  padding:20px 0 0;
  margin:22px 0
}

.room-next>p {
  font-size:13px;
  color:#315b52
}

.room-preview {
  padding:21px;
  border-color:#cbded0;
  background:#f4f8f1
}

.room-preview-title h3 {
  font-size:15px
}

.room-preview-facts {
  gap:16px
}

.room-preview-facts dd {
  font-size:13px
}

.room-composer {
  margin-top:27px;
  border-color:#ccdfd1;
  border-radius:15px;
  padding:18px
}

.room-composer-footer {
  gap:16px
}

.room-composer-footer>p {
  font-size:12px;
  color:#526d68;
  line-height:1.85
}

.room-composer textarea {
  font-size:13px;
  line-height:1.95
}

.room-reference-heading {
  align-items:flex-start;
  flex-wrap:wrap
}

.room-reference-shot {
  padding-top:21px
}

.room-reference-shot .room-prompt-review {
  margin-bottom:16px
}

.agent-room-page textarea {
  scrollbar-color:#adc5b7 #f4f7f2
}

@media(min-width:1550px) {
  .room-desktop-grid {
    grid-template-columns:minmax(0,1fr) 310px;
    gap:34px
  }
  .room-inspector {
    padding:25px
  }
  
}

@media(max-width:1180px) {
  .agent-room-page {
    padding:27px 26px 50px
  }
  .agent-room-page h1 {
    font-size:27px
  }
  .room-desktop-grid {
    grid-template-columns:minmax(0,1fr) 265px;
    gap:22px
  }
  .room-inspector {
    padding:21px 16px
  }
  .room-members li>svg {
    margin-right:4px;
    margin-left:0
  }
  .room-step-state {
    font-size:12px
  }
  .room-members small {
    font-size:12px
  }
  .room-preview-facts {
    grid-template-columns:minmax(0,1fr);
    gap:14px
  }
  .room-composer-footer {
    flex-direction:column;
    align-items:stretch;
    gap:12px
  }
  .room-composer-footer>.button {
    align-self:flex-end
  }
  
}

@media(max-width:1050px) {
  .room-desktop-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .room-inspector {
    padding:24px;
    margin-top:10px
  }
  .room-inspector .room-agent-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px
  }
  .room-inspector .room-agent-assignment+.room-agent-assignment {
    padding:0;
    margin:0;
    border:0
  }
  .room-inspector .room-model-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px
  }
  .room-inspector .button {
    width:auto
  }
  .room-inspector .room-agent-settings>h2 {
    font-size:18px
  }
  .room-companion-note {
    max-width:400px
  }
  .room-composer-footer {
    flex-direction:row;
    align-items:flex-end
  }
  .room-composer-footer>.button {
    align-self:auto
  }
  
}

@media(max-width:760px) {
  .agent-room-page {
    padding:23px 20px 42px
  }
  .agent-room-page h1 {
    font-size:25px;
    line-height:1.5;
    max-width:14em
  }
  .agent-room-page .section-heading p {
    font-size:12px;
    line-height:1.9
  }
  .agent-room-page .section-heading {
    gap:13px;
    margin-bottom:20px
  }
  .room-toolbar {
    gap:11px;
    margin-bottom:20px
  }
  .room-switch {
    max-width:100%
  }
  .room-start-intro {
    gap:14px;
    align-items:flex-start
  }
  .room-start-intro h2 {
    font-size:19px
  }
  .room-start-intro p {
    font-size:12px
  }
  .room-start-intro>.robot-mark,.room-start-intro>.xiaoyu-pet {
    width:90px;
    height:90px
  }
  .room-project-summary {
    padding:15px;
    gap:12px;
    margin-bottom:22px;
    align-items:flex-start
  }
  .room-project-summary>img {
    width:49px;
    height:60px
  }
  .room-project-copy h2 {
    font-size:14px
  }
  .room-project-copy>p {
    font-size:12px
  }
  .room-conversation-summary {
    font-size:12px;
    gap:7px
  }
  .room-members,.room-conversation>.room-members {
    margin:0 0 23px;
    padding-bottom:19px;
    gap:12px
  }
  .room-members li {
    display:block;
    padding:0
  }
  .room-members .room-step-number {
    margin-bottom:9px;
    width:24px;
    height:24px
  }
  .room-step-copy {
    display:block!important;
    padding:0
  }
  .room-members strong {
    font-size:12px
  }
  .room-members small {
    font-size:12px;
    line-height:1.8;
    overflow-wrap:anywhere
  }
  .room-members .room-step-state {
    font-size:12px;
    line-height:1.7;
    margin-top:7px;
    padding:2px 4px
  }
  .room-members li>svg {
    display:none
  }
  .room-desktop-grid {
    gap:20px
  }
  .room-inspector {
    padding:21px 18px
  }
  .room-inspector .room-agent-fields,.room-inspector .room-model-grid {
    display:block
  }
  .room-inspector .room-agent-assignment+.room-agent-assignment {
    padding-top:22px;
    margin-top:20px;
    border-top:1px solid #dfe6db
  }
  .room-inspector .room-agent-heading h3 {
    font-size:13px
  }
  .room-inspector .field-label,.room-inspector input,.room-inspector select,.room-inspector textarea {
    font-size:12px
  }
  .room-inspector .room-subtle,.room-inspector .field-hint,.room-inspector .room-check {
    font-size:12px
  }
  .room-inspector .room-model-fields+.room-model-fields {
    margin-top:20px
  }
  .room-inspector .button {
    width:100%
  }
  .room-inspector .room-settings>summary {
    font-size:12px
  }
  .room-message {
    gap:9px;
    margin-bottom:21px;
    padding-bottom:21px
  }
  .room-message-author {
    gap:7px;
    font-size:12px
  }
  .room-message-author strong {
    font-size:12px
  }
  .room-message-author>span {
    font-size:12px
  }
  .room-message-author time,.room-message-model {
    font-size:12px
  }
  .room-message-text {
    font-size:12px
  }
  .room-message .room-avatar {
    width:29px;
    height:29px
  }
  .room-message-coordinator .room-avatar {
    width:32px;
    height:32px
  }
  .room-preview {
    padding:17px 15px
  }
  .room-composer {
    padding:16px
  }
  .room-composer-footer {
    align-items:stretch;
    flex-direction:column;
    gap:12px
  }
  .room-composer-footer>.button {
    width:100%
  }
  .room-project-copy .tag {
    white-space:normal
  }
  .room-create-form {
    padding-top:19px
  }
  
}

@media(prefers-reduced-motion:reduce) {
  .agent-room-page * {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
  
}

@media(max-width:760px) {
  .room-project-summary {
    flex-wrap:wrap
  }
  .room-project-summary>.button {
    margin-left:61px;
    width:calc(100% - 61px)
  }
  
}

