/* style.css */
:root{font:16px system-ui;color:#172b42;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}main{max-width:1320px;margin:32px auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-size:34px;margin:10px 0 24px}h2{font-size:22px;margin-top:0}.eyebrow{font-size:12px;letter-spacing:1.5px;color:#536982}section{background:white;border:1px solid #dce3ed;border-radius:14px;padding:24px;margin:20px 0}.dev{background:#fff2cc;border:1px solid #d9bc60;border-radius:10px;padding:18px;display:grid;gap:6px}.dev span{font-size:14px}button{background:#176555;color:white;border:1px solid transparent;border-radius:7px;padding:12px 18px;cursor:pointer;font:inherit;font-weight:600}button.secondary{background:#fff;border-color:#bdccd9;color:#243b53}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #589fdc;outline-offset:2px}input,textarea{font:inherit}input[type=text],input:not([type]),textarea{width:100%;padding:10px;border:1px solid #aebdcb;border-radius:6px;margin-top:8px}textarea{min-height:105px;resize:vertical}label{display:block;font-weight:500;margin:10px 0}.check{display:flex;gap:8px;align-items:center;font-weight:400}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}fieldset{border:1px solid #dce3ed;border-radius:8px;margin:20px 0;padding:20px}legend{font-weight:650;padding:0 8px}p{line-height:1.55}.muted{color:#596b80;font-size:14px}.error{color:#aa2424}#summary{font-size:22px;font-weight:650;margin-bottom:22px}.actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.scroll{max-height:560px;overflow:auto;margin-top:18px}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;border-bottom:1px solid #e3e8ef;padding:12px;vertical-align:top}th{background:#eef3f8;position:sticky;top:0}td{min-width:90px;overflow-wrap:anywhere}td.message{min-width:240px;max-width:400px;white-space:pre-wrap}.simulated{color:#176555;font-weight:600}[hidden]{display:none!important}@media(max-width:720px){main{padding:14px;margin:10px auto}.grid{grid-template-columns:1fr}section{padding:18px}header{align-items:flex-start}h1{font-size:28px}}
.status-tag{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-weight:700;font-size:12px;white-space:nowrap}.status-replied{background:#d9f5df;color:#146b2e}.status-pending{background:#fff0b8;color:#765800}.status-failed{background:#ffd8d8;color:#9b1c1c}.status-sent{background:#e1edf9;color:#1f527c}
.manual-import-toggle{margin-top:15px;padding:7px 0;background:transparent;border:0;color:#607389;font-size:13px;font-weight:600;text-decoration:underline}.manual-import-toggle:hover{color:#176555}
.column-sort{display:flex;align-items:center;gap:4px;padding:0;background:transparent;border:0;color:#243b53;font-size:inherit;font-weight:750}.column-sort:hover{color:#176555}.column-filter-row th{position:sticky;top:42px;padding:7px;background:#f7fafc}.column-filter-row input{width:100%;min-width:75px;margin:0;padding:6px 7px;border:1px solid #d2dde8;border-radius:6px;font-size:12px;font-weight:400}.table-row-open{cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.table-row-open:hover td{background:#eef8f5}.table-row-open td:first-child{position:relative}.table-row-open td:first-child:before{content:'›';display:inline-block;margin-right:7px;color:#218f7c;font-size:20px;line-height:12px;font-weight:800;vertical-align:-2px}
.column-filter-row{display:none!important}
.response-dashboard{background:linear-gradient(135deg,#f5fbfa,#f3f7fc);border-color:#d5e5e2}.dashboard-title{display:flex;justify-content:space-between;align-items:flex-start}.dashboard-title h2{margin:0}.dashboard-period{background:#e5f1ef;color:#176555;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.dashboard-metrics article,.dashboard-lists article{background:#fff;border:1px solid #dfe8ef;border-radius:12px;padding:15px}.dashboard-metrics small{display:block;color:#687d91;font-weight:700;text-transform:uppercase;font-size:10px;letter-spacing:.7px}.dashboard-metrics strong{display:block;font-size:27px;margin:7px 0 2px;color:#183147}.dashboard-metrics span{font-size:12px;color:#718398}.attention-card{border-left:4px solid #d69c00!important}.dashboard-lists{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:12px}.dashboard-lists h3{font-size:14px;margin:0 0 10px}.dashboard-lists ol{padding-left:20px;margin:0}.dashboard-lists li{padding:5px 0}.dashboard-lists li strong{float:right;color:#176555}.attention-list{display:grid;gap:7px}.attention-list button{padding:8px 10px;background:#fff7d6;border:1px solid #f0d97a;color:#6d5700;text-align:left;font-size:12px}@media(max-width:850px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.dashboard-lists{grid-template-columns:1fr}}
.analytics-filters{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.analytics-filter{margin:0;font-size:12px;color:#51677b}.analytics-filter select{display:block;margin-top:5px;padding:8px 10px;border:1px solid #cddbe6;border-radius:8px;background:white;color:#243b53;font:inherit;min-width:170px}
.table-search{width:min(430px,100%);padding:11px 14px 11px 38px!important;border:1px solid #d5e1eb!important;border-radius:10px!important;background:#fff;box-shadow:0 2px 8px #1c3d5a0d;margin:0!important}.table-search:focus{border-color:#218f7c!important;box-shadow:0 0 0 3px #218f7c22!important}.table-count{margin:12px 2px 0!important}.response-danger-action{margin-left:auto;padding:6px 10px!important;font-size:12px!important;color:#8f2929!important;border-color:#e3baba!important}.analytics-filters{margin:14px 0 10px}.actions:has(.table-search){margin-bottom:12px}
#recipientsSection:not([data-has-import='true']){display:none!important}
.result-tabs{display:inline-flex;gap:4px;padding:4px;background:#edf2f6;border-radius:11px;margin-bottom:14px}.result-tab{padding:9px 14px;background:transparent;border:0;color:#597085;font-size:13px}.result-tab.active{background:#fff;color:#176555;box-shadow:0 1px 4px #18314720}.result-tab.rejected.active{color:#9b2929;background:#fff0f0}
.exclusion-group td{background:#fff2f2!important;color:#9b2929!important;font-weight:800;border-top:12px solid #fff;padding:10px 12px!important}.exclusion-group td:before{content:'●';font-size:10px;margin-right:8px;color:#d54747}
.reject-call{background:#fff5f5!important;border:1px solid #e6b9b9!important;color:#a42c2c!important;padding:7px 10px!important;font-size:12px!important}.reject-call:hover{background:#fee2e2!important}
.home-chart{background:#fff;border:1px solid #dce5ee;border-radius:14px;padding:20px;margin-bottom:18px}.chart-heading{display:flex;justify-content:space-between;align-items:center}.chart-heading h2{margin:0;font-size:18px}.chart-heading span{font-size:12px;color:#708397}.chart-bars{height:150px;display:flex;align-items:end;gap:5px;border-bottom:1px solid #dce5ee;padding:15px 5px 0}.chart-bar{background:#4ca493;min-width:8px;flex:1;border-radius:4px 4px 0 0;position:relative}.chart-bar span{display:none;position:absolute;top:-18px;font-size:10px}.chart-bar:hover span{display:block}.chart-labels{display:flex;gap:5px;margin:6px 5px 0}.chart-labels span{flex:1;font-size:9px;color:#8191a1;overflow:hidden;text-align:center}.attention-modal{position:fixed;inset:0;background:#0e263b66;display:grid;place-items:center;padding:20px;z-index:30}.attention-panel{background:#fff;border-radius:16px;width:min(560px,100%);max-height:80vh;overflow:auto;padding:25px;position:relative;box-shadow:0 20px 60px #102a4340}.attention-panel .close{position:absolute;right:18px;top:18px;padding:4px 11px}.attention-rows{display:grid;gap:8px}.attention-rows button{background:#fff7d6;color:#715900;border:1px solid #ecd47f;text-align:left;padding:11px 13px}.home-metrics article[role=button]{cursor:pointer;transition:transform .15s,box-shadow .15s}.home-metrics article[role=button]:hover,.home-metrics article[role=button]:focus{transform:translateY(-2px);box-shadow:0 5px 18px #9e74002b;outline:2px solid #d8b743}
.home-dashboard{border:0;background:transparent;padding:8px 0;margin:0}.home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:12px 0 26px}.home-head h1{margin:5px 0;font-size:34px}.home-head .eyebrow{margin:0}.home-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.home-metrics article,.twilio-card,.home-shortcuts button{background:#fff;border:1px solid #dce5ee;border-radius:14px;box-shadow:0 4px 18px #17324d0a}.home-metrics article{padding:18px}.home-metrics small,.twilio-balance small{display:block;color:#667c91;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.55px}.home-metrics strong{display:block;font-size:30px;margin:8px 0 3px;color:#16374a}.home-metrics span{font-size:12px;color:#708397}.twilio-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 24px;margin-bottom:18px;background:linear-gradient(125deg,#102a43,#176555);color:#fff}.twilio-card .eyebrow,.twilio-card .muted{color:#d8eee9}.twilio-card h2{margin:4px 0}.twilio-balance{text-align:right}.twilio-balance strong{display:block;font-size:30px;margin-top:8px}.home-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-shortcuts button{padding:18px;text-align:left;color:#17334a;background:#fff}.home-shortcuts button:hover{border-color:#72a89d;transform:translateY(-1px)}.home-shortcuts span{display:block;color:#176555;font-size:22px;margin-bottom:12px}.home-shortcuts strong,.home-shortcuts small{display:block}.home-shortcuts small{color:#6c8091;font-weight:400;margin-top:4px}@media(max-width:850px){.home-metrics{grid-template-columns:repeat(2,1fr)}.home-shortcuts{grid-template-columns:1fr}.twilio-card{align-items:flex-start;flex-direction:column}.twilio-balance{text-align:left}}

/* boot.css */
#loginPanel{visibility:hidden}

/* auth-shell.css */
/* Empêche toute apparition de l'interface (dont le menu) avant authentification. */
#loginPanel:not([hidden]) ~ .shell,
.shell[hidden] { display: none !important; }

/* page-router.css */
body.route-booting .shell,body.route-booting #loginPanel{visibility:hidden!important}body.route-booting:after,.content.view-loading:after{content:'Chargement de la page…';position:fixed;inset:0;display:grid;place-items:center;background:#f3f6fa;color:#496579;font-weight:700;z-index:200}.content.view-loading{position:relative;min-height:60vh}.content.view-loading:after{position:absolute;border-radius:14px}.content.view-loading>:not(.route-loader){visibility:hidden!important}

/* response-drawer.css */
.response-drawer{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end;background:#102a4355}.response-drawer__panel{width:min(620px,100%);height:100%;overflow:auto;background:#fff;padding:30px;box-shadow:-10px 0 30px #0003}.response-drawer__top{display:flex;justify-content:space-between;align-items:center}.response-drawer__response{border:1px solid #dce3ed;border-radius:10px;padding:14px;margin:12px 0}.response-row td:nth-child(2) button{display:none!important}
.response-drawer{background:rgba(9,30,66,.55);backdrop-filter:blur(3px)}.response-drawer__panel{width:min(720px,100%);padding:34px}.response-drawer__title{display:flex;gap:14px;align-items:center}.response-drawer__title small{letter-spacing:1.5px;color:#63758a;font-weight:700}.response-drawer__title h2{margin:3px 0 0}.response-drawer__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#176555;color:white;font-size:25px}.response-drawer__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.response-drawer__cards>div{background:#f3f7fb;border:1px solid #dce5ee;border-radius:12px;padding:14px}.response-drawer__cards small,.response-comment small{display:block;color:#63758a;font-size:12px;font-weight:700;text-transform:uppercase}.response-drawer__cards strong{display:block;margin-top:5px;overflow-wrap:anywhere}.towsoft-link{display:inline-flex;padding:10px 14px;border-radius:9px;background:#e7f0fa;color:#1e527e;font-weight:700;text-decoration:none}.response-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.response-scores span{display:grid;place-items:center;padding:14px 8px;border-radius:12px;background:#fff5cf;border:1px solid #ead58b}.response-scores b{font-size:24px}.response-scores small{font-size:12px;color:#765800}.response-comment{margin-top:18px;padding:16px;border-left:4px solid #176555;background:#f7fafc;border-radius:8px}.related-responses{display:grid;gap:8px}.related-response{display:flex;justify-content:space-between;align-items:center;text-align:left;background:#f7fafc;border:1px solid #dce3ed;color:#172b42}.related-response small{color:#63758a}@media(max-width:600px){.response-drawer__cards,.response-scores{grid-template-columns:repeat(2,1fr)}}
.response-drawer.v2{background:rgba(15,30,48,.56);backdrop-filter:blur(5px)}
.v2-panel{width:min(760px,100%);padding:38px 42px;background:linear-gradient(180deg,#fff 0%,#f7fafc 100%)}
.v2-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.v2-identity{display:flex;align-items:center;gap:15px}.v2-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#176555,#218f7c);color:#fff;font-size:27px;font-weight:800;box-shadow:0 8px 18px #17655533}.v2-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#607389}.v2-panel h2{margin:3px 0 0;font-size:27px}.v2-close{border:0;background:#edf2f7;color:#32465b;border-radius:50%;font-size:28px;line-height:1;width:38px;height:38px;padding:0}.v2-actions{margin:24px 0 18px}.v2-towsoft{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;background:#e7f0fa;border-radius:10px;color:#19517e;font-weight:750;text-decoration:none}.v2-details{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v2-detail{min-height:77px;padding:13px;border:1px solid #e0e8f0;background:#fff;border-radius:12px}.v2-detail small{display:block;text-transform:uppercase;letter-spacing:.6px;font-size:10px;color:#718398;font-weight:800}.v2-detail strong{display:block;margin-top:7px;color:#183147;overflow-wrap:anywhere}.v2-heading{font-size:15px;margin:28px 0 11px;color:#263f56}.v2-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.v2-score{background:#fff3c7;border:1px solid #edd986;border-radius:13px;padding:13px;text-align:center}.v2-score strong{font-size:26px;color:#5d4600}.v2-score span{font-size:12px;color:#806300}.v2-score small{display:block;margin-top:4px;color:#6f5d25;font-weight:700}.v2-comment{background:#fff;border:1px solid #e0e8f0;border-left:4px solid #218f7c;border-radius:10px;padding:16px;min-height:58px;white-space:pre-wrap;color:#385168}.v2-related{display:grid;gap:8px}.v2-related-item{display:flex;justify-content:space-between;gap:15px;text-align:left;background:#fff;color:#20394f;border:1px solid #dce5ed;padding:13px 15px}.v2-related-item:hover{border-color:#218f7c;background:#f0faf7}.v2-related-item span{font-size:13px;color:#66798c}@media(max-width:620px){.v2-panel{padding:25px 20px}.v2-details{grid-template-columns:repeat(2,1fr)}.v2-scores{grid-template-columns:repeat(2,1fr)}.v2-related-item{align-items:flex-start;flex-direction:column;gap:4px}}
.v2-score.score-good{background:#dcf7e3;border-color:#9bd9aa}.v2-score.score-good strong{color:#176b31}.v2-score.score-good small,.v2-score.score-good span{color:#327743}.v2-score.score-medium{background:#fff3c7;border-color:#edd986}.v2-score.score-poor{background:#ffe0e0;border-color:#efadad}.v2-score.score-poor strong{color:#a32828}.v2-score.score-poor small,.v2-score.score-poor span{color:#9a4545}
.v2-detail-label{display:flex;align-items:center;gap:6px}.v2-detail-label small{margin:0}.v2-detail-icon{width:16px;height:16px;display:inline-block;background:#218f7c;mask-repeat:no-repeat;mask-position:center;mask-size:contain}.icon-phone{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.9 6.9l2.3-2.3c.3-.3.8-.4 1.2-.3 1 .3 2.1.5 3.2.5.7 0 1.2.5 1.2 1.2V21c0 .7-.5 1.2-1.2 1.2C10.7 22.2 1.8 13.3 1.8 2.8 1.8 2.1 2.3 1.6 3 1.6h4.3c.7 0 1.2.5 1.2 1.2 0 1.1.2 2.2.5 3.2.1.4 0 .9-.3 1.2z'/%3E%3C/svg%3E")}.icon-company{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 21V3h12v6h6v12H3zm4-14h3v3H7V7zm0 6h3v3H7v-3zm0 6h3v2H7v-2zm5-12h2v3h-2V7zm0 6h2v3h-2v-3zm5 2h2v3h-2v-3z'/%3E%3C/svg%3E")}.icon-service{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 17h2l2-7h10l2 7h2v2h-2a3 3 0 0 1-6 0H10a3 3 0 0 1-6 0H3v-2zm4 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm10 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 9l1-4h5l1 4H9z'/%3E%3C/svg%3E")}.icon-operator{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 3 2 5h5l-4 3 2 5-5-3-5 3 2-5-4-3h5l2-5z'/%3E%3C/svg%3E")}.icon-dispatcher{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a8 8 0 0 0-8 8v5a3 3 0 0 0 3 3h2v-7H6v-1a6 6 0 0 1 12 0v1h-3v7h2a3 3 0 0 0 3-3v-5a8 8 0 0 0-8-8z'/%3E%3C/svg%3E")}.icon-calendar{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2V2zm12 8H5v10h14V10z'/%3E%3C/svg%3E")}
/* Icônes précises de la fiche appel */
.icon-operator{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 3a7 7 0 0 1 6.7 5H14a2 2 0 0 0-4 0H5.3A7 7 0 0 1 12 5Zm-4.8 8H10a2 2 0 0 0 4 0h2.8a7 7 0 0 1-2.9 3.5l-1.9-2.4-1.9 2.4A7 7 0 0 1 7.2 13Z'/%3E%3C/svg%3E")}.icon-company{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 22V3h13v6h5v13H3Zm4-15h3v3H7V7Zm0 6h3v3H7v-3Zm0 6h3v3H7v-3Zm6-12h2v3h-2V7Zm0 6h2v3h-2v-3Zm4-1h2v3h-2v-3Zm0 5h2v3h-2v-3Z'/%3E%3C/svg%3E")}.icon-service{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 5h11v10h2l2-5h4l1 5v3h-2a3 3 0 0 1-6 0H9a3 3 0 0 1-6 0H2V5Zm4 12a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm2-5-1 3h4l-.6-3H17Zm3 8h2v2h-2z'/%3E%3C/svg%3E")}

/* response-table-fix.css */
/* Le premier champ des lignes cliquables doit défiler sous l'en-tête collant. */
#tab-responses .scroll thead th{z-index:6}
#tab-responses .response-row td:first-child{z-index:0}

/* response-analytics.css */
#analyticsTableTitle{display:flex;align-items:center;gap:13px;margin:22px 0 10px}#analyticsTableTitle h2{margin:1px 0;font-size:20px}#analyticsTableTitle span{display:block;color:#728795;font-size:12px}#analyticsTableTitle .secondary{padding:8px 11px;white-space:nowrap}.analytics-dashboard{padding:26px!important;background:#f7fafc!important;border:0!important}.analytics-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.analytics-head h1{margin:4px 0 3px;font-size:30px}.analytics-head-actions{display:flex;align-items:flex-end;gap:10px}.analytics-head-actions label{margin:0;color:#5c7181;font-size:12px;font-weight:700}.analytics-head-actions select{display:block;margin-top:5px;padding:10px 12px;border:1px solid #c7d6e0;border-radius:8px;background:white;color:#18364d}.analytics-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.analytics-kpi{padding:17px 16px!important;margin:0!important;background:#fff;border:1px solid #dce7ed;border-radius:13px;box-shadow:0 3px 12px #17324d08}.analytics-kpi small{display:block;color:#6b8190;text-transform:uppercase;font-size:10px;letter-spacing:.7px;font-weight:800}.analytics-kpi strong{display:block;margin:7px 0 1px;color:#173b50;font-size:27px}.analytics-kpi span{color:#778b99;font-size:12px}.analytics-kpi.attention-card{border-left:4px solid #7654c7!important}.analytics-charts{display:grid;grid-template-columns:1.5fr 1fr;gap:13px;margin-top:14px}.analytics-charts article,.analytics-attention,.performance-analysis{margin:0!important;padding:18px!important;background:white;border:1px solid #dce7ed;border-radius:13px}.chart-title{display:flex;justify-content:space-between;align-items:flex-start}.chart-title h3,.analytics-attention h3{margin:0;font-size:15px;color:#1c3a4e}.chart-title span,.analytics-attention-head span,.performance-heading span{color:#718694;font-size:12px}.line-chart{height:190px;margin-top:12px}.line-chart svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:#e4edf1;stroke-dasharray:4 5}.chart-line{fill:none;stroke:#20846f;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.line-chart circle{fill:#fff;stroke:#20846f;stroke-width:2}.volume-chart{height:190px;display:flex;align-items:flex-end;margin-top:12px}.volume-bars{height:165px;width:100%;display:flex;align-items:flex-end;gap:3px;padding:0 2px;border-bottom:1px solid #dce7ed}.volume-bars span{flex:1;min-width:2px;border-radius:4px 4px 0 0;background:linear-gradient(#70bca9,#20846f)}.analytics-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.insight{padding:12px 14px;border:1px solid #dbe6ec;border-radius:10px;background:#fff;color:#4d6575;font-size:13px}.insight.urgent{background:#fff5dc;border-color:#f0d487;color:#745b00;font-weight:700}.analytics-attention{margin-bottom:14px!important}.analytics-attention-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.analytics-attention-head h3{margin-bottom:3px}.analytics-attention-head button{padding:7px 12px;background:#7654c7;border-color:#6848b2;font-size:12px}.analytics-attention-head button[hidden]{display:none}.attention-queue{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.attention-queue button{padding:8px 11px;border:1px solid #eed27b;border-radius:8px;background:#fff7d9;color:#715700;font-size:12px;text-align:left}.analysis-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:18px 0 10px}.analysis-tabs button{padding:8px 12px;border:1px solid #cbdbe4;background:#fff;color:#456173;font-size:12px}.analysis-tabs button.active{background:#173f58;border-color:#173f58;color:#fff}.analysis-tabs label{display:flex;align-items:center;gap:6px;margin:0 0 0 auto;color:#617887;font-size:12px}.performance-analysis{padding:0!important;overflow:hidden}.performance-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border-bottom:1px solid #e0e9ee}.performance-heading h3{margin:0;font-size:16px}.performance-analysis .scroll{max-height:460px;margin:0}.performance-analysis table{margin:0}.performance-analysis th{position:sticky;top:0;z-index:2}.performance-row{cursor:pointer}.performance-row:hover td{background:#eef8f5}.performance-row td:first-child strong{display:block}.performance-row td:first-child small{display:block;color:#9a6d16;font-size:11px}.score-pill{display:inline-block;padding:4px 8px;border-radius:999px;font-weight:800;font-size:12px}.score-pill.good{background:#e1f4e9;color:#1a6b43}.score-pill.medium{background:#fff2c9;color:#7a5d00}.score-pill.poor{background:#fde4e4;color:#a32d2d}.trend{font-weight:800}.trend.up{color:#1d7b5d}.trend.down{color:#ad3838}.analytics-status{display:inline-block;padding:4px 7px;border-radius:6px;font-size:11px;font-weight:700}.analytics-status.needs{background:#fff1c8;color:#735700}.analytics-status.done{background:#e5f3eb;color:#26714d}.analytics-empty{padding:32px;text-align:center;color:#78909e;font-size:13px}.staff-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:#102a4370}.staff-panel{width:min(760px,100%);max-height:90vh;overflow:auto;padding:25px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #102a4350}.staff-panel header{display:flex;align-items:flex-start;justify-content:space-between}.staff-panel h2{margin:0}.staff-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.staff-columns section{margin:0;padding:14px;border:1px solid #dbe6ec;border-radius:10px}.staff-columns h3{margin:0 0 10px;font-size:14px}.staff-columns label{display:flex;gap:8px;align-items:center;margin:8px 0;font-size:13px}.staff-panel footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:1000px){.analytics-kpis{grid-template-columns:repeat(3,1fr)}.analytics-charts{grid-template-columns:1fr}}@media(max-width:700px){.analytics-head{align-items:flex-start;flex-direction:column}.analytics-head-actions{width:100%;align-items:stretch;flex-direction:column}.analytics-kpis,.analytics-insights,.staff-columns{grid-template-columns:1fr}.analytics-head-actions select{width:100%}.analysis-tabs label{margin-left:0}.performance-heading{align-items:flex-start;flex-direction:column;gap:5px}}
`n.analytics-table-controls{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:22px 0 0!important}.analytics-table-controls .actions{order:1;margin:0!important;flex:0 1 350px!important}.analytics-table-controls .analysis-tabs{order:2;margin:0!important;flex:1;min-width:max-content}.analytics-table-controls .table-search{width:100%!important}.analytics-table-controls .analysis-tabs label{margin-left:0!important;white-space:nowrap}@media(max-width:900px){.analytics-table-controls .actions{flex-basis:300px}.analytics-table-controls .analysis-tabs{width:100%;min-width:0}}

/* response-layout-fix.css */
#responseTrend{display:none!important}.actions:has(#responseSearch){display:flex;flex-wrap:nowrap;align-items:center;width:100%}.response-danger-action{margin-left:auto!important;flex:0 0 auto!important;padding:6px 10px!important;font-size:12px!important}@media(max-width:700px){.actions:has(#responseSearch){flex-wrap:wrap}.response-danger-action{margin-left:auto!important}}

/* filter-row.css */
.analytics-filters{display:flex!important;align-items:flex-end!important;flex-wrap:nowrap!important;gap:10px!important;width:100%}.analytics-filters>.actions{display:block!important;flex:1 1 320px!important;min-width:240px!important;margin:0!important}.analytics-filters>.actions .table-search{width:100%!important}.analytics-filters>.analytics-filter{flex:0 1 190px!important;min-width:145px!important;margin:0!important}.analytics-filters>.analytics-filter select{width:100%}@media(max-width:900px){.analytics-filters{flex-wrap:wrap!important}.analytics-filters>.actions{flex-basis:100%!important}}

/* search-short.css */
.analytics-filters>.actions{flex:0 1 190px!important;width:190px!important;min-width:160px!important}.analytics-filters>.actions .table-search{width:100%!important}@media(max-width:900px){.analytics-filters>.actions{width:100%!important;min-width:100%!important}}

/* rollback-graphs.css */
#responseTrend,.home-dashboard .home-chart,.home-dashboard .metric-spark{display:none!important}

/* attention-settings.css */
#attentionSettings{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;margin:0 0 26px;padding:22px;border:1px solid #dbe6ee;border-radius:14px;background:#fff}#attentionSettings h2{margin:0;font-size:21px}#attentionSettings p:not(.eyebrow){max-width:650px;margin:6px 0 0;color:#607586;line-height:1.45}#attentionSettings form{display:flex;align-items:end;gap:12px}#attentionSettings label{font-size:13px;font-weight:700;color:#385269}.threshold-control{display:flex;align-items:center;gap:7px;margin-top:6px}.threshold-control input{width:76px;padding:9px 10px;border:1px solid #b9c9d5;border-radius:7px;font-size:17px;font-weight:700}.threshold-control span{color:#657b8c}.save-status{max-width:180px;color:#176555;font-size:12px}@media(max-width:760px){#attentionSettings{grid-template-columns:1fr}#attentionSettings form{flex-wrap:wrap}}

/* attention-ui.css */
.ack-attention{display:block;width:100%;margin-top:10px;padding:10px 13px;background:#fff5d6;color:#745b00;border:1px solid #e8cd73;border-radius:8px;font-weight:700;text-align:left}.ack-attention.ack-done{background:#e0f4e7;color:#1a6b36;border-color:#a8d8b6}.contact-attention{margin:12px 0;padding:10px 12px;border-radius:8px;background:#ffe7c2;color:#884d00;font-weight:750}
.attention-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.attention-list-head h3{margin:0}.validate-all-attention{margin-left:auto;padding:7px 10px;background:#6d4bc3;color:#fff;border:1px solid #5c3dab;font-size:12px;white-space:nowrap}.validate-all-attention:hover{background:#5838aa}

/* attention-stable.css */
#responseDashboard:not([data-attention-ready]) .attention-card,#tab-home:not([data-attention-ready]) #attentionMetric{visibility:hidden}

/* account-ui.css */
.sidebar{display:flex!important;flex-direction:column}.account-menu{margin-top:auto;position:relative;padding-top:18px;border-top:1px solid #ffffff28}.account-button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 9px;background:#173b59;color:#fff;text-align:left;min-width:0}.account-button>span:last-child{min-width:0;flex:1}.account-button small,.account-button strong{display:block}.account-button small{font-size:10px;color:#b8cedf}.account-button strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-avatar{flex:none;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#58a58e;color:#d8f3e9}.account-popover{position:absolute;left:0;right:0;bottom:72px;background:#fff;border:1px solid #cddbe6;border-radius:9px;box-shadow:0 10px 25px #102a4340;padding:5px;z-index:20}.account-popover button{display:block;width:100%;background:transparent;color:#244258;text-align:left;padding:9px;font-size:13px}.account-popover button:hover{background:#edf5f3}

/* fixed-sidebar.css */
.shell{display:block!important}.sidebar{position:fixed!important;inset:0 auto 0 0;width:250px!important;height:100vh!important;display:flex!important;flex-direction:column;overflow:hidden!important;z-index:15}.content{margin-left:250px!important;min-height:100vh}@media(max-width:760px){.sidebar{position:relative!important;width:100%!important;height:auto!important;min-height:0}.content{margin-left:0!important}}

/* password-modal.css */
.password-modal{position:fixed;inset:0;background:#102a4370;display:grid;place-items:center;padding:20px;z-index:50}.password-panel{width:min(440px,100%);background:#fff;border-radius:16px;padding:26px;box-shadow:0 20px 60px #102a4350}.password-panel h2{margin:0}.password-panel input{display:block;width:100%;padding:10px;margin-top:7px;border:1px solid #b9c9d5;border-radius:7px}

/* password-eyes.css */
.password-eye-wrap{display:flex;align-items:center;gap:7px;margin-top:7px}.password-eye-wrap input{margin-top:0!important;flex:1}.password-eye{padding:8px 11px!important;background:#fff!important;color:#36566d!important;border:1px solid #bdccd9!important;border-radius:7px!important;font-size:13px!important}

/* user-management.css */
#userManagement{margin:0 0 28px;padding:22px;border:1px solid #dbe6ee;border-radius:14px;background:#fff}.eyebrow{margin:0 0 3px;color:#58758c;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.user-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.user-heading h2{margin:0;font-size:21px}.user-heading .muted{margin:5px 0 0}.user-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:18px;max-width:920px}.user-list-item{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;gap:11px;align-items:center;text-align:left;background:#fff;border:1px solid #dbe5ed;border-radius:10px;color:#18364d;padding:11px 12px;transition:border .15s,box-shadow .15s}.user-list-item:hover{border-color:#4d88ae;box-shadow:0 4px 12px #20466114}.user-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e2eff7;color:#1b577e;font-weight:700}.user-details{min-width:0;display:grid;gap:2px}.user-details strong,.user-details small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-details small{color:#64798a;font-size:12px}.user-arrow{font-size:23px;color:#63849c}.user-modal{position:fixed;inset:0;background:#102a4370;display:grid;place-items:center;padding:22px;z-index:70}.user-modal-panel{width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:26px;box-shadow:0 20px 60px #102a4350}.user-modal-panel header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.user-modal-panel h2{margin:0}.user-close{border:0;background:transparent;font-size:30px;line-height:1;color:#547083}.identity-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.user-modal label:not(.permission-option){display:block;margin:12px 0}.user-modal input{display:block;box-sizing:border-box;width:100%;padding:10px;margin-top:6px;border:1px solid #b9c9d5;border-radius:7px}.password-box,.access-box{margin-top:18px;padding:16px;border-radius:10px;background:#f5f9fc}.password-box span{display:block;color:#667b8b;font-size:13px;margin-top:3px}.temp-row{display:flex;gap:8px;align-items:center}.temp-row input{flex:1}.temp-row button{margin-top:6px;white-space:nowrap}.access-box h3{margin:0}.access-box p{margin:4px 0 12px;color:#617687;font-size:13px}.permission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.permission-group{border:1px solid #d8e4ec;border-radius:8px;background:#fff;padding:10px}.permission-group h4{margin:0 0 7px;font-size:12px;color:#557187;text-transform:uppercase}.permission-option{display:flex!important;align-items:center;gap:8px;padding:6px 1px;margin:0!important;font-size:14px}.permission-option input{display:inline!important;width:16px!important;height:16px;margin:0!important;accent-color:#176555}.user-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.danger{color:#a52121;border-color:#d9a1a1!important;background:#fff!important}@media(max-width:640px){.identity-fields,.permission-list{grid-template-columns:1fr}.user-heading{align-items:flex-start;flex-direction:column}.user-list{grid-template-columns:1fr}.temp-row{flex-wrap:wrap}}

/* user-modal.css */
.user-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.user-heading h2{margin:0}.user-list{display:grid;gap:8px;margin-top:16px}.user-list-item{display:flex;justify-content:space-between;align-items:center;text-align:left;background:#fff;border:1px solid #dbe5ed;color:#18364d;padding:13px 15px}.user-list-item small{color:#6b8092}.user-modal{position:fixed;inset:0;background:#102a4370;display:grid;place-items:center;padding:20px;z-index:70}.user-modal-panel{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:26px;box-shadow:0 20px 60px #102a4350;position:relative}.user-modal-panel h2{margin-top:0}.user-modal-panel input{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #b9c9d5;border-radius:7px}.user-close{position:absolute;right:18px;top:18px;padding:4px 10px}.temp-row{display:flex;gap:7px}.temp-row input{flex:1}.temp-row button{padding:8px 11px;font-size:12px}

/* submit-confirm.css */
.submit-modal{position:fixed;inset:0;background:#102a4370;display:grid;place-items:center;padding:20px;z-index:60}.submit-panel{width:min(480px,100%);background:#fff;border-radius:16px;padding:25px;box-shadow:0 20px 60px #102a4350}.submit-panel h2{margin-top:0}.submit-panel .actions{justify-content:flex-end}.analytics-filters>.actions{display:contents!important}.analytics-filters>.actions .table-search{order:1;flex:0 1 285px!important;width:285px!important;min-width:240px!important}.analytics-filters>.analytics-filter{order:2}.analytics-filters>.actions .response-danger-action{order:3;margin-left:auto!important;flex:0 0 auto!important}@media(max-width:900px){.analytics-filters>.actions{display:block!important}.analytics-filters>.actions .table-search{width:100%!important;min-width:100%!important}.analytics-filters>.actions .response-danger-action{margin-top:8px}}

/* navigation-enhance.css */
.nav-category{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#89a7bd;font-weight:800;margin:18px 8px 4px}.subnav{padding-left:22px!important;font-size:13px!important}.navbtn[data-tab="employee-history"],.navbtn[data-tab="employee-responses"]{display:block}

/* batch-history.css */
.batch-history{margin:18px 0;padding:18px;background:#f5f8fb;border:1px solid #dce5ee;border-radius:12px}.batch-history h2{font-size:18px;margin:0 0 4px}.batch-history table{background:#fff}.batch-history tbody tr{cursor:pointer}.batch-history tbody tr:hover td,.batch-history tbody tr.selected-batch td{background:#e5f4f0}.batch-history tbody tr.selected-batch td:first-child{font-weight:750;color:#176555}

/* history-stable.css */
#tab-history:not(.batch-selected)>#historyStatus,#tab-history:not(.batch-selected)>#historyStatus+ .scroll{display:none!important}#tab-history #batchHistory{margin-bottom:14px}.batch-history tbody tr{cursor:pointer}.batch-history tbody tr.selected-batch td{background:#e7f4ef}

/* nav-fold.css */
.nav-category{cursor:pointer;user-select:none}.nav-category:after{content:'⌄';float:right;font-size:14px;transition:transform .15s}.nav-category[aria-expanded=false]:after{transform:rotate(-90deg)}.sidebar .navbtn[data-tab="history"],.sidebar .navbtn[data-tab="responses"],.sidebar .navbtn[data-tab="employee-history"],.sidebar .navbtn[data-tab="employee-responses"]{padding-left:22px!important;font-size:13px!important}

/* belzile-theme.css */
:root{
  --belzile-red:#ed0012;
  --belzile-red-dark:#b80010;
  --belzile-black:#090909;
  --belzile-charcoal:#171717;
  --belzile-steel:#2d3035;
  --belzile-silver:#e8eaed;
  --belzile-paper:#f5f5f5;
  --belzile-ink:#17191c;
}

body.belzile-theme{background:var(--belzile-paper);color:var(--belzile-ink)}
.belzile-theme .sidebar{position:relative;background:linear-gradient(180deg,#090909 0%,#151515 100%)!important;color:#fff!important;border-right:1px solid #343434;box-shadow:4px 0 22px #00000020}
.belzile-theme .sidebar:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:var(--belzile-red)}
.belzile-theme .sidebar h2{margin:18px 10px 26px!important;line-height:1}
.belzile-theme .brand-logo{display:block;width:100%;height:72px;object-fit:contain;object-position:center;background:#000}
.belzile-theme .brand-sub{display:block;color:#c9c9c9;font-size:10px;font-weight:750;letter-spacing:2.4px;margin:8px 0 0 3px}
.belzile-theme .navbtn{position:relative;color:#dedede!important;border-radius:6px!important;padding:12px 12px 12px 16px!important;transition:background .16s ease,color .16s ease,transform .16s ease}
.belzile-theme .navbtn:hover{background:#292929!important;color:#fff!important;transform:translateX(2px)}
.belzile-theme .navbtn.active{background:linear-gradient(90deg,#b9000f,#ed0012)!important;color:#fff!important;box-shadow:0 4px 13px #ed001240}
.belzile-theme .navbtn.active:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;background:#fff;border-radius:0 3px 3px 0}
.belzile-theme .logout{border-color:#515151!important;color:#f0f0f0!important;background:#202020!important}
.belzile-theme .logout:hover{background:#4a1519!important;border-color:#ed0012!important}

.belzile-theme .content{background:var(--belzile-paper)}
.belzile-theme section,.belzile-theme .home-metrics article,.belzile-theme .twilio-card,.belzile-theme .home-shortcuts button,.belzile-theme .dashboard-metrics article,.belzile-theme .dashboard-lists article{border-color:#dedede!important;box-shadow:0 5px 18px #1616160d}
.belzile-theme section{background:#fff}
.belzile-theme h1,.belzile-theme h2,.belzile-theme h3{color:#151515}
.belzile-theme .eyebrow,.belzile-theme .muted{color:#666d75}
.belzile-theme button:not(.secondary):not(.navbtn):not(.logout):not(.response-danger-action):not(.reject-call):not(.column-sort):not(.account-button):not(.user-list-item):not(.home-shortcut):not(.attention-entry):not(.conversation-item){background:linear-gradient(135deg,#c90010,#ed0012)!important;color:#fff;border-color:#b80010!important}
.belzile-theme button:not(:disabled):not(.secondary):not(.navbtn):not(.logout):not(.response-danger-action):not(.reject-call):not(.column-sort):not(.account-button):not(.user-list-item):not(.home-shortcut):not(.attention-entry):hover{filter:brightness(1.06);box-shadow:0 4px 12px #ed001238}
.belzile-theme button.secondary{background:#fff!important;border-color:#c5c7ca!important;color:#222!important}
.belzile-theme button.secondary:hover{border-color:#ed0012!important;color:#b80010!important}
.belzile-theme input:focus,.belzile-theme select:focus,.belzile-theme textarea:focus{outline:0!important;border-color:#ed0012!important;box-shadow:0 0 0 3px #ed00121c!important}
.belzile-theme button:focus-visible,.belzile-theme input:focus-visible,.belzile-theme textarea:focus-visible{outline:3px solid #ed001248!important}
.belzile-theme th{background:#202124!important;color:#fff;border-color:#333!important}
.belzile-theme td{border-color:#e4e4e4}
.belzile-theme tr:hover td{background:#fff5f5!important}
.belzile-theme .table-row-open td:first-child:before{color:var(--belzile-red)!important}
.belzile-theme .table-search{border-color:#d0d0d0!important;box-shadow:0 2px 8px #0000000d!important}
.belzile-theme .table-search:focus{border-color:#ed0012!important;box-shadow:0 0 0 3px #ed00121c!important}
.belzile-theme .response-dashboard{background:linear-gradient(135deg,#fff,#f2f2f2)!important;border-top:4px solid var(--belzile-red)!important}
.belzile-theme .dashboard-period{background:#ffe4e6!important;color:#a9000d!important}
.belzile-theme .dashboard-metrics strong,.belzile-theme .home-metrics strong{color:#1b1b1b!important}
.belzile-theme .twilio-card{background:linear-gradient(115deg,#111 0%,#242424 58%,#a5000e 150%)!important;color:#fff!important;border-left:5px solid var(--belzile-red)!important}
.belzile-theme .twilio-card h2{color:#fff!important}
.belzile-theme .home-shortcuts button:hover{border-color:#ed0012!important}
.belzile-theme .home-shortcuts span{color:#ed0012!important}
.belzile-theme .result-tab.active{color:#b80010!important;box-shadow:0 2px 7px #00000018!important}
.belzile-theme .manual-import-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:10px 18px!important;margin-top:18px!important;border-radius:8px!important;background:#202124!important;border:1px solid #444!important;color:#fff!important;text-decoration:none!important}
.belzile-theme .manual-import-toggle:hover{background:#363636!important;border-color:#ed0012!important;color:#fff!important}
.belzile-theme .status-sent{background:#f3e1e3!important;color:#9d000d!important}

.belzile-theme #loginPanel,.belzile-theme .login{background:linear-gradient(145deg,#101010,#252525)!important;color:#fff;border:0!important;box-shadow:0 18px 50px #00000038}
.belzile-theme #loginPanel h1,.belzile-theme .login h1,.belzile-theme #loginPanel label,.belzile-theme .login label{color:#fff!important}
.belzile-theme .login-brand{border-left:4px solid var(--belzile-red);padding:3px 0 3px 12px;margin:0 0 24px}
.belzile-theme .login-brand img{display:block;width:245px;height:86px;object-fit:contain;object-position:center;background:#000}
.belzile-theme .login-brand span{display:block;color:#cfcfcf;font-size:11px;letter-spacing:1.7px;margin-top:4px}
.belzile-theme #loginPanel input,.belzile-theme .login input{background:#fff;color:#1b1b1b}
/* Des tableaux plus lisibles lorsque les groupes d’envoi et les réponses s’allongent. */
.belzile-theme #tab-history,.belzile-theme #tab-responses{padding:28px!important}
.belzile-theme #tab-history .scroll,.belzile-theme #tab-responses .scroll{border:1px solid #d6d6d6;border-radius:10px;margin-top:16px!important}
.belzile-theme #tab-history th,.belzile-theme #tab-history td{padding:15px 18px!important;line-height:1.45}
.belzile-theme #tab-history .batch-history{padding:24px!important;margin:20px 0!important}
.belzile-theme #tab-history .batch-history th,.belzile-theme #tab-history .batch-history td{min-width:150px}
.belzile-theme #tab-history .batch-history th:nth-child(3),.belzile-theme #tab-history .batch-history td:nth-child(3){min-width:220px}
.belzile-theme #tab-responses #responsesTable th,.belzile-theme #tab-responses #responsesTable td{padding:14px 17px!important;line-height:1.4;min-width:122px}
.belzile-theme #tab-responses #responsesTable th:first-child,.belzile-theme #tab-responses #responsesTable td:first-child{min-width:100px}
@media(max-width:760px){.belzile-theme .sidebar{box-shadow:none}.belzile-theme #tab-history,.belzile-theme #tab-responses{padding:18px!important}}

/* login-modern.css */
/* Écran de connexion — Remorquage Belzile */
body:has(#loginPanel:not([hidden])){min-height:100vh;background:#101114}

.belzile-theme #loginPanel.login{
  visibility:hidden;display:grid!important;grid-template-columns:minmax(0,1.06fr) minmax(380px,.94fr);align-items:stretch;
  width:calc(100vw - 48px)!important;max-width:1120px!important;min-width:0!important;min-height:620px;margin:clamp(24px,7vh,88px) auto!important;padding:0!important;
  overflow:hidden;border:0!important;border-radius:24px!important;background:#1a1b1f!important;
  box-shadow:0 28px 90px rgba(0,0,0,.42)!important;color:#f7f7f8!important
}
.belzile-theme #loginPanel.login[style*="visible"]{visibility:visible}
.belzile-theme #loginPanel.login[hidden]{display:none!important}
.belzile-theme #loginPanel .login-showcase{
  position:relative;display:flex;min-width:0;min-height:620px;flex-direction:column;justify-content:space-between;padding:52px clamp(36px,6vw,76px);
  overflow:hidden;background:radial-gradient(circle at 78% 18%,rgba(232,18,37,.32),transparent 31%),linear-gradient(135deg,#15161a 0%,#24262b 100%)
}
.belzile-theme #loginPanel .login-showcase:after{content:"";position:absolute;width:460px;height:460px;right:-230px;bottom:-230px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.018)}
.belzile-theme #loginPanel .login-brand{position:relative;z-index:1;display:block!important;margin:0!important;padding:0!important;border:0!important}
.belzile-theme #loginPanel .login-brand img{display:block!important;width:min(310px,100%)!important;height:auto!important;max-height:108px!important;object-fit:contain!important;object-position:left center!important;background:transparent!important;mix-blend-mode:normal}
.belzile-theme #loginPanel .login-brand span{display:block!important;margin:14px 0 0!important;color:#c9cbd0!important;font-size:10px!important;font-weight:700!important;letter-spacing:2.2px!important}
.login-showcase-copy{position:relative;z-index:1;max-width:450px;margin-top:38px}.login-kicker{margin:0 0 12px!important;color:#ef3948!important;font-size:11px!important;font-weight:800!important;letter-spacing:1.7px!important}.login-showcase-copy h1{margin:0!important;color:#fff!important;font-size:clamp(34px,4.1vw,52px)!important;line-height:1.04!important;letter-spacing:-1.8px!important}.login-showcase-copy>p:last-child{margin:20px 0 0!important;color:#d1d3d8!important;font-size:16px!important;line-height:1.65!important}.login-trust{position:relative;z-index:1;display:flex;align-items:center;gap:9px;color:#d8d9dd;font-size:13px;font-weight:600}.login-trust-dot{width:9px;height:9px;border-radius:50%;background:#e91b2d;box-shadow:0 0 0 5px rgba(233,27,45,.15)}
.belzile-theme #loginPanel .login-card{display:flex;flex-direction:column;justify-content:center;padding:clamp(42px,6vw,78px);background:#fff;color:#24252a}.login-card-heading{margin-bottom:32px}.login-card-heading .login-kicker{color:#d7192b!important}.login-card-heading h2{margin:0 0 10px;color:#202126;font-size:34px;line-height:1.1;letter-spacing:-1px}.login-card-heading>p:last-child{margin:0;color:#666a73;font-size:15px;line-height:1.5}
.belzile-theme #loginPanel form{display:grid!important;gap:20px;margin:0!important}.belzile-theme #loginPanel form label{display:grid!important;gap:8px;color:#31333a!important;font-size:13px!important;font-weight:750!important;text-align:left!important}.belzile-theme #loginPanel form input:not([type="checkbox"]){width:100%!important;box-sizing:border-box!important;height:50px!important;padding:0 15px!important;border:1px solid #d9dce2!important;border-radius:10px!important;background:#fff!important;color:#24252a!important;font-size:15px!important;outline:0!important;box-shadow:none!important;transition:border-color .18s,box-shadow .18s}.belzile-theme #loginPanel form input:not([type="checkbox"]):focus{border-color:#dd1d2e!important;box-shadow:0 0 0 4px rgba(221,29,46,.12)!important}.belzile-theme #loginPanel form input::placeholder{color:#a2a6ae}.belzile-theme #loginPanel form .remember{display:flex!important;align-items:center;gap:9px;margin-top:0;color:#555963!important;font-size:13px!important;font-weight:600!important}.belzile-theme #loginPanel form .remember input{width:17px!important;height:17px!important;margin:0!important;accent-color:#d7192b}.belzile-theme #loginPanel form button{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%!important;height:52px!important;margin-top:6px!important;border:0!important;border-radius:10px!important;background:#d7192b!important;color:#fff!important;font-size:15px!important;font-weight:800!important;letter-spacing:.1px!important;box-shadow:0 10px 20px rgba(215,25,43,.22)!important;transition:transform .18s,background .18s,box-shadow .18s}.belzile-theme #loginPanel form button:hover{background:#bc1121!important;transform:translateY(-1px);box-shadow:0 13px 25px rgba(215,25,43,.28)!important}.belzile-theme #loginPanel form button span{font-size:20px;line-height:0}.belzile-theme #loginPanel .error{min-height:0;margin:0!important;color:#c51928!important;font-size:13px!important;text-align:center}
@media (max-width:760px){.belzile-theme #loginPanel.login{display:block!important;width:calc(100% - 28px)!important;max-width:520px!important;min-height:auto;margin:14px auto!important;border-radius:18px!important}.belzile-theme #loginPanel .login-showcase{min-height:0;padding:32px 30px 30px}.login-showcase-copy{display:none}.login-trust{margin-top:30px;font-size:12px}.belzile-theme #loginPanel .login-card{padding:34px 30px 38px}.login-card-heading{margin-bottom:26px}.login-card-heading h2{font-size:30px}}

/* belzile-layout-fix.css */
/* Grille de lecture commune : la couleur ne doit jamais réduire la lisibilité. */
:root{--surface:#fff;--surface-soft:#f6f7f8;--ink:#181a1d;--ink-soft:#4d555e;--line:#d1d5d9;--ui-red:#ed0012;--ui-red-dark:#b80010;--ui-red-soft:#fff0f1}
body.belzile-theme{font-size:16px;line-height:1.5;background:#f1f2f3!important;color:var(--ink)!important}
.belzile-theme .content{padding:0 38px 52px!important;background:#f1f2f3!important}
.belzile-theme .content>header,.belzile-theme .content>section{max-width:1640px;margin-left:auto!important;margin-right:auto!important}
.belzile-theme .content>header{padding:30px 0 8px!important}
.belzile-theme .content>section{margin-top:22px!important;margin-bottom:22px!important;padding:28px!important}
.belzile-theme .content h1{font-size:clamp(27px,2.25vw,36px)!important;line-height:1.14!important;letter-spacing:-.02em}
.belzile-theme .content h2{font-size:22px!important;line-height:1.25!important}
.belzile-theme .content h3{line-height:1.3!important}
.belzile-theme p{color:var(--ink)!important}
.belzile-theme .muted,.belzile-theme .content .muted{color:var(--ink-soft)!important;opacity:1!important}
.belzile-theme .eyebrow{color:#7b000b!important;font-weight:800!important}
.belzile-theme label,.belzile-theme legend{color:#25292d!important;font-weight:700!important}

/* Contraste des champs, boutons secondaires et informations sur fond clair. */
.belzile-theme input,.belzile-theme select,.belzile-theme textarea{color:#181a1d!important;background:#fff!important;border-color:#aeb4ba!important;min-height:42px}
.belzile-theme input::placeholder,.belzile-theme textarea::placeholder{color:#68717a!important;opacity:1}
.belzile-theme input[type=checkbox]{min-height:auto!important;accent-color:#d00012}
.belzile-theme button{min-height:40px;line-height:1.2}
.belzile-theme button.secondary{color:#25282b!important;background:#fff!important;border-color:#aeb4ba!important}
.belzile-theme button.secondary:hover{background:#fff5f5!important;color:#96000d!important}
.belzile-theme .error{color:#a40010!important;font-weight:700}
.belzile-theme #notice{color:#126437!important;font-weight:700}
.belzile-theme fieldset{border-color:#cbd0d5!important;padding:24px!important;background:#fbfbfb}
.belzile-theme legend{padding:0 9px!important}

/* Les tableaux restent espacés, lisibles et défilent sans couper leur contenu. */
.belzile-theme .scroll{max-width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 2px 9px #00000008}
.belzile-theme table{min-width:760px;background:#fff}
.belzile-theme th{padding:16px 22px!important;line-height:1.25!important;white-space:normal!important}
.belzile-theme td{padding:13px 16px!important;line-height:1.42!important;color:#202428!important;vertical-align:middle!important}
.belzile-theme td .muted{color:#505861!important}
.belzile-theme .table-count,.belzile-theme #count,.belzile-theme #historyStatus,.belzile-theme #responseStatus{margin:14px 2px 0!important;color:#4d555e!important}
.belzile-theme .status-tag,.belzile-theme .score-pill,.belzile-theme .analytics-status{line-height:1.25!important}

/* Accueil : les cartes sont des blocs aérés, sans texte pâle. */
.belzile-theme .home-dashboard{padding:22px 0 8px!important;background:transparent!important;box-shadow:none!important}
.belzile-theme .home-head{margin:6px 0 30px!important}
.belzile-theme .home-metrics{gap:18px!important;margin-bottom:22px!important}
.belzile-theme .home-metrics article{padding:22px!important;min-height:145px;border-color:#d0d4d8!important}
.belzile-theme .home-metrics small,.belzile-theme .twilio-balance small{color:#535b64!important;font-size:11px!important}
.belzile-theme .home-metrics span{color:#4b545d!important;font-size:13px!important}
.belzile-theme .twilio-card{padding:26px 28px!important;min-height:138px;border-radius:15px!important}
.belzile-theme .twilio-card .eyebrow,.belzile-theme .twilio-card .muted{color:#f0f0f0!important}
.belzile-theme .home-shortcuts{gap:18px!important}
.belzile-theme .home-shortcuts button{padding:22px!important;min-height:128px;border-color:#d0d4d8!important}
.belzile-theme .home-shortcuts .home-shortcut{background:#fff!important;color:#202326!important;border:1px solid #d0d4d8!important;box-shadow:0 5px 18px #1616160d!important}
.belzile-theme .home-shortcuts .home-shortcut:hover{background:#fff8f8!important;border-color:#ed0012!important;transform:translateY(-2px);filter:none!important}
.belzile-theme .home-shortcuts strong{color:#202326!important}
.belzile-theme .home-shortcuts small{color:#535b64!important}

/* Analyse, historique et réglages : mêmes respirations entre les blocs. */
.belzile-theme #tab-history,.belzile-theme #tab-responses{padding:30px!important}
.belzile-theme .analytics-dashboard{padding:30px!important;border-radius:15px!important}
.belzile-theme .analytics-head{margin-bottom:28px!important}
.belzile-theme .analytics-head .muted{max-width:760px}
.belzile-theme .analytics-kpis{gap:15px!important;margin:0 0 20px!important}
.belzile-theme .analytics-kpi{padding:20px!important;min-height:124px!important}
.belzile-theme .analytics-kpi small,.belzile-theme .analytics-kpi span{color:#4c555e!important}
.belzile-theme .analytics-charts,.belzile-theme .analytics-insights{gap:15px!important;margin:18px 0!important}
.belzile-theme .analytics-charts article,.belzile-theme .analytics-attention{padding:22px!important}
.belzile-theme .analytics-table-controls{padding:16px!important;background:#fff;border:1px solid #d3d7da;border-radius:12px!important;gap:12px!important}
.belzile-theme #analyticsTableTitle{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:22px!important;margin:24px 0 12px!important}
.belzile-theme #analyticsTableTitle>div:first-child{min-width:0}
.belzile-theme .analytics-view-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;margin-left:auto;flex:0 0 auto}
.belzile-theme .analytics-view-actions label{display:grid;gap:5px;margin:0;color:#343a40!important;font-size:12px;font-weight:750}
.belzile-theme .analytics-view-actions select{min-width:168px;margin:0;padding:9px 12px;border:1px solid #aeb5bc;border-radius:8px;background:#fff;color:#202428}
.belzile-theme .entity-trend-card{margin:0 0 14px!important;padding:22px!important;border:1px solid #d3d9de!important;border-radius:13px!important;background:#fff!important}
.belzile-theme .entity-trend-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.belzile-theme .entity-trend-heading h3{margin:2px 0 3px!important;font-size:19px!important}
.belzile-theme .entity-trend-heading span{color:#59636c;font-size:13px}
.belzile-theme .entity-trend-heading>strong{font-size:25px;color:#1f3f53}
.belzile-theme .entity-trend-card .line-chart{height:210px;margin-top:14px}
.belzile-theme .analytics-kpi.attention-card,.belzile-theme .analytics-kpi.contact-card{border-left:4px solid #ed0012!important}
.belzile-theme .trend-metric-tabs{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.belzile-theme #responseDashboard .trend-metric-tabs button{min-height:32px!important;padding:7px 10px!important;border:1px solid #c5cbd0!important;border-radius:7px!important;background:#fff!important;color:#2b3035!important;font-size:11px!important;box-shadow:none!important}
.belzile-theme #responseDashboard .trend-metric-tabs button:hover{border-color:#ed0012!important;background:#fff5f5!important;color:#99000c!important;filter:none!important}
.belzile-theme #responseDashboard .trend-metric-tabs button.active{border-color:#ed0012!important;background:#ed0012!important;color:#fff!important}
.belzile-theme #tab-responses .analysis-tabs>button{min-height:40px!important;padding:10px 15px!important;color:#17191c!important;background:#fff!important;border:1px solid var(--ui-red)!important;border-radius:7px!important;box-shadow:none!important}
.belzile-theme #tab-responses .analysis-tabs>button:hover{background:var(--ui-red-soft)!important;color:#8f1f2a!important;border-color:#a9232e!important;filter:none!important}
.belzile-theme #tab-responses .analysis-tabs>button.active{background:var(--ui-red)!important;border-color:var(--ui-red)!important;color:#fff!important;box-shadow:0 3px 9px #c92d3a30!important}
.belzile-theme .analysis-tabs label{color:#31363b!important;font-weight:650!important;padding:7px 4px!important}
.belzile-theme .scroll th .column-sort{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;min-height:28px!important;padding:2px 0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;text-align:left!important;white-space:nowrap!important;box-shadow:none!important}
.belzile-theme .scroll th .column-sort:hover{background:transparent!important;color:#fff!important;filter:none!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px}
.belzile-theme .scroll th .column-sort-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.belzile-theme .scroll th .column-sort-icon{display:inline-grid!important;place-items:center;flex:0 0 18px!important;min-height:18px;font-size:17px;line-height:1;color:#fff!important}
.belzile-theme #settingsPanel{padding:32px!important}
.belzile-theme #userManagement,.belzile-theme #attentionSettings{padding:26px!important;margin:0 0 24px!important;border-color:#ced3d7!important}
.belzile-theme #attentionSettings p:not(.eyebrow){color:#4d555e!important}
.belzile-theme .user-list{gap:13px!important;max-width:1020px!important}
.belzile-theme .user-list-item{padding:15px 17px!important;min-height:66px;border-color:#cdd3d8!important}
.belzile-theme .user-list-item small{color:#4e5862!important}
.belzile-theme .user-arrow{color:#a9000d!important}
.belzile-theme .user-modal-panel,.belzile-theme .staff-panel{padding:30px!important;color:#1e2226!important}
.belzile-theme .user-modal-panel p,.belzile-theme .staff-panel p{color:#4d555e!important}
.belzile-theme .permission-group{padding:14px!important;border-color:#cbd1d6!important}
.belzile-theme .permission-group h4{color:#424a52!important}
.belzile-theme .attention-queue .attention-entry{background:#fff8df!important;color:#654f00!important;border:1px solid #e6ca68!important;box-shadow:none!important}
.belzile-theme .attention-queue .attention-entry:hover{background:#fff1b8!important;color:#4e3d00!important;filter:none!important}
.belzile-theme .user-list .user-list-item{background:#25272a!important;color:#fff!important;border-color:#34373b!important;box-shadow:none!important}
.belzile-theme .user-list .user-list-item:hover{background:#303337!important;border-color:#ed0012!important;filter:none!important}
.belzile-theme .user-list .user-details strong{color:#fff!important}
.belzile-theme .user-list .user-details small{color:#d6d9dc!important}
.belzile-theme .user-list .user-avatar{background:#ed0012!important;color:#fff!important}
.belzile-theme .user-list .user-arrow{color:#fff!important}
.belzile-theme .account-button{background:#242629!important;color:#fff!important;border-color:#43464a!important}
.belzile-theme .account-button:hover{background:#303337!important;border-color:#ed0012!important;filter:none!important}
body.belzile-theme:not([data-active-tab="send"]) .content>header,body.belzile-theme:not([data-active-tab="send"]) .content>.dev{display:none!important}

/* Période TowSoft : deux champs homogènes plutôt que des sélecteurs natifs serrés. */
.belzile-theme #towsoftImportPanel .actions{gap:14px!important;align-items:flex-end!important}
.belzile-theme #towsoftImportPanel .actions label{display:grid!important;gap:7px!important;min-width:188px;padding:10px 12px!important;border:1px solid #c8cdd2!important;border-radius:10px!important;background:#fafafa!important;color:#3f474f!important;font-size:12px!important;letter-spacing:.02em!important}
.belzile-theme #towsoftImportPanel input[type=date]{width:100%!important;min-height:40px!important;margin:0!important;padding:8px 10px!important;border:1px solid #aeb5bc!important;border-radius:7px!important;background:#fff!important;color:#1d2227!important;font-weight:650!important;font-variant-numeric:tabular-nums!important}
.belzile-theme #towsoftImportPanel #towsoftImport{min-height:42px!important;margin-bottom:11px!important;padding-inline:22px!important}
.belzile-theme #towsoftImportPanel input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72;filter:sepia(1) saturate(4) hue-rotate(310deg)}

/* Bas de navigation et mobile. */
.belzile-theme .account-menu{padding:18px 6px 8px!important;border-top-color:#535353!important}
.belzile-theme .account-button{padding:13px 12px!important;background:#222!important;border:1px solid #454545!important;border-radius:8px!important}
.belzile-theme .account-button small{color:#e2e2e2!important}.belzile-theme .account-button strong{color:#fff!important}
@media(max-width:1000px){.belzile-theme .content{padding:0 24px 40px!important}.belzile-theme .home-metrics{grid-template-columns:repeat(2,1fr)!important}.belzile-theme .analytics-kpis{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:760px){.belzile-theme .content{padding:0 14px 30px!important}.belzile-theme .content>section{padding:20px!important}.belzile-theme #tab-history,.belzile-theme #tab-responses,.belzile-theme #settingsPanel{padding:20px!important}.belzile-theme .home-metrics,.belzile-theme .analytics-kpis{grid-template-columns:1fr!important}.belzile-theme .twilio-card{padding:22px!important}.belzile-theme table{min-width:680px}.belzile-theme .analytics-dashboard{padding:20px!important}.belzile-theme #analyticsTableTitle{align-items:flex-start!important;flex-direction:column!important}.belzile-theme .analytics-view-actions{width:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap}.belzile-theme .entity-trend-heading{flex-direction:column;gap:6px}.belzile-theme .trend-metric-tabs{width:100%;margin-left:0;justify-content:flex-start}.belzile-theme #towsoftImportPanel #towsoftImport{margin-bottom:0!important}}

/* rule-tags.css */
.rule-tag-grid{align-items:start}
.rule-tag-editor{min-width:0;padding:15px;border:1px solid #d5dce3;border-radius:10px;background:#fff}
.rule-tag-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.rule-tag-heading strong{color:#20252a;font-size:14px;line-height:1.25}
.rule-tag-add{flex:none;min-height:28px!important;margin:0!important;padding:4px 9px!important;border:1px solid #c9141e!important;border-radius:6px!important;background:#c9141e!important;color:#fff!important;font-family:inherit!important;font-size:11px!important;font-weight:750!important;line-height:1.15!important;letter-spacing:0!important;text-transform:none!important;transform:none!important;box-shadow:none!important}
.rule-tag-add:hover{background:#a90e17!important;border-color:#a90e17!important;color:#fff!important;transform:none!important}
.rule-tag-list{display:flex;flex-wrap:wrap;gap:5px;min-height:26px;align-items:flex-start;align-content:flex-start}
.rule-tag-list:empty:after{content:'Aucune valeur';color:#7b838b;font-size:12px;line-height:24px}
.rule-tag{display:inline-flex!important;align-items:center!important;gap:5px!important;width:auto!important;max-width:100%;min-height:24px!important;margin:0!important;padding:3px 5px 3px 8px!important;border:0!important;border-radius:5px!important;background:#c9141e!important;color:#fff!important;font-family:inherit!important;font-size:11.5px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;transform:none!important;box-shadow:none!important}
.rule-tag span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font:inherit!important;line-height:1.2!important;letter-spacing:0!important;transform:none!important}
.rule-tag-remove{display:grid!important;place-items:center!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;margin:0!important;padding:0!important;border:0!important;border-radius:3px!important;background:#a90e17!important;color:#fff!important;font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:400!important;line-height:17px!important;letter-spacing:0!important;text-transform:none!important;transform:none!important;box-shadow:none!important}
.rule-tag-remove:hover{background:#7f0810!important;color:#fff!important;transform:none!important}
.rule-tag-dialog{width:min(480px,calc(100vw - 32px));padding:0;border:0;border-radius:16px;background:#fff;color:#20252a;box-shadow:0 24px 80px #0005}
.rule-tag-dialog::backdrop{background:#10182099;backdrop-filter:blur(2px)}
.rule-tag-dialog form{display:grid;gap:17px;padding:24px}
.rule-tag-dialog h3{margin:0;font-size:20px;color:#171b1f}
.rule-tag-dialog p{margin:-8px 0 0;color:#626b73;font-size:13px;line-height:1.45}
.rule-tag-dialog label{display:grid;gap:8px;color:#343a40;font-size:13px;font-weight:750}
.rule-tag-dialog input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b9c1c8;border-radius:9px;background:#fff;color:#171b1f;font:inherit}
.rule-tag-dialog input:focus{outline:3px solid #e3061322;border-color:#e30613}
.rule-tag-dialog .actions{justify-content:flex-end;margin:0}
.rule-tag-dialog .rule-tag-cancel{background:#fff!important;color:#343a40!important;border:1px solid #c9cfd5!important}
@media(max-width:760px){.rule-tag-heading{align-items:flex-start}.rule-tag-editor{padding:14px}.rule-tag-dialog form{padding:20px}}

/* redirect-manager.css */
.redirect-settings{margin:20px 0;padding:22px;border:1px solid #d6dce2;border-radius:12px;background:#fff}
.redirect-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.redirect-settings-head h3{margin:0 0 5px;color:#20252a}.redirect-settings-head p{margin:0;color:#66717b;font-size:13px}.redirect-add{flex:none;background:#c9141e!important;color:#fff!important;padding:8px 12px!important}
.redirect-list{display:grid;gap:9px}.redirect-empty{padding:20px;text-align:center;color:#737c84;border:1px dashed #cdd3d9;border-radius:9px}
.redirect-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(220px,1.6fr) auto;align-items:center;gap:15px;padding:13px 14px;border:1px solid #dde2e6;border-radius:9px;background:#fafbfc}.redirect-row strong,.redirect-row small{display:block}.redirect-row strong{color:#24292e}.redirect-row small{margin-top:3px;color:#717a82}.redirect-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9f1018;font-size:13px;font-weight:650}.redirect-row-actions{display:flex;gap:7px}.redirect-row-actions button{padding:6px 9px!important;font-size:11px!important}.redirect-off{opacity:.58}
.redirect-dialog{width:min(620px,calc(100vw - 30px));padding:0;border:0;border-radius:15px;background:#fff;color:#222;box-shadow:0 24px 80px #0005}.redirect-dialog::backdrop{background:#10182099;backdrop-filter:blur(2px)}.redirect-dialog form{display:grid;gap:14px;padding:24px}.redirect-dialog h3{margin:0}.redirect-dialog label{display:grid;gap:6px;margin:0;font-size:13px;font-weight:700}.redirect-dialog input{width:100%;margin:0!important;padding:10px 11px!important;border:1px solid #b9c1c8!important;border-radius:8px!important}.redirect-dialog .check{display:flex}.redirect-dialog .check input{width:17px!important}.redirect-preview{padding:11px;border-radius:8px;background:#f1f3f5;color:#4d555c;font-size:12px;overflow-wrap:anywhere}.redirect-dialog .actions{justify-content:flex-end}.redirect-cancel{background:#fff!important;color:#333!important;border:1px solid #c7cdd2!important}.redirect-delete{margin-right:auto;background:#fff!important;color:#a50d16!important;border:1px solid #db9ca0!important}
.redirect-dialog select{width:100%;margin:0;padding:10px 11px;border:1px solid #b9c1c8;border-radius:8px;background:#fff;color:#222;font:inherit}.redirect-type-help{margin:-5px 0 0;color:#66717b;font-size:12px;line-height:1.4}
.redirect-field-help,.redirect-target-help{display:block;margin:0;color:#66717b;font-size:12px;font-weight:400;line-height:1.4}.redirect-target-help{margin:-6px 0 0}.redirect-field-help code{color:#9f1018;font-family:ui-monospace,monospace}
@media(max-width:760px){.redirect-settings-head{flex-direction:column}.redirect-row{grid-template-columns:1fr}.redirect-row-actions{justify-content:flex-start}}

/* survey-manager.css */
.survey-manager{display:grid;gap:12px}.survey-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.survey-manager-head p{margin:0;color:#68727c;font-size:13px}.survey-add{flex:none;background:#c9141e!important;color:#fff!important;padding:8px 12px!important}.survey-list{display:grid;gap:9px}.survey-empty{padding:20px;color:#737c84;text-align:center;border:1px dashed #cdd3d9;border-radius:9px}.survey-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.4fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid #dde2e6;border-radius:9px;background:#fafbfc}.survey-row strong,.survey-row small{display:block}.survey-row strong{color:#24292e}.survey-row small{margin-top:4px;color:#66717b}.survey-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9f1018;font-size:12px;font-weight:650}.survey-actions{display:flex;gap:7px}.survey-actions button{padding:6px 9px!important;font-size:11px!important}.survey-dialog{width:min(650px,calc(100vw - 30px));padding:0;border:0;border-radius:15px;background:#fff;color:#222;box-shadow:0 24px 80px #0005}.survey-dialog::backdrop{background:#10182099;backdrop-filter:blur(2px)}.survey-dialog form{display:grid;gap:14px;padding:24px}.survey-dialog h3{margin:0}.survey-dialog label{display:grid;gap:6px;margin:0;font-size:13px;font-weight:700}.survey-dialog input,.survey-dialog textarea,.survey-dialog select{width:100%;margin:0!important;padding:10px 11px!important;border:1px solid #b9c1c8!important;border-radius:8px!important;background:#fff;color:#222;font:inherit}.survey-dialog textarea{min-height:105px;resize:vertical}.survey-help{margin:-6px 0 0;color:#66717b;font-size:12px;line-height:1.4}.survey-dialog .actions{justify-content:flex-end}.survey-cancel{background:#fff!important;color:#333!important;border:1px solid #c7cdd2!important}.survey-delete{margin-right:auto;background:#fff!important;color:#a50d16!important;border:1px solid #db9ca0!important}
.survey-new-link{display:grid;gap:12px;padding:14px;border:1px solid #d9dfe4;border-radius:9px;background:#f7f9fa}
.survey-dialog .survey-netlify-choice{display:flex;align-items:center;gap:8px;font-weight:650}.survey-dialog .survey-netlify-choice input{width:16px;height:16px;padding:0!important;margin:0!important;accent-color:#c9141e}.survey-netlify-name{padding:12px;border-left:3px solid #c9141e;background:#fff}.survey-netlify-name small{font-weight:500;color:#65717a}
.survey-site-status{min-height:18px;margin:0;font-size:12px;font-weight:700}.survey-site-status.is-available{color:#16733d}.survey-site-status.is-unavailable{color:#a50d16}
@media(max-width:760px){.survey-manager-head{flex-direction:column}.survey-row{grid-template-columns:1fr}.survey-actions{justify-content:flex-start}}

/* integrations.css */
.integrations-settings{margin:20px 0;padding:22px;border:1px solid #d6dce2;border-radius:12px;background:#fff}.integrations-settings h3{margin:0 0 5px;color:#20252a}.integrations-settings>p{margin:0 0 18px;color:#66717b;font-size:13px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.integration-card{padding:17px;border:1px solid #dde2e6;border-radius:10px;background:#fafbfc}.integration-card h4{margin:0 0 5px;color:#252a2f}.integration-card>p{margin:0 0 13px;color:#66717b;font-size:12px}.integration-card label{display:grid;gap:6px;margin:10px 0;font-size:12px;font-weight:700}.integration-card input{width:100%;margin:0!important;padding:10px 11px!important;border:1px solid #b9c1c8!important;border-radius:8px!important;background:#fff;color:#222;font:inherit}.integration-status{display:inline-flex;margin-bottom:8px;padding:4px 8px;border-radius:999px;background:#edf0f2;color:#53606b;font-size:11px;font-weight:750}.integration-status.ready{background:#dff3e3;color:#176332}.integration-actions{margin-top:18px}.integrations-note{margin:13px 0 0;color:#66717b;font-size:12px}.integration-sms-off{margin:10px 0 0;color:#8b5b00;font-size:12px;font-weight:700}@media(max-width:760px){.integration-grid{grid-template-columns:1fr}}
.integration-card-actions{display:flex;align-items:center;gap:8px;margin-top:14px}.integration-card-actions button{padding:8px 10px!important;font-size:12px!important}.integration-clear{background:#fff!important;color:#a50d16!important;border:1px solid #dca7ab!important}.integration-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:4px 0 13px}.integration-stats span{padding:8px;border:1px solid #e0e5e8;border-radius:7px;background:#fff;color:#5d6871;font-size:11px;line-height:1.3}.integration-stats b{display:block;color:#252a2f;font-size:15px}.integration-stats small{grid-column:1/-1;color:#6b747b;font-size:11px}
.integration-real-sms{margin-top:14px;background:#fff!important;color:#9c151d!important;border:1px solid #dca7ab!important}.integration-real-sms.is-active{background:#a61921!important;color:#fff!important;border-color:#a61921!important}.integration-confirm{width:min(420px,calc(100vw - 30px));border:0;border-radius:14px;padding:0;background:#fff;box-shadow:0 24px 80px #0006}.integration-confirm::backdrop{background:#11182788}.integration-confirm form{display:grid;gap:13px;padding:24px}.integration-confirm h3,.integration-confirm p{margin:0}.integration-confirm p{color:#59646d;font-size:13px;line-height:1.45}.integration-confirm label{display:grid;gap:6px;font-weight:700;font-size:13px}.integration-confirm input{width:100%;padding:10px!important;border:1px solid #b9c1c8!important;border-radius:8px!important}.integration-confirm-error{min-height:18px!important;color:#a50d16!important;font-weight:700}.integration-danger-confirm{background:#a61921!important;color:#fff!important}

/* survey-template-manager.css */
.survey-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 24px}.survey-page-head h2{margin:0 0 6px}.survey-page-head p{margin:0;color:#dce3e8}.survey-template-list{display:grid;gap:14px}.survey-card{display:grid;grid-template-columns:8px minmax(230px,1fr) minmax(350px,1.3fr);align-items:center;gap:18px;padding:19px;border:1px solid #414950;border-radius:13px;background:#20262b;color:#fff}.survey-card>i{height:100%;border-radius:6px}.survey-card h3,.survey-card p,.survey-card small,.survey-card code{color:#fff!important}.survey-card h3{margin:0 0 5px}.survey-card p,.survey-card small{margin:0}.survey-card small{display:block;margin-top:8px;opacity:.82}.survey-card code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.survey-card .link>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.survey-card button{padding:8px 11px!important;font-size:12px!important}.survey-card .delete{color:#ffb3b8!important}.empty{display:grid;gap:6px;padding:40px;text-align:center;border:1px dashed #5b656d;border-radius:13px;color:#fff}.empty b{font-size:18px}.template-dialog{width:min(960px,calc(100vw - 30px));max-height:92vh;padding:0;border:0;border-radius:18px;background:#fff;color:#17212b;box-shadow:0 30px 90px #0008}.template-dialog::backdrop{background:#1119;backdrop-filter:blur(4px)}.template-dialog form{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto auto;max-height:92vh}.template-dialog header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 12px}.template-dialog header small{color:#a41d25;font-weight:900;letter-spacing:.08em}.template-dialog header h3{margin:4px 0 0;font-size:25px}.template-dialog .close{width:38px;height:38px;border:0;border-radius:50%;font-size:24px}.progress{display:flex;align-items:center;padding:0 26px 18px}.progress b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#dfe4e7;color:#6a747c}.progress b.active{background:#b51e27;color:#fff}.progress i{height:3px;flex:1;background:#dfe4e7}.progress b.active+i{background:#b51e27}.template-dialog main{overflow:auto;padding:4px 26px 24px}.template-dialog h4{margin:0 0 6px;font-size:20px}.template-dialog section>p{margin:0 0 18px;color:#68737c}.host-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.host-options label{display:grid;grid-template-columns:auto 1fr;column-gap:10px;padding:17px;border:2px solid #dce2e5;border-radius:12px;cursor:pointer}.host-options label.selected{border-color:#b51e27;background:#fff7f7}.host-options input{grid-row:1/3}.host-options span{color:#68737c}.field{display:grid;gap:6px}.field>label{font-size:13px;font-weight:800}.field input,.field select,.field textarea{min-width:0;padding:11px 12px;border:1px solid #bdc6cc;border-radius:9px;font:inherit}.field small{color:#68737c;font-size:12px}.url{display:flex;align-items:center;border:1px solid #bdc6cc;border-radius:9px;overflow:hidden}.url input{flex:1;border:0;border-radius:0}.url span{align-self:stretch;display:flex;align-items:center;padding:0 12px;background:#f0f2f3;color:#64717b}.old-host,.new-host{display:grid;gap:13px}.old-host em{padding:11px;border-radius:8px;background:#fff4d5;color:#735205;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.grid .full{grid-column:1/-1}.preview{--brand:#b51e27;margin-top:22px;padding:22px;border:1px solid #dbe0e3;border-radius:13px}.preview h3{margin:8px 0;color:var(--brand)}.preview p{color:#68737c}.preview button{padding:10px 15px;border:0;border-radius:8px;background:var(--brand);color:#fff}.question-head{display:flex;justify-content:space-between;align-items:start}.questions{display:grid;gap:10px}.question{display:grid;grid-template-columns:minmax(230px,2fr) minmax(125px,.75fr) minmax(170px,1fr) auto 38px;gap:9px;align-items:end;padding:13px;border:1px solid #dfe4e7;border-radius:11px;background:#f4f6f7}.required{display:flex;align-items:center;gap:6px;padding-bottom:11px;font-size:12px;font-weight:700;white-space:nowrap}.required input{width:auto}.remove{height:40px;border:1px solid #e0a7ab;border-radius:8px;background:#fff;color:#a51d25;font-size:20px}.add-question{margin-top:12px}.error{margin:0 26px;padding:12px;border-radius:9px;background:#fff0f1;color:#991922;font-weight:700}.template-dialog footer{display:flex;gap:10px;align-items:center;padding:18px 26px;border-top:1px solid #e1e6e8}.template-dialog footer span{flex:1}.template-dialog footer button{padding:11px 18px}.next,.publish{background:#b51e27!important;color:#fff!important}@media(max-width:800px){.survey-card,.grid,.host-options,.question{grid-template-columns:1fr}.survey-card code{white-space:normal}.survey-page-head{align-items:flex-start;flex-direction:column}.required{padding:0}}

/* messaging.css */
.messaging-page{max-width:1240px}.messaging-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.messaging-heading h2{margin:3px 0}.messaging-heading p{margin:0}.messaging-new{white-space:nowrap}.messaging-shell{height:min(68vh,700px);min-height:510px;display:grid;grid-template-columns:340px minmax(0,1fr);background:#fff;border:1px solid #dbe3ec;border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(20,42,67,.08)}.conversation-list{border-right:1px solid #e3e9f0;background:#fbfcfd;overflow:auto}.conversation-search{padding:14px;border-bottom:1px solid #e3e9f0}.conversation-search input{width:100%;margin:0}.conversation-items{padding:6px}.conversation-item{display:grid;grid-template-columns:1fr auto;width:100%;gap:4px;text-align:left;border:0;background:transparent;border-radius:10px;padding:12px;cursor:pointer;color:#172b4d}.conversation-item:hover,.conversation-item.selected{background:#fff0f1}.conversation-item strong{font-size:14px}.conversation-item span{grid-column:1/2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#617080;font-size:13px}.conversation-item small{grid-column:2;grid-row:1;color:#7e8b98;font-size:11px}.conversation-panel{display:flex;flex-direction:column;min-width:0;background:#fff}.conversation-title{padding:16px 20px;border-bottom:1px solid #e3e9f0;display:flex;align-items:center;justify-content:space-between}.conversation-title h3{margin:2px 0}.conversation-title p{margin:0}.messaging-refresh{font-size:13px;padding:8px 12px}.message-timeline{flex:1;overflow:auto;padding:22px;background:#f5f7fa;display:flex;flex-direction:column;gap:10px}.message-bubble{max-width:min(78%,560px);padding:10px 13px;border-radius:14px;background:white;border:1px solid #e2e7ee;align-self:flex-start;box-shadow:0 1px 2px rgba(0,0,0,.04)}.message-bubble.outbound{align-self:flex-end;background:#e81930;color:#fff;border-color:#e81930}.message-bubble p{margin:0;white-space:pre-wrap}.message-bubble small{display:block;margin-top:6px;font-size:11px;opacity:.72}.message-compose{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;padding:14px;border-top:1px solid #e3e9f0}.message-compose label{display:grid;gap:5px;font-size:12px;font-weight:700}.message-compose input,.message-compose textarea{margin:0}.message-compose textarea{height:70px;resize:vertical}.message-compose>div{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.message-status{font-size:13px;color:#6b7684}.conversation-empty{margin:auto;padding:32px;text-align:center;color:#6b7684}.messaging-page.is-loading .messaging-shell{opacity:.6;pointer-events:none}@media(max-width:780px){.messaging-shell{grid-template-columns:1fr;height:auto;min-height:0}.conversation-list{max-height:260px;border-right:0;border-bottom:1px solid #e3e9f0}.message-timeline{min-height:360px}.message-compose{grid-template-columns:1fr}.messaging-heading{align-items:flex-start;flex-direction:column}}

/* messaging-overrides.css */
.conversation-actions{display:flex;align-items:center;gap:8px}.messaging-delete{color:#a23a46;border-color:#e3aeb5;background:#fff7f8}.message-timeline{padding:28px 30px;gap:18px}.message-bubble{padding:13px 16px;border-radius:12px}.message-bubble.outbound{background:#e8f0f8;color:#1d3d5a;border-color:#c9dbea}.message-bubble p{line-height:1.45}.message-bubble small{margin-top:9px}.message-compose{padding:16px 20px}.messaging-page .conversation-items{background:#f7f9fc}.messaging-page .conversation-item{background:#fff!important;color:#172b4d!important;border:1px solid #e1e7ef!important}.messaging-page .conversation-item strong{color:#1e334a!important}.messaging-page .conversation-item span,.messaging-page .conversation-item small{color:#6c7b89!important}.messaging-page .conversation-item:hover{background:#f1f5f9!important;border-color:#ccd9e5!important}.messaging-page .conversation-item.selected{background:#e7eef6!important;border-color:#b9cce0!important;box-shadow:inset 3px 0 0 #456b8d!important}.messaging-page .conversation-item.selected strong{color:#234b6c!important}.messaging-page .message-compose{grid-template-columns:minmax(0,1fr)!important}.messaging-page .message-compose .message-text{width:100%!important}.messaging-page .message-compose textarea{box-sizing:border-box!important;width:100%!important}
.towsoft-import-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:14px 18px;max-width:560px;margin:22px 0!important}.towsoft-import-actions>label{display:grid;gap:7px;margin:0!important;font-weight:700}.towsoft-import-actions>label input{width:100%;margin:0!important;padding:11px 12px;border:1px solid #cbd6df;border-radius:9px;background:#fff;color:#172b42;font:inherit}.towsoft-import-actions>button{grid-column:1/-1;justify-self:center;min-width:220px}.scroll{position:relative;isolation:isolate}.scroll thead{position:relative;z-index:8}.scroll thead th{position:sticky;top:0;z-index:9;background-clip:padding-box}.scroll tbody tr.table-row-open{position:relative;z-index:0}.scroll tbody tr.table-row-open td{position:relative;z-index:0;background-clip:padding-box}.scroll tbody tr.table-row-open:hover td{background:#eef8f5}.scroll tbody tr.table-row-open:focus{outline:none}.scroll tbody tr.table-row-open td:first-child{padding-left:29px}.scroll tbody tr.table-row-open td:first-child:before{position:absolute;left:10px;top:50%;transform:translateY(-50%);z-index:0;pointer-events:none;margin:0;line-height:1}.v2-pending-notice{margin:8px 0;padding:16px 18px;border:1px solid #e7d38e;border-radius:12px;background:#fff9e6;color:#604b12;font-weight:700}.v2-retry{margin-top:10px;padding:10px 15px;background:#176555;color:#fff}.v2-retry-status{min-height:22px;margin:9px 0 0;color:#526879;font-size:13px}@media(max-width:640px){.towsoft-import-actions{grid-template-columns:1fr;max-width:360px}.towsoft-import-actions>button{grid-column:1}}
.belzile-theme .towsoft-import-actions>button{justify-self:start!important}
.belzile-theme .result-tabs{display:flex!important;gap:8px!important;padding:0!important;background:transparent!important;border-radius:0!important}
.belzile-theme .result-tabs>.result-tab{min-height:40px!important;padding:10px 15px!important;background:#fff!important;color:#17191c!important;border:1px solid var(--ui-red)!important;border-radius:7px!important;box-shadow:none!important}
.belzile-theme .result-tabs>.result-tab:hover{background:var(--ui-red-soft)!important;color:#8f1f2a!important;border-color:#a9232e!important}
.belzile-theme .result-tabs>.result-tab.active,.belzile-theme .result-tabs>.result-tab.rejected.active{background:var(--ui-red)!important;border-color:var(--ui-red)!important;color:#fff!important;box-shadow:0 3px 9px #c92d3a30!important}
body.belzile-theme #recipientsSection .result-tabs>button:not(.active),body.belzile-theme #recipientsSection .result-tabs>button:not(.active):hover{background:#fff!important;background-image:none!important;color:#17191c!important;border:1px solid var(--ui-red)!important;box-shadow:none!important}
body.belzile-theme #recipientsSection .result-tabs>button.active{background:var(--ui-red)!important;background-image:none!important;color:#fff!important;border:1px solid var(--ui-red)!important}
.message-cost-estimate{color:#40556b;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:620px){.message-cost-estimate{white-space:normal;text-align:right}}
#recipientsSection .result-tabs>button:not(.active),#recipientsSection .result-tabs>button:not(.active):hover{background:#fff!important;background-image:none!important;color:#17191c!important;border:1px solid var(--ui-red)!important;box-shadow:none!important}
#recipientsSection .result-tabs>button.active{background:var(--ui-red)!important;background-image:none!important;color:#fff!important;border:1px solid var(--ui-red)!important}
#costEstimate{display:block;flex-basis:100%;font-weight:650}
