/* v189: safe buttons, no React DOM relocation; preserves trade load history. */
.k188-action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;align-items:stretch!important}
.k188-action{box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:58px!important;height:auto!important;padding:10px 12px!important;border:1px solid #b6c9e3!important;border-radius:11px!important;background:#eef4ff!important;color:#204978!important;font-size:14px!important;font-weight:750!important;line-height:1.28!important;box-shadow:0 1px 2px #14284914!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;white-space:normal!important;cursor:pointer!important}
.k188-action:hover,.k188-action:focus-visible{background:#e0edff!important;outline:2px solid #78a6df;outline-offset:1px}
.k188-action :is(svg,img){width:18px!important;height:18px!important;flex:0 0 18px!important}
.k188-overlay[hidden],.k188-edit-wrap[hidden],#k188-delete[hidden]{display:none!important}
.k188-overlay{position:fixed;z-index:2147483200;inset:0;background:#10243ab8;display:grid;place-items:center;padding:12px;font:14px/1.45 system-ui,Arial,sans-serif;color:#1a3653}
.k188-modal{width:min(660px,100%);max-height:94dvh;overflow:hidden;display:flex;flex-direction:column;background:#fff;border-radius:17px;box-shadow:0 20px 65px #07182b70}
.k188-head{padding:17px 20px;background:#143b60;color:white;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:17px}
.k188-head button{border:0;border-radius:8px;padding:8px 13px;background:#ffffff2a;color:#fff;cursor:pointer}
.k188-content{overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:18px}
.k188-today{border:1px solid #c9daee;background:#f1f7ff;padding:15px;border-radius:12px}
.k188-today-label{font-size:13px;color:#567494;font-weight:700;margin-bottom:7px}.k188-today-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.k188-today-money{font-size:25px;font-weight:800;color:#163d68}.k188-today-actions,.k188-edit-actions{display:flex;gap:8px;flex-wrap:wrap}
.k188-today-actions button,.k188-edit-actions button,.k188-filter button{padding:10px 12px;border-radius:9px;font-size:13px;cursor:pointer;font-weight:750}
.k188-primary{border:1px solid #1e639e;background:#1e639e;color:white}.k188-secondary{border:1px solid #b8cce0;color:#2d5175;background:#fff}.k188-danger{background:#fff4f3;color:#b42e23;border:1px solid #e6b2ac}
.k188-edit-wrap{margin-top:13px;border-top:1px solid #cedbe8;padding-top:12px;display:flex;flex-direction:column;gap:12px}.k188-field{display:flex;flex-direction:column;gap:6px;font-weight:700}.k188-field input{width:100%;padding:12px;border:1px solid #91b5d8;border-radius:9px;font-size:20px;box-sizing:border-box}
.k188-filter{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}.k188-filter label{display:flex;flex-direction:column;gap:7px;font-weight:700}.k188-filter select{border:1px solid #bfcede;padding:10px;border-radius:8px;color:#1a3653;background:white;min-width:175px}
.k188-history{display:flex;flex-direction:column;gap:10px}.k188-day{border:1px solid #dce5ef;border-radius:11px;overflow:hidden}.k188-day-today{border-color:#77add8}.k188-day-head{background:#f2f6fa;padding:10px 12px;display:flex;justify-content:space-between;gap:8px;color:#183e65}
.k188-history-line{padding:10px 12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid #edf1f6}.k188-history-line span{flex:1;min-width:120px}.k188-history-line b{white-space:nowrap}.k188-history-line small{font-size:11px;background:#eef1f5;border-radius:5px;color:#597187;padding:2px 5px}
.k188-empty{padding:22px;text-align:center;color:#6b7e90;background:#f7f9fb;border-radius:10px}.k188-muted{font-size:12px;color:#5e7184;line-height:1.5;margin:0}.k188-status{background:#f1f5f9;border-top:1px solid #dce5ef;color:#245c77;padding:11px 18px;min-height:20px;font-size:12px;margin:0}.k188-error{color:#b42318!important}.k188-overlay button:disabled{opacity:.5;cursor:wait}
@media(max-width:700px){.k188-action{min-height:56px!important;padding:8px 5px!important;font-size:12px!important}.k188-modal{max-height:96dvh}.k188-content{padding:13px}.k188-today-money{font-size:23px}.k188-today-row{align-items:flex-start}}
.k188-action-row > *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}


/* CRM v193. Geometry is forced once through CSSOM important declarations
   because production has older conflicting grid rules. This sheet contains
   only appearance fallbacks and the original stock-history modal styles. */
.day-work-actions.k193-ready > [data-k193-role="reports"] :is(svg,span){color:#fff!important;stroke:#fff!important}
.day-work-actions.k193-ready > [data-k193-role="stock"] .k190-stock-label{white-space:normal!important;min-width:0!important}
.day-work-actions.k193-ready > [data-k193-role="stock"] .k190-stock-label span{display:block!important;white-space:normal!important}
.day-work-actions.k193-ready > :is(button,[role="button"])[data-k193-role] :is(svg,img){width:19px!important;height:19px!important;flex:0 0 19px!important}
