/* Shared web workspace: mobile first, with room to work on larger screens. */
.bm-page{--workspace-border:#39333f;--workspace-muted:#c1b8c9}
.bm-page button:disabled{opacity:.5;cursor:default}
.bm-page .c2-nav a{transition:background .15s,color .15s}
.bm-page .c2-notice{overflow-wrap:anywhere}
.bm-compose-page .composer-heading{max-width:760px}
.bm-compose-page .c2-editor{max-width:760px}
.bm-compose-page .composer-caption-meta{display:flex;justify-content:space-between;gap:12px;color:var(--workspace-muted);font-size:12px;padding:4px 0 14px}
.bm-compose-page #media-preview{position:relative;margin:16px 0;border-radius:18px;overflow:hidden;background:#09090c}
.bm-compose-page #media-preview img,.bm-compose-page #media-preview video{display:block;height:auto;min-height:180px;max-height:48dvh;width:100%;object-fit:contain}
.bm-compose-page #media-preview [hidden]{display:none}
.bm-compose-page .bm-media-picker.is-dragging{outline:2px dashed #ff9fbc;outline-offset:6px;border-radius:18px}
.bm-compose-page .bm-media-access{font-size:12px}
.bm-compose-page .bm-audience-menu>summary{min-height:44px;font-size:12px}
.bm-compose-page .bm-publish-area{bottom:calc(92px + env(safe-area-inset-bottom));padding:12px 0 4px}
.bm-compose-page .bm-publish-area:has(.is-error){box-shadow:0 -8px 24px #0003}
.bm-page .bm-inbox-tabs a{text-decoration:none;min-height:44px}
.bm-page .bm-thread-avatar,.bm-page .bm-thread-avatar img{border-radius:50%}
.bm-page .bm-thread-copy small{font-size:11px;color:var(--workspace-muted)}
.bm-page .bm-chat-panel{display:flex;flex-direction:column;height:100%;min-height:0}
.bm-page .bm-conversation-pane{overflow:hidden;min-height:0}
.bm-page .bm-chat-panel .c2-message-list{flex:1;overflow:auto;overscroll-behavior:contain;min-height:120px;margin:0;padding:20px 16px;scrollbar-width:thin}
.bm-page .bm-chat-heading{position:relative;flex-shrink:0;padding:16px}
.bm-page .bm-chat-heading a{min-height:44px;display:flex;align-items:center;text-decoration:none}
.bm-page .bm-chat-panel>.c2-help{font-size:11px;margin:6px 16px}
.bm-page .c2-bubble{background:#302a37;color:#f7f2f8;max-width:85%;box-shadow:none}
.bm-page .c2-bubble small{color:#d5c4d3;display:block;margin-bottom:5px}
.bm-page .c2-bubble .c2-body{line-height:1.55;font-size:15px}
.bm-page .bm-quote-button{background:transparent;border:0;font-size:11px;padding:4px 8px;min-height:36px;color:#e9bbcf}
.bm-page .c2-bubble details summary{font-size:11px;min-height:36px;padding:4px 0}
.bm-page .bm-chat-compose{flex-shrink:0;padding:12px;position:relative;bottom:auto}
.bm-page .bm-chat-options{flex-shrink:0;padding:0 16px;font-size:11px}
.bm-page .bm-chat-options>summary{min-height:36px;font-size:11px}
.bm-page .bm-send-feedback{margin:4px 16px;font-size:12px}
.bm-chat-panel .c2-message-list:empty:before{content:'Start something together. Say hello to this builder.';margin:auto;max-width:230px;text-align:center;color:#c1b8c9;font-size:15px}
@media(min-width:1000px){
 .bm-page{padding-bottom:24px}
 .bm-page .c2-header{width:min(1240px,calc(100% - 48px));border-radius:20px;background:#1c1720;padding:12px 20px}
 .bm-page .c2-header>div>a{font-size:12px;padding:8px 14px}
 .bm-page .c2-layout{display:grid;width:min(1240px,calc(100% - 48px));grid-template-columns:180px minmax(0,1fr);gap:28px;padding:28px 0;min-height:calc(100dvh - 130px);background:transparent;margin:0 auto}
 .bm-page .c2-nav{position:sticky;inset:auto;top:110px;transform:none;display:flex;flex-direction:column;width:auto;height:auto;background:#1c1720;border:1px solid var(--workspace-border);border-radius:20px;padding:12px;gap:6px;margin:0;color-scheme:dark}
 .bm-page .c2-nav a{flex-direction:row;justify-content:flex-start;gap:12px;padding:12px;font-size:14px;min-height:48px;color:#c8bfce}
 .bm-page .c2-nav a[aria-current]{background:#452435;color:#ffc2d4}
 .bm-page .c2-footer{width:min(1000px,calc(100% - 280px));background:transparent}
 .bm-page .bm-inbox{grid-template-columns:minmax(250px,32%) minmax(0,1fr);height:calc(100dvh - 250px);min-height:440px;max-height:none}
 .bm-compose-page .bm-publish-area{bottom:16px}
}
@media(max-width:999px) and (min-width:741px){.bm-page .c2-header,.bm-page .c2-layout,.bm-page .c2-footer{width:calc(100% - 40px)}.bm-page .c2-nav{width:min(650px,calc(100% - 40px))}}
@media(max-width:740px){
 .bm-page .bm-inbox.has-conversation:not(.choosing-builder){height:calc(var(--bm-screen) - 285px);min-height:360px}
 .bm-page .bm-inbox.has-conversation:not(.choosing-builder) .bm-conversation-pane{height:100%}
 .bm-compose-page .c2-editor{padding:16px;border-radius:20px}
 .bm-compose-page .composer-heading{margin-bottom:14px}
 .bm-compose-page #media-preview img,.bm-compose-page #media-preview video{max-height:42dvh}
 .bm-chat-keyboard .bm-chat-compose{position:relative;inset:auto;width:auto;box-shadow:none;border-radius:0}
 .bm-chat-keyboard .bm-chat-panel{padding-bottom:0}
 .bm-chat-keyboard .c2-header,.bm-chat-keyboard .bm-inbox-toolbar,.bm-chat-keyboard .bm-inbox-tabs{display:none}
 .bm-chat-keyboard .c2-layout{padding:0;min-height:0}
 .bm-chat-keyboard .bm-inbox.has-conversation{height:var(--chat-viewport,100dvh)!important;min-height:0!important;border-radius:0}
}
@media(prefers-reduced-motion:reduce){.bm-page *{scroll-behavior:auto!important;transition:none!important}}
