:root{--green:#f66b21;--deep:#292724;--mint:#fff0e5;--lime:#ffd6bc;--ink:#292724;--muted:#827e79;--line:#eae5df;--bg:#f7f5f2;--amber:#c38b35;--purple:#8378ad}*{box-sizing:border-box}body{margin:0;font:14px/1.5 'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #a1bd63;outline-offset:2px}input,select,textarea{width:100%;border:1px solid #dbe1db;border-radius:9px;background:white;padding:11px 13px;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#527d68;box-shadow:0 0 0 3px #f66b210d}label{display:block;font-size:12px;font-weight:600;margin:14px 0}label input,label select{margin-top:7px}button{border:0;border-radius:9px;padding:11px 17px}.primary{background:var(--green);color:#fff;font-weight:600}.primary:hover{background:#db5510}.secondary{background:#f1f5ef;color:var(--green);border:1px solid #dce6da}.small{font-size:12px;padding:9px 13px;white-space:nowrap}.icon-btn{background:white;border:1px solid var(--line);padding:7px 11px;font-size:18px}.muted,small{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;font-weight:600;margin-bottom:0}h2{font-size:16px;font-weight:600}h3{font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--muted);margin-bottom:5px}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:30px 18px 16px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:6px;color:var(--green);text-decoration:none;font-size:39px;font-weight:800;margin:0 12px 28px;letter-spacing:-3px}.logo>span{color:#9cb963;font-size:22px;align-self:flex-start;margin:0 6px 0 -5px}.logo b{font-size:18px;letter-spacing:1px}.logo small{display:block;font-size:7px;letter-spacing:1.9px}.business-label{color:var(--muted);font-size:9px;letter-spacing:1.4px;margin:0 10px 24px}.business-label select{letter-spacing:0;font-weight:600;font-size:13px;background:#f7f9f5;border:1px solid var(--line)}nav{display:grid;gap:8px}.nav{display:flex;align-items:center;gap:10px;text-align:left;background:white;color:#77817c;padding:12px;font-size:17px}.nav span{font-size:12px}.nav.active{background:var(--mint);color:var(--green);font-weight:600}.nav b{font-size:10px;margin-left:auto;background:white;border-radius:6px;padding:1px 6px}.sidebar-bottom{margin-top:auto}.side-tip{padding:16px;border:1px solid #e6ebdc;background:#fafbf6;border-radius:12px;margin-bottom:25px}.side-tip span{color:#91a964;display:block;font-size:22px}.side-tip b{font-size:11px}.side-tip p{font-size:10px;color:var(--muted);margin:7px 0 0}.profile{display:flex;align-items:center;gap:9px;padding:0 7px}.avatar{width:35px;height:35px;flex-shrink:0;border-radius:50%;background:#edf2e5;display:grid;place-items:center;color:#527449;font-size:12px;font-weight:600}.profile b{font-size:11px}.profile small{display:block;font-size:9px}.profile button{margin-left:auto;background:none;padding:5px}.workspace{margin-left:235px;padding:30px 32px 0}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.top-actions{display:flex;align-items:center;gap:14px}.sync{font-size:10px;color:#7a8c79}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stats button{background:#fff;border:1px solid var(--line);padding:17px 20px;text-align:left;border-radius:12px}.stats button:hover{border-color:#b4c3a5}.stats span{display:block;font-size:10px;color:#697970}.stats strong{display:block;font-size:29px;font-weight:600;line-height:1.6}.stats small{font-size:9px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;margin-left:3px}.amber{background:#d9ac59}.green{background:#6b9b74}.purple{background:#9c8ec2}.inbox-grid{display:grid;grid-template-columns:335px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;height:calc(100vh - 305px);min-height:470px}.conversation-list{border-right:1px solid var(--line);overflow:auto}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 18px 10px}.list-heading h2{font-size:13px;margin:0}.list-heading span{font-size:10px;color:var(--muted)}.search{margin:0 16px 13px;width:calc(100% - 32px);font-size:10px;background:#fafbf8;border:1px solid #eff0eb}.tabs{display:flex;gap:5px;margin:0 14px 12px;flex-wrap:wrap}.tabs button{padding:5px 8px;font-size:9px;background:white;color:#8c938b;border-radius:6px}.tabs .active{background:var(--mint);color:var(--green)}.conversation-item{display:flex;width:100%;gap:10px;padding:16px;text-align:left;background:white;border-radius:0;border-top:1px solid #f2f3ee}.conversation-item.active{background:#fff3e9;border-left:3px solid #f66b21;padding-left:13px}.conversation-item:hover{background:#faf6f1}.conversation-info{min-width:0;flex:1}.conversation-info header{display:flex;justify-content:space-between;align-items:center;gap:8px}.conversation-info b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-info time{font-size:9px;color:#9a9f96}.conversation-info p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#899186;margin:4px 0 6px}.conversation-info footer{display:flex;justify-content:space-between}.pill{display:inline-block;font-size:9px;padding:3px 8px;border-radius:5px;background:#eff3eb;color:#6d825e}.pill.pending{background:#fff3da;color:#a37b2c}.pill.human{background:#e8f3ea;color:#568262}.pill.bot{background:#eeeaf8;color:#8672a2}.pill.closed{background:#f0f0ee;color:#888}.unread{display:grid;place-items:center;min-width:16px;height:16px;border-radius:50%;background:#e9631e;color:white;font-size:9px}.chat{min-width:0;position:relative;background:#faf8f5}.empty-chat{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;text-align:center;padding:24px}.empty-icon{display:grid;place-items:center;background:#edf2e4;border-radius:24px;width:80px;height:80px;color:#9bb67b;font-size:40px;margin-bottom:23px}.empty-chat h2{font-size:22px;letter-spacing:-.5px;line-height:1.4}.empty-chat p{font-size:12px;color:#8b9485;line-height:1.8;margin-bottom:25px}#chatContent{display:flex;flex-direction:column;height:100%}.chat-header{display:flex;gap:10px;align-items:center;padding:15px 20px;border-bottom:1px solid var(--line);background:white}.contact-name{flex:1;min-width:0}.contact-name h2{font-size:13px;margin:0;overflow:hidden;text-overflow:ellipsis}.contact-name small{font-size:10px}.context-bar{display:flex;justify-content:space-between;padding:8px 20px;font-size:9px;color:#85907f;border-bottom:1px solid #edf1e6;background:#f6f8ef}.context-bar .expired{color:#a16932}#messages{flex:1;overflow:auto;padding:16px 24px;min-height:100px}.message{max-width:78%;border:1px solid #e8ebe3;border-radius:12px;padding:10px 13px;margin-bottom:12px;width:fit-content;background:#fff;overflow-wrap:anywhere}.message.out{margin-left:auto;background:#fff0e4;border-color:#f5ddca}.message.note{margin:12px auto;background:#fff6df;border:1px dashed #e3cf9e;max-width:90%;min-width:45%}.message .author{font-size:9px;color:#86917b;display:block;margin-bottom:5px}.message p{white-space:pre-wrap;font-size:12px;line-height:1.6;margin-bottom:5px}.message footer{font-size:8px;color:#89917f;text-align:right}.message img{max-width:100%;max-height:240px;border-radius:7px}.message .failed,.message .unknown{color:#a45c3a}.composer{background:white;border-top:1px solid var(--line);padding:10px 20px}.composer-tabs{display:flex;gap:17px;margin-bottom:4px}.composer-tabs button{padding:4px 0;background:none;color:#8a9385;font-size:9px;border-radius:0}.composer-tabs .active{color:var(--green);border-bottom:2px solid #6e9061}.composer p{font-size:9px;color:#89907e;margin:5px 0}.composer textarea{resize:vertical;font-size:12px;max-height:130px;padding:8px 0;border:0;box-shadow:none}.composer-footer{display:flex;justify-content:space-between;align-items:center}.composer-footer span{font-size:9px;color:#929a88}.tags-row{display:flex;align-items:end;gap:8px;margin-top:8px;border-top:1px solid #f0f1eb}.tags-row label{font-size:9px;flex:1;margin:6px 0}.tags-row input{font-size:10px;padding:6px;margin-top:2px}.tags-row button{padding:6px 10px;margin-bottom:0}.workspace-footer{font-size:9px;color:#a0a797;padding:15px 0;display:flex;justify-content:space-between}.page-panel{padding:28px;background:white;border:1px solid var(--line);border-radius:14px;min-height:500px}.page-panel>p,.section-heading p{font-size:12px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-heading h2{margin-bottom:8px}.settings-form{max-width:560px}.integration-box{border-top:1px solid var(--line);margin-top:25px;padding-top:25px}.integration-box p{font-size:12px}.integration-box input{max-width:700px}.team-row,.audit-row{display:flex;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.team-row .person{flex:1}.person small{display:block}.audit-row time{font-size:10px;color:var(--muted)}.audit-row span{flex:1}dialog{border:1px solid var(--line);border-radius:16px;padding:26px;width:440px;max-width:95vw}dialog::backdrop{background:#102e2659;backdrop-filter:blur(3px)}.check{display:flex;align-items:center;gap:10px}.check input{width:auto;margin:0}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f7f8f2}.login-card{width:420px;max-width:92vw;padding:40px}.brand-mark{font-size:53px;font-weight:800;color:var(--green);margin-bottom:24px;letter-spacing:-7px}.brand-mark span{font-size:30px;color:#91ac5a}.login-card h1{font-size:31px;margin-bottom:14px}.login-card>p{color:#8c9585;font-size:12px}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:24px}.login-card small{font-size:10px;display:block;margin-top:20px}.login-art{background:var(--green);height:80vh;width:43vw;border-radius:24px;color:#e6edcf;padding:65px;margin-left:40px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-art .star{font-size:100px;color:#c3d59c;margin-bottom:30px}.login-art h2{font-size:36px;font-weight:400;line-height:1.35;letter-spacing:-1px}.art-badge{font-size:11px;margin-top:35px;color:#bfceac;border:1px solid #648572;padding:10px 15px;border-radius:30px;width:fit-content}.error{color:#a74f3b;font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10;background:#292724;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 8px 24px #0002;display:none;max-width:90vw;font-size:12px}.load-more{background:none;width:100%;font-size:10px;color:#708b60;padding:12px}.empty-list{text-align:center;padding:38px 20px;color:#8d9785;font-size:12px}@media(min-width:1700px){.inbox-grid{grid-template-columns:390px 1fr}.workspace{padding:35px 45px 0}}@media(max-width:1200px){.sidebar{width:195px;padding:24px 12px}.workspace{margin-left:195px;padding:24px 20px 0}.inbox-grid{grid-template-columns:285px 1fr}.stats{gap:8px}.stats button{padding:14px}.chat-header{padding:12px;gap:7px}.chat-header .small{font-size:10px;padding:7px}.chat-header .pill{display:none}}@media(max-width:850px){.sidebar{position:static;width:100%;height:auto;padding:12px;flex-direction:row;align-items:center;gap:15px}.logo{margin:0;font-size:29px}.logo b{font-size:13px}.logo small,.business-label,.sidebar-bottom{display:none}nav{display:flex;margin-left:auto;gap:3px}.nav{padding:8px}.nav span{display:none}.workspace{margin-left:0;padding:18px 12px 0}.stats small{display:none}.stats span{font-size:9px}.stats strong{font-size:24px}.inbox-grid{height:auto;min-height:600px;grid-template-columns:240px 1fr}.chat{min-height:650px}.chat-header{flex-wrap:wrap}.context-bar{display:block}.stats{margin-bottom:14px}.workspace-footer span{display:none}.login-art{display:none}}@media(max-width:600px){.inbox-grid{display:block}.conversation-list{max-height:280px;border-right:0;border-bottom:1px solid var(--line)}.chat{height:650px}.topbar{margin-bottom:16px}.topbar h1{font-size:23px}.sync{font-size:9px}.stats{grid-template-columns:repeat(2,1fr)}.stats button{padding:10px 14px}.stats strong{line-height:1.3}.page-panel{padding:18px}.message{max-width:90%}.team-row{flex-wrap:wrap}.workspace-footer{font-size:8px}.login-card{padding:24px}}
@media(max-width:850px){.sidebar{flex-wrap:wrap}.business-label{display:block;order:3;width:calc(50% - 8px);margin:0;font-size:8px}.business-label select{margin-top:3px;padding:7px 10px}.sidebar-bottom{display:block;order:4;width:calc(50% - 8px);margin-top:0}.side-tip{display:none}.profile{padding:0}.profile button{font-size:10px}.profile small{font-size:8px}.context-bar span{display:block}}

/* MINKURS Automate · visual identity and flexible conversation layout */
:root{--green:#bd470e;--deep:#292724;--mint:#fff0e5;--ink:#292724;--muted:#78736e;--line:#eae5df;--bg:#f7f5f2}
.primary{background:#c44c10}.primary:hover{background:#a83d09}.secondary{background:#fff5ed;color:#ad450f;border-color:#f1dccd}
button:focus-visible,a:focus-visible{outline-color:#f66b21}input:focus,select:focus,textarea:focus{border-color:#ed8e58;box-shadow:0 0 0 3px #f66b2115}
.sidebar{width:224px;padding:18px 15px;background:#fffdfa}.logo{display:block;margin:0 5px 20px;line-height:0;letter-spacing:0}.logo img{width:100%;height:112px;object-fit:contain}.brand-mark{margin-bottom:18px;line-height:0;letter-spacing:0}.brand-mark img{width:245px;height:142px;max-width:100%;object-fit:contain}
.business-label select{background:#f8f5f0}.nav{color:#77716b}.nav.active{background:#fff0e5;color:#a9430e}.side-tip{background:#faf6f0;border-color:#eee4d7}.side-tip span{color:#ed7938}.avatar{background:#f3e9df;color:#8c5532}.profile button{color:var(--ink)}
.workspace{margin-left:224px;padding:20px 24px 0;height:100dvh;display:flex;flex-direction:column;min-height:680px}.topbar{margin-bottom:16px;flex-shrink:0}h1{font-size:26px}.sync{color:#737970}.stats{gap:12px;margin-bottom:16px;flex-shrink:0}.stats button{padding:12px 17px}.stats strong{font-size:26px;line-height:1.35}.stats span{font-size:11px;color:#655f58}.stats small{color:#807970}.stats button:hover{border-color:#eeb18d}
#inboxView{flex:1;display:flex;flex-direction:column;min-height:0}.inbox-grid{flex:1;grid-template-columns:300px minmax(0,1fr);height:auto;min-height:0;box-shadow:0 5px 25px #29272405}.chat,#chatContent{min-height:0;overflow:hidden}#messages{min-height:0;flex:1 1 0;overflow-y:auto;padding:18px 22px}.chat-header,.context-bar,.composer{flex-shrink:0}.chat-header{padding:12px 16px}.context-bar{background:#f6f2ed;color:#756c61}.conversation-item.active{border-left-color:#f66b21}.conversation-info b{font-size:12px}.conversation-info p{font-size:11px;color:#77716b}.search{font-size:12px;background:#faf8f5;border-color:var(--line)}.tabs button{font-size:10px;color:#746b63}.pill{font-size:10px}.pill.human{background:#eaf0e8;color:#4b6744}.pill.bot{background:#eeeaf5;color:#6e5a8c}
.message p{font-size:13px;line-height:1.65}.message .author{font-size:10px;color:#746b61}.message footer{font-size:9px;color:#81766b}.composer{padding:8px 16px}.composer textarea{height:54px;min-height:54px;max-height:100px;padding:6px 0}.composer-tabs button{font-size:10px;color:#766e65}.composer-tabs .active{color:#b64a14;border-color:#f66b21}.composer p{color:#82776c}.tags-row{margin-top:5px}.tags-row label{margin:4px 0}.workspace-footer{padding:10px 0;flex-shrink:0;color:#827970}.empty-icon{background:#fff0e3;color:#f66b21}.empty-chat p{color:#82796e}.page-panel{overflow:auto;min-height:0;flex:1}.login-page{background:#f7f5f2}.login-card{width:460px}.login-card h1{font-size:30px;line-height:1.2}.login-card>p{color:#766e66}.login-art{background:#292724;color:#fff7ef;padding:58px}.login-art .star{color:#f66b21}.login-art h2{font-size:40px}.art-badge{color:#f2cfb7;border-color:#655343}.login-card .primary{background:#c44c10}
@media(min-width:1700px){.inbox-grid{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:1200px) and (min-width:851px){.sidebar{width:195px}.workspace{margin-left:195px;padding:18px 18px 0}.inbox-grid{grid-template-columns:260px minmax(0,1fr)}.chat-header .small{font-size:10px;padding:7px}.stats small{display:none}}
@media(max-width:850px){.sidebar{position:static;width:100%;padding:10px 14px;gap:10px}.logo{width:155px;margin:0}.logo img{height:72px}.workspace{margin-left:0;padding:16px 12px 0;height:auto;min-height:0}.topbar{margin-bottom:14px}.inbox-grid{flex:none;min-height:0;grid-template-columns:230px minmax(0,1fr)}.chat{height:75dvh;min-height:580px}.business-label{width:calc(50% - 5px)}.sidebar-bottom{width:calc(50% - 5px)}.stats{margin-bottom:14px;gap:8px}.stats button{padding:10px}.stats strong{font-size:24px}.context-bar{display:block}.chat-header{flex-wrap:wrap}.page-panel{min-height:400px}.profile b{font-size:11px}.profile button{font-size:12px}}
@media(max-width:600px){.inbox-grid{display:block}.conversation-list{max-height:240px}.chat{height:78dvh;min-height:560px}.stats{grid-template-columns:repeat(2,1fr)}.stats span{font-size:10px}.stats small{display:none}#messages{padding:14px}.message{max-width:92%}.chat-header .contact-name{min-width:130px}.composer{padding:8px 12px}.composer-tabs{gap:13px}.tags-row input{font-size:11px}.workspace-footer{font-size:9px}.login-card{padding:25px}.login-card h1{font-size:27px}}

/* Preserve the confirmed live layout corrections. */
.workspace{height:auto;min-height:100dvh}.stats button{padding:8px 14px}.stats strong{font-size:22px}.stats small{display:none}.inbox-grid{height:calc(100dvh - 195px);min-height:650px;flex:none}#messages{min-height:350px}.composer textarea{height:42px;min-height:42px}
@media(min-width:851px){.sidebar{height:100dvh;overflow-y:auto}.sidebar>*{flex-shrink:0}.sidebar-bottom{padding-top:16px}.side-tip{display:none}}
@media(max-width:850px){.inbox-grid{height:auto}.chat{height:780px}}
/* Per-business appearance, shared by all authorized users. */
#app{background:var(--a-background,#fff9f0);color:var(--a-background-ink,#292724)}
#app .workspace{background:var(--a-background,#fff9f0)}
#app .stats button,#app .conversation-list,#app .conversation-item,#app .chat-header,#app .composer,#app .page-panel,#app .message:not(.out):not(.note){background:var(--a-surface,#fff);color:var(--a-surface-ink,#292724)}
#app .message.out{background:var(--a-outgoing,#ffe5d1);color:var(--a-outgoing-ink,#292724)}
#app .chat{background:var(--a-background,#fff9f0)}
#app .primary{background:var(--a-primary,#f66b21);color:var(--a-primary-ink,#292724)}
#app .conversation-item.active{border-left-color:var(--a-primary,#f66b21)}
#app .message .author,#app .message footer,#app .stats span,#app .conversation-info p,#app .contact-name small,#app .composer p{color:inherit;opacity:.78}
#app .composer textarea{background:transparent;color:inherit}
#appearanceDialog{width:560px;max-height:90dvh;overflow:auto}#appearanceDialog p{font-size:12px}.color-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.color-fields input{height:42px;padding:4px;cursor:pointer}#appearancePreview{background:var(--a-background);color:var(--a-background-ink);border:1px solid var(--line);border-radius:12px;padding:20px;margin:12px 0 20px}#appearancePreview p{padding:12px;border-radius:10px;width:fit-content;max-width:90%;margin-top:14px}.preview-in{background:var(--a-surface);color:var(--a-surface-ink)}.preview-out{background:var(--a-outgoing);color:var(--a-outgoing-ink);margin-left:auto}.preview-button{background:var(--a-primary);color:var(--a-primary-ink);display:block;margin-left:auto;pointer-events:none}.appearance-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}

/* Business identity and administrative dialogs, v1.4 */
.workspace-heading{display:flex;align-items:center;gap:18px;min-width:0}.business-identity{display:flex;align-items:center;gap:10px;border-right:1px solid var(--line);padding-right:18px;max-width:260px}.business-identity img{width:80px;height:62px;object-fit:contain}.business-identity span{font-size:13px;font-weight:600;overflow-wrap:anywhere}.admin-tools{display:flex;justify-content:flex-end;margin:16px 0}.logo-editor{border-bottom:1px solid var(--line);padding-bottom:16px}.logo-preview{background:#f7f3ee;border:1px dashed #d6cbbb;border-radius:10px;min-height:90px;display:flex;align-items:center;justify-content:center;margin:12px 0}.logo-preview img{width:auto;height:80px;max-width:100%;object-fit:contain}.logo-preview span{font-size:12px;color:#82776c}#auditDialog{width:820px;max-height:85dvh;overflow:auto}#auditDialog .audit-row{align-items:flex-start;gap:16px}#auditDialog .audit-description{flex:1;min-width:0}#auditDialog .audit-description small{display:block;margin-top:5px;overflow-wrap:anywhere}#auditDialog time{width:130px;flex-shrink:0}#auditDialog .audit-person{flex:0 0 130px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:850px){.workspace-heading{gap:10px}.business-identity{padding-right:10px;gap:6px;max-width:170px}.business-identity img{width:50px;height:45px}.business-identity span{font-size:11px}.top-actions{gap:8px}}
@media(max-width:600px){.topbar{flex-wrap:wrap;gap:10px}.workspace-heading{width:100%}.top-actions{margin-left:auto}#auditDialog .audit-row{flex-wrap:wrap}#auditDialog time{width:100%}#auditDialog .audit-person{flex:0 0 100%;font-size:11px}.business-identity{max-width:145px}}

/* Selection stays in the list and preserves the conversation reading area. */
.selection-tools{display:flex;gap:8px;align-items:center;padding:6px 12px}.selection-tools button{padding:5px 9px;font-size:11px}#selectionCount{font-size:11px}#selectionActions{padding:0 12px 8px;border-bottom:1px solid var(--line)}.select-all{display:flex;align-items:center;gap:7px;margin:5px 0;font-size:11px}.select-all input,.conversation-select{width:17px;height:17px;flex-shrink:0;margin:0;accent-color:var(--a-primary,#f66b21)}.selection-buttons{display:flex;gap:8px}.selection-row{display:flex;align-items:center;padding-left:12px;border-bottom:1px solid var(--line);gap:3px}.selection-row .conversation-item{flex:1;min-width:0;border-bottom:0}.selection-row:has(input:checked){background:var(--a-outgoing,#ffe5d1)}#bulkDialog{max-height:85dvh;overflow:auto}#bulkResults{max-height:220px;overflow:auto;font-size:12px;overflow-wrap:anywhere}#bulkResults p{margin-bottom:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}

/* One business identity: logo when available, name otherwise. */
.business-identity{max-width:220px;flex-shrink:0}.business-identity img{width:200px;height:72px;object-fit:contain}.business-identity span{font-size:22px;line-height:1.2;letter-spacing:-.4px}
@media(max-width:850px){.business-identity{max-width:180px}.business-identity img{width:160px;height:64px}.business-identity span{font-size:20px}}
@media(max-width:600px){.business-identity{max-width:150px}.business-identity img{width:135px;height:58px}.business-identity span{font-size:18px}}

.assignee-filter{margin:4px 14px 8px;font-size:11px}.assignee-filter select{padding:7px 9px;margin-top:3px;font-size:11px;background:var(--a-surface,#fff);color:var(--a-surface-ink,#292724)}.chat-header{flex-wrap:wrap}.chat-assignee{display:block;font-weight:600;color:var(--a-surface-ink,#292724)!important;margin-top:3px}.list-assignee{display:block;font-size:10px;color:var(--a-surface-ink,#292724);margin-top:5px}.conversation-info{min-width:0}.chat-header .contact-name{min-width:110px}#assignDialog{max-height:85dvh;overflow:auto}

/* Alerts use dialogs and preserve the conversation viewport. */
#alertsDialog,#alertSettingsDialog{width:min(600px,94vw);max-height:88dvh;overflow:auto}#alertSettingsForm fieldset{border:1px solid var(--line,#e8e1d9);border-radius:12px;padding:14px;margin:16px 0}#alertSettingsForm legend{font-weight:700;padding:0 6px}.alert-row{display:flex;flex-direction:column;gap:7px;padding:14px 0;border-bottom:1px solid #e8e1d9}.alert-row button{text-align:left}#alertsBadge{margin-left:auto}#alertsOpen{flex-shrink:0}

/* Received files: keep preview, action and help on separate rows. */
.message .received-media-link{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:100%;width:fit-content;color:var(--green);text-decoration:none;margin:8px 0}.message .received-media-link img{display:block;max-width:100%;height:auto;object-fit:contain}.received-media-action{display:block;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.message .received-media-help{display:block;font-size:11px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.message audio{display:block;max-width:100%;margin:8px 0}
