.building-reza-chat{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;min-height:0;background:#0c1e30;color:#eaf1f7;border:1px solid #3d5268;border-radius:18px;padding:16px;font-family:system-ui,sans-serif;overflow:hidden}
.building-reza-chat *{box-sizing:border-box}.building-chat-heading{display:flex;gap:11px;align-items:center;flex-shrink:0}.building-chat-heading img{width:42px;height:42px;border:2px solid #e9c367;border-radius:50%;object-fit:cover}.building-chat-kicker{font-size:9px;letter-spacing:.16em;color:#e9c367}.building-reza-chat h2#building-reza-title{font-size:17px!important;line-height:1.25!important;margin:3px 0 0!important;color:#f1f4fa}
.building-reza-chat p.building-chat-intro{margin:0!important;font-size:12px!important;line-height:1.5!important;color:#b6c8d8;flex-shrink:0}
.building-chat-prompts{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.building-chat-prompts button{font:11px/1.4 system-ui,sans-serif;text-align:left;color:#eacb88;background:#142c41;border:1px solid #435970;border-radius:9px;padding:7px 9px;cursor:pointer}.building-chat-prompts button:hover{border-color:#eacb88}.building-chat-prompts button:focus-visible{outline:2px solid #f2ce7d;outline-offset:2px}
.building-chat-host{display:flex;flex:1;min-height:0;flex-direction:column}
body.has-building-chat .building-chat-host .reza-backdrop{position:static!important;inset:auto!important;display:flex!important;width:100%!important;flex:1!important;min-height:0!important;height:auto!important;padding:0!important;background:none!important;backdrop-filter:none!important;align-items:stretch!important;z-index:auto!important}
body.has-building-chat .building-chat-host .reza-panel{display:flex!important;flex-direction:column!important;flex:1!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
body.has-building-chat .building-chat-host .reza-head,body.has-building-chat .building-chat-host .reza-quick,body.has-building-chat .building-chat-host .reza-fine{display:none!important}
body.has-building-chat .building-chat-host .reza-messages{flex:1!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:4px 0 12px!important;gap:10px!important}
body.has-building-chat .building-chat-host .reza-msg{font:13px/1.6 system-ui,sans-serif!important;max-width:97%!important;overflow-wrap:anywhere;padding:11px!important}
body.has-building-chat .building-chat-host .reza-form{flex-shrink:0!important;display:flex!important;gap:7px!important;padding:12px 0 0!important;margin-top:auto!important;position:static!important;border-top:1px solid #3b5167!important;background:none!important}
body.has-building-chat .building-chat-host .reza-form input{font:16px system-ui,sans-serif!important;width:100%!important;min-width:0!important;padding:11px!important;min-height:46px!important}
body.has-building-chat .building-chat-host .reza-form button{font:700 13px system-ui,sans-serif!important;min-height:46px!important;padding:0 12px!important}
@media(min-width:1100px) and (pointer:fine){body.has-building-chat{padding-right:380px!important}.building-reza-chat{position:fixed;right:16px;top:16px;bottom:16px;width:348px;height:calc(100dvh - 32px);z-index:20}}
@media(max-width:1099px),(pointer:coarse){.building-reza-chat{position:relative;width:calc(100% - 32px);max-width:720px;height:560px;max-height:85dvh;margin:24px auto}}
/* Reza's office uses the approved desk portrait as the room's main scene. */
.office-desk{margin:22px 0 26px;border:1px solid #806b48;border-radius:18px;overflow:hidden;background:#0c1e30;box-shadow:0 14px 50px #0004}.office-desk img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#07111f}.office-desk figcaption{padding:12px 16px;border-top:1px solid #806b48;color:#d7c18d;font-size:12px}.office-wrap{max-width:1000px}.office-options{margin-top:20px}

/* These scoped essentials also support the self-contained Theater page. */
body.has-building-chat .building-chat-host .reza-browser{display:none!important}
body.has-building-chat .building-chat-host .reza-msg.assistant{background:#142d44;color:#e9f0f7;border-radius:13px;white-space:pre-wrap}
body.has-building-chat .building-chat-host .reza-msg.user{align-self:flex-end;background:#e9bf61;color:#102132;border-radius:13px;white-space:pre-wrap}
body.has-building-chat .building-chat-host .reza-msg b{display:block;font-size:10px;letter-spacing:.08em;margin-bottom:4px}
body.has-building-chat .building-chat-host .reza-form input{color:#f0f4f8;background:#071522;border:1px solid #40566e;border-radius:10px}
body.has-building-chat .building-chat-host .reza-form button{background:#efc565;color:#102132;border:0;border-radius:10px;cursor:pointer}
body.has-building-chat .building-chat-host .reza-link{color:#edcb84;text-decoration:underline}
body.has-building-chat .building-chat-host .reza-book-card{padding:12px;border:1px solid #40566e;border-radius:10px;margin-top:8px}
body.has-building-chat .reza-command-gate:not(.open){display:none}
body.has-building-chat .building-chat-host .reza-messages{display:flex!important;flex-direction:column!important}
