.mly-twochat-meta-trace{margin:8px 0;border:1px solid #c7d6f7;border-radius:10px;background:#f4f7ff;color:#253f70;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.mly-twochat-meta-opening{margin:10px 0;padding:9px 10px;border:1px solid #dce5f8;border-radius:7px;background:#fff}
.mly-twochat-meta-trace summary{cursor:pointer;padding:10px 12px;font-weight:650;color:#1d4ed8}.mly-twochat-meta-trace summary:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px;border-radius:8px}
.mly-twochat-meta-trace>div{padding:0 12px 12px;max-height:38vh;overflow:auto;overscroll-behavior:contain}.mly-twochat-meta-trace p{margin:7px 0}.mly-twochat-meta-trace blockquote{margin:8px 0;padding:6px 10px;border-left:3px solid #668cdb;background:#fff;white-space:pre-wrap}.mly-twochat-meta-source{font-weight:600}.mly-twochat-meta-trace time{color:#526682}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head>[data-twochat-campaign-context]:has(.mly-twochat-meta-trace){grid-column:1/-1;min-width:0}.mly-twochat-meta-trace[open] summary{border-bottom:1px solid #dce5f8;margin-bottom:7px}
@media(max-width:720px){.mly-twochat-meta-trace summary{min-height:44px;box-sizing:border-box}.mly-twochat-meta-trace{font-size:13px}}
.mly-inbox-channel-types{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 24px}.mly-inbox-channel-types .mly-inbox-button{min-height:42px;padding:9px 16px;color:#718076;background:#fff}.mly-inbox-channel-types [aria-pressed=true]{border-color:#c9ddce;background:#eef6f0;color:#28573a;box-shadow:0 2px 6px #19392405}
.mly-twochat{color:#203229;line-height:1.65}.mly-twochat *{box-sizing:border-box}.mly-twochat-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.mly-twochat-kicker{display:block;font-size:9px;color:#77867d;letter-spacing:.13em;text-transform:uppercase}.mly-twochat-heading h2{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.6px;margin:5px 0}.mly-twochat-heading p{margin:6px 0 0;color:#829086;font-size:11px}.mly-twochat-freshness{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0 9px;font-size:9px;color:#819087}.mly-twochat-connection{display:inline-flex;align-items:center;gap:6px;color:#9a7944}.mly-twochat-connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#bc9d67}.mly-twochat-connection.is-connected{color:#4c7759}.mly-twochat-connection.is-connected:before{background:#609571}.mly-twochat-disclosure{font-size:9px;color:#839087;margin:0 0 20px}.mly-twochat-notice{border:1px solid #e9dfcc;border-radius:12px;padding:12px 15px;margin:0 0 16px;background:#fbf8f1;color:#8a754f;font-size:11px}
.mly-twochat-layout{display:grid;grid-template-columns:minmax(260px,.37fr) minmax(0,.63fr);height:min(76vh,760px);min-height:570px;border:1px solid #e1e8e2;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 35px #183b2203}.mly-twochat-sidebar{display:flex;flex-direction:column;border-right:1px solid #e7ede8;min-width:0;min-height:0}.mly-twochat-sidebar>[data-twochat-threads]{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.mly-twochat-search{flex:none;display:flex;gap:9px;align-items:center;margin:18px 16px;padding:10px 12px;border:1px solid #e4e9e4;border-radius:12px;background:#fafcf9;color:#809086}.mly-twochat-search svg{flex:none}.mly-twochat-search input{min-width:0;width:100%;background:none;border:0;font:inherit;font-size:11px;outline:none;color:#324b3c}.mly-twochat-search:focus-within{border-color:#84a88d}.mly-twochat-threads{list-style:none;margin:0;padding:0}.mly-twochat-thread{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid #f0f3ef;padding:17px 15px;background:#fff;text-align:left;font:inherit;cursor:pointer;min-width:0}.mly-twochat-thread:hover,.mly-twochat-thread.is-selected{background:#f0f6f1}.mly-twochat-avatar{display:grid;place-items:center;flex:none;width:39px;height:39px;background:#edf4ed;border:1px solid #e7eee5;border-radius:14px;color:#587361;font-size:11px}.mly-twochat-thread-copy{flex:1;min-width:0}.mly-twochat-thread-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:500;color:#344e3e}.mly-twochat-thread-copy>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#859187;margin-top:3px}.mly-twochat-thread-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px;color:#7a8a7d;margin-top:6px}.mly-twochat-thread>time{font-size:8px;color:#8f9a92;align-self:flex-start;max-width:65px;text-align:right;flex:none;margin-top:2px}
.mly-twochat-chat{display:flex;flex-direction:column;min-width:0;background:#fbfdfb;min-height:0}.mly-twochat-chat-head{flex:none;background:#fff;border-bottom:1px solid #e8ede8;padding:19px 21px 14px}.mly-twochat-person{display:flex;align-items:center;gap:11px;min-width:0}.mly-twochat-person>div{min-width:0;flex:1}.mly-twochat-person h3{font-size:15px;font-weight:500;letter-spacing:-.2px;margin:0;overflow-wrap:anywhere}.mly-twochat-person p{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#87948b;margin:4px 0 0}.mly-twochat-mode{color:#4e7758;background:#eff6ee;border-radius:30px;padding:2px 8px;font-size:8px}.mly-twochat-back{display:none}.mly-twochat-assignment{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 0;padding-top:12px;border-top:1px solid #f0f3ef;font-size:9px;color:#86938a}.mly-twochat-assignment>span{flex:1;min-width:100px}.mly-twochat-assignment strong{font-weight:500;color:#647b6b}.mly-twochat-assignment label{max-width:170px}.mly-twochat-assignment select{font:inherit;max-width:100%;padding:7px 22px 7px 9px;border:1px solid #e3e9e3;border-radius:9px;background:#fff;color:#5e7565;min-height:34px}.mly-twochat-assignment .mly-inbox-button{font-size:9px;min-height:34px;padding:7px 10px}
.mly-twochat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:24px 21px}.mly-twochat-message{display:flex;justify-content:flex-start;margin:0 0 14px}.mly-twochat-message>div{max-width:88%;min-width:86px;border:1px solid #e6ece6;border-radius:16px 16px 16px 5px;padding:11px 14px;background:#fff}.mly-twochat-message.is-outgoing{justify-content:flex-end}.mly-twochat-message.is-outgoing>div{background:#edf5ee;border-color:#e0ebe1;border-radius:16px 16px 5px 16px}.mly-twochat-message.is-pending>div{background:#f2f5ef;border-style:dashed}.mly-twochat-message p{font-size:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.mly-twochat-message footer{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;font-size:8px;color:#8b988e;margin-top:7px}.mly-twochat-author{display:block;font-size:9px;color:#728675;margin-bottom:5px}.mly-twochat-delivery.is-read{color:#477f96}.mly-twochat-delivery:is(.is-uncertain,.is-pending,.is-queued){color:#9c834e}.mly-twochat-delivery.is-failed{color:#a4665c}.mly-twochat-attachment{display:flex;align-items:center;gap:7px;color:#758a7c;font-size:10px;padding:4px 0;overflow-wrap:anywhere}
.mly-twochat-compose{padding:15px 20px 12px;border-top:1px solid #e6ece7;background:#fff}.mly-twochat-compose>div{display:flex;align-items:flex-end;flex-wrap:nowrap;gap:8px}.mly-twochat-compose textarea{flex:1;min-width:0;font:inherit;resize:none;padding:10px 12px;border:1px solid #dfe8e1;border-radius:12px;background:#fbfdfb;color:#2b4534;min-height:44px;max-height:144px;line-height:1.5}.mly-twochat-compose small{display:block;font-size:8px;color:#8d998f;margin:8px 0 0}.mly-twochat-readonly{padding:18px 21px;border-top:1px solid #e5ece6;background:#f6f9f4;font-size:11px;color:#738578}.mly-twochat-readonly strong{font-size:11px;font-weight:500;color:#506a58}.mly-twochat-readonly p{font-size:10px;margin:4px 0 10px}.mly-twochat-readonly .mly-inbox-button{font-size:10px}.mly-twochat-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 32px}.mly-twochat-welcome>span{display:grid;place-items:center;width:56px;height:56px;background:#eef5ed;border-radius:19px;color:#7c9a83;margin-bottom:20px}.mly-twochat-welcome>span svg{width:25px;height:25px}.mly-twochat-welcome h3{font-size:20px;font-weight:500;letter-spacing:-.5px;margin:0 0 9px}.mly-twochat-welcome p{max-width:265px;font-size:11px;color:#849288;margin:0}.mly-twochat :is(button,input,textarea,select):focus-visible{outline:2px solid #799e81;outline-offset:3px}.mly-twochat button:disabled{opacity:.5;cursor:default}
@media(max-width:720px){.mly-inbox-channel-types{gap:6px;margin-bottom:23px}.mly-inbox-channel-types .mly-inbox-button{flex:1;font-size:10px;padding:10px 8px}.mly-twochat-heading{gap:12px;align-items:flex-start}.mly-twochat-heading h2{font-size:21px}.mly-twochat-heading p{font-size:10px;max-width:185px}.mly-twochat-heading>.mly-inbox-button{font-size:9px;padding:8px 10px;min-height:38px;margin-top:16px}.mly-twochat-heading>.mly-inbox-button svg{width:14px}.mly-twochat-freshness{font-size:8px;gap:6px 12px;margin-top:17px}.mly-twochat-disclosure{font-size:9px;margin-bottom:17px}.mly-twochat-layout{display:block;border-radius:16px;min-height:400px;height:auto}.mly-twochat-sidebar{border-right:0;max-height:62vh;min-height:400px}.mly-twochat-chat{display:none;min-height:470px;height:min(68vh,640px)}.mly-twochat.has-conversation .mly-twochat-sidebar{display:none}.mly-twochat.has-conversation .mly-twochat-chat{display:flex}.mly-twochat-back{display:inline-flex;min-height:36px;padding:5px!important}.mly-twochat-back svg{transform:rotate(180deg)}.mly-twochat-back span{display:none}.mly-twochat-chat-head{padding:15px 12px 12px}.mly-twochat-person{gap:8px}.mly-twochat-person h3{font-size:13px}.mly-twochat-person p{font-size:10px;gap:6px}.mly-twochat-person .mly-twochat-avatar{width:34px;height:34px;font-size:9px;border-radius:12px}.mly-twochat-assignment{gap:8px;margin-top:13px}.mly-twochat-assignment>span{flex-basis:100%;font-size:10px}.mly-twochat-assignment label{flex:1;max-width:100%}.mly-twochat-assignment select{font-size:16px;min-height:40px;width:100%}.mly-twochat-assignment .mly-inbox-button{min-height:40px;font-size:10px}.mly-twochat-search{margin:15px 12px;padding:11px}.mly-twochat-search input,.mly-twochat-compose textarea{font-size:16px}.mly-twochat-thread{padding:17px 12px;gap:9px}.mly-twochat-thread-copy strong{font-size:12px}.mly-twochat-thread-copy>span{font-size:11px}.mly-twochat-thread-copy small{font-size:9px}.mly-twochat-messages{padding:20px 12px;min-height:0}.mly-twochat-message>div{max-width:93%;padding:11px 12px}.mly-twochat-message p{font-size:13px}.mly-twochat-message footer{font-size:8px}.mly-twochat-compose{padding:13px 12px}.mly-twochat-compose>div{gap:8px}.mly-twochat-compose .mly-inbox-button{padding:11px;min-height:44px}.mly-twochat-compose .mly-inbox-button svg{display:block;flex:none}.mly-twochat-readonly{padding:17px 14px}.mly-twochat-readonly p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.mly-twochat *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mly-twochat-thread-copy>.mly-twochat-thread-phone{font-size:11px;line-height:1.4;color:#607566;margin-top:2px;font-variant-numeric:tabular-nums}@media(max-width:720px){.mly-twochat-thread-copy>.mly-twochat-thread-phone{font-size:12px}}
.mly-twochat-status-filter{padding:9px 13px 0;min-width:0}.mly-twochat-status-filter label{display:flex;align-items:center;gap:11px;min-width:0}.mly-twochat-status-filter label>span{flex:none;color:#71816d;font-size:12px}.mly-twochat-status-filter select{flex:1;min-width:0;width:100%;min-height:36px;padding:6px 25px 6px 10px;border:1px solid #e1e8dc;border-radius:9px;background:#fafcf8;color:#496348;font:inherit;font-size:13px;text-overflow:ellipsis}.mly-twochat-status-filter select:disabled{color:#9da698;background:#f8faf6}.mly-twochat-status-filter>small{display:block;font-size:11px;line-height:1.5;color:#71816a;margin:5px 0 0;overflow-wrap:anywhere}.mly-twochat-thread-campaign em.is-pending{color:#9a8150;background:#f7f3e8}@media(max-width:720px){.mly-twochat-status-filter{padding:7px 10px 0}.mly-twochat-status-filter label{display:block}.mly-twochat-status-filter label>span{display:block;font-size:12px;margin-bottom:4px}.mly-twochat-status-filter select{font-size:16px;min-height:40px;padding:6px 22px 6px 8px}.mly-twochat-status-filter>small{font-size:11px;margin-top:4px;line-height:1.5}.mly-twochat-sidebar{min-height:420px}}
.mly-twochat-sidebar>[data-twochat-controls]{flex:none;min-width:0}.mly-twochat-source-tabs{display:flex;gap:4px;padding:13px 12px 0}.mly-twochat-source-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:5px;min-height:38px;border:1px solid transparent;border-radius:10px;background:transparent;color:#7b8a80;font:inherit;font-size:10px;cursor:pointer;padding:6px}.mly-twochat-source-tabs button[aria-pressed=true]{color:#315f43;background:#edf5ee;border-color:#dce9df}.mly-twochat-source-tabs button>span{font-size:8px;font-variant-numeric:tabular-nums;border-radius:20px;background:#e6ede6;min-width:17px;padding:0 4px;color:#698170}.mly-twochat-campaign-filter{margin:9px 12px 0;padding:11px 12px;border:1px solid #e0e9df;background:#f7faf5;border-radius:12px}.mly-twochat-campaign-filter label{display:block;min-width:0}.mly-twochat-campaign-filter label>span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.09em;color:#859081;margin-bottom:3px}.mly-twochat-campaign-filter select{width:100%;min-width:0;border:0;background:transparent;font:inherit;font-size:11px;font-weight:500;color:#395b43;padding:4px 20px 4px 0;min-height:30px;text-overflow:ellipsis}.mly-twochat-campaign-summary{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:5px}.mly-twochat-campaign-summary>span{font-size:8px;color:#81917f;line-height:1.5}.mly-twochat-campaign-summary strong{font-weight:500;color:#5f7963}.mly-twochat-campaign-summary .mly-inbox-button,.mly-twochat-thread-group>header .mly-inbox-button,.mly-twochat-campaign-context .mly-inbox-button{flex:none;font-size:9px;min-height:32px;padding:5px 8px;border-color:#dce7db;background:#fff;color:#66806b}.mly-twochat-campaign-filter>small{display:block;font-size:8px;line-height:1.5;color:#92998c;margin-top:5px}.mly-twochat-search{margin:10px 12px 12px}.mly-twochat-thread-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px;background:#f7f9f5;border-top:1px solid #e7ede3;border-bottom:1px solid #e7ede3}.mly-twochat-thread-group>header>div{min-width:0}.mly-twochat-thread-group>header strong{display:block;color:#6a8067;font-size:9px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mly-twochat-thread-group>header small{display:block;font-size:8px;line-height:1.5;color:#9aa394}.mly-twochat-thread-copy>.mly-twochat-thread-campaign{display:flex;align-items:center;gap:5px;min-width:0;margin-top:7px;font-size:8px;color:#759071}.mly-twochat-thread-campaign>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.mly-twochat-thread-campaign em,.mly-twochat-campaign-context em{flex:none;font-size:8px;font-style:normal;line-height:1.6;border-radius:5px;background:#edf4ec;color:#648261;padding:1px 5px}.mly-twochat-thread-campaign em.is-read,.mly-twochat-campaign-context em.is-read{color:#4a7e8c;background:#ecf4f5}.mly-twochat-thread-campaign em.is-failed,.mly-twochat-campaign-context em.is-failed{color:#a36358;background:#faf0ec}.mly-twochat-thread-campaign em:is(.is-queued,.is-sending,.is-uncertain),.mly-twochat-campaign-context em:is(.is-queued,.is-sending,.is-uncertain){color:#9a8150;background:#f7f3e8}.mly-twochat-thread-campaign i{font-size:8px;font-style:normal;flex:none;color:#9aa08d}.mly-twochat-campaign-context{margin-top:12px;padding-top:9px;border-top:1px solid #edf1e9}.mly-twochat-campaign-context>div{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:3px 0}.mly-twochat-campaign-context>div>span{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;font-size:9px;color:#6e836b}.mly-twochat-campaign-context small{font-size:8px;color:#9ba48f}.mly-twochat-campaign-context strong{font-size:9px;font-weight:500;overflow-wrap:anywhere}.mly-twochat-template-label{display:block;font-size:8px;color:#7a8c71;margin-bottom:9px}.mly-twochat-template-image{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;border-radius:10px;background:#e7eee5;margin:0 0 12px}.mly-twochat-message .mly-twochat-template-body{font-size:12px;line-height:1.75}.mly-twochat-template-body strong{font-weight:600}.mly-twochat-message .mly-twochat-template-footer{font-size:9px;line-height:1.6;color:#8d9786;margin-top:10px}.mly-twochat-template-missing{font-size:11px;color:#92998b}.mly-twochat-preview{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dfe8db;border-radius:20px;color:#344d39;background:#fafcf8;box-shadow:0 24px 100px #14241940;overflow:hidden}.mly-twochat-preview::backdrop{background:#17251e85;backdrop-filter:blur(3px)}.mly-twochat-preview[open]{display:flex;flex-direction:column}.mly-twochat-preview>header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none;background:#fff;border-bottom:1px solid #e4ebdf;padding:19px 20px 16px}.mly-twochat-preview>header>div{min-width:0}.mly-twochat-preview>header span{font-size:9px;color:#87957c}.mly-twochat-preview h3{font-size:17px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;margin:3px 0 0}.mly-twochat-preview>header .mly-inbox-button{flex:none;min-height:40px;padding:8px;color:#71866d}.mly-twochat-preview-content{padding:20px;min-height:0;overflow:auto;overscroll-behavior:contain}.mly-twochat-template{padding:13px;background:#eef6ed;border:1px solid #e1eadc;border-radius:15px 15px 5px 15px}.mly-twochat-template p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.mly-twochat-template .mly-twochat-template-body{font-size:13px;line-height:1.8}.mly-twochat-template .mly-twochat-template-footer{font-size:10px;color:#8b9681;margin-top:12px}.mly-twochat-preview-note{font-size:9px;line-height:1.7;color:#91a086;margin:14px 2px 0}.mly-twochat-preview .mly-twochat-template-image{max-height:50dvh}
@media(max-width:720px){.mly-twochat-heading h2{font-size:19px;margin-top:3px}.mly-twochat-heading p{display:none}.mly-twochat-heading>.mly-inbox-button{margin-top:7px}.mly-twochat-freshness{margin-top:10px;margin-bottom:5px}.mly-twochat-disclosure{font-size:8px;line-height:1.5;margin-bottom:11px}.mly-twochat-source-tabs{padding:8px 8px 0;gap:3px}.mly-twochat-source-tabs button{min-height:40px;font-size:10px;padding:6px 4px;gap:4px}.mly-twochat-campaign-filter{margin:7px 9px 0;padding:8px 10px}.mly-twochat-campaign-filter label>span{display:none}.mly-twochat-campaign-filter select{font-size:16px;min-height:36px}.mly-twochat-campaign-summary{margin-top:2px}.mly-twochat-campaign-summary>span{font-size:8px}.mly-twochat-campaign-summary .mly-inbox-button{min-height:36px;font-size:9px}.mly-twochat-search{margin:8px 10px 9px;padding:9px 10px}.mly-twochat-thread-group>header{padding:7px 11px}.mly-twochat-thread-group>header .mly-inbox-button{min-height:36px}.mly-twochat-thread-group>header strong{font-size:10px}.mly-twochat-thread{padding:13px 11px}.mly-twochat-thread-copy>.mly-twochat-thread-campaign{font-size:9px;margin-top:5px}.mly-twochat-thread-copy small{margin-top:4px;font-size:8px}.mly-twochat-campaign-context{margin-top:8px;padding-top:7px}.mly-twochat-campaign-context .mly-inbox-button{min-height:36px}.mly-twochat-message .mly-twochat-template-body{font-size:13px}.mly-twochat-template-image{max-height:300px}.mly-twochat-preview{width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:18px}.mly-twochat-preview>header{padding:13px 14px 11px;gap:10px}.mly-twochat-preview>header .mly-inbox-button{min-height:44px}.mly-twochat-preview h3{font-size:16px}.mly-twochat-preview-content{padding:14px}.mly-twochat-template{padding:11px}.mly-twochat-preview .mly-twochat-template-image{max-height:43dvh}}

/* Keep the conversation itself in view: nearby messages share an author and
   day label, while their individual time and delivery result remain visible. */
.mly-twochat-day{display:flex;align-items:center;justify-content:center;gap:12px;margin:15px 0 12px;color:#7c8e73;font-size:10px;line-height:1.4;text-align:center}
.mly-twochat-day:first-child{margin-top:0}.mly-twochat-day:before,.mly-twochat-day:after{content:"";height:1px;flex:1;background:#edf1e8}.mly-twochat-day span{flex:none;max-width:80%;padding:3px 9px;border-radius:20px;background:#f5f8f1}
.mly-twochat-message-group{margin:0 0 12px}.mly-twochat-message-group .mly-twochat-message{margin:0 0 3px}.mly-twochat-message-group .mly-twochat-message:last-child{margin-bottom:0}
.mly-twochat-message-group .mly-twochat-message>div{padding:8px 12px}.mly-twochat-message-group .mly-twochat-message.is-continuation>div{border-top-left-radius:6px}.mly-twochat-message-group .mly-twochat-message.is-outgoing.is-continuation>div{border-top-left-radius:16px;border-top-right-radius:6px}
.mly-twochat-message-group .mly-twochat-message p{line-height:1.55}.mly-twochat-message-group .mly-twochat-message footer{margin-top:3px;gap:6px;font-variant-numeric:tabular-nums}.mly-twochat-message-group .mly-twochat-author{margin-bottom:3px}
.mly-twochat-campaign-context.is-collapsible{position:relative;margin:8px 0 0;padding:5px 0 0}.mly-twochat-context-toggle{display:inline-flex;gap:6px;align-items:center}.mly-twochat-context-toggle svg{width:12px;height:12px;transform:rotate(90deg)}.mly-twochat-context-toggle[aria-expanded=true] svg{transform:rotate(-90deg)}
.mly-twochat-campaign-context>.mly-twochat-campaign-details{display:block;padding-top:5px}.mly-twochat-campaign-context>.mly-twochat-campaign-details[hidden]{display:none}.mly-twochat-campaign-details>div{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:5px 0}.mly-twochat-campaign-details>div>span{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px}.mly-twochat-campaign-details strong{overflow-wrap:anywhere}

.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 10px;padding:6px 14px;border-bottom:1px solid #edf1e8;position:relative;z-index:2;background:#fafcf7}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head>[data-twochat-head-content]{min-width:0}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head>[data-twochat-campaign-context]:empty{display:none}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment{margin:0;padding:0;border:0;gap:7px;flex-wrap:nowrap;font-size:11px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment>span{display:flex;align-items:center;gap:6px;min-width:0;flex-basis:auto}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment>span svg{flex:none;width:13px;height:13px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment label{flex:0 1 150px;max-width:150px;min-width:0}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment select{min-height:32px;padding:4px 20px 4px 8px;font-size:11px;width:100%;text-overflow:ellipsis;background:#fff}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment .mly-inbox-button{flex:none;min-height:32px;font-size:10px;padding:5px 7px;white-space:nowrap}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment .mly-twochat-owner{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;max-width:none;white-space:normal;overflow:visible}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-text{display:block;flex:1;min-width:0}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-text small{display:block;font-size:9px;line-height:1.3;color:#7c8e73}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-text strong{display:block;font-size:12px;line-height:1.4;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.mly-unified-host .mly-twochat.mly-twochat-embedded label.mly-twochat-owner-picker{position:relative;min-height:44px;padding:5px 9px;border:1px solid #dfe7da;border-radius:9px;background:#fff;cursor:pointer}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-picker>svg{flex:none;width:14px;height:14px;transform:rotate(90deg)}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-picker select{position:absolute;inset:0;width:100%;height:100%;min-height:100%;padding:0;margin:0;border:0;opacity:0;cursor:pointer}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-picker:focus-within{outline:2px solid #68936f;outline-offset:2px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-owner-picker:has(select:disabled){opacity:.6;cursor:default}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head .mly-twochat-freshness{flex:none;display:flex;align-items:center;flex-wrap:nowrap;gap:5px;margin:0;padding:0;border:0;font-size:10px;line-height:1.4;color:#7c8e73}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-history-state{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-freshness .mly-inbox-button{min-height:32px;min-width:32px;padding:5px;border:0;background:transparent}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-freshness svg{width:14px;height:14px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-campaign-context.is-collapsible{position:static;margin:0;padding:0;border:0}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-context-toggle{min-height:32px;padding:4px 7px;background:transparent;border:1px solid #e3ebdc;border-radius:8px;font-size:10px;white-space:nowrap}
.mly-unified-host .mly-twochat.mly-twochat-embedded [data-twochat-campaign-context]{min-width:0;max-width:100%}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-meta-trace{margin:4px 0}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-campaign-details{position:absolute;right:10px;top:calc(100% - 2px);z-index:3;width:min(360px,calc(100% - 20px));max-height:180px;overflow:auto;overscroll-behavior:contain;padding:8px 12px;border:1px solid #dfe8d7;border-radius:12px;background:#fff;box-shadow:0 10px 28px #1d341c14}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-campaign-details .mly-inbox-button{min-height:32px;font-size:10px;padding:4px 7px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-messages{padding:13px 16px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-message-group .mly-twochat-message>div{padding:8px 12px;max-width:min(92%,560px)}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-message p{line-height:1.55}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-message.is-continuation>div{border-top-left-radius:6px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-message.is-outgoing.is-continuation>div{border-top-left-radius:16px;border-top-right-radius:6px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compose{padding:9px 13px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compose textarea{min-height:43px;line-height:1.5;padding:10px 11px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compose small{margin-top:4px;font-size:9px}
.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-readonly{padding:10px 14px;font-size:11px;line-height:1.5}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-readonly.is-ready{display:flex;align-items:center;justify-content:space-between;gap:12px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-readonly.is-ready .mly-inbox-button{flex:none;min-height:36px;padding:7px 13px;font-size:12px}
@media(max-width:720px){.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compact-head{gap:4px 7px;padding:6px 10px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment label{flex-basis:130px;max-width:130px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment select{font-size:16px;min-height:36px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-assignment .mly-inbox-button{min-height:36px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-history-state{max-width:115px;font-size:9px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-messages{padding:12px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-readonly.is-ready{padding:8px 12px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-readonly.is-ready .mly-inbox-button{min-height:40px}}
.mly-twochat-attachment-trigger{flex:none;min-width:44px;min-height:44px;padding:10px!important}.mly-twochat-attachments{position:absolute;bottom:calc(100% + 8px);left:0;right:0;z-index:6;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px;background:#fff;border:1px solid #dce8df;border-radius:16px;margin:0;min-width:0;box-shadow:0 8px 28px #203c2821}.mly-twochat-attachments header{display:flex;align-items:center;justify-content:space-between;gap:12px}.mly-twochat-attachments strong{font-size:14px}.mly-twochat-attachments p,.mly-twochat-attachments small{font-size:11px;line-height:1.45;margin:0;color:#687d70}.mly-twochat-attachments .mly-inbox-button{min-height:44px;font-size:12px}.mly-twochat-attachment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mly-twochat-attachment-options button{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:62px;padding:8px 4px;white-space:normal;text-align:center;min-width:0;border-color:#e8eee8;border-radius:12px;background:#f8fbf7;color:#3e6650;line-height:1.25}@media(max-width:720px){.mly-twochat-attachments{padding:8px}.mly-twochat-attachment-options{gap:6px}.mly-twochat-compose>div>textarea{min-width:0;flex:1}.mly-twochat-compose>div>button[type=submit]{min-height:44px}}

.mly-twochat-attachments{max-height:min(45dvh,340px);overflow-y:auto;overscroll-behavior:contain}
.mly-twochat-attachment-options button:not(:disabled){opacity:1;cursor:pointer}.mly-twochat-file-picker,.mly-twochat-share-fields,.mly-twochat-share-fields label,.mly-twochat-file-draft label{display:flex;flex-direction:column;gap:8px;min-width:0}.mly-twochat-file-picker input,.mly-twochat-share-fields input{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #dce8df;border-radius:10px;background:#fff;color:#2b4534;font:inherit}.mly-twochat-file-picker span,.mly-twochat-share-fields label>span,.mly-twochat-file-draft label>span{font-size:12px;color:#526f5d}.mly-twochat-share-fields{gap:12px}.mly-twochat-file-draft{display:flex;flex-direction:column;gap:12px;min-width:0;max-height:45dvh;overflow-y:auto;padding:12px;border:1px solid #dce8df;border-radius:12px;margin-bottom:12px;background:#f7faf8}.mly-twochat-file-draft header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mly-twochat-file-draft header>div{min-width:0}.mly-twochat-file-draft strong{font-size:12px;overflow-wrap:anywhere}.mly-twochat-file-draft :is(img,video){display:block;max-width:100%;max-height:200px;object-fit:contain;border-radius:8px}.mly-twochat-file-draft audio{width:100%;min-width:0}.mly-twochat-file-draft textarea{box-sizing:border-box;width:100%;min-height:64px}.mly-twochat-file-ready{flex:1;min-width:0;overflow-wrap:anywhere;font-size:11px;color:#607a69}.mly-twochat-file-draft .mly-inbox-button{flex:none;font-size:11px}@media(max-width:720px){.mly-twochat-share-fields input,.mly-twochat-file-picker input{font-size:16px}.mly-twochat-file-draft header{flex-wrap:wrap}}

/* Compact attachment controls remain visible at every viewport width. */
.mly-twochat-compose{position:relative;flex:none;padding:8px 12px}.mly-twochat-compose-row{position:relative;min-width:0}.mly-twochat-compose-row>textarea{box-sizing:border-box;overflow-y:hidden;font-size:14px}.mly-twochat-compose .mly-twochat-send,.mly-twochat-compose .mly-twochat-attachment-trigger,.mly-twochat-compose .mly-twochat-attachment-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border-radius:50%}.mly-twochat-compose .mly-twochat-attachment-trigger{color:#315f43;background:#f2f7f0;border-color:transparent}.mly-twochat-attachment-trigger[aria-expanded=true]{background:#e6f0e2;border-color:#c5d9bc}.mly-twochat-compose .mly-inbox-button svg{display:block;flex:none;width:20px;height:20px}.mly-twochat-attachment-options button[aria-pressed=true]{background:#eaf3e6;border-color:#b9d1b0}.mly-twochat-compose .mly-twochat-attachment-options .mly-inbox-button{min-height:62px;padding:8px 4px;font-size:11px}.mly-twochat-attachments header{gap:8px}.mly-twochat-attachments header .mly-twochat-attachment-close{margin:-6px -4px -6px 0}.mly-twochat-attachment>svg{flex:none}.mly-twochat-compose .mly-twochat-compose-note{font-size:10px;line-height:1.4;margin-top:4px}.mly-twochat-compose [hidden]{display:none!important}.mly-twochat-file-draft{gap:8px;padding:10px;margin-bottom:8px;max-height:min(38dvh,300px)}.mly-twochat-file-draft :is(img,video){max-height:150px}.mly-twochat-file-draft header .mly-twochat-attachment-close{margin:-6px -4px 0 0}.mly-twochat-file-draft header{flex-wrap:nowrap}@media(max-width:720px){.mly-twochat-compose-row>textarea{font-size:16px}.mly-unified-host .mly-twochat.mly-twochat-embedded .mly-twochat-compose{padding:8px 10px}}

#inbox-view .mly-unified-host .mly-twochat-compose .mly-inbox-button:is(.mly-twochat-send,.mly-twochat-attachment-trigger,.mly-twochat-attachment-close){min-height:44px;padding:10px;border-radius:50%}#inbox-view .mly-unified-host .mly-twochat-compose .mly-twochat-attachment-options .mly-inbox-button{min-height:62px;padding:8px 4px;font-size:11px;border-radius:12px}@media(max-width:720px){.mly-twochat-assignment [data-twochat-action=release]>span{display:none}.mly-twochat-assignment [data-twochat-action=release]{width:44px;min-width:44px;min-height:44px;justify-content:center;padding:10px}}
.mly-twochat-followup{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;border:1px solid #cddccf;border-radius:12px;background:#f4f8f3;color:#375d46;overflow-wrap:anywhere;font-size:12px}
.mly-twochat-followup strong{font-size:13px}
.mly-twochat-message-origin{display:block;margin-bottom:5px;color:#526c5b;font-size:10px;overflow-wrap:anywhere}
.mly-twochat-readonly>small{display:block;margin-top:8px;line-height:1.45}
