body.workframe #nav .ws-ai-chat{display:flex;align-items:center;text-align:left;width:100%;margin:0;color:#124a36;border:1px solid #c6dfd3;background:#eef7f2;font-weight:750}
body.workframe #nav .ws-ai-chat:hover{background:#dcefe5;color:#103f2e;border-color:#a5cbb8}
body.workframe #nav .ws-ai-chat:focus-visible{background:#dcefe5;color:#103f2e;outline:2px solid #146447;outline-offset:2px}
.bc-launch,.bc-panel{position:fixed;right:max(17px,env(safe-area-inset-right));bottom:max(17px,env(safe-area-inset-bottom));z-index:60}
.bc-launch{display:inline-flex;align-items:center;gap:8px;min-height:46px;border-radius:999px;padding:9px 16px;color:#fff;background:#185e43;border:1px solid #125337;box-shadow:0 6px 23px #123b2d42;font-weight:750}
.bc-launch:hover,.bc-send:hover{background:#10442f}.bc-launch svg,.bc-mark svg,.bc-mic svg{width:19px;height:19px;flex:none}
.bc-panel{--bc-green:#185e43;--bc-ink:#152f26;--bc-line:#dcebe3;display:flex;flex-direction:column;width:min(437px,calc(100vw - 34px));height:min(635px,calc(100dvh - 35px));border:1px solid #98c1ad;border-radius:18px;background:#fff;box-shadow:0 14px 58px #153c2d40;color:var(--bc-ink);overflow:hidden;z-index:61}
.bc-panel[hidden],.bc-panel [hidden]{display:none!important}.bc-head{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;background:#ecf7f1;border-bottom:1px solid var(--bc-line)}
.bc-head h2{font:800 1.05rem/1.2 Inter,Arial,sans-serif;margin:0;color:#173a2c}.bc-head p{margin:3px 0 0;color:#46675a;font-size:.81rem}.bc-mark{display:grid;place-items:center;width:34px;height:34px;background:#d7eee1;color:#1e654b;border-radius:9px}
.bc-close{min-width:39px;min-height:39px;background:#fff;border:1px solid var(--bc-line);border-radius:10px;color:var(--bc-green);font-size:1.3rem}.bc-close:hover{background:#d7eee1}
.bc-thread{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:8px;padding:12px;background:#fbfdfc}
.bc-message{padding:8px 10px;border-radius:12px;border:1px solid var(--bc-line);max-width:92%;overflow-wrap:anywhere}
.bc-message p{margin:0;font-size:.91rem;line-height:1.43;white-space:pre-wrap}.bc-message.assistant{align-self:flex-start;background:#fff}.bc-message.user{align-self:flex-end;background:#e8f5ee;border-color:#cde5d7}
.bc-inline-actions,.bc-suggestions{display:flex;flex-wrap:wrap;gap:6px}.bc-inline-actions{margin-top:7px}.bc-suggestions{padding:7px 10px 0}.bc-suggestions:empty{display:none}
.bc-inline-actions button,.bc-suggestions button,.bc-mic{min-height:35px;border-radius:8px;padding:5px 8px;background:#eef7f2;color:#175a42;border:1px solid #c8e2d4;font-size:.8rem;font-weight:700;text-align:left}.bc-inline-actions button:hover,.bc-suggestions button:hover,.bc-mic:hover{background:#d7eee1}
#bc-form{margin:0;padding:8px 10px 0}#bc-input{width:100%;resize:vertical;min-height:43px;max-height:116px;font-size:1rem;padding:7px 9px;border:1px solid #9cc4b0;border-radius:10px;background:#fff;color:var(--bc-ink)}
.bc-form-actions{display:flex;align-items:center;gap:5px;margin-top:5px}.bc-form-actions span{font-size:.75rem;color:#496658;flex:1}.bc-mic{display:inline-flex;align-items:center;gap:4px}.bc-send{min-height:36px;padding:5px 13px;border-radius:9px;background:var(--bc-green);color:#fff;border:1px solid #125337;font-weight:750}.bc-foot{margin:6px 10px 8px;color:#526e61;font-size:.73rem;line-height:1.26}
.bc-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:560px){.bc-panel{right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);height:min(87dvh,638px)}.bc-launch{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}}
@media print{.bc-launch,.bc-panel{display:none!important}}
.bc-draft{flex:0 0 auto;padding:7px 10px;background:#f0f8f3;border-bottom:1px solid var(--bc-line);max-height:34%;overflow:auto;overscroll-behavior:contain}
.bc-draft-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
.bc-draft-top strong{display:block;color:#173d2e;font-size:.91rem}.bc-draft-top small{display:block;color:#3f6555;font-size:.76rem;margin-top:2px}
.bc-draft-state{flex:none;border:1px solid #c9e4d5;background:white;color:#245b45;border-radius:20px;padding:4px 7px;font-size:.74rem;font-weight:750}
.bc-draft-top button{min-height:35px;color:#185b43;background:white;border:1px solid #c9e4d5;border-radius:7px;padding:4px 9px}
.bc-draft details{margin-top:5px;border-top:1px solid #d5e8df}.bc-draft details summary{cursor:pointer;list-style-position:inside;font-size:.78rem;font-weight:750;color:#235440;padding:5px 0}.bc-draft details summary span{float:right;font-weight:600;color:#546b60}
.bc-draft-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0}
.bc-draft-fields>div{min-width:0;border:1px solid #dce9e2;border-radius:7px;background:#fff;padding:4px 5px}.bc-draft-fields .bc-draft-gap{background:#fff7e8;border-color:#ebd3a8}
.bc-draft-fields dt{display:flex;gap:4px;justify-content:space-between;flex-wrap:wrap;font-size:.75rem;font-weight:750;color:#274d3d}.bc-draft-fields dt span{font-size:.69rem;font-weight:700;color:#785322}.bc-draft-fields dt span.bc-captured{color:#246b4c}.bc-draft-fields dd{margin:3px 0 0;line-height:1.28;font-size:.76rem;color:#3c594d;white-space:pre-wrap;overflow-wrap:anywhere}.bc-unassigned{grid-column:1/-1}
@media(max-height:630px){.bc-draft{max-height:29%}}
.bc-captured-glance{margin:5px 0 0;font-size:.79rem;line-height:1.35;color:#2a4e40;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.bc-captured-glance b{color:#1a6246}
.bc-draft{max-height:32%}
.bc-suggestions button[data-bc-action=save]{background:#17583f;border-color:#17583f;color:white}
.bc-suggestions button[data-bc-action=save]:hover{background:#124230}
