.eco-cash-host-hidden{display:none!important}.ecocrm-cash{display:none;min-width:0;flex:1;height:100%;overflow:hidden;background:#121113;color:#eee9df;font-family:"Clear Sans","Inter","Segoe UI",sans-serif}.ecocrm-cash.is-open{display:block}.eco-cash-shell{display:flex;height:100%;min-height:0;flex-direction:column;background:radial-gradient(circle at 15% -10%,rgba(189,139,44,.11),transparent 32%),#121113}.ecocrm-cash-button.is-active{color:#f3c766!important;background:linear-gradient(90deg,rgba(190,139,44,.18),rgba(190,139,44,.05))!important}.eco-cash-nav-icon{color:#d4a449;flex:0 0 auto}
.eco-cash-head{display:flex;min-height:88px;align-items:center;justify-content:space-between;gap:24px;padding:14px 24px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(18,17,19,.92)}.eco-cash-head p{margin:0 0 3px;color:#c79538;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.eco-cash-head h1{margin:0;color:#f7f1e5;font-size:26px;line-height:1.05}.eco-cash-head small{display:block;margin-top:5px;color:#807b73;font-size:11px}.eco-cash-head-actions{display:flex;align-items:center;gap:8px}.eco-cash-head button,.eco-cash-card-head button,.eco-cash-empty button{min-height:38px;border:1px solid rgba(214,170,83,.28);border-radius:8px;padding:0 14px;color:#cfc8bc;background:#1d1b18;cursor:pointer;font:600 12px inherit}.eco-cash-head button:hover,.eco-cash-card-head button:hover{border-color:rgba(224,181,94,.55);color:#fff0d4}.eco-cash-head button.is-primary,.eco-cash-card-head button.is-primary,.eco-cash-empty button{border-color:#a87927;color:#160f05;background:linear-gradient(180deg,#d4a54f,#ac7924);box-shadow:0 7px 22px rgba(151,103,26,.2)}.eco-cash-head button b{display:inline-grid;min-width:20px;height:20px;place-items:center;margin-left:5px;border-radius:10px;color:#17110a;background:#d8a84e;font-size:10px}
.eco-cash-tabs{display:flex;gap:4px;padding:10px 24px 0;border-bottom:1px solid rgba(255,255,255,.06)}.eco-cash-tabs button{position:relative;min-height:42px;border:0;padding:0 18px;color:#89847d;background:transparent;cursor:pointer;font:600 12px inherit}.eco-cash-tabs button::after{content:"";position:absolute;right:12px;bottom:-1px;left:12px;height:2px;background:transparent}.eco-cash-tabs button:hover{color:#e5dac6}.eco-cash-tabs button.is-active{color:#e5bb64}.eco-cash-tabs button.is-active::after{background:#d4a449}
.eco-cash-content{min-height:0;flex:1;overflow:auto;padding:18px 24px 30px}.eco-cash-loading,.eco-cash-error{display:grid;min-height:320px;place-items:center;align-content:center;gap:12px;color:#aaa49b}.eco-cash-loading span{width:34px;height:34px;border:3px solid rgba(213,168,75,.18);border-top-color:#d5a84b;border-radius:50%;animation:eco-cash-spin .8s linear infinite}@keyframes eco-cash-spin{to{transform:rotate(360deg)}}.eco-cash-error strong{color:#e88980}.eco-cash-error button{border:1px solid #8f4039;border-radius:7px;padding:9px 14px;color:#ffd5d1;background:#351b18}
.eco-cash-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.eco-cash-metrics article{display:grid;gap:6px;min-height:100px;padding:16px 17px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));box-shadow:0 10px 30px rgba(0,0,0,.12)}.eco-cash-metrics span{color:#89847c;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.eco-cash-metrics strong{color:#f3eadb;font-size:23px}.eco-cash-metrics small{color:#77716a;font-size:10px}.eco-cash-metrics article.is-paid strong{color:#62c68c}.eco-cash-metrics article.is-debt strong{color:#ee9b43}
.eco-cash-card{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:#181719;box-shadow:0 14px 40px rgba(0,0,0,.16)}.eco-cash-card-head{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07)}.eco-cash-card-head>div:first-child{display:grid;gap:3px}.eco-cash-card-head span{color:#8d887f;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.eco-cash-card-head strong{color:#e9e1d5;font-size:14px}.eco-cash-card-head>div:last-child{display:flex;align-items:center;gap:9px}.eco-cash-card-head .eco-cash-queue{border:1px solid rgba(218,172,78,.18);border-radius:16px;padding:6px 9px;color:#d5ad59;background:rgba(197,144,42,.08);font-size:9px}.eco-cash-card-head button{min-height:32px;padding:0 10px}.eco-cash-table-wrap{overflow:auto}.eco-cash-table-wrap table{width:100%;min-width:880px;border-collapse:collapse}.eco-cash-table-wrap th{height:38px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.07);color:#747068;background:#141315;font-size:9px;font-weight:700;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}.eco-cash-table-wrap td{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.055);color:#cfc8bc;font-size:11px;line-height:1.45;vertical-align:middle}.eco-cash-table-wrap tbody tr:hover{background:rgba(216,173,85,.025)}.eco-cash-table-wrap td strong{display:block;color:#ece4d8;font-size:12px}.eco-cash-table-wrap td small{display:block;margin-top:3px;color:#77726b;font-size:9px}.eco-cash-order-number{border:0;padding:0;color:#e5b85c;background:none;cursor:pointer;font:700 12px inherit}.eco-cash-status-switch{display:inline-flex;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#111}.eco-cash-status-switch button{min-height:27px;border:0;padding:0 8px;color:#6f6b65;background:transparent;cursor:pointer;font:600 9px inherit}.eco-cash-status-switch button:first-child.is-active{color:#261204;background:#e7922f}.eco-cash-status-switch button:last-child.is-active{color:#06180e;background:#37a96c}.eco-cash-print-button{min-height:29px;border:1px solid rgba(216,173,85,.32);border-radius:7px;padding:0 9px;color:#d7af60;background:#211b12;cursor:pointer;font:600 9px inherit}.eco-cash-print-button.is-printed{border-color:rgba(255,255,255,.09);color:#858078;background:#161517}.eco-cash-empty{display:grid;min-height:270px;place-items:center;align-content:center;gap:8px;color:#888178;text-align:center}.eco-cash-empty>span{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(216,173,85,.25);border-radius:14px;color:#d7aa50;background:rgba(216,173,85,.06);font-size:25px}.eco-cash-empty strong{color:#dcd4c8!important;font-size:15px!important}.eco-cash-empty p{max-width:420px;margin:0 0 6px;color:#777169;font-size:11px}.eco-cash-empty.is-small{min-height:190px}.eco-cash-footnote{margin:0;padding:13px 16px;color:#756f67;font-size:10px}
.eco-cash-table-wrap input{width:100%;min-width:90px;border:1px solid rgba(255,255,255,.075);border-radius:6px;padding:7px 8px;color:#e8e0d4;background:#111;font:500 11px inherit}.eco-cash-table-wrap input:focus{border-color:#9e7227;outline:0}.eco-cash-inline-name{min-width:230px!important}.eco-cash-muted{color:#77716a;font-size:9px}.eco-cash-search{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.eco-cash-search input{flex:1;max-width:460px;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:10px 12px;color:#eee6da;background:#111;font:500 11px inherit}.eco-cash-search input:focus{border-color:#9e7227;outline:0}.eco-cash-search span{color:#716c65;font-size:9px}
.eco-cash-modal-open{overflow:hidden}.eco-cash-global-modal-host{font-family:"Clear Sans","Inter","Segoe UI",sans-serif}.eco-cash-modal-host:empty{display:none}.eco-cash-modal-backdrop,.eco-cash-picker-backdrop{position:fixed;z-index:10040;inset:0;display:grid;place-items:center;padding:22px;background:rgba(5,4,4,.78);backdrop-filter:blur(7px)}.eco-cash-modal{width:min(970px,calc(100vw - 42px));max-height:calc(100vh - 42px);overflow:auto;border:1px solid rgba(215,170,82,.28);border-radius:13px;color:#eae2d7;background:#151416;box-shadow:0 28px 90px rgba(0,0,0,.65)}.eco-cash-loading-modal{display:grid;width:min(360px,calc(100vw - 42px));min-height:150px;place-items:center;align-content:center;gap:14px;color:#bdb4a7}.eco-cash-loading-modal span{width:32px;height:32px;border:3px solid rgba(213,168,75,.18);border-top-color:#d5a84b;border-radius:50%;animation:eco-cash-spin .8s linear infinite}.eco-cash-loading-modal strong{font-size:12px}.eco-cash-modal--small{width:min(560px,calc(100vw - 42px))}.eco-cash-modal-head{display:flex;min-height:68px;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.07)}.eco-cash-modal-head span{color:#9d742a;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.eco-cash-modal-head h2{margin:3px 0 0;color:#f2eadc;font-size:18px}.eco-cash-modal-head>button{width:32px;height:32px;border:1px solid rgba(255,255,255,.09);border-radius:8px;color:#a7a098;background:#1d1b1e;cursor:pointer;font-size:19px}.eco-cash-order-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.eco-cash-order-grid>section{min-width:0;padding:16px}.eco-cash-order-grid>section+section{border-left:1px solid rgba(255,255,255,.07)}.eco-cash-field{display:grid;gap:6px;margin-bottom:14px}.eco-cash-field>span,.eco-cash-item-row label>span,.eco-cash-form-bottom label>span,.eco-cash-simple-fields label>span{color:#7f7a73;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.eco-cash-field input,.eco-cash-item-row input,.eco-cash-item-row select,.eco-cash-form-bottom input,.eco-cash-form-bottom textarea,.eco-cash-simple-fields input{width:100%;border:1px solid rgba(255,255,255,.09);border-radius:7px;padding:10px 11px;color:#eee6dc;background:#101012;font:500 11px inherit}.eco-cash-field input:focus,.eco-cash-item-row input:focus,.eco-cash-item-row select:focus,.eco-cash-form-bottom input:focus,.eco-cash-form-bottom textarea:focus,.eco-cash-simple-fields input:focus{border-color:#a77928;outline:0;box-shadow:0 0 0 3px rgba(180,129,36,.08)}.eco-cash-combo{position:relative;display:grid;grid-template-columns:1fr 40px}.eco-cash-combo input{border-radius:7px 0 0 7px}.eco-cash-combo>button{border:1px solid rgba(255,255,255,.09);border-left:0;border-radius:0 7px 7px 0;color:#c79b48;background:#1b1813;cursor:pointer}.eco-cash-suggestions{position:absolute;z-index:4;top:calc(100% + 5px);right:0;left:0;overflow:auto;max-height:250px;border:1px solid rgba(215,170,82,.24);border-radius:8px;background:#1b1919;box-shadow:0 18px 48px rgba(0,0,0,.52)}.eco-cash-suggestions:empty{display:none}.eco-cash-suggestions button{display:grid;width:100%;gap:2px;border:0;border-bottom:1px solid rgba(255,255,255,.05);padding:9px 11px;color:#d9d1c5;background:transparent;cursor:pointer;text-align:left}.eco-cash-suggestions button:hover{background:rgba(213,166,73,.09)}.eco-cash-suggestions strong{font-size:10px}.eco-cash-suggestions small{color:#787269;font-size:8px}.eco-cash-suggestions p{margin:0;padding:11px;color:#7c776f;font-size:9px}.eco-cash-geocoder{color:#776d5a;font-size:8px}.eco-cash-order-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:17px 0}.eco-cash-order-stats span{display:grid;gap:5px;border:1px solid rgba(255,255,255,.06);border-radius:7px;padding:9px;color:#77716a;background:#111;font-size:8px}.eco-cash-order-stats b{color:#e3d8c6;font-size:11px}.eco-cash-attachments{display:grid;gap:8px;border:1px dashed rgba(216,173,85,.24);border-radius:9px;padding:14px;color:#827b70;background:rgba(216,173,85,.025);text-align:center}.eco-cash-attachments input{position:absolute;opacity:0;pointer-events:none}.eco-cash-attachments b{color:#d2a754;font-size:11px}.eco-cash-attachments small{overflow:hidden;color:#6f6962;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.eco-cash-items-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#887f73;font-size:9px;font-weight:700;text-transform:uppercase}.eco-cash-items-head small{color:#67615a;font-size:8px}.eco-cash-item-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 78px 30px;gap:7px;align-items:end;margin-bottom:8px}.eco-cash-item-row label{display:grid;gap:5px}.eco-cash-item-stock{display:grid;gap:5px;padding:0 3px 10px}.eco-cash-item-stock span{color:#77716a;font-size:8px}.eco-cash-item-stock strong{color:#e0d5c3;font-size:10px}.eco-cash-item-row>button{width:30px;height:35px;border:1px solid rgba(255,255,255,.07);border-radius:7px;color:#8d8177;background:#171619;cursor:pointer}.eco-cash-add-item{width:100%;min-height:35px;border:1px solid rgba(214,169,81,.18);border-radius:7px;color:#cba04e;background:#1b1812;cursor:pointer;font:600 10px inherit}.eco-cash-order-total{display:grid;grid-template-columns:1fr auto;gap:4px;margin-top:14px;border-top:1px solid rgba(255,255,255,.07);padding-top:14px}.eco-cash-order-total span{color:#81796f;font-size:9px;font-weight:700;text-transform:uppercase}.eco-cash-order-total strong{grid-row:1/3;grid-column:2;color:#efc065;font-size:24px}.eco-cash-order-total small{color:#68625b;font-size:8px}.eco-cash-order-total b{color:#a69d90}.eco-cash-form-bottom{display:grid;grid-template-columns:180px 1fr;gap:9px;margin-top:16px}.eco-cash-form-bottom label{display:grid;gap:5px}.eco-cash-form-bottom textarea{min-height:72px;resize:vertical}.eco-cash-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:13px 16px;border-top:1px solid rgba(255,255,255,.07)}.eco-cash-modal-actions button{min-height:36px;border:1px solid rgba(255,255,255,.1);border-radius:7px;padding:0 14px;color:#aaa39a;background:#1b1a1c;cursor:pointer;font:600 10px inherit}.eco-cash-modal-actions button[type=submit]{border-color:#9f7227;color:#171006;background:linear-gradient(180deg,#d2a248,#ad7925)}.eco-cash-modal>p[data-cash-form-feedback]{margin:0;padding:0 16px 13px;color:#716a62;font-size:8px;text-align:right}.eco-cash-modal>p[data-cash-form-feedback][data-tone=error]{color:#ed8178}.eco-cash-simple-fields{display:grid;gap:12px;padding:18px}.eco-cash-simple-fields label{display:grid;gap:6px}
.eco-cash-picker-backdrop{z-index:10050;background:rgba(5,4,4,.54)}.eco-cash-picker{width:min(640px,calc(100vw - 44px));max-height:calc(100vh - 62px);overflow:hidden;border:1px solid rgba(215,170,82,.28);border-radius:12px;background:#171619;box-shadow:0 30px 90px rgba(0,0,0,.72)}.eco-cash-picker>input{width:calc(100% - 28px);margin:14px;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:11px 12px;color:#eee6da;background:#101012;font:500 11px inherit}.eco-cash-picker>input:focus{border-color:#a77928;outline:0}.eco-cash-picker-list{overflow:auto;max-height:480px;border-top:1px solid rgba(255,255,255,.06)}.eco-cash-picker-list>button{display:grid;width:100%;gap:3px;border:0;border-bottom:1px solid rgba(255,255,255,.05);padding:11px 15px;color:#ded6ca;background:transparent;cursor:pointer;text-align:left}.eco-cash-picker-list>button:hover{background:rgba(216,173,85,.07)}.eco-cash-picker-list strong{font-size:11px}.eco-cash-picker-list small{color:#777069;font-size:8px}.eco-cash-no-results{padding:25px;color:#777169;text-align:center}.eco-cash-print-list{display:grid;gap:8px;padding:16px}.eco-cash-print-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:11px;background:#111}.eco-cash-print-list article>div{display:grid;gap:3px}.eco-cash-print-list strong{color:#ded6ca;font-size:11px}.eco-cash-print-list small{color:#777169;font-size:9px}.eco-cash-print-list button{min-height:32px;border:1px solid rgba(216,173,85,.27);border-radius:7px;padding:0 10px;color:#d8ad58;background:#211b12;cursor:pointer;font:600 9px inherit}
@media(max-width:1050px){.eco-cash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-cash-order-grid{grid-template-columns:1fr}.eco-cash-order-grid>section+section{border-top:1px solid rgba(255,255,255,.07);border-left:0}}
@media(max-width:720px){.eco-cash-head{align-items:flex-start;flex-direction:column;padding:13px 14px}.eco-cash-head-actions{width:100%}.eco-cash-head-actions button{flex:1}.eco-cash-tabs{padding-right:10px;padding-left:10px}.eco-cash-tabs button{padding:0 11px}.eco-cash-content{padding:12px 10px 24px}.eco-cash-metrics{grid-template-columns:1fr 1fr}.eco-cash-metrics article{min-height:86px;padding:12px}.eco-cash-metrics strong{font-size:18px}.eco-cash-card-head{align-items:flex-start;flex-direction:column}.eco-cash-card-head>div:last-child{width:100%;justify-content:space-between}.eco-cash-modal-backdrop,.eco-cash-picker-backdrop{padding:8px}.eco-cash-modal{width:100%;max-height:calc(100vh - 16px)}.eco-cash-item-row{grid-template-columns:minmax(0,1fr) 70px 62px 30px}.eco-cash-form-bottom{grid-template-columns:1fr}.eco-cash-search{align-items:stretch;flex-direction:column}.eco-cash-search input{max-width:none}}


/* September UI fixes: one calm focus state and text-selection-safe cash forms. */
.eco-cash-field input:focus,
.eco-cash-item-row input:focus,
.eco-cash-item-row select:focus,
.eco-cash-form-bottom input:focus,
.eco-cash-form-bottom textarea:focus,
.eco-cash-simple-fields input:focus,
.eco-cash-search input:focus,
.eco-cash-picker > input:focus,
.eco-cash-manual-total input:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.eco-cash-point-modal input,
.eco-cash-point-modal textarea,
.eco-cash-point-modal strong,
.eco-cash-point-modal small {
  user-select: text;
  -webkit-user-select: text;
}
/* Cash workflow refinements from the second review. */
.eco-cash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.eco-cash-modal{width:min(1120px,calc(100vw - 42px))}.eco-cash-item-row{grid-template-columns:minmax(190px,1fr) 92px 100px 72px 30px}.eco-cash-item-row label small{overflow:hidden;color:#706a62;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.eco-cash-inline-short{min-width:105px!important;text-transform:uppercase}.eco-cash-form-bottom input[type=date]{color-scheme:dark}.eco-cash-repeat-note{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 16px 0;border:1px solid rgba(210,163,73,.2);border-radius:8px;padding:10px 12px;color:#8e887f;background:rgba(210,163,73,.05);font-size:9px}.eco-cash-repeat-note strong{color:#d9ad58}.eco-cash-calendar-button{display:grid!important;height:auto!important;gap:2px;padding:7px 11px!important;text-align:left}.eco-cash-calendar-button strong{font-size:13px}.eco-cash-calendar-button small{color:#7d776e;font-size:8px}.eco-cash-counterparty-link{display:grid;width:100%;gap:2px;border:0;padding:0;color:inherit;background:transparent;cursor:pointer;text-align:left}.eco-cash-counterparty-link:hover strong{color:#e2b358}.eco-cash-history-modal{width:min(880px,calc(100vw - 42px))}.eco-cash-history-summary{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.eco-cash-history-summary>strong{color:#d7cfc3;font-size:12px}.eco-cash-history-summary button{min-height:34px;border:1px solid #a87927;border-radius:7px;padding:0 11px;color:#160f05;background:linear-gradient(180deg,#d4a54f,#ac7924);cursor:pointer;font:600 10px inherit}.eco-cash-history-status{display:inline-flex;border-radius:12px;padding:4px 8px;font-size:9px;font-weight:700}.eco-cash-history-status.is-paid{color:#75d59d;background:rgba(55,169,108,.12)}.eco-cash-history-status.is-debt{color:#f0a553;background:rgba(231,146,47,.12)}
.eco-cash-calendar{width:min(470px,calc(100vw - 32px));overflow:hidden;border:1px solid rgba(215,170,82,.28);border-radius:13px;color:#eae2d7;background:#151416;box-shadow:0 28px 90px rgba(0,0,0,.65)}.eco-cash-calendar-nav{display:grid;grid-template-columns:48px 1fr 48px;gap:8px;padding:12px 16px}.eco-cash-calendar-nav button{min-height:36px;border:1px solid rgba(255,255,255,.09);border-radius:7px;color:#c6bfb5;background:#1d1b1e;cursor:pointer;font:600 10px inherit}.eco-cash-calendar-nav button:hover{border-color:#987027;color:#efc36e}.eco-cash-calendar-week,.eco-cash-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:0 16px}.eco-cash-calendar-week span{padding:6px 0;color:#777169;font-size:9px;font-weight:700;text-align:center;text-transform:uppercase}.eco-cash-calendar-days{padding-bottom:14px}.eco-cash-calendar-days button{position:relative;display:grid;aspect-ratio:1;place-items:center;border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#d7cfc3;background:#111;cursor:pointer;font:600 11px inherit}.eco-cash-calendar-days button:hover{border-color:#a97a2b;color:#f2c873}.eco-cash-calendar-days button.is-muted{color:#514d48;background:#121113}.eco-cash-calendar-days button.is-today{box-shadow:inset 0 0 0 1px #a37831}.eco-cash-calendar-days button.is-selected{border-color:#c99b47;color:#151006;background:linear-gradient(180deg,#d8aa52,#ad7926)}.eco-cash-calendar-days button b{position:absolute;right:3px;bottom:3px;display:grid;min-width:15px;height:15px;place-items:center;border-radius:8px;color:#181006;background:#e3b35b;font-size:7px}.eco-cash-calendar-days button.is-selected b{color:#e8bd6d;background:#1a130a}.eco-cash-calendar>p{margin:0;padding:0 16px 14px;color:#706a62;font-size:8px}
@media(max-width:1050px){.eco-cash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.eco-cash-metrics{grid-template-columns:1fr}.eco-cash-item-row{grid-template-columns:1fr 1fr 70px 30px}.eco-cash-item-row>label:first-child{grid-column:1/-1}.eco-cash-item-stock{padding-bottom:10px}.eco-cash-repeat-note{align-items:flex-start;flex-direction:column;gap:4px}.eco-cash-history-summary{align-items:flex-start;flex-direction:column;gap:10px}}
.eco-cash-invoice-preview{width:min(820px,calc(100vw - 32px));max-height:calc(100vh - 30px);overflow:hidden;border:1px solid rgba(215,170,82,.28);border-radius:13px;color:#eae2d7;background:#151416;box-shadow:0 28px 90px rgba(0,0,0,.65)}.eco-cash-invoice-canvas{overflow:auto;max-height:calc(100vh - 180px);padding:16px;background:#29272a}.eco-cash-invoice-canvas img{display:block;width:min(100%,650px);height:auto;margin:0 auto;border-radius:2px;box-shadow:0 14px 40px rgba(0,0,0,.35)}.eco-cash-invoice-preview .eco-cash-modal-actions a{display:inline-flex;min-height:36px;align-items:center;border:1px solid #9f7227;border-radius:7px;padding:0 14px;color:#171006;background:linear-gradient(180deg,#d2a248,#ad7925);font:600 10px inherit;text-decoration:none}

/* Cash workflow refinements from the final PDF review. */
.eco-cash-date-actions{display:flex;align-items:stretch;gap:8px}.eco-cash-all-orders-button{min-height:48px!important}.eco-cash-all-orders-button.is-active{border-color:#b48531!important;color:#edc269!important;background:rgba(190,139,44,.13)!important}.eco-cash-sort{display:inline-flex;align-items:center;gap:6px;border:0;padding:0;color:inherit;background:transparent;cursor:pointer;font:inherit;letter-spacing:inherit;text-transform:inherit}.eco-cash-sort span{color:#5f5b55;font-size:10px}.eco-cash-sort:hover,.eco-cash-sort.is-active{color:#d4a955}.eco-cash-sort.is-active span{color:#d4a955}.eco-cash-product-short{display:inline-flex;border:1px solid rgba(214,169,81,.18);border-radius:6px;padding:5px 8px;color:#d1a44f;background:rgba(214,169,81,.06);font-size:10px;font-weight:700}.eco-cash-item-row select{appearance:none;-webkit-appearance:none;padding-right:36px;background-color:#101012;background-image:linear-gradient(45deg,transparent 50%,#b58a3b 50%),linear-gradient(135deg,#b58a3b 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-repeat:no-repeat;background-size:5px 5px}.eco-cash-item-row select:invalid{color:#79736a}.eco-cash-item-row select option{color:#eee6dc;background:#171619}.eco-cash-modal-actions button:disabled{cursor:wait;opacity:.58}
@media(max-width:720px){.eco-cash-date-actions{width:100%;align-items:stretch;flex-direction:column}.eco-cash-date-actions button{width:100%}}

/* Cash points now reuse the temporary-point workflow. */
.eco-cash-point-modal{width:min(1040px,calc(100vw - 42px))}.eco-cash-point-title{display:flex;align-items:center;gap:12px}.eco-cash-point-title i{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;color:#e0aa42;background:rgba(203,145,35,.16);font-size:13px;font-style:normal}.eco-cash-point-title h2{margin:0}.eco-cash-point-modal .eco-cash-order-grid{grid-template-columns:minmax(320px,.78fr) minmax(480px,1.22fr)}.eco-cash-point-modal .eco-cash-item-row{grid-template-columns:minmax(260px,1fr) 112px 34px;gap:10px;align-items:end}.eco-cash-point-modal .eco-cash-item-row>button{width:34px;height:38px}.eco-cash-point-modal .eco-cash-items-head{padding:0 4px}.eco-cash-point-modal .eco-cash-attachments{min-height:70px;align-content:center;margin-top:18px;cursor:pointer}.eco-cash-point-modal .eco-cash-attachments b{font-size:12px}.eco-cash-manual-total{display:grid;gap:7px;width:250px;margin:18px 0 0 auto}.eco-cash-manual-total span{color:#7f7a73;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.eco-cash-manual-total input{width:100%;border:1px solid rgba(255,255,255,.09);border-radius:7px;padding:12px;color:#eee6dc;background:#101012;font:600 16px inherit}.eco-cash-manual-total input:focus{border-color:#a77928;outline:0;box-shadow:0 0 0 3px rgba(180,129,36,.08)}.eco-cash-address-field{position:relative}.eco-cash-address-suggestions{position:absolute;z-index:8;top:66px;right:0;left:0;overflow:auto;max-height:230px;border:1px solid rgba(215,170,82,.24);border-radius:8px;background:#1b1919;box-shadow:0 18px 48px rgba(0,0,0,.52)}.eco-cash-address-suggestions:empty{display:none}.eco-cash-address-suggestions button{display:block;width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.05);padding:10px 11px;color:#d9d1c5;background:transparent;cursor:pointer;font:500 10px inherit;text-align:left}.eco-cash-address-suggestions button:hover{background:rgba(213,166,73,.09)}.eco-cash-address-suggestions p{margin:0;padding:11px;color:#7c776f;font-size:9px}.eco-cash-point-modal .eco-cash-form-bottom{grid-template-columns:220px 1fr}.eco-cash-point-modal .eco-cash-modal-actions{padding-top:18px;padding-bottom:18px}.eco-cash-point-modal .eco-cash-modal-actions button[type=submit]{min-width:175px}.eco-cash-point-modal .eco-cash-modal-actions button:not([type=submit]){min-width:140px}
@media(max-width:900px){.eco-cash-point-modal .eco-cash-order-grid{grid-template-columns:1fr}.eco-cash-point-modal .eco-cash-order-grid>section+section{border-top:1px solid rgba(255,255,255,.07);border-left:0}}
@media(max-width:720px){.eco-cash-point-modal .eco-cash-item-row{grid-template-columns:minmax(0,1fr) 86px 34px}.eco-cash-point-modal .eco-cash-form-bottom{grid-template-columns:1fr}.eco-cash-manual-total{width:100%}}

/* Cash instruction fixes: aligned navigation, automatic totals and order controls. */
.ecocrm-cash-button{display:flex!important;align-items:center!important;gap:12px!important}.ecocrm-cash-button .eco-cash-nav-icon{position:static!important;inset:auto!important;margin:0!important;transform:none!important}.eco-cash-order-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.eco-cash-edit-button,.eco-cash-delete-button{min-height:29px;border:1px solid rgba(255,255,255,.1);border-radius:7px;padding:0 8px;color:#a9a198;background:#171619;cursor:pointer;font:600 9px inherit}.eco-cash-edit-button:hover{border-color:rgba(216,173,85,.4);color:#e5bb65}.eco-cash-delete-button{border-color:rgba(201,91,79,.18);color:#ba756d}.eco-cash-delete-button:hover{border-color:rgba(221,101,88,.48);color:#f0968c;background:rgba(139,49,42,.12)}.eco-cash-order-actions button:disabled{cursor:wait;opacity:.55}.eco-cash-manual-total input[readonly]{border-color:rgba(216,173,85,.22);color:#efc36b;background:rgba(209,158,59,.055);cursor:default}.eco-cash-table-wrap table{min-width:1080px}

/* Stable cash order layout with an editable unit price. */
.eco-cash-point-modal{width:min(1180px,calc(100vw - 42px))}.eco-cash-point-modal .eco-cash-order-grid{grid-template-columns:minmax(320px,.72fr) minmax(620px,1.28fr)}.eco-cash-point-modal .eco-cash-item-row{grid-template-columns:minmax(250px,1fr) 128px 105px 34px;gap:10px;align-items:end}.eco-cash-point-modal .eco-cash-item-row label{min-width:0;grid-template-rows:auto 40px 12px}.eco-cash-point-modal .eco-cash-item-row label small{display:block;min-height:12px;line-height:12px}.eco-cash-point-modal .eco-cash-item-row input,.eco-cash-point-modal .eco-cash-item-row select{height:40px;min-width:0}.eco-cash-field-spacer{visibility:hidden}.eco-cash-loading-modal>button{min-height:36px;border:1px solid #9f7227;border-radius:7px;padding:0 16px;color:#171006;background:linear-gradient(180deg,#d2a248,#ad7925);cursor:pointer;font:600 10px inherit}
@media(max-width:1020px){.eco-cash-point-modal .eco-cash-order-grid{grid-template-columns:1fr}.eco-cash-point-modal .eco-cash-order-grid>section+section{border-top:1px solid rgba(255,255,255,.07);border-left:0}}
@media(max-width:720px){.eco-cash-point-modal .eco-cash-item-row{grid-template-columns:1fr 1fr 34px}.eco-cash-point-modal .eco-cash-item-row>label:first-child{grid-column:1/-1}.eco-cash-point-modal .eco-cash-item-row>button{grid-column:3;grid-row:2}}

/* Mobile cash order list and invoice viewer. */
.eco-cash-mobile-orders{display:none}.eco-cash-mobile-order{display:grid;gap:11px;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px;background:#141315}.eco-cash-mobile-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.eco-cash-mobile-order-head button{border:0;padding:0;color:#e5b85c;background:transparent;font:700 14px inherit}.eco-cash-mobile-order-head span,.eco-cash-mobile-order>small{color:#7e7870;font-size:10px}.eco-cash-mobile-order>strong{color:#f0e8dc;font-size:14px}.eco-cash-mobile-order-items{color:#b8b0a5;font-size:11px}.eco-cash-mobile-order-items small{display:block;margin-top:3px;color:#756f68}.eco-cash-mobile-order-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.07);padding-top:11px}.eco-cash-mobile-order-total span{color:#817a72;font-size:10px;text-transform:uppercase}.eco-cash-mobile-order-total b{color:#efc065;font-size:18px}.eco-cash-mobile-order .eco-cash-status-switch{display:grid;grid-template-columns:1fr 1fr}.eco-cash-mobile-order .eco-cash-status-switch button{min-height:44px;font-size:12px}.eco-cash-mobile-order-actions{display:grid;grid-template-columns:1.35fr 1fr;gap:8px}.eco-cash-mobile-order-actions button{min-height:44px;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:0 10px;color:#c6beb2;background:#1b1a1c;font:600 11px inherit}.eco-cash-mobile-order-actions .eco-cash-mobile-invoice{border-color:#9f7227;color:#171006;background:linear-gradient(180deg,#d2a248,#ad7925)}
@media(max-width:720px){.eco-cash-orders-table{display:none}.eco-cash-mobile-orders{display:grid;gap:10px;padding:10px}.eco-cash-card-head .is-primary{width:100%;min-height:44px}.eco-cash-invoice-preview{width:100%;max-height:calc(100vh - 16px)}.eco-cash-invoice-canvas{max-height:calc(100vh - 190px);padding:8px}.eco-cash-invoice-preview .eco-cash-modal-head h2{font-size:14px}.eco-cash-invoice-preview .eco-cash-modal-actions{display:grid;grid-template-columns:1fr 1fr}.eco-cash-invoice-preview .eco-cash-modal-actions button,.eco-cash-invoice-preview .eco-cash-modal-actions a{justify-content:center;min-height:44px}.eco-cash-card-head>button{width:100%;min-height:44px}}

/* Cash section inside the native mobile shell. */
@media(max-width:900px){.m-shell.eco-cash-mobile-open{background:#121113}.m-shell>.ecocrm-cash--mobile{flex:1 1 auto;width:100%;min-height:0;height:auto;padding:10px 10px 7px;background:#121113}.m-shell>.ecocrm-cash--mobile.is-open{display:block}.ecocrm-cash--mobile .eco-cash-shell{overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:radial-gradient(circle at 100% 0%,rgba(205,154,56,.08),transparent 38%),#1a1917}.ecocrm-cash--mobile .eco-cash-head{min-height:auto}.ecocrm-cash--mobile .eco-cash-head h1{font-size:21px}.ecocrm-cash--mobile .eco-cash-content{overscroll-behavior:contain}}

/* Point names remain selectable without starting a drag action. */
.kp-name{-webkit-user-select:text!important;user-select:text!important;cursor:text}

/* Cash customer contacts: compact on desktop, readable and editable on phones. */
.eco-cash-counterparty-actions{display:flex;flex-wrap:wrap;gap:8px}.eco-cash-counterparty-actions button,.eco-cash-history-summary>button{min-height:38px;border:1px solid rgba(216,173,85,.3);border-radius:7px;padding:8px 12px;color:#e2c48a;background:#211c15;cursor:pointer}.eco-cash-contact-preview,.eco-cash-counterparty-details{display:grid;gap:6px;margin:12px 0;color:#b6afa3;font-size:12px;overflow-wrap:anywhere}.eco-cash-contact-preview strong{color:#e6c891}.eco-cash-contact-preview small,.eco-cash-contact-hint{color:#968d7d;font-size:11px;line-height:1.5}.eco-cash-counterparty-details{padding:0 20px 10px}.eco-cash-counterparty-modal .eco-cash-simple-fields{overflow:visible}.eco-cash-counterparty-modal .eco-cash-address-suggestions{top:62px}.eco-cash-counterparty-modal input{box-sizing:border-box;min-width:0}.eco-cash-history-summary{flex-wrap:wrap}.eco-cash-counterparties-table table{min-width:700px}.eco-cash-counterparties-table td{overflow-wrap:anywhere}.eco-cash-counterparties-table td:first-child{width:44%}.eco-cash-counterparties-table td:nth-child(2){width:34%}
@media(max-width:720px){.eco-cash-counterparties-table table,.eco-cash-counterparties-table tbody{display:block;min-width:0}.eco-cash-counterparties-table thead{display:none}.eco-cash-counterparties-table tr{display:grid;padding:10px;border-bottom:1px solid rgba(255,255,255,.09)}.eco-cash-counterparties-table td,.eco-cash-counterparties-table td:first-child,.eco-cash-counterparties-table td:nth-child(2){display:block;width:auto;padding:6px;border:0}.eco-cash-counterparty-actions button{flex:1;min-height:44px}.eco-cash-counterparty-modal{width:calc(100vw - 20px)}.eco-cash-contact-preview{font-size:13px}}

.eco-cash-global-modal-host input:focus,
.eco-cash-global-modal-host textarea:focus,
.eco-cash-global-modal-host select:focus,
.eco-cash-search input:focus {
  outline: 0 !important;
  box-shadow: none !important;
}
