.moduleHead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.moduleHead h2{font-size:18px;margin:0 0 4px}.moduleHead p{font-size:11px;color:#8d96a5;margin:0}.three{grid-template-columns:repeat(3,1fr)!important}.moduleGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.moduleCard,.templateCard{padding:18px}.moduleIcon{width:38px;height:38px;border-radius:10px;background:#eaf6f2;color:#167c62;display:grid;place-items:center;margin-bottom:12px}.moduleCard h3,.templateCard h3{font-size:13px;margin:0 0 7px}.moduleCard p{font-size:10px;color:#8b94a2;line-height:1.55;min-height:32px}.moduleFoot{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #f0f2f5;padding-top:12px;margin-top:13px;font-size:9px;color:#9aa2af}.dangerLink{border:0;background:none;color:#c44a4a;font-size:9px;padding:0}.smallPrimary{border:0;background:#eaf6f2;color:#167c62;border-radius:6px;padding:5px 8px;font-size:9px;font-weight:650}.rowActions{display:flex;align-items:center;gap:8px}.tableTitle{padding:0 17px 13px}.tableTitle h2{font-size:14px;margin:0 0 3px}.tableTitle span,.muted{font-size:9px;color:#9aa2af}.pill,.templateCat{background:#eef7f4;color:#167c62;border-radius:14px;padding:6px 9px;font-size:9px}.templateTop{display:flex;justify-content:space-between}.templateCard label{font-size:8px;padding:4px 7px;border-radius:10px}.approved{background:#e8f7f0;color:#258361}.draft{background:#f1f3f7;color:#687284}.templateBody{background:#fafbfc;border:1px solid #eef0f3;border-radius:8px;padding:12px;margin-top:12px;font-size:10px;color:#697384;line-height:1.55;min-height:76px}.automationFlow{display:flex;align-items:center;gap:8px;color:#9aa2af;font-size:9px;margin-bottom:14px}.flowNode{background:#f5f7f9;border:1px solid #e8ebef;padding:7px;border-radius:7px;color:#526070}.inboxPage{height:calc(100vh - 80px);overflow:hidden}.inboxLayout{height:calc(100vh - 190px);display:grid;grid-template-columns:310px 1fr;overflow:hidden}.conversationList{border-right:1px solid #e7eaf0;overflow:auto}.conversationItem{display:flex;gap:10px;padding:13px;text-decoration:none;color:#293344;border-bottom:1px solid #f0f2f5}.conversationItem.selected{background:#eef8f5}.conversationItem b{display:block;font-size:11px}.conversationItem span{display:block;font-size:9px;color:#929aa7;margin-top:3px}.chatPanel{display:flex;flex-direction:column;min-width:0}.chatHeader{padding:13px 16px;border-bottom:1px solid #e7eaf0;display:flex;justify-content:space-between;align-items:center}.chatHeader b{display:block;font-size:12px}.chatHeader span{display:block;color:#8e97a5;font-size:9px;margin-top:3px}.chatMessages{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:9px;background:#fafbfc}.bubble{max-width:70%;padding:9px 11px;border-radius:10px;font-size:10px;line-height:1.5}.bubble.in{align-self:flex-start;background:#fff;border:1px solid #e5e8ed}.bubble.out{align-self:flex-end;background:#e6f4ef}.bubble small{display:block;color:#8f98a5;font-size:8px;margin-top:5px}.composer{display:flex;gap:8px;padding:12px;border-top:1px solid #e7eaf0;background:#fff}.composer textarea{flex:1;border:1px solid #e2e6ec;border-radius:8px;padding:9px;resize:none;outline:0;font-size:10px}.analyticsBars{margin-top:20px}.aRow{display:grid;grid-template-columns:170px 1fr 45px;gap:10px;align-items:center;margin:15px 0;font-size:9px}.aTrack{height:9px;background:#edf0f3;border-radius:5px;overflow:hidden}.aTrack i{display:block;height:100%;background:#78c7b0;border-radius:5px}.aRow b{text-align:right;font-size:9px}.mix{display:flex;gap:35px;padding:30px 10px}.mix b{display:block;font-size:30px}.mix span{font-size:9px;color:#8e97a5}.insight{border-top:1px solid #eef0f3;padding-top:15px}.insight b{font-size:10px}.insight p{font-size:9px;color:#8d96a4;line-height:1.5}.negative{color:#c24d4d;font-weight:700}@media(max-width:950px){.moduleGrid{grid-template-columns:1fr 1fr}.three{grid-template-columns:1fr 1fr!important}.inboxLayout{grid-template-columns:250px 1fr}}@media(max-width:700px){.moduleGrid,.three{grid-template-columns:1fr!important}.inboxLayout{grid-template-columns:1fr}.conversationList{display:none}.inboxPage{height:auto;overflow:auto}.inboxLayout{height:600px}}
.queued{background:#edf7ff;color:#3d78a8}.paused{background:#fff0e5;color:#b8661d}.failed{background:#fdecec;color:#b3261e}.cancelled{background:#f1f3f7;color:#687284}
.formGridTwo{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fieldHint{display:block;margin-top:4px;font-size:12px;opacity:.7}.field textarea{width:100%;resize:vertical;box-sizing:border-box} 
@media(max-width:700px){.formGridTwo{grid-template-columns:1fr}}
.fieldManagerNote{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;margin-bottom:14px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}.fieldManagerNote span{color:#6b7280}.tableSub{display:block;font-size:11px;color:#8b92a1;margin-top:2px}.bulkFieldGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settingsTabs{margin-bottom:18px}@media(max-width:800px){.bulkFieldGrid{grid-template-columns:1fr}}
.ruleRow{display:grid;grid-template-columns:1.2fr 1fr 1.2fr auto;gap:8px;align-items:center;margin-top:8px}.ruleSummary{display:flex;flex-wrap:wrap;gap:6px}.ruleSummary span{font-size:12px;border:1px solid #ddd;border-radius:999px;padding:4px 8px;background:#fafafa}.dateField{font-variant-numeric:tabular-nums}@media(max-width:800px){.ruleRow{grid-template-columns:1fr 1fr}.ruleRow input{grid-column:1/-1}}
.wideModal{max-width:900px;width:min(92vw,900px)}
.templateHeader{padding:10px 12px;margin:10px 0;border-radius:10px;background:#f4f6fa}.templateFooter{padding:8px 0;color:#667085}.templateButtons{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.templatePreview{background:#f4f6fa;border-radius:12px;padding:18px;line-height:1.5}.templatePreview #previewHeader{font-weight:700;margin-bottom:10px}.templatePreview #previewFooter{margin-top:12px;color:#667085;font-size:.9rem}.conversationListTop{display:flex;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e8ebf0}.composerVisible{border-top:1px solid #e5e7eb;padding:14px;background:#fff}.composerActions{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.startChatForm{display:flex;gap:8px;max-width:700px;margin:18px auto}.chatEmpty{text-align:center;color:#667085;padding:40px 20px}.detailList{display:grid;gap:12px}.detailList>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #edf0f4}.detailList>div:last-child{border-bottom:0}.filter-bar label{display:flex;align-items:center;gap:7px}

/* Inbox: explicit, always-visible chat composer and responsive WhatsApp-style layout */
.inboxHeadActions{display:flex;gap:8px;align-items:center}.waModePill{border-radius:14px;padding:6px 9px;font-size:9px;font-weight:700}.waModePill.live{background:#e8f7f0;color:#167c62}.waModePill.simulate{background:#fff3e8;color:#a45a19}.inboxNotice{margin-bottom:10px}.successNotice{padding:10px 12px;border-radius:8px;background:#eaf7ef;color:#247a4c;font-size:10px}.inboxToolbar{padding:12px;margin-bottom:12px}.conversationListEmpty{padding:30px 15px;text-align:center;color:#929aa7;font-size:10px}.conversationItemText{min-width:0;flex:1}.conversationItemTitle{display:flex;justify-content:space-between;gap:8px}.conversationItemTitle span{white-space:nowrap}.chatCustomer{display:flex;align-items:center;gap:10px}.avatar.large{width:34px;height:34px}.chatMessages{min-height:0}.composerVisible{display:block!important;flex:none!important;padding:12px 14px!important}.composerVisible textarea{display:block!important;width:100%!important;min-height:54px!important;box-sizing:border-box!important;font-size:13px!important;line-height:1.45!important;background:#fff!important;color:#293344!important}.composerActions{gap:12px}.sendButton{min-width:82px}.dndComposer{flex:none;padding:13px 15px;border-top:1px solid #f0d7d7;background:#fff7f7;display:flex;flex-direction:column;gap:4px}.dndComposer strong{font-size:10px;color:#a33d3d}.dndComposer span{font-size:9px;color:#8d5b5b}.inboxStartEmpty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px}.inboxStartEmpty p{text-align:center}.startChatForm{width:min(700px,92%)}@media(max-width:700px){.inboxHeadActions{display:none}.composerActions{align-items:flex-end}.composerActions .muted{display:none}.sendButton{width:82px}.startChatForm{flex-direction:column}}
