/* Customer Workspace RC8 split-pane layout */
.customer-workspace-shell{display:grid;grid-template-columns:minmax(230px,285px) minmax(0,1fr);gap:0;min-height:calc(100vh - 150px);margin:0 -10px;background:#f5f7fa;border:1px solid #dce5ed;border-radius:14px;overflow:hidden;color:#172f43}
.customer-workspace-directory{display:flex;flex-direction:column;min-width:0;background:#fff;border-right:1px solid #dce5ed}
.customer-directory-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 15px;border-bottom:1px solid #e4eaf0}
.customer-directory-head h1{margin:3px 0 0;font-size:17px;color:#17364d}
.customer-directory-add{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#19ae78;color:#fff;text-decoration:none;font-size:26px;line-height:1}
.customer-directory-search{display:flex;gap:6px;padding:12px;border-bottom:1px solid #e4eaf0}
.customer-directory-search label{flex:1;min-width:0}
.customer-directory-search input{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d7e1e9;border-radius:7px;background:#fff;color:#17364d}
.customer-directory-search button{padding:0 10px;border:1px solid #d7e1e9;border-radius:7px;background:#f2f6f9;color:#244a65;font-weight:700}
.customer-directory-list{overflow:auto;max-height:calc(100vh - 285px)}
.customer-directory-item{display:flex;align-items:center;gap:11px;min-height:70px;padding:11px 13px;border-bottom:1px solid #e6ebf0;color:#17364d;text-decoration:none;transition:background .15s ease}
.customer-directory-item:hover{background:#f5f9fc}
.customer-directory-item.selected{background:#eef1fa;border-left:3px solid #087bd3;padding-left:10px}
.customer-directory-avatar,.customer-workspace-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#eaf0f7;color:#55738e;font-weight:750}
.customer-directory-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.customer-directory-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.customer-directory-copy small{color:#718396;font-size:12px}
.customer-directory-arrow{color:#8aa0b2;font-size:22px}
.customer-directory-empty{padding:18px;color:#718396;font-size:13px}
.customer-workspace-detail{min-width:0;background:#f7f8fb}
.customer-detail-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 18px;padding:17px 22px 14px;background:#fff;border-bottom:1px solid #e0e6ec}
.customer-detail-title{display:flex;flex:1 1 330px;align-items:center;gap:13px;min-width:0}
.customer-detail-title .customer-workspace-avatar{width:46px;height:46px;flex-basis:46px;background:#0f4b75;color:#fff;font-size:18px}
.customer-detail-title h1{margin:2px 0 3px;color:#102d43;font-size:clamp(20px,2.5vw,27px);line-height:1.2}
.customer-detail-title p{margin:0;color:#718396;font-size:13px}
.customer-detail-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}
.customer-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 13px;border:1px solid transparent;border-radius:7px;font:inherit;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.customer-button-light{border-color:#d7e1e9;background:#fff;color:#1d3950}
.customer-button-light:hover{background:#f1f6f9}
.customer-button-primary{background:#18ae78;color:#fff}
.customer-button-primary:hover{background:#109165;color:#fff}
.customer-detail-tabs{display:flex;gap:24px;padding:0 22px;background:#fff;border-bottom:1px solid #e0e6ec}
.customer-detail-tabs a{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:43px;color:#64788a;font-size:13px;text-decoration:none}
.customer-detail-tabs a.active{color:#17364d;font-weight:750}
.customer-detail-tabs a.active:after{position:absolute;right:0;bottom:-1px;left:0;height:3px;background:#1685df;border-radius:3px 3px 0 0;content:""}
.customer-detail-tabs a span{padding:1px 6px;border-radius:10px;background:#edf3f8;font-size:11px}
.customer-overview-grid{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:20px;padding:18px}
.customer-profile-column{min-width:0}
.customer-profile-card,.customer-receivables,.customer-transactions-block{border:1px solid #e0e6ec;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(18,49,72,.04)}
.customer-profile-card{padding:15px}
.customer-profile-card>header{display:flex;align-items:center;gap:12px;margin:-2px -2px 18px;padding:12px;border:1px solid #edf0f4;border-radius:12px;background:#f6f7fb}
.customer-profile-initial{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:9px;background:#e6ebf3;color:#57718a}
.customer-profile-card>header div{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:13px}
.customer-profile-card>header a,.customer-profile-card>header small{overflow-wrap:anywhere;color:#52708a;text-decoration:none}
.customer-profile-card section{margin-top:18px}
.customer-profile-card section h2{margin:0;padding:0 0 9px;border-bottom:1px solid #e3e9ef;color:#2c455b;font-size:12px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.customer-profile-card dl{display:grid;gap:11px;margin:12px 0 0}
.customer-profile-card dl div{display:grid;grid-template-columns:minmax(90px,.85fr) minmax(0,1fr);gap:8px;font-size:12px}
.customer-profile-card dt{color:#75879a}
.customer-profile-card dd{margin:0;color:#253d52;overflow-wrap:anywhere}
.customer-overview-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.customer-receivables{padding:16px 18px}
.customer-receivables header{margin-bottom:13px}
.customer-receivables h2,.customer-activity-heading h2,.customer-transactions-block h2{margin:0;color:#203a50;font-size:17px}
.customer-receivables header p{margin:5px 0 0;color:#718396;font-size:12px}
.customer-receivables-head,.customer-receivables-row{display:grid;grid-template-columns:minmax(130px,1.2fr) minmax(110px,1fr) minmax(110px,1fr);gap:10px;padding:10px 12px;border-bottom:1px solid #e2e8ee;font-size:12px}
.customer-receivables-head{background:#f7f8fa;color:#627991;font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.customer-receivables-row:last-child{border-bottom:0}
.customer-receivables-row span{text-align:right;color:#253d52}
.customer-receivables-row b{font-weight:650;color:#253d52}
.customer-activity-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}
.customer-activity-heading h2{margin-top:4px}
.customer-activity-heading>a{color:#0875c9;font-size:12px;text-decoration:none;white-space:nowrap}
.customer-activity-list{position:relative;display:flex;flex-direction:column;gap:11px;padding:5px 0 5px 100px}
.customer-activity-list:before{position:absolute;top:0;bottom:0;left:82px;width:1px;background:#1685df;content:""}
.customer-activity-item{position:relative;display:flex;align-items:flex-start;min-height:76px;padding:13px 15px;border:1px solid #e2e7ed;border-radius:9px;background:#fff}
.customer-activity-item time{position:absolute;top:15px;left:-100px;width:72px;color:#526b80;font-size:11px;text-align:right}
.customer-activity-marker{position:absolute;top:13px;left:-25px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #1685df;border-radius:50%;background:#f7f8fb;color:#1685df;font-size:11px;font-weight:800}
.customer-activity-marker.payment{border-color:#1ca978;color:#1ca978}
.customer-activity-item div{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px}
.customer-activity-item div a{color:#637c93;text-decoration:none;overflow-wrap:anywhere}
.customer-activity-item div a:hover{text-decoration:underline}
.customer-transactions-block{margin:18px;padding:18px;overflow:hidden}
.customer-transactions-block>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.customer-transactions-block>header>span{color:#718396;font-size:12px}
.customer-transactions-block h3{margin:18px 0 9px;color:#2a465c;font-size:14px}
.customer-workspace-table-wrap{width:100%;overflow:auto}
.customer-workspace-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}
.customer-workspace-table-wrap th,.customer-workspace-table-wrap td{padding:10px 9px;border-bottom:1px solid #e4eaf0;text-align:left;white-space:nowrap}
.customer-workspace-table-wrap th{background:#f7f8fa;color:#627991;font-size:10px;text-transform:uppercase}
.customer-workspace-table-wrap a{color:#0875c9;text-decoration:none}
.customer-workspace-table-wrap a:hover{text-decoration:underline}
.customer-workspace-empty-note,.customer-workspace-empty-state p{color:#718396;font-size:13px}
.customer-workspace-empty-state{margin:24px;padding:30px;border:1px solid #e0e6ec;border-radius:13px;background:#fff}
.customer-workspace-empty-state h2{margin:8px 0;color:#203a50}
.customer-statement-view>header p{color:#718396;font-size:12px}
.customer-statement-row{grid-template-columns:repeat(4,minmax(90px,1fr))}
.customer-workspace-shell .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){.customer-workspace-shell{grid-template-columns:230px minmax(0,1fr)}.customer-overview-grid{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:13px;padding:13px}.customer-detail-header{padding:14px}.customer-detail-actions{flex:1 1 100%;justify-content:flex-start}.customer-detail-tabs{padding:0 14px}}
@media(max-width:760px){.customer-workspace-shell{display:flex;flex-direction:column;margin:0;overflow:visible}.customer-workspace-directory{border-right:0;border-bottom:1px solid #dce5ed}.customer-directory-list{display:flex;gap:8px;max-height:none;padding:9px;overflow-x:auto;overflow-y:hidden}.customer-directory-item{flex:0 0 190px;min-height:58px;border:1px solid #e3e9ef;border-radius:9px}.customer-directory-item.selected{border:1px solid #1685df;padding:11px 13px}.customer-directory-head{padding:12px 14px}.customer-directory-search{padding:8px 12px}.customer-detail-header{align-items:flex-start;flex-direction:column;padding:14px}.customer-detail-title{flex:0 1 auto;width:100%}.customer-detail-actions{justify-content:flex-start;width:100%}.customer-button{flex:0 1 auto}.customer-detail-tabs{gap:20px;padding:0 14px;overflow-x:auto}.customer-detail-tabs a{white-space:nowrap}.customer-overview-grid{grid-template-columns:1fr;padding:12px}.customer-profile-card dl div{grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)}.customer-transactions-block{margin:12px;padding:12px}.customer-receivables-head,.customer-receivables-row{grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) minmax(90px,1fr);font-size:11px}.customer-receivables{padding:12px}.customer-activity-list{padding-left:76px}.customer-activity-list:before{left:63px}.customer-activity-item time{left:-75px;width:51px;font-size:10px}.customer-activity-marker{left:-24px}.customer-transactions-block>header{align-items:flex-start;flex-direction:column}.customer-statement-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{body{background:#fff!important}.customer-workspace-shell{display:block;margin:0;border:0;background:#fff}.customer-workspace-directory,.customer-detail-actions,.customer-detail-tabs{display:none!important}.customer-workspace-detail{background:#fff}.customer-detail-header{border:0}.customer-overview-grid{grid-template-columns:1fr 1fr;padding:10px}.customer-transactions-block{margin:10px;box-shadow:none}.customer-workspace-table-wrap{overflow:visible}.customer-workspace-table-wrap table{font-size:9px}}

/* RC10: contain legacy global navigation/header styles within this workspace. */
.customer-workspace-shell .customer-directory-head{display:flex!important;align-items:center!important;justify-content:space-between!important;background:#fff!important;color:#17364d!important;border-bottom:1px solid #e1e8ee!important;padding:16px 15px!important}
.customer-workspace-shell .customer-directory-head h1{margin:3px 0 0!important;color:#17364d!important;font-size:17px!important;line-height:1.25!important}
.customer-workspace-shell .customer-directory-head .customer-workspace-eyebrow{color:#53758d!important}
.customer-workspace-shell .customer-directory-add{background:#18a978!important;color:#fff!important;text-decoration:none!important}
.customer-workspace-shell .customer-directory-list{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;overflow-x:hidden!important;overflow-y:auto!important}
.customer-workspace-shell .customer-directory-item{display:flex!important;flex:0 0 auto!important;align-items:center!important;width:auto!important;min-width:0!important;background:#fff!important;color:#17364d!important;text-decoration:none!important}
.customer-workspace-shell .customer-directory-item:hover{background:#f4f8fb!important}
.customer-workspace-shell .customer-directory-item.selected{background:#eaf3fb!important;color:#133c5a!important;border-left:3px solid #1382d3!important}
.customer-workspace-shell .customer-directory-copy b{color:#18364c!important}
.customer-workspace-shell .customer-directory-copy small{color:#657e91!important}
.customer-workspace-shell .customer-directory-search button{background:#087cc1!important;border-color:#087cc1!important;color:#fff!important;min-height:38px!important}
.customer-workspace-shell .customer-receivables>header{display:block!important;margin:0 0 13px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#203a50!important;box-shadow:none!important}
.customer-workspace-shell .customer-receivables>header h2{margin:0!important;padding:0!important;background:transparent!important;color:#203a50!important;font-size:17px!important}
.customer-workspace-shell .customer-receivables>header p{margin:5px 0 0!important;padding:0!important;background:transparent!important;color:#718396!important}
.customer-workspace-shell .customer-detail-actions .customer-button-light{background:#fff!important;color:#193b55!important;border-color:#d7e1e9!important}
.customer-workspace-shell .customer-detail-actions .customer-button-primary{background:#18a978!important;color:#fff!important}
.customer-workspace-shell .customer-profile-card>header{display:flex!important;align-items:center!important;background:#f5f7fb!important;color:#193b55!important;border:1px solid #e6ebf1!important;border-radius:12px!important}
@media(max-width:760px){.customer-workspace-shell .customer-directory-list{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important}.customer-workspace-shell .customer-directory-item{flex:0 0 190px!important;width:190px!important}.customer-workspace-shell .customer-directory-item.selected{border:1px solid #1382d3!important;padding:11px 13px!important}}

.customer-statement-view>header{align-items:center!important;background:#fff!important}
.customer-statement-view>header .customer-button{color:#18364c!important}
.customer-statement-controls{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:0 0 13px;padding:12px;border:1px solid #e1e8ee;border-radius:9px;background:#f8fafc}
.customer-statement-controls form{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.customer-statement-controls label{display:flex;flex-direction:column;gap:4px;color:#587187;font-size:11px;font-weight:700}
.customer-statement-controls input,.customer-statement-controls select{min-height:36px;padding:6px 9px;border:1px solid #d5e0e8;border-radius:6px;background:#fff;color:#17364d;font:inherit}
@media(max-width:760px){.customer-statement-controls{align-items:stretch;flex-direction:column}.customer-statement-controls form{align-items:stretch}.customer-statement-controls label{flex:1 1 135px}}
@media print{.customer-statement-controls,.customer-statement-view>.customer-statement-header,.customer-detail-header,.customer-detail-tabs{display:none!important}}

/* RC12: render the statement as an in-page document, not a browser PDF frame. */
.customer-statement-view{min-width:0;box-sizing:border-box;padding:18px!important;background:#f2f5f8!important}
.customer-statement-view>.customer-statement-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 14px!important;padding:0 0 14px!important;border:0!important;border-bottom:1px solid #e1e8ee!important;background:transparent!important}
.customer-statement-header h2{margin:3px 0!important;color:#17364d!important;font-size:20px!important}
.customer-statement-header p{margin:4px 0 0!important;color:#667e92!important;font-size:13px}
.customer-statement-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
.customer-statement-actions .customer-button{min-height:40px;padding:9px 14px;line-height:1.2;color:#17364d!important}
.customer-statement-controls{display:flex;align-items:end;justify-content:flex-start;min-width:0;box-sizing:border-box;margin:0 0 18px;padding:13px 15px;border:1px solid #dfe7ed;border-radius:10px;background:#f7f9fb}
.customer-statement-controls form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;width:100%;min-width:0}
.customer-statement-controls label{display:flex;flex:0 1 170px;flex-direction:column;gap:5px;color:#526d83;font-size:12px;font-weight:700}
.customer-statement-controls input,.customer-statement-controls select{width:100%;height:42px;min-height:42px;padding:8px 10px;border:1px solid #cbd8e2;border-radius:7px;background:#fff;color:#17364d;font:inherit;line-height:1.2}
.customer-statement-controls .customer-button{height:42px;min-height:42px;padding:9px 16px;line-height:1.2}
.customer-statement-paper{width:min(100%,900px);min-height:850px;margin:0 auto;padding:48px 54px 35px;border:1px solid #e0e5ea;border-radius:2px;background:#fff;color:#23384a;box-shadow:0 8px 24px rgba(18,42,62,.12);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45}
.customer-statement-paper-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;margin:0 0 46px!important;padding:0 0 18px!important;border:0!important;border-bottom:1px solid #d8e0e7!important;background:#fff!important}
.customer-statement-brand{display:flex;align-items:flex-start;gap:16px;min-width:0;color:#263c50}
.customer-statement-brand .business-logo{width:auto!important;max-width:125px!important;max-height:86px!important;object-fit:contain}
.customer-statement-brand>div{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:12px;overflow-wrap:anywhere}
.customer-statement-brand>div b{color:#18364c;font-size:16px}
.customer-statement-title{max-width:48%;text-align:right}
.customer-statement-title h1{margin:0 0 8px!important;color:#142f45!important;font-family:Arial,Helvetica,sans-serif!important;font-size:24px!important;font-weight:700!important;line-height:1.25!important}
.customer-statement-title p{margin:0 0 4px;color:#526d83;font-size:13px}
.customer-statement-title small{color:#526d83;font-size:12px}
.customer-statement-parties{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,390px);align-items:start;gap:30px;margin:0 0 40px}
.customer-statement-parties>div{display:flex;flex-direction:column;gap:5px;min-width:0;color:#49647b;overflow-wrap:anywhere}
.customer-statement-parties>div small{color:#526d83;font-size:11px;font-weight:700;letter-spacing:.05em}
.customer-statement-parties>div b{color:#2474bd;font-size:15px}
.customer-statement-summary{width:100%;border-collapse:collapse;font-size:12px}
.customer-statement-summary th{padding:8px 9px;background:#e8edf1;color:#263e52;text-align:left;font-size:13px}
.customer-statement-summary td{padding:6px 9px;border-bottom:1px solid #e2e7eb;color:#3d566b}
.customer-statement-summary td:last-child{text-align:right;color:#263e52;white-space:nowrap}
.customer-statement-summary tr.due td{border-top:1px solid #5b6d7b;border-bottom:0;color:#17364d;font-weight:700}
.customer-statement-table-wrap{width:100%;overflow-x:auto}
.customer-statement-table{width:100%;border-collapse:collapse;color:#30485b;font-size:11px}
.customer-statement-table th{padding:9px 8px;background:#35434e;color:#fff;text-align:left;font-size:10px;font-weight:700;line-height:1.25}
.customer-statement-table td{padding:9px 8px;border-bottom:1px solid #dfe5e9;vertical-align:top;line-height:1.35}
.customer-statement-table th:nth-child(4),.customer-statement-table th:nth-child(5),.customer-statement-table th:nth-child(6),.customer-statement-table td:nth-child(4),.customer-statement-table td:nth-child(5),.customer-statement-table td:nth-child(6){text-align:right;white-space:nowrap}
.customer-statement-table .closing td{padding-top:12px;border-top:1px solid #71808b;color:#18364c;font-weight:700}
.customer-statement-paper-footer{margin-top:30px;padding-top:10px;border-top:1px solid #e1e7eb;color:#718396;font-size:10px}
@media(max-width:900px){.customer-statement-paper{padding:35px 28px}.customer-statement-parties{grid-template-columns:1fr minmax(240px,340px);gap:20px}}
@media(max-width:680px){.customer-statement-view{padding:13px!important}.customer-statement-view>.customer-statement-header{align-items:flex-start!important;flex-direction:column!important}.customer-statement-actions{justify-content:flex-start}.customer-statement-controls form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-statement-controls label{min-width:0;width:100%}.customer-statement-controls button{grid-column:1/-1}.customer-statement-paper{min-height:0;padding:25px 18px;font-size:12px}.customer-statement-paper-head{gap:12px!important;margin-bottom:25px!important}.customer-statement-brand{flex-direction:column;gap:8px}.customer-statement-brand .business-logo{max-width:90px!important;max-height:65px!important}.customer-statement-title{max-width:52%}.customer-statement-title h1{font-size:18px!important}.customer-statement-parties{grid-template-columns:1fr;gap:22px;margin-bottom:25px}.customer-statement-summary{max-width:none}.customer-statement-table{min-width:650px}}
@media print{body *{visibility:hidden!important}.customer-statement-paper,.customer-statement-paper *{visibility:visible!important}.customer-statement-paper{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.customer-statement-paper-head{margin-bottom:28px!important}.customer-statement-parties{margin-bottom:24px!important}.customer-statement-view,.customer-statement-view *{background:#fff!important}.customer-statement-view .customer-statement-paper{visibility:visible!important}}


/* RC13: override the global 72px header rule inside the customer workspace. */
.customer-workspace-shell .customer-directory-head,
.customer-workspace-shell .customer-detail-header,
.customer-workspace-shell .customer-profile-card>header,
.customer-workspace-shell .customer-receivables>header,
.customer-workspace-shell .customer-transactions-block>header{height:auto!important;box-sizing:border-box;flex-shrink:0}
.customer-workspace-shell .customer-directory-head{min-height:88px!important}
.customer-workspace-shell .customer-detail-header{min-height:104px!important;padding:17px 22px 14px!important;overflow:visible!important}
.customer-workspace-shell .customer-detail-title{align-self:center;min-height:66px}
.customer-workspace-shell .customer-detail-title>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;gap:1px}
.customer-workspace-shell .customer-detail-title h1{margin:1px 0 2px!important;line-height:1.2!important}
.customer-workspace-shell .customer-detail-title p{margin:0!important;line-height:1.35!important}
.customer-workspace-shell .customer-detail-tabs{position:relative;z-index:1;min-height:48px;align-items:stretch}
.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header{min-height:76px!important;margin:0 0 18px!important;padding:13px 16px!important;border:1px solid #dce7ef!important;border-radius:10px!important;background:#edf4f8!important;color:#17364d!important;box-shadow:none!important}
.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header .customer-workspace-eyebrow{display:block!important;color:#56748c!important;font-size:11px!important;font-weight:750!important;letter-spacing:.05em!important}
.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header h2{margin:3px 0 0!important;padding:0!important;background:transparent!important;color:#17364d!important;font-size:18px!important;line-height:1.25!important}
.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header>span{color:#526d83!important;font-size:12px!important;white-space:nowrap}
@media(max-width:1050px){.customer-workspace-shell .customer-detail-header{min-height:104px!important;padding:14px!important}}
@media(max-width:760px){.customer-workspace-shell .customer-detail-header{min-height:0!important;padding:14px!important}.customer-workspace-shell .customer-detail-title{min-height:58px}.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header{align-items:flex-start!important;min-height:0!important}.customer-workspace-shell .customer-transactions-block:not(.customer-statement-view)>header>span{white-space:normal}}


/* RC14 statement delivery menu and compose pages. */
.customer-statement-actions{gap:9px}
.customer-statement-actions .customer-button{min-height:40px}
.customer-statement-send{position:relative;display:inline-flex}
.customer-statement-send>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer}
.customer-statement-send>summary::-webkit-details-marker{display:none}
.customer-statement-send-menu{position:absolute;z-index:20;top:calc(100% + 7px);right:0;display:grid;min-width:185px;padding:6px;border:1px solid #d9e3eb;border-radius:9px;background:#fff;box-shadow:0 10px 24px rgba(17,44,66,.16)}
.customer-statement-send-menu a{padding:10px 12px;border-radius:6px;color:#17364d;font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}
.customer-statement-send-menu a:hover{background:#eef5fa;color:#0875c9}
.customer-statement-compose{display:grid;gap:8px;max-width:760px;margin:0 auto}
.customer-statement-compose label{display:flex;flex-direction:column;gap:6px;color:#526d83;font-weight:700}
.customer-statement-compose label input,.customer-statement-compose label textarea{width:100%;margin:0}
.customer-statement-compose .customer-button{justify-self:start}
.customer-statement-compose .whatsapp-document-summary{display:grid;gap:6px;padding:15px;border:1px solid #dce7ef;border-radius:9px;background:#f5f8fb;color:#526d83}
.customer-statement-compose .whatsapp-document-summary b{color:#17364d}
@media(max-width:680px){.customer-statement-actions{justify-content:flex-start}.customer-statement-send-menu{right:auto;left:0}.customer-statement-compose .customer-button{width:100%}}
