/* Distributor only. Coordinates at 1440 px: 20 px gutters, 30 px controls,
   35 px list rows, and a 49 px profile tab rail. See DISTRIBUTOR-REFERENCE.md. */
:is(.dw-reference,.dw-sheet){
 --dw-blue:#044c9d;--dw-action:#0ca1f6;--dw-soft:#e7f3fd;--dw-muted:#778da5;--dw-edge:#ddd;
 font-family:"Amar Inventory Manrope",Manrope,Arial,sans-serif;
}
.dw-reference :is(button,input,select,summary,table,th,a),.dw-sheet :is(h2,button,input,summary){font-family:inherit}
.dw-reference .dir-head{min-height:57px;padding:0;gap:8px}
.dw-reference .dir-head .tr-title{gap:7px}.dw-reference .dir-head .tr-title h1{color:var(--dw-blue);font-size:16px;font-weight:750}
.dw-reference .tr-bulb{color:var(--dw-action)}.dw-reference .dir-info{color:var(--dw-action)}
.dw-reference :is(.tr-primary,.dw-sheet-submit){background:var(--dw-action);border-color:var(--dw-action);border-radius:2px}
.dw-reference .tr-primary:hover,.dw-more>summary:hover{background:#088bd8;border-color:#088bd8}
.dw-register,.dw-profile-frame{border:0;border-radius:2px;background:#fff;box-shadow:0 0 18px #00000012;min-width:0}
.dw-reference .dw-list-filters{min-height:57px;padding:15px 20px 9px;column-gap:10px;row-gap:8px}
.dw-list-filters .tr-search{width:236px;margin-right:20px}.dw-list-filters .tr-select{width:192px}
.dw-list-filters .tr-select:nth-of-type(3){width:202px}
.dw-reference :is(.tr-search,.tr-select,.tr-dates>summary){border-color:#d0d0d0;min-height:30px;height:30px;border-radius:2px}
.dw-reference .tr-select>select,.dw-reference .tr-search>input{min-height:28px;height:28px;font-size:14px;font-weight:550}
.dw-reference .tr-select:after{border-width:5px 5px 0;border-top-color:#459ada;margin-top:-2px}
.dw-reference .tr-search>svg{margin-right:1px;color:#044c9d}
.dw-list-checks{display:flex;flex-wrap:wrap;gap:8px 29px;align-items:center;margin-left:auto}
.dw-check{display:inline-flex;gap:8px;align-items:center;min-height:30px;padding:3px 10px;color:#2589c8;border:1px solid #d3d3d3;
 background:#fff;white-space:nowrap;font-weight:650;cursor:pointer}
.dw-check.dw-check-due{color:#ba3b4b}.dw-check:has(:checked){background:#e9f5ff;border-color:#add5f4}
.dw-check.dw-check-due:has(:checked){background:#fff1f3;border-color:#edbdc5}
.dw-reference .dw-check input{appearance:none;border-radius:2px;width:14px;height:14px;flex:none;background:#deeffb;border:0;cursor:pointer;display:grid;place-items:center}
.dw-reference .dw-check-due input{background:#feeef0}.dw-reference .dw-check input:checked{background:var(--dw-action)}
.dw-reference .dw-check-due input:checked{background:#c44b59}
.dw-check input:checked:after{content:"";display:block;width:6px;height:3px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.dw-switch.dir-switcher{gap:5px;margin-left:6px}.dw-switch.dir-switcher>button:not(.dir-mode-toggle){font-size:15px;color:#91bbdd;padding:0}
.dw-switch.dir-switcher>button[aria-pressed=true]{color:#1595df}
.dw-switch>.dir-mode-toggle{width:40px;height:24px;background:var(--dw-action)}
.dw-switch>.dir-mode-toggle:before{content:"▥";width:20px;height:20px;left:2px;top:2px;font:750 15px/20px Arial,sans-serif}
.dw-switch>.dir-mode-toggle[aria-checked=true]:before{content:"☷";transform:translateX(16px)}
.dw-reference .dw-add{color:var(--dw-action);font-size:22px;padding:2px;min-width:29px;min-height:30px}
.dw-download>summary{justify-content:space-between;gap:8px;width:200px;min-height:30px;padding:3px 14px;border-radius:2px;
 color:#278dc8;background:#e0edf8;font-weight:650}
.dw-download>summary:hover,.dw-download[open]>summary{background:#cee7fa}
.dw-arrow{border:5px solid transparent;border-bottom:0;border-top-color:#459ada}
.dw-reference :is(.dw-download,.dw-more)>div{min-width:100%;padding:3px 0;z-index:30;border:1px solid #e5e5e5;border-radius:2px;box-shadow:0 5px 18px #08325826}
.dw-menu-caption{display:block;padding:8px 12px;color:var(--dw-muted);font-size:13px;font-weight:650}
.dw-reference .dw-download>div button{height:36px;padding:6px 13px;color:#317bb0;font-weight:650}
.dw-reference .dw-download>div button:hover,.dw-reference .dw-more>div button:hover:not(:disabled){background:#ecf7ff}
.dw-reference .dw-table-scroll{overflow:auto;overscroll-behavior-inline:contain}
.dw-table{min-width:710px}.dw-table.dw-list-expanded{min-width:920px}.dw-table[data-stats=true]{min-width:960px}
.dw-reference .dw-table :is(th,td){font-weight:550;color:#111;border-bottom:1px solid #dedede;text-align:left;white-space:nowrap}
.dw-reference .dw-table th{height:35px;padding:6px 20px;color:var(--dw-blue);background:#fff}
.dw-reference .dw-table td{height:35px;padding:5px 20px}
.dw-reference .dw-table.dir-list:not([data-stats=true]) th:nth-child(1){width:28.6%}
.dw-reference .dw-table.dir-list:not([data-stats=true]) th:nth-child(2){width:12.6%}
.dw-reference .dw-table.dir-list:not([data-stats=true]) th:nth-child(3){width:14.5%}
.dw-reference .dw-table.dir-list:not([data-stats=true]) th:nth-child(4){width:18.5%}
.dw-reference .dw-table.dir-list td:nth-last-child(2){text-align:right;padding-right:42px;font-variant-numeric:tabular-nums}
.dw-reference .dw-table td.dw-account-cell{padding:0 19px;text-align:right}.dw-account-cell .tr-icon{min-height:27px;color:var(--dw-action)}
.dw-account-cell svg{width:20px;height:18px}.dw-reference .dir-name{font-weight:580}
.dw-reference .dir-status{display:inline-block;margin-left:6px}.dw-credit{color:#188567!important;font-weight:750}
.dw-reference .dw-table :is(td,th) .dir-due{font-weight:850}.dw-reference .dw-table tbody tr:hover{background:#e5f4ff}
.dw-reference .dw-table td a:not(.dir-name):not(.tr-icon),.dw-reference .dir-text-link{color:var(--dw-blue);font-weight:700}
.dw-reference .dir-tab-grid :is(th,td){padding-inline:14px}
.dw-pager,.dw-tab-total,.dw-list-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;padding:7px 19px;color:#53779a;background:#fff;font-variant-numeric:tabular-nums}
.dw-pager{justify-content:flex-end;min-height:42px;border-top:1px solid #ededed;font-size:13px}.dw-pager>span{margin-right:auto}
.dw-pager button{border:1px solid #d5e3f0;border-radius:2px;padding:4px 9px;background:#fdfefe;color:var(--dw-blue);cursor:pointer;font-size:13px;font-weight:700}
.dw-pager button:disabled{color:#899aaa;border-color:#ebeff3;background:#fff;cursor:default}
.dw-pager button:hover:not(:disabled){background:var(--dw-soft)}
.dw-tab-total{justify-content:flex-end;color:var(--dw-blue);font-weight:750;border-top:1px solid #e7edf3}
.dw-list-summary{color:var(--dw-blue);font-weight:650;background:#f0f8fe}.dw-list-summary b{margin-left:4px}
.dw-loading,.dw-error,.dw-note{margin:0;padding:9px 20px;font-size:13px;color:#506f8d;line-height:1.45}
.dw-loading{min-height:78px;padding-top:23px}.dw-error{color:#a63144;background:#fff4f5}.dw-error button{margin-left:6px}
.dw-note{background:#f6fafd;border-top:1px solid #eef4f8}.dw-reference .tr-empty{min-height:255px;padding:37px 10px 23px}
.dw-reference .tr-empty span img{width:146px;height:auto}.dw-reference .tr-empty p{font-size:14px;color:#747c87}
.dw-reference .dw-profile-head{min-height:54px}
.dw-profile-head .tr-actions{gap:11px}
.dw-profile-totals{display:flex;flex-wrap:wrap;gap:6px 13px;color:#5b7896;font-size:12px;line-height:18px}
.dw-profile-totals b{color:var(--dw-blue)}
.dw-unrated{color:#b5c7d7;font:17px/19px Arial,sans-serif;white-space:nowrap;letter-spacing:-1px}
.dw-more>summary{min-width:86px;min-height:30px;background:var(--dw-action);border-color:var(--dw-action);color:#fff;font-weight:700;border-radius:3px}
.dw-reference .dw-more>div{min-width:218px}
.dw-reference .dw-more>div button{gap:10px;padding:7px 12px;color:#2a5f8d;font-weight:650}
.dw-reference .dw-more>div button:disabled{color:#a0a7ad}
.dw-reference .dw-account-details{padding:1px 0 18px;margin:0}
.dw-account-details dl{grid-template-columns:.84fr minmax(130px,.9fr) .49fr 1.14fr .64fr .86fr .97fr minmax(210px,2.3fr);gap:8px 12px}
.dw-account-details dl div:last-child{grid-column:auto}.dw-account-details dt{color:var(--dw-muted);font-size:14px;font-weight:550}
.dw-account-details dd{margin-top:1px;color:#111;font-size:15px;font-weight:650;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-account-details dl div:last-child dd{white-space:normal;overflow-wrap:anywhere}
.dw-profile-frame{min-height:345px}
.dw-reference .dir-tabs-scroll{min-height:49px;border-color:#ddd;border-radius:2px 2px 0 0;box-shadow:0 2px 8px #0000000d}
.dw-reference .dir-tabs{position:relative;min-width:0;overflow:auto hidden;scrollbar-width:none}
.dw-reference .dir-tabs::-webkit-scrollbar{display:none}
.dw-reference .dir-tabs [role=tab]{flex:0 0 auto;height:48px;min-width:160px;padding:0 24px;border-bottom:2px solid transparent;
 font-size:15px;font-weight:560;color:#737b84}
.dw-reference .dir-tabs [role=tab][aria-selected=true]{color:#3e9ed7;border-color:#3e9ed7}
.dw-reference .dir-tabs [role=tab]:hover{background:#f0f8fe;color:var(--dw-blue)}
.dw-reference .dir-tabs [role=tab]:focus-visible{outline-offset:-3px}
.dw-reference .dw-rail-arrow{display:grid;place-items:center;width:36px;flex:0 0 36px;min-height:48px;color:#142b44;border:0;
 box-shadow:0 0 6px #0000001a;z-index:1}
.dw-reference .dw-rail-arrow:disabled{color:#9ca7b0;cursor:default}
.dw-tab-body .dw-tab-filters{margin:0;padding:12px 20px;gap:8px 10px;align-items:center;min-height:57px}
.dw-tab-filters .tr-dates{width:235px;max-width:100%}.dw-tab-filters .tr-dates>summary{justify-content:center;gap:8px;padding:3px 10px;color:var(--dw-blue);font-weight:650}
.dw-tab-filters .tr-date-menu{left:0}
.dw-tab-filters .dw-select{min-width:118px;width:auto}.dw-tab-filters .tr-search{width:216px}.dw-tab-filters .dw-download{margin-left:auto}
.dw-tab-filters .dw-download>summary{width:155px}
.dw-tab-filters[data-kind=ledger] .tr-search{width:204px}
.dw-tax-record{padding:13px 20px 24px}
.dw-subtabs{display:flex;gap:20px;padding:0 20px;border-bottom:1px solid #d9e6f2}
.dw-subtabs button{border:0;border-bottom:2px solid transparent;background:#fff;padding:10px 3px;color:#5f7d9e;font-weight:650;cursor:pointer}
.dw-subtabs button[aria-selected=true]{border-color:var(--dw-action);color:var(--dw-blue)}
.dw-tax-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}
.dw-tax-heading h3{color:var(--dw-blue);font-size:16px}.dw-tax-record dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 15px}
.dw-tax-record dt{color:#6682a0}.dw-tax-record dd{margin:3px 0 0;font-weight:700;overflow-wrap:anywhere}
.dw-tax-record .dw-note{padding:8px 10px}
.dw-graphs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px 19px}
.dw-analysis{padding:23px 30px}.dw-analysis h2,.dw-terms h2{font-size:18px;color:var(--dw-blue);margin:0 0 17px;font-weight:800}
.dw-analysis-grid{display:grid;grid-template-columns:1.76fr 1fr;gap:24px;max-width:1155px}
.dw-graph-panel{min-width:0;padding:19px 26px;background:#f1f8fc;border:1px solid #f7fafc;border-radius:1px;min-height:163px}
.dw-graph-panel h3{font-size:16px;color:#111;margin:0 0 11px;line-height:22px;font-weight:750}
.dw-graph-panel p{line-height:1.5;color:#53708c;margin:3px 0}
.dw-performance-aside{display:grid;gap:10px}.dw-performance-aside .dw-graph-panel{min-height:77px;padding:10px 21px}
.dw-performance-aside .dw-graph-panel h3{margin-bottom:4px}.dw-performance-aside b{color:#3299d6;font-size:18px}
.dw-bars{display:grid;gap:8px}.dw-bars>div{display:grid;grid-template-columns:minmax(90px,1fr) 1.4fr max-content;gap:10px;align-items:center;font-size:13px}
.dw-bars>div>a,.dw-bars>div>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-bars>div>span{height:12px;background:linear-gradient(to right,#8acdf6 var(--dw-bar),#e2eef8 var(--dw-bar))}
.dw-bars strong{color:#315a85}.dw-reference .dw-chart-empty{padding:11px 3px;color:#5e7991}
.dw-chart-empty svg{margin-bottom:4px;color:#479ed6}.dw-chart-note{display:block;color:#597b97;margin-top:12px}
.dw-invoice-chart{display:flex;min-width:0;gap:7px;height:265px;padding:3px 0 0}
.dw-chart-axis{display:flex;flex-direction:column;justify-content:space-between;padding:0 0 21px;font-size:11px;color:#587087;text-align:right}
.dw-chart-columns{display:flex;justify-content:space-around;flex:1;min-width:0;gap:5px;position:relative;padding:0 3px}
.dw-chart-columns:before{content:"";position:absolute;inset:6px 0 21px;border-left:1px solid #bfcddd;border-bottom:1px solid #bfcddd;pointer-events:none}
.dw-chart-columns>div{display:grid;grid-template-rows:minmax(0,1fr) 21px;flex:1;max-width:58px;min-width:0;z-index:1;text-align:center}
.dw-chart-columns a{position:relative;display:flex;align-items:end;justify-content:center;min-height:0;padding:0 3px}
.dw-chart-columns a span{display:block;width:100%;height:max(2px,var(--dw-invoice-height));background:#8ecbf0}
.dw-chart-columns a:is(:hover,:focus-visible) span{background:#3b9ddd}
.dw-chart-columns small{align-self:center;font-size:11px;color:#59718c;white-space:nowrap;overflow:hidden}
.dw-analysis-totals{margin-top:18px;background:#f1f8fd}
.dw-terms{padding:20px}.dw-terms [data-terms]{max-width:100%}
.dw-terms [data-terms]>form{padding:12px;border:1px solid #d7e4f0;background:#f6faff}
.dw-terms input{border:1px solid #d2dfe9;border-radius:2px;min-height:32px}
.dw-terms :is(h2,.btn){color:var(--dw-blue)}.dw-terms .btn:not(.ghost){background:var(--dw-action);color:#fff;border-radius:2px}
.dw-sheet{--tr-blue:#044c9d;--tr-overlay-width:720px;--tr-overlay-top:max(80px,calc(100dvh - 448px));border-radius:4px 4px 0 0}
.dw-sheet.dw-mapping{--tr-overlay-width:620px;--tr-overlay-top:max(70px,calc(100dvh - 405px))}
.dw-sheet .tr-overlay-head{min-height:49px;padding-block:6px}.dw-sheet .tr-overlay-head h2{font-size:23px;font-weight:650}
.dw-sheet .dw-sheet-submit{min-height:30px;padding:3px 13px;background:white;color:var(--dw-action);border-color:white;border-radius:2px}
.dw-sheet .dw-sheet-submit:disabled{opacity:.64}
.dw-sheet .rp-form{padding:17px 20px 14px;gap:12px}.dw-sheet .dir-fields{gap:12px 27px}
.dw-sheet .rp-form label{color:var(--dw-blue);font-size:14px;font-weight:650}
.dw-sheet .rp-form label input{height:35px;border-color:#d9e4ed;background:#f3f9ff}
.dw-sheet .dir-email-field input{flex:1}.dw-sheet .dir-email-field>div{align-items:center}
.dw-sheet .dir-extra>summary{border-radius:2px}.dw-sheet .rp-form-actions{padding-top:8px}
.dw-mapping-hint{padding:28px 10px 19px;text-align:center;color:#5d7991}
.dw-reference .dw-terms [data-terms]>.row{flex-wrap:wrap}
@media(max-width:1150px){
 .dw-list-filters .tr-search{margin-right:0}.dw-list-checks{gap:8px 10px}
 .dw-account-details dl{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:720px){
 .dw-reference .dir-head{min-height:55px;padding:7px 0;gap:5px}
 .dw-reference .dir-head .tr-title{min-width:0;gap:4px}.dw-reference .tr-title h1{overflow-wrap:anywhere}
 .dw-reference .dw-profile-head .tr-actions{flex-wrap:wrap;justify-content:space-between}
 .dw-reference .dw-list-filters,.dw-tab-body .dw-tab-filters{padding:9px 9px;gap:7px}
 .dw-list-filters .tr-search{width:min(236px,100%);max-width:100%}
 .dw-list-filters .tr-select,.dw-list-filters .tr-select:nth-of-type(3){width:calc(50% - 4px);max-width:none;min-width:0}
 .dw-list-checks{margin-left:0;gap:7px}.dw-check{padding-inline:6px;font-size:13px}
 .dw-download>summary{width:125px}.dw-tab-filters .dw-download>summary{width:120px}
 .dw-tab-filters .tr-search{width:min(195px,100%)}.dw-tab-filters .tr-dates{width:205px}
 .dw-tab-filters .dw-download{margin-left:0}.dw-reference .dw-table :is(td,th){padding-inline:10px}
 .dw-account-details dl,.dw-tax-record dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dw-account-details dt,.dw-account-details dd{font-size:13px}.dw-account-details dl div:last-child{grid-column:span 2}
 .dw-unrated{font-size:13px}
 .dw-reference .dir-tabs [role=tab]{min-width:118px;padding-inline:12px;font-size:14px}
 .dw-reference .dw-rail-arrow{width:28px;flex-basis:28px}
 .dw-graphs,.dw-analysis-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 .dw-analysis,.dw-tax-record,.dw-terms,.dw-graphs{padding:12px 10px}.dw-graph-panel{padding:13px}
 .dw-invoice-chart{height:207px}.dw-chart-columns{gap:1px}.dw-chart-columns small{font-size:9px}
 .dw-pager,.dw-list-summary,.dw-tab-total,.dw-note,.dw-loading,.dw-error{padding-inline:10px}
 .dw-sheet:not([data-variant=drawer]){--tr-overlay-top:max(60px,calc(100dvh - 520px));margin-top:var(--tr-overlay-top)}
 .dw-sheet .rp-form{padding:12px;gap:9px}.dw-sheet .dir-fields{gap:9px 12px}
 .dw-sheet .tr-overlay-head h2{font-size:18px;line-height:22px}
 .dw-sheet .dir-email-field{grid-column:1/-1}
}
@media(max-width:390px){
 .dw-reference .dw-switch>button:not(.dir-mode-toggle){font-size:12px}
 .dw-sheet .dir-fields{column-gap:8px}
}
