#erp-cash-movement-button.erp-cash-movement-button{display:inline-flex;height:40px;align-items:center;justify-content:center;gap:8px;border:1px solid #c7d2fe;border-radius:16px;background:#eef2ff;padding:0 12px;color:#4338ca;font-size:12px;font-weight:900;line-height:1;box-shadow:0 1px 2px rgba(15,23,42,.06);transition:border-color .18s ease,background .18s ease,transform .18s ease,color .18s ease}
#erp-cash-movement-button.erp-cash-movement-button:hover{border-color:#818cf8;background:#e0e7ff;color:#312e81;transform:translateY(-1px)}
#erp-cash-movement-button .erp-cash-movement-button-icon{display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:7px;background:#4f46e5;color:#fff;font-size:14px;font-weight:900}
.erp-cash-movement-overlay{position:fixed;inset:0;z-index:1600;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.68);backdrop-filter:blur(6px)}
.erp-cash-movement-dialog{width:min(610px,96vw);max-height:calc(100dvh - 28px);overflow:auto;border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.38)}
.erp-cash-movement-header{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid #e2e8f0;padding:20px 22px}
.erp-cash-movement-icon{display:flex;width:46px;height:46px;flex:none;align-items:center;justify-content:center;border-radius:15px;background:#eef2ff;color:#4f46e5;font-size:24px;font-weight:950}
.erp-cash-movement-heading{min-width:0;flex:1}.erp-cash-movement-heading p{margin:0;color:#4f46e5;font-size:10px;font-weight:950;letter-spacing:.16em}.erp-cash-movement-heading h2{margin:3px 0 0;color:#0f172a;font-size:21px;line-height:1.15;font-weight:950}.erp-cash-movement-heading span{display:block;margin-top:5px;color:#64748b;font-size:12px;font-weight:650}
.erp-cash-movement-close{display:flex;width:38px;height:38px;flex:none;align-items:center;justify-content:center;border:0;border-radius:13px;background:#f1f5f9;color:#64748b;font-size:24px;cursor:pointer}.erp-cash-movement-close:hover{background:#e2e8f0;color:#0f172a}
.erp-cash-movement-form{display:grid;gap:16px;padding:20px 22px 22px}.erp-cash-movement-types{display:grid;grid-template-columns:1fr 1fr;gap:10px}.erp-cash-movement-types button{display:flex;min-height:76px;flex-direction:column;align-items:flex-start;justify-content:center;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:12px 15px;text-align:left;cursor:pointer;transition:.18s ease}.erp-cash-movement-types button strong{color:#0f172a;font-size:14px;font-weight:950}.erp-cash-movement-types button span{margin-top:3px;color:#64748b;font-size:11px;font-weight:650}.erp-cash-movement-types button.is-active{border-color:#6366f1;background:#eef2ff;box-shadow:0 0 0 3px rgba(99,102,241,.11)}.erp-cash-movement-types button.is-active strong{color:#3730a3}
.erp-cash-movement-available{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbeafe;border-radius:16px;background:#eff6ff;padding:11px 14px}.erp-cash-movement-available span{color:#475569;font-size:11px;font-weight:800}.erp-cash-movement-available strong{color:#1e3a8a;font-size:16px;font-weight:950}
.erp-cash-movement-field{display:grid;gap:6px}.erp-cash-movement-field>span{color:#334155;font-size:11px;font-weight:900}.erp-cash-movement-field input,.erp-cash-movement-field textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:15px;background:#fff;padding:11px 13px;color:#0f172a;font:700 14px/1.4 Arial,sans-serif;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.erp-cash-movement-field textarea{min-height:84px;resize:vertical}.erp-cash-movement-field input:focus,.erp-cash-movement-field textarea:focus{border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.12)}.erp-cash-movement-field small{color:#64748b;font-size:10px;font-weight:600}.erp-cash-movement-amount-wrap{position:relative}.erp-cash-movement-amount-wrap b{position:absolute;left:14px;top:50%;z-index:1;transform:translateY(-50%);color:#475569;font-size:18px}.erp-cash-movement-amount-wrap input{height:52px;padding-left:34px;font-size:20px;font-weight:950}
.erp-cash-movement-error{border:1px solid #fecaca;border-radius:14px;background:#fef2f2;padding:10px 12px;color:#b91c1c;font-size:12px;font-weight:800}
.erp-cash-movement-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e2e8f0;padding-top:16px}.erp-cash-movement-actions button{height:44px;border-radius:14px;padding:0 18px;font-size:13px;font-weight:950;cursor:pointer}.erp-cash-movement-cancel{border:1px solid #cbd5e1;background:#fff;color:#475569}.erp-cash-movement-submit{border:0;background:#0f172a;color:#fff;box-shadow:0 8px 20px rgba(15,23,42,.18)}.erp-cash-movement-submit:hover{background:#4338ca}.erp-cash-movement-submit:disabled{cursor:wait;opacity:.6}
.erp-cash-movement-toast{position:fixed;right:22px;bottom:22px;z-index:1700;max-width:min(440px,calc(100vw - 32px));transform:translateY(18px);border-radius:16px;padding:13px 16px;color:#fff;font-size:13px;font-weight:850;opacity:0;box-shadow:0 18px 50px rgba(15,23,42,.25);transition:.2s ease}.erp-cash-movement-toast.is-visible{transform:translateY(0);opacity:1}.erp-cash-movement-toast.is-success{background:#047857}.erp-cash-movement-toast.is-error{background:#b91c1c}.erp-cash-movement-modal-open{overflow:hidden!important}
@media(max-width:740px){#erp-cash-movement-button .erp-cash-movement-button-label{display:none}#erp-cash-movement-button.erp-cash-movement-button{width:40px;padding:0}.erp-cash-movement-types{grid-template-columns:1fr}.erp-cash-movement-actions{flex-direction:column-reverse}.erp-cash-movement-actions button{width:100%}.erp-cash-movement-header,.erp-cash-movement-form{padding-left:16px;padding-right:16px}}


.erp-cash-history-overlay,.erp-cash-history-detail-overlay{position:fixed;inset:0;z-index:1750;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,42,.72);backdrop-filter:blur(7px)}
.erp-cash-history-dialog{display:flex;width:min(1500px,97vw);max-height:calc(100dvh - 24px);flex-direction:column;overflow:hidden;border-radius:28px;background:#fff;box-shadow:0 34px 100px rgba(15,23,42,.42)}
.erp-cash-history-header{display:flex;align-items:center;gap:13px;border-bottom:1px solid #e2e8f0;padding:17px 20px;background:#fff}
.erp-cash-history-header-icon{display:flex;width:44px;height:44px;flex:none;align-items:center;justify-content:center;border-radius:14px;background:#eef2ff;color:#4f46e5;font-size:23px;font-weight:950}
.erp-cash-history-heading{min-width:0;flex:1}.erp-cash-history-heading p{margin:0;color:#4f46e5;font-size:9px;font-weight:950;letter-spacing:.17em}.erp-cash-history-heading h2{margin:2px 0 0;color:#0f172a;font-size:21px;line-height:1.1;font-weight:950}.erp-cash-history-heading span{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:700}
.erp-cash-history-branch{display:grid;min-width:170px;gap:2px;border:1px solid #c7d2fe;border-radius:14px;background:#eef2ff;padding:8px 12px;text-align:right}.erp-cash-history-branch small{color:#6366f1;font-size:8px;font-weight:950;letter-spacing:.16em}.erp-cash-history-branch strong{overflow:hidden;color:#312e81;font-size:12px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.erp-cash-history-close{display:flex;width:38px;height:38px;flex:none;align-items:center;justify-content:center;border:0;border-radius:13px;background:#f1f5f9;color:#64748b;font-size:24px;cursor:pointer}.erp-cash-history-close:hover{background:#e2e8f0;color:#0f172a}
.erp-cash-history-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0;background:#f8fafc;padding:8px 20px 0}.erp-cash-history-tabs button{height:42px;border:0;border-bottom:3px solid transparent;background:transparent;padding:0 18px;color:#64748b;font-size:12px;font-weight:950;cursor:pointer}.erp-cash-history-tabs button.is-active{border-bottom-color:#4f46e5;color:#312e81}
.erp-cash-history-content{min-height:0;flex:1;overflow:auto;padding:16px 20px 22px;background:#f8fafc}
.erp-cash-history-filters{display:grid;grid-template-columns:150px 150px minmax(190px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:end;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:12px}.erp-cash-history-filters label{display:grid;gap:5px}.erp-cash-history-filters label[hidden]{display:none}.erp-cash-history-filters label span{color:#64748b;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.erp-cash-history-filters input,.erp-cash-history-filters select{height:40px;min-width:0;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:0 11px;color:#0f172a;font:800 12px Arial,sans-serif;outline:none}.erp-cash-history-filters input:focus,.erp-cash-history-filters select:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.erp-cash-history-filter-actions{display:flex;gap:7px}.erp-cash-history-filter-actions button{height:40px;border-radius:12px;padding:0 13px;font-size:11px;font-weight:950;cursor:pointer}.erp-cash-history-filter-actions button:first-child{border:0;background:#0f172a;color:#fff}.erp-cash-history-filter-actions button:last-child{border:1px solid #cbd5e1;background:#fff;color:#475569}.erp-cash-history-filter-actions button:disabled{cursor:wait;opacity:.55}
.erp-cash-history-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 2px 9px}.erp-cash-history-section-title strong{color:#0f172a;font-size:15px;font-weight:950}.erp-cash-history-section-title span{border-radius:999px;background:#e0e7ff;padding:6px 10px;color:#4338ca;font-size:10px;font-weight:900}
.erp-cash-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.erp-cash-history-summary-card{display:grid;gap:4px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;padding:11px 13px}.erp-cash-history-summary-card span{color:#64748b;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.erp-cash-history-summary-card strong{color:#0f172a;font-size:17px;font-weight:950}.erp-cash-history-summary-card.is-income{border-color:#a7f3d0;background:#ecfdf5}.erp-cash-history-summary-card.is-income strong{color:#047857}.erp-cash-history-summary-card.is-withdrawal{border-color:#fecaca;background:#fef2f2}.erp-cash-history-summary-card.is-withdrawal strong{color:#b91c1c}.erp-cash-history-summary-card.is-warning{border-color:#fde68a;background:#fffbeb}.erp-cash-history-summary-card.is-warning strong{color:#b45309}
.erp-cash-history-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:17px;background:#fff}.erp-cash-history-table{width:100%;min-width:1180px;border-collapse:collapse;text-align:left}.erp-cash-history-table th{position:sticky;top:0;z-index:1;background:#f1f5f9;padding:10px 11px;color:#64748b;font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.erp-cash-history-table td{border-top:1px solid #eef2f7;padding:10px 11px;color:#334155;font-size:11px;font-weight:700;vertical-align:top}.erp-cash-history-table tbody tr:hover{background:#f8fafc}.erp-cash-history-table td>strong{display:block;color:#0f172a;font-weight:950}.erp-cash-history-table td>small{display:block;margin-top:3px;color:#94a3b8;font-size:9px;font-weight:700}.erp-cash-history-table .is-number{text-align:right;white-space:nowrap}.erp-cash-history-table .is-actions{text-align:right}.erp-cash-history-table .is-actions button{height:32px;border:1px solid #c7d2fe;border-radius:10px;background:#eef2ff;padding:0 10px;color:#4338ca;font-size:10px;font-weight:950;cursor:pointer}.erp-cash-history-table .is-income{color:#047857}.erp-cash-history-table .is-withdrawal{color:#b91c1c}.erp-cash-history-table .is-balanced{color:#047857}.erp-cash-history-table .is-warning{color:#b45309}.erp-cash-history-observation{min-width:240px;max-width:420px;white-space:normal}
.erp-cash-history-status,.erp-cash-history-type{display:inline-flex;margin-top:4px;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:950;letter-spacing:.06em}.erp-cash-history-status.is-open{background:#dcfce7;color:#047857}.erp-cash-history-status.is-closed{background:#e2e8f0;color:#475569}.erp-cash-history-type.is-income{background:#dcfce7;color:#047857}.erp-cash-history-type.is-withdrawal{background:#fee2e2;color:#b91c1c}
.erp-cash-history-empty{padding:42px!important;text-align:center!important;color:#94a3b8!important;font-size:12px!important;font-weight:850!important}.erp-cash-history-loading{display:flex;min-height:280px;align-items:center;justify-content:center;gap:12px;border:1px dashed #cbd5e1;border-radius:18px;background:#fff;color:#64748b}.erp-cash-history-loading span{width:23px;height:23px;border:3px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:erp-cash-history-spin .8s linear infinite}.erp-cash-history-loading strong{font-size:12px}.erp-cash-history-error{margin:20px;border:1px solid #fecaca;border-radius:16px;background:#fef2f2;padding:16px;color:#b91c1c;font-size:12px;font-weight:850}@keyframes erp-cash-history-spin{to{transform:rotate(360deg)}}
.erp-cash-history-detail-overlay{z-index:1800}.erp-cash-history-detail-dialog{display:flex;width:min(1180px,96vw);max-height:calc(100dvh - 28px);flex-direction:column;overflow:hidden;border-radius:26px;background:#fff;box-shadow:0 34px 100px rgba(15,23,42,.45)}.erp-cash-history-detail-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e8f0;padding:18px 20px}.erp-cash-history-detail-header p{margin:0;color:#4f46e5;font-size:9px;font-weight:950;letter-spacing:.15em}.erp-cash-history-detail-header h2{margin:3px 0 0;color:#0f172a;font-size:20px;font-weight:950}.erp-cash-history-detail-header span{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:700}.erp-cash-history-detail-header button{width:38px;height:38px;border:0;border-radius:12px;background:#f1f5f9;color:#64748b;font-size:23px;cursor:pointer}.erp-cash-history-detail-body{min-height:0;overflow:auto;padding:16px 20px;background:#f8fafc}.erp-cash-history-detail-body .erp-cash-history-summary{grid-template-columns:repeat(7,minmax(0,1fr))}.erp-cash-history-detail-section{margin-top:14px}.erp-cash-history-detail-section h3{margin:0 0 8px;color:#0f172a;font-size:14px;font-weight:950}.erp-cash-history-detail-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e2e8f0;padding:14px 20px}.erp-cash-history-detail-actions button{height:42px;border-radius:13px;padding:0 17px;font-size:12px;font-weight:950;cursor:pointer}.erp-cash-history-detail-actions button:first-child{border:1px solid #cbd5e1;background:#fff;color:#475569}.erp-cash-history-detail-actions button:last-child{border:0;background:#0f172a;color:#fff}
.erp-cash-history-modal-open{overflow:hidden!important}
@media(max-width:1100px){.erp-cash-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-cash-history-filter-actions{grid-column:1/-1}.erp-cash-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-cash-history-detail-body .erp-cash-history-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.erp-cash-history-overlay{padding:6px}.erp-cash-history-dialog{max-height:calc(100dvh - 8px);border-radius:20px}.erp-cash-history-header{align-items:flex-start;padding:14px}.erp-cash-history-header-icon{display:none}.erp-cash-history-heading h2{font-size:18px}.erp-cash-history-branch{min-width:110px;padding:7px 9px}.erp-cash-history-tabs{padding-left:8px;padding-right:8px}.erp-cash-history-tabs button{flex:1;padding:0 7px;font-size:10px}.erp-cash-history-content{padding:10px}.erp-cash-history-filters{grid-template-columns:1fr}.erp-cash-history-filter-actions{grid-column:auto}.erp-cash-history-filter-actions button{flex:1}.erp-cash-history-summary{grid-template-columns:1fr 1fr}.erp-cash-history-detail-body .erp-cash-history-summary{grid-template-columns:1fr 1fr}.erp-cash-history-section-title{align-items:flex-start;flex-direction:column}.erp-cash-history-detail-overlay{padding:5px}}
