/* v1.3.3 dashboard stack: Recent Campaigns and Sender Health are full-width rows. */
.dashboard-api-stack{grid-template-columns:minmax(0,1fr)}
.settings-submenu{display:flex;flex-direction:row;align-items:center;gap:7px;flex-wrap:nowrap;overflow-x:auto;margin-bottom:20px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);scrollbar-width:thin;visibility:hidden}
.settings-submenu.scroll-ready{visibility:visible}
.settings-submenu a{display:block;flex:0 0 auto;white-space:nowrap;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:#f7faf9;color:var(--muted);font-size:13px;font-weight:750}
.settings-submenu a:hover{background:#edf5f2;color:var(--ink)}
.settings-submenu a.active{background:var(--green);color:#fff}
.dashboard-api-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sending-pattern-settings{margin-top:16px}.sending-pattern-settings h3{margin:0 0 5px}.sending-pattern-settings .form-grid{margin-top:13px}.percentage-input{display:flex;align-items:stretch}.percentage-input input{border-radius:10px 0 0 10px!important}.percentage-input span{display:grid;place-items:center;min-width:42px;border:1px solid #cfded9;border-left:0;border-radius:0 10px 10px 0;background:#f7faf9;font-weight:800}
.dashboard-staff-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
.import-data-table{min-width:1260px}
.import-data-table td{vertical-align:top}
.import-data-table .team-chip,.import-data-table .contact-label,.import-data-table .assignee-chip,.import-routing-chip{display:inline-flex;align-items:center;min-height:25px;margin:2px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap}
.import-routing-chip.phone-chip{background:#e7f5f1;color:var(--green)}
.import-chip-picker{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#f8fbfa}
.import-select-chip{border:1px solid transparent!important;cursor:pointer;opacity:.55;filter:saturate(.45);transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease}
.import-select-chip.contact-label{--label-color:#0b665a}
.import-select-chip:hover{opacity:.82;transform:translateY(-1px)}
.import-select-chip.selected{opacity:1;filter:none;border-color:currentColor!important;box-shadow:0 0 0 2px #fff,0 0 0 3px currentColor}
.import-contact-picker{display:flex;flex-direction:column;align-items:stretch;gap:9px}
.import-contact-picker>.search-select{width:100%;min-width:0}
.import-contact-picker .search-select-input{width:100%;height:42px;padding:9px 11px}
.import-contact-picker .manual-inline-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:0;padding:0 2px}
.import-contact-picker .manual-inline-chips:empty{display:none}
.import-contact-picker .manual-inline-chip{display:inline-flex;align-items:center;gap:3px;min-height:27px;margin:0;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}
.import-contact-picker .manual-inline-chip button{display:inline-grid;place-items:center;width:17px;height:17px;padding:0;border:0;border-radius:50%;background:#ffffffb8;color:currentColor;font-weight:900;cursor:pointer}
.import-contact-picker-add{width:auto!important;min-width:150px;max-width:100%;height:38px;padding:7px 32px 7px 10px!important;background:#fff}
#settings-active-panel+.card{margin-bottom:0}
.phone-settings-card table{min-width:760px}
.phone-settings-card td:first-child{min-width:190px}
.phone-settings-card form.actions{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;min-width:430px}
.phone-settings-card form.actions select{width:100%;min-width:0}
.phone-settings-card form.actions label{display:flex;align-items:center;gap:7px;margin:0;font-size:13px}
.phone-settings-card form.actions input[type="checkbox"]{width:auto;margin:0}
.phone-settings-card>.card-head>.actions{margin-left:auto;justify-content:flex-end}
.sender-phone-field,.sender-phone-card .form-grid{align-items:end}
.sender-phone-field{grid-template-columns:minmax(240px,360px) 170px;justify-content:start;gap:12px}
.sender-phone-field .form-group:last-child{width:100%}
.sender-phone-field .form-group:last-child label{visibility:hidden}
.sender-phone-field select,.sender-phone-field .btn{height:42px;min-height:42px}
.sender-phone-field .btn,.sender-phone-card .btn{width:100%;white-space:nowrap}
.dashboard-system-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.dashboard-system-pane{display:flex;align-items:center;min-width:0;min-height:74px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f7faf9}
.dashboard-phone-auto-select{display:flex;align-items:center;gap:12px;width:100%}
.dashboard-phone-auto-select label{font-size:13px;font-weight:750;white-space:nowrap}
.dashboard-phone-auto-select select{width:auto;min-width:0;max-width:100%;height:42px;margin-left:auto;border:1px solid #cfded9;border-radius:10px;padding:9px 32px 9px 11px;background:#fff;color:var(--ink);font:inherit}
.dashboard-calling-status{justify-content:space-between;gap:12px}
.form-group>.search-select{width:100%;min-width:0}
.form-group>.search-select .search-select-input{width:100%;height:42px;padding:9px 11px;border-radius:10px}
.manual-contact-meta-grid .search-select{width:100%;min-width:0;margin-top:9px}
.manual-contact-meta-grid .search-select-input{width:100%;height:42px;padding:9px 11px;border-radius:10px}
.manual-contact-meta-grid .search-select+.manual-inline-chips{margin-top:9px}
.campaign-recipient-filter .btn,.drawer-inline-field .btn,.sender-phone-control-row .btn{min-height:42px;white-space:nowrap}
@media(max-width:760px){.sender-phone-field .form-group:last-child label{display:none}}
.sender-phone-control-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.sender-phone-control-row .btn{width:auto;white-space:nowrap}
.campaign-format-field{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.campaign-schedule-row{display:grid;grid-template-columns:1fr;align-items:start;gap:14px;grid-column:1/-1;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfdfc}
.campaign-recipient-filter{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr) auto;align-items:end;gap:12px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.campaign-recipient-filter .actions{padding-bottom:1px;white-space:nowrap}
.campaign-recipient-table{min-width:1180px}
.campaign-recipient-table td{vertical-align:top}
.campaign-recipient-bulk{grid-template-columns:minmax(170px,220px) auto 1fr auto;justify-content:start}
.campaign-recipient-bulk label{order:4;margin-left:auto}
.campaign-recipient-bulk select{height:38px;padding:8px 10px;border:1px solid #cfded9;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px}
.campaign-recipient-bulk select[name="bulk_action"]{width:max-content;max-width:100%;justify-self:start}
.campaign-recipient-bulk .btn{width:auto;min-height:38px}
.campaign-recipient-bulk [data-campaign-recipient-count]{margin-left:4px;text-align:left}
.campaign-recipient-table th:first-child,.campaign-recipient-table td:first-child{width:42px;text-align:center}
@media(max-width:800px){.campaign-recipient-filter{grid-template-columns:1fr}.campaign-recipient-filter .actions{display:grid;grid-template-columns:1fr 1fr}.campaign-recipient-filter .btn{width:100%}}
@media(max-width:800px){.campaign-recipient-bulk{grid-template-columns:1fr}.campaign-recipient-bulk label,.campaign-recipient-bulk select,.campaign-recipient-bulk .btn,.campaign-recipient-bulk [data-campaign-recipient-count]{grid-column:1;width:100%;margin-left:0}.campaign-recipient-bulk [data-campaign-recipient-count]{text-align:left}}
@media(max-width:800px){.campaign-recipient-bulk select[name="bulk_action"]{width:max-content;max-width:100%;justify-self:start}}
.campaign-schedule-row[hidden]{display:none!important}
.immediate-campaign-progress{margin-top:14px;border-color:#a9d9c9;background:#f1fbf7}
.immediate-campaign-progress b{color:#087453}
.immediate-campaign-progress .progress{margin:10px 0 6px}
.immediate-campaign-progress.has-error{border-color:#ead7bd;background:#fff8ed}
.immediate-campaign-progress.has-error b{color:#9a5b13}
.contact-phone-field{align-items:end;flex-wrap:wrap}
.contact-phone-field .form-group{flex:1 1 260px}
.phone-sync-missing{display:inline-block;color:#b42318;font-size:12px;font-weight:650;line-height:1.35}
@media(max-width:760px){.phone-settings-card form.actions{grid-template-columns:1fr;min-width:230px}.sender-phone-field,.sender-phone-card .form-grid{grid-template-columns:1fr}.dashboard-api-grid,.dashboard-staff-grid,.dashboard-system-controls{grid-template-columns:1fr}}
@media(max-width:760px){.phone-settings-card>.card-head{align-items:flex-start;flex-direction:row}.phone-settings-card>.card-head>.actions{display:flex;width:min(210px,100%);margin-left:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;flex-wrap:nowrap}.phone-settings-card>.card-head>.actions form{display:flex;width:100%;justify-content:flex-end}.phone-settings-card>.card-head>.actions .btn{width:100%;max-width:100%;min-height:38px;white-space:nowrap}}
@media(max-width:560px){.sender-phone-control-row{grid-template-columns:1fr}.sender-phone-control-row .btn{width:100%}}
.contact-filter{padding:18px 20px}
.contact-filter .activity-filter-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px}
.contact-filter .activity-filter-actions{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.bulk-bar{display:grid!important;grid-template-columns:minmax(180px,1.25fr) repeat(3,minmax(150px,1fr)) auto;gap:10px!important;align-items:center;padding:12px;margin:-6px -6px 16px!important;border:1px solid var(--line);border-radius:12px;background:#f7faf9}
.bulk-bar select{width:100%;max-width:none!important;height:40px;padding:8px 10px!important;background:#fff}
.bulk-bar .btn{height:40px;white-space:nowrap}
.contact-routing-meta{display:flex;flex-direction:column;gap:2px;margin-top:7px;padding-top:7px;border-top:1px dashed #dce7e3;color:var(--muted)}
.contact-routing-meta small{font-size:10px;line-height:1.35}
th[data-routing-column],td[data-routing-cell]{min-width:180px;vertical-align:top}
.routing-inline-form{margin:0}
.routing-inline-form select{width:100%;min-width:150px;height:36px;padding:6px 30px 6px 9px;font-size:12px;background:#fff}
.routing-team-editor{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:190px}
.routing-team-editor .inline-chip-form{display:inline-flex}
.routing-team-editor .team-chip{border:0;cursor:pointer}
.routing-team-add{flex:1 1 105px;max-width:150px}
.routing-team-add select{min-width:105px;height:30px;padding-top:4px;padding-bottom:4px}
.contact-chip-editor{min-width:165px;vertical-align:top!important;line-height:1.2}
.contact-chip-editor>.inline-chip-form,.contact-chip-editor>.inline-add-form{vertical-align:top}
.contact-chip-editor .contact-label,.contact-chip-editor .assignee-chip{vertical-align:top}
tr:has(>.contact-chip-editor)>td{vertical-align:top!important}
.contact-chip-editor .inline-chip-form,.contact-chip-editor .inline-add-form{display:inline-flex;margin:2px}
.contact-chip-editor .contact-label,.contact-chip-editor .assignee-chip,.routing-team-editor .team-chip{min-height:26px;align-items:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap}
.contact-chip-editor .inline-chip{border:0;cursor:pointer}
.contact-chip-editor .inline-add-form select{min-width:105px;max-width:145px;height:30px;padding:4px 28px 4px 8px;border-radius:999px;background:#fff;font-size:11px}
.inbox-routing-bulk{display:grid;grid-template-columns:1fr;gap:10px;padding:13px 12px 14px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f8fbfa,#f2f7f5)}
.inbox-bulk-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.inbox-bulk-head b{display:block;color:var(--ink);font-size:13px}
.inbox-bulk-head small{display:block;margin-top:2px;color:var(--muted);font-size:9px;line-height:1.35}
.inbox-bulk-head button{padding:2px 0;border:0;background:transparent;color:var(--green);font-size:10px;font-weight:800;cursor:pointer}
.inbox-bulk-controls{display:none;gap:8px;padding-top:2px}
.inbox-routing-bulk.has-selection .inbox-bulk-controls{display:grid}
.inbox-bulk-field{display:grid;gap:4px}
.inbox-bulk-field:has(select[hidden]){display:none}
.inbox-bulk-field>span{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.inbox-routing-bulk select,.inbox-routing-bulk .btn{width:100%;min-width:0;height:39px}
.inbox-routing-bulk select{border-color:#cbdcd6;background:#fff;font-size:11px}
.inbox-bulk-apply{margin-top:2px}
.inbox-bulk-apply:disabled{opacity:.45;cursor:not-allowed}
.inbox-bulk-select-all{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #d4e2de;border-radius:10px;background:#fff;box-shadow:0 2px 7px #16332c08}
.inbox-bulk-select-all input{width:auto!important;margin:0}
.inbox-bulk-select-all select{flex:1;width:auto;border:0;background:transparent}
.inbox-routing-bulk.has-selection .inbox-bulk-select-all{border-color:#8fbdb0;background:#f3fbf8}
.import-bulk-bar{display:grid;grid-template-columns:auto minmax(150px,190px) minmax(150px,190px) minmax(180px,1fr) auto;align-items:center;gap:8px;margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.import-bulk-bar label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;font-weight:750}
.import-bulk-bar label input{width:auto!important;margin:0}
.import-bulk-bar.import-bulk-delete{grid-template-columns:auto 1fr auto}
.import-edit-table{min-width:max-content}
.import-edit-table th{white-space:nowrap}
.import-edit-table td{vertical-align:middle}
.import-edit-table td input[type="text"],.import-edit-table td input:not([type]){width:170px;min-width:130px;height:34px;padding:6px 8px;font-size:11px}
.import-edit-table .actions{flex-wrap:nowrap}
.import-row-locked{background:#f7f7f7;opacity:.78}
.import-detail-stats .stat{cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.import-detail-stats .stat:hover{border-color:#8fbdb0;transform:translateY(-1px)}
.import-detail-stats .stat.active{border-color:var(--green);box-shadow:0 0 0 2px #0b665a1f,var(--shadow)}
.import-detail-stats .stat.active small,.import-detail-stats .stat.active strong{position:relative;z-index:1;color:var(--green)}
.import-detail-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.import-no-header-option{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:12px;font-weight:650;color:var(--muted)}
.import-no-header-option input{width:auto!important;margin:0}
.import-apply-contact-option{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.import-apply-contact-option input{flex:0 0 auto;width:auto!important;margin:3px 0 0!important}
.import-apply-contact-option span,.import-apply-contact-option small{display:block}
.import-apply-contact-option small{margin-top:4px;color:var(--muted);font-weight:500;line-height:1.45}
.map-combined-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);gap:8px}
.map-combined-fields input,.map-combined-fields select{width:100%;min-width:0}
@media(max-width:800px){.map-combined-fields{grid-template-columns:1fr}}
.active-team-select{width:100%;margin-top:8px;padding:7px 8px;border:1px solid #2b665b;border-radius:8px;background:#0d3b34;color:#dff7ef;font-size:11px}
.user-extra-teams>select{min-height:118px}
.import-name-link{padding:0;border:0;background:transparent;color:var(--green);font:inherit;font-weight:800;text-align:left;cursor:pointer}
.import-name-link:hover{text-decoration:underline}
@media(max-width:800px){.import-bulk-bar{grid-template-columns:1fr 1fr}.import-bulk-bar label,.import-bulk-bar input[name="bulk_value"],.import-bulk-bar .btn{grid-column:1/-1}}
.chat-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,42%);grid-template-rows:auto auto;column-gap:18px;align-items:start;padding-right:20px!important}
.chat-header>b{grid-column:1;grid-row:1}
.chat-header>.help{grid-column:1;grid-row:2;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.inbox-contact-meta{position:absolute!important;top:16px!important;right:20px!important;display:flex!important;justify-content:flex-end;align-items:flex-start!important;gap:14px!important;width:42%;max-height:74px;overflow-y:auto;margin:0;padding:0 3px 3px 0;border:0}
.inbox-contact-meta .inbox-meta-group,.inbox-contact-meta .inbox-meta-group:nth-child(2){position:static!important;top:auto!important;right:auto!important;min-width:0!important;max-width:220px!important;text-align:right;align-self:flex-start!important}
.inbox-contact-meta .inbox-meta-group>.help{display:block!important;margin-bottom:5px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.inbox-contact-meta .inbox-meta-group>div,.inbox-contact-meta .inbox-meta-group:nth-child(2)>div{display:flex;align-items:flex-start;align-content:flex-start;justify-content:flex-end!important;gap:3px;flex-wrap:wrap}
.inbox-contact-meta .inbox-meta-group>div>.muted{font-size:9px;line-height:1.3}
.inbox-contact-meta .search-select{min-width:135px}
.inbox-contact-meta .search-select-input{height:31px;padding:5px 8px;font-size:10px}
.inbox-contact-check{flex:0 0 auto;width:auto!important;margin:2px 8px 0 0}
.chat-routing-number{display:block;color:var(--muted);font-size:9px;line-height:1.4;margin:4px 0 2px;padding-right:2px}
.chat-item{padding:13px 12px!important;padding-right:92px!important}
.chat-item>.inbox-contact-check{position:absolute;left:10px;top:14px;z-index:2}
.chat-item:has(>.inbox-contact-check){padding-left:34px!important}
.chat-header>.help{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;margin-top:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.chat-header>.help .chat-meta-item{display:inline-flex;align-items:center;flex:0 0 auto;gap:4px;min-height:28px;padding:5px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:10px;white-space:nowrap}
.chat-header>.help .chat-meta-item small{font-size:9px;color:var(--muted)}
.chat-header>.help .chat-meta-item b{font-size:10px;color:var(--ink)}
.chat-header>.help .chat-meta-item.active{border-color:#b8dfd2;background:#edf9f5;color:#087453}
.chat-header>.help .chat-meta-item.expired{border-color:#ead7bd;background:#fff8ed;color:#9a5b13}
.contact-drawer{background:#f4f8f7}
.contact-detail-section{margin:12px 16px;padding:15px;border-radius:12px;box-shadow:0 3px 14px #16332c08}
.contact-detail-section h3{margin-bottom:9px}
.contact-phone-field{padding-top:10px;border-top:1px solid var(--line)}
.drawer-phone-unsynced{color:#c62828;font-size:9px;font-weight:700;line-height:1.3}
.phone-health{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.phone-settings-table .phone-health,.meta-status-card .phone-health{min-width:57px;flex-wrap:nowrap;white-space:nowrap}
.phone-quality,.phone-status{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800}
.phone-quality svg{width:15px;height:15px;fill:currentColor;stroke:none;filter:drop-shadow(0 0 3px currentColor)}
.phone-quality.good,.phone-status.good{background:#e9f8f1;color:#08784f}
.phone-quality.warning,.phone-status.warning{background:#fff6dc;color:#996500}
.phone-quality.bad,.phone-status.bad{background:#fdecec;color:#bd2929}
.phone-quality.neutral,.phone-status.neutral{background:#eef2f1;color:#60706b}
.phone-team-control{display:grid!important;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:8px;min-width:310px}
.phone-team-control select{height:36px;border-color:#cbdcd6;border-radius:9px;background:#fff;font-size:11px}
.phone-team-control label{display:flex;align-items:center;gap:5px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:#f7faf9;font-size:10px;font-weight:750}
.phone-team-control label input{width:auto!important;margin:0}
.phone-team-control .btn{height:36px;white-space:nowrap}
.phone-team-multi-control{align-items:start!important;grid-template-columns:minmax(210px,1fr) auto!important}
.phone-team-multi-control select[multiple]{height:auto;min-height:72px}
.phone-team-chip-editor{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px;min-width:210px;margin:0!important;padding:0!important;border:0!important}
.phone-team-chip-editor .form-group,.phone-team-chip-editor .search-select{width:100%}
.phone-team-chip-editor .drawer-chip-list{display:flex;width:100%;margin-top:0;flex-wrap:wrap;align-items:flex-start}
.phone-team-chip-editor .team-chip button{margin-left:3px;padding:0;border:0;background:transparent;color:inherit;font:inherit;line-height:1;cursor:pointer}
.phone-team-save-status{min-height:18px}.phone-team-save-status.error{color:var(--danger)}
.phone-default-team-cell select{min-width:170px;height:36px;border-color:#cbdcd6;border-radius:9px;background:#fff;font-size:11px}
.calls-history-table{min-width:1450px}
.calls-history-table.staff-calls-table{min-width:960px}
.calls-history-table td{vertical-align:top}
.call-time-cell{min-width:154px}
.call-time-row{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:start;padding:5px 0;border-bottom:1px solid #edf2f0}
.call-time-row:first-child{padding-top:0}
.call-time-row:last-child{padding-bottom:0;border-bottom:0}
.call-time-row>span{color:var(--muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.35px}
.call-time-row b,.call-time-row small{display:block;white-space:nowrap;line-height:1.3}
.call-time-row b{font-size:11px}
.call-time-row small{margin-top:2px;color:var(--muted);font-size:10px}
.call-direction{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}
.call-direction.inbound{background:#e9f8f1;color:#08784f}
.call-direction.outbound{background:#eaf2fb;color:#2467a6}
.campaign-name-link{display:inline-block;color:var(--green);font-weight:750}
.campaign-name-link:hover{text-decoration:underline}
@media(max-width:760px){.phone-team-control{grid-template-columns:1fr;min-width:210px}.phone-team-control .btn{width:100%}}
.drawer-inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.drawer-inline-field .form-group{gap:9px}
.drawer-inline-field .btn{height:42px;white-space:nowrap}
.drawer-inline-field.compact{margin-top:10px;padding-top:10px}
.drawer-chip-list{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:28px}
.drawer-inline-field+.drawer-chip-list{margin-top:14px;padding-top:2px}
.drawer-chip-list .inline-chip-form{display:inline-flex;margin:0}
.drawer-chip-list .contact-label,.drawer-chip-list .assignee-chip,.drawer-chip-list .team-chip{display:inline-flex;align-items:center;min-height:27px;margin:0;padding:4px 9px;border:0;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2}
.drawer-chip-list button.inline-chip{cursor:pointer}
.team-chip{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fff2d8;color:#815100;font-size:11px;font-weight:800}
.template-group-card{margin-top:20px}
.template-page-tabs{display:flex;gap:5px;margin:18px 0;padding:5px;border:1px solid var(--line);border-radius:11px;background:#f3f7f6}
.template-page-tabs button{padding:9px 15px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:11px;font-weight:800;cursor:pointer}
.template-page-tabs button.active{background:#fff;color:var(--green);box-shadow:0 2px 9px #16332c12}
.template-tab-pane{display:none}
.template-tab-pane.active{display:block}
.template-picker-card{margin-bottom:14px}
.template-picker-card .form-group{max-width:620px;margin:0}
.template-picker-card.has-group-filter{display:block}
.template-picker-fields{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(300px,1.35fr);gap:12px;align-items:end}
.template-picker-card.has-group-filter .form-group{max-width:none}
.template-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:14px;align-items:start}
.template-page-preview{min-height:300px}
.template-page-preview .template-preview-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#template_team_assignment{min-height:220px}
#template_team_assignment .template-team-form{grid-template-columns:1fr;align-items:stretch;margin-top:12px;padding:0;border:0;background:transparent}
#template_team_assignment .template-team-form>div:first-of-type{display:none}
#template_team_assignment .template-team-form .btn{width:100%}
.template-team-chip-editor.drawer-inline-field{grid-template-columns:1fr;margin:0;padding:0;border:0}
.template-team-chip-editor .form-group{margin:0}
.template-team-chip-editor .drawer-chip-list{margin-top:9px}
.template-team-chip-editor .team-chip button{margin-left:3px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.template-assignment-summary{margin-top:16px}
.template-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.template-summary-team{padding:14px;border:1px solid var(--line);border-radius:11px;background:#f8fbfa}
.template-summary-team h3{margin:0 0 12px;font-size:13px}
.template-summary-section+ .template-summary-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.template-summary-section>small{display:block;margin-bottom:7px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.template-summary-group+ .template-summary-group{margin-top:10px}
.template-summary-group>b{display:block;margin-bottom:6px;font-size:11px}
.template-chip{background:#e9f8f1;color:#08784f;font-size:10px}
.template-chip.group{background:#eef2fb;color:#385e99}
.test-send-workspace{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(340px,1.2fr);gap:18px;align-items:start}
.test-send-form-pane{min-width:0}
.test-send-preview-pane{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f7faf9}
.test-send-preview-pane>.template-preview-title{margin-bottom:10px}
.test-send-template-preview{min-height:340px}
.template-group-grid,.template-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.template-group-form,.template-team-form{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:11px;background:#f8fbfa}
.template-group-form>.btn{justify-self:end;min-width:132px;height:38px;margin-top:4px;padding:8px 16px;border-radius:9px;box-shadow:0 3px 9px #0b665a18}
.template-group-form:has(input[name="group_id"][value="0"])>.btn{background:#0b665a}
.template-team-form{grid-template-columns:minmax(150px,1fr) minmax(180px,1.25fr) auto;align-items:center}
.template-group-form select[multiple],.template-team-form select[multiple]{min-height:78px;padding:7px;border-color:#cbdcd6;background:#fff;font-size:11px}
.template-team-form .btn{white-space:nowrap}
@media(max-width:850px){.test-send-workspace,.template-picker-fields,.template-workspace,.template-group-grid,.template-assignment-grid,.template-summary-grid{grid-template-columns:1fr}.template-team-form{grid-template-columns:1fr}.template-team-form .btn,.template-group-form>.btn{justify-self:stretch;width:100%}}
@media(max-width:1200px){.bulk-bar{grid-template-columns:repeat(3,minmax(150px,1fr))}.bulk-bar .btn{width:100%}.contact-filter .activity-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:700px){.bulk-bar,.contact-filter .activity-filter-grid{grid-template-columns:1fr}.contact-filter{padding:15px}.contact-detail-head{padding:16px}.contact-detail-section{margin:10px 12px}.contact-detail-grid{grid-template-columns:1fr 1fr}.drawer-inline-field{grid-template-columns:1fr}.drawer-inline-field .btn{width:100%}th[data-routing-column],td[data-routing-cell]{min-width:155px}.chat-header{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:5px}.inbox-contact-meta{grid-column:1;grid-row:3;justify-content:flex-start;width:100%;padding-top:8px}.inbox-contact-meta .inbox-meta-group,.inbox-contact-meta .inbox-meta-group:nth-child(2){max-width:none!important;text-align:left}.inbox-contact-meta .inbox-meta-group>div,.inbox-contact-meta .inbox-meta-group:nth-child(2)>div{justify-content:flex-start!important}}
@media(max-width:700px){.chat-header>.help{grid-column:1}.inbox-contact-meta{position:static!important;top:auto!important;right:auto!important;max-height:none;overflow:visible}}

/* Butang tindakan menggunakan bahasa visual ikon status. */
.btn.ui-action-icon{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:0;min-height:31px;padding:7px 10px;gap:6px;border-radius:9px;font-size:12px;line-height:1.2;vertical-align:middle;align-self:center}
.actions,.toolbar,.card-head,.contact-detail-head-actions{align-items:center}
.actions>.ui-action-icon,.toolbar .ui-action-icon,.card-head .ui-action-icon{align-self:center}
.btn.ui-action-icon::before{content:"";display:block;flex:0 0 19px;width:19px;height:19px;background-position:center;background-repeat:no-repeat;background-size:19px 19px}
.btn.ui-action-icon.action-copy::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%233b82c4'/%3E%3Crect x='8.5' y='8.5' width='7.5' height='8' rx='1.2' fill='none' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M7.8 14.2H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6.2a1 1 0 0 1 1 1v.8' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-copy.copied::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b982'/%3E%3Cpath d='M6.8 12.2l3.2 3.3 7.4-7.3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-chat::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b982'/%3E%3Cpath d='M7 8.2h10v6.7H11l-3.2 2.2v-2.2H7V8.2Z' fill='none' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9.5 11.5h5' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-add::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b982'/%3E%3Cpath d='M12 7.5v9m-4.5-4.5h9' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-edit::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%233b82c4'/%3E%3Cpath d='m8 15.8.6-3 6-6 2.6 2.6-6 6-3.2.4Z' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-use::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b982'/%3E%3Cpath d='M6.8 12.2l3.2 3.3 7.4-7.3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-save::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b982'/%3E%3Cpath d='M7.5 7h8l1.5 1.5V17H7V7Z' fill='none' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9.5 7v3h4.5V7m-4.5 10v-4h5v4' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.icon-only-action{display:inline-grid;place-items:center;width:31px;height:31px;min-width:31px;min-height:31px;padding:0;gap:0;border:0;border-radius:50%;background:transparent!important;color:transparent!important;font-size:0;line-height:0}
.btn.ui-action-icon.icon-only-action::before{width:23px;height:23px;background-size:23px 23px}
.sender-phone-field:has(.action-use){grid-template-columns:minmax(240px,360px) 170px}
.sender-phone-field:has(.action-use) .form-group:last-child{align-items:stretch}
.drawer-inline-field:has(>.ui-action-icon){grid-template-columns:minmax(0,1fr) auto}
.drawer-inline-field>.ui-action-icon{justify-self:auto;align-self:end}
@media(max-width:760px){.sender-phone-field:has(.action-use),.drawer-inline-field:has(>.ui-action-icon){grid-template-columns:1fr}.sender-phone-field:has(.action-use) .form-group:last-child{align-items:stretch}.drawer-inline-field>.ui-action-icon{justify-self:stretch}}
.contact-detail-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;overflow:visible}
.contact-detail-head>div:first-child{min-width:0}
.contact-detail-head-actions .btn.ui-action-icon,.contact-detail-head-actions .drawer-close{width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:0;flex:0 0 36px;border-radius:50%}
.contact-detail-head-actions .btn.ui-action-icon{background:transparent!important;color:transparent!important;font-size:0;gap:0}
.contact-detail-head-actions .btn.ui-action-icon::before{display:block;flex:0 0 19px;width:19px;height:19px;background-size:19px 19px;background-position:center}
.contact-detail-head-actions .drawer-close{display:grid;place-items:center;padding:0;line-height:1}
.contact-drawer .contact-detail-section .btn.ui-action-icon{display:inline-grid;place-items:center;width:31px;height:31px;min-width:31px;min-height:31px;padding:0;gap:0;border:0;border-radius:50%;background:transparent!important;color:transparent!important;font-size:0;line-height:0;justify-self:center}
.contact-drawer .contact-detail-section .btn.ui-action-icon::before{width:23px;height:23px;background-size:23px 23px}
.contact-drawer .drawer-inline-field>.btn.ui-action-icon{align-self:end;margin-bottom:5px}

/* Gunakan ukuran butang Sync Templates untuk semua butang tindakan. */
.btn:not(.icon-only-action){height:auto;min-height:38px;padding:11px 15px;border-radius:10px;font-size:13px;line-height:1.2}
.contact-detail-section .btn.no-action-icon{display:inline-flex;width:auto;min-height:38px;padding:11px 15px;gap:5px;border-radius:10px;background:var(--green);color:#fff;font-size:0;font-weight:750;line-height:1.2}
.contact-detail-section .btn.no-action-icon::before{content:"";display:block;flex:0 0 17px;width:17px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h13l3 3v13H4V4Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h13l3 3v13H4V4Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.contact-detail-section .btn.no-action-icon::after{content:"Simpan";font-size:13px}
.manual-contact-submit .btn{font-size:0}
.manual-contact-submit .btn::after{content:"Simpan";font-size:13px}
.contact-drawer .manual-contact-submit .btn.ui-action-icon.action-save{display:inline-flex;width:auto;height:auto;min-width:0;min-height:38px;padding:11px 15px;border:0;border-radius:10px;background:var(--green)!important;color:#fff!important;line-height:1.2}
.contact-drawer .manual-contact-submit .btn.ui-action-icon.action-save::before{display:none}
.btn.ui-action-icon:not(.icon-only-action)::before{width:17px;height:17px;flex-basis:17px;background-color:currentColor;background-image:none;background-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}
.btn.ui-action-icon.action-copy:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='10' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M6 16H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='10' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M6 16H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-chat:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4V5Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 10h8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4V5Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 10h8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-add:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-edit:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 20 1-5L16 4l4 4L9 19l-5 1Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m13.5 6.5 4 4' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 20 1-5L16 4l4 4L9 19l-5 1Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m13.5 6.5 4 4' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-use:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.btn.ui-action-icon.action-save:not(.icon-only-action)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h13l3 3v13H4V4Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h13l3 3v13H4V4Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.contact-detail-head-actions .btn.ui-action-icon.action-chat{display:inline-flex;width:auto;height:auto;min-width:0;min-height:38px;padding:11px 15px;flex:0 0 auto;gap:6px;border-radius:10px;background:#e6f2ef!important;color:#17493f!important;font-size:13px;line-height:1.2}
.contact-drawer .drawer-inline-field>.btn.no-action-icon{justify-self:start;width:auto;gap:5px}
body .btn.ui-action-icon.action-save{display:inline-flex;width:auto;height:auto;min-width:0;min-height:38px;padding:11px 15px;gap:5px;border:0;border-radius:10px;background:var(--green)!important;color:#fff!important;font-size:13px;line-height:1.2}
.contact-note-form .btn:disabled::before,.manual-contact-form .btn:disabled::before,.contact-detail-section:has(>h3:first-child) .drawer-ajax-form .btn:disabled::before{background:transparent!important;-webkit-mask:none!important;mask:none!important;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:button-save-spin .7s linear infinite}
.save-remark,[data-manual-contact-status]{display:inline-block;margin-left:9px;font-size:11px;color:var(--muted);vertical-align:middle}
.save-action-status{display:flex;align-items:center;justify-self:start;gap:0;white-space:nowrap}
.save-action-status .btn{width:auto!important;flex:0 0 auto}
.save-remark.success,[data-manual-contact-status].success{color:#08704f}
.save-remark.error,[data-manual-contact-status].error{color:var(--danger)}
@keyframes button-save-spin{to{transform:rotate(360deg)}}
.user-editor-card{width:100%;margin:0}
.user-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;align-items:start}
.user-editor-section-title{grid-column:1/-1;display:flex;align-items:baseline;gap:10px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.user-editor-section-title b{font-size:15px}
.user-editor-section-title span{font-size:11px;color:var(--muted)}
.user-editor-grid>.form-group input,.user-editor-grid>.form-group select,.user-editor-grid>.form-group .search-select-input{height:42px}
.password-generate-field{display:flex;align-items:stretch;width:100%}
.password-generate-field>input{min-width:0;border-radius:8px 0 0 8px}
.password-visibility-button{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:0;padding:0;border:1px solid var(--line);border-left:0;background:#fff;color:var(--muted);cursor:pointer}
.password-visibility-button:hover{color:var(--primary);background:#f7faf9}
.password-visibility-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.password-visibility-button[aria-pressed="true"]::after{content:"";position:absolute;width:24px;height:1.8px;background:currentColor;transform:rotate(-45deg);border-radius:2px}
.password-generate-field>.password-generate-button{flex:0 0 auto;height:42px;border-radius:0 8px 8px 0;white-space:nowrap}
.user-editor-status{grid-column:auto;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:12px;min-height:72px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.user-editor-extra-team{grid-column:1/-1;min-width:0}
.user-editor-extra-team .user-team-chip-editor{min-height:42px}
.user-editor-extra-team .user-team-chip-editor>.form-group{display:flex;align-items:center;align-content:flex-start;gap:6px;flex-wrap:wrap;min-height:72px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
.user-editor-extra-team .user-team-chip-editor .search-select{flex:1 1 210px;min-width:170px}
.user-editor-extra-team .user-team-chip-editor .drawer-chip-list{flex:1 1 100%;margin:0}
.user-editor-status>label{width:auto;margin:0;line-height:1.2}
.user-editor-status>label:last-child{display:inline-flex!important;flex-direction:row;align-items:center;gap:8px;min-height:24px;white-space:nowrap}
.user-editor-grid>.user-editor-status input[type="checkbox"]{flex:0 0 18px;width:18px!important;height:18px!important;margin:0!important;padding:0!important}
.user-editor-submit{grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;min-height:38px;padding:0}
.user-editor-submit .btn{width:auto;margin:0}
.user-access-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px}
.user-access-button-row{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.user-access-button-row>.btn{flex:0 0 auto;width:auto!important;margin:0!important;white-space:nowrap}
.user-access-actions>[data-copy-user-access-status]{width:100%;margin:0}
.saved-user-access{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 14px;margin-bottom:20px;border-color:#a9dbc7;background:#f1fbf7}
.saved-user-access>[data-copy-user-access-status]{grid-column:1/-1;margin:0}
@media(max-width:600px){.saved-user-access{grid-template-columns:1fr}.saved-user-access>[data-copy-user-access-status]{grid-column:auto}.saved-user-access>.btn{justify-self:start}}
@media(max-width:700px){.user-editor-grid{grid-template-columns:1fr}.user-editor-section-title,.user-editor-status,.user-editor-extra-team,.user-editor-submit{grid-column:auto}.user-editor-section-title{align-items:flex-start;flex-direction:column;gap:3px}.user-editor-submit{justify-content:flex-start}}
.user-editor-page .page{padding-left:20px;padding-right:20px}
.user-editor-page .page>.card{width:100%;margin-left:0;margin-right:0}
.user-editor-page .page>.user-activity-card{margin-top:20px}
.user-editor-page .form-grid>.form-group:has(input[name="is_active"]){grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px;min-height:52px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f7faf9}
.user-editor-page .form-group:has(input[name="is_active"])>label{display:inline-flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;gap:8px;margin:0;white-space:nowrap}
.user-editor-page .form-group input[name="is_active"]{flex:0 0 18px;width:18px!important;height:18px!important;margin:0!important;padding:0!important}
.user-editor-page .form-grid>.form-group:has(.btn.action-save){grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;padding:0}
@media(max-width:800px){.user-editor-page .page{padding-left:14px;padding-right:14px}}
.template-media-placeholder img{display:block;width:100%;max-height:230px;object-fit:cover;border-radius:8px}
.template-media-warning{display:block;padding:8px 9px;background:#fff2d8;color:#8a5600;font-size:10px;line-height:1.4;text-align:left}
.template-media-placeholder.has-media-error{padding:22px 12px;color:var(--danger);font-size:11px;text-align:center}
.campaign-create-form .campaign-submit-button{align-self:flex-start;justify-self:start;width:auto;margin-left:0;margin-right:auto}
.campaign-create-form #selected-template-preview .campaign-template-bubble{overflow:visible}
.campaign-create-form #selected-template-preview .campaign-template-stage{padding-top:26px}
.button-url-format{display:grid;gap:5px;margin-top:8px;padding:8px 9px;border:1px solid var(--line);border-radius:8px;background:#f7faf9}
.button-url-format .code{overflow-wrap:anywhere;font-size:10px}
.template-preview-button-url{display:block;margin-top:3px;overflow-wrap:anywhere;color:var(--muted);font-size:9px;font-weight:500}
.campaign-sent-preview-card{margin-top:20px}
.campaign-sent-preview-content{margin-top:15px}
.campaign-sent-preview-card .campaign-template-stage{max-width:520px}
.campaign-contact-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.template-mapped-value{position:relative;display:inline;color:inherit;font:inherit;font-weight:inherit;border-bottom:2px dotted #16816d;cursor:help;outline:none}
.template-mapped-value::after{content:attr(data-map-label);position:absolute;z-index:30;left:50%;top:calc(100% + 7px);padding:5px 8px;border-radius:6px;background:#123f37;color:#fff;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap;opacity:0;visibility:hidden;transform:translate(-50%,-4px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;pointer-events:none;box-shadow:0 6px 18px #082c2630}
.template-mapped-value::before{content:'';position:absolute;z-index:31;left:50%;top:calc(100% + 2px);width:8px;height:8px;background:#123f37;opacity:0;visibility:hidden;transform:translateX(-50%) rotate(45deg);transition:opacity .16s ease,visibility .16s ease;pointer-events:none}
.template-mapped-value:hover::after,.template-mapped-value:hover::before,.template-mapped-value:focus::after,.template-mapped-value:focus::before,.template-mapped-value.tooltip-open::after,.template-mapped-value.tooltip-open::before{opacity:1;visibility:visible}
.template-mapped-value:hover::after,.template-mapped-value:focus::after,.template-mapped-value.tooltip-open::after{transform:translate(-50%,0)}
.campaign-contact-multi{position:relative}
.campaign-contact-multi>summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:10px 12px;border:1px solid #cfded9;border-radius:10px;background:#fff;cursor:pointer;list-style:none;font-size:13px}
.campaign-contact-multi>summary::-webkit-details-marker{display:none}
.campaign-contact-multi>summary:after{content:"▾";color:var(--muted)}
.campaign-contact-multi-options{position:absolute;z-index:30;top:calc(100% + 5px);left:0;width:100%;max-height:230px;overflow:auto;padding:7px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 30px #16332c20}
.campaign-contact-multi-options label{display:flex;align-items:center;gap:8px;padding:8px;border-radius:7px;font-size:12px;cursor:pointer}
.campaign-contact-multi-options label:hover{background:var(--mint)}
.campaign-contact-multi-options input[type="checkbox"]{width:16px!important;height:16px;margin:0}
@media(max-width:800px){.campaign-contact-filter-grid{grid-template-columns:1fr}}
.campaign-import-source[hidden],.campaign-contact-source[hidden]{display:none!important}
.drawer-style-multi-search{display:block;width:100%!important;min-width:0;height:42px;margin:0 0 7px;padding:9px 11px!important;border:1px solid #cfded9!important;border-radius:10px!important;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.2;box-shadow:none;outline:none}
.drawer-style-multi-search:focus{border-color:var(--green)!important;box-shadow:0 0 0 3px rgba(11,102,90,.1)}
.drawer-style-filter-chips{display:none!important}
.table-filter-contact-option{display:flex;flex-direction:column;gap:2px;min-width:0}
.table-filter-contact-option b{font-size:12px}
.table-filter-contact-option small{color:var(--muted);font-size:10px}
.campaign-contact-multi-options label[hidden],.table-filter-options label[hidden]{display:none!important}
.campaign-contact-filter-grid{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:stretch;align-items:start}
.campaign-contact-filter-grid>.form-group{width:100%;min-width:0}
.campaign-contact-filter-grid .campaign-contact-multi,.campaign-contact-filter-grid .campaign-template-group-filter select{width:100%;min-width:0}
@media(max-width:1050px){.campaign-contact-filter-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}}
@media(max-width:650px){.campaign-contact-filter-grid{grid-template-columns:1fr}.campaign-contact-filter-grid>.form-group,.campaign-contact-filter-grid .campaign-contact-multi,.campaign-contact-filter-grid .campaign-template-group-filter select{width:100%}}

.contact-filter .activity-filter-grid.user-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.contact-filter .activity-filter-grid.user-filter-grid{grid-template-columns:1fr}}

.mobile-filter-head,.mobile-filter-toggle{display:none}
.mobile-filter-body{display:contents}
@media(max-width:800px){.dashboard-stats.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-stats .card{min-width:0;padding:16px}.dashboard-stats .stat strong{font-size:25px}.dashboard-stats .stat small{position:relative;z-index:1;line-height:1.35}}
@media(max-width:800px){.page>.toolbar>.muted{display:none}.page>.toolbar>.actions,.page>.toolbar>a.btn,.page>.toolbar>form{align-self:flex-end;margin-left:auto}.page>.toolbar>.actions{justify-content:flex-end;width:100%}}
@media(max-width:800px){
  .chat-layout.mobile-inbox-list .chat-panel{display:none}
  .chat-layout.mobile-inbox-list .chat-list{display:block;height:100%;max-height:none;border-right:0;border-bottom:0}
  .chat-layout.mobile-conversation-open .chat-list{display:none}
  .chat-layout.mobile-conversation-open .chat-panel{display:flex;width:100%;min-height:0}
  .chat-layout.mobile-conversation-open{grid-template-columns:1fr}
  .inbox-mobile-back{display:inline-flex;grid-column:2;grid-row:1;align-items:center;justify-content:center;justify-self:end;width:max-content;margin:0}
  .mobile-conversation-open .chat-header{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:center}
  .mobile-conversation-open .chat-header>b{grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-conversation-open .chat-header>.help{grid-column:1/-1;grid-row:2}
  .mobile-conversation-open .inbox-contact-meta{grid-column:1/-1;grid-row:3}
  .mobile-conversation-open .chat-header{padding:10px 13px!important;gap:1px 8px}
  .mobile-conversation-open .inbox-mobile-meta{grid-column:1/-1;grid-row:2;display:flex;align-items:center;align-content:center;flex-wrap:nowrap;gap:5px;min-width:0;margin-top:1px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  .mobile-conversation-open .inbox-mobile-meta::-webkit-scrollbar{display:none}
  .mobile-conversation-open .inbox-mobile-meta>.help{display:flex;flex:0 0 auto;margin:0;overflow:visible}
  .mobile-conversation-open .inbox-mobile-meta>.help .chat-meta-item:nth-child(2){display:none}
  .mobile-conversation-open .inbox-mobile-meta>.inbox-contact-meta{position:static!important;display:flex!important;flex:0 0 auto;width:auto!important;max-height:none;margin:0!important;padding:0!important;gap:6px!important;overflow:visible}
  .mobile-conversation-open .inbox-mobile-meta .inbox-meta-group{min-width:0!important;max-width:none!important;margin:0;text-align:left!important}
  .mobile-conversation-open .inbox-mobile-meta .inbox-meta-group>.help{display:none!important}
  .mobile-conversation-open .inbox-mobile-meta .inbox-meta-group>div{justify-content:flex-start!important;flex-wrap:nowrap}
  .mobile-conversation-open .inbox-mobile-meta .chat-meta-item small,.mobile-conversation-open .inbox-mobile-meta .inbox-meta-group>.help{display:none!important}
  .mobile-conversation-open .inbox-mobile-meta .inbox-meta-group:has(>div>.muted:only-child){display:none!important}
  .mobile-conversation-open .inbox-mobile-meta .muted{display:none!important}
  .mobile-conversation-open .inbox-mobile-meta .chat-meta-item+.chat-meta-item::before,.mobile-conversation-open .inbox-mobile-meta>.inbox-contact-meta:has(.contact-label,.assignee-chip)::before,.mobile-conversation-open .inbox-mobile-meta .inbox-meta-group+.inbox-meta-group:not(:has(>div>.muted:only-child))::before{content:'-';display:inline-flex;align-items:center;height:26px;color:var(--muted);font-size:10px}
  .mobile-conversation-open .inbox-mobile-meta .chat-meta-item,.mobile-conversation-open .inbox-mobile-meta .contact-label,.mobile-conversation-open .inbox-mobile-meta .assignee-chip{display:inline-flex;align-items:center;justify-content:center;height:26px;min-height:26px;margin:0;padding:4px 7px;font-size:9px;line-height:1}
  .mobile-conversation-open .inbox-mobile-meta .inbox-meta-group,.mobile-conversation-open .inbox-mobile-meta .inbox-meta-group>div{display:contents!important}
  .mobile-conversation-open .inbox-mobile-meta .chat-meta-item,.mobile-conversation-open .inbox-mobile-meta .contact-label,.mobile-conversation-open .inbox-mobile-meta .assignee-chip{flex:0 0 auto;align-self:center;vertical-align:middle}
  .mobile-conversation-open .inbox-mobile-separator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:26px;color:var(--muted);font-size:10px}
  .mobile-conversation-open .inbox-mobile-value-group{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;height:26px}
  .chat-form[data-service-window="closed"]>.chat-compose-tools{display:none}
  .chat-form[data-service-window="closed"]>.chat-whisper-toggle,.chat-form[data-service-window="closed"]>textarea,.chat-form[data-service-window="closed"]>.btn{grid-row:1}
  .mobile-conversation-open .whisper-window-alert+.chat-form{padding:8px 10px!important;gap:7px;border-top:1px solid #ead8a7}
  .mobile-conversation-open .whisper-window-alert{margin:6px 10px!important;padding:7px 10px;font-size:10px;line-height:1.3}
}
@media(min-width:801px){.inbox-mobile-back{display:none!important}}
@media(max-width:800px){.contact-drawer .contact-detail-avatar{display:none}.contact-drawer .contact-detail-head>div:first-child{gap:0}}
.chat-form>.chat-whisper-toggle,.chat-form>button.btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0;align-self:center;line-height:1.2}
@media(max-width:620px){
  .chat-form{grid-template-columns:auto minmax(0,1fr) auto}
  .chat-form>.chat-compose-tools{grid-column:1/-1}
  .chat-form>.chat-whisper-toggle{grid-column:1;grid-row:2}
  .chat-form>textarea{grid-column:2;grid-row:2}
  .chat-form>.btn{grid-column:3;grid-row:2}
}
@media(max-width:700px){
  .mobile-filter-shell{overflow:hidden}
  .mobile-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .mobile-filter-head b{font-size:14px}
  .mobile-filter-toggle{display:flex;align-items:center;gap:7px}
  .mobile-filter-toggle::after{content:'▾';transition:transform .22s ease}
  .mobile-filter-shell.mobile-filter-open .mobile-filter-toggle::after{transform:rotate(180deg)}
  .mobile-filter-body{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;max-height:0;overflow:hidden;opacity:0;margin:0!important;padding:0!important;border:0!important;transition:max-height .3s ease,opacity .2s ease,margin-top .3s ease}
  .mobile-filter-shell.mobile-filter-open .mobile-filter-body{max-height:1800px;opacity:1;margin-top:14px!important}
  .mobile-filter-body>.activity-filter-grid{grid-template-columns:1fr!important}
  .mobile-filter-body>.activity-filter-actions{margin-top:0}
  .campaign-recipient-filter.mobile-filter-shell{display:block}
  .campaign-recipient-filter .mobile-filter-head{justify-content:flex-end}
  .campaign-recipient-filter .mobile-filter-head>b{display:none}
  .campaign-recipient-filter .mobile-filter-body>.form-group,.campaign-recipient-filter .mobile-filter-body>.actions{width:100%}
  .table-column-filters.mobile-filter-shell>.table-filter-head{margin-bottom:0}
  .table-column-filters.mobile-filter-open>.table-filter-head{margin-bottom:14px}
  .inbox-list-filter .activity-filter-grid{max-height:0;overflow:hidden;opacity:0;margin:0;transition:max-height .3s ease,opacity .2s ease,margin-top .3s ease}
  .inbox-list-filter.expanded .activity-filter-grid{max-height:1800px;opacity:1;margin-top:10px}
  .inbox-list-filter [data-inbox-filter-toggle]::after{content:' ▾';display:inline-block;transition:transform .22s ease}
  .inbox-list-filter.expanded [data-inbox-filter-toggle]::after{transform:rotate(180deg)}
}
.form-grid>.form-group:has(>button.btn){align-items:flex-start;text-align:left}
.form-grid>.form-group>button.btn{width:auto;max-width:max-content;margin-left:0;margin-right:auto;align-self:flex-start}
.coexistence-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.coexistence-status-grid>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7faf9;min-width:0}
.coexistence-status-grid small,.coexistence-status-grid b{display:block}.coexistence-status-grid small{margin-bottom:5px;color:var(--muted)}.coexistence-status-grid b{overflow-wrap:anywhere;font-size:12px}
.coexistence-actions{margin-top:18px}.coexistence-actions>[data-coexistence-status]{align-self:center}
@media(max-width:800px){.coexistence-status-grid{grid-template-columns:1fr 1fr}}
.phone-source-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.phone-source-badge.api{background:#e8efff;color:#3158a3}
.phone-source-badge.coexistence{background:#ddf7ec;color:#08704f}
.phone-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}
.phone-disconnect-action{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:#fce8e7;color:var(--danger);cursor:pointer}
.phone-disconnect-action:hover{filter:brightness(.96)}
.phone-disconnect-action svg{width:18px;height:18px}
.coexistence-modal[hidden]{display:none!important}
.coexistence-modal{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:20px}
.coexistence-modal-backdrop{position:absolute;inset:0;background:rgba(4,26,22,.58);backdrop-filter:blur(2px)}
.coexistence-modal-dialog{position:relative;width:min(650px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(4,26,22,.28)}
.coexistence-modal-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:#edf4f2;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
.coexistence-modal .card-head{align-items:flex-start;margin-bottom:20px}
.coexistence-modal .coexistence-actions{align-items:center;margin-top:2px}
.coexistence-modal [data-coexistence-status]{flex:1;min-width:180px}
body.coexistence-modal-open{overflow:hidden}
@media(max-width:650px){.coexistence-modal{padding:12px}.coexistence-modal-dialog{padding:18px}.coexistence-modal .form-grid{grid-template-columns:1fr}.coexistence-modal .form-group.full{grid-column:auto}}
.sidebar-user{flex-direction:column;align-items:stretch!important;gap:13px;padding-top:15px!important}
.sidebar-user-details{min-width:0}
.sidebar-user-details b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-user-details small{display:flex!important;flex-wrap:wrap;gap:2px 0;margin-top:5px!important;line-height:1.45}
.sidebar-user-details small span{display:inline;white-space:nowrap}
.sidebar-user-details small span:not(:last-child)::after{content:" · ";white-space:pre;color:#5f9d8f}
.sidebar-logout{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;padding:10px 13px;border:1px solid #24675a;border-radius:10px;background:#124b41;color:#dff7ef!important;font-weight:750}
.sidebar-logout:hover{background:#195d50;color:#fff!important}
.whatsapp-call-button::before{content:"";display:block;flex:0 0 17px;width:17px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-1.5 2a14 14 0 0 1-7.5-7.5L9 8 7 3Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-1.5 2a14 14 0 0 1-7.5-7.5L9 8 7 3Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.whatsapp-call-shell{position:fixed;z-index:140;right:24px;bottom:24px;width:min(340px,calc(100vw - 32px))}
.whatsapp-call-shell[hidden]{display:none!important}
.whatsapp-call-card{display:grid;grid-template-columns:46px 1fr 42px;align-items:center;gap:4px 12px;padding:16px;border:1px solid #27675b;border-radius:16px;background:#082c26;color:#fff;box-shadow:0 22px 60px rgba(4,26,22,.35)}
.whatsapp-call-avatar{grid-row:1/3;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#25d366;color:#063c32;font-size:21px}
.whatsapp-call-card>b{align-self:end;font-size:14px}.whatsapp-call-card>span{grid-column:2;align-self:start;color:#9ed0c3;font-size:11px}
.whatsapp-call-end{grid-column:3;grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#d92d20;color:#fff;font-size:18px;cursor:pointer}
/* Keep the campaign mapping preview height stable while a value is being typed. */
.campaign-create-form .template-media-placeholder{position:relative;min-height:230px}
.campaign-create-form .template-media-placeholder img{height:230px}
.campaign-create-form .template-media-warning{position:absolute;right:0;bottom:0;left:0}

@media(max-width:800px){.label-edit-table .settings-inline-edit{grid-template-columns:minmax(0,1fr) 44px 34px;align-items:center;gap:7px;width:100%}.label-edit-table .settings-inline-edit input[name="name"]{grid-column:1;min-width:0;width:100%}.label-edit-table .settings-inline-edit input[type="color"]{grid-column:2;width:44px;min-width:44px}.label-edit-table .settings-inline-edit .btn{grid-column:3;width:31px;min-width:31px;justify-self:end;margin:0}}
