:root{font-family:Segoe UI,Arial,sans-serif;color:#17283b;background:#f2f5f8;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{padding:18px 5%;background:#14273c;color:white;display:flex;justify-content:space-between;align-items:center}.brand{font-size:24px;font-weight:700}.brand span{color:#6fe2c5}.badge{background:#294059;padding:5px 12px;border-radius:20px;font-size:13px}main{max-width:1200px;padding:35px 24px;margin:auto}.eyebrow{color:#237763;letter-spacing:2px;font-size:12px;font-weight:700}h1{font-size:34px;margin:6px 0}h2{font-size:21px;margin:0 0 20px}h3{font-size:16px}.intro p{max-width:700px}.notice{background:#fff4d8;color:#664e1c;border:1px solid #ead7a1;padding:14px 18px;margin:24px 0;border-radius:10px}section{background:white;border:1px solid #dce4ec;border-radius:14px;padding:24px;margin:20px 0;box-shadow:0 3px 10px #152a3d05}.filters{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:end}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;margin-bottom:14px}input,select,textarea{border:1px solid #b8c6d4;border-radius:7px;padding:11px 12px;font:inherit;font-weight:400;width:100%;background:white}input:focus,select:focus,textarea:focus{outline:2px solid #287f6d;outline-offset:2px}button{background:#217a66;color:white;border:0;border-radius:7px;padding:12px 18px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}.filters button{margin-bottom:14px}.secondary{background:#edf4f2;color:#175e4e}.counts{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 24px}.count{background:#f1f5f8;border-radius:9px;padding:10px 14px}.count strong{display:block;font-size:22px}.count span{font-size:12px;color:#506276}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #e4ebf0}th{color:#536578;background:#f7f9fb}.columns{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.columns section{margin:0}.muted{color:#64778b;font-size:13px}.providers{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.provider,.campaign{border:1px solid #dce4ec;border-radius:9px;padding:16px}.campaign{margin:10px 0;white-space:pre-wrap}.provider a{color:#217a66}footer{text-align:center;color:#64778b;padding:25px;font-size:13px}#feedback{font-weight:600;color:#175e4e}#feedback.error{color:#a32626}@media(max-width:750px){.filters,.columns{grid-template-columns:1fr}main{padding:22px 14px}section{padding:18px}h1{font-size:28px}.badge{font-size:11px}header{gap:12px}}
.client-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.client-section .client-list-heading h2{margin:0}.client-list-heading button{font-size:12px;padding:7px 12px;min-height:34px}
[hidden]{display:none!important}input[type=checkbox]{width:18px;height:18px;padding:0;accent-color:#217a66;cursor:pointer}input[type=checkbox]:disabled{cursor:not-allowed}button:disabled{background:#e5ebef;color:#778898;cursor:not-allowed}.selection-toolbar,.wizard-heading{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:16px 0}.button-group,.wizard-actions,.variables{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.selected-row{background:#eef9f5}.steps{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;gap:10px}.steps li{background:#e5ebef;padding:14px;border-radius:8px;color:#526575;font-size:14px}.steps li.active{background:#217a66;color:white}.message-preview{padding:18px;background:#f6f9fc;border:1px solid #dce4ec;border-radius:10px;margin:14px 0}.message-preview p{white-space:pre-wrap;font-size:17px}.message-preview span{font-size:13px;color:#536578}.variables{margin:12px 0 18px}.variables button{padding:8px 12px;font-size:13px}.wizard-actions{justify-content:space-between;margin-top:24px}.settings summary{padding:18px;background:#e9eff4;border-radius:10px;cursor:pointer;font-weight:600}.counts{margin-top:22px;margin-bottom:0}@media(max-width:750px){.selection-toolbar,.wizard-heading{align-items:flex-start;flex-direction:column}.steps{grid-template-columns:repeat(2,1fr)}.selection-toolbar #open-sms{width:100%}}
.message-mode{display:flex;flex-wrap:wrap;gap:20px;border:1px solid #dce4ec;border-radius:9px;padding:14px 18px;margin-bottom:14px}.message-mode legend{font-weight:600;font-size:14px;padding:0 6px}.message-mode label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}.message-mode input[type=radio]{width:18px;height:18px;padding:0;accent-color:#217a66}
.table-options{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.table-options label{min-width:130px}.client-table{max-height:620px;overflow:auto}.client-table th{position:sticky;top:0;z-index:1}.client-table th button{background:transparent;color:inherit;padding:6px 0;min-height:32px;font-size:inherit;white-space:nowrap;text-align:left}.client-table th button:hover{color:#175e4e}.client-table th button:focus-visible{outline:2px solid #287f6d;outline-offset:3px}.sort-indicator{font-size:11px}.client-table td{vertical-align:top}
#template-feedback{color:#175e4e;font-weight:600}#template-feedback.error{color:#a32626}#template-form{padding:18px;background:#f6f9fc;border:1px solid #dce4ec;border-radius:10px}
.client-section{padding:18px}.client-section h2{font-size:18px;margin-bottom:12px}.filter-main{display:grid;grid-template-columns:minmax(150px,1.3fr) repeat(2,minmax(130px,1fr)) minmax(190px,1.3fr);gap:10px;align-items:end}.client-filters label{font-size:12px;margin-bottom:0;gap:4px}.client-filters input:not([type=checkbox]),.client-filters select{padding:7px 9px;min-height:36px;font-size:13px}.multi-filter{position:relative;align-self:end}.multi-filter>summary{list-style:none;border:1px solid #b8c6d4;background:white;border-radius:7px;padding:9px;font-size:13px;cursor:pointer;min-height:36px}.multi-filter>summary:after{content:" ▾";float:right}.multi-filter>summary:focus-visible{outline:2px solid #287f6d}.multi-panel{position:absolute;top:calc(100% + 5px);left:0;z-index:4;width:max-content;min-width:220px;max-width:320px;max-height:300px;overflow:auto;border:1px solid #b8c6d4;background:white;border-radius:8px;padding:10px;box-shadow:0 6px 20px #152a3d26}.multi-panel button{font-size:12px;padding:5px 8px;min-height:30px;margin-bottom:6px}.client-filters .inline-check{flex-direction:row;align-items:center;gap:7px;font-size:13px;padding:5px 0}.multi-panel .inline-check{padding:7px 4px}.filter-extra{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px}.client-filters button{font-size:12px;padding:6px 10px;min-height:32px}.extra-filters summary{font-size:13px;cursor:pointer;color:#175e4e}.location-fields{display:flex;gap:10px;margin-top:6px}.location-fields label{max-width:180px}.client-section .selection-toolbar{margin:12px 0 6px;gap:10px;flex-wrap:wrap}.client-section .selection-toolbar button{font-size:12px;padding:7px 10px;min-height:34px}.client-section #selection-summary{font-size:12px}.client-section .table-options{gap:12px;margin:6px 0 10px}.client-section .table-options label{flex-direction:row;align-items:center;min-width:0;gap:8px;margin:0;font-size:12px}.client-section .table-options select{width:64px;padding:5px 7px}.client-section .table-options p{margin:0;font-size:11px;flex:1}.client-section #counts{gap:14px;margin:10px 0 0}.client-section #counts .count{background:transparent;padding:0;display:flex;align-items:baseline;gap:5px}.client-section #counts strong{font-size:16px;display:inline}.client-section .wizard-actions{margin-top:12px}.client-section .wizard-actions button{padding:7px 10px;font-size:12px;min-height:34px}.client-section #page-summary{font-size:12px}.intro h1{font-size:28px}.intro p{margin:6px 0}.intro .eyebrow{margin-top:0}.notice#source-status{font-size:12px;padding:9px 12px;margin:14px 0}main{padding-top:24px}@media(max-width:700px){.filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.multi-panel{max-width:260px;min-width:190px}.client-section .selection-toolbar{flex-direction:row;align-items:center}.client-section .selection-toolbar #open-sms{width:auto}.client-section .table-options p{flex-basis:100%}}@media(max-width:420px){.filter-main{grid-template-columns:1fr}.multi-panel{max-width:100%;width:100%}}
.account-bar{display:flex;gap:12px;align-items:center;font-size:12px;flex-wrap:wrap}.account-bar button{padding:6px 10px;min-height:32px;background:#294059;font-size:12px}.auth-view{max-width:480px;margin:32px auto}.auth-view h1{font-size:26px}.auth-view label{margin:16px 0}#auth-feedback{color:#a32626}.account-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #dce4ec;padding:12px 0}.account-row strong{min-width:120px}.account-row select{width:170px}.account-row label{display:flex;flex-direction:row;align-items:center;margin:0}.account-row input[type=checkbox]{width:18px}.account-row button{padding:8px 12px;min-height:36px}#access-events{max-height:280px;overflow:auto}
#password-feedback,#reset-password-feedback{color:#a32626;font-weight:600}#reset-password-form{margin:18px 0;padding:18px;border:1px solid #dce4ec;border-radius:10px;background:#f6f9fc}

/* Application shell shared by the current and future Kwisatz modules. */
:root{--accent:#217a66;--nav-bg:#172c40;--surface:#fff;--border:#e0e7ee;background:#f4f7fa}
header{height:72px;padding:14px 28px;background:var(--surface);color:#17283b;border-bottom:1px solid var(--border)}
.brand{font-size:23px;letter-spacing:-.7px}.brand span{color:var(--accent)}
.account-bar .badge{background:#edf4f2;color:#175e4e}.account-bar button{background:#edf2f6;color:#263d53}
main{max-width:none;margin:0;padding:0}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 72px)}
.sidebar{background:var(--nav-bg);color:#fff;padding:28px 14px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px}
.sidebar-heading{display:flex;gap:10px;align-items:center;padding:0 6px}.sidebar-heading strong{display:block;font-size:13px}.sidebar-heading span:not(.sidebar-mark){display:block;font-size:11px;color:#9fb5c9;margin-top:3px}
.sidebar-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#217a66;color:#fff;font-weight:700;font-size:21px;flex-shrink:0}
.nav-group{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#9fb5c9;margin:26px 12px 9px}.nav-group:first-child{margin-top:8px}
#module-navigation button{display:flex;gap:12px;align-items:center;text-align:left;width:100%;background:transparent;color:#c6d4e1;font-size:13px;font-weight:500;padding:10px 12px;margin:3px 0;border-radius:9px;min-height:44px}
#module-navigation button:hover{background:#223f56;color:#fff}#module-navigation button[aria-current=page]{background:#217a66;color:#fff;font-weight:600}
.nav-mark{font-size:10px;letter-spacing:.5px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #ffffff30;border-radius:6px;flex-shrink:0}
.sidebar-note{font-size:12px;color:#c6d4e1;margin:auto 12px 0}.sidebar-note span{font-size:11px;color:#9fb5c9}
#resume-sms{font-size:12px;padding:10px;background:#2b495f;color:#fff;border:1px solid #547086}
.workspace{padding:30px clamp(18px,3vw,44px);min-width:0;max-width:1500px;width:100%;margin:0 auto}
.workspace-heading{margin-bottom:24px}.workspace-heading .eyebrow{margin:0 0 8px;letter-spacing:1.5px}.workspace-heading h1{font-size:30px;letter-spacing:-.7px;margin:0 0 6px}.workspace-heading>p:last-child{font-size:14px;color:#64778b;margin:0}
.workspace section{border-color:var(--border);box-shadow:0 4px 18px #17334c04;margin:16px 0}.workspace .settings{margin-top:18px}.workspace .settings>summary{background:#eaf0f5}
.auth-view{margin:60px auto;padding:30px;box-shadow:0 12px 45px #17334c0d}#password-section{margin:0 0 24px}
button:focus-visible{outline:3px solid #54b9a4;outline-offset:3px}#module-title:focus,#wizard-title:focus{outline:none}
footer{background:#fff;border-top:1px solid var(--border);padding:14px}
@media(max-width:1000px){.filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:190px minmax(0,1fr)}.workspace{padding:24px 18px}.sidebar{padding-left:10px;padding-right:10px}}
@media(max-width:750px){header{height:auto;min-height:72px;padding:14px 18px;flex-wrap:wrap}.app-shell{display:block}.sidebar{position:static;height:auto;padding:10px 14px;gap:8px}.sidebar-heading,.sidebar-note{display:none}#module-navigation{display:grid;gap:4px;grid-template-columns:1fr;max-height:65vh;overflow:auto}.nav-group{display:block;font-size:12px;margin:12px 10px 4px}#module-navigation button{width:100%;font-size:16px;padding:10px 12px;margin:0;min-height:44px}.nav-mark{display:none}.workspace{padding:22px 14px}.workspace-heading h1{font-size:27px}.auth-view{margin:24px 14px;max-width:480px}.workspace .auth-view{margin:0 0 20px}#resume-sms{align-self:flex-start}.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:no-preference){#module-navigation button{transition:background .15s,color .15s}}
.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.home-metric{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}.home-metric>span{font-size:12px;color:#536578}.home-metric strong{display:block;font-size:30px;line-height:1.4;margin:8px 0 4px;color:#173d36;letter-spacing:-1px}.home-metric small{display:block;font-size:11px;color:#64778b}.home-source .wizard-heading{margin:0 0 12px;flex-wrap:wrap}.home-source h2{margin:0}.home-state{background:#edf4f2;color:#175e4e;border-radius:20px;padding:5px 12px;font-size:12px}.home-state.pending{background:#fff4d8;color:#664e1c}.home-source>p{font-size:13px}.home-source .button-group button{font-size:12px;padding:9px 12px;min-height:38px}#home-feedback{color:#536578;font-size:12px}.home-modules-title{margin:30px 0 14px;font-size:19px}.home-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-module{display:flex;flex-direction:column;text-align:left;background:#fff;color:#17283b;border:1px solid var(--border);padding:20px;border-radius:12px;gap:10px;font-weight:400}.home-module:hover{border-color:#5c9c8e;background:#f8fcfa}.home-module>.eyebrow{font-size:9px;letter-spacing:1px}.home-module strong{font-size:17px}.home-module>span:not(.eyebrow):not(.home-module-action){font-size:12px;color:#64778b}.home-module-action{font-size:12px;color:#175e4e;margin-top:auto;padding-top:8px;font-weight:600}
@media(max-width:1100px){.home-metrics,.home-modules{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.home-metrics{gap:10px}.home-metric{padding:14px}.home-metric strong{font-size:25px}.home-modules{grid-template-columns:1fr}}
.config-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:12px}.config-tabs button{background:#eaf0f5;color:#263d53;font-size:13px;padding:10px 14px}.config-tabs button[aria-selected=true]{background:#217a66;color:white}#settings-form>button{margin-top:18px}.inline-check{flex-direction:row;align-items:center}.inline-check input{width:18px}.sync-panel{border:1px solid #bad8cf;border-radius:10px;padding:14px 18px;margin-bottom:20px;background:#eef8f4;font-size:13px}.sync-panel p{margin:6px 0}.sync-panel progress{width:100%;height:8px}.sync-panel button{font-size:12px;min-height:32px;padding:6px 10px}.sync-panel.compact{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sync-panel.compact p{font-size:11px}#smsenvoi-tests{max-height:280px;overflow:auto}

.password-input{display:flex;gap:8px;align-items:center}.password-input input{flex:1;min-width:0}.password-input button{min-width:88px;padding:8px 12px}#forgot-password{margin-top:16px}#recovery-code-value{display:block;overflow-wrap:anywhere;user-select:all;background:#edf3f8;padding:16px;margin-bottom:12px}#recovery-code-feedback,#recovery-feedback{color:#a32626}#recovery-code-form{margin-top:12px}

#auth-submit{margin-top:16px}
.password-input{position:relative;display:block}.password-input input{width:100%;padding-right:48px}.password-input .password-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);padding:8px;min-width:36px;min-height:36px;background:transparent;color:#61766e;border-radius:6px;display:grid;place-items:center}.password-eye:hover{background:#eef5f1;color:#175e4e}.password-eye:focus-visible{outline:2px solid #217a66;outline-offset:1px}.password-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.client-table tbody tr{cursor:pointer}#selection-exclusions{font-size:12px;line-height:1.6;margin:12px 0 0}.issuer-form{max-width:1000px;display:grid;gap:20px;margin-top:24px}.issuer-form fieldset{border:1px solid #dce6e1;border-radius:12px;padding:20px;margin:0;min-width:0;background:#fafcfb}.issuer-form legend{font-size:15px;font-weight:650;color:#244a3d;padding:0 8px}.issuer-form fieldset>p{margin:0 0 16px;font-size:13px}.issuer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.issuer-grid label{margin:0;font-size:13px}.issuer-grid input{background:white}.issuer-address{grid-template-columns:minmax(120px,1fr) minmax(0,2fr)}.issuer-street{grid-column:1/-1}.field-optional{font-weight:400;color:#73867e;font-size:11px}.issuer-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.issuer-actions span{font-size:12px;flex:1;min-width:220px}@media(max-width:650px){.issuer-grid,.issuer-address{grid-template-columns:1fr}.issuer-street{grid-column:auto}.issuer-form fieldset{padding:16px}.issuer-actions button{width:100%}}
.source-consent{grid-column:1/-1;border:1px solid #dce6e1;border-radius:10px;padding:18px}.source-consent legend{font-weight:600}.source-consent label{margin:12px 0}.source-consent textarea{min-height:80px}.source-consent p{font-size:12px}.sms-validation{display:grid;gap:12px}.sms-validation>label{max-width:450px}.sms-validation .inline-check{display:flex;flex-direction:row;gap:10px;align-items:center;font-size:13px}.sms-validation .inline-check input{flex-shrink:0}#operation-test-controls{padding:18px;background:#f5f9f7;border:1px solid #dce6e1;border-radius:10px}#operation-detail-items td:nth-child(3){white-space:pre-wrap;min-width:220px}#operation-detail-items td{font-size:12px}#operation-status,#operation-detail-status{font-weight:600}#operation-feedback,#history-feedback,#maintenance-feedback{color:#a32626}#device-list article{padding:12px 0;border-bottom:1px solid #e0e9e4}#device-list select{width:180px}#backup-list a{display:block;margin:14px 0;color:#175e4e}

.help-welcome{padding:18px 20px;background:#edf8f3;border:1px solid #b8d8c9;border-radius:12px;margin-bottom:20px}.help-welcome p{font-size:13px;margin:8px 0 14px}.help-welcome button{font-size:12px;margin:0 8px 6px 0}.help-context{border:1px solid #dce6e1;border-radius:10px;background:#fff;padding:10px 14px;margin-bottom:18px;font-size:13px}.help-context>summary{cursor:pointer;color:#175e4e;font-weight:600}.help-context h3{font-size:15px}.help-context p{max-width:900px;line-height:1.7}.help-context button{font-size:12px}.help-guide{background:#f5faf8;padding:24px!important}.help-guide h3{font-size:22px;margin:8px 0 16px}.help-guide>p{line-height:1.8;max-width:850px}.help-guide .button-group{flex-wrap:wrap}.help-guide button{font-size:12px}.help-topic{border-bottom:1px solid #e1e9e5;padding:14px 0}.help-topic summary{cursor:pointer;font-size:14px;font-weight:600;color:#244a3d}.help-topic p{font-size:13px;line-height:1.8}.help-topic label{margin-top:14px;font-size:13px}.help-glossary{margin-bottom:22px}.help-info{display:inline-block;position:relative;align-self:center;max-width:100%;margin:3px 0;font-size:12px}.help-info>summary{list-style:none;cursor:pointer;color:#577d6d;border:1px solid #bfd1c8;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:17px;background:#f5faf7}.help-info>summary::-webkit-details-marker{display:none}.help-info>summary:focus-visible{outline:3px solid #54b9a4;outline-offset:3px}.help-info[open]{display:block;flex-basis:100%;grid-column:1/-1}.help-info p{margin:8px 0 12px;background:#f0f7f3;border:1px solid #cbded4;border-radius:8px;padding:12px 14px;line-height:1.7;max-width:720px;font-weight:400}.help-info[open]>summary{background:#217a66;color:#fff}.help-guide h3:focus{outline:none}#help-storage-note{font-size:12px;color:#83622b}@media(max-width:650px){.help-guide{padding:16px!important}.help-guide h3{font-size:19px}.help-welcome button{width:100%;margin-right:0}}

.help-title-row{display:flex;align-items:center;gap:10px}.help-title-row h1{margin-bottom:6px}.help-icon{display:inline-grid;place-items:center;flex-shrink:0;width:26px;height:26px;min-height:26px;padding:0;border:0;border-radius:50%;background:transparent;color:#85988f;font-size:18px;font-weight:400;line-height:1;vertical-align:middle}.help-icon:hover{background:#e7efea;color:#217a66}.help-icon:focus-visible{outline:2px solid #217a66;outline-offset:2px}.has-help-icon{position:relative;padding-right:28px}.has-help-icon>.help-icon{position:absolute;right:0;top:-3px}.has-help-icon.inline-check{padding-right:0;gap:8px}.has-help-icon.inline-check>.help-icon{position:static}.message-mode legend .help-icon{margin-left:7px}.help-popup{position:fixed;inset:auto;margin:0;width:min(400px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:22px;border:1px solid #dce6e1;border-radius:12px;background:#fff;color:#263d35;box-shadow:0 12px 36px #17334c24;box-sizing:border-box;font-size:13px}.help-popup h3{font-size:15px;line-height:1.4;padding-right:24px;margin:0 0 10px}.help-popup p{font-size:13px;line-height:1.7;margin:0 0 15px}.help-popup>.secondary{font-size:12px;padding:8px 10px}.help-popup .help-popup-close{position:absolute;top:8px;right:8px;background:transparent;color:#73867e;padding:0;width:28px;min-height:28px;font-size:22px;border-radius:6px}.help-popup .help-popup-close:hover{background:#eef4f1}.help-popup::backdrop{background:transparent}

.source-meta{margin:-8px 0 18px;padding:0;background:transparent;border:0;font-size:12px;color:#788980}.source-meta-line{display:flex;align-items:flex-start;gap:8px 18px;flex-wrap:wrap}.source-meta-summary{display:flex;align-items:center;gap:7px;line-height:1.7}.source-meta-summary::before{content:'';width:6px;height:6px;border-radius:50%;background:#80a795;flex-shrink:0}.source-meta-details{font-size:12px;max-width:750px}.source-meta-details>summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px;color:#708379;line-height:1.7}.source-meta-details>summary::-webkit-details-marker{display:none}.source-meta-details>summary:hover{color:#217a66}.source-meta-details p{font-size:12px;line-height:1.7;padding:10px 12px;margin:8px 0 0;background:#f5f8f6;border-radius:8px;color:#64776d}.source-meta-details[open]{flex-basis:100%}.sync-panel{padding:10px 14px;border:0;border-left:3px solid #70a48e;border-radius:6px;background:#f1f7f4;margin-bottom:16px;font-size:12px}.sync-panel strong{font-size:12px}.sync-panel p{font-size:12px}.sync-panel[data-state=failed],.sync-panel[data-state=cancelled]{border-left-color:#be964b;background:#fbf7ed}.sync-panel.compact{padding:8px 12px}.source-meta-details>summary:focus-visible{outline:2px solid #217a66;outline-offset:3px}

.setup-steps{display:flex;gap:8px;flex-wrap:wrap;padding:0;list-style:none;counter-reset:setup;margin:22px 0}.setup-steps li{counter-increment:setup;font-size:12px;color:#7b8d83;background:#f1f5f3;padding:8px 12px;border-radius:20px}.setup-steps li::before{content:counter(setup) '. ';}.setup-steps li.active{background:#217a66;color:#fff;font-weight:600}.setup-fields{display:grid;gap:14px;max-width:740px}.setup-fields>p{font-size:13px;line-height:1.8;margin:0}.setup-fields label{font-size:13px;margin:0}.setup-fields .inline-check{display:flex;gap:10px}.setup-fields .inline-check input{width:18px}#setup-form>.button-group{margin-top:24px;flex-wrap:wrap}#setup-fields h3{font-size:21px;margin:12px 0 20px}#setup-provider-fields{display:grid;gap:14px}#setup-feedback{font-size:13px;color:#a32626;line-height:1.7}#setup-recap{font-size:14px;line-height:2;padding-left:20px}#setup-view{padding:24px}#setup-source-result{font-size:13px;color:#217a66}@media(max-width:650px){#setup-view{padding:16px}.setup-steps{gap:6px}.setup-steps li{padding:6px 8px;font-size:11px}#setup-form>.button-group button{width:100%}}
.provider-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.provider-list{display:grid;gap:8px}.provider-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d9e4e2;border-radius:12px;background:#fff}.provider-open{display:grid;gap:6px;text-align:left;background:none;color:#192f40;padding:0;border:0;flex:1;box-shadow:none}.provider-open[aria-pressed=true]{color:#147663}.provider-badge{font-size:.8rem;color:#647689;font-weight:400}.provider-badge.is-active{color:#147663}.provider-toggle{margin:0;display:flex;align-items:center}.provider-toggle input{appearance:none;width:36px;height:20px;border:0;border-radius:20px;background:#b9c4cb;cursor:pointer;position:relative;margin:0}.provider-toggle input:before{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;left:3px;top:3px;transition:transform .15s}.provider-toggle input:checked{background:#197b67}.provider-toggle input:checked:before{transform:translateX(16px)}.provider-toggle input:disabled{opacity:.4;cursor:default}.provider-toggle input:focus-visible{outline:3px solid #81c2b5;outline-offset:3px}.provider-panels{border:1px solid #d9e4e2;border-radius:14px;background:white;padding:20px}.provider-panels h2,.provider-panels h3:first-child{margin-top:0}.provider-notes{margin:12px 0;font-size:.9rem}.provider-notes summary{cursor:pointer;color:#557184}.provider-panels .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-panels input{min-width:0;width:100%}@media(max-width:850px){.provider-layout{grid-template-columns:1fr}.provider-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.provider-list,.provider-panels .filters{grid-template-columns:1fr}}


.message-character-count{margin:-6px 0 14px;text-align:right;font-size:12px;font-weight:400}

.password-field{margin-bottom:14px}.password-field>label{margin-bottom:6px}.password-input .password-eye{margin:0}
.client-file-link{background:none;border:0;padding:0;color:#176d60;text-align:left;font:inherit;text-decoration:underline;text-underline-offset:3px;min-height:0}
.client-file-dialog{width:min(940px,94vw);max-height:90vh;overflow:auto;border:1px solid #d7e4e9;border-radius:16px;padding:24px;color:#183047;background:white}
.client-file-dialog::backdrop{background:rgba(18,34,52,.45)}
.client-file-header,.client-file-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}
.client-file-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0;padding:16px 0}
.client-file-fields[hidden]{display:none}
.client-file-fields legend{font-weight:bold;padding-bottom:12px}
.client-file-value{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:normal;padding:10px 0}
.client-file-dialog .config-tabs{flex-wrap:wrap;overflow:visible}
.client-file-dialog .config-tabs [aria-pressed=true]{background:#207d6d;color:white}
.producteurs-notice{padding:16px 20px;background:#eef7f3;border-left:4px solid #207d6d;border-radius:8px;margin-bottom:20px}
.producteurs-notice p{margin:6px 0 0}
#producteurs-detail,#producteurs-rights{width:min(900px,90vw);max-height:85vh;overflow:auto;border:1px solid #d6e3dd;border-radius:16px;padding:24px}
#producteurs-detail::backdrop,#producteurs-rights::backdrop{background:#132b2366}
#producteurs-detail table{width:100%;margin-bottom:20px}
#producteurs-detail td{overflow-wrap:anywhere;white-space:pre-wrap}
#producteurs-rights-options{display:grid;gap:12px;margin:20px 0}
#producteurs-export{display:inline-block;text-decoration:none;padding:10px 16px;border-radius:8px;background:#edf3ef;color:#194d3f;font-weight:600}
#producteurs-view .button-group{margin:16px 0}
@media(max-width:640px){.client-file-fields{grid-template-columns:1fr}.client-file-header{align-items:flex-start}.client-file-dialog{padding:16px}}
.governance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.governance-heading h3{margin:0}.governance-heading button,.module-control>button{font-size:13px;padding:8px 12px;min-height:36px}.module-control>button{margin-top:10px}
.governance-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #dbe6eb;padding:12px 0;margin-bottom:18px}.governance-tabs button{background:#edf3f5;color:#455a6c;padding:9px 13px;font-size:13px;min-height:38px}.governance-tabs button[aria-selected=true]{background:#217a66;color:white}.governance-tabs button:focus-visible{outline:2px solid #217a66;outline-offset:3px}.governance-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.permission-tabs{margin-bottom:6px;padding-top:0}#governance-rights-count{font-size:12px;margin:4px 0}#governance-role-form{padding:0}#governance-module-feedback{color:#a32626}
#governance-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#governance-modules .module-control{margin:0;padding:12px}
.module-control{padding:16px;border:1px solid #dbe6eb;border-radius:12px;margin:10px 0}.module-control p{margin:6px 0 0}
.permission-group{border:1px solid #dbe6eb;border-radius:10px;padding:14px;margin:10px 0}.permission-group summary{font-weight:600;cursor:pointer}.permission-group .button-group{margin:12px 0}.permission-option{padding:5px 0}.permission-option[hidden]{display:none}
@media(max-width:750px){.governance-fields,#governance-modules{grid-template-columns:1fr}}
/* Client workspace: filters, actions and selectable results. */
.client-workspace{padding:0;min-width:0}.client-workspace .client-zone{padding:16px 18px;margin:14px 0;border:1px solid #dce5eb;box-shadow:none;border-radius:12px}.client-zone-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.client-workspace .client-zone-heading h2{margin:0;font-size:16px}.client-filter-zone{position:relative;z-index:3}.client-filter-info{font-size:12px;color:#647d73;max-width:480px}.client-filter-info summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.client-filter-info p{margin:8px 0;font-size:12px}.client-workspace .filter-extra{justify-content:space-between;align-items:center;margin-top:10px;gap:10px}.filter-toggles,.filter-buttons{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.client-workspace .filter-buttons button{min-height:32px}.client-workspace .extra-filters{position:relative}.client-workspace .extra-filters .location-fields{position:absolute;top:100%;left:0;min-width:290px;max-width:340px;padding:12px;border:1px solid #dbe6eb;border-radius:8px;background:#fff;box-shadow:0 6px 20px #152a3d20;z-index:4}.client-workspace .client-action-zone{background:#f8fbfa}.campaign-mode-context{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px}.campaign-mode-context>span{padding:4px 10px;background:#e5f2ed;border-radius:20px;color:#176d5c;font-weight:600}.client-workspace .campaign-mode-context button{padding:3px 6px;min-height:28px;background:transparent;color:#657c72;font-size:12px;text-decoration:underline;text-underline-offset:3px}.client-action-row{display:flex;justify-content:space-between;gap:18px;align-items:center}.client-action-selection{min-width:0;flex:1}.client-action-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.client-workspace .client-action-buttons button{padding:9px 14px;min-height:38px;font-size:13px}.client-workspace #counts{margin:0;gap:20px}.client-workspace #counts .count{display:flex;gap:6px;align-items:baseline;padding:0;background:transparent}.client-workspace #counts strong{font-size:20px;color:#163e34}.client-workspace #counts span{font-size:12px;color:#6b7d88}#client-action-status{font-size:12px;margin:6px 0 0;line-height:1.5}#client-action-status.selection-blocked{color:#9b482f}.client-selection-details{font-size:12px;margin-top:9px;color:#8a5b40}.client-selection-details summary{cursor:pointer}.client-workspace #selection-exclusions{font-size:12px;margin:6px 0 0;line-height:1.6}.client-workspace .client-results-zone{padding:0;overflow:hidden}.client-results-zone>.client-zone-heading{padding:14px 18px 0}.client-results-zone .selection-toolbar{padding:10px 18px;margin:0;border-bottom:1px solid #e0e7ee;background:#f8fafc}.selection-label{font-size:12px;font-weight:600;color:#5c7184}.client-workspace .selection-toolbar button{font-size:12px;min-height:30px;padding:5px 9px}.client-workspace #selection-summary{font-size:12px;color:#506678}.client-workspace .table-options label{font-size:12px;margin:0;min-width:0;flex-direction:row;align-items:center;gap:8px}.client-workspace .table-options select{width:68px;padding:5px 7px}.client-workspace .client-table{max-height:560px;border-radius:0}.client-workspace .client-table th{background:#edf2f7}.client-results-zone>.wizard-actions{padding:12px 18px;margin:0;border-top:1px solid #e0e7ee}.client-workspace .client-table input[type=checkbox]{vertical-align:middle}.client-workspace .client-table td{vertical-align:middle}
@media(max-width:1000px){.client-action-row{align-items:flex-start;flex-wrap:wrap}.client-action-buttons{margin-left:auto}.client-workspace #counts{gap:14px}}
@media(max-width:650px){.client-workspace .client-zone{padding:14px}.client-workspace .client-results-zone{padding:0}.client-zone-heading{gap:8px}.client-action-row{gap:12px}.client-action-buttons{width:100%;justify-content:stretch}.client-action-buttons #open-sms{flex:1}.client-workspace .selection-toolbar{align-items:flex-start;gap:8px;flex-direction:column;padding:10px 14px}.client-workspace .client-filter-info{font-size:11px}.client-workspace .extra-filters .location-fields{left:auto;right:0;min-width:260px}.client-workspace .client-table{max-height:460px}.client-results-zone>.wizard-actions{padding:10px 14px}.client-workspace .campaign-mode-context{gap:5px}.client-action-zone #counts{flex-wrap:wrap}}
.sms-final-preview{padding:14px 16px;border:1px solid #dce6e1;border-radius:10px;background:#f8fbfa}.sms-final-preview strong{font-size:13px}.sms-final-preview p{white-space:pre-wrap;margin:8px 0;font-size:15px}.sms-final-preview small,.sms-final-confirm small{font-size:12px}.optional-sms-test{padding:12px 16px;border:1px solid #dce6e1;border-radius:10px}.optional-sms-test summary{cursor:pointer;font-weight:600;font-size:13px;color:#236c5b}.optional-sms-test>p{font-size:12px;margin:8px 0}.sms-test-row{display:flex;align-items:flex-start;gap:12px;margin-top:12px}.sms-test-row label{flex:1;margin:0;font-size:13px}.sms-test-row label small{font-weight:400;font-size:11px;max-width:700px}.sms-test-row button{font-size:13px;flex-shrink:0;margin-top:25px}.sms-final-confirm{padding:12px 0}.sms-final-confirm .inline-check{margin:0 0 5px;align-items:center;gap:8px}.sms-final-confirm button{margin-top:12px}#operation-test-status{font-size:12px;color:#617568}@media(max-width:650px){.sms-test-row{flex-direction:column}.sms-test-row label{width:100%}.sms-test-row button{margin-top:0;width:100%}.sms-final-confirm .inline-check{align-items:flex-start}}

/* SMS history: compact filters, a stable table and an immediately visible detail. */
.sms-history-workspace{display:grid;gap:18px}.sms-history-workspace>section{margin:0;padding:20px}.history-toolbar,.history-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.history-toolbar p{margin:0;flex:1}.sms-history-workspace button{min-height:36px;padding:8px 12px;font-size:13px}.history-section-heading h2{margin:0;font-size:19px}.history-section-heading p{margin:3px 0}.history-section-heading label{flex-direction:row;align-items:center;margin:0;font-size:12px}.history-section-heading select{width:auto;padding:6px 9px}.history-list .history-section-heading>div{flex:1}.quiet-button{background:transparent;color:#536578;text-decoration:underline;text-underline-offset:3px}.history-filter-main{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(3,minmax(130px,1fr));gap:12px;margin-top:14px}.history-filters label,.history-recipient-filters label{margin:0;font-size:12px;gap:4px}.history-filters input,.history-filters select,.history-recipient-filters input,.history-recipient-filters select{padding:8px 10px;min-height:36px;font-size:13px}.history-filter-secondary{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:12px}.history-filter-secondary>label{flex:0 1 165px}.history-filter-secondary>label:nth-child(3){flex:1 1 220px}.history-more{flex:1 0 100%;margin-top:2px}.history-more>summary{color:#175e4e;font-size:13px;cursor:pointer;width:max-content;padding:5px 0}.history-filter-advanced{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;border-top:1px solid #e4ebf0;margin-top:10px;padding-top:14px}.history-filters #history-active-filters{font-size:11px;margin:12px 0 0;overflow-wrap:anywhere}.history-table{max-height:650px;margin-top:16px}.history-table table{min-width:1020px}.history-table th,.history-recipient-table th{position:sticky;top:0;z-index:1}.history-table td{font-size:12px;vertical-align:middle;padding:12px 10px}.history-table th{font-size:12px;padding:10px}.history-table td:first-child{white-space:nowrap}.history-table td:nth-child(2){max-width:270px;min-width:180px}.history-table td small{display:block;font-size:11px;margin-top:4px}.history-table tr:hover td{background:#f6faf9}.history-table tr.history-selected td{background:#eaf6f1}.sms-history-workspace .history-name-link{background:transparent;color:#175e4e;text-align:left;padding:0;min-height:26px;overflow-wrap:anywhere;max-width:100%;font-weight:650}.history-name-link:hover{text-decoration:underline}.sms-history-workspace .history-sort-button{padding:0;background:transparent;color:inherit;min-height:28px;font-size:inherit;white-space:nowrap}.history-state{display:inline-flex;border-radius:20px;background:#edf1f5;color:#526575;padding:3px 9px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}.history-state-completed,.history-state-delivered,.history-state-accepted,.history-state-approved{background:#e9f6ef;color:#206647}.history-state-running,.history-state-queued,.history-state-testing{background:#eaf1fc;color:#285b93}.history-state-unknown,.history-state-submitting,.history-state-paused,.history-state-pending{background:#fff4d9;color:#89621e}.history-state-failed,.history-state-rejected,.history-state-partial{background:#fff0ed;color:#a14432}.history-attention-label{color:#a14432;font-size:11px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}.history-pagination label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-size:12px}.history-pagination select{width:70px;padding:5px 8px;font-size:12px}.history-pagination>div{display:flex;gap:8px}.history-empty{text-align:center;color:#64778b;padding:30px!important}.history-detail{scroll-margin-top:24px;border-color:#83b9a9;box-shadow:0 4px 20px #152a3d0a}.history-detail .eyebrow{font-size:10px;letter-spacing:1.5px}.history-detail #operation-detail-title{margin:4px 0 0}.history-detail #operation-detail-status{margin:12px 0}.history-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:14px 0;border-top:1px solid #e4ebf0;border-bottom:1px solid #e4ebf0}.history-metrics div{display:flex;flex-direction:column;gap:2px}.history-metrics strong{font-size:22px;font-weight:650}.history-metrics span{font-size:11px;color:#64778b}.history-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;margin:16px 0}.history-metadata dt{font-size:11px;color:#64778b}.history-metadata dd{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.history-warning{padding:10px 14px;border-radius:8px;background:#fff4d9;color:#89621e;font-size:13px}.history-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.history-detail-tabs{display:flex;gap:8px;border-bottom:1px solid #dce4ec;padding-bottom:8px;margin-top:20px}.history-detail-tabs button{background:#edf1f5;color:#536578}.history-detail-tabs button[aria-selected=true]{background:#217a66;color:white}.history-recipient-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:16px 0}.history-recipient-table{max-height:480px}.history-recipient-table table{min-width:900px}.history-recipient-table td{vertical-align:top;font-size:12px!important}.history-recipient-table td:nth-child(3){min-width:0!important;white-space:normal!important}.history-recipient-table td:nth-child(5){min-width:260px;max-width:400px}.history-message{white-space:pre-wrap;margin:0}.history-reference{display:block;overflow-wrap:anywhere;font-size:11px;color:#64778b;margin-top:8px}.history-recipient-table small{display:block}.history-table:focus-visible,.history-recipient-table:focus-visible{outline:2px solid #287f6d;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.history-filter-main{grid-template-columns:repeat(2,minmax(160px,1fr))}.history-filter-advanced{grid-template-columns:repeat(2,minmax(140px,1fr))}.history-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sms-history-workspace>section{padding:16px}.history-filter-main,.history-filter-advanced,.history-recipient-filters{grid-template-columns:1fr}.history-filter-secondary>label{flex:1 1 130px}.history-metrics{grid-template-columns:repeat(3,1fr)}.history-metadata{grid-template-columns:1fr}.history-pagination>span{order:3;width:100%}.history-detail-tabs button{flex:1}.history-detail-actions button{flex:1 1 auto}}.sms-history-workspace{grid-template-columns:minmax(0,1fr);min-width:0}.sms-history-workspace>section{min-width:0}
/* Zero-height anchor: synchronization never displaces the heading or client table. */
.sync-overlay-anchor{position:sticky;top:16px;height:0;z-index:25;pointer-events:none}.sync-overlay-anchor .sync-panel{position:absolute;top:0;left:0;width:100%;max-width:720px;margin:0;border:1px solid #c4ddd3;border-left:3px solid #70a48e;box-shadow:0 12px 34px #17283b29;background:#f1f8f5;pointer-events:auto}.sync-overlay-anchor .sync-panel[data-state=failed],.sync-overlay-anchor .sync-panel[data-state=cancelled]{border-left-color:#be964b;background:#fbf7ed}
/* SMS templates share the same data and actions in all three presentations. */
#template-library{min-width:0}#template-library>.wizard-heading{margin-top:0}#template-library>.wizard-heading h2{margin-bottom:6px}.template-library-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #e4ebf0}.template-search-control{flex:1 1 310px;max-width:520px}.template-search-control label{font-size:12px;margin:0 0 5px}.template-search-control>div{display:flex;gap:8px}.template-search-control input{padding:8px 10px;font-size:13px;min-width:0}.template-view-switch{display:flex;gap:4px;flex-wrap:wrap;border:1px solid #dce4ec;padding:4px;border-radius:10px;background:#f7f9fb}.template-view-switch button{display:flex;align-items:center;gap:6px;background:transparent;color:#536578;font-size:12px;padding:8px 10px;min-height:34px;white-space:nowrap}.template-view-switch button[aria-pressed=true]{background:#217a66;color:white;box-shadow:0 2px 5px #152a3d12}.template-view-switch svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.4;fill:none;flex-shrink:0}.template-list-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}.template-list-options>span{flex:1}.template-list-options label{flex-direction:row;align-items:center;margin:0;font-size:12px;gap:8px}.template-list-options select,.template-pagination select{width:auto;padding:6px 8px;font-size:12px}#template-library .secondary{font-size:12px;min-height:34px;padding:7px 10px}.template-table-wrap{max-height:650px;border:1px solid #e0e7ee;border-radius:9px}.template-table{min-width:780px;font-size:12px}.template-table th{position:sticky;top:0;z-index:1;background:#edf2f7;white-space:nowrap}.template-table th,.template-table td{padding:12px 10px}.template-table td{vertical-align:top}.template-table tbody tr:hover{background:#f8fbfa}.template-table td:first-child{width:17%;min-width:130px;overflow-wrap:anywhere}.template-table td:nth-child(2){width:35%;min-width:210px}.template-table td:nth-child(3){width:17%;min-width:120px}.template-table th button{background:transparent;color:inherit;padding:0;min-height:26px;font-size:inherit}.template-characters{text-align:right;font-variant-numeric:tabular-nums}.template-message-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;margin:0;overflow-wrap:anywhere;font-size:13px}.template-message-full{white-space:pre-wrap;margin:10px 0 0;overflow-wrap:anywhere;font-size:13px}.template-read-more{margin-top:7px;font-size:11px;color:#175e4e}.template-read-more summary{cursor:pointer;width:max-content}.template-read-more[open]{padding:8px;border-radius:7px;background:#f1f6f4}.template-read-more[open]>.template-message-full{color:#17283b}.template-fields{display:flex;flex-wrap:wrap;gap:5px}.template-field{background:#edf4f2;border:1px solid #d9e9e3;color:#286652;border-radius:5px;padding:2px 6px;font-size:11px;overflow-wrap:anywhere;max-width:100%}.template-author{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#526575}.template-author small{font-size:11px;color:#788898}.template-actions{display:flex;flex-wrap:wrap;gap:6px}.template-table .template-actions{min-width:86px}.template-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:16px}.template-card{border:1px solid #dce4ec;border-radius:12px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:14px;min-width:0}.template-card-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.template-card h3{font-size:16px;margin:0;overflow-wrap:anywhere;color:#17283b}.template-length{font-size:11px;white-space:nowrap;color:#788898}.template-card-grid .template-text{flex:1;padding:14px;border-radius:8px;background:#f6f9fc}.template-card-grid .template-message-preview{-webkit-line-clamp:5}.template-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #e4ebf0;margin-top:auto}.template-multiline-list{display:grid;gap:12px}.template-list-item{position:relative;padding:18px 20px;border-left:3px solid #94bcae}.template-list-item .template-message-full{margin:0;line-height:1.7}.template-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}.template-pagination label{margin:0;flex-direction:row;align-items:center;gap:8px;font-size:12px}.template-pagination>div{display:flex;gap:8px}.template-empty{padding:32px;text-align:center;background:#f7f9fb;border:1px dashed #cbd8e1;border-radius:10px}.template-personalization-note{margin-bottom:0;font-size:11px}.template-table-wrap:focus-visible{outline:2px solid #287f6d;outline-offset:3px}
@media(max-width:750px){.template-library-toolbar{align-items:stretch}.template-search-control{max-width:none}.template-view-switch{width:max-content;max-width:100%}.template-card-grid{grid-template-columns:1fr}.template-list-options>span{flex:1 0 100%}.template-pagination>span{order:3;width:100%}.template-card-heading{flex-wrap:wrap}.template-list-item{padding:16px}}
.template-text:has(.template-read-more[open])>.template-message-preview{display:none}
/* Campaign drafts and immutable send operations share the library presentations. */
#campaign-library{min-width:0}#campaign-library>.wizard-heading{margin-top:0}#campaign-library>.wizard-heading h2{margin-bottom:6px}#campaign-library .secondary{font-size:12px;min-height:34px;padding:7px 10px}.library-default{font-size:9px;border:1px solid currentColor;border-radius:10px;padding:1px 5px;opacity:.8;white-space:nowrap}.campaign-kind-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.campaign-kind-switch button{background:#edf1f5;color:#536578;font-size:13px;min-height:36px;padding:8px 12px}.campaign-kind-switch button[aria-pressed=true]{background:#217a66;color:white}.campaign-kind-switch #campaign-refresh{margin-left:auto}.campaign-card-metadata{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.campaign-card-metadata>.muted{font-size:11px}.campaign-operation-preview p{font-size:13px;margin:0 0 6px}.campaign-operation-preview small{display:block;margin-top:8px}.campaign-table td:nth-child(2){min-width:100px;width:auto}.campaign-table td:nth-child(3){min-width:230px;width:36%}.campaign-table td:first-child small{display:block;font-size:11px;margin-top:5px}.campaign-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}.campaign-table .template-actions{min-width:140px}#campaign-library-feedback{color:#a32626;font-size:13px}#campaigns[aria-busy=true]{opacity:.6}.template-view-switch{align-self:end}.template-list-options{row-gap:12px}
@media(max-width:750px){.library-default{font-size:8px}.campaign-kind-switch #campaign-refresh{margin-left:0}.template-view-switch button{white-space:normal}.template-view-switch{width:100%}}
#campaign-library .wizard-heading>div{flex:1;min-width:0}#campaign-library #new-campaign{white-space:nowrap;flex-shrink:0}#campaign-library .template-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(270px,100%),1fr))}
.client-presentation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 18px 14px}.client-presentation-toolbar .template-list-options{margin:0}.client-presentation-toolbar .template-view-switch{align-self:center}.client-presentation-toolbar button{font-size:12px;min-height:34px;padding:7px 10px}.client-cards{max-height:640px;overflow:auto;padding:14px 18px;border-top:1px solid #e4ebf0}.client-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:12px}.client-multiline-list{display:grid;gap:10px}.client-card{border:1px solid #dce5eb;border-radius:10px;padding:14px;background:#fff;cursor:pointer;min-width:0}.client-card:hover{border-color:#8fb5a7}.client-card.selected-row{background:#eef9f5;border-color:#83b7a5}.client-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.client-card-heading>div{min-width:0;flex:1}.client-card-heading .client-file-link{font-size:14px;font-weight:650;overflow-wrap:anywhere;text-align:left;white-space:normal}.client-card-heading small{display:block;font-size:11px}.client-card-check{flex-direction:row!important;align-items:center;gap:8px;margin:0!important;font-size:11px;flex-shrink:0}.client-card-check span{display:none}.client-card-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}.client-card-data dt{color:#788898;font-size:10px}.client-card-data dd{margin:2px 0 0;font-size:12px;overflow-wrap:anywhere}.client-list-item .client-card-data{grid-template-columns:repeat(4,minmax(0,1fr))}.client-card-eligibility{display:inline-flex;max-width:100%;font-size:11px;border-radius:20px;padding:3px 8px;background:#edf1f5;color:#64778b}.client-card-eligibility.eligible{background:#e6f5eb;color:#23664e}.client-card-eligibility.excluded{background:#fff4df;color:#87642b}.client-card:focus-within{outline:2px solid #287f6d;outline-offset:1px}@media(max-width:750px){.client-presentation-toolbar{padding:0 14px 12px}.client-cards{padding:12px 14px}.client-list-item .client-card-data{grid-template-columns:repeat(2,minmax(0,1fr))}.client-presentation-toolbar .template-view-switch{width:100%}}

.table-sort-button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;padding:0;font:inherit;font-weight:600;text-align:inherit;cursor:pointer;}
.table-sort-button:hover{color:var(--primary,#1c7c68);text-decoration:underline;}
.table-sort-button:focus-visible{outline:2px solid #217d6b;outline-offset:5px;border-radius:3px;}
.table-sort-button .sort-indicator{white-space:nowrap;color:#688477;}


#module-navigation .nav-section{margin:0;padding:0;border:0;background:transparent;box-shadow:none;min-width:0}
#module-navigation .nav-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:14px;font-weight:650;color:#c7d4df;background:transparent}
#module-navigation .nav-section-chevron{font-size:24px;line-height:1;transition:transform .15s}#module-navigation .nav-group-toggle[aria-expanded=true] .nav-section-chevron{transform:rotate(90deg)}
#module-navigation .nav-section>[role=group]{padding-left:8px;border-left:1px solid #3c5367;margin-left:10px}
.menu-preferences{padding:12px 0;border-top:1px solid #496174;margin-top:12px;min-width:0}.menu-preferences p{font-size:14px;line-height:1.5;color:#c7d4df;overflow-wrap:anywhere;margin:0 0 8px}.menu-preferences p:empty{display:none}.menu-preferences button{display:block;width:100%;min-height:44px;margin-top:6px;white-space:normal;text-align:left;font-size:14px;padding:8px}
