.ecrm{--nav:#102039;--accent:#087fc0;--text:#172c46;--muted:#65768b;--line:#e1e7ef;display:flex;min-height:780px;background:#f4f7fb;color:var(--text);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:14px;overflow:hidden;margin:20px 16px 20px 0;box-shadow:0 6px 30px #142e4710}.ecrm *{box-sizing:border-box}.ecrm .ec-side{width:218px;flex-shrink:0;background:var(--nav);padding:28px 16px;display:flex;flex-direction:column;color:#fff}.ecrm .ec-brand{font-size:21px;font-weight:800;letter-spacing:.7px;margin-bottom:42px}.ecrm .ec-brand span{color:#42c7f4;font-size:30px}.ecrm .ec-brand small{display:block;font-size:10px;letter-spacing:2px;color:#8ca7c7;margin-left:28px}.ecrm nav{display:grid;gap:8px}.ecrm button,.ecrm .ec-button{font:inherit;border:1px solid var(--line);background:white;color:var(--text);border-radius:8px;padding:10px 16px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s}.ecrm button:hover,.ecrm .ec-button:hover{background:#edf5fc}.ecrm button:disabled{opacity:.45;cursor:wait}.ecrm nav button{background:transparent;border:0;color:#b8cae0;justify-content:flex-start;text-align:left;padding:13px 16px}.ecrm nav button.active{background:#213752;color:#60d0f3;font-weight:700}.ecrm .ec-side-note{margin-top:auto;padding-top:30px;color:#9fb4cd;font-size:12px}.ecrm .ec-side-note small{display:block;margin-top:16px}.ecrm .ec-main{padding:32px;width:calc(100% - 218px);min-width:0}.ecrm header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.ecrm h1{font-size:29px;line-height:1.2;margin:4px 0 10px;font-weight:750;letter-spacing:-.6px}.ecrm h3{font-size:17px;margin:24px 0 14px}.ecrm h3:first-child{margin-top:0}.ecrm p{margin:8px 0;color:var(--muted)}.ecrm .eyebrow{letter-spacing:2px;font-size:10px;font-weight:650}.ecrm .primary{background:var(--accent);border-color:var(--accent);color:white;font-weight:650}.ecrm .primary:hover{background:#056da5;color:white}.ecrm .text{background:none;border:0;color:var(--accent);padding:0;margin-bottom:12px}.ecrm .ec-card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.ecrm .ec-toolbar{display:flex;gap:10px;margin-bottom:20px}.ecrm input,.ecrm select,.ecrm textarea{display:block;width:100%;max-width:none;font:inherit;color:var(--text);background:#fff;border:1px solid #cad5e2;border-radius:7px;padding:10px 12px;min-height:42px;box-shadow:none;margin:7px 0 0}.ecrm input:focus,.ecrm select:focus,.ecrm textarea:focus{outline:2px solid #3db1e340;outline-offset:1px;border-color:var(--accent)}.ecrm .ec-toolbar input{margin:0;max-width:450px}.ecrm .ec-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.ecrm label{display:block;font-weight:600;font-size:12px}.ecrm .wide{grid-column:1/-1}.ecrm .ec-stage{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:center}.ecrm small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.ecrm .ec-tabs{display:flex;gap:4px;overflow:auto;margin:24px 0 16px;border-bottom:1px solid var(--line)}.ecrm .ec-tabs button{white-space:nowrap;border:0;background:transparent;border-radius:0;padding:13px 12px;border-bottom:3px solid transparent;font-size:12px}.ecrm .ec-tabs button.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:700}.ecrm .ec-actions{display:flex;gap:10px;flex-wrap:wrap}.ecrm .ec-bottom{display:flex;gap:20px;align-items:center;margin:20px 0;color:var(--muted);font-size:12px}.ecrm .ec-info{border-radius:8px;padding:14px 16px;background:#edf6fc;border:1px solid #d2eafa;color:#335b75;font-size:12px;margin-bottom:24px}.ecrm .table-scroll{overflow:auto}.ecrm table{border-collapse:collapse;width:100%;font-size:13px}.ecrm th{text-align:left;font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line)}.ecrm td{padding:18px 12px;border-bottom:1px solid #edf0f4}.ecrm tr[data-record]{cursor:pointer}.ecrm tr[data-record]:hover{background:#f5faff}.ecrm .badge{font-size:11px;padding:4px 9px;border-radius:20px;background:#e7f2fb;color:#286288;white-space:nowrap}.ecrm .ec-pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:20px}.ecrm .ec-pagination button{padding:7px 12px}.ecrm .ec-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ecrm .ec-upload{display:flex;gap:12px;align-items:center}.ecrm .ec-upload input,.ecrm .ec-upload select{margin:0;flex:1;min-width:0}.ecrm .ec-docs>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.ecrm a{color:var(--accent);word-break:break-word}.ecrm .ec-history p{border-bottom:1px solid var(--line);padding:10px 0;color:var(--text)}.ecrm iframe{width:100%;height:750px;border:1px solid var(--line);margin-top:20px;border-radius:8px}.ecrm .notice{padding:14px 18px;border-radius:8px;margin:0 0 20px;border:1px solid #b6decf;background:#effaf5;color:#1d6446}.ecrm .notice.error{background:#fff3f1;color:#943c2d;border-color:#f2c9c2}.ecrm .notice[hidden]{display:none}.ecrm .ecrm-loading{padding:40px}.ecrm input[type=file]{padding:7px;font-size:12px}@media(max-width:1100px){.ecrm .ec-main{padding:22px}.ecrm header{align-items:flex-start}.ecrm .ec-stage{grid-template-columns:1fr 1fr}.ecrm .ec-stage>div{grid-column:1/-1}.ecrm .ec-side{width:175px}.ecrm .ec-main{width:calc(100% - 175px)}.ecrm .ec-brand{font-size:16px}}@media(max-width:760px){.ecrm{display:block;margin:12px 0;min-height:600px}.ecrm .ec-side{width:100%;padding:16px}.ecrm .ec-brand{margin:0 0 10px}.ecrm nav{display:flex;gap:4px;overflow:auto}.ecrm nav button{padding:8px 12px}.ecrm .ec-side-note{display:none}.ecrm .ec-main{width:100%;padding:18px}.ecrm header{display:block}.ecrm header>.ec-actions,.ecrm header>button{margin-top:16px}.ecrm .ec-fields,.ecrm .ec-checklist,.ecrm .ec-stage{grid-template-columns:1fr}.ecrm .ec-card{padding:18px}.ecrm .ec-upload,.ecrm .ec-bottom{flex-direction:column;align-items:stretch}.ecrm h1{font-size:25px}.ecrm iframe{height:550px}}

/* Encharge Matrix interface refresh: scoped to this plugin. */
.ecrm{--nav:#101e36;--accent:#0784bb;--text:#202b3a;--muted:#748091;--line:#e7ebf0;background:#f6f7f9;font-size:13px;border-radius:12px;box-shadow:none;min-height:850px}
.ecrm .ec-side{width:232px;padding:28px 14px}.ecrm .ec-main{width:calc(100% - 232px);padding:30px}.ecrm .ec-brand{font-size:20px;margin:0 8px 35px}.ecrm nav{gap:5px}.ecrm nav button{padding:11px 13px;gap:12px;border-radius:7px;font-weight:500;position:relative}.ecrm nav button.active{color:#6dd7fa;background:#21334c}.ecrm nav button.active:before{content:"";position:absolute;left:0;height:20px;width:3px;border-radius:2px;background:#55c9ee}.ecrm .ec-icon{width:17px;height:17px;flex-shrink:0}.ecrm .ec-side-note{line-height:1.8;font-size:11px}.ecrm header{margin-bottom:22px}.ecrm h1{font-size:30px;margin-bottom:7px}.ecrm header .eyebrow{font-size:9px;margin:0 0 7px;letter-spacing:1.8px}.ecrm button,.ecrm .ec-button{padding:8px 13px;font-size:12px;border-radius:7px;min-height:36px}.ecrm button:focus-visible,.ecrm a:focus-visible{outline:3px solid #48b8e0;outline-offset:3px}.ecrm .ec-card{border:1px solid var(--line);padding:20px;border-radius:12px;box-shadow:0 2px 2px #15213a03;margin-bottom:18px}.ecrm .ec-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.ecrm .ec-metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 16px;display:flex;gap:12px;align-items:center}.ecrm .ec-metric strong{font-size:26px;line-height:1.1;display:block;letter-spacing:-.7px}.ecrm .ec-metric small{font-size:11px;margin-top:6px}.ecrm .ec-metric-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#e3f4fc;color:#087eaf;border-radius:10px}.ecrm .ec-metric:nth-child(2) .ec-metric-icon{background:#e8e6fc;color:#8867bf}.ecrm .ec-metric:nth-child(3) .ec-metric-icon{background:#e4f6eb;color:#299167}.ecrm .ec-metric:nth-child(4) .ec-metric-icon{background:#fff1d8;color:#b68b35}.ecrm .ec-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.ecrm .ec-section-head h3{margin:0;font-size:15px}.ecrm .ec-section-head small{margin:0}.ecrm .ec-pipeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.ecrm .ec-pipeline button{display:flex;align-items:flex-start;flex-direction:column;border:1px solid transparent;background:#f7f9fb;padding:16px;gap:5px}.ecrm .ec-pipeline button:hover{background:#e9f6fc;border-color:#99d3eb}.ecrm .ec-pipeline strong{font-size:27px;color:var(--text)}.ecrm .ec-bar{display:block;width:100%;height:4px;border-radius:4px;background:#e3e9f0;margin-top:9px;overflow:hidden}.ecrm .ec-bar i{display:block;height:100%;background:var(--accent)}.ecrm .ec-filterbar{margin-bottom:18px}.ecrm .ec-search-wrap{display:flex;gap:8px;max-width:540px;margin-bottom:15px}.ecrm .ec-search-wrap input{margin:0;min-height:38px}.ecrm .ec-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.ecrm .ec-filters label{min-width:150px;font-size:10px;letter-spacing:.2px;color:var(--muted)}.ecrm .ec-filters select{min-height:36px;font-size:12px;margin-top:4px;padding:7px 30px 7px 10px}.ecrm #ec-list{padding:8px 18px 15px}.ecrm th{font-size:9px;padding:14px 10px;font-weight:500;letter-spacing:.7px;white-space:nowrap}.ecrm td{padding:14px 10px;font-size:12px}.ecrm .ec-person{display:flex;align-items:center;gap:10px}.ecrm .ec-avatar{width:33px;height:33px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#def1fc;color:#2980ac;font-size:11px;border-radius:50%;font-weight:650}.ecrm tr:nth-child(3n+2) .ec-avatar{background:#e7e3fc;color:#8561ab}.ecrm tr:nth-child(3n) .ec-avatar{background:#def4e9;color:#418f76}.ecrm button.ec-record-link{border:0;background:none;padding:0;min-height:24px;text-align:left;display:block;font-weight:650;font-size:12px;color:var(--text)}.ecrm button.ec-record-link:hover{color:var(--accent);text-decoration:underline}.ecrm td small{font-size:10px;margin-top:2px;max-width:230px;overflow-wrap:anywhere}.ecrm .ec-price{font-weight:600;white-space:nowrap}.ecrm .ec-date{font-size:10px;color:var(--muted);min-width:130px}.ecrm .badge{padding:3px 8px;font-size:10px;font-weight:550;background:#e3f1fd;color:#3673a4}.ecrm .tone-1{background:#f0e8fc;color:#8055ad}.ecrm .tone-2{background:#dcf3e9;color:#247d5c}.ecrm .tone-3{background:#fff0d5;color:#966d20}.ecrm .tone-4{background:#dff3f7;color:#287f8c}.ecrm .ec-type{color:#637082;font-size:11px;white-space:nowrap}.ecrm .ec-empty{padding:40px 15px;text-align:center;color:var(--muted)}.ecrm .ec-pagination{font-size:11px;gap:10px;flex-wrap:wrap}.ecrm .ec-pagination>span:first-child{margin-right:auto}.ecrm .ec-record-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:10px;padding:17px 20px;margin-bottom:18px;gap:20px}.ecrm .ec-record-summary small{margin:0 0 8px;text-transform:uppercase;font-size:9px;letter-spacing:1px}.ecrm .ec-record-summary strong{font-size:12px;overflow-wrap:anywhere}.ecrm .ec-tabs{margin:15px 0 18px;gap:14px}.ecrm .ec-tabs button{font-size:12px;padding:12px 5px;border-bottom-width:2px}.ecrm .ec-stage{padding:17px 20px;gap:18px}.ecrm .ec-fields{gap:20px 26px}.ecrm .ec-money-input{position:relative}.ecrm .ec-money-input>span{position:absolute;left:12px;top:11px;color:var(--muted);font-size:14px;pointer-events:none}.ecrm .ec-money-input input{padding-left:29px}.ecrm .ec-money-preview{font-size:11px;color:var(--accent)}.ecrm #ec-save-state{font-size:11px;color:var(--muted);align-self:center}.ecrm .ec-info{font-size:11px}.ecrm .notice{position:relative}.ecrm .ec-main>header .ec-actions{align-items:center}
@media(min-width:1101px){.ecrm{min-height:calc(100vh - 60px)}}
@media(max-width:1100px){.ecrm .ec-side{width:190px}.ecrm .ec-main{width:calc(100% - 190px);padding:22px}.ecrm .ec-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ecrm .ec-record-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ecrm{min-height:600px}.ecrm .ec-side{width:100%;padding:15px}.ecrm .ec-main{width:100%;padding:16px}.ecrm .ec-brand{margin:0 0 12px}.ecrm nav button{padding:9px 10px;white-space:nowrap}.ecrm nav .ec-icon{display:none}.ecrm .ec-side-note{display:none}.ecrm .ec-metrics{gap:8px}.ecrm .ec-metric{padding:14px 10px;gap:8px}.ecrm .ec-metric-icon{width:30px;height:30px}.ecrm .ec-metric strong{font-size:23px}.ecrm .ec-record-summary{gap:14px;padding:15px}.ecrm .ec-filters label{flex:1;min-width:130px}.ecrm .ec-fields{grid-template-columns:1fr}.ecrm .ec-card{padding:16px}.ecrm .ec-section-head{gap:10px}.ecrm .ec-tabs{gap:10px}.ecrm .ec-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.ecrm .ec-pagination>span:first-child{width:100%}}

.ecrm .ec-money-input input{padding-left:12px}

/* Reference layout with Encharge navy branding. */
.ecrm{--accent:#173b66;--nav:#102039;--muted:#737e8c;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.ecrm .primary{background:#173b66;border-color:#173b66}.ecrm .primary:hover{background:#102b4d}.ecrm .ec-side{width:255px;min-height:100%}.ecrm .ec-main{width:calc(100% - 255px);padding:25px 34px}.ecrm .ec-brand{height:44px;display:flex;align-items:center;justify-content:space-between;margin:0 4px 23px}.ecrm .ec-brand img{width:177px;height:auto;max-height:42px;object-fit:contain}.ecrm .ec-brand button{background:transparent;color:#9cabc1;border:0;padding:4px;min-height:25px;font-size:20px}.ecrm .ec-side-new{width:100%;margin:0 0 12px;min-height:39px;background:#214d7b;border-color:#315f8d}.ecrm .ec-nav-label{font-size:9px;letter-spacing:1.6px;margin:0 10px 7px;color:#8b9aae}.ecrm nav{gap:2px}.ecrm nav button{padding:9px 11px;font-size:13px;font-weight:450}.ecrm .ec-side-note strong{color:#d6dfeb;font-size:11px}.ecrm .ec-user-avatar{display:inline-flex;align-items:center;justify-content:center;border:1px solid #38516c;width:28px;height:28px;border-radius:50%;margin-right:8px;color:#d9e6f5}.ecrm .ec-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-bottom:25px}.ecrm .ec-metric{padding:22px 14px;min-height:106px;gap:11px}.ecrm .ec-metric strong{font-size:27px}.ecrm .ec-metric-icon{flex-shrink:0}.ecrm .ec-metric:nth-child(5) .ec-metric-icon{background:#ddf5f6;color:#29929a}.ecrm .ec-metric:nth-child(6) .ec-metric-icon{background:#ddf2e7;color:#397b63}.ecrm header{align-items:center}.ecrm header p:not(.eyebrow){font-size:12px}.ecrm header .ec-actions{flex-wrap:nowrap;gap:9px}.ecrm #ec-header-search .ec-search-wrap{margin:0;max-width:235px}.ecrm #ec-header-search .ec-search-wrap button{display:none}.ecrm #ec-header-search input{font-size:11px;min-width:160px}.ecrm .ec-filterbar{margin-bottom:16px}.ecrm .ec-view-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ecrm .ec-view-switch{margin-left:auto;display:flex;gap:5px}.ecrm .ec-view-switch button{padding:6px 10px;font-size:16px}.ecrm .ec-view-switch button[aria-pressed=true]{color:var(--accent);border-color:#9cbbd6;background:#e8f0f8}.ecrm .ec-popover{position:relative}.ecrm .ec-popover summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:8px 13px;background:white;font-size:12px;color:var(--accent);min-height:36px}.ecrm .ec-popover>div{position:absolute;top:42px;left:0;z-index:5;width:205px;background:#fff;border:1px solid var(--line);box-shadow:0 7px 25px #10203922;border-radius:8px;padding:12px}.ecrm .ec-popover label{display:flex;align-items:center;gap:8px;padding:6px;font-size:12px;font-weight:400}.ecrm .ec-popover input{width:14px;height:14px;min-height:0;margin:0;accent-color:var(--accent)}.ecrm .ec-sort-label{display:flex;gap:7px;align-items:center;font-weight:400;font-size:12px;background:white;border:1px solid var(--line);border-radius:7px;padding:0 9px}.ecrm .ec-sort-label select{border:0;background:none;font-size:11px;min-height:34px;padding:5px 23px 5px 0;margin:0;width:auto}.ecrm .ec-filters{padding:14px;background:#eef2f7;border-radius:8px;margin-top:10px}.ecrm [hidden]{display:none!important}.ecrm #ec-list{padding:9px 20px 15px}.ecrm td{padding:13px 10px;font-size:12px}.ecrm .ec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px 0}.ecrm .ec-grid-card{border:1px solid var(--line);border-radius:9px;padding:18px}.ecrm .ec-grid-card .ec-record-link{font-size:14px;margin-top:14px}.ecrm .ec-grid-card p{font-size:11px;overflow-wrap:anywhere}.ecrm .ec-grid-card>strong{display:block;font-size:18px;margin:13px 0}.ecrm .ec-collapsed{}.ecrm.ec-collapsed .ec-side{width:80px}.ecrm.ec-collapsed .ec-brand img,.ecrm.ec-collapsed .ec-side-note,.ecrm.ec-collapsed .ec-nav-label,.ecrm.ec-collapsed .ec-side-new{display:none}.ecrm.ec-collapsed .ec-main{width:calc(100% - 80px)}.ecrm.ec-collapsed nav button{font-size:0;justify-content:center}.ecrm.ec-collapsed .ec-brand{justify-content:center}.ecrm .ec-record-summary{border-radius:0;background:transparent;border-left:0;border-right:0;padding:17px 0}.ecrm .ec-record-summary>div{padding:0 15px;border-right:1px solid var(--line)}.ecrm .ec-record-summary>div:first-child{padding-left:0}.ecrm .ec-record-summary>div:last-child{border:0}.ecrm .ec-tabs{background:transparent}.ecrm .ec-tabs button.active{color:#173b66;border-bottom-color:#173b66}
@media(max-width:1250px){.ecrm .ec-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ecrm .ec-main{padding:22px}.ecrm .ec-side{width:210px}.ecrm .ec-main{width:calc(100% - 210px)}.ecrm .ec-brand img{width:150px}.ecrm header .ec-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:900px){.ecrm .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecrm header{align-items:flex-start}.ecrm #ec-header-search{width:100%}.ecrm .ec-side{width:185px}.ecrm .ec-main{width:calc(100% - 185px)}.ecrm .ec-brand img{width:130px}.ecrm .ec-metric{padding:16px 10px}.ecrm .ec-metric-icon{display:none}}
@media(max-width:760px){.ecrm .ec-side,.ecrm.ec-collapsed .ec-side{width:100%;min-height:0}.ecrm .ec-main,.ecrm.ec-collapsed .ec-main{width:100%;padding:16px}.ecrm .ec-brand{margin:0 0 12px;max-width:240px;height:32px}.ecrm .ec-brand img{width:165px}.ecrm .ec-brand button,.ecrm .ec-side-new,.ecrm .ec-nav-label{display:none}.ecrm .ec-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ecrm .ec-metric-icon{display:flex}.ecrm .ec-metric{min-height:83px}.ecrm .ec-grid{grid-template-columns:1fr}.ecrm header .ec-actions{justify-content:flex-start}.ecrm #ec-header-search{order:3}.ecrm #ec-header-search .ec-search-wrap{max-width:none}.ecrm .ec-view-tools{gap:7px}.ecrm .ec-sort-label{max-width:100%}.ecrm .ec-record-summary>div{padding-left:0;border:0}.ecrm .ec-view-switch{margin-left:0}.ecrm.ec-collapsed nav button{font-size:13px}}

.ecrm .ec-brand img{filter:brightness(0) invert(1)}.ecrm.ec-record-open .ec-side{display:none}.ecrm.ec-record-open .ec-main{width:100%;padding:24px}.ecrm.ec-record-open .ec-main>header{padding-bottom:14px;margin-bottom:0}.ecrm.ec-record-open .ec-main>header h1{font-size:27px}

/* 0.3.1: retain left navigation at narrow widths instead of a top menu. */
.ecrm .ec-mobile-bar,.ecrm .ec-drawer-shade{display:none}
@media(max-width:760px){
 .ecrm .ec-mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;background:#102039;padding:14px 18px;color:white}
 .ecrm .ec-mobile-bar img{display:block;width:165px;height:auto;max-height:38px;object-fit:contain;filter:brightness(0) invert(1)}
 .ecrm .ec-mobile-bar button{color:#fff;background:#213752;border:1px solid #405775;font-size:16px;min-height:40px;padding:7px 12px}
 .ecrm .ec-mobile-bar button span{font-size:12px}
 .ecrm .ec-side,.ecrm.ec-collapsed .ec-side,.ecrm.ec-record-open .ec-side{display:flex;position:fixed;left:0;top:0;bottom:0;width:280px;max-width:86vw;height:100dvh;min-height:0;padding:26px 16px 20px;z-index:100002;overflow-y:auto;visibility:hidden;transform:translateX(-105%);transition:transform .18s ease,visibility .18s;box-shadow:8px 0 35px #0003}
 .ecrm.ec-drawer-open .ec-side{visibility:visible;transform:translateX(0)}
 .ecrm.ec-drawer-open .ec-drawer-shade{display:block;position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#101b3280;z-index:100001;cursor:pointer}
 .ecrm .ec-side .ec-brand{display:flex;max-width:none;align-items:center;width:100%;margin:0 0 25px;height:auto;min-height:40px}
 .ecrm .ec-side .ec-brand img,.ecrm.ec-collapsed .ec-side .ec-brand img{display:block;width:180px;max-width:80%;height:auto}
 .ecrm .ec-side .ec-brand button{display:block;font-size:25px;min-height:38px;min-width:35px;color:#c7d4e7}
 .ecrm .ec-side-new,.ecrm .ec-nav-label,.ecrm .ec-side-note{display:block}
 .ecrm nav{display:grid;gap:4px;overflow:visible;width:100%}
 .ecrm nav button,.ecrm.ec-collapsed nav button{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;font-size:14px;padding:12px 13px;white-space:normal}
 .ecrm nav .ec-icon{display:block;width:18px;height:18px}
 .ecrm .ec-side-note{margin-top:auto;padding-top:30px}
 .ecrm .ec-main,.ecrm.ec-collapsed .ec-main,.ecrm.ec-record-open .ec-main{width:100%;padding:18px}
}
@media(prefers-reduced-motion:reduce){.ecrm .ec-side{transition:none}}

/* Proposal builder */
.ecrm .pb-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.ecrm .pb-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ecrm .pb-pair .ec-card{margin-bottom:20px}.ecrm .pb-card{padding:24px}.ecrm .pb-card h3{display:flex;gap:12px;align-items:center;font-size:17px;margin:0 0 20px}.ecrm .pb-card h3:not(:first-child){margin-top:22px}.ecrm .pb-step{display:inline-flex;align-items:center;justify-content:center;background:#e5edf7;color:#214d7b;border-radius:9px;min-width:30px;height:30px;font-size:15px}.ecrm .pb-card .ec-fields{gap:18px}.ecrm .pb-results{position:sticky;top:20px;padding:26px}.ecrm .pb-results>.eyebrow{text-align:center;color:#214d7b}.ecrm .pb-hero{text-align:center;font-size:46px;font-weight:750;color:#173b66;margin:8px 0 28px;letter-spacing:-2px}.ecrm .pb-result-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:12px}.ecrm .pb-result-row>span{color:#67758b}.ecrm .pb-result-row strong{text-align:right;overflow-wrap:anywhere}.ecrm .pb-net{background:#edf3fa;border-radius:8px;padding:15px 10px;margin-top:10px;font-size:14px}.ecrm .pb-net strong{font-size:20px;color:#173b66;white-space:nowrap}.ecrm .pb-actions{display:grid;gap:9px;margin:20px 0}.ecrm .pb-actions button{width:100%;min-height:42px}.ecrm .pb-warning{font-size:11px;background:#fff6e3;border:1px solid #f1ddb0;padding:12px;border-radius:8px;color:#785b24}.ecrm .pb-check{display:flex;align-items:flex-start;gap:9px;font-weight:400;font-size:11px}.ecrm .pb-check input{width:16px;min-height:16px;height:16px;margin:2px 0 0;flex-shrink:0;accent-color:#173b66}.ecrm .pb-extra{display:grid;grid-template-columns:1fr 1fr 35px;gap:10px;align-items:end;margin:12px 0}.ecrm .pb-extra button{padding:8px;font-size:20px}.ecrm .pb-assumptions{font-size:11px;line-height:1.7}.ecrm .pb-assumptions details{margin-top:15px}.ecrm .pb-assumptions summary{cursor:pointer;font-weight:650}.ecrm.ec-record-open .pb-layout{max-width:1500px;margin:auto}.ecrm #pb-preview{clear:both;margin-top:25px}
@media(max-width:1250px){.ecrm .pb-layout{grid-template-columns:minmax(0,1fr)}.ecrm .pb-layout>aside{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;align-items:start}.ecrm .pb-results{position:static}}
@media(max-width:760px){.ecrm .pb-pair,.ecrm .pb-layout>aside{display:block}.ecrm .pb-card{padding:18px}.ecrm .pb-card .ec-fields{grid-template-columns:1fr}.ecrm .pb-hero{font-size:40px}.ecrm .pb-layout{gap:0}.ecrm .pb-extra{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;gap:7px}}


.ecrm .ar-toolbar{margin:18px 0}.ecrm .ar-frame{width:100%;height:75vh;min-height:550px;margin-top:16px;background:white}.ecrm .ar-confirm{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:20px 0}.ecrm .ar-confirm input{width:16px;height:16px;min-height:16px;flex-shrink:0;margin:3px 0 0;accent-color:#173b66}
