.followup-toolbar{padding:12px!important;margin-bottom:10px}.followup-toolbar h1{margin:0;font-size:21px}.followup-toolbar .inbox-toolbar-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.followup-toolbar .inbox-toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.followup-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.followup-filters label{display:grid;gap:3px;font-size:11px;color:#566170}.followup-filters input,.followup-filters select{font:inherit;font-size:12px;min-height:32px;padding:5px 8px;border:1px solid #d8dce6;border-radius:7px;background:var(--color-surface,#fff);color:var(--color-text,#202c40);max-width:190px}.followup-filters input[type=date]{width:140px}.followup-filters button{font-size:12px;min-height:32px}.followup-toolbar>small{display:block;font-size:10px;color:#6a7280;margin-top:7px}.followup-results{display:flex;flex-direction:column;min-height:0}.followup-results .conversation-row{width:100%;flex-shrink:0}.followup-results .conversation-row-main{display:grid;gap:5px;text-align:left;min-width:0;white-space:normal}.followup-results .conversation-row-main>span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.followup-results time{font-size:10px;color:#6a7280}.followup-results>p{padding:12px}.followup-pagination{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:12px;font-size:11px}.followup-pagination button{border:1px solid #d8dce6;background:white;border-radius:6px;padding:5px 8px}.followup-pagination span{width:100%}.inbox-page>.inbox-filters{display:none}
@media(max-width:767px){.followup-filters label{flex:1 1 140px}.followup-filters input,.followup-filters select{width:100%;max-width:none}.followup-toolbar .inbox-toolbar-heading{flex-wrap:wrap}.followup-toolbar .inbox-toolbar-actions{justify-content:flex-start}}
.followup-results .conversation-row{display:block!important}.followup-results .conversation-row-main{width:100%}.followup-toolbar .inbox-toolbar-heading>div{min-width:0}

.followup-search-row{display:flex;gap:8px;align-items:center}.followup-search-row>input{flex:1;min-width:80px;max-width:480px;padding:8px;border:1px solid #d8dce6;border-radius:7px}.followup-filter-anchor{position:relative;margin-left:auto}.followup-filter-panel{position:absolute;right:0;top:calc(100% + 6px);width:min(620px,calc(100vw - 80px));max-height:65vh;overflow:auto;z-index:100;background:var(--color-surface,#fff);padding:16px;border:1px solid #d8dce6;border-radius:10px;box-shadow:0 8px 28px #0002}.followup-filter-panel .followup-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.followup-filter-panel input,.followup-filter-panel select{width:100%;max-width:100%}.followup-filter-panel small{display:block;font-size:11px;line-height:1.5;margin:12px 0;color:#566170}.followup-toolbar{position:relative;z-index:310;overflow:visible!important}@media(max-width:767px){.followup-filter-panel .followup-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.followup-results .followup-card{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;align-items:start!important;padding:11px 10px!important;min-height:0!important;box-sizing:border-box;border:0;border-bottom:1px solid #edf0f4;border-radius:0;background:transparent;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;color:#233247;text-align:left;cursor:pointer}
.followup-results .followup-card:hover{background:#f5f7fb}.followup-results .followup-card.conversation-row-active{background:#eef3ff;box-shadow:inset 3px 0 #315bda}.followup-results .followup-card:focus-visible{outline:2px solid #315bda;outline-offset:-2px}.followup-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8edf5;color:#53647d;font-size:11px;font-weight:600;flex:none}.followup-card-content{display:grid;gap:4px;min-width:0}.followup-card-heading{display:flex;align-items:center;gap:8px;min-width:0}.followup-card-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;font-size:12px;font-weight:600;line-height:1.4}.followup-card-heading time{flex:none;font-size:10px;white-space:nowrap;color:#8490a2;font-weight:400}.followup-card-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.followup-channel{font-size:10px;color:#65748b;font-weight:400}.followup-channel--whatsapp{color:#26825e}.followup-channel--telegram{color:#2586ae}.followup-status{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:5px;padding:1px 6px;font-size:10px;font-weight:600;white-space:nowrap;line-height:1.5}.followup-status--open{color:#a35411;background:#fff3dd;border-color:#f4dab1}.followup-status--closed{color:#247550;background:#e7f5ed;border-color:#c5e7d3}.followup-status--waiting_customer{color:#4c61a9;background:#edf0ff;border-color:#d6ddfb}.followup-status--spam{color:#a83e4e;background:#fff0f1;border-color:#f2d2d7}.followup-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;line-height:1.5;color:#647186;min-width:0}.followup-owner{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;color:#8791a0;line-height:1.4}.followup-unread{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#315bda;color:#fff;font-size:9px;font-weight:600;margin-left:auto}.followup-pagination{color:#8190a2;font-size:10px;padding:10px}.followup-pagination button{font-family:inherit;font-size:10px}.followup-results .followup-card:disabled{cursor:wait}
/* Keep navigation above inbox popovers, and dialogs above both. */
.app-shell>.topbar{position:relative;z-index:500!important;overflow:visible!important}.app-shell .user-menu{position:relative;z-index:501}.app-shell .user-menu-popover{z-index:502!important}.app-shell .followup-toolbar{z-index:310}
.inbox-new-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5484d;margin-right:5px;vertical-align:middle;flex:none}.followup-results .followup-card.conversation-row--unread{background:#eef4ff;box-shadow:inset 3px 0 #315bda}.followup-results .followup-card.conversation-row--unread .followup-card-heading strong{font-weight:750;color:#173d91}.followup-status--open{color:#8a3b00;background:#ffe3a6;border-color:#ecb34f;font-weight:700}
@media(min-width:768px){
.app-shell .inbox-page{padding-top:8px!important;gap:8px!important}.app-shell .followup-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:8px 12px!important;margin-bottom:6px!important}.followup-toolbar .inbox-toolbar-heading{display:contents}.followup-toolbar .inbox-toolbar-heading>div:first-child{display:flex;gap:10px;align-items:baseline;grid-column:1;grid-row:1}.followup-toolbar h1{font-size:17px!important}.followup-toolbar [role=status]{font-size:11px;color:#7a8799}.followup-toolbar .inbox-toolbar-actions{grid-column:2;grid-row:1/span 2;gap:6px}.followup-search-row{grid-column:1;grid-row:2}.followup-search-row>input{padding:5px 8px;max-width:none;height:30px}.followup-filter-panel{width:min(620px,calc(100vw - 90px))}.followup-toolbar .button{min-height:30px;padding:5px 8px}.ops-own-status label{font-size:0!important;gap:0!important}.ops-own-status select{font-size:11px;max-width:175px!important;padding:5px!important}
.app-shell .inbox-page .conversation-thread>.thread-header{padding:6px 10px!important;gap:6px!important;max-height:92px!important}.app-shell .inbox-page .thread-header h2{font-size:15px!important;margin:0!important}.app-shell .inbox-page .thread-header p{font-size:11px!important;margin:2px 0 0!important}.app-shell .inbox-page .thread-header .button,.app-shell .inbox-page .thread-header select{min-height:28px!important;padding:4px 7px!important;font-size:11px!important}.app-shell .inbox-page .thread-header>div:first-child{min-width:120px}.app-shell .inbox-page .conversation-thread>.reading-orders{padding-block:2px!important;min-height:28px!important}.app-shell .inbox-page .message-composer textarea{resize:none!important;min-height:36px!important;max-height:240px!important;padding:8px 10px!important;line-height:20px!important;font-size:13px!important;box-sizing:border-box!important}.app-shell .inbox-page .conversation-thread>.thread-actions-area{max-height:52%!important}.app-shell .inbox-page .message-composer{gap:4px!important}.app-shell .inbox-page .message-composer-send{gap:4px!important}
}
.followup-filter-panel{position:fixed;left:50%;right:auto;top:145px;transform:translateX(-50%);width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 170px)}
@media(min-width:768px){.app-shell .inbox-page .conversation-thread>.thread-header{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;max-height:none!important;overflow:visible!important}.app-shell .inbox-page .thread-identity-row{flex:1 1 100%;width:100%!important;min-height:0!important}.app-shell .inbox-page .thread-controls-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:0!important;flex:1 1 auto!important}.app-shell .inbox-page .thread-header-actions{width:auto!important;min-width:0!important;flex:0 1 auto!important;flex-wrap:wrap!important;gap:5px!important}.app-shell .inbox-page .thread-controls-row .thread-status-select{margin:0!important}.app-shell .inbox-page .thread-controls-row select{width:auto!important}.app-shell .inbox-page .thread-header-actions button{white-space:nowrap}}

.conversation-thread .thread-actions-area{flex:0 0 auto!important}
