/* Live demo: Basecamp-style pages behind the extension's chat view (bc-mock.js). Every class starts with "bcm-";
   the only bare elements styled are html/body (background and font). No external fonts or images. */
html, body { background: #f3f7f5; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

#bcm-root { --bcm-ink: #1d2d35; --bcm-muted: #66767d; --bcm-line: #e2e8e5; --bcm-link: #1a62c5; --bcm-blue: #1b6ac9; --bcm-blue-d: #1559ad;
  --bcm-top: 52px; --bcm-gap: 8px; --bcm-bar: 50px; --bcm-pillroom: 150px; }
.bcm-app, .bcm-app *, .bcm-app *::before, .bcm-app *::after, .bcm-tip, .bcm-tip *, .bcm-toast { box-sizing: border-box; }
.bcm-app { --bcm-tipspace: 0px; color: var(--bcm-ink); font-size: 15px; line-height: 1.45; min-height: 100vh; padding-bottom: calc(var(--bcm-bar) + 28px + var(--bcm-tipspace)); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.bcm-app.bcm-tipon { --bcm-tipspace: 72px; }   /* room under the content for the tip, so it never covers the message box */
.bcm-app [hidden] { display: none !important; }
:where(.bcm-app) :where(a) { color: var(--bcm-link); }
:where(.bcm-app) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.bcm-app) :where(button) { cursor: pointer; }
.bcm-ic { flex: none; display: block; }
.bcm-muted { color: var(--bcm-muted); }
.bcm-time { color: var(--bcm-muted); font-size: 13px; font-weight: 400; }
.bcm-empty { margin: 4px 2px; color: var(--bcm-muted); font-size: 13px; }

/* avatars */
.bcm-av { width: var(--s, 24px); height: var(--s, 24px); border-radius: 50%; display: inline-grid; place-items: center; flex: none; color: #fff; font-weight: 700; font-size: calc(var(--s, 24px) * .4); line-height: 1; letter-spacing: .01em; vertical-align: middle; user-select: none; }
.bcm-avs { display: inline-flex; align-items: center; flex: none; }
.bcm-avs .bcm-av { box-shadow: 0 0 0 2px #fff; }
.bcm-avs .bcm-av + .bcm-av { margin-left: -3px; }

/* top bar (outside the sheet) */
.bcm-top { height: var(--bcm-top); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 20px; }
.bcm-top > :first-child { justify-self: start; }
.bcm-top-r { justify-self: end; position: relative; }
.bcm-pill { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px; background: #e1e8e5; border: 0; color: var(--bcm-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.bcm-app a.bcm-pill { color: var(--bcm-ink); text-decoration: none; }
.bcm-pill:hover { background: #d4ddd9; }
.bcm-app a.bcm-acct { display: inline-flex; align-items: center; gap: 8px; color: var(--bcm-ink); text-decoration: none; font-size: 17px; white-space: nowrap; }
.bcm-acct-mark { width: 26px; height: 26px; border-radius: 50%; background: #2f8a6b; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.bcm-caret { font-size: 11px; color: var(--bcm-muted); }

/* pings list under the bell */
.bcm-pop { position: absolute; right: 0; top: 40px; z-index: 40; width: 340px; max-width: calc(100vw - 24px); background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(29,45,53,.07), 0 14px 40px rgba(29,45,53,.18); padding: 6px; }
.bcm-pop-h { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bcm-muted); padding: 8px 10px 4px; }
.bcm-app a.bcm-pop-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--bcm-ink); text-decoration: none; }
.bcm-pop-row:hover { background: #f0f4f2; }
.bcm-pop-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.bcm-pop-t b, .bcm-pop-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-pop-t span { color: var(--bcm-muted); font-size: 13px; }

/* the sheet */
.bcm-sheet { width: calc(100% - 80px); max-width: 1200px; margin: var(--bcm-gap) auto 0; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(29,45,53,.05), 0 2px 8px rgba(29,45,53,.07); min-height: calc(100vh - var(--bcm-top) - var(--bcm-gap) - var(--bcm-bar) - 28px - var(--bcm-tipspace)); }
.bcm-sheet-head { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--bcm-line); font-size: 14px; }
.bcm-crumbs { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }
.bcm-crumbs > * { flex: none; }
.bcm-crumbs > :last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bcm-crumb-proj { font-weight: 700; }
.bcm-crumb-btn { background: none; border: 0; padding: 0; color: var(--bcm-link); text-decoration: underline; font-size: 14px; font-weight: 700; }
.bcm-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.bcm-act { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 5px; background: none; border: 0; color: #4a5a61; font-size: 13px; white-space: nowrap; }
.bcm-act:hover, .bcm-dots:hover { background: #edf2f0; color: var(--bcm-ink); }
.bcm-dots { height: 26px; min-width: 30px; padding: 0 6px; border-radius: 5px; border: 0; background: none; color: #66767d; font-size: 11px; letter-spacing: 1px; line-height: 1; flex: none; }

/* buttons and fields */
.bcm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: 6px; border: 1px solid #cdd7d3; background: #fff; color: var(--bcm-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.bcm-btn:hover { border-color: #aebcb6; }
.bcm-btn.bcm-primary { background: var(--bcm-blue); border-color: var(--bcm-blue); color: #fff; }
.bcm-btn.bcm-primary:hover { background: var(--bcm-blue-d); border-color: var(--bcm-blue-d); }
.bcm-btn.bcm-sm { height: 30px; padding: 0 11px; font-size: 13px; }
.bcm-input { border: 1px solid #cdd7d3; border-radius: 6px; background: #fff; color: var(--bcm-ink); }
.bcm-input:focus { outline: none; border-color: var(--bcm-blue); box-shadow: 0 0 0 3px rgba(27,106,201,.18); }
.bcm-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bcm-chip { height: 26px; padding: 0 11px; border-radius: 999px; border: 0; background: #e9eeec; color: #3d4e56; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bcm-chip:hover { background: #dce4e0; }

/* card table */
.bcm-pagehead { padding: 26px 28px 4px; }
.bcm-h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; overflow-wrap: anywhere; }
.bcm-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bcm-filter { height: 36px; width: 210px; padding: 0 11px; font-size: 14px; }
.bcm-tablebody { padding: 16px 28px 28px; }
.bcm-triage { background: #f3f5f4; border: 1px solid var(--bcm-line); border-top: 4px solid #a9b6b1; border-radius: 4px; padding: 8px 10px 10px; margin-bottom: 14px; }
.bcm-triage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px 2px; }
.bcm-watch { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--bcm-muted); }
.bcm-triage-cards { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.bcm-triage-cards > .bcm-card, .bcm-addform { width: 220px; }
.bcm-addform { background: #fff; border: 1px solid #b9c7c1; border-radius: 4px; padding: 8px; box-shadow: 0 2px 8px rgba(29,45,53,.08); }
.bcm-addta { width: 100%; resize: none; padding: 7px 9px; font-size: 14px; line-height: 1.35; display: block; }
.bcm-addform .bcm-row { margin-top: 8px; gap: 6px; }
.bcm-col-title { font-size: 14px; font-weight: 700; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bcm-n { font-weight: 600; color: var(--bcm-muted); }
.bcm-boardwrap { display: flex; align-items: stretch; gap: 12px; }
.bcm-board { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.bcm-col { flex: 0 1 220px; min-width: 190px; min-height: 380px; display: flex; flex-direction: column; background: var(--t); border-top: 4px solid var(--c); border-radius: 4px; padding: 8px; }
.bcm-col-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 8px 2px; }
.bcm-col-cards { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bcm-addcol { flex: none; align-self: flex-start; width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; border: 0; background: var(--bcm-blue); color: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.bcm-addcol:hover { background: var(--bcm-blue-d); }
.bcm-bands { flex: none; display: flex; align-items: stretch; gap: 8px; padding-bottom: 6px; }
.bcm-band { width: 40px; border: 0; border-radius: 4px; background: #edf0ef; color: #5b6a71; font-size: 12px; font-weight: 700; letter-spacing: .07em; display: flex; justify-content: center; align-items: flex-start; padding: 14px 0; }
.bcm-band span { writing-mode: vertical-rl; white-space: nowrap; }
.bcm-band:hover { filter: brightness(.97); }
.bcm-band-done { background: #e6f4eb; border-left: 3px solid #3d9f63; color: #2a6d44; }
.bcm-bands .bcm-col { flex: none; width: 220px; }
.bcm-col-notnow { --c: #a3adb2; --t: #f1f3f4; }
.bcm-col-done { --c: #3d9f63; --t: #eef8f2; }

/* one card on the table */
.bcm-app a.bcm-card { display: block; background: #fff; border: 1px solid #d9e1dd; border-radius: 4px; padding: 8px 10px; color: var(--bcm-ink); text-decoration: none; box-shadow: 0 1px 1px rgba(29,45,53,.04); }
.bcm-app a.bcm-card:hover { border-color: #b4c2bc; box-shadow: 0 2px 6px rgba(29,45,53,.09); }
.bcm-card-top { display: flex; align-items: flex-start; gap: 8px; }
.bcm-card-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bcm-card-due { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; color: #43535a; }
.bcm-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--bcm-muted); }
.bcm-card-by { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-cc { flex: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bcm-blue); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }
.bcm-late { color: #c0392b; }
.bcm-dragging { opacity: .45; }
.bcm-over { outline: 2px dashed var(--bcm-blue); outline-offset: -2px; }
.bcm-flash { animation: bcm-flash 1.8s ease-out; }
@keyframes bcm-flash { 0% { box-shadow: 0 0 0 4px rgba(27,106,201,.45); } 100% { box-shadow: 0 0 0 4px rgba(27,106,201,0); } }

/* one card's page */
.bcm-cardpage { max-width: 880px; margin: 0 auto; padding: 32px 44px 40px; }
.bcm-card-h1 { font-size: 34px; margin-bottom: 8px; }
.bcm-added { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; color: var(--bcm-muted); font-size: 14px; }
.bcm-added span:not(.bcm-av) { color: var(--bcm-ink); }
.bcm-fields { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 22px; margin: 0; align-items: start; }
.bcm-fields dt { font-weight: 700; text-align: right; font-size: 14px; line-height: 30px; }
.bcm-fields dd { margin: 0; min-width: 0; min-height: 30px; display: flex; align-items: center; flex-wrap: wrap; }
.bcm-fields dd.bcm-rich { display: block; padding-top: 4px; line-height: 22px; }
.bcm-colrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.bcm-move { height: 30px; padding: 0 8px; font-size: 13px; cursor: pointer; }
.bcm-people { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.bcm-person { display: inline-flex; align-items: center; gap: 7px; }
.bcm-due { display: inline-flex; align-items: center; gap: 7px; }
.bcm-boostrow { margin: 18px 0 0 134px; }
.bcm-boost { display: inline-flex; align-items: center; gap: 1px; height: 30px; padding: 0 9px; border-radius: 999px; border: 1px solid #cdd7d3; background: #fff; color: #5b6a71; font-size: 13px; font-weight: 700; }
.bcm-boost:hover { border-color: #e06aa6; color: #c2508f; }
.bcm-hr { border: 0; border-top: 1px solid var(--bcm-line); margin: 26px 0 24px; }
.bcm-timeline { display: flex; flex-direction: column; gap: 22px; }
.bcm-comment { display: flex; align-items: flex-start; gap: 12px; border-radius: 6px; }
.bcm-comment-main { flex: 1; min-width: 0; }
.bcm-comment-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.bcm-comment-head b { font-size: 15px; }
.bcm-event { display: flex; align-items: center; gap: 12px; padding-left: 8px; font-size: 14px; color: #3d4e56; }
.bcm-event-ic { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #ee8c35; color: #fff; display: grid; place-items: center; }
.bcm-app a.bcm-u { color: inherit; text-decoration: underline; }

/* rich text from comments and lines */
.bcm-rich { overflow-wrap: anywhere; }
.bcm-rich p { margin: 0 0 .5em; }
.bcm-rich ul, .bcm-rich ol { margin: .3em 0; padding-left: 1.4em; }
.bcm-rich blockquote { margin: .4em 0; padding-left: 12px; border-left: 3px solid #d3dcd8; color: #4a5a61; }
.bcm-rich pre { margin: .4em 0; background: #f3f5f4; padding: 8px 10px; border-radius: 4px; white-space: pre-wrap; font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.bcm-rich code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.bcm-rich img { max-width: 100%; height: auto; border-radius: 4px; }
.bcm-rich h1, .bcm-rich h2, .bcm-rich h3, .bcm-rich h4 { font-size: 1.05em; margin: .4em 0; }
.bcm-mention { color: var(--bcm-link); font-weight: 700; }
.bcm-att { display: inline-flex; align-items: center; gap: 4px; }

/* the comment box */
.bcm-cbox { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; }
.bcm-cbox-fake { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #d1dad6; border-radius: 6px; background: #fff; color: #87959b; font-size: 17px; text-align: left; cursor: text; }
.bcm-cbox-fake:hover { border-color: #aebcb6; }
.bcm-editor-wrap { flex: 1; min-width: 0; }
.bcm-editor { position: relative; border: 1px solid #c1ccd0; border-radius: 6px; background: #fff; }
.bcm-editor:focus-within { border-color: var(--bcm-blue); box-shadow: 0 0 0 3px rgba(27,106,201,.14); }
.bcm-toolbar { display: flex; align-items: center; gap: 1px; padding: 5px 6px; border-bottom: 1px solid var(--bcm-line); overflow-x: auto; scrollbar-width: none; }
.bcm-toolbar::-webkit-scrollbar { display: none; }
.bcm-tb { flex: none; height: 30px; min-width: 30px; padding: 0 6px; border: 0; border-radius: 4px; background: none; color: #4a5a61; display: inline-grid; place-items: center; font-size: 15px; line-height: 1; }
.bcm-tb:hover { background: #edf2f0; color: var(--bcm-ink); }
.bcm-tb-sep { flex: none; width: 1px; height: 18px; margin: 0 5px; background: #dfe6e3; }
.bcm-g-b { font-weight: 800; }
.bcm-g-i { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 600; }
.bcm-g-s { text-decoration: line-through; font-weight: 600; }
.bcm-g-tt { font-weight: 700; }
.bcm-g-tt small { font-size: 10px; margin-left: 1px; }
.bcm-g-tt em, .bcm-g-col em { font-style: normal; font-size: 9px; margin-left: 2px; color: var(--bcm-muted); }
.bcm-g-col { font-weight: 700; border-bottom: 3px solid #e05a4f; line-height: 1.1; padding: 0 1px; }
.bcm-g-more { font-size: 10px; letter-spacing: 1px; }
.bcm-ed { min-height: 140px; padding: 12px 14px; outline: none; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.bcm-ed:empty::before { content: attr(data-placeholder); color: #93a1a7; pointer-events: none; }
.bcm-ed blockquote { margin: .3em 0; padding-left: 12px; border-left: 3px solid #d3dcd8; }
.bcm-ed pre { margin: .3em 0; background: #f3f5f4; padding: 6px 8px; border-radius: 4px; white-space: pre-wrap; }
.bcm-ed ul, .bcm-ed ol { margin: .2em 0; padding-left: 1.4em; }
.bcm-mentions { position: absolute; z-index: 5; width: 260px; max-width: calc(100% - 8px); background: #fff; border: 1px solid #d1dad6; border-radius: 8px; box-shadow: 0 10px 30px rgba(29,45,53,.16); padding: 4px; }
.bcm-mention-opt { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 14px; }
.bcm-mention-opt > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-mention-opt.bcm-sel, .bcm-mention-opt:hover { background: #e8f1fc; }
.bcm-notify { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0 52px; color: var(--bcm-muted); font-size: 13px; }

/* chat and pings */
.bcm-chatsheet { display: flex; flex-direction: column; min-height: 0; height: calc(100vh - var(--bcm-top) - var(--bcm-gap) - var(--bcm-bar) - 16px - var(--bcm-tipspace)); }
@supports (height: 100dvh) { .bcm-chatsheet { height: calc(100dvh - var(--bcm-top) - var(--bcm-gap) - var(--bcm-bar) - 16px - var(--bcm-tipspace)); } }
.bcm-app.bcm-v-chat, .bcm-app.bcm-v-ping { padding-bottom: calc(var(--bcm-bar) + 16px + var(--bcm-tipspace)); }
.bcm-chat-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 28px 14px; }
.bcm-chat-inner { max-width: 880px; margin: 0 auto; }
.bcm-day { display: flex; align-items: center; gap: 14px; margin: 20px 0 6px; color: var(--bcm-muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.bcm-day::before, .bcm-day::after { content: ""; flex: 1; height: 1px; background: var(--bcm-line); }
.bcm-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; }
.bcm-line.bcm-cont { margin-top: 3px; }
.bcm-av-gap { width: 32px; flex: none; }
.bcm-line-main { flex: 1; min-width: 0; }
.bcm-line-head { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.bcm-mine { justify-content: flex-end; }
.bcm-mine-col { display: flex; flex-direction: column; align-items: flex-end; max-width: min(78%, 560px); min-width: 0; }
.bcm-mine .bcm-line-head { justify-content: flex-end; margin-bottom: 2px; }
.bcm-bubble { background: #e3f0fc; border-radius: 14px; padding: 7px 13px; }
.bcm-chat-compose { padding: 10px 28px 16px; border-top: 1px solid var(--bcm-line); }
.bcm-composer { max-width: 880px; margin: 0 auto; display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid #c9d3d7; border-radius: 22px; background: #fff; }
.bcm-composer:focus-within { border-color: var(--bcm-blue); box-shadow: 0 0 0 3px rgba(27,106,201,.22); }
.bcm-chatta { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: transparent; padding: 5px 0; font-size: 15px; line-height: 22px; max-height: 132px; display: block; }
.bcm-composer-ic { display: flex; align-items: center; gap: 1px; flex: none; }
.bcm-ic-btn { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #66767d; display: grid; place-items: center; }
.bcm-ic-btn:hover { background: #edf2f0; color: var(--bcm-ink); }
.bcm-ic-a { font-weight: 800; font-size: 15px; }

/* project home and Home (on the page background, like Basecamp) */
.bcm-proj, .bcm-homepg { max-width: 1040px; margin: 10px auto 0; padding: 0 24px; text-align: center; }
.bcm-proj-title, .bcm-home-title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.bcm-proj-desc { margin: 0 0 14px; color: var(--bcm-muted); }
.bcm-proj-people { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 26px; }
.bcm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.bcm-tile { background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px rgba(29,45,53,.06), 0 2px 8px rgba(29,45,53,.07); padding: 14px 16px 16px; min-height: 196px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bcm-app a.bcm-tile-link { color: var(--bcm-ink); text-decoration: none; }
.bcm-app a.bcm-tile-link:hover { box-shadow: 0 0 0 1px rgba(27,106,201,.35), 0 4px 14px rgba(29,45,53,.12); }
.bcm-tile h2 { margin: 0 0 6px; font-size: 17px; font-weight: 800; text-align: center; }
.bcm-tile-muted { margin: 0; color: var(--bcm-muted); font-size: 14px; text-align: center; }
.bcm-tile-muted b { color: var(--bcm-ink); }
.bcm-tlines { display: flex; flex-direction: column; gap: 8px; }
.bcm-tline { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.bcm-tline > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-mini { display: flex; gap: 8px; flex: 1; }
.bcm-mini-col { flex: 1; min-width: 0; background: var(--t); border-top: 3px solid var(--c); border-radius: 3px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.bcm-mini-col b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-mini-col b span { color: var(--bcm-muted); font-weight: 600; }
.bcm-mini-col i { display: block; height: 14px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px #dde4e1; }
.bcm-home-btns { display: flex; justify-content: center; gap: 8px; margin: 12px 0 26px; }
.bcm-home-h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bcm-muted); margin: 0 0 12px; }
.bcm-home-grid { display: flex; justify-content: center; }
.bcm-app a.bcm-ptile { width: 280px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px rgba(29,45,53,.06), 0 2px 8px rgba(29,45,53,.07); color: var(--bcm-ink); text-decoration: none; text-align: center; }
.bcm-app a.bcm-ptile:hover { box-shadow: 0 0 0 1px rgba(27,106,201,.35), 0 4px 14px rgba(29,45,53,.12); }
.bcm-ptile b { font-size: 18px; }
.bcm-ptile .bcm-muted { font-size: 13px; }

/* bottom bar */
.bcm-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--bcm-bar); display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #fff; border-top: 1px solid #dde4e1; overflow: hidden; }
.bcm-bottom-me { flex: none; display: flex; }
.bcm-bottom-links { display: flex; align-items: center; gap: 2px; white-space: nowrap; min-width: 0; }
.bcm-blink { height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--bcm-ink); font-size: 14px; font-weight: 500; }
.bcm-blink:hover, .bcm-support:hover { background: #eef2f0; }
.bcm-support { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--bcm-ink); font-size: 14px; font-weight: 500; }
.bcm-pillroom .bcm-support { margin-right: var(--bcm-pillroom); }   /* the extension's "Chat view" switch sits here */
@media (min-width: 1100px) { .bcm-bottom-links { position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%); } }

/* the tip next to the extension's switch, and short messages */
.bcm-tip { position: fixed; right: 18px; bottom: 66px; z-index: 35; max-width: min(290px, calc(100vw - 36px)); padding: 10px 36px 11px 14px; border-radius: 12px; background: #1d2d35; color: #fff; font: 600 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: 0 10px 28px rgba(0,0,0,.24); animation: bcm-in .35s ease-out; }
.bcm-tip[hidden] { display: none; }
.bcm-tip::after { content: ""; position: absolute; right: 54px; bottom: -6px; width: 12px; height: 12px; background: #1d2d35; border-radius: 2px; transform: rotate(45deg); }
.bcm-tip-x { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.bcm-tip-x:hover { background: rgba(255,255,255,.26); }
@keyframes bcm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bcm-toast { position: fixed; left: 50%; bottom: calc(var(--bcm-bar) + 14px); z-index: 36; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; padding: 8px 14px; border-radius: 8px; background: #1d2d35; color: #fff; font: 500 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; transition: opacity .18s, transform .18s; white-space: nowrap; }
.bcm-toast.bcm-on { opacity: 1; transform: translate(-50%, 0); }

/* narrow windows and phones */
@media (max-width: 760px) {
  #bcm-root { --bcm-top: 48px; --bcm-gap: 4px; --bcm-bar: 48px; --bcm-pillroom: 146px; }
  .bcm-wide { display: none !important; }
  .bcm-top { padding: 0 8px; gap: 8px; }
  .bcm-pill { padding: 0 10px; }
  .bcm-sheet { width: calc(100% - 16px); }
  .bcm-sheet-head { padding: 0 6px 0 12px; }
  .bcm-crumbs { gap: 8px; }
  .bcm-acts .bcm-act span { display: none; }
  .bcm-pagehead { padding: 18px 14px 2px; }
  .bcm-h1 { font-size: 30px; margin-bottom: 12px; }
  .bcm-tools { flex-wrap: nowrap; }
  .bcm-filter { flex: 1; width: auto; min-width: 0; }
  .bcm-tablebody { padding: 14px 12px 20px; }
  .bcm-triage-cards > .bcm-card, .bcm-addform { width: 100%; }
  .bcm-watch > span:first-child { display: none; }
  .bcm-boardwrap { flex-direction: column; }
  .bcm-board { scroll-snap-type: x proximity; margin: 0 -12px; padding: 0 12px 6px; scroll-padding: 0 12px; }
  .bcm-col { flex: 0 0 260px; min-height: 300px; scroll-snap-align: start; }
  .bcm-bands { flex-direction: row; flex-wrap: wrap; padding-bottom: 0; }
  .bcm-band { flex: 1 1 0; width: auto; height: 40px; padding: 0 14px; align-items: center; justify-content: flex-start; }
  .bcm-band span { writing-mode: horizontal-tb; }
  .bcm-bands .bcm-col { flex: 1 1 100%; width: auto; min-height: 0; }
  .bcm-cardpage { padding: 20px 14px 28px; }
  .bcm-card-h1 { font-size: 27px; }
  .bcm-added { margin-bottom: 18px; }
  .bcm-fields { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bcm-fields dt { text-align: left; margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--bcm-muted); }
  .bcm-fields dd { min-height: 0; }
  .bcm-fields dd.bcm-rich { padding-top: 0; }
  .bcm-fields dt:first-child { margin-top: 0; }
  .bcm-boostrow { margin-left: 0; }
  .bcm-comment .bcm-av { --s: 32px !important; }
  .bcm-cbox > .bcm-av { display: none; }
  .bcm-toolbar { flex-wrap: wrap; }
  .bcm-cbox-fake { font-size: 16px; }
  .bcm-notify { margin-left: 0; }
  .bcm-chat-scroll { padding: 4px 12px 12px; }
  .bcm-chat-compose { padding: 8px 10px 10px; }
  .bcm-composer { padding-left: 14px; }
  .bcm-composer-ic .bcm-ic-btn { width: 28px; }
  .bcm-mine-col { max-width: 84%; }
  .bcm-proj, .bcm-homepg { padding: 0 10px; }
  .bcm-proj-title, .bcm-home-title { font-size: 28px; }
  .bcm-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bcm-tile { min-height: 0; }
  .bcm-bottom { padding: 0 8px; gap: 6px; }
  .bcm-bottom-me .bcm-av { --s: 26px !important; }
  .bcm-bottom-links { gap: 0; }
  .bcm-blink { padding: 0 5px; font-size: 13px; }
  .bcm-support { padding: 0 4px; }
  .bcm-tip { max-width: min(250px, calc(100vw - 36px)); font-size: 13px; }
}
