:root{--bg:#fbf4df;--surface:#fff;--surface-soft:#fff8e8;--text:#1d1b18;--muted:#6f675a;--border:#ded6c8;--border-strong:#c79b2e;--accent:#c79b2e;--accent-strong:#7a5607;--accent-soft:#fff0bc;--sidebar:#111;--warning:#b45309;--danger:#b42318;--success:#2f7d44;--shadow:0 14px 34px #14120f14;--shadow-soft:0 8px 20px #14120f0f;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{caret-color:#0000;background:radial-gradient(circle at 0 0,#ffd84f47,#0000 34%),linear-gradient(#fff7e3 0%,#f8ecd0 100%);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,[role=button]{-webkit-user-select:none;user-select:none}input,textarea,[contenteditable=true],[contenteditable=plaintext-only]{caret-color:auto}a{color:inherit;text-decoration:none}.test-environment-badge{z-index:10000;color:#fff;letter-spacing:.08em;pointer-events:none;background:#dc2626;border:2px solid #7f1d1d;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:900;line-height:1;position:fixed;top:8px;left:50%;transform:translate(-50%);box-shadow:0 5px 16px #7f1d1d52}.app-shell{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#eeeee8;scrollbar-width:thin;scrollbar-color:#50524b transparent;background:#252624;border-right:1px solid #353632;height:100vh;padding:20px 16px;position:sticky;top:0;overflow-y:auto;box-shadow:4px 0 18px #1416120f}.brand{align-items:center;gap:12px;min-height:64px;display:flex}.brand-wide{justify-content:flex-start;padding:4px 10px 12px}.sidebar .brand-wide{border-bottom:1px solid #ebecdf17;margin-bottom:8px;padding:8px 10px 18px}.sidebar .sidebar-product-name span{color:#a5a79b;letter-spacing:.2em;font-size:10px}.sidebar-logo{object-fit:contain;width:54px;height:54px;display:block}.sidebar-product-name strong{letter-spacing:-.02em;font-size:20px}.sidebar-product-name span{letter-spacing:.16em;text-transform:uppercase;margin-top:2px;font-size:12px;font-weight:800}.brand strong,.brand span{display:block}.brand strong{color:#fff6dc;font-size:16px}.brand span{color:#d7c394;font-size:13px}.metric-icon,.module-icon{color:#211403;background:linear-gradient(#ffffff94,#0000 38%),linear-gradient(145deg,#fff3a6 0%,#ffd84f 36%,#f2b705 72%,#d89a00 100%);border-radius:10px;flex:none;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 1px #ffffffbf,0 10px 22px #f2b70542}.nav-list{gap:4px;margin-top:24px;display:grid}.nav-item{color:#c8cac1;border:1px solid #0000;border-radius:8px;align-items:center;gap:11px;min-height:44px;padding:5px 10px;font-size:13px;transition:background-color .16s,border-color .16s,color .16s;display:flex;position:relative}.nav-icon{color:#a7ab9f;flex:0 0 30px;place-items:center;width:30px;height:30px;display:grid}.nav-item:hover{color:#f3f3ed;background:#2e302b}.nav-item.active{color:#f6f3e8;background:#363831;font-weight:600}.nav-item.active:before{content:"";background:#d7b86d;border-radius:3px;width:3px;height:20px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.nav-item.active .nav-icon{color:#ddc17b}.nav-item:hover:not(.active) .nav-icon{color:#d6d9cc}.nav-item:focus-visible{outline-offset:2px;outline:2px solid #f3ce71}@media (prefers-reduced-motion:reduce){.nav-item{transition:none}}.main-panel{min-width:0}.topbar{z-index:10;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fff8e8e6;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:72px;padding:14px 28px;display:grid;position:sticky;top:0}.topbar-rate-card{flex:0 0 150px;min-height:48px}.topbar-rate-card span,.topbar-rate-card strong,.topbar-rate-card small{white-space:nowrap;display:block}.topbar-rate-card span{line-height:1.1}.topbar-rate-card strong{margin-top:3px;line-height:1.15}.topbar-rate-card small{line-height:1.15}.topbar-rate-card.muted strong{color:var(--muted);font-weight:700}.search-box,.user-chip,.compact-search{border:1px solid var(--border);color:var(--muted);background:#fffdf7f5;align-items:center;display:flex}.search-box input,.compact-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.user-chip{background:var(--surface);white-space:nowrap;border-radius:10px;gap:8px;min-height:40px;padding:0 12px;font-size:14px}.icon-button,.primary-button,.secondary-button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;font-weight:700;display:inline-flex}.icon-button{background:var(--surface);border-color:var(--border);width:40px;color:var(--text)}.icon-button:hover,.secondary-button:hover{border-color:var(--border-strong);background:#fff7e2}.primary-button{color:#211403;text-shadow:none;background:linear-gradient(#ffffff8c,#0000 42%),linear-gradient(145deg,#fff3a6 0%,#ffd84f 34%,#f2b705 72%,#dca000 100%);border-color:#c79b2eb8;padding:0 16px;box-shadow:inset 0 1px #ffffffb8,0 8px 18px #f2b70542}.primary-button:hover{background:linear-gradient(#ffffffa6,#0000 42%),linear-gradient(145deg,#fff8c7 0%,#ffe06a 34%,#f6c21a 72%,#e4a900 100%);box-shadow:inset 0 1px #fffc,0 10px 24px #f6c21a57}.primary-button:disabled{opacity:.72;cursor:not-allowed}.secondary-button{background:var(--surface);border-color:var(--border);color:var(--text);padding:0 14px}.product-delete-button{color:var(--danger);border-color:#b423184d}.product-delete-button:hover{color:#8f1c13;background:#fff1eb;border-color:#b423188c}.page-content{width:min(1280px,100%);margin:0 auto;padding:28px}.page-heading,.module-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.page-heading h1,.module-header h1,.login-form h1{letter-spacing:0;color:#1f1409;margin:0;font-size:28px;line-height:1.15}.page-heading p,.module-header p,.login-form p{color:var(--muted);margin:6px 0 0}.quick-actions{flex-wrap:wrap;gap:10px;display:flex}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card,.panel-section{border:1px solid var(--border);box-shadow:var(--shadow);background:linear-gradient(#ffffffdb,#fff8e8f5),#fffaf0;border-radius:8px}.panel-section{min-width:0;padding:18px}.panel-section.wide{grid-column:1/-1}.section-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-title h2{color:#24180d;margin:0;font-size:17px}.table-list,.customer-list{gap:8px;display:grid}.customer-list{margin-top:12px}.table-row,.customer-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px}.table-row{justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 12px;display:flex}.table-row strong,.table-row span,.customer-row strong,.customer-row span,.customer-row small{display:block}.table-row strong,.customer-row strong{font-size:14px}.table-row span,.customer-row span,.customer-row small{color:var(--muted);font-size:13px}.table-row span{margin-top:3px}.rate-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dashboard-page{gap:16px;display:grid}.dashboard-hero{border:1px solid var(--border);box-shadow:var(--shadow-soft);background:linear-gradient(#ffffffdb,#fff8e8f5),#fffaf0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px;display:flex}.dashboard-hero h1{color:#1f1409;margin:4px 0 0;font-size:28px;line-height:1.15}.dashboard-hero p,.section-title p{color:var(--muted);margin:5px 0 0;font-size:13px}.dashboard-kicker,.dashboard-date-chip{color:#7a5607;font-size:12px;font-weight:800}.dashboard-metric-grid{order:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.dashboard-metric{border:1px solid var(--border);min-height:150px;box-shadow:var(--shadow);background:linear-gradient(#ffffffe6,#fff8e8f0),#fffaf0;border-radius:8px;gap:8px;padding:16px;display:grid}.dashboard-metric span,.dashboard-metric small,.dashboard-small-status span,.dashboard-account-row span,.dashboard-account-row small{color:var(--muted);font-size:13px}.dashboard-metric strong{color:#1f1409;font-size:24px;line-height:1.15}.dashboard-metric.success strong,.dashboard-movement.sale b{color:#147a3d}.dashboard-metric.danger strong,.dashboard-movement.expense b{color:#b42318}.dashboard-action-strip{order:2;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.dashboard-data-tabs{background:#fffaf0;border:1px solid #dfca96;border-radius:10px;flex-wrap:wrap;gap:4px;padding:3px;display:inline-flex}.dashboard-data-tabs button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 11px;font-size:12px;font-weight:800}.dashboard-data-tabs button:hover{color:#4b3511;background:#fff2c8}.dashboard-data-tabs button.active{color:#fffdf7;background:#1f1409;box-shadow:0 4px 10px #1f14092e}.dashboard-quick-action{border:1px solid var(--border);background:var(--surface);color:#24180d;min-height:44px;box-shadow:var(--shadow-soft);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:800;display:flex}.dashboard-quick-action:hover{border-color:var(--border-strong);background:#fff7e2}.dashboard-timeline,.dashboard-alert-list,.dashboard-account-list,.dashboard-status-grid{gap:8px;display:grid}.dashboard-movement,.dashboard-alert,.dashboard-account-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;align-items:center;gap:12px;min-width:0;display:grid}.dashboard-movement strong,.dashboard-movement span,.dashboard-alert strong,.dashboard-alert span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.dashboard-movement span,.dashboard-alert span{color:var(--muted);margin-top:3px;font-size:13px}.dashboard-alert{grid-template-columns:36px minmax(0,1fr);min-height:62px;padding:11px 12px}.dashboard-alert svg{justify-self:center}.dashboard-alert.danger{color:#9f1d15;background:#fff1eb;border-color:#b4231840}.dashboard-alert.warning{color:#8a5200;background:#fff5dc;border-color:#b4530940}.dashboard-alert.info{color:#2f6e3f;background:#f3faed;border-color:#2f7d4433}.dashboard-report-grid{order:4;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:start;gap:14px;display:grid}.dashboard-top-products,.dashboard-weekly-expenses{grid-column:1}.dashboard-product-view-tabs{margin-bottom:18px}.dashboard-product-distribution{flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:12px 0;display:flex}.dashboard-product-pie{flex:0 200px;width:200px;max-width:100%}.dashboard-product-pie circle{transition:opacity .15s}.dashboard-product-pie circle:hover{opacity:.75}.dashboard-product-pie-total{fill:var(--text,#38270e);font-size:24px;font-weight:800}.dashboard-product-pie-caption{fill:var(--muted);font-size:11px}.dashboard-product-pie-legend{flex:220px;min-width:0;max-height:340px;margin:0;padding:0;list-style:none;overflow-y:auto}.dashboard-product-pie-legend li{border-bottom:1px solid #eadfc7;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 4px;display:grid}.dashboard-product-pie-legend i{border-radius:3px;width:10px;height:10px}.dashboard-product-pie-legend span{overflow-wrap:anywhere;font-size:12px}.dashboard-product-pie-legend b{text-align:right;white-space:nowrap;font-size:12px}.dashboard-product-pie-legend small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.dashboard-top-customers,.dashboard-alert-panel{grid-column:2}.dashboard-period-tabs{background:#fffaf0;border:1px solid #dfca96;border-radius:8px;flex-wrap:wrap;gap:4px;padding:3px;display:inline-flex}.dashboard-period-tabs button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:12px;font-weight:800}.dashboard-period-tabs button.active{color:#fffdf7;background:#1f1409}.dashboard-weekly-assets{order:3;grid-column:1/-1}.dashboard-yearly-trade{order:1}.dashboard-table-list,.dashboard-customer-list,.dashboard-asset-movement-list,.dashboard-expense-list{gap:8px;display:grid}.dashboard-table-list.compact{max-height:650px;padding-right:4px;overflow:auto}.dashboard-table-row,.dashboard-expense-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 11px;display:grid}.dashboard-expense-row{grid-template-columns:minmax(0,1fr) auto}.dashboard-table-row strong,.dashboard-table-row span,.dashboard-table-row b,.dashboard-expense-row strong,.dashboard-expense-row span,.dashboard-expense-row b,.dashboard-customer-card strong,.dashboard-customer-card span,.dashboard-customer-card b{display:block}.dashboard-table-row div,.dashboard-expense-row div{min-width:0}.dashboard-table-row strong,.dashboard-expense-row strong,.dashboard-customer-card strong{color:#1f1409;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-table-row span,.dashboard-expense-row span,.dashboard-customer-card span{color:var(--muted);font-size:12px}.dashboard-table-row b,.dashboard-expense-row b{color:#1f1409;white-space:nowrap}.dashboard-rank{background:#fff1bd;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:900;color:#7a5607!important;font-size:12px!important;display:grid!important}.dashboard-customer-card{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;gap:10px;padding:11px;display:grid}.dashboard-customer-head{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.dashboard-customer-head b{color:#1f1409;white-space:nowrap}.dashboard-customer-currency-select{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.dashboard-customer-currency-select select{color:#614619;background:#fffaf0;border:1px solid #dfca96;border-radius:8px;padding:7px 10px}.dashboard-customer-volumes>span>b{color:#98721f;margin-top:5px;display:block}.dashboard-customer-currency-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.dashboard-customer-currency-table caption{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.dashboard-customer-currency-table th,.dashboard-customer-currency-table td{text-align:right;border-bottom:1px solid #ead9ad;padding:8px 6px}.dashboard-customer-currency-table th:first-child{text-align:left}.dashboard-customer-currency-table thead{color:#6f5c2d;background:#fff7df}.dashboard-customer-no-currency{color:var(--muted)}.dashboard-customer-volumes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.dashboard-customer-controls,.dashboard-trade-controls{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.dashboard-customer-currencies{border-top:1px dashed #dfca96;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding-top:8px;display:grid}.dashboard-customer-currencies small{color:#7a5607;text-transform:uppercase;font-size:11px;font-weight:900}.dashboard-customer-currencies span{text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-customer-volumes span{color:#6f5c2d;background:#fff7df;border-radius:8px;min-height:30px;padding:7px 9px;font-weight:800}.dashboard-asset-movement{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:120px minmax(320px,1fr) minmax(180px,auto);align-items:center;gap:14px;min-height:86px;padding:12px;display:grid}.dashboard-asset-movement strong,.dashboard-asset-movement span,.dashboard-asset-movement small,.dashboard-asset-movement b{display:block}.dashboard-asset-movement span,.dashboard-asset-movement small{color:var(--muted);font-size:12px}.dashboard-asset-bars{grid-template-columns:repeat(auto-fit,minmax(4px,1fr));align-items:end;gap:3px;height:52px;display:grid}.dashboard-asset-bars .dashboard-asset-day{background:#fff1bd;border-radius:6px;justify-content:center;align-items:flex-end;gap:2px;height:52px;padding:4px 3px 0;display:flex;overflow:hidden}.dashboard-asset-day i{border-radius:3px 3px 0 0;width:38%;max-width:30px;min-height:3px;display:block}.dashboard-asset-day i.incoming{background:#a67c32}.dashboard-asset-day i.outgoing{background:#d9b76f}.dashboard-asset-total{text-align:right;gap:4px;display:grid}.dashboard-asset-total b{color:#1f1409;white-space:nowrap;font-size:15px}.dashboard-chart-legend{align-items:center;gap:14px;display:flex}.dashboard-chart-legend span{color:var(--muted);align-items:center;gap:6px;font-size:12px;font-weight:800;display:inline-flex}.dashboard-chart-legend i{border-radius:2px;width:10px;height:10px;display:block}.dashboard-chart-legend i.sale,.dashboard-month-bars i.sale{background:#98721f}.dashboard-chart-legend i.purchase,.dashboard-month-bars i.purchase{background:#d9bc70}.dashboard-yearly-chart{grid-template-columns:repeat(12,minmax(42px,1fr));gap:8px;min-height:240px;padding-top:12px;display:grid;overflow-x:auto}.dashboard-month-column{text-align:center;grid-template-rows:190px auto;gap:8px;min-width:42px;display:grid}.dashboard-month-column>span{color:var(--muted);text-transform:capitalize;font-size:12px;font-weight:800}.dashboard-month-bars{background:linear-gradient(0deg,#ead9ad47 1px,#0000 1px) 0 0/100% 25%;border-bottom:1px solid #c9ad68;justify-content:center;align-items:flex-end;gap:5px;padding:8px 5px 0;display:flex;position:relative}.dashboard-month-bars i{border-radius:4px 4px 0 0;width:38%;max-width:26px;min-height:2px;display:block}.dashboard-month-bars.asset-snapshot i{width:60%;max-width:38px}.dashboard-month-bars i.asset-negative{background:#98721f}.dashboard-month-bars.signed-assets:before{content:"";border-top:1px solid #c9ad68;position:absolute;top:50%;left:0;right:0}.dashboard-month-bars.signed-assets i{position:absolute;bottom:50%}.dashboard-month-bars.signed-assets i.asset-negative{border-radius:0 0 4px 4px;top:50%;bottom:auto}.dashboard-no-closing{color:var(--muted);padding-bottom:8px;font-size:10px}.dashboard-chart-tooltip{z-index:8;color:#fffdf7;text-align:left;pointer-events:none;background:#24180d;border:1px solid #d5b763;border-radius:9px;width:max-content;min-width:170px;max-width:260px;padding:10px 11px;display:none;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #1f14093d}.dashboard-chart-tooltip.currency{width:520px;max-width:calc(100vw - 48px)}.dashboard-month-column:nth-child(-n+2) .dashboard-chart-tooltip{left:0;transform:none}.dashboard-month-column:nth-last-child(-n+2) .dashboard-chart-tooltip{left:auto;right:0;transform:none}.dashboard-month-bars:hover .dashboard-chart-tooltip,.dashboard-month-bars:focus-within .dashboard-chart-tooltip{gap:4px;display:grid}.dashboard-chart-tooltip strong,.dashboard-chart-tooltip span,.dashboard-chart-tooltip small{display:block}.dashboard-chart-tooltip strong{color:#ffd86a;text-transform:capitalize;margin-bottom:2px}.dashboard-chart-tooltip span{font-size:12px;font-weight:800}.dashboard-chart-tooltip small{color:#e8ddc5;font-size:11px}.dashboard-currency-pies{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dashboard-currency-pie-group{background:#ffffff0f;border:1px solid #ffd86a3d;border-radius:8px;align-content:start;gap:8px;min-width:0;padding:9px;display:grid}.dashboard-currency-pie-title{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.dashboard-currency-pie-title span{color:#fffdf7;font-size:11px;font-weight:900}.dashboard-currency-pie-title b{color:#ffd86a;white-space:nowrap;font-size:11px}.dashboard-currency-pie-content{grid-template-columns:62px minmax(0,1fr);align-items:center;gap:9px;display:grid}.dashboard-currency-pie{border:2px solid #ffffff2e;border-radius:50%;place-items:center;width:62px;height:62px;display:grid;box-shadow:0 5px 14px #0000003d}.dashboard-currency-pie>i{background:#24180d;border-radius:50%;width:28px;height:28px;box-shadow:0 0 0 2px #ffffff1a}.dashboard-currency-pie-legend{gap:4px;min-width:0;display:grid}.dashboard-currency-pie-legend>div{grid-template-columns:8px 34px minmax(38px,auto) minmax(64px,auto);align-items:center;gap:5px;display:grid}.dashboard-currency-pie-legend i{border-radius:50%;width:8px;height:8px}.dashboard-currency-pie-legend span,.dashboard-currency-pie-legend b,.dashboard-currency-pie-legend small{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.dashboard-currency-pie-legend span{color:#fffdf7;font-weight:900}.dashboard-currency-pie-legend b{color:#fffdf7;text-align:right}.dashboard-currency-pie-legend small{color:#d9cba9;text-align:right}.dashboard-currency-pie-empty{color:#c7baa0;text-align:center;padding:12px 0}.dashboard-expense-track{background:#f1e3bd;border-radius:999px;height:6px;margin-top:7px;overflow:hidden}.dashboard-expense-track i{border-radius:inherit;background:linear-gradient(90deg,#efb739,#d7811f);height:100%;display:block}.empty-state,.inline-alert,.form-error,.inline-success{border-radius:8px;padding:12px;font-size:14px}.empty-state{color:var(--muted);border:1px dashed var(--border);background:#fff4d8}.inline-alert,.form-error{color:var(--danger);background:#fff1eb;border:1px solid #b4231840}.inline-success{color:var(--success);background:#f2f8e8;border:1px solid #3f7d2040}.split-grid{grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:14px;display:grid}.data-form{gap:14px;display:grid}.data-form label,.login-form label{color:var(--muted);gap:7px;font-size:14px;display:grid}.data-form input,.data-form select,.data-form textarea,.login-form input{border:1px solid var(--border);width:100%;color:var(--text);background:#fffdf7;border-radius:8px;outline:0}.data-form input,.data-form select{min-height:40px;padding:0 11px}.data-form textarea{resize:vertical;padding:10px 11px}.login-form input{border-radius:10px;min-height:42px;padding:0 12px}.data-form input:focus,.data-form select:focus,.data-form textarea:focus,.compact-search:focus-within,.search-box:focus-within,.login-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.compact-search{border-radius:8px;gap:8px;min-height:40px;padding:0 11px}.compact-search input{min-height:38px;padding:0}.count-badge{background:var(--accent-soft);min-width:30px;color:var(--accent-strong);text-align:center;border-radius:999px;padding:4px 8px;font-size:13px;font-weight:800}.customer-row{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:grid}.customers-page .customer-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:58px;padding:8px 10px}.customers-page .customer-row-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:0;display:grid}.customers-page .customer-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.customer-row strong,.customer-row span,.customer-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar-mark,.expense-mark,.product-mark{border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.avatar-mark{color:#8a6508;background:#ffe9a1}.expense-mark{color:#b42318;background:#fff1eb}.product-mark{color:#8a6508;background:#fff1b8}.customers-page .customer-row .avatar-mark{width:36px;height:36px}.customer-profile-table-wrap{margin-top:12px}.customer-profile-table th{background:#fff1bd;width:34%}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.expenses-layout{align-items:start}.expense-filter-bar{grid-template-columns:minmax(220px,1fr) repeat(2,minmax(150px,180px));align-items:center;gap:10px;display:grid}.expense-filter-bar label{border:1px solid var(--border);min-height:40px;color:var(--muted);background:#fffdf7f5;border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.expense-filter-bar input{width:100%;min-width:0;min-height:38px;color:var(--text);background:0 0;border:0;outline:0}.expense-rate-preview,.expense-total-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.expense-rate-preview{grid-template-columns:1fr}.expense-rate-preview article{background:0 0;border:0;border-bottom:1px solid #ead8a8d1;border-radius:0;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:0;display:flex}.expense-rate-preview span{color:#7a6a4b;font-size:13px;font-weight:800}.expense-rate-preview strong{color:#1f1409;text-align:right;font-size:14px}.expense-total-grid{margin-top:12px}.expense-grand-total-card{grid-column:1/-1}.expense-grand-total-card strong{font-size:20px}.expense-row{grid-template-columns:42px minmax(0,1fr)}.expense-row small{color:#8a6508}.expense-row .expense-pure-gold-line{color:#5f4a15;font-weight:500}@media (width<=920px){.expense-filter-bar,.expense-rate-preview,.expense-total-grid{grid-template-columns:1fr}}.login-page{background:linear-gradient(#0f0f0f7a,#0f0f0f94),url(/login-background.png) 50%/cover no-repeat;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border:1px solid #c8a24a59;border-radius:10px;width:min(420px,100%);overflow:hidden;box-shadow:0 22px 54px #00000047}.login-brand{background:radial-gradient(circle at 50% 20%,#f4c4302e,#0000 50%),#080604;border-bottom:1px solid #f4c43047;justify-content:center;align-items:center;min-height:132px;padding:24px;display:flex;position:relative;overflow:hidden}.login-brand:before,.login-brand:after{content:"";pointer-events:none;z-index:2;background:#fff4a8;border-radius:999px;width:10px;height:10px;animation:2.4s ease-in-out infinite logoSparkle;position:absolute;box-shadow:0 0 8px #fff4a8f2,0 0 18px #f4c430bf,0 0 34px #f4c43073}.login-brand:before{top:40%;left:34%}.login-brand:after{animation-delay:.8s;top:45%;left:50%}.login-logo{z-index:1;object-fit:contain;width:88px;height:88px;display:block;position:relative}.login-product-name{z-index:1;color:#fff7df;margin-left:18px;display:grid;position:relative}.login-product-name strong{letter-spacing:-.03em;font-size:28px}.login-product-name span{color:#e5c667;letter-spacing:.18em;text-transform:uppercase;margin-top:2px;font-size:13px;font-weight:800}.login-form{gap:16px;padding:24px;display:grid}.mobile-only{display:none}@keyframes logoSparkle{0%,to{opacity:.35;transform:scale(.7)}45%{opacity:1;transform:scale(1.35)}60%{opacity:.75;transform:scale(1)}}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:20;width:260px;transition:transform .2s;position:fixed;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.mobile-only{display:inline-flex}.topbar{grid-template-columns:auto minmax(0,1fr) auto auto;padding:12px 16px}.user-chip span{display:none}.page-content{padding:18px}.metric-grid,.dashboard-metric-grid,.dashboard-action-strip,.dashboard-main-grid,.dashboard-cash-grid,.dashboard-report-grid,.content-grid,.rate-grid,.split-grid,.form-grid-2{grid-template-columns:1fr}.dashboard-hero{flex-direction:column}.dashboard-filter-card,.dashboard-asset-movement,.dashboard-customer-head,.dashboard-customer-volumes{grid-template-columns:1fr}.dashboard-alert-panel,.dashboard-weekly-assets,.dashboard-top-products,.dashboard-top-customers,.dashboard-weekly-expenses{grid-column:auto}.dashboard-asset-total{text-align:left}.page-heading{flex-direction:column;align-items:flex-start}.supplier-overview-grid,.supplier-ledger-grid,.ledger-summary-grid{grid-template-columns:1fr}.supplier-ledger-header{flex-direction:column}.ledger-filter-bar{flex-direction:column;align-items:stretch}.ledger-date-fields{flex-direction:column}.ledger-date-fields label{min-width:100%}.supplier-total-summary{grid-template-columns:1fr}}@media (width<=560px){.topbar{grid-template-columns:auto minmax(0,1fr) auto}.topbar .user-chip{display:none}.quick-actions{width:100%}.quick-actions button{flex:1}}.data-form input[readonly]{color:#6f5a2a;cursor:default;background:#f3ead5;border-style:dashed}.supplier-overview-grid{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.supplier-ledger-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.supplier-ledger-header h2{margin:0}.supplier-ledger-header p{margin:4px 0 0}.supplier-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.supplier-ledger-list-title{justify-content:space-between;align-items:center;gap:10px;margin:14px 0 10px;display:flex}.supplier-ledger-list-title h3{margin:0;font-size:16px}.supplier-total-summary{grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;margin-top:14px;margin-bottom:14px;display:grid}.supplier-total-card{background:linear-gradient(#fffaf0 0%,#fff4d7 100%);border:1px solid #ead8a8;border-radius:8px;padding:12px 14px;box-shadow:0 10px 24px #8b621214}.supplier-total-card span{color:#7a6a4b;font-size:12px;display:block}.supplier-total-card strong{margin-top:5px;font-size:18px;display:block}.ledger-summary-grid{grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin:14px 0;display:grid}.ledger-summary-card{background:#fff8e6;border:1px solid #ead8a8;border-radius:8px;padding:10px 12px}.ledger-summary-card span{color:#7a6a4b;font-size:12px;display:block}.ledger-summary-card strong{margin-top:4px;font-size:16px;display:block}.ledger-filter-bar{background:linear-gradient(#fffaf0 0%,#fff4d7 100%);border:1px solid #ead8a8;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin:16px 0 14px;padding:12px;display:flex}.ledger-filter-title span{font-weight:800;display:block}.ledger-filter-title small{color:#7a6a4b;margin-top:3px;font-size:12px;display:block}.ledger-date-fields{align-items:end;gap:10px;display:flex}.ledger-date-fields label{color:#6f5e3b;gap:5px;min-width:170px;font-size:12px;display:grid}.date-input-shell{background:#fffdf7;border:1px solid #d9bf73;border-radius:8px;align-items:center;min-height:42px;padding:0 12px;display:flex;position:relative;box-shadow:inset 0 1px #ffffffe6}.date-input-shell:focus-within{border-color:#c79b2e;box-shadow:0 0 0 3px #c79b2e2e}.date-input-shell input[type=date]{color:#1f1a12;width:100%;min-height:auto;font:inherit;background:0 0;border:0;outline:0;padding:0}.date-input-shell input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.65}.supplier-tabs{flex-wrap:wrap;gap:10px;margin:18px 0 20px;padding-bottom:4px;display:flex}.module-tabs-frame{background:0 0;border:0;margin:18px 0 0;padding:0}.module-page-tabs{margin:0;padding:0}.module-tabs-frame .module-page-tabs{align-items:flex-end;gap:6px}.module-tabs-frame .module-page-tabs .primary-button{z-index:2;border-color:#cba75075 #cba75075 #fffaf0;border-radius:8px 8px 0 0;min-height:44px;position:relative;box-shadow:inset 0 1px #ffffffb8,0 8px 18px #f2b7052e}.module-tabs-frame+.ledger-summary-grid,.module-tabs-frame+.panel-section,.module-tabs-frame+.debt-page-grid-modern,.module-tabs-frame+.custody-layout{border-top-left-radius:0;margin-top:-1px}.receipt-modal-backdrop{z-index:80;background:#0f0f0f8a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.receipt-modal{background:#fffaf0;border:1px solid #ead8a8;border-radius:10px;width:min(860px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 28px 72px #00000047}.receipt-toolbar{z-index:1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffaf0f5;border-bottom:1px solid #ead8a8;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex;position:sticky;top:0}.receipt-paper{color:#1f1a12;background:#fffdf7;border:1px solid #d8c48a;border-radius:8px;width:min(720px,100% - 32px);margin:16px auto 22px;padding:24px;box-shadow:0 14px 32px #8b62121f}@media (width<=760px){.receipt-toolbar{flex-direction:column;align-items:flex-start}}.receipt-simple-head strong{letter-spacing:2px;font-family:Georgia,Times New Roman,serif;font-size:30px}.receipt-simple-info div{align-items:center}.receipt-simple-foot{font-family:Georgia,Times New Roman,serif}@media print{body *{visibility:hidden!important}.receipt-paper,.receipt-paper *{visibility:visible!important}html,body{background:#fff!important;width:80mm!important;min-width:80mm!important;margin:0!important;padding:0!important}.receipt-modal-backdrop,.simple-modal-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important;inset:auto!important}.receipt-modal,.simple-modal{width:auto!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:visible!important}.receipt-toolbar{display:none!important}.receipt-paper{width:80mm!important;max-width:80mm!important;height:auto!important;min-height:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:4mm!important;position:absolute!important;top:0!important;left:0!important}@page{size:80mm auto;margin:0}body.printing-receipt,body.printing-receipt #root{background:#fff!important;width:80mm!important;min-width:80mm!important;height:0!important;min-height:0!important;overflow:visible!important}body.printing-receipt *{visibility:hidden!important}body.printing-receipt .print-receipt-active,body.printing-receipt .print-receipt-active *{visibility:visible!important}body.printing-receipt .print-receipt-active{width:80mm!important;max-width:80mm!important;height:auto!important;min-height:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:4mm!important;display:block!important;position:absolute!important;top:0!important;left:0!important;overflow:visible!important}}.receipt-paper-simple{color:#111;width:80mm;max-width:80mm;box-shadow:none;background:#fff;border:1px solid #222;padding:10px;font-family:Arial,sans-serif;font-size:11px}.receipt-simple-head{text-align:center;justify-items:center;gap:4px;margin-bottom:10px;display:grid}.receipt-simple-head img{object-fit:contain;filter:grayscale()contrast(1.25);width:190px;max-width:100%;height:auto;display:block}.receipt-simple-head span{font-size:12px;font-weight:800}.receipt-simple-info{border-top:1px dashed #111;border-bottom:1px dashed #111;grid-template-columns:1fr 1fr;gap:4px 8px;margin-bottom:10px;padding:6px 0;display:grid}.receipt-simple-info div{border:0;border-radius:0;min-height:auto;padding:0;display:block}.receipt-simple-info span{margin-right:4px;font-weight:800}.receipt-simple-info strong{font-weight:700}.receipt-simple-foot{text-align:center;border-top:1px dashed #111;margin-top:10px;padding-top:8px;font-size:10px;font-weight:700}.receipt-disclaimer+.receipt-store-contact{border-top:1px dotted #555;margin-top:6px;padding-top:6px}.receipt-store-contact{overflow-wrap:anywhere;white-space:pre-line;gap:2px;font-size:9.5px;font-weight:600;line-height:1.35;display:grid}.receipt-balance-list{border-top:1px dashed #111;border-bottom:1px dashed #111;gap:4px;margin-top:12px;padding:8px 0;font-size:11px;display:grid}.receipt-balance-list div{justify-content:space-between;gap:10px;display:flex}.receipt-balance-list strong{text-align:right}.receipt-balance-list span,.receipt-balance-list strong{font-weight:800}.receipt-note-box{border-top:1px dashed #111;border-bottom:1px dashed #111;margin-top:8px;padding:7px 0;font-size:11px;font-weight:500;line-height:1.35}.receipt-note-box span{font-weight:800}.receipt-current-groups{border-top:1px dashed #111;gap:6px;margin-top:8px;padding-top:7px;font-size:10.5px;display:grid}.receipt-current-group{border:1px solid #111;gap:3px;padding:5px 6px;display:grid}.receipt-current-group-title{border-bottom:1px dashed #111;padding-bottom:3px;font-size:10.5px;font-weight:800}.receipt-current-group-head{text-transform:uppercase;border-bottom:1px solid #777;padding-bottom:2px;font-size:9px}.receipt-current-group .receipt-current-group-head span,.receipt-current-group .receipt-current-group-head strong{font-weight:800}.receipt-current-group div:not(.receipt-current-group-title){justify-content:space-between;gap:10px;display:flex}.receipt-current-group span,.receipt-current-group strong{font-weight:500}.receipt-current-group strong{text-align:right;white-space:nowrap}.receipt-current-label{flex-direction:column;gap:1px;min-width:0;display:flex}.receipt-current-label small{font-size:8.5px;font-weight:500;line-height:1.2}.receipt-operation-group{margin-top:8px}.receipt-operation-group div:not(.receipt-current-group-title){grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;display:grid}.receipt-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:10.5px}.receipt-table th,.receipt-table td{vertical-align:top;border:1px solid #111;padding:4px 5px}.receipt-table th{text-align:left;font-weight:800}.receipt-table th:last-child,.receipt-table td:last-child{text-align:right;white-space:nowrap}.asset-day-closing-receipt .receipt-balance-list div:last-child{border-top:1px dashed #111;padding-top:5px}.asset-day-closing-receipt-table{table-layout:fixed;font-size:9.4px}.asset-day-closing-receipt-table th,.asset-day-closing-receipt-table td{width:33.333%}.asset-cash-count-receipt-table th,.asset-cash-count-receipt-table td{width:25%}.asset-cash-count-missing-table th,.asset-cash-count-missing-table td{width:33.333%}.asset-day-closing-receipt-table th,.asset-day-closing-receipt-table td{padding:3px 2px}.asset-day-closing-receipt-table th:not(:first-child),.asset-day-closing-receipt-table td:not(:first-child){text-align:right}.asset-day-closing-receipt-table td{overflow-wrap:anywhere}.transaction-mode-switch{background:#fff8e6;border:1px solid #ead8a8;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px;padding:4px;display:grid}.transaction-mode-switch button{color:#6f5e3b;background:0 0;border:0;border-radius:6px;min-height:36px;font-weight:700}.transaction-mode-switch button.active{color:#211403;background:linear-gradient(#ffffffa6,#0000 42%),linear-gradient(145deg,#fff8c7 0%,#ffe06a 34%,#f6c21a 72%,#e4a900 100%);box-shadow:0 6px 14px #b4800029}.transaction-submit-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;display:flex}.operation-submit-row{justify-content:space-between;align-items:center;gap:14px;margin-top:14px;display:flex}.operation-review-check{cursor:pointer;white-space:nowrap;align-items:center;margin-right:auto;line-height:1.25;color:#4f3b13!important;gap:9px!important;width:fit-content!important;min-width:0!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important}.operation-review-check input{accent-color:#d8a300;cursor:pointer;margin:0;flex:none!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important}.transaction-flow{gap:14px;display:grid}.transaction-bar{padding:12px}.transaction-bar-row{grid-template-columns:minmax(260px,360px) minmax(280px,1fr) 190px;align-items:center;gap:12px;display:grid}.transaction-mode-switch.compact{margin:0}.transaction-customer-input{min-height:42px;color:var(--muted);background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.transaction-customer-input.customer-missing{background:#fff4f1;border-color:#efb0a5;box-shadow:0 0 0 3px #d24a3014}.transaction-customer-input.customer-selected{background:#f7fff0;border-color:#c9dca5;box-shadow:0 0 0 3px #4e842d14}.transaction-customer-input.customer-missing svg{color:#b84b3b}.transaction-customer-input.customer-selected svg{color:#4f7f30}.transaction-customer-input input,.transaction-customer-input select{width:100%;min-width:0;min-height:38px;color:var(--text);background:0 0;border:0;outline:0}.transaction-date-input{min-height:42px;color:var(--muted);background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:700;display:grid}.transaction-date-input input{width:100%;min-width:0;min-height:38px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-weight:600}@media (width<=760px){.transaction-bar-row{grid-template-columns:1fr}}.transaction-builder{gap:12px;display:grid}.operation-tabs{flex-wrap:wrap;gap:8px;display:flex}.operation-tabs button{color:#5f5138;background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;min-height:38px;padding:0 16px;font-weight:700}.operation-tabs button.active{color:#211403;background:linear-gradient(#ffffffa6,#0000 42%),linear-gradient(145deg,#fff8c7 0%,#ffe06a 34%,#f6c21a 72%,#e4a900 100%);border-color:#c79b2e;box-shadow:0 8px 18px #b4800029}.transaction-entry-row{grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:10px;display:grid}.transaction-entry-row label{color:var(--muted);gap:6px;font-size:13px;display:grid}.transaction-entry-row input,.transaction-entry-row select{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.transaction-list-panel{padding:14px}.transaction-table-wrap{background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;overflow-x:auto}.transaction-table{border-collapse:collapse;width:100%;min-width:900px;font-size:13px}.transaction-table th,.transaction-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #ead8a8;padding:9px 10px}.transaction-table th{color:#5f5138;white-space:nowrap;background:#fff4d7;font-size:12px;font-weight:900}.transaction-table tbody tr:hover{background:#fff8e6}.transaction-table tbody tr:last-child td{border-bottom:0}.transaction-table td input{border:1px solid var(--border);width:120px;min-height:34px;color:var(--text);background:#fffdf7;border-radius:8px;padding:0 8px;font-weight:400}.transaction-table td input:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #c79b2e2e}.workspace-transaction-detail-summary{margin-bottom:18px}.transaction-detail-modal{width:min(1200px,100vw - 16px)}.transaction-detail-modal .section-title{border-bottom:1px solid #cba75057;align-items:center;margin-bottom:18px;padding-bottom:16px}.transaction-detail-summary{background:linear-gradient(135deg,#fffaf0 0%,#fffdf8 100%);border:1px solid #ead39b;border-radius:10px;grid-template-columns:minmax(190px,.9fr) minmax(0,2.1fr);align-items:stretch;gap:14px 22px;padding:16px 18px;display:grid}.workspace-transaction-detail-summary .transaction-detail-document{border-right:1px solid #cba75061;align-items:center;gap:11px;padding-right:18px;display:flex}.workspace-transaction-detail-summary .transaction-detail-document-icon{color:#79500a;background:#fff0c8;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.workspace-transaction-detail-summary .transaction-detail-document span:not(.transaction-detail-document-icon),.workspace-transaction-detail-summary .transaction-detail-meta dt{color:#746957;font-size:12px;font-weight:650}.workspace-transaction-detail-summary .transaction-detail-document strong{color:#2d271f;margin-top:3px;font-size:15px;display:block}.workspace-transaction-detail-summary .transaction-detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.workspace-transaction-detail-summary .transaction-detail-meta div{min-width:0}.workspace-transaction-detail-summary .transaction-detail-meta dt{align-items:center;gap:6px;display:flex}.workspace-transaction-detail-summary .transaction-detail-meta dd{overflow-wrap:anywhere;color:#2d271f;margin:5px 0 0;font-size:13px;font-weight:700}.workspace-transaction-detail-summary .transaction-detail-error{color:#aa3131;grid-column:1/-1;margin:0;font-size:13px}@media (width<=720px){.transaction-detail-modal .section-title{align-items:flex-start}.workspace-transaction-detail-summary{grid-template-columns:1fr}.workspace-transaction-detail-summary .transaction-detail-document{border-bottom:1px solid #cba75061;border-right:0;padding:0 0 14px}.workspace-transaction-detail-summary .transaction-detail-meta{grid-template-columns:1fr;gap:10px}}.transaction-detail-lines-table{table-layout:fixed;min-width:1120px}.transaction-detail-lines-table th,.transaction-detail-lines-table td{padding:8px 9px}.transaction-detail-lines-table th:first-child{width:88px}.transaction-detail-lines-table th:nth-child(2){width:300px}.transaction-detail-lines-table th:nth-child(3){width:160px}.transaction-detail-lines-table th:nth-child(4){width:132px}.transaction-detail-lines-table th:nth-child(5){width:145px}.transaction-detail-lines-table th:nth-child(6){width:280px}.transaction-detail-lines-table th{white-space:nowrap}.transaction-detail-lines-table td:nth-child(2){overflow-wrap:anywhere;word-break:normal}.transaction-detail-lines-table td:nth-child(3),.transaction-detail-lines-table td:nth-child(4){white-space:nowrap}.transaction-detail-lines-table td:nth-child(5){white-space:normal}.transaction-detail-lines-table td{overflow-wrap:anywhere;vertical-align:top}.transaction-payment-panel{gap:14px;display:grid}.transaction-payment-grid{grid-template-columns:minmax(180px,1.2fr) repeat(4,minmax(140px,1fr));align-items:end;gap:10px;display:grid}.transaction-payment-grid>label{color:var(--muted);gap:6px;font-size:13px;display:grid}.transaction-payment-grid input{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.transactions-history-panel{margin-top:0}@media (width<=1100px){.operation-tabs button{flex:1}}.simple-modal{width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto}.confirmation-modal{background:linear-gradient(#fffdf8 0%,#fff8e8 100%);border:1px solid #cba75080;border-radius:12px;width:min(560px,100vw - 32px);padding:22px 24px;overflow:visible;box-shadow:0 24px 64px #14120f47}.confirmation-modal .section-title{border-bottom:1px solid #cba7504d;margin-bottom:0;padding-bottom:14px}.confirmation-modal p{color:var(--text);margin:18px 0 22px;font-size:15px;line-height:1.6}.confirmation-modal>.quick-actions{border-top:1px solid #cba7504d;justify-content:flex-end;padding-top:16px}.confirmation-modal>.quick-actions button{min-width:96px}.product-picker-list{gap:8px;margin-top:12px;display:grid}.product-picker-row{text-align:left;background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:72px;padding:10px 12px;display:grid}.product-picker-row:hover{background:#fff8e6;border-color:#c79b2e}.product-picker-row strong,.product-picker-row span,.product-picker-row small{display:block}.product-picker-row span,.product-picker-row small{color:var(--muted);font-size:13px}.product-live-search{position:relative}.product-live-options{z-index:40;background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;gap:6px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 16px 36px #503a1029}.product-live-options button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;gap:3px;padding:9px 10px;display:grid}.product-live-options button:hover{background:#fff8e6;border-color:#c79b2e}.product-live-options strong{font-size:13px}.product-live-options span,.product-live-empty{color:var(--muted);font-size:12px}.product-live-empty{padding:9px 10px}.purchase-entry-shell{gap:12px;display:grid}.purchase-entry-grid{grid-template-columns:120px 150px 150px minmax(160px,1fr) minmax(160px,1fr) auto;align-items:end;gap:10px;display:grid}.purchase-entry-grid label{color:var(--muted);gap:6px;font-size:13px;display:grid}.purchase-entry-grid input,.purchase-entry-grid select{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text);background:#fffdf7;border-radius:8px;padding:0 10px}.purchase-entry-grid input[readonly]{color:#6f5a2a;background:#f3ead5;border-style:dashed}.purchase-add-button{min-width:120px}@media (width<=1180px){.purchase-entry-grid,.purchase-entry-grid-coin{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-add-button{grid-column:1/-1}}@media (width<=680px){.purchase-entry-grid,.purchase-entry-grid-coin{grid-template-columns:1fr}}.purchase-entry-grid-scrap{grid-template-columns:minmax(150px,1.05fr) minmax(120px,.8fr) minmax(130px,.9fr) minmax(150px,1fr) minmax(170px,1.15fr) minmax(150px,1fr) auto}.purchase-entry-grid-coin{grid-template-columns:minmax(150px,180px) minmax(260px,1fr)}.purchase-entry-grid-coin.sale-product-entry-grid{grid-template-columns:minmax(150px,180px) minmax(280px,1fr) auto}.purchase-entry-grid-scrap .purchase-add-button,.purchase-entry-grid-coin .purchase-add-button{align-self:end;min-width:118px}.purchase-entry-grid-scrap .compact-search,.purchase-entry-grid-coin .compact-search{min-height:40px}@media (width<=1250px){.purchase-entry-grid-scrap,.purchase-entry-grid-coin{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-entry-grid-scrap .purchase-add-button,.purchase-entry-grid-coin .purchase-add-button{grid-column:auto}}@media (width<=820px){.purchase-entry-grid-scrap,.purchase-entry-grid-coin,.purchase-entry-grid-coin.sale-product-entry-grid{grid-template-columns:1fr}}.currency-entry-grid{grid-template-columns:minmax(110px,.8fr) minmax(180px,1.2fr) minmax(110px,.7fr) minmax(130px,.8fr) minmax(150px,1fr) minmax(120px,auto);align-items:end}.currency-entry-grid .purchase-add-button{grid-column:auto;align-self:end;width:100%;min-width:0}@media (width<=1180px){.currency-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.currency-entry-grid .purchase-add-button{grid-column:auto}}@media (width<=820px){.currency-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.currency-entry-grid .purchase-add-button{grid-column:auto}}.stock-count-text{font-weight:800;color:#147a3d!important}.products-page .customer-row{grid-template-columns:42px minmax(0,1fr) auto;align-items:start}.products-page .product-row-main{min-width:0}.products-page .product-commercial-line{margin-top:2px}.products-page .product-card-stock{background:linear-gradient(145deg,#fbfff9,#e7f5e5);border:1px solid #297a4445;border-radius:10px;align-self:end;justify-items:center;gap:1px;min-width:72px;padding:8px 10px;display:grid;box-shadow:0 5px 13px #297a4414}.products-page .product-card-stock span,.products-page .product-card-stock small{color:#52705a;letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.products-page .product-card-stock strong{color:#147a3d;font-size:20px;font-weight:900;line-height:1.05}.products-page .product-row-out-of-stock{background:linear-gradient(145deg,#fffdfb,#fff2ed);border-color:#b1463459;box-shadow:inset 3px 0 #b1463475}.products-page .product-card-stock.out-of-stock{background:linear-gradient(145deg,snow,#ffe9e2);border-color:#b1463452;box-shadow:0 5px 13px #b146341a}.products-page .product-card-stock.out-of-stock span,.products-page .product-card-stock.out-of-stock small{color:#8b554b}.products-page .product-card-stock.out-of-stock strong{color:#b14634}.products-page .product-row-zero-stock{background:linear-gradient(145deg,#fdfcf9,#f1efea);border-color:#726f6947;box-shadow:inset 3px 0 #726f6957}.products-page .product-card-stock.zero-stock{background:linear-gradient(145deg,#faf9f6,#eceae5);border-color:#726f6940;box-shadow:0 5px 13px #504d4814}.products-page .product-card-stock.zero-stock span,.products-page .product-card-stock.zero-stock small{color:#77736c}.products-page .product-card-stock.zero-stock strong{color:#5f5c57}.product-stock-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.product-stock-summary-card{background:linear-gradient(145deg,#fffdf7,#fff7df);border:1px solid #bb963f47;border-radius:12px;gap:4px;min-width:0;padding:12px 13px;display:grid;box-shadow:0 8px 20px #60481912}.product-stock-summary-card span,.product-stock-summary-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-stock-summary-card span{letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:800}.product-stock-summary-card strong{color:#332713;font-size:21px;font-weight:900}.product-stock-summary-card small{font-size:11px}.product-stock-summary-card.stock-total{background:linear-gradient(145deg,#fbfff9,#eaf7e8);border-color:#297a4440}.product-stock-summary-card.stock-variety{background:linear-gradient(145deg,#fbfdff,#eaf3fb);border-color:#3369a03d}.product-stock-summary-card.stock-empty{background:linear-gradient(145deg,#fffdfb,#fff0e9);border-color:#b1463438}.product-stock-summary-card.stock-gold{background:linear-gradient(145deg,#fffef8,#fff1c6);border-color:#bb8c234d}.product-list-controls{background:#fffcf2d1;border:1px solid #cba7504d;border-radius:12px;gap:10px;padding:12px;display:grid}.product-unified-search{width:100%}.product-search-row{grid-template-columns:minmax(0,1fr) 170px;gap:10px;display:grid}.product-net-weight-search{grid-template-columns:auto minmax(0,1fr);display:grid}.product-net-weight-search>span{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:800}.product-net-weight-search input{text-align:right}.product-unified-search>svg:last-child{color:#a17616}.product-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.product-filter-group{gap:6px;display:grid}.product-filter-group>span{color:var(--muted);letter-spacing:.035em;text-transform:uppercase;font-size:11px;font-weight:800}.product-segmented-filter{background:#fffdf7;border:1px solid #cba75052;border-radius:10px;gap:4px;padding:4px;display:inline-flex}.product-segmented-filter button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;padding:0 11px;font-size:12px;font-weight:750}.product-segmented-filter button:hover{color:var(--text);background:#fff4d2}.product-segmented-filter button.active{color:#342400;background:linear-gradient(135deg,#f5cf5b,#eebf2f);box-shadow:0 4px 10px #b17e1033}@media (width<=1280px){.product-stock-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.products-page .customer-row{grid-template-columns:42px minmax(0,1fr)}.products-page .product-card-stock{grid-column:2;justify-self:end}.product-filter-toolbar,.product-search-row{grid-template-columns:1fr}.product-segmented-filter{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.product-segmented-filter button{padding-inline:6px}}@media (width<=460px){.product-stock-summary{grid-template-columns:1fr}}.products-page .product-row-inactive:not(.product-row-out-of-stock){opacity:.68;background:#f2efe7eb}.products-page .product-passive-badge{color:#655f56;background:#e6e1d8;border-radius:999px;width:fit-content;margin-top:3px;padding:2px 7px;font-size:11px;font-weight:800;display:inline-flex}.products-page .product-description-line{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.products-page .product-field-locked{cursor:not-allowed}.products-page .product-field-locked input,.products-page .product-field-locked select,.products-page .product-field-locked textarea{cursor:not-allowed;opacity:.68;background:#f1eee7}.products-page .product-form-editing{border-color:#c2911a94;box-shadow:0 0 0 3px #f4c2371f,0 14px 32px #6f4d0f17}.product-movements-modal{width:min(760px,100%)}.product-movement-summary{background:linear-gradient(135deg,#fffdf7,#fff3cf);border:1px solid #cba75057;border-radius:10px;grid-template-columns:1fr auto;gap:3px 18px;margin:16px 18px 8px;padding:13px 15px;display:grid}.product-movement-summary span,.product-movement-summary small{color:var(--muted);font-size:12px}.product-movement-summary strong{color:#2f6f3e;grid-area:1/2/span 2;align-self:center;font-size:22px}.product-movement-list{gap:8px;max-height:min(480px,100vh - 290px);padding:8px 18px 18px;display:grid;overflow:auto}.product-movement-item{background:#fffdf8;border:1px solid #cba75042;border-radius:10px;grid-template-columns:36px minmax(0,1fr) auto;align-items:start;gap:11px;padding:12px;display:grid}.product-movement-icon{color:#756c5d;background:#f1eee7;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.product-movement-icon.in{color:#24713b;background:#e7f5ea}.product-movement-icon.out{color:#a94836;background:#fff0e9}.product-movement-content{gap:3px;min-width:0;display:grid}.product-movement-content strong{color:var(--text);font-size:14px}.product-movement-content span,.product-movement-content small{color:var(--muted);font-size:12px}.product-movement-content .product-movement-reference{color:#766338}.product-movement-reference b{color:#3b2a0b;font-weight:750}.product-movement-quantity{color:#625b50;background:#f1eee7;border-radius:7px;padding:5px 8px;font-size:12px;font-weight:850}.product-movement-quantity.in{color:#24713b;background:#e7f5ea}.product-movement-quantity.out{color:#a94836;background:#fff0e9}@media (width<=560px){.product-movement-item{grid-template-columns:34px minmax(0,1fr)}.product-movement-quantity{grid-column:2;width:fit-content}}.transaction-table tbody tr.transaction-row-sale{background:#147a3d0b}.transaction-table tbody tr.transaction-row-purchase{background:#b3261e0b}.transaction-table tbody tr.transaction-row-sale td:first-child,.transaction-table tbody tr.transaction-row-sale td:nth-child(2){color:#147a3d}.transaction-table tbody tr.transaction-row-purchase td:first-child,.transaction-table tbody tr.transaction-row-purchase td:nth-child(2){color:#b3261e}select{border:1px solid var(--border);color:var(--text);background-color:#fffaf0;border-radius:8px;font-weight:600}select:focus{border-color:#d9a400;outline:none;box-shadow:0 0 0 3px #ffcd4047}select option{color:#20170a;background:#fffaf0;padding:10px}select option:hover{background:#fff0b8}.customer-card-modal{width:min(860px,100vw - 32px);max-height:calc(100vh - 48px);overflow:auto}.customer-card-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.transaction-customer-field{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;display:grid}.customer-card-button{white-space:nowrap;height:42px}.return-exchange-banner{background:#fff7df;border:1px solid #d5a93d;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:12px 14px;display:flex}.return-exchange-banner div,.return-exchange-banner strong,.return-exchange-banner span{display:block}.return-exchange-banner span{color:var(--muted);margin-top:3px;font-size:13px}.return-exchange-banner-meta{text-align:right;max-width:min(360px,48%)}.return-exchange-banner-meta span{overflow-wrap:anywhere}.transaction-search-backdrop{z-index:72}.transaction-search-modal{grid-template-rows:auto auto minmax(0,1fr) auto;width:min(760px,100%);max-height:calc(100vh - 48px);display:grid;overflow:hidden}.transaction-search-modal .section-title p{color:var(--muted);margin:4px 0 0;font-size:13px}.transaction-search-form{grid-template-columns:minmax(320px,1fr) 190px auto;align-items:end;gap:10px;margin-top:14px;display:grid}.transaction-search-form>label{color:var(--muted);gap:6px;font-size:13px;display:grid}.transaction-search-form>label>input{border:1px solid var(--border);background:#fffdf7;border-radius:8px;min-height:40px;padding:0 10px}.transaction-search-list{grid-auto-rows:max-content;align-content:start;gap:7px;min-height:0;margin-top:14px;padding-right:4px;display:grid;overflow-y:auto}.transaction-row-actions{align-items:center;gap:8px;display:inline-flex}.transaction-amount-cell{align-items:center;gap:7px;display:inline-flex}.transaction-amount-hint{color:#8b6a20;cursor:help;background:#fff7d6;border:1px solid #be9a466b;border-radius:50%;flex:0 0 18px;place-items:center;width:18px;height:18px;font-size:12px;font-weight:700;line-height:1;display:inline-grid;position:relative}.transaction-amount-hint:hover .custody-rate-tooltip,.transaction-amount-hint:focus-within .custody-rate-tooltip{display:block}.transaction-pagination{flex-wrap:wrap;justify-content:center;gap:8px;max-height:110px;margin-top:14px;display:flex;overflow-y:auto}.transaction-pagination button{min-height:38px;padding:0 12px}.list-pagination{grid-template-columns:38px auto 38px;justify-content:center;align-items:center;gap:9px;margin-top:14px;display:grid}.list-pagination button{color:#705313;cursor:pointer;background:linear-gradient(#fffdf6 0%,#fff4cf 100%);border:1px solid #caa1337a;border-radius:12px;place-items:center;width:38px;height:38px;padding:0;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;box-shadow:0 5px 14px #805b081a}.list-pagination button:hover{border-color:#d6a316;transform:translateY(-1px);box-shadow:0 7px 16px #805b0829}.list-pagination button:focus-visible{outline-offset:2px;outline:3px solid #f4b9003d}.list-pagination>strong{color:#5b4310;letter-spacing:.02em;text-align:center;background:#fff9e6eb;border:1px solid #caa13357;border-radius:999px;min-width:92px;padding:8px 14px;font-size:13px;font-weight:750;box-shadow:inset 0 1px #ffffffe0}.transaction-search-row{background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:10px 12px;display:grid}.transaction-search-actions{align-items:center;gap:8px;display:inline-flex}.transaction-search-actions .icon-button:disabled{cursor:not-allowed}.transactions-history-panel .transaction-history-row{grid-template-columns:42px minmax(0,1fr) auto}.transaction-search-row strong,.transaction-search-row span,.transaction-search-row small{display:block}.transaction-search-row span{margin-top:2px}.transaction-search-heading{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.transaction-search-heading strong{overflow-wrap:anywhere}.transaction-search-row .transaction-search-heading .tw-status-cancelled,.transaction-search-row .transaction-search-heading .transaction-flow-badge{border-radius:6px;width:fit-content;margin:0;padding:3px 8px;font-size:11px;line-height:1.3;display:inline-flex}.transaction-search-row .transaction-flow-badge{color:#6f4700;background:#fff1c2;border:1px solid #f2b705;border-radius:999px;width:fit-content;margin-top:4px;padding:2px 8px;font-size:11px;font-weight:800;line-height:1.2;display:inline-flex}.transaction-search-row small{color:var(--muted);margin-top:4px}@media (width<=760px){.transaction-search-form{grid-template-columns:1fr}.return-exchange-banner{flex-direction:column;align-items:flex-start}}.customer-picker-modal{width:min(620px,100vw - 32px)}.customer-picker-row.active{background:linear-gradient(#fff8df 0%,#fff0bd 100%);border-color:#d5a200}.tw-status-cancelled{color:#aa3131;background:#fff0ef;border:1px solid #e5a5a5;border-radius:9px;padding:5px 10px;font-size:12px;font-weight:650;display:inline-block}.transaction-flow-badge{color:#8f5c06;background:#fff3c7;border:1px solid #e5c880;border-radius:9px;padding:5px 10px;font-size:12px;font-weight:650;display:inline-block}.transaction-correction-info{color:#8b7651;grid-column:1/-1;margin:0;font-size:12px;line-height:1.6}.tw-source-preview{background:#fffdf4;border-color:#e9ce83;margin-bottom:16px;padding:18px}.simple-modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f0c087a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.simple-modal.customer-card-modal{background:linear-gradient(#fffdf8 0%,#fff8e8 100%);border:1px solid #cba75080;border-radius:10px;width:min(880px,100vw - 36px);max-height:calc(100vh - 48px);padding:18px;overflow:auto;box-shadow:0 24px 60px #14120f3d}.customer-card-modal .section-title{border-bottom:1px solid #cba75047;margin-bottom:14px;padding-bottom:12px}.customer-card-header{background:#fffaf0;border:1px solid #cba75052;border-radius:8px;margin-bottom:14px;padding:12px}.customer-card-header h3{margin:0;font-size:22px;line-height:1.1}.customer-card-header p{color:var(--muted);margin:5px 0 0;font-size:13px}.customer-card-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.customer-card-stat{background:linear-gradient(#fffdf8 0%,#fff2c7 100%);border:1px solid #cba7506b;border-radius:8px;padding:13px}.customer-card-stat span{color:var(--muted);margin-bottom:7px;font-size:12px;display:block}.customer-card-stat strong{color:var(--text);font-size:20px;font-weight:600;line-height:1.1;display:block}.customer-card-stat small{color:#80631d;margin-top:6px;font-size:12px;display:block}.customer-card-tabs{gap:8px;margin-bottom:12px;display:flex}.customer-card-tabs button{background:#fffdf8;border:1px solid #cba75073;border-radius:8px;padding:9px 12px;font-weight:600}.customer-card-tabs button.active{background:linear-gradient(#fff1a8 0%,#f2b705 100%);border-color:#d5a200}.customer-card-content{min-height:170px}.customer-card-content .empty-state{border-radius:8px;padding:16px}.customer-card-table-wrap{background:#fffdf8;border:1px solid #cba75059;border-radius:8px;overflow:auto}.customer-card-table{border-collapse:collapse;width:100%;min-width:680px}.customer-card-table th,.customer-card-table td{text-align:left;border-bottom:1px solid #cba75038;padding:10px 12px;font-size:13px}.customer-card-table th{color:#4b3710;background:#fff2c7;font-weight:800}.customer-card-table tbody tr:hover{background:#fff8df}.customer-card-table tbody tr:last-child td{border-bottom:0}.customer-detail-modal .customer-card-header{margin-bottom:10px;padding:10px 12px}.customer-detail-modal .customer-card-header h3{font-size:20px}.customer-detail-modal .customer-card-summary{gap:8px;margin-bottom:10px}.customer-detail-modal .customer-card-stat{padding:10px 12px}.customer-detail-modal .customer-card-stat span{margin-bottom:5px}.customer-detail-modal .customer-card-stat strong{font-size:19px}.customer-detail-modal .customer-card-stat small{margin-top:4px}.customer-detail-modal .customer-card-tabs{margin:12px 0 14px}.customer-detail-modal .customer-card-tabs button{padding:7px 11px;font-weight:600}.customer-detail-modal .customer-card-table th,.customer-detail-modal .customer-card-table td{padding:8px 10px}.customer-detail-modal .customer-card-content .customer-card-table{table-layout:fixed;min-width:820px}.customer-card-receipt{margin:16px auto 0}.customer-detail-modal .customer-card-content .customer-card-table th,.customer-detail-modal .customer-card-content .customer-card-table td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-card-ledger-table th:first-child,.customer-card-ledger-table td:first-child{width:56%}.customer-card-ledger-table th:nth-child(2),.customer-card-ledger-table td:nth-child(2){width:22%}.customer-card-transactions-table th:first-child,.customer-card-transactions-table td:first-child{width:13%}.customer-card-transactions-table th:nth-child(2),.customer-card-transactions-table td:nth-child(2){width:22%}.customer-card-transactions-table th:nth-child(3),.customer-card-transactions-table td:nth-child(3){text-align:left;width:18%}.customer-card-transactions-table th:nth-child(4),.customer-card-transactions-table td:nth-child(4){text-align:left;width:39%}.customer-card-transactions-table th:nth-child(5),.customer-card-transactions-table td:nth-child(5){text-align:center;width:8%}.customer-card-transactions-table th:nth-child(6),.customer-card-transactions-table td:nth-child(6){width:21%}.customer-card-transactions-table th:nth-child(7),.customer-card-transactions-table td:nth-child(7){text-align:center;width:10%}.customer-card-ledger-table th:nth-child(3),.customer-card-ledger-table td:nth-child(3){width:22%}.settlement-panel{background:linear-gradient(#fffdf8f5 0%,#fff7dff5 100%);border:1px solid #cba7507a;border-radius:10px;margin-top:14px;padding:14px;box-shadow:0 12px 30px #503d1214}.settlement-panel .section-title{border-bottom:1px solid #cba7503d;margin-bottom:14px;padding-bottom:10px}.settlement-panel .section-title h2{font-size:18px}.settlement-grid{grid-template-columns:1fr 1fr 1.2fr 1fr 1fr;align-items:end;gap:12px;display:grid}.settlement-grid label{color:#6f5c2d;gap:7px;font-size:12px;font-weight:700;display:grid}.settlement-grid input,.settlement-grid select{width:100%;height:44px;color:var(--text);background:#fffdf8;border:1px solid #cba75085;border-radius:8px;padding:0 12px;font-weight:700;box-shadow:inset 0 1px #ffffffb3}.settlement-grid input:focus,.settlement-grid select:focus{border-color:#d5a200;outline:none;box-shadow:0 0 0 3px #ffcd4038,inset 0 1px #ffffffbf}.settlement-grid input[readonly]{color:#6a4b07;background:#fff3cf;border-style:dashed}.settlement-rate-field{position:relative}.settlement-rate-field input{padding-right:32px}.return-settlement-option-grid .settlement-rate-field .custody-rate-hint{top:33px;bottom:auto;right:8px}.settlement-panel .secondary-button{background:#fffdf8;border-color:#cba7508c}@media (width<=980px){.settlement-grid{grid-template-columns:1fr 1fr}}@media (width<=640px){.settlement-grid{grid-template-columns:1fr}}.debt-page-grid{grid-template-columns:360px minmax(0,1fr);align-items:start;gap:14px;display:grid}.debt-account-list{gap:8px;display:grid}.debt-account-card{text-align:left;width:100%;color:var(--text);background:#fffdf8;border:1px solid #cba75059;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:10px;display:grid}.debt-account-card:hover{background:#fff8df;border-color:#d5a200b8}.debt-account-card.active{background:linear-gradient(#fff8df 0%,#fff0bd 100%);border-color:#d5a200}.debt-account-card strong,.debt-account-card span,.debt-account-card small{display:block}.debt-account-card strong{font-size:14px}.debt-account-card span{color:var(--muted);margin-top:3px;font-size:12px}.debt-account-card small{color:#84631a;margin-top:4px;font-size:12px;font-weight:700}@media (width<=980px){.debt-page-grid{grid-template-columns:1fr}}.debt-right-stack{gap:14px;display:grid}.debt-search{margin-bottom:10px}.debt-distribution-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.debt-filter-grid{grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:12px;display:grid}.debt-filter-grid label{color:var(--muted);gap:6px;font-size:13px;display:grid}.debt-filter-grid input,.debt-filter-grid select{height:42px}@media (width<=760px){.debt-distribution-grid,.debt-filter-grid,.debt-action-grid{grid-template-columns:1fr}}.debt-page-content{width:min(1360px,100%)}.debt-summary-grid{grid-template-columns:repeat(4,minmax(160px,1fr));margin:0 0 14px}.debt-summary-card{background:linear-gradient(#fffdf7f5 0%,#fff4d8 100%);min-height:86px}.debt-summary-card strong{font-size:20px}.debt-page-grid-modern{grid-template-columns:360px minmax(0,1fr)}.debt-customer-panel{position:sticky;top:88px}.debt-account-card-body{gap:3px;min-width:0;display:grid}.debt-account-card-body em{border-radius:999px;width:fit-content;margin-top:4px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:900}.debt-distribution-panel{padding-bottom:14px}.debt-distribution-grid-dynamic{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.debt-instrument-card{background:linear-gradient(#ffffffc2,#0000 42%),linear-gradient(135deg,#fffdf8 0%,#fff1bd 100%);border-color:#cba75070;min-height:92px}.debt-instrument-card strong{font-size:20px}.debt-workspace-panel{padding:0}.debt-workspace-panel>.section-title{margin-bottom:0;padding:14px 16px 0}.debt-workspace-panel .debt-tab-panel{padding-top:12px}.debt-filter-grid-slim{justify-content:start;gap:10px;margin-bottom:14px}.debt-filter-grid-slim label{color:#6f5c2d;gap:5px;font-size:12px}.debt-filter-grid-slim input,.debt-filter-grid-slim select{background:#fffdf8;border-color:#cba7507a;border-radius:8px;height:36px;min-height:36px;padding:0 10px;font-size:13px}.debt-table-wrap{border-color:#cba75057}.debt-movement-table th{font-size:12px}.debt-movement-table td{height:46px}.debt-movement-plus td:nth-child(4),.debt-movement-plus td:nth-child(5){color:#b3261e;font-weight:800}.debt-movement-minus td:nth-child(4),.debt-movement-minus td:nth-child(5){color:#16723c;font-weight:800}.debt-form-grid{background:linear-gradient(#fffdf8 0%,#fff6df 100%);border:1px solid #cba75061;border-radius:10px;gap:12px;display:grid}.debt-form-grid label{color:#6f5c2d;gap:6px;font-size:12px;display:grid}.debt-form-grid input,.debt-form-grid select{width:100%;height:40px;color:var(--text);background:#fffdf8;border:1px solid #cba7507a;border-radius:8px;outline:0;padding:0 11px;font-size:14px}.debt-form-grid input:focus,.debt-form-grid select:focus{border-color:#d5a200;box-shadow:0 0 0 3px #ffcd4038}.debt-form-grid input[readonly]{color:#6a4b07;cursor:default;background:#fff1c7;border-style:dashed}.debt-note-field{min-width:0}.debt-save-button{white-space:nowrap;height:40px}@media (width<=1180px){.debt-form-grid-payment,.debt-form-grid-adjustment{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-save-button{grid-column:1/-1}}@media (width<=980px){.debt-page-grid-modern,.debt-summary-grid{grid-template-columns:1fr}.debt-customer-panel{position:static}}@media (width<=720px){.debt-filter-grid-slim,.debt-form-grid-payment,.debt-form-grid-adjustment{grid-template-columns:1fr}}.debt-account-card{align-items:start}.debt-account-card-body strong{margin-bottom:4px;font-size:15px;font-weight:700}.debt-account-card-body span{color:#6f5c2d;font-size:12px}.debt-account-card-body b{color:#1f1409;font-size:18px;font-weight:800;line-height:1.2}.debt-account-card-body small{color:#8a7650;font-weight:500}.debt-workspace-panel{overflow:hidden}.debt-tab-panel{padding:16px}.debt-filter-grid-slim{grid-template-columns:repeat(3,minmax(132px,178px)) auto;align-items:end}.debt-filter-count{align-self:end;margin-bottom:3px}.debt-form-grid,.debt-form-grid-payment,.debt-form-grid-adjustment{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.debt-form-grid{align-items:end;padding:14px}.debt-form-grid label{font-weight:600}.debt-form-grid input,.debt-form-grid select{min-width:0;font-weight:400}.debt-form-grid input[readonly]{font-weight:500}.debt-note-field{grid-column:span 2}.debt-save-button{justify-self:end;min-width:118px;padding-inline:18px}.debt-movement-table th{font-weight:700}.debt-movement-table td{font-weight:400}.debt-movement-plus td:nth-child(4),.debt-movement-plus td:nth-child(5),.debt-movement-minus td:nth-child(4),.debt-movement-minus td:nth-child(5){font-weight:600}.debt-summary-primary strong{font-size:24px}.debt-summary-card small,.debt-instrument-card small{color:#8a7650;font-weight:400}.debt-modal-actions{align-items:center;gap:8px;display:flex}.debt-tab-form-panel{width:100%;max-width:none;overflow:visible}.debt-tab-form-panel .debt-form-grid-payment{max-width:none}.debt-tab-form-panel.debt-receipt-modal,.debt-tab-form-panel.customer-card-modal{max-height:none;overflow:visible}.debt-tab-form-panel .debt-form-grid{background:0 0;border:0;gap:14px;padding:0;display:grid}.debt-tab-form-panel .custody-operation-locked-area{box-sizing:border-box;width:100%;min-width:0}.debt-tab-form-panel .debt-operation-grid,.debt-tab-form-panel .debt-operation-lines,.debt-tab-form-panel .debt-operation-footer{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.debt-tab-form-panel .debt-form-row,.debt-tab-form-panel .debt-form-row.three{display:contents}.debt-tab-form-panel .debt-operation-grid .debt-rate-field,.debt-tab-form-panel .debt-operation-grid .debt-note-field{min-width:0}.debt-tab-form-panel .debt-operation-grid .custody-return-custody-field{max-width:240px;flex:0 220px!important;min-width:200px!important}.debt-tab-form-panel .debt-operation-footer .debt-save-button{flex:none;min-width:134px}.debt-operation-lines{border-radius:8px;width:100%;max-width:100%}.debt-form-grid-payment{grid-template-columns:1fr;gap:14px}.debt-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.debt-form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.debt-customer-combobox{width:100%;position:relative}.debt-customer-options{z-index:90;background:#fffdf8;border:1px solid #cba7507a;border-radius:8px;max-height:220px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 12px 28px #14120f29}.debt-customer-options button{color:#1f1409;text-align:left;background:0 0;border:0;border-bottom:1px solid #cba7502e;width:100%;min-height:38px;padding:8px 12px;font-weight:700}.debt-customer-options button:hover{background:#fff1bd}.debt-customer-options button small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:600;display:block}.debt-customer-options button:last-child{border-bottom:0}td.debt-movement-plus,td.debt-movement-minus{font-weight:400}td.debt-movement-plus{color:#b3261e}td.debt-movement-minus{color:#16803c}@media (width<=1280px){.debt-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.debt-form-row,.debt-form-row.three{grid-template-columns:1fr}}.new-transactions-page{--nt-ink:#29271f;--nt-muted:#777164;--nt-line:#e8e2d5;--nt-gold:#9b761c;--nt-gold-soft:#fbf5e6;gap:18px;max-width:1600px;margin:0 auto;padding-bottom:36px;display:grid}.new-transaction-hero,.new-account-bar,.smart-list,.new-save-bar{border:1px solid var(--nt-line);background:#fff;border-radius:20px;box-shadow:0 12px 34px #362d160e}.new-transaction-hero{background:radial-gradient(circle at 92% 10%,#cca74229,#0000 28%),linear-gradient(135deg,#fff 0%,#fffcf5 100%);justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;display:flex}.new-transaction-hero h1{color:var(--nt-ink);letter-spacing:-.035em;margin:4px 0 5px;font-size:clamp(24px,3vw,36px)}.new-transaction-hero p{color:var(--nt-muted);margin:0}.new-transaction-hero .eyebrow{color:var(--nt-gold);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.new-account-bar{grid-template-columns:minmax(430px,1.5fr) minmax(170px,.55fr) minmax(250px,1fr);align-items:end;gap:16px;padding:18px;display:grid}.new-account-bar label,.smart-fields label,.partial-payment>label:not(:first-child){min-width:0;color:var(--nt-muted);gap:7px;font-size:12px;font-weight:700;display:grid}.new-account-bar input,.new-account-bar select,.smart-fields input,.smart-fields select,.partial-payment input[type=text]{box-sizing:border-box;width:100%;min-height:42px;color:var(--nt-ink);font:inherit;background:#fff;border:1px solid #ded7c9;border-radius:11px;padding:9px 11px;font-size:14px;font-weight:600}.smart-fields input[readonly]{color:#665f51;background:#f8f6f1}.new-account-bar input:focus,.new-account-bar select:focus,.smart-fields input:focus,.smart-fields select:focus{border-color:#b38a2b;outline:2px solid #ae841f33}.segmented-control{border:1px solid var(--nt-line);background:#f6f3ed;border-radius:13px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.segmented-control button{color:#716b60;cursor:pointer;background:0 0;border:0;border-radius:10px;min-height:42px;padding:8px 12px;font-weight:750}.segmented-control button.active{color:#fff;background:#2f2b21;box-shadow:0 5px 14px #2520142e}.smart-list{overflow:hidden}.smart-list>header{border-bottom:1px solid var(--nt-line);justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:13px 18px 13px 22px;display:flex}.smart-list.sale>header{background:linear-gradient(90deg,#fff8f1,#fff)}.smart-list.purchase>header{background:linear-gradient(90deg,#f2f8f4,#fff)}.smart-list.debt>header{background:linear-gradient(90deg,#fff7e7,#fff)}.smart-list.custody>header{background:linear-gradient(90deg,#f3f4fb,#fff)}.smart-list header span{color:var(--nt-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:11px;font-weight:800;display:block}.smart-list header h2{color:var(--nt-ink);margin:0;font-size:19px}.circle-add,.secondary-circle-add{color:#fff;cursor:pointer;background:#2f2b21;border:0;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 8px 18px #2a24162e}.secondary-circle-add{color:#796020;width:40px;height:40px;box-shadow:none;background:#f1e5c3}.list-header-actions{align-items:center;gap:8px;display:flex}.smart-list-empty{color:#8a8478;justify-content:center;align-items:center;gap:6px;min-height:76px;padding:14px;font-size:14px;display:flex}.smart-rows{display:grid}.smart-row{border-bottom:1px solid #efebe3;grid-template-columns:38px minmax(0,1fr) 38px;align-items:start;gap:12px;padding:16px 18px;display:grid}.smart-row:last-child{border-bottom:0}.smart-row-number{color:#786222;background:var(--nt-gold-soft);border-radius:10px;place-items:center;width:31px;height:31px;margin-top:2px;font-size:12px;font-weight:900;display:grid}.smart-row-main{gap:13px;min-width:0;display:grid}.smart-row-title{color:var(--nt-ink);align-items:baseline;gap:10px;display:flex}.smart-row-title span{color:var(--nt-muted);font-size:13px}.smart-fields{grid-template-columns:repeat(7,minmax(120px,1fr));align-items:end;gap:10px;display:grid}.inline-input{grid-template-columns:minmax(0,1fr) auto;display:grid}.inline-input input{border-radius:11px 0 0 11px}.inline-input button{color:#67501a;cursor:pointer;background:#f8efd8;border:1px solid #ded7c9;border-left:0;border-radius:0 11px 11px 0;padding:0 12px;font-weight:800}.row-remove{color:#a4493e;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;display:grid}.row-remove:hover{background:#fff0ed}.partial-payment{background:#fffaf0;border:1px dashed #d9c586;border-radius:12px;align-items:end;gap:18px;min-height:42px;padding:10px 12px;display:flex}.partial-payment>label:first-child{color:#67501a;align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.partial-payment input[type=checkbox]{accent-color:#9b761c;width:17px;height:17px}.partial-payment>label:not(:first-child){width:210px}.optional-list-actions{flex-wrap:wrap;gap:10px;padding:2px 0;display:flex}.new-summary-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;display:grid}.new-summary-card{border:1px solid var(--nt-line);background:#fff;border-radius:16px;gap:7px;padding:18px;display:grid}.new-summary-card span{color:var(--nt-muted);font-size:12px;font-weight:750}.new-summary-card strong{color:var(--nt-ink);font-size:20px}.new-summary-card.accent{background:var(--nt-gold-soft);border-color:#d6bd73}.new-save-bar{z-index:5;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px 14px 20px;display:flex;position:sticky;bottom:14px}.new-save-bar>span{color:var(--nt-muted);align-items:center;gap:8px;font-size:13px;display:flex}.new-transactions-page .danger-button{color:#fff;cursor:pointer;background:#a93d31;border:1px solid #a93d31;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-weight:800;display:inline-flex}.compact-modal{background:#fff;border-radius:20px;width:min(520px,100vw - 32px);padding:25px;position:relative;box-shadow:0 28px 80px #0000003d}.compact-modal h2{margin:0 0 18px}.compact-modal p{color:var(--nt-muted)}.modal-close{cursor:pointer;background:#f4f1eb;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:14px;right:14px}.row-kind-chooser{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.row-kind-chooser button{color:#4d432c;cursor:pointer;background:#fffaf0;border:1px solid #e2dac8;border-radius:14px;place-items:center;gap:8px;min-height:100px;font-weight:850;display:grid}.modal-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}@media (width<=1250px){.smart-fields{grid-template-columns:repeat(4,minmax(130px,1fr))}.new-summary-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=850px){.new-transaction-hero,.new-save-bar{flex-direction:column;align-items:stretch}.new-account-bar{grid-template-columns:1fr}.smart-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.new-summary-grid{grid-template-columns:repeat(2,1fr)}.new-save-bar{position:static}}@media (width<=560px){.segmented-control{grid-template-columns:1fr}.smart-row{grid-template-columns:30px minmax(0,1fr) 30px;gap:8px;padding:13px 10px}.smart-fields,.new-summary-grid,.row-kind-chooser{grid-template-columns:1fr}.partial-payment{flex-direction:column;align-items:stretch}.partial-payment>label:not(:first-child){width:100%}}@media (width<=620px){.debt-tab-form-panel .debt-operation-footer{flex-direction:column;align-items:stretch}.debt-tab-form-panel .operation-review-check{white-space:normal}}.debt-receipt-modal .receipt-paper{margin-bottom:0}@media (width<=860px){.debt-note-field{grid-column:1/-1}.debt-save-button{justify-self:stretch}}@media print{.simple-modal-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important;inset:auto!important}.simple-modal{width:auto!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:visible!important}.debt-modal-actions,.debt-receipt-modal>.section-title{display:none!important}}.debt-card-main-line{color:#7a5a08;font-size:13px}.debt-card-main-line strong{color:#9a6b00;font-size:14px;font-weight:700}.debt-account-card-body b{display:none}.debt-distribution-grid-dynamic{flex-wrap:wrap;justify-content:flex-start;align-items:stretch;display:flex}.debt-distribution-panel .debt-distribution-grid-dynamic{display:none!important}.debt-distribution-table-wrap{border-radius:8px}.debt-distribution-table td:nth-child(2),.debt-distribution-table td:nth-child(3),.debt-distribution-table td:nth-child(4),.debt-distribution-table th:nth-child(2),.debt-distribution-table th:nth-child(3),.debt-distribution-table th:nth-child(4){text-align:right}.debt-instrument-card{flex:0 0 220px;width:220px}.debt-filter-grid-slim label,.debt-filter-grid-slim input,.debt-filter-grid-slim select{font-weight:400}.topbar-live-rates{grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:10px;min-width:0;display:grid;overflow:hidden}.topbar-fixed-rates{flex-shrink:0;align-items:center;gap:8px;display:flex}.topbar-rate-card{white-space:nowrap;background:linear-gradient(#fffdf6 0%,#fff3bd 100%);border:1px solid #d1a83d59;border-radius:8px;line-height:1.15;box-shadow:0 8px 18px #41300814}.topbar-rate-card span{color:#6b5a37;margin-bottom:3px;font-size:13px;font-weight:800;display:block}.topbar-rate-card strong{color:#1f1605;display:block}.topbar-rate-card small{color:#756848;margin-top:2px;font-size:13px;display:block}.topbar-rate-card.gold strong{color:#b78300}.topbar-rate-card.usd strong{color:#087a3a}.topbar-rate-card.eur strong{color:#1558b0}.topbar-rate-card.compact{background:#fffcf2db}.topbar-rate-marquee{min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 28px calc(100% - 28px),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 28px calc(100% - 28px),#0000 100%)}.topbar-rate-track{gap:8px;width:max-content;animation:42s linear infinite live-rate-marquee;display:flex}.topbar-rate-marquee:hover .topbar-rate-track{animation-play-state:paused}.topbar-rate-error{color:#b42318;font-size:12px}.topbar-manual-rate-warning{color:#6a4a05;background:#fff1bd;border:1px solid #c79b2e6b;border-radius:8px;grid-column:1/-1;width:fit-content;max-width:100%;padding:7px 10px;font-size:12px;font-weight:800;line-height:1.25}.topbar-offline-rate-warning{color:#77500b;background:#fff5dc;border:1px solid #be81237a;border-radius:8px;grid-column:1/-1;width:fit-content;max-width:100%;padding:7px 10px;font-size:12px;font-weight:800;line-height:1.25}@keyframes live-rate-marquee{0%{transform:translate(0)}to{transform:translate(-50%)}}.topbar-live-rates{min-height:58px}.topbar-rate-card{min-width:150px;padding:10px 13px}.topbar-rate-card.compact{min-width:156px}.topbar-rate-head{align-items:center;gap:6px;margin-bottom:4px;display:flex}.topbar-rate-head span{margin:0}.topbar-rate-head svg{flex-shrink:0}.topbar-rate-card strong{font-size:15px;font-weight:600}.topbar-rate-card small{font-weight:400}.topbar-rate-card.gold .topbar-rate-head,.topbar-rate-card.gold strong{color:#b78300}.topbar-rate-card.ons .topbar-rate-head,.topbar-rate-card.ons strong{color:#9b6a00}.topbar-rate-card.usd .topbar-rate-head,.topbar-rate-card.usd strong{color:#087a3a}.topbar-rate-card.eur .topbar-rate-head,.topbar-rate-card.eur strong{color:#00a2e8}.rate-change{border-radius:999px;margin-left:auto;padding:2px 6px;font-size:11px;line-height:1}.rate-change.positive{color:#087a3a;background:#087a3a1a}.rate-change.negative{color:#c1121f;background:#c1121f1a}.rate-change.neutral{color:#6f6f6f;background:#5050501a}.topbar-rate-card.gbp .topbar-rate-head,.topbar-rate-card.gbp strong{color:#6f3bbd}.soft-search-input{background:#fffdf6eb;border:1px solid #be9a466b;border-radius:8px;width:100%;height:38px;margin-bottom:12px;padding:0 12px;font-size:14px}.custody-form-grid input:focus,.custody-form-grid select:focus,.soft-search-input:focus{border-color:#d9a500;outline:3px solid #ffc40029}.custody-distribution-panel,.custody-movement-panel,.custody-action-panel{min-width:0}@media (width<=1300px){.custody-layout{grid-template-columns:300px minmax(0,1fr)}}@media (width<=900px){.custody-layout{grid-template-columns:1fr}}.custody-summary-grid .metric-icon{display:none}.custody-layout{align-items:start;gap:14px;display:grid}.custody-detail-stack{gap:14px;min-width:0;display:grid}.custody-customer-panel,.custody-distribution-panel,.custody-movement-panel,.custody-action-panel{padding:18px}.custody-customer-panel .soft-search-input{border-radius:8px;height:40px;margin-bottom:10px;font-size:14px}.custody-account-card{text-align:left;cursor:pointer;background:#fffdf8;border:1px solid #cba75059;border-radius:8px;gap:10px;width:100%;padding:12px;transition:border-color .15s,background .15s,box-shadow .15s;display:grid}.custody-account-card:hover{background:#fff8df;border-color:#d5a200b8}.custody-account-card.active{background:linear-gradient(#fff8df 0%,#fff0bd 100%);border-color:#d5a200;box-shadow:0 10px 24px #543c0414}.custody-account-card strong,.custody-account-card span{display:block}.custody-account-card strong{color:#1f1409;margin-bottom:8px;font-size:15px}.custody-account-card span{color:#7b6844;margin-top:4px;font-size:12px;line-height:1.35}.custody-movement-panel .customer-card-table-wrap{border-radius:8px}.custody-movement-table th{font-weight:700}.custody-movement-table td{font-weight:400}.section-subtitle{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.custody-card-distribution{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.custody-card-distribution small{color:#6e5a2f;background:#ffffffad;border-radius:999px;align-items:center;min-height:22px;padding:2px 8px;font-size:11px;display:inline-flex}.custody-movement-table td strong,.custody-movement-table td small,.custody-movement-table td span{display:block}.custody-movement-table td small{color:var(--muted);margin-top:4px;font-size:12px}@media (width<=1200px){.custody-layout{grid-template-columns:320px minmax(0,1fr)}}@media (width<=900px){.custody-summary-grid,.custody-layout,.custody-form-grid-modern{grid-template-columns:1fr}.custody-customer-panel{position:static}}.custody-summary-grid{margin-bottom:14px}.custody-customer-panel{position:sticky;top:88px}.custody-account-card{min-height:114px}.custody-account-card-body strong{margin-bottom:8px}.custody-account-card-body .debt-card-main-line{margin-top:4px}.custody-movement-filters{grid-template-columns:180px 180px 180px auto;align-items:end;gap:12px;margin-bottom:14px;display:grid}.custody-movement-filters label{color:var(--muted);gap:6px;font-size:12px;display:grid}.custody-movement-filters input,.custody-movement-filters select{background:#fffdf8;border:1px solid #be9a466b;border-radius:8px;height:38px;padding:0 10px}.custody-movement-filters .debt-filter-count{justify-self:start;width:max-content}@media (width<=780px){.custody-movement-filters{grid-template-columns:1fr}}.custody-customer-panel .count-pill,.custody-movement-panel .count-pill,.custody-count-badge{color:#6b4b00;min-width:28px;height:28px;box-shadow:none;background:#ffe59a;border-radius:999px;place-items:center;padding:0 9px;font-size:13px;font-weight:800;line-height:1;display:inline-grid}.custody-count-badge{color:#5f4300;background:#ffe59a;border-radius:999px;place-items:center;min-width:28px;height:28px;font-weight:700;display:inline-grid}.asset-summary-grid.compact{grid-template-columns:1.25fr 1fr 1fr;align-items:stretch;gap:12px;display:grid}.asset-summary-card{background:radial-gradient(circle at 18% 0,#ffe17f38,#0000 38%),linear-gradient(145deg,#fffdf6fa,#faf4e7f0);border:1px solid #d0ae5b6b;border-radius:8px;min-height:112px;padding:18px 18px 16px;position:relative;overflow:hidden;box-shadow:0 12px 30px #34250a14}.asset-summary-card:after{content:"";pointer-events:none;background:#d4a2261a;border-radius:50%;width:118px;height:118px;position:absolute;inset:auto -30px -46px auto}.asset-summary-card span{z-index:1;color:#6d5a31;letter-spacing:0;font-size:12px;font-weight:750;display:block;position:relative}.asset-summary-card strong{z-index:1;color:#111;margin-top:12px;font-size:24px;font-weight:900;line-height:1.05;display:block;position:relative}.asset-summary-card.primary{background:radial-gradient(circle at 12% 10%,#ffe889c7,#0000 34%),radial-gradient(circle at 82% 12%,#e8b32d3d,#0000 30%),linear-gradient(145deg,#fff2b8 0%,#ffe38a 46%,#fff9e6 100%);border-color:#ca9818a8;grid-column:span 2;min-height:136px;box-shadow:0 18px 42px #875c0a29,inset 0 1px #ffffffb3}.asset-summary-card.primary:after{background:#a3720a1f;width:160px;height:160px}.asset-summary-card.primary span{color:#5c4511;font-size:13px}.asset-summary-card.primary strong{color:#0f0b02;margin-top:16px;font-size:34px}.asset-summary-card:nth-child(2){background:radial-gradient(circle at 14% 8%,#ffe37e6b,#0000 34%),linear-gradient(145deg,#fff8dc 0%,#fff0b7 44%,#fffdf6 100%);border-color:#ca981880;min-height:136px}.asset-summary-card.positive{background:radial-gradient(circle at 16% 4%,#4caf6f29,#0000 36%),linear-gradient(145deg,#fafffafa,#eff9f0f2);border-color:#167c4840}.asset-summary-card.positive strong{color:#08723e}.asset-summary-card.negative{background:radial-gradient(circle at 16% 4%,#b16a2a26,#0000 36%),linear-gradient(145deg,#fffcf7fa,#faf1e7f2);border-color:#8f4b2347}.asset-summary-card.negative strong{color:#8b2f18}.asset-summary-distribution-card{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(120px,.85fr) minmax(150px,1.15fr);column-gap:12px;height:112px;min-height:112px;padding:14px;display:grid}.asset-summary-distribution-card>span{grid-area:1/1}.asset-summary-distribution-card>strong{grid-area:2/1;align-self:start;margin-top:9px;font-size:21px}.asset-summary-distribution{z-index:1;overscroll-behavior:contain;scrollbar-gutter:stable;border-left:1px solid #6d5a3124;flex-wrap:wrap;grid-area:1/2/-1;align-content:start;gap:6px;min-width:0;min-height:0;margin:0;padding:2px 4px 2px 12px;display:flex;position:relative;overflow-y:auto}.asset-summary-distribution-item{background:#ffffff9e;border:1px solid #7d663329;border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:5px 9px 5px 6px;display:inline-flex;box-shadow:inset 0 1px #ffffffb8}.asset-summary-card .asset-summary-distribution-item span{color:#5c4a26;letter-spacing:.04em;background:#6d5a311a;border-radius:999px;place-items:center;min-width:35px;min-height:20px;padding:0 6px;font-size:10px;font-weight:900;display:inline-grid}.asset-summary-distribution-item b{color:#2a2113;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:700;line-height:1}.asset-summary-card.positive .asset-summary-distribution-item{background:#ffffffb3;border-color:#167c4829}.asset-summary-card.positive .asset-summary-distribution-item span{color:#086338;background:#167c481a}.asset-summary-card.negative .asset-summary-distribution-item{background:#ffffffad;border-color:#8f4b2329}.asset-summary-card.negative .asset-summary-distribution-item span{color:#7a321c;background:#8f4b231a}.asset-summary-distribution::-webkit-scrollbar{width:6px}.asset-summary-distribution::-webkit-scrollbar-thumb{background:#6d5a314d;border-radius:999px}.assets-accounts-section{margin-bottom:14px}.assets-accounts-section>.section-title{gap:12px}.assets-accounts-section>.section-title .quick-actions{flex-wrap:nowrap;gap:8px;max-width:100%;overflow-x:auto}.assets-accounts-section>.section-title .quick-actions button{white-space:nowrap;min-height:38px;padding-inline:10px}.assets-accounts-section>.section-title .quick-actions button span{font-size:13px}.asset-account-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.asset-account-card{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;gap:6px;min-height:92px;padding:14px;display:grid}.asset-account-card-head{align-items:flex-start;gap:8px;min-width:0;display:flex}.asset-account-symbol{flex:0 0 34px;width:34px;font-size:26px;font-weight:900;line-height:1}.asset-account-symbol.try{color:#0f766e}.asset-account-symbol.usd{color:#0f7a3b}.asset-account-symbol.eur{color:#0284c7}.asset-account-symbol.gbp{color:#8b5cf6}.asset-account-symbol.silver{color:#64748b;font-size:23px}.asset-account-symbol.other{color:var(--accent-strong);font-size:14px}.asset-account-card-head strong,.asset-account-card-head small{display:block}.asset-account-card-head strong{color:#3d3120;font-size:13px;line-height:1.05}.asset-account-card-head small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.15}.asset-account-card-body{gap:3px;display:grid}.asset-account-card-body strong{color:#1f1409;font-size:18px;line-height:1.12}.asset-account-card-body small{color:var(--muted);font-size:12px}.asset-account-symbol.gold{color:#b88900;font-size:24px}.assets-rate-warning{margin-bottom:14px}.asset-account-action{color:#3d3120;background:#fffdf7;border:1px solid #ead9ad;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:fit-content;min-height:30px;margin-top:2px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.asset-account-action:hover{border-color:var(--border-strong);background:#fff7e2}.asset-account-action.danger{color:var(--danger)}.asset-account-action.danger:hover{background:#fff1eb;border-color:#b4231852}.assets-movements-section{margin-top:14px}.asset-movements-title{justify-content:flex-start;align-items:center;gap:10px}.asset-movement-filters{align-items:center;gap:7px;display:flex}.asset-movement-filters label{display:block}.asset-movement-filters input{color:#30210f;width:132px;min-height:34px;font:inherit;letter-spacing:0;text-transform:none;background:#fffffff0;border:1px solid #ddc890;border-radius:8px;padding:5px 8px;font-size:13px;font-weight:400;transition:border-color .14s,box-shadow .14s,background .14s;box-shadow:inset 0 1px 2px #4b37100a}.asset-movement-filter-label{color:#765c2b;white-space:nowrap;font-size:11px;font-weight:800}.asset-movement-filter-label:before{color:#b49a62;content:"·";margin-right:10px}.asset-movement-filter-separator{color:#a38d61;font-size:14px}.asset-movement-filters input:hover{background:#fff;border-color:#c6a64f}.asset-movement-filters input:focus{border-color:var(--accent);background:#fff;outline:0;box-shadow:0 0 0 3px #c79b2e2b}.asset-movement-filters input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72;border-radius:5px;padding:4px}.asset-movement-filters input::-webkit-calendar-picker-indicator:hover{opacity:1;background:#fff0c5}@media (width<=1100px){.asset-summary-grid.compact,.asset-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.asset-summary-grid.compact,.asset-account-grid{grid-template-columns:1fr}.asset-summary-card.primary{grid-column:auto}.asset-movements-title{flex-direction:column;align-items:stretch}.asset-movement-filters{flex-wrap:wrap}.asset-movement-filters label{flex:130px}.asset-movement-filters input{width:100%}}.asset-movement-list{gap:8px;display:grid}.asset-movement-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px 12px;display:flex}.asset-movement-row:nth-child(2n){background:#fbf6e8eb}.asset-movement-row strong,.asset-movement-row span,.asset-movement-row small{display:block}.asset-movement-row strong{font-size:14px}.asset-movement-row span,.asset-movement-row small{color:var(--muted);font-size:13px}.asset-movement-meta{text-align:right;min-width:160px}@media (width<=760px){.asset-movement-row{flex-direction:column;align-items:flex-start}.asset-movement-meta{text-align:left;min-width:0}}.modal-backdrop{z-index:50;background:#14120f61;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(760px,100%);max-height:min(760px,100vh - 48px);overflow:auto;box-shadow:0 24px 60px #14120f42}.modal-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:14px;padding:18px;display:flex}.modal-title h2{margin:0;font-size:20px}.modal-title p{color:var(--muted);margin:4px 0 0;font-size:13px}.modal-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:14px 18px 18px;display:flex}.barcode-print-modal{width:min(620px,100%)}.barcode-label-preview-wrap{background:#f7f3e99e;justify-items:center;gap:10px;padding:28px 18px;display:grid}.barcode-label-preview-wrap>small{color:var(--muted)}.barcode-label-preview{color:#111;background:#fff;border:1px solid #b9b4a8;border-radius:10px;grid-template-columns:28fr 44fr;width:min(520px,100%);min-height:116px;display:grid;overflow:hidden;box-shadow:0 8px 20px #14120f1a}.barcode-label-tail{color:#9a9284;background:repeating-linear-gradient(-45deg,#fff 0 8px,#faf8f3 8px 16px);border-right:1px dashed #c9c2b5;place-items:center;font-size:11px;font-weight:700;display:grid}.barcode-label-print-area{grid-template-columns:40px minmax(92px,1fr) 108px;align-items:center;gap:7px;min-width:0;padding:10px 8px;display:grid}.barcode-label-print-area>img{object-fit:contain;width:38px;max-height:64px;display:block}.barcode-label-product,.barcode-label-code{gap:4px;min-width:0;display:grid}.barcode-label-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.barcode-label-product span{white-space:nowrap;font-size:10px;font-weight:700}.barcode-label-product{transform:translateY(6px)}.barcode-label-code{justify-items:center}.barcode-label-code strong{letter-spacing:.7px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:800}.barcode-label-bars{background:repeating-linear-gradient(90deg,#111 0 2px,#0000 2px 4px,#111 4px 7px,#0000 7px 9px,#111 9px 10px,#0000 10px 13px);width:102px;height:47px}.asset-count-modal{width:min(860px,100%)}.asset-count-list{gap:8px;padding:18px;display:grid}.asset-count-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:minmax(170px,1fr) minmax(280px,360px) minmax(120px,150px);align-items:center;gap:12px;padding:12px;display:grid}.asset-count-row strong,.asset-count-row span{display:block}.asset-count-row>div:first-child strong{font-size:14px}.asset-count-row>div:first-child span{color:var(--muted);margin-top:3px;font-size:13px}.asset-count-row label{color:var(--muted);gap:6px;font-size:13px;display:grid}.asset-count-row input{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.asset-count-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.asset-count-gold-entry{grid-template-columns:minmax(150px,1fr) auto;align-items:end;gap:10px;display:grid}.asset-count-readonly-field{border:1px solid var(--border);background:#fff8e8;border-radius:8px;align-items:center;width:100%;min-height:38px;padding:0 10px;color:#3d3120!important;font-size:14px!important;display:flex!important}.asset-count-gold-entry .secondary-button{white-space:nowrap;min-height:38px}.asset-count-diff{text-align:right}.asset-count-diff span{color:var(--muted);font-size:12px}.asset-count-diff strong{color:#1f1409;margin-top:4px;font-size:15px;font-weight:650}.asset-count-diff.warning strong{color:#9a6a00}.asset-count-diff.success strong{color:var(--success)}.asset-count-diff.negative strong{color:var(--danger)}@media (width<=760px){.asset-count-row,.asset-count-gold-entry{grid-template-columns:1fr}.asset-count-diff{text-align:left}}.asset-count-message{color:#3d3120;background:#fff8e8;border:1px solid #ead9ad;border-radius:8px;margin:0 18px 18px;padding:12px;font-size:14px}.asset-count-detail-cell{align-items:center;gap:6px;display:grid}.asset-count-detail-cell .secondary-button{width:fit-content;min-height:36px}.asset-count-detail-cell span{color:var(--muted);font-size:13px}.asset-gold-count-modal{width:min(980px,100%)}.asset-gold-count-body{gap:14px;padding:18px;display:grid}.asset-gold-count-summary,.asset-gold-count-report{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.asset-gold-count-summary article,.asset-gold-count-report>div{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;min-height:64px;padding:10px 12px}.asset-gold-count-summary span,.asset-gold-count-report span,.asset-gold-product-row span,.asset-gold-scrap-row span{color:var(--muted);font-size:12px;display:block}.asset-gold-count-summary strong,.asset-gold-count-report strong{color:#1f1409;margin-top:6px;font-size:16px;font-weight:650;display:block}.asset-gold-count-tone strong{font-weight:650}.asset-gold-count-tone.danger strong{color:var(--danger)}.asset-gold-count-tone.warning strong{color:#9a6a00}.asset-gold-count-tone.success strong{color:var(--success)}.asset-gold-count-tone.neutral strong{color:#1f1409}.asset-gold-count-scan{grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:10px;display:grid}.asset-gold-count-scan label,.asset-gold-product-row label,.asset-gold-scrap-row label{color:var(--muted);gap:6px;font-size:13px;display:grid}.asset-gold-count-scan input,.asset-gold-product-row input,.asset-gold-scrap-row input{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.asset-gold-count-section{gap:8px;display:grid}.asset-gold-count-section-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.asset-gold-count-section-title h3{margin:0;font-size:15px}.asset-gold-count-section-title span{color:var(--muted);font-size:13px}.asset-gold-product-row,.asset-gold-scrap-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:minmax(260px,1fr) minmax(120px,150px) minmax(110px,130px);align-items:center;gap:12px;padding:10px 12px;display:grid}.asset-gold-product-row.danger,.asset-gold-scrap-row.danger{background:#fff3ef;border-color:#b423183d;box-shadow:inset 3px 0 #b4231847}.asset-gold-product-row.warning,.asset-gold-scrap-row.warning{background:#fff8df;border-color:#b07b0047;box-shadow:inset 3px 0 #cd970057}.asset-gold-product-row.success,.asset-gold-scrap-row.success{background:#f2f9ee;border-color:#247d4438;box-shadow:inset 3px 0 #247d4447}.asset-gold-product-row strong,.asset-gold-scrap-row strong{color:#1f1409;font-size:14px;display:block}.asset-gold-missing-table{background:#fffdf8f5;border:1px solid #b4231838;border-radius:8px;gap:0;display:grid;overflow:hidden}.asset-gold-missing-table .asset-gold-count-section-title{background:#fff3ef;border-bottom:1px solid #b4231824;padding:10px 12px}.asset-gold-missing-head,.asset-gold-missing-row{grid-template-columns:minmax(160px,1fr) minmax(90px,120px) minmax(110px,140px);align-items:center;display:grid}.asset-gold-missing-head{color:#7d241c;background:#ffe8df;min-height:34px;font-size:12px;font-weight:800}.asset-gold-missing-row{border-top:1px solid #b423181f;min-height:38px}.asset-gold-missing-head span,.asset-gold-missing-row span,.asset-gold-missing-row strong{padding:8px 10px}.asset-gold-missing-row strong{color:#1f1409;font-size:13px}@media (width<=760px){.asset-gold-count-summary,.asset-gold-count-report,.asset-gold-count-scan,.asset-gold-product-row,.asset-gold-scrap-row,.asset-gold-missing-head,.asset-gold-missing-row{grid-template-columns:1fr}}.asset-day-summary-modal{width:min(920px,100%)}.asset-day-summary-table{padding:14px 18px 8px;display:grid}.asset-day-summary-head,.asset-day-summary-row{grid-template-columns:minmax(190px,1.25fr) repeat(3,minmax(130px,1fr));align-items:center;display:grid}.asset-day-summary-head{color:#40341f;background:#fff0bf;border:1px solid #ead9ad;border-bottom:0;border-radius:8px 8px 0 0;min-height:40px;font-size:12px;font-weight:800}.asset-day-summary-row{background:#fffdf7;border:1px solid #ead9ad;border-top:0;min-height:44px}.asset-day-summary-row:last-child{border-radius:0 0 8px 8px}.asset-day-summary-head span,.asset-day-summary-row span,.asset-day-summary-row strong{border-left:1px solid #ead9adb8;min-width:0;padding:10px 12px}.asset-day-summary-head span:first-child,.asset-day-summary-row span:first-child,.asset-day-summary-row strong:first-child{border-left:0}.asset-day-summary-row strong{color:#1f1409;font-size:14px;font-weight:700}.asset-day-summary-row span{color:var(--muted);font-size:13px}@media (width<=760px){.asset-day-summary-head{display:none}.asset-day-summary-row{border-top:1px solid #ead9ad;border-radius:8px;grid-template-columns:1fr}.asset-day-summary-row+.asset-day-summary-row{margin-top:8px}.asset-day-summary-row span,.asset-day-summary-row strong{border-top:1px solid #ead9adb8;border-left:0}.asset-day-summary-row strong:first-child{border-top:0}}.asset-day-summary-row>strong{color:#1f1409}.asset-day-closing-list{padding:12px 18px 8px;display:grid}.asset-day-closing-line{min-height:42px}.asset-day-closing-line span,.asset-day-closing-line small{color:#5f5646;font-size:13px;font-weight:500}.asset-day-closing-line strong,.asset-day-closing-line b{color:#17130c;font-size:14px;font-weight:650}.asset-day-closing-separator{height:12px}.asset-day-closing-head{margin-top:4px}.asset-day-closing-line.positive strong{color:#08723e}.asset-day-closing-line.negative strong{color:#8b2f18}.asset-day-closing-line.net{border-top:1px solid #ab8a3673;margin-top:6px}.asset-day-closing-line.net span{color:#2e2617;font-size:15px;font-weight:700}.asset-day-closing-line.net strong{color:#050403;font-size:18px;font-weight:750}.asset-day-closing-total-table{margin-top:14px}@media (width<=760px){.asset-day-closing-head{display:none}}@media (width<=640px){.asset-day-summary-row{flex-direction:column;align-items:flex-start}}.asset-adjustment-modal{width:min(760px,100%)}.asset-opening-modal{overflow:hidden}.asset-opening-workspace{flex:1;grid-template:"controls lines""confirm lines""message lines""empty lines"minmax(0,1fr)/minmax(320px,370px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.asset-opening-workspace .asset-adjustment-form{background:linear-gradient(#fffaeae6,#ffffffa6);border-right:1px solid #be963738;grid-area:controls;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"customer customer""instrument amount""product product""add add";align-content:start;gap:10px;padding:16px 18px}.asset-opening-workspace .asset-adjustment-form.asset-opening-product-form{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-opening-workspace .custody-operation-customer-row{grid-area:customer}.asset-opening-instrument-field{grid-area:instrument}.asset-opening-product-field{grid-area:product}.asset-opening-workspace .asset-opening-amount-field{grid-area:amount;width:100%}.asset-opening-workspace .asset-opening-add-button{grid-area:add;justify-self:stretch;min-height:40px}.asset-opening-workspace-lines{background:#fffdf780;border-left:1px solid #be963729;flex-direction:column;grid-area:lines;min-width:0;min-height:0;display:flex;overflow:hidden}.asset-opening-workspace-lines .asset-opening-lines{scrollbar-gutter:stable;border:0;border-radius:0;flex:1;min-height:0;margin:0;overflow-y:auto}.asset-opening-workspace>.asset-confirm-row{grid-area:confirm;padding:14px 18px 0}.asset-opening-workspace>.asset-opening-message{grid-area:message;margin:12px 18px 0}.asset-opening-lines{margin:8px 18px 0}.asset-adjustment-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px;display:grid}.asset-adjustment-form label{color:var(--muted);gap:6px;font-size:13px;display:grid}.asset-adjustment-form input,.asset-adjustment-form select,.asset-adjustment-form textarea{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.asset-adjustment-form textarea{resize:vertical;min-height:82px;padding:10px}.asset-adjustment-form input:focus,.asset-adjustment-form select:focus,.asset-adjustment-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.asset-adjustment-description{grid-column:1/-1}.asset-confirm-row{color:var(--text);align-items:center;gap:10px;padding:0 18px 10px;display:flex}.asset-confirm-row input{width:16px;height:16px;accent-color:var(--accent)}.asset-confirm-row strong,.asset-opening-message{font-weight:600}.asset-opening-message-success{color:#236b2c;background:#edf8ed;border-color:#9dc89f;box-shadow:inset 4px 0 #4b9b55}.asset-opening-message-error{color:#a12626;background:#fff0f0;border-color:#e0a4a4;box-shadow:inset 4px 0 #c94747}.asset-opening-add-button{place-self:end start;min-height:38px;padding-inline:18px}.asset-opening-quantity-field{width:33.333%;min-width:76px}.asset-adjustment-form.asset-opening-product-form{grid-template-columns:minmax(140px,.8fr) minmax(240px,1.5fr) 76px auto}.asset-opening-product-form .asset-opening-quantity-field{width:100%}@media (width<=760px){.asset-opening-workspace .asset-adjustment-form,.asset-opening-workspace .asset-adjustment-form.asset-opening-product-form{grid-template-columns:minmax(0,1fr);grid-template-areas:"customer""instrument""amount""product""add"}.asset-adjustment-form,.asset-adjustment-form.asset-opening-product-form{grid-template-columns:1fr}.asset-opening-quantity-field{width:100%}.asset-opening-lines{margin-inline:12px}}.debt-receipt-lines{gap:8px;margin:14px 0;font-family:Arial,sans-serif;display:grid}.debt-receipt-lines div{grid-template-columns:170px minmax(0,1fr);align-items:baseline;gap:10px;display:grid}.debt-receipt-lines span{color:#4f4534;font-weight:700}.debt-receipt-lines strong{color:#111;font-weight:800}.debt-modal-actions button:disabled{cursor:not-allowed}.return-exchange-section{margin-top:10px}.return-exchange-page{width:min(1440px,100%);padding-top:18px}.return-exchange-page>.page-heading{margin-bottom:14px}.return-exchange-page .transaction-flow{gap:10px}.return-source-panel,.return-history-panel,.return-workspace-panel{padding:14px}.return-source-panel>.section-title,.return-history-panel>.section-title{margin-bottom:8px}.return-source-panel .transaction-search-form{grid-template-columns:minmax(300px,1fr) 180px;margin-top:0}.return-source-results,.return-history-results{scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:164px;margin-top:8px;padding-right:4px;overflow-y:auto}.return-source-results .transaction-search-row,.return-history-results .transaction-search-row{min-height:56px;padding:7px 9px}.return-source-results .transaction-search-row small,.return-history-results .transaction-search-row small{margin-top:2px;font-size:11px}.return-history-panel .section-title p,.return-workspace-panel .section-title p,.return-entry-card .section-title p,.return-settlement-card .section-title p{color:var(--muted);margin:3px 0 0;font-size:12px}.return-workspace-panel>.section-title{border-bottom:1px solid #cba7503d;margin-bottom:10px;padding-bottom:10px}.return-exchange-page .ledger-summary-grid{gap:8px;margin:10px 0}.return-exchange-page .ledger-summary-card{min-width:0;min-height:68px;padding:9px 11px}.return-exchange-page .ledger-summary-card strong{font-size:15px}.return-exchange-page .ledger-summary-card small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.return-entry-card{background:#fffcf3b8;border:1px solid #cba75057;border-radius:10px;margin-top:10px;padding:12px}.return-entry-card>.section-title{margin-bottom:9px}.return-entry-card .quick-actions{gap:7px;margin-bottom:9px}.return-entry-card .quick-actions button{min-height:36px}.return-exchange-page .transaction-payment-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:10px}.return-exchange-page .transaction-payment-grid>label{min-width:0;font-weight:600}.return-exchange-page .transaction-payment-grid input,.return-exchange-page .transaction-payment-grid select,.return-exchange-page .transaction-payment-grid textarea{width:100%;min-width:0;min-height:40px;color:var(--text);font:inherit;background:#fffdf7;border:1px solid #be9a466b;border-radius:8px;outline:0;padding:0 10px}.return-exchange-page .transaction-payment-grid textarea{resize:vertical;min-height:76px;padding:9px 10px}.return-exchange-page .transaction-payment-grid input:focus,.return-exchange-page .transaction-payment-grid select:focus,.return-exchange-page .transaction-payment-grid textarea:focus{border-color:#d5a200;box-shadow:0 0 0 3px #d5a2001a}.return-entry-card .transaction-payment-grid>.primary-button{white-space:nowrap;align-self:end;width:100%;min-height:42px}.return-lines-table{margin-top:12px}.return-lines-table .transaction-table th,.return-lines-table .transaction-table td{vertical-align:middle;padding:8px 9px}.return-lines-table .transaction-table td input{width:100%;min-width:0;max-width:132px}.return-settlement-card{background:linear-gradient(#fffdf8 0%,#fff7e3 100%);border:1px solid #cba75061;border-radius:10px;gap:10px;margin-top:12px;padding:13px}.return-settlement-card>.section-title{margin-bottom:0}.return-exchange-page .return-reason-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.return-exchange-page .return-reason-grid>label{align-self:start}.return-exchange-page .return-reason-grid select{min-height:40px}.return-exchange-page .return-reason-grid textarea{min-height:76px}@media (width<=700px){.return-exchange-page .return-reason-grid{grid-template-columns:1fr}}@media (width<=900px){.return-source-results,.return-history-results{grid-template-columns:1fr}.return-exchange-page .transaction-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.return-exchange-page{padding:14px}.return-source-panel .transaction-search-form,.return-exchange-page .transaction-payment-grid{grid-template-columns:1fr}.return-source-results,.return-history-results{max-height:220px}}.return-source-results .transaction-search-row,.return-history-results .transaction-search-row{grid-template-columns:minmax(0,1fr) auto}.return-start-button{white-space:nowrap;min-height:36px}@media (width<=620px){.return-start-button{padding:0 10px;font-size:12px}}.debt-customer-toolbar{grid-template-columns:minmax(0,1fr) 118px;gap:8px;margin-bottom:10px;display:grid}.debt-customer-toolbar .debt-search{margin-bottom:0}.debt-status-select{color:#3b2a0b;background:#fffdf8;border:1px solid #cba7507a;border-radius:8px;height:40px;padding:0 10px;font-size:13px;font-weight:800}.debt-card-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.debt-status-badge{border-radius:999px;flex:none;padding:3px 8px;font-size:10px;font-style:normal;font-weight:900;line-height:1.2}.debt-status-open{color:#b3261e;background:#fff0e8}.debt-status-closed{color:#16723c;background:#eaf7ee}@media (width<=520px){.debt-customer-toolbar{grid-template-columns:1fr}}.return-operation-tabs-panel{background:#fffcf3c2;border:1px solid #cba75057;border-bottom:0;border-radius:10px 10px 0 0;margin-top:12px;padding:12px 12px 10px}.return-operation-tabs-panel+.return-entry-card,.return-operation-tabs-panel~.return-entry-card:not(.return-operation-hidden){border-radius:0 0 10px 10px;margin-top:0}.return-operation-hidden,.return-entry-card>.section-title{display:none}.return-operation-tabs-panel .operation-tabs{gap:9px}.return-operation-tabs-panel .operation-tabs button{min-width:72px}.return-lines-table .transaction-table{table-layout:fixed;width:100%;min-width:980px}.return-lines-table .transaction-table th:first-child{width:9%}.return-lines-table .transaction-table th:nth-child(2){width:28%}.return-lines-table .transaction-table th:nth-child(3){width:9%}.return-lines-table .transaction-table th:nth-child(4){width:11%}.return-lines-table .transaction-table th:nth-child(5),.return-lines-table .transaction-table th:nth-child(6),.return-lines-table .transaction-table th:nth-child(7){width:13%}.return-lines-table .transaction-table th:nth-child(8){text-align:center;width:4%}.return-lines-table .transaction-table td:nth-child(2){overflow-wrap:anywhere}.return-lines-table .transaction-table td:last-child{text-align:center}.return-source-lines{margin:10px 0 12px}.return-source-lines>.section-title{margin-bottom:7px}.return-source-lines>.section-title h3{color:#5f5138;margin:0;font-size:13px}.return-source-lines-table{table-layout:fixed;min-width:640px}.return-source-lines-table th:first-child{width:10%}.return-source-lines-table th:nth-child(2){width:48%}.return-source-lines-table th:nth-child(3){width:11%}.return-source-lines-table th:nth-child(4){width:15%}.return-source-lines-table th:nth-child(5){width:16%}.return-lines-table input[readonly]{background:#fff8e6}.transaction-result-grid{grid-template-columns:repeat(3,minmax(180px,260px));gap:10px;margin-top:12px;display:grid}.transaction-result-grid .ledger-summary-card:last-child strong{color:#078438}.return-settlement-card{padding-bottom:68px;position:relative}.return-settlement-card .transaction-submit-row{margin:0;position:absolute;bottom:14px;left:14px;right:14px}.return-settlement-card .transaction-submit-row .primary-button{min-height:42px;padding:0 22px}@media (width<=760px){.transaction-result-grid{grid-template-columns:1fr}.return-settlement-card{padding-bottom:13px}.return-settlement-card .transaction-submit-row{margin-top:12px;position:static}}.return-source-badge{color:#8a5a00;background:#fff0b8;border:1px solid #be84126b;border-radius:999px;width:fit-content;margin:3px 0;padding:3px 8px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.return-source-panel .return-source-results{max-height:min(520px,100vh - 280px)}.return-settlement-option-panel{background:#fffaf0;border:1px solid #be91236b;border-radius:10px;margin-top:12px;padding:14px}.return-settlement-option-panel>.section-title{margin-bottom:12px}.return-settlement-option-panel h3{margin:0;font-size:16px}.return-settlement-option-grid{grid-template-columns:minmax(220px,1.35fr) minmax(170px,1fr) minmax(150px,.85fr) minmax(180px,1fr) minmax(180px,1fr);align-items:start;gap:10px;display:grid}.return-settlement-option-grid>label{min-width:0;color:var(--muted);gap:6px;font-size:13px;font-weight:600;display:grid}.return-settlement-option-grid input,.return-settlement-option-grid select{width:100%;min-width:0;min-height:40px;color:var(--text);font:inherit;background:#fffdf7;border:1px solid #be9a466b;border-radius:8px;outline:0;padding:0 10px}.return-settlement-option-grid input:focus,.return-settlement-option-grid select:focus{border-color:#d5a200;box-shadow:0 0 0 3px #d5a2001a}.return-settlement-option-grid input[readonly]{color:#624900;background:#fff3cf;border-style:dashed;font-weight:700}.return-settlement-option-grid small{color:var(--muted);font-size:11px;font-weight:500}.return-settlement-card .transaction-submit-row .secondary-button{min-height:42px}@media (width<=1100px){.return-settlement-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.return-settlement-option-grid{grid-template-columns:1fr}.return-settlement-card .transaction-submit-row{width:100%}.return-settlement-card .transaction-submit-row button{flex:1}}.custody-account-card{grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important}.custody-account-card .avatar-mark{align-self:center!important}.custody-account-card-body{gap:3px;min-width:0;display:grid}.custody-account-card-body .debt-card-main-line strong{color:#8a6508;font-size:14px;font-weight:900}.custody-customer-panel .custody-account-card{min-height:auto!important;box-shadow:none!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:10px!important;padding:10px!important}.custody-customer-panel .custody-account-card .avatar-mark{align-self:start!important;width:42px!important;height:42px!important}.custody-customer-panel .custody-account-card-body{gap:3px!important;min-width:0!important;display:grid!important}.custody-customer-panel .custody-account-card-body strong{color:#1f1409!important;margin-bottom:4px!important;font-size:15px!important;font-weight:700!important}.custody-customer-panel .custody-account-card-body span{color:#6f5c2d!important;font-size:12px!important}.custody-customer-panel .custody-account-card-body small{color:#8a7650!important;font-size:12px!important;font-weight:500!important}.custody-customer-panel .custody-account-card-body .debt-card-main-line{color:#7a5a08!important;margin-top:3px!important;font-size:13px!important}.custody-customer-panel .custody-account-card-body .debt-card-main-line strong{color:#9a6b00!important;margin:0!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;display:block!important}.custody-customer-panel .custody-card-distribution{display:none!important}.custody-layout{grid-template-columns:360px minmax(0,1fr)!important}@media (width<=980px){.custody-layout{grid-template-columns:1fr!important}.custody-customer-panel{position:static!important}}.custody-movement-table{min-width:980px}.custody-movement-table th,.custody-movement-table td{white-space:nowrap}.custody-movement-table th:nth-child(2),.custody-movement-table td:nth-child(2){white-space:normal;word-break:break-word;min-width:120px;max-width:140px}.return-detail-modal{width:min(1080px,100vw - 32px);max-height:calc(100vh - 48px);overflow:auto}.return-editing-area-locked{opacity:.45;filter:grayscale(.25);-webkit-user-select:none;user-select:none}.return-editing-area-locked:after{z-index:5;color:#7a4d00;text-align:center;pointer-events:none;background:#fffaf0b8;border:1px dashed #9b6f0073;border-radius:12px;place-items:center;padding:18px;font-weight:800;position:absolute;inset:0}.return-editing-area{border:0;min-width:0;margin:0;padding:0}.return-editing-area-locked:after{content:none!important;display:none!important}.return-editing-area-locked input,.return-editing-area-locked select,.return-editing-area-locked textarea,.return-editing-area-locked button{cursor:not-allowed}.transaction-editing-area{border:0;min-width:0;margin:0;padding:0}.transaction-editing-area-locked{opacity:.45;filter:grayscale(.25);-webkit-user-select:none;user-select:none}.transaction-editing-area-locked input,.transaction-editing-area-locked select,.transaction-editing-area-locked textarea,.transaction-editing-area-locked button{cursor:not-allowed}.new-transactions-copy-page .transaction-flow{grid-template-columns:minmax(0,1fr);align-items:start}.new-transactions-copy-page .transaction-bar{grid-area:auto}.new-transactions-copy-page .transaction-editing-area{gap:14px;display:grid}.new-transactions-copy-page .transaction-builder{grid-area:auto;padding:12px}.new-transactions-copy-page .transaction-list-panel{grid-area:auto;min-width:0;height:auto}.new-transactions-copy-page .transaction-payment-panel,.new-transactions-copy-page .transactions-history-panel{grid-column:auto}.new-transactions-copy-page .transaction-bar-row{align-items:flex-end;gap:12px;padding-bottom:3px;display:flex;overflow-x:auto}.new-transactions-copy-page .transaction-customer-field{flex:1 0 240px;grid-template-columns:minmax(0,1fr);gap:6px;min-width:240px;display:grid}.new-transactions-copy-page .customer-card-button{flex:none}.new-transactions-copy-page .transaction-date-input{flex:0 0 220px}.new-transactions-copy-page .new-transaction-field-title{color:var(--muted);grid-column:1/-1;font-size:12px;font-weight:800}.new-transactions-copy-page .transaction-customer-input.customer-walk-in{background:#fff8d8;border-color:#e4b934;box-shadow:0 0 0 3px #e4a90014}.new-transactions-copy-page .new-customer-picker-trigger{color:#6f5200;cursor:pointer;background:#fff4bf;border:1px solid #dfbd55;border-radius:7px;flex:0 0 46px;place-items:center;width:46px;height:34px;display:grid}.new-transactions-copy-page .operation-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.new-transactions-copy-page .new-main-operation-tabs{flex-wrap:wrap;gap:8px;display:flex}.new-transactions-copy-page .new-main-operation-tabs button{flex:none}.new-transactions-copy-page .new-main-operation-tabs button:focus-visible{outline:3px solid var(--text);outline-offset:3px}.new-transactions-copy-page .new-operation-action-select{width:fit-content;max-width:100%;color:var(--muted);gap:4px;font-size:12px;font-weight:700;display:grid}.new-transactions-copy-page .new-operation-segments{background:#fffdf7;border:1px solid #ead8a8;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.new-transactions-copy-page .new-operation-segments button{min-height:34px;color:var(--text);font:inherit;background:0 0;border:0;border-radius:8px;flex:1 0 auto;padding:0 18px}.new-transactions-copy-page .new-operation-segments button[aria-pressed=true]{color:#211403;background:linear-gradient(145deg,#ffe06a,#f2b705);box-shadow:0 3px 8px #c79b2e3d}.new-transactions-copy-page .new-operation-segments button:hover:not(:disabled):not([aria-pressed=true]){background:#fff4bf}.new-transactions-copy-page .new-operation-segments button:disabled{opacity:.45;cursor:not-allowed}.new-transactions-copy-page .new-operation-segments button:focus-visible{outline-offset:1px;outline:2px solid #80601b}.new-operation-picker-grid{grid-template-columns:repeat(2,minmax(220px,360px));align-items:end;gap:10px;display:grid}.new-searchable-select{color:var(--muted);gap:4px;font-size:11px;font-weight:800;display:grid;position:relative}.new-searchable-select input{width:100%;min-height:36px;color:var(--text);background:#fffdf7;border:1px solid #ead8a8;border-radius:7px;padding:0 10px}.new-searchable-options{z-index:30;background:#fffdf7;border:1px solid #dfbd55;border-radius:8px;max-height:220px;display:grid;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #4a31042e}.new-searchable-options button{text-align:left;min-height:34px;color:var(--text);background:0 0;border:0;border-bottom:1px solid #f0e3c2;padding:0 10px;font-size:12px;font-weight:700}.new-searchable-options button:hover{background:#fff1b5}.new-ledger-entry-form{gap:7px;display:grid}.new-ledger-entry-form label{color:var(--muted);gap:3px;font-size:11px;font-weight:700;display:grid}.new-ledger-entry-form input,.new-ledger-entry-form select,.new-ledger-entry-form textarea{width:100%;min-height:34px;color:var(--text);background:#fffdf7;border:1px solid #ead8a8;border-radius:7px;padding:6px 9px}.new-ledger-entry-form textarea{resize:vertical;min-height:54px}.new-ledger-counterpart-amount{color:#806322;white-space:nowrap;margin-top:3px;display:block}.new-transactions-copy-page .operation-tabs button,.new-transactions-copy-page .new-ledger-action-grid button{color:#5f5138;background:#fffdf7;border:1px solid #ead8a8;border-radius:7px;min-height:34px;padding:0 10px;font-size:12px;font-weight:800}.new-transactions-copy-page .new-ledger-action-grid{flex-wrap:wrap;gap:6px;display:flex}.new-transactions-copy-page .purchase-entry-grid label{gap:3px;font-size:11px;font-weight:700}.new-transactions-copy-page .purchase-entry-grid input,.new-transactions-copy-page .purchase-entry-grid select,.new-transactions-copy-page .purchase-entry-grid .compact-search{min-height:34px}.new-transactions-copy-page .purchase-add-button{width:100%;min-height:34px}.new-transactions-copy-page .transaction-table{min-width:820px;font-size:12px}.new-transactions-copy-page .transaction-table th,.new-transactions-copy-page .transaction-table td{text-align:center;vertical-align:middle;padding:7px 8px}.new-transactions-copy-page .transaction-table th:nth-child(6),.new-transactions-copy-page .transaction-table td:nth-child(6){width:112px;max-width:112px}.new-transactions-copy-page .new-has-amount-cell input{min-width:84px}.new-transactions-copy-page .transaction-amount-cell{flex-wrap:nowrap;justify-content:center}.new-transactions-copy-page .new-row-remove-button{color:#c43827;background:#fff1ee;border-color:#ef9d91}.new-transactions-copy-page .transaction-row-debt td{background:#fbecfa;border-color:#e5b8e2}.new-transactions-copy-page .transaction-row-custody td{background:#eaf8fd;border-color:#acdceb}@media (width<=1100px){.new-transactions-copy-page .transaction-flow{display:block}.new-transactions-copy-page .transaction-bar,.new-transactions-copy-page .transaction-builder,.new-transactions-copy-page .transaction-list-panel,.new-transactions-copy-page .transaction-payment-panel,.new-transactions-copy-page .transactions-history-panel{margin-bottom:12px}}@media (width<=700px){.new-operation-picker-grid{grid-template-columns:minmax(0,1fr)}}.asset-gold-movement-modal{flex-direction:column;width:min(1240px,100vw - 48px);max-width:none;height:min(760px,100vh - 48px);display:flex;overflow:hidden}.asset-gold-movement-workspace{flex:1;grid-template:"toolbar lines""total lines""notes lines""saved lines"minmax(0,1fr)/minmax(320px,370px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.asset-gold-movement-toolbar{background:linear-gradient(#fffaeae6,#ffffffa6);border-right:1px solid #be963738;grid-area:toolbar;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;padding:16px 18px;display:grid}.asset-gold-movement-toolbar-scrap{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-gold-movement-toolbar:not(.asset-gold-movement-toolbar-scrap) label:nth-of-type(3),.asset-gold-movement-add{grid-column:1/-1}.asset-gold-movement-toolbar label,.asset-gold-movement-notes{gap:6px;display:grid}.asset-gold-movement-toolbar span,.asset-gold-movement-notes span{color:var(--muted-text);font-size:12px;font-weight:700}.asset-gold-movement-toolbar input,.asset-gold-movement-toolbar select,.asset-gold-movement-notes textarea,.asset-gold-movement-row input{width:100%;color:var(--text-color);font:inherit;background:#fffdf7f2;border:1px solid #ba912b52;border-radius:8px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}.asset-gold-movement-toolbar input,.asset-gold-movement-toolbar select,.asset-gold-movement-row input{height:40px;padding:0 10px}.asset-gold-movement-toolbar input:focus,.asset-gold-movement-toolbar select:focus,.asset-gold-movement-notes textarea:focus,.asset-gold-movement-row input:focus{background:#fff;border-color:#d29c00bf;box-shadow:0 0 0 3px #f5be2829}.asset-gold-movement-add{white-space:nowrap;justify-content:center;min-width:0;height:40px;padding-inline:12px}.asset-gold-movement-lines{background:#fffdf780;border-left:1px solid #be963729;flex-direction:column;grid-area:lines;min-width:0;min-height:0;display:flex;overflow:hidden}.asset-gold-movement-lines-title{background:linear-gradient(#fff8df 0%,#fffdf7 100%);border-bottom:1px solid #be963738;justify-content:space-between;align-items:center;gap:18px;min-height:62px;padding:12px 16px;display:flex}.asset-gold-movement-lines-title div{gap:2px;display:grid}.asset-gold-movement-lines-title strong{font-size:15px}.asset-gold-movement-lines-title span,.asset-gold-movement-lines-title small{color:var(--muted-text);font-size:12px;font-weight:700}.asset-gold-movement-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.asset-gold-movement-head,.asset-gold-movement-row{grid-template-columns:minmax(180px,1.6fr) 90px 100px 92px 120px 58px;align-items:center;gap:12px;display:grid}.asset-gold-movement-head{min-height:34px;color:var(--muted-text);text-transform:uppercase;border-bottom:1px solid #be963738;flex:none;padding:0 14px;font-size:11px;font-weight:800}.asset-gold-movement-row{border-bottom:1px solid #be963724;min-height:52px;padding:9px 14px}.asset-gold-movement-row strong{font-size:14px}.asset-gold-movement-row span{color:var(--muted-text);font-size:13px}.asset-gold-movement-row b{font-size:14px}.asset-gold-movement-row input{max-width:82px}.asset-gold-movement-row .text-button{background:#ffffffbf;border:1px solid #be963747;border-radius:7px;justify-self:end;place-items:center;width:34px;min-height:32px;padding:0;display:inline-grid}.asset-gold-movement-row .text-button svg{display:block}.asset-gold-movement-total{background:linear-gradient(#fff8dbeb,#fff4c8b8);border:1px solid #d6a6286b;border-radius:8px;grid-area:total;justify-content:space-between;align-items:center;margin:14px 18px 0;padding:12px 14px;display:flex}.asset-gold-movement-total span{color:var(--muted-text);font-size:13px;font-weight:700}.asset-gold-movement-total strong{font-size:16px}.asset-gold-movement-notes{grid-area:notes;margin:14px 18px 0}.asset-gold-movement-notes textarea{resize:vertical;min-height:74px;padding:10px 12px}.asset-gold-success-message{color:var(--success);background:#f2f8e8;border:1px solid #3f7d2040;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:14px 18px 12px;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.35;display:flex;box-shadow:inset 3px 0 #2f7d4459}.asset-gold-success-message .secondary-button{flex:none;min-height:34px}.asset-gold-saved-detail-backdrop{z-index:1100}.asset-gold-saved-detail-modal{flex-direction:column;width:min(920px,100vw - 48px);max-height:min(720px,100vh - 48px);display:flex;overflow:hidden}.asset-gold-saved-detail-total{background:linear-gradient(#fff8db,#fff1bd);border:1px solid #d6a6286b;border-radius:8px;justify-content:space-between;align-items:center;margin:16px 18px;padding:12px 14px;display:flex}.asset-gold-saved-detail-total span{color:var(--muted);font-size:13px;font-weight:700}.asset-gold-saved-detail-total strong{font-size:18px}.asset-gold-saved-detail-table{border:1px solid #be963747;border-radius:8px;flex-direction:column;flex:1;min-height:0;margin:0 18px 16px;display:flex;overflow:hidden}.asset-gold-saved-detail-head,.asset-gold-saved-detail-row{grid-template-columns:minmax(180px,1.5fr) 80px 90px minmax(170px,1fr) 130px;align-items:center;gap:12px;display:grid}.asset-gold-saved-detail-head{min-height:38px;color:var(--muted);text-transform:uppercase;background:#fff3c9;border-bottom:1px solid #be96373d;padding:0 14px;font-size:11px;font-weight:800}.asset-gold-saved-detail-scroll{min-height:0;overflow-y:auto}.asset-gold-saved-detail-row{border-bottom:1px solid #be963724;min-height:52px;padding:9px 14px}.asset-gold-saved-detail-row:last-child{border-bottom:0}.asset-gold-saved-detail-row span{color:var(--muted);font-size:13px}.asset-gold-saved-detail-row b{font-size:14px}.asset-gold-error-message{color:var(--danger);background:#fff1eb;border:1px solid #b4231840;border-radius:8px;margin:14px 18px 12px;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.35}.asset-gold-saved-summary{background:#fafffce6;border:1px solid #16804c38;border-radius:9px;flex-direction:column;grid-area:saved;min-height:0;margin:14px 18px 16px;display:flex;overflow:hidden}.asset-gold-saved-summary-title{background:#e8f8efc2;border-bottom:1px solid #16804c24;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.asset-gold-saved-summary-title div{gap:2px;display:grid}.asset-gold-saved-summary-title strong{color:#0f5d39;font-size:14px}.asset-gold-saved-summary-title span{color:#4d7a63;font-size:12px;font-weight:700}.asset-gold-saved-summary-title b{color:#0b6b3d;font-size:16px}.asset-gold-saved-summary-list{display:grid;overflow-y:auto}.asset-gold-movement-modal>.modal-actions{background:var(--surface);flex:none}.asset-gold-saved-summary-row{border-bottom:1px solid #16804c1a;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 110px;align-items:center;gap:12px;padding:10px 14px;display:grid}.asset-gold-saved-summary-row:last-child{border-bottom:0}.asset-gold-saved-summary-row span{font-size:13px;font-weight:800}.asset-gold-saved-summary-row small{color:var(--muted-text);font-size:12px;font-weight:700}.asset-gold-saved-summary-row strong{text-align:right;color:#0f5d39;font-size:13px}.asset-movement-row-clickable{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fffcf4eb;border:0}.asset-movement-row-clickable:nth-child(2n){background:#fbf6e8eb}.asset-movement-row-clickable:hover{background:#fff6d6ad}.asset-movement-row-clickable:focus-visible{outline-offset:2px;outline:3px solid #f5be2847}.asset-movement-detail-modal{width:min(860px,100vw - 36px)}.asset-movement-detail-modal.asset-movement-detail-in{background:linear-gradient(#fbfffd 0%,#f2fbf5 100%);border-color:#16804c57}.asset-movement-detail-modal.asset-movement-detail-out{background:linear-gradient(#fffdfb 0%,#fff4f1 100%);border-color:#b4231852}.asset-movement-detail-table-wrap{border-color:#cba75059}.asset-movement-detail-table{min-width:0}.asset-movement-detail-table th{background:#fff2c7;width:50%}.asset-movement-detail-table td{background:#fffdf8db;width:50%}.asset-movement-detail-in .asset-movement-detail-table th{color:#174a31;background:#e8f8ef}.asset-movement-detail-out .asset-movement-detail-table th{color:#7d241c;background:#ffe9e4}.asset-movement-detail-in .customer-card-table-wrap{border-color:#16804c3d}.asset-movement-detail-out .customer-card-table-wrap{border-color:#b423183d}@media (width<=1000px){.asset-gold-movement-modal{width:min(760px,100vw - 32px);height:calc(100vh - 32px)}.asset-gold-movement-workspace{grid-template:"toolbar""total""notes""saved""lines"minmax(260px,1fr)/minmax(0,1fr);overflow-y:auto}.asset-opening-workspace{grid-template:"controls""confirm""message""lines"minmax(300px,1fr)/minmax(0,1fr);overflow-y:auto}.asset-opening-workspace .asset-adjustment-form{border-bottom:1px solid #be963738;border-right:0}.asset-opening-workspace-lines{border-top:1px solid #be96372e;border-left:0;min-height:300px}.asset-gold-movement-toolbar{border-bottom:1px solid #be963738;border-right:0}.asset-gold-movement-lines{border-top:1px solid #be96372e;border-left:0;min-height:300px}}@media (width<=860px){.asset-gold-movement-toolbar,.asset-gold-movement-toolbar-scrap,.asset-gold-movement-head,.asset-gold-movement-row,.asset-gold-saved-summary-row,.asset-source-detail-summary,.asset-source-detail-heading,.asset-source-detail-totals,.asset-source-line-row,.asset-source-note-grid,.asset-movement-receipt-row,.asset-movement-receipt-footer{grid-template-columns:1fr}.asset-gold-movement-row input{max-width:none}}.asset-gold-count-tabs{background:#fffaebc7;border:1px solid #be963747;border-radius:8px;width:fit-content;padding:3px;display:inline-flex}.asset-gold-count-tabs button{min-width:92px;min-height:34px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;font-weight:800}.asset-gold-count-tabs button.active{color:#241700;background:linear-gradient(#ffe790,#efb500);box-shadow:0 6px 14px #be8c1438}.asset-gold-count-scan.single{grid-template-columns:1fr}.asset-gold-count-scan.scrap-entry{grid-template-columns:160px minmax(180px,1fr) 110px}.asset-gold-count-scan select{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.asset-gold-count-scan button{align-self:end;height:38px}.asset-gold-count-section-title>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.asset-gold-count-notice{border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-weight:800;display:inline-flex;font-size:12px!important}.asset-gold-count-notice.success{background:#e1f8ecf5;border:1px solid #16804c38;color:#087243!important}.asset-gold-count-notice.error{background:#ffebebf5;border:1px solid #be1e1e38;color:#a41414!important}.asset-gold-count-list-scroll{gap:8px;max-height:292px;padding-right:4px;display:grid;overflow-y:auto}.asset-gold-count-list-scroll::-webkit-scrollbar{width:8px}.asset-gold-count-list-scroll::-webkit-scrollbar-thumb{background:#be96375c;border-radius:999px}.asset-gold-count-list-scroll .asset-gold-product-row{margin:0}.asset-gold-count-modal{flex-direction:column;width:min(1240px,100vw - 48px);max-width:none;height:min(760px,100vh - 48px);display:flex;overflow:hidden}.asset-gold-count-modal .asset-gold-count-body{flex:1;grid-template:"tabs list""scan list""report list""missing list""message list""empty list"minmax(0,1fr)/minmax(400px,440px) minmax(0,1fr);gap:12px 0;min-height:0;padding:0;overflow:hidden}.asset-gold-count-body>.asset-gold-count-tabs,.asset-gold-count-body>.asset-gold-count-scan,.asset-gold-count-body>.asset-gold-count-report,.asset-gold-count-body>.asset-gold-missing-table,.asset-gold-count-body>.asset-count-message{margin-left:18px;margin-right:18px}.asset-gold-count-section>.asset-gold-count-summary{flex:none;grid-template-columns:repeat(4,minmax(0,1fr))}.asset-gold-count-body>.asset-gold-count-tabs{background:#fffaf0;border-radius:11px;grid-area:tabs;align-self:start;height:42px;margin-top:16px;padding:4px;box-shadow:inset 0 1px 2px #533e100f}.asset-gold-count-body>.asset-gold-count-tabs button{border-radius:8px;min-width:86px;min-height:32px;font-size:13px}.asset-gold-count-body>.asset-gold-count-scan{grid-area:scan}.asset-gold-count-body>.asset-gold-count-report{grid-area:report;grid-template-columns:repeat(2,minmax(0,1fr))}.asset-gold-count-body>.asset-gold-missing-table{grid-area:missing;min-height:220px;max-height:280px;overflow-y:auto}.asset-gold-count-body>.asset-count-message{grid-area:message}.asset-gold-count-body>.asset-gold-count-section{background:#fffdf780;border-left:1px solid #be963733;flex-direction:column;grid-area:list;gap:10px;min-width:0;min-height:0;padding:14px 16px;display:flex;overflow:hidden}.asset-gold-count-body>.asset-gold-count-scan.scrap-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-gold-count-body>.asset-gold-count-scan.scrap-entry .primary-button{grid-column:1/-1;width:100%}.asset-gold-count-list-search{gap:6px;display:grid}.asset-gold-count-list-search span{color:var(--muted);font-size:12px;font-weight:700}.asset-gold-count-list-search input{width:100%;min-height:40px;color:var(--text);background:#fffdf7;border:1px solid #ba912b52;border-radius:8px;outline:none;padding:0 11px}.asset-gold-count-list-search input:focus{border-color:#d29c00bf;box-shadow:0 0 0 3px #f5be2829}.asset-gold-count-body .asset-gold-count-list-scroll{flex:1;min-height:0;max-height:none}.asset-gold-count-modal>.modal-actions{background:var(--surface);flex:none}@media (width<=1000px){.asset-gold-count-modal{width:min(760px,100vw - 32px);height:calc(100vh - 32px)}.asset-gold-count-modal .asset-gold-count-body{grid-template:"tabs""scan""list"minmax(300px,1fr)"report""missing""message"/minmax(0,1fr);overflow-y:auto}.asset-gold-count-body>.asset-gold-count-section{border-top:1px solid #be96372e;border-left:0;min-height:300px}}@media (width<=760px){.asset-gold-count-body>.asset-gold-count-scan.scrap-entry{grid-template-columns:1fr}.asset-gold-count-section>.asset-gold-count-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-gold-count-tabs{width:100%}.asset-gold-count-tabs button{flex:1}.asset-gold-saved-detail-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.asset-gold-saved-detail-head{display:none}.asset-gold-saved-detail-row{grid-template-columns:1fr;gap:5px}}.barcode-quantity-row{grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:8px;display:grid}.quantity-stepper input{width:100%;height:40px}.field-danger,.field-danger input,.field-danger select,.field-danger textarea{background:#fff1f1!important;border-color:#e28b8b!important;box-shadow:0 0 0 3px #b91c1c14!important}.field-error{color:#b91c1c;margin-top:-4px;font-size:12px;font-weight:600;display:block}.quantity-field-error{text-align:right}.purchase-list-actions{align-items:center;gap:8px;margin-top:8px;display:flex}.modern-quantity{align-items:center;gap:8px;display:flex}.modern-quantity>span{color:#6f675a;font-size:12px;font-weight:700}.modern-quantity>div{background:#fffaf0;border:1px solid #dfca96;border-radius:7px;grid-template-columns:28px 52px 28px;display:grid;overflow:hidden}.modern-quantity button{color:#3a2913;cursor:pointer;background:#fff1bd;border:0;font-weight:800}.modern-quantity input{text-align:center;background:#fffdf8;border:0;border-left:1px solid #ead9ad;border-right:1px solid #ead9ad;width:52px;min-width:0;height:25px;font-size:12px;font-weight:700}.purchase-remove-button{height:32px;min-height:32px;padding:0 12px}.supplier-deactivate-warning-row{background:#fff1f1!important;border-color:#e28b8b!important;box-shadow:0 0 0 3px #b91c1c14!important}.supplier-card-active{background:linear-gradient(90deg,#e8f9edf0,#fffcf4f0);border-color:#147a3d57;box-shadow:0 5px 16px #147a3d17}.supplier-card-inactive{background:linear-gradient(90deg,#ffebe8f0,#fffaf4f0);border-color:#b4231857;box-shadow:0 5px 16px #b4231817}.supplier-delete-button{color:var(--danger);border-color:#b423184d}.supplier-delete-button:hover{color:#8f1c13;background:#fff1eb;border-color:#b423188c}.supplier-deactivate-warning{color:#b91c1c;font-weight:700}.payment-summary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.payment-summary-card{background:#fff8e6;border:1px solid #e5d3a3;border-radius:8px;padding:12px 14px}.payment-summary-card span{color:#6d5d35;margin-bottom:4px;font-size:13px;display:block}.payment-summary-value,.payment-balance-positive,.payment-balance-negative{font-size:20px;font-weight:700;display:block}.payment-summary-total .payment-summary-value,.payment-summary-card .payment-balance-positive{color:#15803d}.payment-summary-card .payment-balance-negative{color:#b91c1c}.custody-page-tabs{width:auto;box-shadow:none;background:0 0;border:0;align-items:center;margin:18px 0 20px;padding-bottom:4px}.custody-page-tabs button{border-radius:8px;min-height:42px;font-weight:700}.module-tabs-frame .custody-page-tabs,.module-tabs-frame .module-page-tabs{margin:0;padding:0}.custody-operations-panel{gap:14px;display:grid}.custody-operation-customer-row{width:min(460px,100%);max-width:460px;color:var(--muted);gap:6px;font-size:13px;font-weight:400;display:grid}.ledger-operation-header-row{align-items:stretch;gap:12px;width:min(730px,100%);display:flex}.ledger-operation-header-row .custody-operation-customer-row{flex:520px}.ledger-transaction-date-input{min-width:198px;color:var(--muted);background:#fffdf7;border:1px solid #ead8a8;border-radius:8px;grid-template-columns:auto auto minmax(135px,1fr);align-self:stretch;align-items:center;gap:7px;padding:10px 12px;font-size:12px;font-weight:400;display:grid}.ledger-transaction-date-input input{width:100%;min-width:0;min-height:38px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:13px}.custody-operation-customer-row.transaction-customer-input{align-items:stretch;width:min(520px,100%);min-height:auto;padding:10px 12px}.custody-operation-locked-area{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.custody-operation-locked-area:disabled{opacity:.58}.custody-operation-locked-area:disabled input,.custody-operation-locked-area:disabled select,.custody-operation-locked-area:disabled button{cursor:not-allowed}.custody-operation-customer-row input{color:#1f1605;background:#fffdf8;border:1px solid #be9a466b;border-radius:8px;width:100%;height:42px;padding:0 12px;font-size:14px}.custody-operation-grid{background:#fffcf285;border:1px solid #cba7503d;border-radius:8px;flex-wrap:wrap;align-items:end;gap:12px;padding:14px;display:flex}.custody-operation-grid label{min-width:0;color:var(--muted);flex:0 168px;gap:6px;font-size:13px;font-weight:400;display:grid}.custody-operation-grid input,.custody-operation-grid select{color:#1f1605;background:#fffdf8;border:1px solid #be9a466b;border-radius:8px;width:100%;min-width:0;height:42px;padding:0 12px;font-size:14px}.custody-operation-grid input:focus,.custody-operation-grid select:focus{border-color:#d9a500;outline:3px solid #ffc40029}.custody-operation-grid input[readonly]{color:#5d4613;cursor:default;background:#fff9e8}.custody-rate-hint{color:#8b6a20;cursor:help;background:#fff7d6;border:1px solid #be9a466b;border-radius:50%;place-items:center;width:18px;height:18px;font-size:12px;font-weight:700;line-height:1;display:inline-grid;position:absolute;bottom:10px;right:8px}.custody-field-rate,.debt-rate-field{position:relative}.custody-field-rate input,.debt-rate-field input{padding-right:32px}.custody-rate-tooltip{z-index:20;color:#5f4611;text-align:left;white-space:normal;background:#fffdf8;border:1px solid #be9a466b;border-radius:8px;width:max-content;max-width:260px;padding:7px 9px;font-size:11px;font-weight:500;line-height:1.3;display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 10px 26px #50360529}.custody-rate-hint:hover .custody-rate-tooltip,.custody-rate-hint:focus-within .custody-rate-tooltip{display:block}.custody-product-search{max-width:320px;flex:0 290px!important}.custody-field-type{flex:0 170px!important}.custody-field-quantity{flex:0 0 90px!important}.custody-field-rate,.custody-field-small{flex:0 0 100px!important}.custody-field-amount,.custody-field-total{flex:0 155px!important}.custody-field-instrument{flex:0 180px!important}.custody-return-custody-field{max-width:340px;flex:0 300px!important;min-width:260px!important}.custody-field-description{max-width:none;flex:260px!important}.custody-add-line-button{flex:0 0 92px;align-self:end;min-width:86px;min-height:42px}.custody-operations-panel .custody-operation-grid:not(.custody-operation-grid-return) .custody-product-search{max-width:235px;flex:0 215px!important}.custody-operations-panel .custody-operation-grid:not(.custody-operation-grid-return) .custody-field-type{flex-basis:145px!important}.custody-operations-panel .custody-operation-grid:not(.custody-operation-grid-return) .custody-field-instrument{flex-basis:160px!important}.custody-operations-panel .custody-operation-grid:not(.custody-operation-grid-return) .custody-field-total{flex-basis:145px!important}.custody-operations-panel .custody-operation-grid:not(.custody-operation-grid-return) .custody-field-description{max-width:none;flex:260px!important}@media (width>=1181px){.custody-operation-grid-return{flex-wrap:nowrap;gap:10px;display:flex}.custody-operation-grid-return .custody-return-custody-field{max-width:260px;flex:0 240px!important;min-width:210px!important}.custody-operation-grid-return .custody-field-type{flex:0 150px!important}.custody-operation-grid-return .custody-product-search{max-width:210px;flex:0 190px!important}.custody-operation-grid-return .custody-field-quantity{flex:0 0 72px!important}.custody-operation-grid-return .custody-field-small,.custody-operation-grid-return .custody-field-rate{flex:0 0 82px!important}.custody-operation-grid-return .custody-field-amount{flex:0 110px!important}.custody-operation-grid-return .custody-field-total{flex:0 125px!important}.custody-operation-grid-return .custody-field-description{max-width:none;flex:210px!important;min-width:170px!important}.custody-operation-grid-return .custody-add-line-button{flex:0 0 86px}}.custody-operation-lines{border-radius:8px}.custody-operation-lines th:nth-child(4),.custody-operation-lines td:nth-child(4){display:none}.custody-operation-lines th:nth-child(6),.custody-operation-lines td:nth-child(6){white-space:normal;overflow-wrap:break-word;min-width:220px}.custody-operation-lines.debt-operation-lines th:nth-child(4),.custody-operation-lines.debt-operation-lines td:nth-child(4){display:table-cell}.custody-operation-footer{background:#fffdf8;border:1px solid #cba75047;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.custody-operation-footer div{gap:4px;display:grid}.custody-operation-footer span{color:var(--muted);font-size:12px}.custody-operation-footer strong{color:#1f1409;font-size:22px}.custody-products-panel .customer-card-table-wrap{border-radius:8px}.custody-operation-footer>.operation-review-check{flex:none}.custody-operation-footer>div{margin-left:auto}.custody-products-panel{display:none!important}.custody-distribution-list .custody-movement-table{width:100%;min-width:0}.custody-distribution-list th:nth-child(2),.custody-distribution-list th:nth-child(3),.custody-distribution-list th:nth-child(4),.custody-distribution-list td:nth-child(2),.custody-distribution-list td:nth-child(3),.custody-distribution-list td:nth-child(4){text-align:right}.custody-distribution-list th:nth-child(5),.custody-distribution-list td:nth-child(5){display:none}.custody-layout,.custody-detail-stack,.custody-distribution-panel,.custody-products-panel,.custody-movement-panel{min-width:0}.custody-movement-panel .custody-movement-table{table-layout:auto;min-width:880px}.custody-movement-panel .custody-movement-table th,.custody-movement-panel .custody-movement-table td{white-space:nowrap;overflow-wrap:normal}.custody-movement-panel .custody-movement-table th:first-child,.custody-movement-panel .custody-movement-table td:first-child{min-width:84px}.custody-movement-panel .custody-movement-table th:nth-child(2),.custody-movement-panel .custody-movement-table td:nth-child(2){white-space:nowrap;min-width:112px}.custody-movement-panel .custody-movement-table th:nth-child(3),.custody-movement-panel .custody-movement-table td:nth-child(3){min-width:118px}.custody-movement-panel .custody-movement-table th:nth-child(4),.custody-movement-panel .custody-movement-table td:nth-child(4),.custody-movement-panel .custody-movement-table th:nth-child(6),.custody-movement-panel .custody-movement-table td:nth-child(6),.custody-movement-panel .custody-movement-table th:nth-child(7),.custody-movement-panel .custody-movement-table td:nth-child(7){white-space:normal;word-break:normal;overflow-wrap:break-word;min-width:128px}.custody-movement-panel .custody-movement-table th:nth-child(5),.custody-movement-panel .custody-movement-table td:nth-child(5){min-width:108px}.custody-movement-panel .custody-movement-table th:nth-child(8),.custody-movement-panel .custody-movement-table td:nth-child(8){text-align:center;min-width:52px}.custody-distribution-panel{overflow:hidden}.settings-page{max-width:1440px}.settings-heading-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settings-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:14px;display:grid}.settings-tabs{border:1px solid var(--border);box-shadow:var(--shadow-soft);background:#fffdf7eb;border-radius:8px;gap:7px;padding:10px;display:grid;position:sticky;top:92px}.settings-tabs button{min-height:42px;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;padding:0 11px;font-weight:800;display:flex}.settings-tabs button.active,.settings-tabs button:hover{color:#24180d;background:#fff3c7;border-color:#c79b2e59}.settings-content,.settings-panel-grid,.settings-option-list,.settings-list,.settings-catalog-list{gap:14px;min-width:0;display:grid}.settings-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-panel-grid .wide{grid-column:1/-1}.settings-list.compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.settings-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:grid}.settings-row strong,.settings-row span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.settings-row span,.settings-muted{color:var(--muted);font-size:13px}.settings-check{grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:34px;font-weight:700;color:#2d2418!important;gap:9px!important;display:flex!important}.settings-check input{accent-color:var(--accent);width:16px!important;min-height:16px!important}.store-settings-panel{gap:16px;display:grid}.store-settings-panel .section-title p{color:var(--muted);margin:5px 0 0;font-size:13px;font-weight:400}.store-settings-grid{grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);align-items:start;gap:16px;display:grid}.store-contact-settings textarea{min-height:112px}.store-brand-assets{gap:12px;display:grid}.brand-image-card{background:#fffaf0;border:1px solid #ead9ad;border-radius:9px;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:12px 14px;padding:13px;display:grid}.brand-image-card strong,.brand-image-card span{display:block}.brand-image-card span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.4}.brand-image-preview{background:#fff;border:1px dashed #d8bf76;border-radius:8px;justify-content:center;align-items:center;width:150px;min-width:0;height:auto;min-height:74px;padding:8px;display:flex}.brand-image-preview.compact{justify-self:center;width:82px;min-height:82px}.brand-image-preview img{object-fit:contain;width:auto;min-width:0;max-width:100%;height:auto;max-height:200px;display:block}.brand-image-actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.brand-upload-button{cursor:pointer;align-items:center;min-height:38px;width:fit-content!important;display:inline-flex!important}.brand-upload-button input{opacity:0;pointer-events:none;position:absolute;width:1px!important;height:1px!important;min-height:1px!important}.store-settings-note{color:#72520b;background:#fff6d7;border:1px solid #ead49a;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:650}@media (width<=960px){.store-settings-grid{grid-template-columns:1fr}}@media (width<=560px){.brand-image-card{grid-template-columns:1fr}.brand-image-preview,.brand-image-preview.compact{width:100%}}.backup-settings-panel{gap:16px;display:grid}.backup-settings-panel .section-title p{color:var(--muted);margin:5px 0 0;font-size:13px;font-weight:400}.backup-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.backup-action-card{background:#fffcf4f0;border:1px solid #ead9ad;border-radius:10px;align-content:start;gap:14px;min-width:0;padding:16px;display:grid}.backup-action-title{color:#8a6400;align-items:flex-start;gap:11px;display:flex}.backup-action-title svg{flex:none;margin-top:2px}.backup-action-title h3,.backup-action-title p{margin:0}.backup-action-title h3{color:var(--text);font-size:17px}.backup-action-title p{color:var(--muted);margin-top:5px;font-size:13px;line-height:1.45}.backup-action-card>button{width:fit-content;min-height:42px;margin-top:auto}.backup-warning{color:#72520b;background:#fff6d7;border:1px solid #ead49a;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:650;line-height:1.45}.backup-warning.danger{color:#8e2c1d;background:#fff0ec;border-color:#efc2b9}.backup-restore-confirmation{align-items:flex-start;line-height:1.4}.backup-restore-confirmation input{margin-top:2px}.backup-action-card input[type=file]{height:42px;padding:5px 8px}.backup-action-card input[type=file]::file-selector-button{color:#5c4206;background:#fff4c8;border:1px solid #dec77e;border-radius:6px;height:30px;margin-right:9px;padding:0 10px;font-weight:700}@media (width<=900px){.backup-settings-grid{grid-template-columns:1fr}}.password-field{border:1px solid var(--border);background:#fffdf7;border-radius:8px;grid-template-columns:minmax(0,1fr) 42px;display:grid;overflow:hidden}.password-field input{box-shadow:none!important;border:0!important;border-radius:0!important}.password-field button{border:0;border-left:1px solid var(--border);color:#6f5c2d;background:#fff8e8;place-items:center;width:42px;min-height:40px;display:grid}.password-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.permission-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.permission-card{background:#fffaf0;border:1px solid #ead9ad;border-radius:8px;align-content:start;gap:8px;min-height:120px;padding:13px;display:grid}.settings-table-row input,.settings-inline-fields input,.settings-inline-fields select,.settings-option-list input,.settings-option-list select,.settings-option-list textarea,.numbering-grid input{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 11px}.settings-option-list textarea{resize:vertical;min-height:88px;padding:10px 11px}.settings-inline-fields,.numbering-grid,.settings-summary-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.settings-inline-fields label,.settings-option-list label,.numbering-grid label{color:var(--muted);gap:7px;font-size:14px;display:grid}.numbering-grid small{color:#7a5607;font-weight:800}.catalog-manager-grid{grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:14px;display:grid}.catalog-column{grid-template-rows:auto auto;align-content:start;gap:10px;min-width:0;display:grid}.catalog-column-title{justify-content:space-between;align-items:center;gap:10px;min-height:34px;display:flex}.catalog-column-title strong{color:#24180d;font-size:16px}.catalog-column-title span{color:var(--muted);font-size:13px;font-weight:800}.catalog-list-panel{background:#fffcf4b8;border:1px solid #ead9ad;border-radius:8px;align-content:start;gap:9px;min-height:240px;padding:10px;display:grid}.catalog-list-item{background:#fffdf8;border:1px solid #cba75061;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:10px;display:grid}.catalog-list-item.selected{background:#fff2c7;border-color:#c79b2e;box-shadow:0 0 0 2px #c79b2e1f}.catalog-list-item.passive{opacity:.66}.catalog-main-button{min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:4px;padding:0;display:grid}.catalog-main-button strong,.catalog-main-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.catalog-main-button strong{color:#24180d;font-size:15px}.catalog-main-button span{color:var(--muted);font-size:12px}.catalog-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.catalog-actions .secondary-button{min-height:34px;padding:0 10px}.catalog-actions .icon-button{justify-content:center;width:36px;padding:0}.catalog-actions .danger{color:#b42318;background:#fff7f5;border-color:#c1121f3d}.catalog-actions .danger:hover{background:#ffe7e2;border-color:#c1121f70}@media (width<=860px){.catalog-manager-grid,.catalog-list-item{grid-template-columns:1fr}.catalog-actions{justify-content:flex-start}}.settings-summary-grid{margin-bottom:14px}.settings-summary-grid article{background:#fffaf0;border:1px solid #ead9ad;border-radius:8px;gap:5px;min-height:76px;padding:12px;display:grid}.settings-summary-grid span{color:var(--muted);font-size:12px;font-weight:800}.settings-summary-grid strong{color:#1f1409;font-size:16px}.rate-settings-panel .settings-option-list>label:not(.settings-check),.rate-settings-panel .settings-warning-note{display:none}.transaction-settings-panel{gap:16px;display:grid}.transaction-settings-panel .section-title{margin-bottom:0}.transaction-margin-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.transaction-margin-setting-row{background:#fffaf0;border:1px solid #ead9ad;border-radius:9px;padding:14px}.transaction-margin-control{grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:7px 12px;display:grid}.transaction-margin-control label{color:#2d2418;font-size:14px;font-weight:800}.transaction-margin-control small{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.4}.settings-percent-input{width:82px;position:relative}.settings-percent-input input{color:#24180d;appearance:textfield;text-align:right;background:#fffdf7;border:1px solid #d8c38f;border-radius:8px;outline:0;width:82px;min-height:40px;padding:0 29px 0 10px;font-family:inherit;font-size:14px;font-weight:800;transition:border-color .16s,box-shadow .16s;box-shadow:inset 0 1px 2px #543a0b0f}.settings-percent-input input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.settings-percent-input input::-webkit-inner-spin-button{appearance:none;margin:0}.settings-percent-input input::-webkit-outer-spin-button{appearance:none;margin:0}.settings-percent-input>span{color:#7b622c;pointer-events:none;font-size:13px;font-weight:900;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.transaction-calculation-examples{background:#fffaf0;border:1px solid #ead9ad;border-radius:9px;gap:10px;padding:14px;display:grid}.transaction-calculation-examples-title{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.transaction-calculation-examples-title strong{color:#24180d;font-size:15px}.transaction-calculation-examples-title span{color:var(--muted);font-size:12px}.transaction-calculation-table-wrap{background:#fffdf7;border:1px solid #ead9ad;border-radius:8px;overflow-x:auto}.transaction-calculation-table{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.transaction-calculation-table th,.transaction-calculation-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #efe0b9;padding:9px 11px}.transaction-calculation-table th{color:#5f5138;background:#fff3cb;font-size:12px;font-weight:900}.transaction-calculation-table tbody tr:last-child td{border-bottom:0}.transaction-calculation-table tbody tr:nth-child(2n){background:#fff7da61}.transaction-calculation-table td:last-child{color:#3e2b06;font-weight:900}@media (width<=900px){.transaction-margin-settings-grid{grid-template-columns:1fr}}.settings-warning-note{color:#6a4a05;background:#fff1bd;border:1px solid #c79b2e6b;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:800;line-height:1.45}.manual-rate-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;display:grid}.manual-rate-row{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:1fr 1fr;gap:9px;padding:12px;display:grid}.manual-rate-row strong{color:#24180d;grid-column:1/-1}.manual-rate-row label{min-width:0}.live-screen-settings{background:#fffaf0;border:1px solid #ead9ad;border-radius:8px;gap:12px;padding:14px;display:grid}.live-screen-settings-title{gap:4px;display:grid}.live-screen-settings-title strong{color:#24180d;font-size:16px}.live-screen-settings-title span{color:var(--muted);font-size:13px}.live-screen-product-list{gap:10px;display:grid}.live-screen-product-row{background:#fffdf7f5;border:1px solid #cba7506b;border-radius:8px;grid-template-columns:minmax(170px,.8fr) repeat(2,minmax(220px,1fr));align-items:center;gap:12px;padding:12px;display:grid}.live-screen-product-head{gap:4px;display:grid}.live-screen-product-head strong{color:#24180d}.live-screen-product-head span{color:#7a5607;background:#fff1bd;border-radius:999px;width:fit-content;padding:4px 8px;font-size:12px;font-weight:800}.live-screen-slider{color:var(--muted);grid-template-columns:54px minmax(0,1fr);align-items:center;font-size:13px;font-weight:800;display:grid;gap:10px!important}.live-screen-slider input[type=range]{min-height:auto;accent-color:var(--accent);box-shadow:none;background:0 0;padding:0}.live-screen-manual-fields{grid-column:1/-1;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;display:grid}.live-screen-manual-fields label{min-width:0}@media (width<=760px){.live-screen-product-row,.live-screen-slider,.live-screen-manual-fields{grid-template-columns:1fr}}.reports-builder-page{gap:16px;max-width:1500px;display:grid}.reports-builder-heading{border:1px solid var(--border);box-shadow:var(--shadow-soft);background:linear-gradient(#ffffffe6,#fff8e8f5),#fffaf0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;display:flex}.reports-builder-heading h1{color:#1f1409;margin:2px 0 0;font-size:24px;line-height:1.15}.reports-builder-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.reports-builder-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:14px;display:grid}.reports-category-menu{border:1px solid var(--border);box-shadow:var(--shadow-soft);background:#fffdf7f0;border-radius:8px;gap:7px;padding:10px;display:grid;position:sticky;top:92px}.reports-category-menu button{min-height:42px;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;padding:0 11px;font-weight:800;display:flex}.reports-category-menu button.active,.reports-category-menu button:hover{color:#24180d;background:#fff3c7;border-color:#c79b2e59}.reports-builder-main{gap:14px;min-width:0;display:grid}.reports-choice-panel,.reports-filter-card,.reports-result-area{gap:10px;display:grid}.reports-subreport-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.reports-subreport-list button{min-height:62px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.reports-subreport-list button.active{border-color:var(--border-strong);background:#fff3c7;box-shadow:0 0 0 3px #c79b2e1f}.reports-subreport-list svg{color:#8a6508}.reports-subreport-list strong,.reports-subreport-list span{display:block}.reports-subreport-list strong{color:#24180d;font-size:13px}.reports-subreport-list span{color:var(--muted);margin-top:2px;font-size:11px;line-height:1.25}.reports-subreport-list small{color:#7a5607;text-align:center;background:#fff1bd;border-radius:999px;min-width:72px;padding:4px 7px;font-size:11px;font-weight:800}.reports-filter-grid{grid-template-columns:repeat(4,minmax(140px,1fr));align-items:end;gap:8px;display:grid}.reports-filter-grid label{color:var(--muted);gap:6px;font-size:13px;font-weight:700;display:grid}.reports-filter-grid input,.reports-filter-grid select{border:1px solid var(--border);width:100%;min-height:36px;color:var(--text);background:#fffdf7;border-radius:8px;outline:0;padding:0 10px}.reports-filter-grid input:focus,.reports-filter-grid select:focus,.reports-filter-search div:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #c79b2e2e}.reports-filter-search{grid-column:span 2}.reports-filter-search div{border:1px solid var(--border);min-height:36px;color:var(--muted);background:#fffdf7;border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.reports-filter-search input{background:0 0;border:0;border-radius:0;min-height:34px;padding:0;box-shadow:none!important}.reports-filter-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.reports-live-status{color:var(--muted);font-size:12px;font-weight:800}.reports-start-state{color:#6f5c2d;background:#fff8e6;border:1px dashed #d6bd7d;border-radius:8px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:86px;padding:16px;display:grid}.reports-start-state svg{color:#8a6508}.reports-start-state strong,.reports-start-state span{display:block}.reports-start-state span{margin-top:4px;font-size:13px}.reports-result-title{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.reports-result-title h2{color:#24180d;margin:0;font-size:19px}.reports-result-title p{color:var(--muted);margin:4px 0 0;font-size:13px}.reports-result-title>strong{color:#7a5607;white-space:nowrap;background:#fff1bd;border:1px solid #dfca96;border-radius:999px;min-height:34px;padding:7px 11px}.reports-total-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.reports-total-grid article,.reports-day-detail-summary article{background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;gap:3px;min-height:56px;padding:9px 10px;display:grid}.reports-total-grid span,.reports-day-detail-summary span{color:var(--muted);font-size:12px;font-weight:800}.reports-total-grid strong,.reports-day-detail-summary strong{color:#1f1409;overflow-wrap:anywhere;font-size:15px}.reports-total-lines{gap:4px;display:grid}.reports-total-lines div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.reports-total-lines small{color:var(--muted);font-size:11px;font-weight:800}.reports-total-lines strong{text-align:right;font-size:13px}.reports-day-table-wrap{gap:8px;display:grid;overflow-x:auto}.reports-day-table-head,.reports-day-row{grid-template-columns:minmax(95px,.7fr) minmax(105px,.7fr) minmax(100px,.7fr) minmax(100px,.7fr) minmax(100px,.7fr) minmax(100px,.7fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(130px,.85fr) minmax(120px,.8fr) minmax(130px,.8fr) minmax(140px,1fr);align-items:center;gap:10px;min-width:1540px;display:grid}.reports-day-table-head{min-height:32px;color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.reports-day-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;padding:6px 8px}.reports-day-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-day-table-wrap span,.reports-day-table-wrap strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.reports-day-table-wrap span{color:var(--muted);font-size:13px}.reports-day-table-wrap strong{color:#1f1409}.reports-transaction-table-wrap{gap:6px;display:grid;overflow-x:auto}.reports-transaction-table-head,.reports-transaction-row{grid-template-columns:minmax(125px,.8fr) minmax(115px,.75fr) minmax(150px,1fr) minmax(110px,.75fr) minmax(150px,1fr) minmax(105px,.7fr) minmax(105px,.7fr) minmax(105px,.7fr) minmax(105px,.7fr) minmax(105px,.7fr) minmax(65px,.45fr) minmax(220px,1.35fr) minmax(130px,.8fr);align-items:center;gap:8px;min-width:1600px;display:grid}.reports-transaction-table-head{min-height:28px;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.reports-transaction-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:8px;padding:6px 8px}.reports-transaction-row.active,.reports-transaction-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-transaction-row span,.reports-transaction-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-transaction-row span{color:var(--muted)}.reports-transaction-row strong{color:#1f1409}.reports-transaction-detail{background:#fff8e6;border:1px solid #d8b962;border-radius:8px;gap:10px;min-width:1600px;padding:10px;display:grid;box-shadow:inset 3px 0 #d7a414}.reports-transaction-detail-block{gap:5px;display:grid}.reports-transaction-line-head,.reports-transaction-line-row{grid-template-columns:minmax(130px,.8fr) minmax(190px,1.1fr) minmax(85px,.5fr) minmax(120px,.75fr) minmax(115px,.7fr) minmax(105px,.65fr) minmax(220px,1.35fr);align-items:center;gap:8px;display:grid}.reports-transaction-payment-head,.reports-transaction-payment-row{grid-template-columns:minmax(125px,.75fr) minmax(90px,.55fr) minmax(105px,.65fr) minmax(115px,.7fr) minmax(115px,.7fr) minmax(145px,.9fr) minmax(140px,.85fr) minmax(220px,1.35fr);align-items:center;gap:8px;display:grid}.reports-transaction-line-head,.reports-transaction-payment-head{min-height:24px;color:var(--muted);font-size:11px;font-weight:800}.reports-transaction-line-row,.reports-transaction-payment-row{background:#fffdf7f0;border:1px solid #ead9ad;border-radius:6px;min-height:32px;padding:5px 7px}.reports-transaction-line-row span,.reports-transaction-line-row strong,.reports-transaction-payment-row span,.reports-transaction-payment-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-transaction-line-row span,.reports-transaction-payment-row span{color:var(--muted)}.reports-transaction-line-row strong,.reports-transaction-payment-row strong{color:#1f1409}.reports-ledger-table-wrap{gap:6px;display:grid;overflow-x:auto}.reports-ledger-table-head,.reports-ledger-row{grid-template-columns:minmax(125px,.75fr) minmax(160px,1fr) minmax(110px,.7fr) minmax(125px,.8fr) minmax(95px,.55fr) minmax(130px,.8fr);align-items:center;gap:8px;min-width:1010px;display:grid}.reports-ledger-table-head.supplier,.reports-ledger-row.supplier{grid-template-columns:minmax(125px,.75fr) minmax(180px,1.1fr) minmax(120px,.75fr) minmax(135px,.85fr) minmax(115px,.75fr) minmax(130px,.8fr);min-width:980px}.reports-ledger-table-head{min-height:28px;color:var(--muted);font-size:11px;font-weight:800}.reports-ledger-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:6px;padding:6px 8px}.reports-ledger-row.active,.reports-ledger-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-ledger-row span,.reports-ledger-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-ledger-row span{color:var(--muted)}.reports-ledger-row strong{color:#1f1409}.reports-ledger-detail{background:#fff8e6;border:1px solid #d8b962;border-radius:8px;gap:5px;min-width:980px;padding:9px;display:grid;box-shadow:inset 3px 0 #d7a414}.reports-debt-detail-head,.reports-debt-detail-row,.reports-supplier-purchase-head,.reports-supplier-purchase-row,.reports-supplier-payment-head,.reports-supplier-payment-row{align-items:center;gap:8px;display:grid}.reports-debt-detail-head,.reports-debt-detail-row{grid-template-columns:minmax(105px,.7fr) minmax(105px,.7fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(130px,.85fr) minmax(130px,.85fr) minmax(240px,1.4fr);min-width:1100px}.reports-supplier-purchase-head,.reports-supplier-purchase-row{grid-template-columns:minmax(190px,1.2fr) minmax(150px,.95fr) minmax(80px,.5fr) minmax(100px,.65fr) minmax(110px,.7fr) minmax(105px,.7fr)}.reports-supplier-payment-head,.reports-supplier-payment-row{grid-template-columns:minmax(140px,.9fr) minmax(120px,.75fr) minmax(120px,.75fr) minmax(110px,.7fr)}.reports-debt-detail-head,.reports-supplier-purchase-head,.reports-supplier-payment-head{min-height:22px;color:var(--muted);font-size:11px;font-weight:800}.reports-debt-detail-row,.reports-supplier-purchase-row,.reports-supplier-payment-row{background:#fffdf7f0;border:1px solid #ead9ad;border-radius:6px;min-height:30px;padding:5px 7px}.reports-debt-detail-row span,.reports-debt-detail-row strong,.reports-supplier-purchase-row span,.reports-supplier-purchase-row strong,.reports-supplier-payment-row span,.reports-supplier-payment-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-debt-detail-row span,.reports-supplier-purchase-row span,.reports-supplier-payment-row span{color:var(--muted)}.reports-debt-detail-row strong,.reports-supplier-purchase-row strong,.reports-supplier-payment-row strong{color:#1f1409}.reports-standard-table-wrap{gap:6px;display:grid;overflow-x:auto}.reports-standard-table-head,.reports-standard-row{align-items:center;gap:8px;min-width:1120px;display:grid}.reports-standard-table-head.expenses,.reports-standard-row.expenses{grid-template-columns:95px minmax(130px,.85fr) minmax(180px,1.1fr) 95px 110px 120px minmax(220px,1.4fr) 130px;min-width:1250px}.reports-standard-table-head.stock,.reports-standard-row.stock{grid-template-columns:minmax(190px,1.1fr) 145px 120px 130px 130px 95px 75px 95px 145px 110px 130px;min-width:1480px}.reports-standard-table-head.customers,.reports-standard-row.customers{grid-template-columns:minmax(180px,1.1fr) 120px 80px 105px 105px 105px 110px 110px 130px;min-width:1070px}.reports-standard-table-head{min-height:28px;color:var(--muted);font-size:11px;font-weight:800}.reports-standard-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:6px;padding:6px 8px}.reports-standard-row.active,.reports-standard-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-standard-row span,.reports-standard-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-standard-row span{color:var(--muted)}.reports-standard-row strong{color:#1f1409}.reports-standard-detail{background:#fff8e6;border:1px solid #d8b962;border-radius:8px;gap:5px;min-width:1120px;padding:9px;display:grid;box-shadow:inset 3px 0 #d7a414}.reports-standard-detail-head,.reports-standard-detail-row{align-items:center;gap:8px;display:grid}.reports-standard-detail-head.expenses,.reports-standard-detail-row.expenses{grid-template-columns:110px 120px 110px 105px 130px 140px minmax(220px,1fr)}.reports-standard-detail-head.stock,.reports-standard-detail-row.stock{grid-template-columns:140px 160px 75px 80px 130px minmax(220px,1fr)}.reports-standard-detail-head.customers,.reports-standard-detail-row.customers{grid-template-columns:140px 120px 130px repeat(6,minmax(110px,1fr));min-width:1220px}.field-warning{color:#b42318;margin-top:4px;font-size:11px;font-weight:700;display:block}.product-edit-action{display:inline-flex}.reports-standard-detail-head{min-height:22px;color:var(--muted);font-size:11px;font-weight:800}.reports-standard-detail-row{background:#fffdf7f0;border:1px solid #ead9ad;border-radius:6px;min-height:30px;padding:5px 7px}.reports-standard-detail-row span,.reports-standard-detail-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-standard-detail-row span{color:var(--muted)}.reports-standard-detail-row strong{color:#1f1409}.reports-movement-table-wrap{gap:6px;display:grid;overflow-x:auto}.reports-movement-table-head,.reports-movement-row{grid-template-columns:minmax(125px,.8fr) minmax(110px,.8fr) minmax(72px,.45fr) minmax(130px,.9fr) minmax(110px,.75fr) minmax(105px,.75fr) minmax(112px,.8fr) minmax(190px,1.4fr) minmax(120px,.9fr);align-items:center;gap:8px;min-width:1260px;display:grid}.reports-movement-table-head{min-height:28px;color:var(--muted);font-size:11px;font-weight:800}.reports-movement-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:6px;padding:6px 8px}.reports-movement-row.active,.reports-movement-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-movement-row span,.reports-movement-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-movement-row span{color:var(--muted)}.reports-movement-row strong{color:#1f1409}.reports-count-table-wrap{gap:6px;display:grid;overflow-x:auto}.reports-count-table-head,.reports-count-row{grid-template-columns:minmax(130px,.8fr) minmax(130px,.9fr) minmax(130px,.85fr) minmax(130px,.85fr) minmax(115px,.75fr) minmax(220px,1.4fr) minmax(130px,.9fr);align-items:center;gap:8px;min-width:1030px;display:grid}.reports-count-table-head{min-height:28px;color:var(--muted);font-size:11px;font-weight:800}.reports-count-row{min-height:38px;color:inherit;text-align:left;background:#fffcf4eb;border:1px solid #ead9ad;border-radius:6px;padding:6px 8px}.reports-count-row:hover{border-color:var(--border-strong);background:#fff7e2}.reports-count-row span,.reports-count-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.reports-count-row span{color:var(--muted)}.reports-count-row strong{color:#1f1409}@media (width<=1180px){.reports-builder-layout,.reports-day-closing-grid{grid-template-columns:1fr}.reports-category-menu,.reports-day-detail{position:static}.reports-category-menu{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.reports-total-grid,.reports-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.reports-builder-heading,.reports-result-title{flex-direction:column;align-items:stretch}.reports-filter-grid,.reports-total-grid,.reports-day-detail-summary,.reports-subreport-list{grid-template-columns:1fr}.reports-filter-search{grid-column:auto}}@media (width<=1100px){.settings-layout,.settings-panel-grid,.permission-grid,.permission-grid.two{grid-template-columns:1fr}.settings-tabs{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));position:static}}@media (width<=700px){.settings-heading-actions,.settings-catalog-title{flex-direction:column;align-items:stretch}.settings-row{grid-template-columns:32px minmax(0,1fr)}.settings-row .secondary-button{grid-column:2;width:fit-content}}@media (width<=1180px){.custody-operation-grid{align-items:stretch}}@media (width<=720px){.custody-page-tabs{width:100%}.custody-operation-grid>*,.custody-operation-customer-row,.custody-product-search,.custody-field-description{max-width:none;flex:100%!important}.ledger-operation-header-row{flex-direction:column;width:100%}.ledger-operation-header-row .custody-operation-customer-row{flex-basis:auto}.ledger-transaction-date-input{width:100%}.custody-operation-footer,.operation-submit-row{flex-direction:column;align-items:stretch}.operation-submit-row .debt-save-button{width:100%}}.live-rates-screen-page{background:radial-gradient(circle at 100% 0,#d4a63033,#0000 38%),linear-gradient(145deg,#fffdf7 0%,#f7efd9 100%);min-height:calc(100vh - 76px);padding:24px}.live-rates-screen-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;display:flex}.live-rates-screen-header h1{margin:0;font-size:clamp(28px,3vw,46px)}.live-rates-screen-header p{color:#75684d;margin:6px 0 0;font-size:18px}.live-rates-screen-actions{color:#75684d;justify-content:flex-end;align-items:center;gap:12px;display:flex}.live-rates-display-list{grid-template-rows:repeat(5,minmax(116px,1fr));gap:14px;display:grid}.live-rates-display-card{background:#fffffff5;border:1px solid #e4c875;border-radius:18px;grid-template-columns:minmax(260px,1.15fr) repeat(2,minmax(250px,1fr));align-items:stretch;min-height:132px;display:grid;overflow:hidden;box-shadow:0 12px 30px #533e101a}.live-rates-display-card h2{color:#fff4c8;letter-spacing:-.02em;white-space:nowrap;background:linear-gradient(135deg,#3d321d,#211a0f);align-items:center;margin:0;padding:24px 30px;font-size:clamp(28px,3vw,44px);display:flex}.live-rates-display-price{flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;padding:18px 24px;display:flex}.live-rates-display-price+.live-rates-display-price{border-left:1px solid #ead8a1}.live-rates-display-price span{letter-spacing:.14em;font-size:18px;font-weight:800}.live-rates-display-price strong{max-width:100%;color:inherit;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(38px,5vw,68px);line-height:1;overflow:hidden}.live-rates-display-buy span,.live-rates-display-buy strong{color:#167247}.live-rates-display-sell span,.live-rates-display-sell strong{color:#a73524}:fullscreen{background:#f7efd9;width:100vw;height:100vh;overflow:hidden}:fullscreen .app-shell{width:100vw;height:100vh;min-height:100vh;display:block}:is(:fullscreen .sidebar,:fullscreen .topbar){display:none}:fullscreen .main-panel{width:100vw;min-width:0;max-width:none;height:100vh;margin:0;padding:0;display:block}:fullscreen .live-rates-screen-page{box-sizing:border-box;flex-direction:column;width:100vw;max-width:none;height:100vh;min-height:100vh;padding:20px 28px;display:flex;overflow:hidden}:fullscreen .live-rates-screen-header{flex:none;margin-bottom:14px}:fullscreen .live-rates-screen-header h1{font-size:clamp(30px,2.6vw,48px)}:fullscreen .live-rates-screen-header p{display:none}:fullscreen .live-rates-display-list{flex:auto;grid-template-rows:repeat(5,minmax(0,1fr));min-height:0}:fullscreen .live-rates-display-card{min-height:0}@media (width<=900px){.live-rates-screen-header,.live-rates-screen-actions{flex-direction:column;align-items:flex-start}.live-rates-display-card{grid-template-columns:1fr 1fr}.live-rates-display-card h2{grid-column:1/-1;min-height:74px}.live-rates-display-price strong{font-size:clamp(34px,8vw,54px)}:is(:fullscreen .live-rates-screen-header,:fullscreen .live-rates-screen-actions){flex-direction:row;align-items:center}:fullscreen .live-rates-display-card{grid-template-columns:minmax(220px,.9fr) repeat(2,minmax(0,1fr))}:fullscreen .live-rates-display-card h2{grid-column:auto;min-height:0}}.new-transactions-page{gap:10px}.new-transactions-page .new-transaction-hero{border-radius:12px;min-height:0;padding:13px 16px}.new-transactions-page .new-transaction-hero h1{margin:1px 0 2px;font-size:23px}.new-transactions-page .new-transaction-hero p{font-size:12px}.new-transactions-page .compact-account-bar{border-radius:11px;grid-template-columns:minmax(240px,340px) minmax(420px,1fr) 190px;gap:10px;padding:9px}.new-account-mode{width:100%}.new-account-mode button{min-height:34px}.new-account-field{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.new-account-field .transaction-customer-input{min-height:38px}.new-account-field .transaction-customer-input input{cursor:pointer;min-height:34px}.new-transaction-date{min-height:38px}.primary-list-strip{flex-wrap:wrap;gap:6px;min-height:0;display:flex}.primary-list-button{color:#211403;cursor:pointer;background:linear-gradient(#ffffff8c,#0000 42%),linear-gradient(145deg,#fff3a6 0%,#ffd84f 34%,#f2b705 72%,#dca000 100%);border:1px solid #c79b2e94;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex;box-shadow:0 4px 10px #b17e1029}.compact-operation-list{background:#fffdf7;border:1px solid #ead8a8;border-radius:9px;overflow:visible}.compact-list-title{background:#fff8e6;border-bottom:1px solid #ead8a8;align-items:center;gap:8px;min-height:35px;padding:4px 7px 4px 11px;display:flex}.compact-list-title strong{color:var(--text);font-size:13px}.compact-list-title span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-right:auto;font-size:10px;font-weight:700}.primary-minus,.row-remove.compact{color:#aa493a;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:29px;height:29px;padding:0;display:grid}.primary-minus:hover,.row-remove.compact:hover{background:#fff0ed}.compact-operation-table-wrap{overflow:auto visible}.compact-operation-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1120px;font-size:11px}.compact-operation-table th,.compact-operation-table td{vertical-align:middle;border-bottom:1px solid #ead8a8;border-right:1px solid #eee4cb;height:38px;padding:3px 4px}.compact-operation-table th:last-child,.compact-operation-table td:last-child{border-right:0}.compact-operation-table th{color:#5f5138;white-space:nowrap;background:#fff4d7;height:29px;padding:2px 5px;font-size:10px;font-weight:900;line-height:1.1}.compact-operation-table tbody tr:not(.secondary-add-row):hover{background:#fff9eb}.compact-operation-table th:first-child{width:34px}.compact-operation-table th:nth-child(2){width:285px}.compact-operation-table th:nth-child(3){width:82px}.compact-operation-table th:nth-child(4),.compact-operation-table th:nth-child(5){width:88px}.compact-operation-table th:nth-child(6){width:100px}.compact-operation-table th:nth-child(7),.compact-operation-table th:nth-child(8){width:115px}.compact-operation-table th:nth-child(9){width:78px}.compact-operation-table th:nth-child(10){width:35px}.compact-operation-table input,.compact-operation-table select{box-sizing:border-box;width:100%;min-width:0;height:30px;min-height:30px;color:var(--text);font:inherit;background:#fff;border:1px solid #dfd4b8;border-radius:5px;outline:0;padding:3px 6px;font-size:11px}.compact-operation-table input:focus,.compact-operation-table select:focus{border-color:#c79b2e;box-shadow:0 0 0 2px #c79b2e24}.compact-operation-table .numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.compact-operation-table .read-only{color:#625b4e;background:#f8f5ed}.row-index,.cell-dash{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums}.instrument-cell{position:relative}.instrument-cell>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:9px;line-height:1;display:block;overflow:hidden}.compact-product-search{color:#a17616;background:#fff;border:1px solid #dfd4b8;border-radius:5px;grid-template-columns:18px minmax(0,1fr);align-items:center;height:30px;padding-left:5px;display:grid;position:relative}.compact-product-search input{background:0 0;border:0;height:28px;min-height:28px;padding-left:2px}.new-transaction-table{table-layout:fixed;min-width:0}.new-transactions-page .transaction-table-wrap{overflow:visible}.new-transaction-table th:first-child{width:7%}.new-transaction-table th:nth-child(2){width:19%}.new-transaction-table th:nth-child(3){width:11%}.new-transaction-table th:nth-child(4){width:7%}.new-transaction-table th:nth-child(5){width:9%}.new-transaction-table th:nth-child(6),.new-transaction-table th:nth-child(7){width:8%}.new-transaction-table th:nth-child(8){width:9%}.new-transaction-table th:nth-child(9){width:8%}.new-transaction-table th:nth-child(10){width:12%}.new-transaction-table th:nth-child(11){width:36px}.new-transaction-table th,.new-transaction-table td{text-align:center;vertical-align:middle;border-right:1px solid #ead8a8;padding:7px 6px}.new-transaction-table th{white-space:normal;line-height:1.15}.new-transaction-table th:last-child,.new-transaction-table td:last-child{border-right:0}.new-transaction-table th:nth-child(2),.new-transaction-table th:nth-child(3),.new-transaction-table td:nth-child(2),.new-transaction-table td:nth-child(3){text-align:left}.new-transaction-table td select{width:100%;min-height:34px}.new-transaction-table td>input,.new-transaction-table td>.numeric-cell{width:100%;min-width:0}.new-transaction-table td .compact-product-search,.new-transaction-table td .compact-product-search input{width:100%}.new-transaction-table .transaction-row-actions{flex-wrap:nowrap}.transaction-product-name{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.quantity-stepper{border:1px solid var(--border);background:#fffdf7;border-radius:8px;grid-template-columns:27px minmax(34px,1fr) 27px;align-items:center;display:grid;overflow:hidden}.quantity-stepper button{color:#6f5318;cursor:pointer;background:#fff4d7;border:0;height:32px;padding:0;font-size:16px;font-weight:800}.quantity-stepper input{text-align:center;border:0!important;border-radius:0!important;width:100%!important;min-height:32px!important;padding:0 3px!important}.transaction-extra-actions{flex-wrap:wrap;gap:4px;display:flex}.transaction-remove-button{color:#b3261e;cursor:pointer;background:#fff0ed;border:1px solid #efb0a5;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;display:grid}.transaction-remove-button:hover{background:#ffe1dc;border-color:#d97f70}.transaction-list-add-row{background:#fffdf7;border-top:1px solid #ead8a8;justify-content:flex-start;padding:8px 10px;display:flex}.transaction-list-add-row .secondary-button{min-height:32px;padding:0 11px;font-size:11px}.compact-live-options{max-height:290px;top:calc(100% + 3px);left:-1px;right:-1px;overflow-y:auto}.inline-kind-field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;display:grid}.inline-kind-field>span{color:#6f5e3b;padding-left:2px;font-weight:800}.debt-link-button{color:#6b5111;white-space:nowrap;cursor:pointer;background:#fff8df;border:1px solid #dfc97d;border-radius:6px;min-height:27px;padding:0 7px;font-size:10px;font-weight:800}.debt-link-button.active{color:#2e2100;background:linear-gradient(145deg,#fff3a6,#f2b705);border-color:#d2a518}.secondary-add-row td{background:#fffdf7;border-bottom:0;height:31px;padding:2px 7px}.secondary-add-row button{color:#6f5e3b;cursor:pointer;background:#fff8e6;border:1px solid #ead8a8;border-radius:6px;align-items:center;gap:5px;min-height:25px;padding:0 8px;font-size:10px;font-weight:800;display:inline-flex}.ledger-table-wrap{overflow:visible}.ledger-table{table-layout:fixed;min-width:0}.ledger-table th:first-child{width:8%}.ledger-table th:nth-child(2){width:14%}.ledger-table th:nth-child(3){width:15%}.ledger-table th:nth-child(4){width:10%}.ledger-table th:nth-child(5),.ledger-table th:nth-child(6),.ledger-table th:nth-child(7){width:14%}.ledger-table th:nth-child(8){width:11%}.ledger-table th:nth-child(9){width:34px}.ledger-table th,.ledger-table td{text-align:center;vertical-align:middle;font-size:12px}.ledger-table th:nth-child(3),.ledger-table th:nth-child(6),.ledger-table th:nth-child(8),.ledger-table td:nth-child(3),.ledger-table td:nth-child(6),.ledger-table td:nth-child(8){text-align:left}.compact-operation-list.ledger.debt{background:#fffaff;border-color:#d7a9d3}.compact-operation-list.ledger.debt .ledger-table th{background:#f2ceef;border-color:#d7a9d3}.compact-operation-list.ledger.debt .ledger-table td{background:#f2ceef2e;border-color:#e6c9e3}.compact-operation-list.ledger.custody{background:#f9fdff;border-color:#91d0e9}.compact-operation-list.ledger.custody .ledger-table th{background:#caedfb;border-color:#91d0e9}.compact-operation-list.ledger.custody .ledger-table td{background:#caedfb33;border-color:#b7deed}.compact-operation-list.ledger .compact-list-title{background:#fff8e6;border-color:#ead8a8}.compact-operation-list.ledger .secondary-add-row td{text-align:left}.source-instrument-field{gap:3px;display:grid}.filtered-combobox{min-width:0;position:relative}.filtered-combobox-options{z-index:80;background:#fffdf8;border:1px solid #d6c28a;border-radius:7px;max-height:220px;display:grid;position:absolute;top:calc(100% + 3px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 24px #3e2d0c29}.filtered-combobox-options button{min-height:30px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee3c7;padding:5px 8px}.filtered-combobox-options button:hover{background:#fff2c9}.filtered-combobox-options>span{color:var(--muted);text-align:center;padding:8px}.amount-with-unit{background:#fff;border:1px solid #dfd4b8;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.amount-with-unit input{border:0!important;border-radius:0!important}.amount-with-unit>span{color:#6f5e3b;text-align:center;min-width:26px;padding:0 6px;font-size:10px;font-weight:800}.trade-quantity-with-unit{display:block;position:relative}.trade-quantity-with-unit>span{z-index:2;color:#6f5e3b;pointer-events:none;font-size:9px;font-weight:800;position:absolute;top:50%;left:calc(50% + 5px);transform:translateY(-50%)}.trade-quantity-with-unit .quantity-stepper input{padding-right:22px!important}.ledger-target-amount{grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:5px;display:grid}.fixed-ledger-amount{text-align:right;white-space:nowrap;padding:0 4px;font-weight:800;display:block}.ledger-rate-info{color:#755b15;cursor:help;background:#fffdf7;border:1px solid #d7c899;border-radius:50%;place-items:center;width:28px;height:28px;display:inline-grid;position:relative}.ledger-rate-info:after{z-index:120;color:#49370d;content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:normal;background:#fffdf5;border:1px solid #d9c27d;border-radius:7px;width:max-content;max-width:330px;padding:7px 9px;font-size:10px;font-weight:700;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 8px);right:-8px;transform:translateY(3px);box-shadow:0 8px 18px #45300729}.ledger-rate-info:hover:after,.ledger-rate-info:focus-visible:after{opacity:1;transform:translateY(0)}.ledger-description{resize:vertical;white-space:pre-wrap;width:100%;overflow:auto;height:34px!important;min-height:34px!important}.readonly-weight,.ledger-action-label{white-space:nowrap}.ledger-product-cell{min-width:0}.ledger-product-cell>small,.linked-payment-cell>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9px;line-height:1.15;display:block;overflow:hidden}.new-transactions-page .new-summary-grid{gap:7px}.new-transactions-page .new-summary-card{border-radius:9px;gap:3px;padding:10px 12px}.new-transactions-page .new-summary-card strong{font-size:16px}.new-transactions-page .new-save-bar{border-radius:10px;padding:8px 10px}.new-transactions-page .compact-modal{border-radius:12px;width:min(410px,100vw - 28px);padding:18px}.new-transactions-page .compact-modal h2{margin-bottom:10px;font-size:17px}.new-transactions-page .row-kind-chooser{gap:6px}.new-transactions-page .row-kind-chooser button{background:#fffdf7;border-color:#cba7505c;border-radius:8px;min-height:40px;padding:0 10px;font-size:11px;display:flex}.new-transactions-page .row-kind-chooser button:hover{background:#fff4d2}@media (width<=980px){.new-transactions-page .compact-account-bar,.new-account-field{grid-template-columns:1fr}}.ledger-hub-page{width:min(1480px,100%)}.ledger-hub-heading{margin-bottom:12px}.ledger-refresh-button{align-items:center;gap:8px;min-height:40px;display:inline-flex}.ledger-hub-error{margin:16px 0}.ledger-smart-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:-1px;margin-bottom:16px;display:grid}.ledger-smart-card{text-align:left;min-width:0;color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow-soft);background:linear-gradient(#fff,#fff9eb);border-radius:9px;grid-template-columns:auto 1fr;gap:5px 10px;padding:16px;display:grid}.ledger-smart-card>svg{color:var(--accent-strong);grid-row:1/span 2}.ledger-smart-card span,.ledger-smart-card small{color:var(--muted)}.ledger-smart-card strong{grid-column:2;font-size:24px;line-height:1}.ledger-smart-card small{grid-column:1/-1;margin-top:4px}.ledger-smart-card:hover,.ledger-smart-card.active{border-color:var(--border-strong);background:linear-gradient(#fffdf8,#fff0bc)}.ledger-smart-card.debt>svg,.ledger-smart-card.debt strong{color:#9c342d}.ledger-smart-card.custody>svg,.ledger-smart-card.custody strong{color:#216b52}.ledger-smart-card.both>svg,.ledger-smart-card.both strong{color:#765a09}.ledger-matrix-panel,.ledger-account-browser,.ledger-account-workspace,.ledger-movements-panel{background:#fffdf8}.ledger-section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.ledger-section-heading h2,.ledger-selected-head h2{margin:0;font-size:18px}.ledger-section-heading p,.ledger-selected-head small{color:var(--muted);margin:4px 0 0}.ledger-search{border:1px solid var(--border);width:min(330px,100%);min-height:40px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:0 11px;display:flex}.ledger-search:focus-within{border-color:var(--border-strong);box-shadow:0 0 0 3px #c79b2e24}.ledger-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.ledger-matrix-wrap,.ledger-movement-table-wrap{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;overflow-x:auto}.ledger-matrix-table,.ledger-movement-table{border-collapse:collapse;width:100%}.ledger-matrix-table{min-width:760px}.ledger-matrix-table th,.ledger-matrix-table td,.ledger-movement-table th,.ledger-movement-table td{vertical-align:top;text-align:left;border-bottom:1px solid #ece5d7;padding:11px 12px}.ledger-matrix-table th,.ledger-movement-table th{color:var(--muted);letter-spacing:.02em;background:#faf6ed;font-size:12px;font-weight:800}.ledger-matrix-table tbody tr:last-child td,.ledger-movement-table tbody tr:last-child td{border-bottom:0}.ledger-matrix-table tbody tr:hover td,.ledger-movement-table tbody tr:hover td{background:#fffbf1}.ledger-matrix-table th:first-child,.ledger-matrix-table td:first-child{z-index:1;background:#fff;min-width:190px;position:sticky;left:0;box-shadow:8px 0 14px #281f0d0a}.ledger-matrix-table th:first-child{z-index:2;background:#faf6ed}.ledger-account-link{color:var(--text);text-align:left;background:0 0;border:0;gap:3px;padding:0;display:grid}.ledger-account-link:hover strong{color:var(--accent-strong)}.ledger-account-link small,.ledger-movement-table td small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.ledger-matrix-cell{gap:5px;min-width:112px;display:grid}.ledger-cell-line{white-space:nowrap;font-size:13px;display:block}.ledger-cell-line b,.ledger-matrix-legend b{border-radius:5px;place-items:center;width:20px;height:20px;margin-right:4px;font-size:11px;display:inline-grid}.ledger-cell-line.debt,.ledger-matrix-legend .debt,.ledger-account-summary.debt strong{color:#97362f}.ledger-cell-line.debt b{background:#ffebe8}.ledger-cell-line.custody,.ledger-matrix-legend .custody,.ledger-account-summary.custody strong{color:#236c54}.ledger-cell-line.custody b{background:#e4f4ed}.ledger-cell-empty,.ledger-no-balance{color:#aaa193}.ledger-matrix-legend{color:var(--muted);gap:18px;margin-top:11px;font-size:12px;display:flex}.ledger-filter-row{flex-wrap:wrap;gap:7px;margin-bottom:12px;display:flex}.ledger-filter-button{border:1px solid var(--border);min-height:34px;color:var(--muted);background:#fff;border-radius:7px;padding:0 11px}.ledger-filter-button:hover,.ledger-filter-button.active{border-color:var(--border-strong);background:var(--accent-soft);color:var(--accent-strong)}.ledger-accounts-layout{grid-template-columns:minmax(500px,1.35fr) minmax(320px,.8fr);gap:14px;margin-top:-1px;display:grid}.ledger-account-list{gap:8px;display:grid}.ledger-account-card{border:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:8px;grid-template-columns:40px minmax(150px,1fr) minmax(90px,auto) minmax(90px,auto);align-items:center;gap:11px;padding:11px;display:grid}.ledger-account-card:hover,.ledger-account-card.active{border-color:var(--border-strong);background:#fff8e7}.ledger-account-avatar{width:38px;height:38px;color:var(--accent-strong);background:#f8edcf;border-radius:9px;place-items:center;display:grid}.ledger-account-identity,.ledger-account-summary{gap:3px;display:grid}.ledger-account-identity small,.ledger-account-summary small{color:var(--muted);font-size:12px}.ledger-account-summary{border-left:1px solid var(--border);padding-left:11px}.ledger-account-workspace{align-self:start}.ledger-selected-head{border-bottom:1px solid var(--border);padding-bottom:14px}.ledger-selected-head span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px;font-size:12px;font-weight:800;display:block}.ledger-bucket-section{border-bottom:1px solid var(--border);padding:14px 0}.ledger-bucket-section h3,.ledger-draft-actions h3{margin:0 0 9px;font-size:14px}.ledger-bucket-option{border:1px solid var(--border);background:#fff;border-radius:7px;align-items:center;gap:9px;min-height:42px;margin-top:6px;padding:7px 9px;display:flex}.ledger-bucket-option:has(input:checked){border-color:var(--border-strong);background:#fff6dc}.ledger-bucket-option input{width:17px;height:17px;accent-color:var(--accent-strong)}.ledger-bucket-option span{justify-content:space-between;gap:10px;width:100%;display:flex}.ledger-bucket-option small{color:var(--muted)}.ledger-bucket-option.debt strong{color:#97362f}.ledger-bucket-option.custody strong{color:#236c54}.ledger-draft-actions{padding-top:15px}.ledger-action-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.ledger-action-button{border:1px solid var(--border);min-height:40px;color:var(--text);background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:7px 9px;display:flex}.ledger-action-button:hover,.ledger-action-button.active{border-color:var(--border-strong);background:var(--accent-soft);color:var(--accent-strong)}.ledger-draft-state{min-height:42px;color:var(--muted);background:#f8f3e8;border-radius:7px;justify-content:space-between;gap:8px;margin-top:9px;padding:10px;font-size:12px;display:flex}.ledger-draft-state strong{color:var(--text)}.ledger-transfer-button{justify-content:center;align-items:center;gap:8px;width:100%;min-height:43px;margin-top:9px;display:flex}.ledger-transfer-button small{background:#ffffff73;border-radius:4px;padding:2px 5px;font-size:10px}.ledger-readonly-note{color:var(--muted);margin:9px 0 0;font-size:12px;line-height:1.5}.ledger-select-placeholder{color:var(--muted);text-align:center;justify-items:center;padding:54px 18px;display:grid}.ledger-select-placeholder h2{color:var(--text);margin:12px 0 3px;font-size:18px}.ledger-select-placeholder p{max-width:330px;margin:0;line-height:1.5}.ledger-movements-panel{margin-top:-1px}.ledger-movement-table{min-width:980px}.ledger-movement-table th:first-child{width:140px}.ledger-movement-table th:nth-child(3){width:90px}.ledger-movement-table td:nth-child(5){white-space:nowrap;font-weight:800}.ledger-kind-badge{border-radius:6px;align-items:center;min-height:25px;padding:3px 7px;font-size:11px;font-weight:800;display:inline-flex}.ledger-kind-badge.debt{color:#97362f;background:#ffebe8}.ledger-kind-badge.custody{color:#236c54;background:#e4f4ed}@media (width<=1120px){.ledger-smart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-accounts-layout{grid-template-columns:1fr}}@media (width<=720px){.ledger-section-heading{flex-direction:column;align-items:stretch}.ledger-search{width:100%}.ledger-smart-grid{grid-template-columns:1fr}.ledger-account-card{grid-template-columns:40px 1fr}.ledger-account-summary{border-top:1px solid var(--border);border-left:0;grid-column:2;padding:6px 0 0}.ledger-bucket-option span,.ledger-draft-state{flex-direction:column;align-items:flex-start}}.products-page .product-card-stock strong.product-stock-pending{text-align:center;max-width:90px;font-size:11px;font-weight:650;line-height:1.4}.module-title.module-title{text-align:left;min-width:0}.module-heading.module-heading{box-shadow:none;background:0 0;border:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:0;display:flex}.module-heading>.module-title{flex:1}.module-title.module-title>.module-title-eyebrow{letter-spacing:1.7px;text-transform:uppercase;color:#a0874b;font-size:10px;font-weight:700;line-height:1.5;display:block}.module-title.module-title>h1{letter-spacing:normal;color:var(--text);margin:5px 0;font-size:27px;font-weight:700;line-height:1.2}.module-title.module-title>p{letter-spacing:normal;color:#8c8779;margin:0;font-size:12px;font-weight:400;line-height:1.5}.wcc-dialog{color:#34392f;background:#fffdf8;border:1px solid #e5dfd0;border-radius:18px;width:min(1120px,94vw);max-height:90vh;padding:26px;overflow:auto;box-shadow:0 24px 80px #25231930}.wcc-dialog header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.wcc-dialog h2{margin:5px 0}.wcc-dialog small{color:#827b68}.wcc-summary{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px;display:grid}.wcc-summary article{background:#faf7ec;border:1px solid #e5dfd0;border-radius:14px;flex-direction:column;gap:12px;padding:18px;display:flex}.wcc-summary strong{font-variant-numeric:tabular-nums;font-size:23px}.wcc-summary .wcc-custody{background:#eff8f1}.wcc-summary .wcc-debt{background:#fff2e8}.wcc-summary article>div{flex-wrap:wrap;gap:7px;max-height:110px;display:flex;overflow:auto}.wcc-chip{background:#ffffffc9;border:1px solid #dedecf;border-radius:20px;align-items:center;gap:9px;padding:5px 9px;font-size:12px;display:inline-flex}.wcc-chip b{color:#497565}.wcc-matrices{grid-template-columns:1fr 1fr;gap:22px;margin-top:20px;display:grid}.wcc-dialog table{border-collapse:collapse;width:100%;font-size:12px}.wcc-dialog th,.wcc-dialog td{text-align:left;border-bottom:1px solid #eee9dc;padding:12px 9px}.wcc-dialog th{background:#f7f5eb}.wcc-history{margin-top:20px;overflow:auto}.wcc-history tbody tr{cursor:pointer}.wcc-history tbody tr:hover,.wcc-history tbody tr:focus{background:#fff3c7}.wcc-dialog .is-active{background:#f2cf57;border-radius:6px}@media (width<=760px){.wcc-summary,.wcc-matrices{grid-template-columns:1fr}.wcc-dialog{padding:16px}}.wcc-collection-date{white-space:nowrap;flex-direction:column;gap:3px;padding:3px 0;display:flex}.wcc-collection-date+.wcc-collection-date{border-top:1px solid #eee9dc;margin-top:5px;padding-top:7px}.wcc-matrices table{table-layout:fixed}.wcc-matrices th{white-space:nowrap;font-size:11px}.wcc-matrices th:first-child{width:45%}.wcc-matrices th:nth-child(2){width:16%}.wcc-matrices th:nth-child(3){width:20%}.wcc-matrices th:nth-child(4){width:19%}.transaction-detail-user{align-items:center;gap:6px;font-size:12px;display:flex}.tw-workspace{--tw-gold:#b48622;--tw-ink:#292923;--tw-muted:#8a887f;--tw-line:#e8e5db;--tw-green:#16775b;color:var(--tw-ink);background:0 0;align-content:start;gap:18px;padding:24px 26px 34px;font-size:13px;display:grid}.tw-workspace *{box-sizing:border-box}.tw-interaction-lock{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.tw-customer-control.is-selected{color:#176c43;background:#edf8f0;border-color:#7ab892;box-shadow:0 0 0 3px #20875412}.tw-customer-control.is-selected input{color:#176c43;background:0 0;font-weight:650}.tw-customer-control.is-selected>svg{flex-shrink:0;margin-right:12px}.tw-success{color:#176c43;background:#edf8f0;border-color:#b8ddc5}.tw-effect-list{text-align:left;gap:8px;max-height:45vh;margin:16px 0;display:grid;overflow:auto}.tw-effect-list>div{background:#f6f5ef;border-radius:8px;gap:4px;padding:9px 12px;display:grid}.tw-effect-list strong{color:#34382f;font-size:12px}.tw-effect-list span{color:#4c5149;font-size:12px}.tw-workspace button,.tw-workspace input,.tw-workspace select{font-family:inherit}.tw-workspace button:focus-visible,.tw-workspace select:focus-visible,.tw-workspace input:focus-visible{outline-offset:2px;outline:2px solid #b48622}:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) button:disabled{cursor:not-allowed;opacity:.45}:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) .primary-button,:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) .secondary-button{white-space:nowrap;border-radius:8px;min-height:39px;font-size:12px}:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) .secondary-button:where(:not(.is-due,.is-upcoming)){background:#fff;border-color:#e4e0d5;box-shadow:0 1px 2px #27271d05}:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) .primary-button{color:#493612;background:linear-gradient(120deg,#f5d779,#eac04d);border:1px solid #e7bd4a;box-shadow:0 3px 8px #b4862215}:is(.tw-workspace,.sw-page,.sw-dialog,.customers-page,.wcc-dialog,.dashboard-page,.products-page,.assets-page,.expenses-page,.settings-page) .primary-button:hover:not(:disabled){background:#f6d66f}.tw-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.tw-eyebrow{letter-spacing:1.7px;color:#817966;align-items:center;gap:12px;font-size:9px;font-weight:750;display:flex}.tw-eyebrow span{color:#c1bba9}.tw-heading h1{letter-spacing:-.9px;align-items:center;gap:12px;margin:7px 0 5px;font-size:27px;font-weight:650;display:flex}.tw-heading p{color:#8b887d;margin:0;font-size:12px}.tw-preview{letter-spacing:0;color:#8c7848;background:#eeeadf;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:500}.tw-heading-actions{gap:8px;display:flex}.tw-account-bar{border:1px solid var(--tw-line);background:#fff;border-radius:12px;align-items:flex-end;gap:12px;padding:15px 18px;display:flex;box-shadow:0 3px 8px #29292303}.tw-account-field{flex:1;min-width:200px;position:relative}.tw-field-title{letter-spacing:1px;color:#8c8677;margin-bottom:7px;font-size:9px;font-weight:750;display:block}.tw-customer-control{background:#fffcf3;border:1px solid #e9dbb6;border-radius:7px;align-items:center;min-height:42px;padding-right:10px;display:flex}.tw-customer-control>button{color:#947026;background:#f8edcf;border:0;border-right:1px solid #e9dbb6;border-radius:6px 0 0 6px;flex-shrink:0;align-self:stretch;place-items:center;width:48px;display:grid}.tw-customer-control>input{color:#373930;background:0 0;border:0;outline:0;flex:1;min-width:0;padding:10px 12px;font-size:13px}.tw-account-tag{color:#9a8961;white-space:nowrap;background:#f1ebd9;border-radius:4px;padding:4px 7px;font-size:10px}.tw-account-tag.registered{color:#337352;background:#e8f2e7}.tw-customer-card{height:42px}.tw-date{flex:0 0 190px}.tw-date>div{border:1px solid var(--tw-line);color:#aaa392;border-radius:7px;align-items:center;gap:8px;height:42px;padding:0 10px;display:flex}.tw-date input{color:#55574e;background:0 0;border:0;width:100%;min-width:0;font-size:12px}.tw-entry-card,.tw-list-card{border:1px solid var(--tw-line);background:#fff;border-radius:12px;min-width:0;box-shadow:0 4px 12px #28291d03}.tw-category-bar{border-bottom:1px solid #efede5;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 18px;display:flex}.tw-category-bar button{padding:0 17px}.tw-category-note{color:#969283;align-items:center;gap:6px;margin-left:auto;font-size:10px;display:flex}.tw-action-bar{flex-wrap:wrap;align-items:center;gap:18px;padding:15px 18px 8px;display:flex}.tw-segments{background:#faf9f4;border:1px solid #e9e3d5;border-radius:8px;flex-wrap:wrap;gap:3px;padding:4px;display:flex}.tw-segments button{color:#8e8879;background:0 0;border:0;border-radius:5px;min-height:30px;padding:0 17px;font-size:11px;font-weight:650}.tw-segments button[aria-pressed=true]{color:#624810;background:#f2cf67;box-shadow:0 2px 4px #b4862217}.tw-action-bar p{color:#969185;margin:0;font-size:11px}.tw-entry-form{flex-wrap:wrap;align-items:flex-end;gap:12px 10px;padding:12px 18px 17px;display:flex}.tw-entry-form>label,.tw-entry-form>.tw-field,.tw-entry-form>.tw-product-field{flex:105px;min-width:100px}.tw-entry-form>.tw-wide{flex:2 200px}.tw-entry-form label,.tw-field>span{color:#827d71;font-size:10px;font-weight:650;display:block}.tw-entry-form label>input,.tw-entry-form label>select,.tw-entry-form label>div,.tw-field>.tw-amount{margin-top:6px}.tw-entry-form select,.tw-entry-form label>input{color:#414438;background:#fff;border:1px solid #e5e1d6;border-radius:6px;width:100%;min-width:0;height:38px;padding:0 9px;font-size:12px}.tw-entry-form .tw-reference{flex:125px}.tw-amount{background:#fff;border:1px solid #e5e1d6;border-radius:6px;align-items:center;min-width:0;height:38px;display:flex;overflow:hidden}.tw-amount>input{text-align:right;font-variant-numeric:tabular-nums;color:#363d33;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:8px;font-size:12px}.tw-amount>span{color:#8f8061;white-space:nowrap;background:#f9f8f3;border-left:1px solid #f0ede3;align-self:stretch;place-items:center;min-width:28px;padding:0 8px;font-size:10px;font-weight:700;display:grid}.tw-amount.is-readonly{background:#f8f8f3;border-color:#edece4}.tw-amount.is-readonly input{color:#8f9185}.tw-price-field .tw-amount{border-color:#dcc488;box-shadow:0 0 0 2px #f9f3e4}.tw-price-field .tw-amount>span{color:#947128;background:#fcf5df}.tw-search{color:#a19b8c;border:1px solid #e5e1d6;border-radius:6px;align-items:center;gap:7px;height:38px;padding:0 9px;display:flex}.tw-search input{color:#42463a;border:0;outline:0;width:100%;min-width:0;font-size:12px}.tw-search button{color:inherit;background:0 0;border:0;place-items:center;padding:0;display:grid}.tw-product-field{position:relative}.tw-note-actions{flex:2 350px;align-items:flex-end;gap:10px;min-width:250px;display:flex}.tw-note-actions label{flex:1;min-width:100px}.tw-note-actions button{flex:0 0 119px;height:38px}.tw-rate-strip{color:#95917f;background:#fcfbf7;border-top:1px solid #f0ede5;border-radius:0 0 12px 12px;align-items:center;gap:6px;padding:8px 18px;font-size:10px;display:flex}.tw-rate-strip>span:last-child{color:#aaa796;margin-left:auto}.tw-dot{color:#c0b7a0;padding:0 9px}.tw-list-title{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.tw-list-title h2{letter-spacing:-.25px;align-items:center;gap:9px;margin:0;font-size:16px;font-weight:650;display:flex}.tw-list-title h2>span{color:#9b8a65;background:#f4f0e4;border-radius:4px;padding:4px 6px;font-size:10px;font-weight:600}.tw-list-title p{color:#aaa497;margin:6px 0 0;font-size:11px}.tw-list-legend{color:#969283;align-items:center;gap:13px;font-size:10px;display:flex}.tw-list-legend>span{align-items:center;gap:5px;display:flex}.tw-list-legend i{border-radius:50%;width:6px;height:6px}.tw-dot-sale{background:#cc867b}.tw-dot-in{background:#82b496}.tw-list-legend b{color:#9f7733;background:#fcf4dd;border-radius:4px;padding:4px 6px;font-weight:600}.tw-text-button{color:#a09a8b;background:0 0;border:0;align-items:center;gap:4px;font-size:10px;display:flex}.tw-table-scroll{width:100%;overflow:auto}.tw-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1190px;font-size:11px}.tw-table th{color:#96907f;text-align:left;background:#f8f7f1;border-top:1px solid #eeebe0;border-bottom:1px solid #e9e5d9;padding:10px 8px;font-size:9px;font-weight:650}.tw-table-groups th{letter-spacing:1px;color:#97825a;background:#f8f5eb;border-bottom:0;padding:10px 12px;font-size:9px}.tw-table-groups th:nth-child(3){color:#7c8d74;background:#f3f6f1}.tw-table-groups span{align-items:center;gap:7px;display:flex}.tw-table td{vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #efede5;height:60px;padding:10px 8px;transition:background .15s}.tw-table tr:last-child td{border-bottom:0}.tw-table tbody tr:not(:has(.tw-empty)):hover td{background:#faf8f1}.tw-table tbody tr.is-selected td{background:#fffcf0}.tw-table tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 #d6af42}.tw-row-index{color:#b6af9e;text-align:center;font-size:9px}.tw-action-label{color:#6b6453;font-size:10px;font-weight:600}.tw-action-label.debt{color:#a97f35}.tw-action-label.custody{color:#67836f}.tw-neutral-label{color:#b4ad9c;margin-top:4px;font-size:8px;display:block}.tw-item-name{color:#4e5146;font-weight:550}.tw-item-name>small{color:#a29b8b;margin-top:4px;font-size:9px;font-weight:400;display:block}.tw-static-amount{font-variant-numeric:tabular-nums;white-space:nowrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.tw-static-amount b{color:#9a907a;font-size:9px;font-weight:500}.tw-equivalent{text-align:left;font-variant-numeric:tabular-nums;color:#8d8b7e}.tw-net-gram{color:#55594d;font-variant-numeric:tabular-nums;font-weight:600}.tw-net-gram small{color:#a49d8b;margin-top:3px;font-size:8px;font-weight:500;display:block}.tw-equivalent small{color:#b8b19f;margin-top:3px;font-size:8px;display:block}.tw-table select{color:#7b715a;background:#fffdf7;border:1px solid #e9e4d7;border-radius:5px;width:100%;height:31px;padding:0 4px;font-size:10px;font-weight:600}.tw-table .tw-amount{border-radius:5px;height:32px}.tw-table .tw-amount>input{padding:5px;font-size:11px;font-weight:600}.tw-table .tw-amount>span{min-width:22px;padding:0 5px;font-size:9px}.tw-direction-1 .tw-settlement-cell .tw-amount{background:#fcf0ec;border-color:#efd5cc}.tw-direction-1 .tw-settlement-cell input{color:#af5d4d}.tw-direction-1 .tw-settlement-cell .tw-amount>span{color:#b37c65;background:#f8e5df;border-color:#efd5cc}.tw-direction--1 .tw-settlement-cell .tw-amount{background:#edf6ee;border-color:#d6e7d5}.tw-direction--1 .tw-settlement-cell input{color:#458465}.tw-direction--1 .tw-settlement-cell .tw-amount>span{color:#6b9271;background:#e4f0e4;border-color:#d6e7d5}.tw-link-arrow{color:#b5aa8c;text-align:center}.tw-link-arrow svg{vertical-align:middle}.tw-table td.tw-linked-cell{background:#f8faf6;border-bottom-color:#e8eee3}.tw-table tbody tr.is-selected td.tw-linked-cell{background:#f0f6e8}.tw-linked-cell strong{color:#5d6c54;margin-top:5px;font-size:10px;font-weight:550;display:block}.tw-record-label{text-transform:uppercase;letter-spacing:.25px;color:#749477;font-size:8px;font-weight:650}.tw-record-label.debt{color:#b29557}.tw-unlinked{color:#d8d5c7}.tw-note-cell{color:#9ba38f;font-size:9px;line-height:1.6}.tw-remove{color:#c4bfae;background:0 0;border:0;place-items:center;padding:2px;display:grid}.tw-remove:hover{color:#ba6d5c}.tw-manual-note{text-align:right;color:#b19560;margin-top:3px;font-size:8px;display:block}.tw-empty{text-align:center;flex-direction:column;align-items:center;padding:42px 20px 48px;display:flex}.tw-empty>span{color:#c0a867;background:#faf7ec;border:1px solid #ece5d2;border-radius:14px;place-items:center;width:58px;height:58px;display:grid}.tw-empty h3{color:#73715f;margin:16px 0 4px;font-size:14px;font-weight:550}.tw-empty p{color:#a8a290;margin:0;font-size:11px;line-height:1.8}.tw-empty button{color:#a28641;background:0 0;border:0;align-items:center;gap:7px;margin-top:17px;font-size:11px;display:flex}.tw-balance-panel{background:#fcfbf6;border-top:1px solid #eee9dc;justify-content:space-between;align-items:center;gap:20px;padding:19px 20px;display:flex}.tw-balance-heading{align-items:center;gap:12px;display:flex}.tw-balance-heading h3{color:#756c55;margin:0 0 5px;font-size:12px;font-weight:650}.tw-balance-heading p{color:#aaa38e;margin:0;font-size:10px}.tw-balance-icon{color:#b49650;background:#f3eddd;border-radius:10px;place-items:center;width:39px;height:39px;display:grid}.tw-balance-icon.balanced{color:#6d986e;background:#eaf2e4}.tw-balance-chips{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.tw-balance-chips button{text-align:left;background:#fff;border:1px solid #e6e5d8;border-radius:8px;min-width:102px;padding:9px 13px}.tw-balance-chips button>span{color:#a59c84;justify-content:space-between;gap:12px;font-size:9px;font-weight:650;display:flex}.tw-balance-chips strong{font-variant-numeric:tabular-nums;color:#5d6652;margin:5px 0 4px;font-size:15px;font-weight:600;display:block}.tw-balance-chips strong small{color:#9ba187;font-size:10px;font-weight:500}.tw-balance-chips em{color:#9ba18c;font-size:8px;font-style:normal}.tw-balance-chips .is-zero{background:#fcfef9;border-color:#dde6d6}.tw-balance-chips .is-zero>span{color:#94a77f}.tw-balance-chips .is-receivable{border-color:#edd8cc}.tw-balance-chips .is-receivable strong{color:#b07552}.tw-balance-chips .is-payable{border-color:#d1e1dd}.tw-completion{border-top:1px solid #eeeade;justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;display:flex}.tw-completion>span{color:#a59c87;align-items:center;gap:7px;font-size:10px;display:flex}.tw-completion>div{gap:8px;display:flex}.tw-preview-footnote{color:#aaa18d;justify-content:center;align-items:center;gap:6px;font-size:10px;display:flex}.tw-alert{color:#9b7843;background:#fff5eb;border:1px solid #efd7b9;border-radius:8px;align-items:center;gap:8px;padding:12px 15px;font-size:12px;display:flex}.tw-alert>button{color:inherit;background:0 0;border:0;margin-left:auto}.tw-popover{z-index:50;background:#fff;border:1px solid #e3d8bd;border-radius:9px;max-height:290px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 12px 30px #3c352a1f}.tw-popover>button{text-align:left;color:#68634f;background:#fff;border:0;border-radius:5px;align-items:center;gap:9px;width:100%;padding:10px;font-size:12px;display:flex}.tw-popover>button:hover{background:#faf5e5}.tw-popover>button>span{flex:1}.tw-popover>button>.tw-product-result{min-width:0}.tw-product-stock{color:#176c43;background:#f1fbf2;border:1px solid #b9d9bd;border-radius:8px;place-items:center;min-width:48px;padding:4px 6px;line-height:1.05;display:grid;flex:none!important}.tw-popover .tw-product-stock small{color:#397550;letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:7px;font-weight:800}.tw-product-stock strong{margin:1px 0;font-size:18px;line-height:1}.tw-product-stock.is-empty{color:#65645f;background:#f1f1ef;border-color:#d1d0ca}.tw-popover .tw-product-stock.is-empty small{color:#777670}.tw-product-stock.is-negative{color:#a63527;background:#fff0ed;border-color:#e2aaa2}.tw-popover .tw-product-stock.is-negative small{color:#a94b3f}.tw-popover small{color:#aba08c;margin-top:3px;font-size:10px;display:block}.tw-popover p{color:#918674;padding:10px;font-size:11px}.transaction-detail-lines-table .tw-description-cell{color:#655d4d;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.4}.transaction-detail-lines-table .tw-description-cell>span,.transaction-detail-lines-table .tw-optional-note{display:block}.transaction-detail-lines-table .tw-optional-note{color:#4d7759;margin-top:5px;font-weight:650}.tw-popover-title{color:#9b8c6e;justify-content:space-between;align-items:center;padding:7px;font-size:10px;display:flex}.tw-popover-title button{color:inherit;background:0 0;border:0}.tw-modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#25271c66;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.tw-modal{background:#fff;border-radius:18px;width:min(440px,100%);padding:32px;position:relative;box-shadow:0 20px 80px #181b1e25}.tw-modal h2{margin:18px 0 8px;font-size:23px}.tw-modal p{color:#8f8c7e;font-size:12px;line-height:1.7}.tw-modal-close{color:#a59f8c;background:0 0;border:0;position:absolute;top:16px;right:16px}.tw-modal-icon{color:#7d9c60;background:#edf4e6;border:1px solid #dbe7cf;border-radius:17px;place-items:center;width:62px;height:62px;display:grid}.tw-modal-summary{margin:22px 0}.tw-modal-summary>div{color:#918b78;border-bottom:1px solid #eeece1;justify-content:space-between;align-items:center;padding:11px 0;font-size:12px;display:flex}.tw-modal-summary strong{color:#72865d;align-items:center;gap:8px;display:flex}.tw-modal>.primary-button{width:100%;margin-top:12px}@keyframes tw-spin{to{transform:rotate(360deg)}}.tw-spin{animation:1.5s linear infinite tw-spin}@media (width<=1200px){.tw-workspace{padding:18px}.tw-category-note{display:none}.tw-action-bar{gap:10px}.tw-balance-panel,.tw-completion{flex-wrap:wrap}.tw-completion>div{margin-left:auto}}@media (width<=760px){.tw-workspace{gap:12px;padding:12px}.tw-heading{flex-direction:column;align-items:flex-start;gap:12px}.tw-heading h1{font-size:23px}.tw-account-bar{overflow-x:auto}.tw-account-field{min-width:230px}.tw-date{flex:0 0 175px}.tw-heading-actions{width:100%}.tw-heading-actions button{flex:1}.tw-category-bar{gap:6px;padding:12px}.tw-category-bar button{padding:0 12px}.tw-category-bar svg{width:14px}.tw-action-bar,.tw-entry-form{padding-left:12px;padding-right:12px}.tw-list-title{flex-direction:column;align-items:flex-start}.tw-list-title p{line-height:1.6}.tw-balance-chips{justify-content:flex-start}.tw-completion>div{flex-wrap:wrap;width:100%}.tw-completion>div button{flex:1}.tw-rate-strip{flex-wrap:wrap}.tw-rate-strip>span:last-child{margin-left:19px}.tw-preview-footnote{align-items:flex-start;line-height:1.7}.tw-note-actions{min-width:100%}.tw-preview{font-size:8px}}@media (prefers-reduced-motion:reduce){.tw-spin{animation:none}.tw-workspace *{transition:none}}.tw-field-heading{color:#635f52;align-items:center;gap:5px;display:inline-flex}.tw-field-help{color:#94866a;cursor:help;outline-offset:3px;display:inline-flex;position:relative}.tw-field-help>[role=tooltip]{z-index:100;color:#544e3e;text-transform:none;letter-spacing:normal;white-space:normal;background:#fffdf4;border:1px solid #ded6bf;border-radius:7px;width:240px;padding:10px 12px;font-size:11px;font-weight:400;line-height:1.6;display:none;position:absolute;bottom:calc(100% + 8px);left:-12px;box-shadow:0 7px 22px #3028181f}.tw-field-help:hover>[role=tooltip],.tw-field-help:focus>[role=tooltip]{display:block}.tw-workspace .tw-table td{color:#494b40;height:43px;padding:6px 8px}.tw-workspace .tw-action-label{color:#57503c;font-weight:650}.tw-workspace .tw-action-label.debt{color:#8b6426}.tw-workspace .tw-action-label.custody{color:#456b50}.tw-workspace .tw-item-name{color:#343a2e;font-weight:600}.tw-workspace .tw-equivalent{color:#676858}.tw-workspace .tw-equivalent small,.tw-workspace .tw-static-amount b{color:#79725d}.tw-workspace .tw-note-cell{color:#616d55;font-size:10px;line-height:1.4}.tw-workspace .tw-linked-cell strong{color:#43583a}.tw-workspace .tw-record-label{color:#4d7853}.tw-workspace .tw-record-label.debt{color:#927133}.tw-workspace .tw-neutral-label{display:none}.tw-workspace .tw-no-settlement{color:#989486;text-align:center;display:block}.tw-balance-chips .tw-balance-chip{text-align:left;background:#fff;border:1px solid #e6e0d0;border-radius:8px;min-width:124px;padding:10px 12px}.tw-balance-chip>span{color:#756b50;justify-content:space-between;font-size:10px;font-weight:650;display:flex}.tw-balance-actions{border-top:1px solid #e9e5d8;gap:5px;margin-top:9px;padding-top:8px;display:flex}.tw-balance-chips .tw-balance-actions button{color:#866923;background:#fffcf3;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:43px;padding:5px 6px;display:flex}.tw-balance-chips .tw-balance-actions button span{color:#6f6345;white-space:nowrap;font-size:8px}.tw-balance-chips .tw-balance-actions button:hover:not(:disabled){background:#f7e9bd;border-color:#d6b76b}.tw-entry-form .tw-same-product{flex:0 135px}.tw-entry-form .tw-same-product input[type=checkbox]{accent-color:#b48622;width:18px;height:18px;margin:15px 0 5px;display:block}.tw-completion-banner{color:#745518;background:linear-gradient(115deg,#fff7d6,#fffdf5);border:1px solid #e7c86c;border-radius:14px;align-items:flex-start;gap:14px;margin-bottom:16px;padding:18px 22px;display:flex}.tw-completion-banner p{margin:5px 0 0;font-size:12px;line-height:1.6}.tw-workspace .tw-table .tw-temporary-slot td,.tw-workspace tr.tw-temporary-slot td{background:#fff8df;border-color:#eddaa0}.tw-temporary-slot td:first-child{border-left:3px solid #d7a62a}.tw-completion-table{min-width:1360px}.tw-completion-product{gap:8px;min-width:0;padding:9px 0;display:grid}.tw-completion-product .tw-product-search{width:100%}.tw-completion-product .tw-popover-in-table{min-width:0;max-height:270px;margin-top:6px;position:static}.tw-completion-product small{color:#967329}.tw-locked-row{color:#77796f}.tw-locked-row input:read-only,.tw-locked-row select:disabled{color:inherit;opacity:1;background:0 0}.tw-pending-badge{color:#8a621d;background:#fff4ce;border:1px solid #ebd599;border-radius:7px;margin-top:4px;padding:4px 8px;font-size:11px;line-height:1.4;display:inline-flex}.page-content.customers-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.customers-page .customer-edit-button{min-height:39px;padding:0 14px}.customers-page .wcc-profile-details{margin-bottom:22px}.customers-page .wcc-profile-details th{color:#4b3710;background:#fff2c7;width:34%;font-weight:800}.customers-page .wcc-profile-details th,.customers-page .wcc-profile-details td{overflow-wrap:anywhere;white-space:normal;border-bottom:1px solid #cba75038;padding:10px 12px}.customers-page .wcc-profile-details td{background:#fffdf8}@media (width<=760px){.page-content.customers-page{padding:16px}}.collection-alert-button{gap:9px}.collection-alert-button.is-due{color:#9c392c;background:#fff0ea;border-color:#eab5a4;box-shadow:0 2px 12px #9c392c12}.collection-alert-button.is-upcoming{color:#845c10;background:#fff7de;border-color:#edd38a;box-shadow:0 2px 12px #ab7d1512}.collection-alert-count{background:#0000000c;border-radius:50px;place-items:center;min-width:23px;height:23px;padding:0 5px;font-size:12px;font-weight:700;display:inline-grid}.collection-dialog{width:min(760px,100vw - 32px);max-height:85vh;color:var(--text-primary,#34362d);background:var(--panel-bg,#fff);border:1px solid #e4dfd0;border-radius:18px;padding:0;box-shadow:0 22px 80px #0003}.collection-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#252b265e}.collection-dialog header,.collection-dialog footer{justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.collection-dialog header{border-bottom:1px solid #ebe7dc}.collection-heading{align-items:center;gap:13px;display:flex}.collection-heading>svg{color:#a8802f;flex-shrink:0}.collection-dialog h2{margin:0;font-size:19px}.collection-dialog p{color:#6f746a;margin:6px 0 0;font-size:12px}.collection-body{max-height:58vh;padding:8px 24px 20px;overflow:auto}.collection-dialog footer{background:#faf9f5;border-top:1px solid #ebe7dc}.collection-dialog footer small{color:#737769;font-size:11px}.collection-group h3{color:#866520;margin:20px 0 10px;font-size:12px}.collection-group.overdue h3,.collection-group.due h3{color:#a24735}.collection-group h3 span{margin-left:6px;font-weight:400}.collection-row{background:#fffcf2;border:1px solid #eee3c0;border-radius:10px;grid-template-columns:112px minmax(0,1fr) auto auto;align-items:center;gap:16px;margin-top:7px;padding:13px 14px;display:grid}.overdue .collection-row,.due .collection-row{background:#fff7f2;border-color:#efdbcf}.collection-row strong{font-size:13px;font-weight:600}.collection-row small{color:#76776d;margin-top:4px;font-size:11px;display:block}.collection-amount{text-align:right;white-space:nowrap}.collection-settlement-button{white-space:nowrap;min-height:34px;padding:0 11px}.collection-customer{overflow-wrap:anywhere;min-width:0}.collection-empty{text-align:center;color:#5c7860;flex-direction:column;align-items:center;gap:12px;padding:38px 16px;display:flex}.dashboard-operations-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.dashboard-operations-heading h2{margin:0;font-size:17px}@media (width<=600px){.collection-dialog header,.collection-dialog footer{padding:16px}.collection-body{padding:4px 12px 16px}.collection-row{grid-template-columns:1fr auto;gap:9px}.collection-date{grid-column:1/-1}.collection-date small{margin-left:8px;display:inline}.collection-settlement-button{grid-column:1/-1}}.collection-kind{color:#3e7057;background:#e8f2e8;border-radius:5px;margin-left:8px;padding:3px 6px;font-size:10px;display:inline-block}.collection-kind.custody{color:#92642a;background:#f8e9d6}.collection-kind.supplier{color:#4b6093;background:#edf1fa}.page-content.dashboard-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.dashboard-page .dashboard-hero{box-shadow:none;background:0 0;border:0;align-items:center;padding:0}.dashboard-header-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.dashboard-page .panel-section{border-radius:14px}.dashboard-page .dashboard-quick-action{justify-content:center;text-decoration:none}.dashboard-product-view-tabs{flex-wrap:wrap;align-items:center;gap:10px 24px;display:flex}.dashboard-product-sales-value{text-align:right}.dashboard-product-sales-value small{color:var(--muted);margin-top:3px;font-size:11px;display:block}@media (width<=760px){.page-content.dashboard-page{padding:16px}.dashboard-page .dashboard-hero{align-items:flex-start}.dashboard-header-actions{width:100%}}.page-content.expenses-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.expenses-page .panel-section{border-color:#e8e1d1;border-radius:14px}.expenses-page .expense-row{background:#fffdf8;border-color:#e8e1d1;border-radius:12px}.expenses-page .expense-filter-bar{border-radius:10px}.expenses-page .ledger-summary-card{border-radius:12px}@media (width<=760px){.page-content.expenses-page{padding:16px}}.page-content.products-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.products-page .panel-section{border-radius:14px}.products-page .product-delete-button{color:var(--danger);border-color:#b423184d}.products-page .product-delete-button:hover{background:#fff1eb;border-color:#b42318}.products-page .modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#302e265e}.products-page .modal-panel{color:#394234;background:#fffdf8;border:1px solid #e5dece;border-radius:17px;max-height:90vh;box-shadow:0 25px 80px #24231c3a}.products-page .product-movements-modal{width:min(1050px,95vw)}.products-page .modal-title{background:#fffdf8;border-bottom:1px solid #e8e1d1;align-items:center;padding:20px 24px}.products-page .modal-title h2{color:#394234;font-size:18px}.products-page .modal-title p{color:#8b826e;font-size:12px}.products-page .modal-title .icon-button{color:#394234;background:#fff;border:1px solid #e4e0d5;border-radius:8px;width:39px;height:39px}.products-page .modal-actions{background:#fff;border-top:1px solid #e8e1d1;gap:8px;padding:18px 24px}.products-page .product-movements-modal th{color:#4b3710;background:#fff2c7}.products-page .product-movements-modal td{border-color:#eee9dc}@media (width<=760px){.page-content.products-page,.products-page .modal-title,.products-page .modal-actions{padding:16px}}.product-stock-unit{border:1px solid #e6decf;border-radius:10px;gap:20px;padding:10px 14px;display:flex}.product-stock-unit label,.product-barcode-choice{align-items:center;gap:8px;display:flex}.product-stock-unit input,.product-barcode-choice input{accent-color:#c59b37;width:auto}.products-page [data-product-detail]{cursor:pointer;transition:border-color .18s,box-shadow .18s}.products-page [data-product-detail]:hover{border-color:#c6a45c;box-shadow:0 4px 18px #a8822914}.products-page .product-title-button{text-align:left;font:inherit;color:#343b31;cursor:pointer;background:0 0;border:0;padding:0;font-weight:750}.products-page .product-title-button:hover{color:#927127}.products-page .product-title-button:focus-visible{outline-offset:4px;border-radius:3px;outline:2px solid #b68c3d}.pd-dialog{color:#394234;background:#fffdf8;border:1px solid #e5dece;border-radius:22px;width:min(860px,100vw - 32px);max-height:min(92vh,980px);padding:0;overflow:hidden;box-shadow:0 28px 90px #24231c40}.pd-dialog[open]{flex-direction:column;display:flex}.pd-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#302e265e}.pd-header{background:linear-gradient(120deg,#fcf3da,#fffdf8 78%);border-bottom:1px solid #ebe2cf;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 28px;display:flex}.pd-heading{align-items:center;gap:16px;min-width:0;display:flex}.pd-emblem{color:#ad8737;background:#fffcf4;border:1px solid #e8d7b0;border-radius:18px;flex:none;place-items:center;width:58px;height:58px;display:grid}.pd-eyebrow{color:#a18549;letter-spacing:.18em;font-size:9px;font-weight:750}.pd-header h2{letter-spacing:-.025em;overflow-wrap:anywhere;margin:4px 0 10px;font-size:23px;font-weight:750;line-height:1.25}.pd-tags{flex-wrap:wrap;gap:6px;display:flex}.pd-tags>span{color:#8c7a51;background:#fffdf8;border:1px solid #e8dfc9;border-radius:6px;padding:4px 8px;font-size:10px;line-height:1}.pd-tags .pd-active{color:#2d7955;background:#eff8f2;border-color:#c8e2d3}.pd-tags .pd-inactive{color:#88857d;background:#f2f1ed;border-color:#dedcd5}.pd-close{color:#777a70;cursor:pointer;background:#ffffffa8;border:1px solid #e6dfd1;border-radius:9px;flex:none;place-items:center;width:35px;height:35px;display:grid}.pd-close:hover{color:#343b31;background:#fff}.pd-close:focus-visible,.pd-copy:focus-visible{outline-offset:3px;outline:2px solid #b99347}.pd-body{overscroll-behavior:contain;min-height:0;padding:24px 28px;overflow-y:auto}.pd-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.pd-stat{background:linear-gradient(135deg,#fff9eb,#fffdf8);border:1px solid #e9e1d0;border-radius:13px;flex-direction:column;gap:8px;padding:17px 18px;display:flex}.pd-stat>span{color:#8f805e;font-size:11px}.pd-stat strong{color:#8c6b29;font-size:23px;font-weight:750;line-height:1.15}.pd-stat small{color:#a0957f;font-size:10px}.pd-stock{background:linear-gradient(135deg,#eef9f1,#fbfefb);border-color:#cfe4d5}.pd-stock strong,.pd-stock>span{color:#307854}.pd-stock.empty{background:#f6f5f1;border-color:#e2dfd6}.pd-stock.empty strong,.pd-stock.empty>span{color:#858478}.pd-stock.negative{background:#fff2ed;border-color:#efd1c8}.pd-stock.negative strong,.pd-stock.negative>span{color:#b65741}.pd-stock strong.pd-pending{padding:4px 0;font-size:15px}.pd-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.pd-section{border:1px solid #e8e3d7;border-radius:13px;overflow:hidden}.pd-section h3{background:#f8f6ee;border-bottom:1px solid #eae5d8;align-items:center;gap:9px;margin:0;padding:14px 16px;font-size:12px;font-weight:700;display:flex}.pd-section h3 svg{color:#a5894d}.pd-section dl{margin:0;padding:0 16px}.pd-info-row{border-bottom:1px solid #f0ece2;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:16px;min-height:44px;padding:10px 0;font-size:12px;display:grid}.pd-info-row:last-child{border-bottom:0}.pd-info-row dt{color:#96907e;line-height:1.4}.pd-info-row dd{text-align:right;color:#40473b;overflow-wrap:anywhere;margin:0;font-weight:550;line-height:1.5}.pd-code{align-items:center;gap:7px;max-width:100%;font-size:11px;display:inline-flex}.pd-code>span{overflow-wrap:anywhere;min-width:0}.pd-copy{color:#9c834d;cursor:pointer;background:#fffdf6;border:1px solid #e9e3d5;border-radius:6px;flex:none;place-items:center;width:25px;height:25px;display:grid}.pd-copy:hover{background:#fff0c9}.pd-description{background:#fdfcf8;border:1px solid #e8e3d7;border-radius:13px;margin-top:18px;padding:15px 17px}.pd-description h3{color:#8c7a51;margin:0 0 8px;font-size:11px;font-weight:650}.pd-description p{color:#65695f;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.7}.pd-note{color:#9d7540;font-size:12px}.pd-footer{background:#fff;border-top:1px solid #e8e1d1;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:17px 28px;display:flex}.pd-footer>div{flex-wrap:wrap;gap:8px;display:flex}.pd-footer button{font-size:12px}.pd-sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=640px){.pd-header{padding:20px}.pd-header h2{font-size:20px}.pd-emblem{border-radius:13px;width:45px;height:45px}.pd-body{padding:18px}.pd-grid{grid-template-columns:1fr}.pd-stats{gap:7px}.pd-stat{padding:12px 10px}.pd-stat strong{font-size:18px}.pd-stock strong.pd-pending{font-size:12px}.pd-footer{flex-wrap:wrap;padding:14px 18px}}.products-page .product-card-summary{flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:8px;max-width:440px;display:flex}.products-page .product-card-summary .product-card-stock{align-content:center;align-self:stretch}.product-price-box{background:linear-gradient(145deg,#fffaf0,#f3ecdc);border:1px solid #dfd5bf;border-radius:10px;flex-direction:column;justify-content:center;gap:5px;min-width:115px;padding:10px 12px;display:flex}.products-page .product-price-box>span{color:#8b7651;margin:0;font-size:9px;font-weight:650}.products-page .product-price-box>strong{color:#806132;font-size:15px;line-height:1.3}.products-page .product-price-box strong small{font-size:9px;font-weight:500}.product-price-box>b{color:#8b7651;font-variant-numeric:tabular-nums;font-size:12px;font-weight:550}.product-price-box.sale{background:linear-gradient(145deg,#f5f8fc,#eaf0f7);border-color:#ccd8e6}.products-page .product-price-box.sale>span,.products-page .product-price-box.sale>strong,.product-price-box.sale>b{color:#496986}.products-page .product-movement-quantity small{color:#8b826f;margin-top:5px;font-size:11px;font-weight:500;display:block}.pd-price-note{color:#938874;margin:16px 0 0;font-size:10px;line-height:1.5}@media (width<=1000px){.products-page .product-card-summary{grid-column:2/-1;justify-content:flex-start;max-width:none}}@media (width<=560px){.products-page .product-card-summary{grid-column:1/-1}.product-price-box{flex:1;min-width:100px}}.products-page .products-stock-panel{container:product-stock/inline-size}.products-page .product-inventory-card{color:#394034;background:#fff;border:1px solid #e8e2d5;border-radius:14px;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px 18px;min-width:0;max-width:100%;padding:12px 16px 10px;display:grid}.products-page .product-inventory-card.empty,.products-page .product-inventory-card.inactive:not(.negative){background:linear-gradient(120deg,#f3f2ef,#fafaf8);border-color:#dedbd4}.products-page .product-inventory-card.negative{background:linear-gradient(120deg,#fff1ed,#fffaf8);border-color:#e9c5bb}.inventory-identity{align-items:center;gap:12px;min-width:0;display:flex}.inventory-emblem{color:#997021;background:#fff0ce;border-radius:12px;flex:none;place-items:center;width:39px;height:39px;display:grid}.empty .inventory-emblem,.inactive .inventory-emblem{color:#8c877a;background:#e9e7e1}.negative .inventory-emblem{color:#b65d46;background:#fce0d7}.inventory-heading{min-width:0}.inventory-name{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;line-height:1.4;display:flex}.inventory-passive{color:#817c70;background:#e8e6df;border-radius:5px;padding:2px 6px;font-size:9px}.inventory-metadata{color:#938770;overflow-wrap:anywhere;flex-wrap:wrap;gap:3px 7px;margin-top:4px;font-size:10px;line-height:1.5;display:flex}.inventory-metadata>span{min-width:0;max-width:100%}.inventory-metadata>span+span:before{content:"·";color:#c2b8a4;margin-right:7px}.inventory-code{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.inventory-stock-line{flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px;display:flex}.inventory-tracking{color:#9b917c;font-size:9px}.inventory-stock{overflow-wrap:anywhere;color:#48704a;background:#f1f8ef;border:1px solid #d8e6d7;border-radius:6px;align-items:center;gap:5px;max-width:100%;padding:3px 7px;font-size:10px;font-weight:650;display:inline-flex}.inventory-stock.empty{color:#827f75;background:#ebe9e3;border-color:#dcd8cf}.inventory-stock.negative{color:#b35840;background:#ffebe4;border-color:#eac6b8}.inventory-stock-dot{background:currentColor;border-radius:50%;flex:none;width:4px;height:4px}.inventory-metrics{grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:12px;min-width:0;margin:0;display:grid}.inventory-metrics.has-sale{grid-template-columns:minmax(0,.75fr) minmax(0,.85fr) minmax(0,1.2fr) minmax(0,1.25fr)}.inventory-metrics>div{min-width:0}.inventory-metrics dt{color:#8e8573;margin-bottom:5px;font-size:10px;line-height:1.4}.inventory-metrics dd{color:#383d33;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:700;line-height:1.4}.inventory-metrics dd small{color:#9c9485;font-size:10px;font-weight:450}.inventory-metrics .inventory-cost dt,.inventory-metrics .inventory-cost dd{color:#9b732b}.inventory-metrics .inventory-sale{background:linear-gradient(120deg,#fff4d5,#fff9e9);border:1px solid #ecdbaf;border-radius:9px;min-width:0;max-width:100%;padding:8px 10px}.inventory-metrics .inventory-sale dt,.inventory-metrics .inventory-sale dd{color:#906c25}.inventory-sale-has{margin-top:3px;font-size:9px;font-weight:500;display:block}.inventory-detail-button{color:#8f6d2b;height:30px;font:inherit;cursor:pointer;background:#fffbf1;border:1px solid #d9c8a3;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:10px;font-weight:650;display:inline-flex}.inventory-detail-button:hover{background:#fff0ce;border-color:#bc9650}.inventory-detail-button:focus-visible{outline-offset:3px;outline:2px solid #b68c3d}.inventory-actions{border-top:1px solid #eee9dd;flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:6px;min-width:0;padding-top:8px;display:flex}.inventory-actions .secondary-button{color:#7b7466;background:#ffffffb3;border:1px solid #e2ddcf;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:30px;min-height:30px;padding:0 9px;font-size:10px;font-weight:550;display:inline-flex}.inventory-actions .secondary-button svg{width:14px;height:14px}.inventory-actions .secondary-button:hover{color:#8b6b2c;background:#fff8e7;border-color:#cdb582}.inventory-actions .product-delete-button{color:#b75a46;background:#fff5f1;border-color:#ecc9be}.inventory-actions .product-delete-button:hover{color:#9d3d29;background:#ffebe3;border-color:#d59885}@container product-stock (width>=720px){.products-page .product-inventory-card{grid-template-columns:minmax(0,.9fr) minmax(0,2fr)}}@container product-stock (width<=559px){.products-page .product-inventory-card{gap:12px;padding:12px}.inventory-actions{justify-content:flex-start}.inventory-metrics{gap:8px}.inventory-metrics dd{font-size:14px}.products-page .product-stock-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.products-page .product-search-row,.products-page .product-filter-toolbar{grid-template-columns:minmax(0,1fr)}.products-page .product-segmented-filter{flex-wrap:wrap}.products-page .product-segmented-filter button{overflow-wrap:anywhere;min-width:0;padding:8px}}@container product-stock (width<=419px){.inventory-metrics,.inventory-metrics.has-sale{grid-template-columns:repeat(2,minmax(0,1fr))}}@container product-stock (width<=319px){.inventory-metrics,.inventory-metrics.has-sale{grid-template-columns:minmax(0,1fr)}.inventory-metrics>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.inventory-metrics dt,.inventory-metrics dd{min-width:0}.inventory-metrics dd{text-align:right}.products-page .product-stock-summary{grid-template-columns:minmax(0,1fr)}}.ledger-single{--defter-debt:#087845;--defter-custody:#a53d0d;width:100%;max-width:1700px}.ledger-single .defter-summary{grid-template-columns:1fr 1fr;gap:14px;display:grid}.ledger-single .defter-total{color:var(--defter-debt);background:linear-gradient(110deg,#e7f5ea,#fafff8);border:1px solid #b6d8c1;border-radius:12px;grid-template-columns:minmax(170px,.9fr) minmax(0,1fr);gap:18px;padding:18px;display:grid}.ledger-single .defter-total.custody{color:var(--defter-custody);background:linear-gradient(110deg,#f8eadf,#fffbf5);border-color:#e2c6b0}.ledger-single .defter-total-main{align-content:center;gap:9px;display:grid}.ledger-single .defter-total-main>span{align-items:center;gap:8px;font-weight:700;display:flex}.ledger-single .defter-total-main>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:26px}.ledger-single .defter-total-main small{color:var(--muted)}.ledger-single .defter-total-parts{border-left:1px solid #d9dfd5;flex-wrap:wrap;align-content:center;gap:7px;max-height:142px;padding-left:16px;display:flex;overflow-y:auto}.ledger-single .defter-total-parts>span{background:#ffffffc9;border:1px solid #dde7db;border-radius:20px;align-items:center;gap:8px;padding:5px 9px;font-size:12px;font-weight:700;display:flex}.ledger-single .defter-total-parts b{background:#edf1e9;border-radius:10px;padding:2px 5px;font-size:10px}.ledger-single .debt{color:var(--defter-debt)}.ledger-single .custody{color:var(--defter-custody)}.ledger-single .positive{color:#275cdc}.ledger-single .negative{color:#bd241b}.ledger-single .defter-layout{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px;margin-top:16px;display:grid}.ledger-single .defter-detail{gap:16px;min-width:0;display:grid}.ledger-single .panel-section{background:#fffdf9;padding:16px}.ledger-single .defter-account-filters{grid-template-columns:1fr 1fr;gap:6px;margin:10px 0;display:grid}.ledger-single .defter-account-filters select{border:1px solid var(--border);background:#fff;border-radius:6px;width:100%;min-width:0;padding:8px 5px;font-size:12px}.ledger-single .defter-customer{text-align:left;color:var(--text);border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:12px;display:grid}.ledger-single .defter-customer.active,.ledger-single .defter-customer:hover{border-color:var(--border-strong);background:#fff5d7}.ledger-single .defter-customer-name{overflow-wrap:anywhere;grid-area:1/1;align-items:center;gap:6px;min-width:0;display:flex}.ledger-single .defter-customer-name svg{flex-shrink:0}.ledger-single .defter-customer>small{color:var(--muted);overflow-wrap:anywhere}.ledger-single .defter-customer-balances{border-top:1px solid #eee5d1;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;padding-top:8px;display:grid}.ledger-single .defter-customer-balances span{gap:4px;font-size:11px;display:grid}.ledger-single .defter-customer-balances b{font-size:13px}.ledger-single .defter-statuses{color:var(--muted);grid-area:1/2/span 2;align-content:start;gap:4px;font-size:10px;display:grid}.ledger-single .defter-statuses>span{align-items:center;gap:3px;display:inline-flex}.ledger-single .defter-statuses .open{color:var(--success)}.ledger-single .defter-customer-net{border-top:1px solid var(--border);flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;gap:5px;padding-top:6px;font-size:12px;display:flex}.ledger-single .defter-customer-net small{color:var(--muted);font-size:10px}.ledger-single .defter-distribution th:nth-child(n+2),.ledger-single .defter-distribution td:nth-child(n+2){text-align:right}.ledger-single .defter-distribution tfoot td{border-top:1px solid var(--border-strong);background:var(--surface-soft);font-weight:600}.ledger-single .defter-distribution tfoot th{border-top:1px solid var(--border-strong);background:var(--surface-soft)}.ledger-single .defter-instrument{align-items:center;gap:8px;display:inline-flex}.ledger-single .defter-instrument-icon{min-width:22px;color:var(--accent-strong);justify-content:center;align-items:center;font-size:13px;display:inline-flex}.ledger-single .defter-history td small{color:var(--muted);max-width:260px;margin-top:3px;font-size:11px;display:block}.ledger-single .defter-has-info{color:var(--muted);vertical-align:middle;cursor:default;margin-left:4px;display:inline-flex;position:relative}.ledger-single .defter-has-info>span{background:var(--surface);width:190px;color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow-soft);text-align:left;white-space:normal;z-index:5;border-radius:6px;padding:8px 10px;font-size:11px;font-weight:400;display:none;position:absolute;top:18px;right:0}.ledger-single .defter-has-info:hover>span,.ledger-single .defter-has-info:focus>span{display:block}.ledger-single .defter-distribution-wrap{overflow:visible}.ledger-single .defter-distribution{table-layout:fixed;min-width:0}.ledger-single .defter-distribution th,.ledger-single .defter-distribution td{overflow-wrap:anywhere}.ledger-single .defter-distribution th:first-child{width:21%}.ledger-single .defter-distribution th:nth-child(2),.ledger-single .defter-distribution td:nth-child(2){color:var(--defter-debt)}.ledger-single .defter-distribution th:nth-child(3),.ledger-single .defter-distribution td:nth-child(3){color:var(--defter-custody)}.ledger-single .defter-cell-select{white-space:normal}.ledger-single .defter-transaction-link{color:var(--accent-strong);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.ledger-single .defter-transaction-link:hover{text-decoration:underline}.defter-detail-dialog{color:#394234;background:#fffdf8;border:1px solid #e5dece;border-radius:17px;width:min(1050px,94vw);max-height:88vh;padding:0;overflow:auto;box-shadow:0 25px 80px #24231c3a}.defter-detail-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#302e265e}.defter-detail-dialog .defter-detail-header{border-bottom:1px solid #e8e1d1;margin:0;padding:20px 24px}.defter-detail-header h2{margin:0;font-size:18px}.defter-detail-header p{color:var(--muted);margin:6px 0 0;font-size:12px}.defter-detail-header .secondary-button{background:#fff;border:1px solid #e4e0d5;border-radius:8px;min-height:39px;font-size:12px}.defter-detail-body{padding:20px 24px 24px}.defter-movement-detail+.defter-movement-detail{border-top:1px solid #e8e1d1;margin-top:24px;padding-top:24px}.defter-movement-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.defter-movement-summary>div{background:linear-gradient(135deg,#fffdf8,#fff4cf);border:1px solid #e8ddbc;border-radius:10px;gap:8px;padding:14px;display:grid}.defter-movement-summary span{color:#817557;font-size:11px}.defter-movement-summary strong{overflow-wrap:anywhere;font-size:15px}.defter-detail-fields th{width:32%}.defter-detail-fields td{overflow-wrap:anywhere}@media (width<=640px){.defter-movement-summary{grid-template-columns:1fr}.defter-detail-body,.defter-detail-dialog .defter-detail-header{padding:16px}}.defter-detail-dialog small{color:var(--muted);margin-top:4px;display:block}.defter-detail-dialog h3{margin:20px 0 10px;font-size:15px}.ledger-single .defter-cell-select{white-space:nowrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.ledger-single .defter-cell-select input{width:15px;height:15px;accent-color:var(--accent-strong)}.ledger-single .defter-actions{flex-wrap:wrap;gap:6px;padding-top:12px;display:flex}.ledger-single .defter-actions button{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:6px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:flex}.ledger-single .defter-actions button.active{background:var(--accent-soft);border-color:var(--border-strong)}.ledger-single .defter-actions button:disabled{opacity:.5;cursor:not-allowed}.ledger-single .defter-action-state{color:var(--muted);padding-top:9px;font-size:12px}.ledger-single .defter-movement-row{cursor:pointer}.ledger-single .defter-movement-row:hover,.ledger-single .defter-movement-row:focus-visible{outline-offset:-2px;background:#fff5d9;outline:2px solid #e5c871}.defter-detail-dialog{background:#fffdf8;border-radius:18px;flex-direction:column;width:min(700px,94vw);display:flex;overflow:hidden}.defter-detail-dialog .defter-detail-header{border-bottom:1px solid #eee9dd;justify-content:space-between;align-items:center;padding:22px 24px;display:flex}.defter-detail-scroll{flex:auto;min-height:0;overflow-y:auto}.defter-detail-heading{align-items:center;gap:12px;display:flex}.defter-detail-icon{color:#ac8737;background:#f6f0df;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.defter-detail-close{color:#777666;cursor:pointer;background:#fff;border:1px solid #e5dfd0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.defter-detail-meta{flex-wrap:wrap;justify-content:space-between;gap:14px;margin-bottom:20px;display:flex}.defter-detail-meta>div{gap:5px;display:grid}.defter-detail-meta span,.defter-balance-flow span{color:#827b68;font-size:11px}.defter-detail-meta strong{font-size:13px;font-weight:600}.defter-effect-card{background:#faf7ec;border:1px solid #e5dfd0;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px;display:flex}.defter-effect-card>div{gap:8px;display:grid}.defter-effect-card strong{font-variant-numeric:tabular-nums;font-size:21px}.defter-effect-label{font-size:12px}.defter-effect-badge{background:#ffffffc9;border:1px solid #dce1d4;border-radius:20px;padding:6px 10px;font-size:11px}.defter-effect-card.is-increase{color:#975624;background:#fff4e9;border-color:#eddcc7}.defter-effect-card.is-decrease{color:#327154;background:#eff8f1;border-color:#d8e8da}.defter-balance-flow{color:#958d72;background:#fff;border:1px solid #e9e5d9;border-radius:12px;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin:16px 0;padding:18px;display:grid}.defter-balance-flow>div{gap:8px;display:grid}.defter-balance-flow>div:last-child{text-align:right}.defter-balance-flow strong{color:#34392f;font-variant-numeric:tabular-nums;font-size:18px}.defter-detail-facts{grid-template-columns:1fr 1fr;gap:0 24px;margin:0;display:grid}.defter-detail-facts>div{border-bottom:1px solid #eee9dd;padding:13px 0}.defter-detail-facts dt{color:#827b68;margin-bottom:6px;font-size:11px}.defter-detail-facts dd{overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:500}.defter-detail-note{background:#f7f6f0;border-radius:10px;margin-top:18px;padding:14px 16px}.defter-detail-dialog .defter-detail-note h3{color:#827b68;margin:0 0 7px;font-size:11px;font-weight:500}.defter-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.defter-detail-footer{background:#fff;border-top:1px solid #eee9dd;justify-content:flex-end;padding:16px 24px;display:flex}.defter-detail-footer .secondary-button{background:#fff;border:1px solid #e4e0d5;border-radius:8px;min-height:39px;padding:0 18px;font-size:12px}.defter-value-pair{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.defter-value-pair section{background:#fff;border:1px solid #e9e5d9;border-radius:12px;min-width:0;padding:16px}.defter-detail-dialog .defter-value-pair h3{color:#8b7345;margin:0 0 14px;font-size:12px}.defter-value-pair dl{gap:12px;margin:0;display:grid}.defter-value-pair dt{color:#827b68;margin-bottom:5px;font-size:11px}.defter-value-pair dd{overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:600}@media (width<=480px){.defter-value-pair{grid-template-columns:1fr}}.ledger-single .defter-movement-filters{grid-template-columns:repeat(4,minmax(132px,178px))}@media (width<=1100px){.ledger-single .defter-movement-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.ledger-single .defter-movement-filters{grid-template-columns:1fr}}@media (width<=1150px){.ledger-single .defter-layout{grid-template-columns:250px minmax(0,1fr)}.ledger-single .defter-total{grid-template-columns:1fr}.ledger-single .defter-total-parts{border-left:0;padding-left:0}}@media (width<=800px){.ledger-single .defter-layout,.ledger-single .defter-summary{grid-template-columns:1fr}.ledger-single .defter-customers .ledger-account-list{max-height:340px;overflow-y:auto}}.ledger-single .defter-distribution-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;min-width:0;display:grid}.ledger-single .defter-side-distribution{min-width:0;color:var(--text)}.defter-side-distribution h2{align-items:center;gap:8px;display:flex}.defter-side-distribution.debt h2{color:var(--defter-debt)}.defter-side-distribution.custody h2{color:var(--defter-custody)}.ledger-single .defter-side-table{table-layout:fixed;width:100%;min-width:0}.ledger-single .defter-side-table th,.ledger-single .defter-side-table td{overflow-wrap:anywhere;padding:12px 9px;font-size:12px}.ledger-single .defter-side-table th:first-child{width:38%}.ledger-single .defter-side-table td:nth-child(2),.ledger-single .defter-side-table td:nth-child(3){font-variant-numeric:tabular-nums}.ledger-single .defter-side-table tfoot th,.ledger-single .defter-side-table tfoot td{background:#f8f5ea;border-top:1px solid #e8dfc8;font-weight:600}@media (width<=1250px){.ledger-single .defter-distribution-grid{grid-template-columns:1fr}}.defter-product-tools{flex-wrap:wrap;align-items:center;gap:5px;margin-top:6px;display:flex}.defter-product-tools button{color:#8b7445;cursor:pointer;background:#fffdf8;border:1px solid #e6dfcf;border-radius:7px;justify-content:center;align-items:center;width:27px;height:27px;padding:0;display:inline-flex}.defter-product-tools button:hover{background:#fff2c9}.defter-product-tools button:focus-visible{outline-offset:2px;outline:2px solid #b68d28}.defter-product-tools button:disabled{opacity:.4;cursor:default}.defter-copy-status{color:#766744;flex-basis:100%;font-size:11px}.defter-copy-status:empty{display:none}.defter-product-popover{color:#394234;text-align:left;background:#fffdf8;border:1px solid #e5dece;border-radius:14px;width:min(360px,100vw - 32px);max-height:80vh;margin:auto;padding:18px;position:fixed;inset:0;overflow:auto;box-shadow:0 18px 60px #24231c33}.defter-product-popover::backdrop{background:#302e2625}.defter-product-popover-heading{border-bottom:1px solid #eee7d8;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;font-size:14px;display:flex}.defter-product-facts{grid-template-columns:1fr 1fr;gap:15px;margin-top:15px;display:grid}.defter-product-facts>span{overflow-wrap:anywhere;gap:5px;display:grid}.defter-product-facts small{color:#827b68;font-size:11px}.defter-product-facts b{-webkit-user-select:text;user-select:text;font-size:12px;font-weight:500}.defter-product-description{white-space:pre-wrap;margin-top:15px;font-size:12px;display:block}.ledger-single .defter-product-line{align-items:center;gap:8px;display:flex}.ledger-single .defter-product-line>.defter-instrument{flex:1;min-width:0}.defter-product-line .defter-product-tools{flex-wrap:nowrap;flex:none;margin-top:0;position:relative}.defter-product-line .defter-copy-status:not(:empty){z-index:6;background:#fffdf8;border:1px solid #e6dfcf;border-radius:7px;width:180px;padding:8px 10px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 4px 12px #24231c20}.ledger-single .defter-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(300px,.65fr);grid-auto-rows:170px}.ledger-single .defter-summary>.defter-total{grid-template-columns:minmax(140px,.9fr) minmax(0,1fr);gap:12px;min-width:0;min-height:0;padding:14px}.ledger-single .defter-summary .defter-total-parts{min-height:0;max-height:100%}.defter-schedule-card{background:linear-gradient(110deg,#fff5d8,#fffdf8);border:1px solid #e4dac2;border-radius:12px;flex-direction:column;min-width:0;min-height:0;padding:12px;display:flex}.defter-schedule-card h2{color:#806327;align-items:center;gap:7px;margin:0 0 8px;font-size:13px;display:flex}.defter-schedule-scroll{scrollbar-width:thin;flex:1;min-height:0;overflow:auto}.defter-schedule-scroll p{color:#827b68;margin:12px 0;font-size:12px}.defter-schedule-card table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:11px}.defter-schedule-card th{color:#796945;z-index:1;text-align:left;background:#fff5d8;font-weight:600;position:sticky;top:0}.defter-schedule-card th,.defter-schedule-card td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #eee5d1;padding:6px 4px}.defter-schedule-card th:first-child{width:28%}.defter-schedule-card th:nth-child(2){width:19%}.defter-schedule-card th:last-child{width:24%}.defter-schedule-card td button{text-align:left;color:#394234;font:inherit;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0}.defter-schedule-card td button:hover{text-decoration:underline}.defter-schedule-card td small{color:#827b68;margin-top:2px;font-size:10px;display:block}.defter-schedule-card .defter-schedule-due{color:#b13d29;font-weight:600}@media (width<=1400px) and (width>=1001px){.ledger-single .defter-summary>.defter-total{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:8px}.ledger-single .defter-summary .defter-total-main{gap:5px}.ledger-single .defter-summary .defter-total-parts{border-left:0;padding-left:0}}@media (width<=1000px){.ledger-single .defter-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.defter-schedule-card{grid-column:1/-1}}@media (width<=640px){.ledger-single .defter-summary{grid-template-columns:1fr}}.sw-page{--sw-border:#e8e2d4;--sw-muted:#8c8779;--sw-gold:#e4b93e;color:#343b31}.sw-kicker{letter-spacing:1.7px;color:#a0874b;font-size:10px;font-weight:700}.sw-page h1{margin:5px 0;font-size:27px}.sw-page .page-heading p{color:var(--sw-muted);font-size:12px}.sw-page h3{margin:0;font-size:14px}.sw-actions{align-items:center;gap:8px;display:flex}.sw-tabs{border-bottom:1px solid var(--sw-border);flex-wrap:wrap;gap:7px;margin:22px 0 20px;display:flex}.sw-tabs button{color:#888472;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:13px 18px;font-weight:600}.sw-tabs button.active{color:#745414;background:linear-gradient(#0000,#f8e9b73b);border-bottom-color:#e4b93e}.sw-summary-grid{grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:20px;display:grid}.sw-summary-grid.ledger-single{max-width:none}.sw-page .sw-total.custody strong,.sw-page .sw-total.custody>div:first-child>span,.sw-page .sw-total.custody .sw-chips,.sw-page .sw-total.custody .sw-chips b{color:var(--defter-custody)}.sw-page .sw-total.custody .defter-total-main>strong{margin-top:0}.sw-page .sw-total.custody .defter-total-main>p{margin:0}.sw-page .sw-distribution th{color:#4b3710;background:#fff2c7;font-weight:800}.sw-page .sw-distribution td,.sw-page .sw-distribution th{border-bottom:1px solid #cba75038;padding:10px 12px}.sw-page .sw-distribution td{background:#fffdf8}.sw-page .sw-distribution td:not(:first-child),.sw-page .sw-distribution th:not(:first-child){text-align:right}.sw-instrument{align-items:center;gap:8px;display:inline-flex}.sw-instrument>span{min-width:22px;color:var(--accent-strong,#926817);justify-content:center;align-items:center;font-size:13px;display:inline-flex}.sw-total,.sw-upcoming{border:1px solid var(--sw-border);border-radius:15px;height:205px;overflow:hidden}.sw-total{background:radial-gradient(circle at 98% 100%,#ecd9a63d 0 25%,#0000 25%),linear-gradient(115deg,#fbf0e5,#fffdf8);grid-template-columns:1fr 1fr;align-items:center;gap:22px;padding:24px;display:grid}.sw-total>div:first-child>span{color:#9c5c27;align-items:center;gap:9px;font-size:13px;font-weight:600;display:flex}.sw-total strong{color:#a45224;margin-top:12px;font-size:29px;display:block}.sw-total strong small{font-size:15px}.sw-total p{color:#8d806a;margin:8px 0;font-size:11px}.sw-total>div:first-child>small{color:#8d806a;font-size:11px}.sw-chips{flex-wrap:wrap;gap:7px;display:flex}.sw-chips>span{white-space:nowrap;background:#fffffff0;border:1px solid #e1e4d6;border-radius:20px;align-items:center;gap:8px;padding:6px 9px;font-size:11px;display:inline-flex}.sw-chips b{color:#3e7965;background:#f0f3e7;border-radius:10px;padding:2px 6px;font-size:9px}.sw-total>.sw-chips{border-left:1px solid #e1d9c7;max-height:140px;padding-left:22px;overflow:auto}.sw-upcoming{background:#fffdf8;padding:18px}.sw-upcoming header{justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.sw-upcoming h3{align-items:center;gap:8px;display:flex}.sw-upcoming header>span,.sw-code{color:#93763c;background:#f4f0e3;border-radius:5px;padding:4px 7px;font-size:10px}.sw-upcoming>div{max-height:140px;overflow:auto}.sw-upcoming button{text-align:left;cursor:pointer;background:0 0;border:0;border-top:1px solid #f0eadf;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 2px;font-size:11px;display:flex}.sw-upcoming small{color:#988974;margin-top:3px;display:block}.sw-upcoming strong{color:#a77132;white-space:nowrap}.sw-upcoming p{color:#8c8779;text-align:center;margin:26px 0;font-size:12px}.sw-layout{grid-template-columns:275px minmax(0,1fr);align-items:start;gap:20px;display:grid}.sw-accounts{border:1px solid var(--sw-border);background:#fffdf9;border-radius:14px;padding:15px;position:sticky;top:15px}.sw-accounts header{justify-content:space-between;margin:3px 1px 16px;display:flex}.sw-accounts header span:not(.count-badge){color:var(--sw-muted);font-size:11px}.sw-search{color:#a69978;background:#fff;border:1px solid #e6e0d1;border-radius:8px;align-items:center;gap:9px;padding:0 10px;display:flex}.sw-search input{outline:none;width:100%;box-shadow:none!important;background:0 0!important;border:0!important;padding:10px 0!important}.sw-account-scroll{max-height:65vh;margin-top:8px;overflow:auto}.sw-account{text-align:left;cursor:pointer;color:#49503f;background:#fff;border:1px solid #eae6da;border-radius:10px;width:100%;margin:8px 0;padding:15px 12px;display:block}.sw-account>div:first-child{justify-content:space-between;gap:5px;font-size:12px;display:flex}.sw-account>strong{margin:12px 0;font-size:20px;display:block}.sw-account strong small{font-size:10px;font-weight:400}.sw-account .sw-chips{gap:4px;margin-bottom:12px}.sw-account .sw-chips>span{padding:3px 6px;font-size:10px}.sw-account>small{color:#979180;font-size:10px}.sw-account .sw-next-date{margin-top:10px;display:block}.sw-account .sw-next-date .secondary-button{min-height:28px;padding:5px 8px;font-size:10px}.sw-payment-date-list{gap:8px;display:grid}.sw-payment-date-list>div{background:#fffdf8;border:1px solid #ece5d5;border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px;display:grid}.sw-payment-date-list strong,.sw-payment-date-list small{display:block}.sw-payment-date-list small{color:var(--sw-muted);margin-top:3px}.sw-payment-date-list>div>b{color:#6c5627;font-size:12px}.sw-payment-date-list time{color:#8f6f2c;white-space:nowrap;font-size:12px;font-weight:700}.sw-account.active{background:linear-gradient(120deg,#fffbeb,#fffdf6);border-color:#dfbd5f;box-shadow:0 2px 12px #a5811810}.sw-account.all{align-items:center;gap:9px;font-size:12px;display:flex}.sw-main{flex-direction:column;gap:18px;min-width:0;display:flex}.sw-panel{border:1px solid var(--sw-border);background:#fff;border-radius:14px;overflow:hidden}.sw-panel>header{border-bottom:1px solid #eee9dd;justify-content:space-between;align-items:center;gap:12px;padding:20px;display:flex}.sw-panel header small{color:var(--sw-muted);margin-top:6px;font-size:11px;display:block}.sw-segment{border:1px solid #e9e1cb;border-radius:8px;gap:3px;padding:3px;display:flex}.sw-segment button{color:#857b66;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:7px 12px;font-size:11px}.sw-segment .active{color:#49380d;background:#f2ce65}.sw-table-scroll{overflow:auto}.sw-page table,.sw-dialog table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}.sw-page th,.sw-dialog th{color:#7a735e;white-space:nowrap;background:#faf8f0;font-size:10px;font-weight:600}.sw-page td,.sw-page th,.sw-dialog td,.sw-dialog th{vertical-align:middle;border-bottom:1px solid #eeeae0;padding:12px 14px}.sw-page td small,.sw-dialog td small{color:#989180;margin-top:4px;font-size:10px;display:block}.sw-page td select{min-width:70px}.sw-movements tbody tr{cursor:pointer}.sw-page .sw-movements{min-width:940px}.sw-movements .sw-balance-line,.sw-movements .sw-debit,.sw-movements .sw-credit{white-space:nowrap;line-height:1.8;display:block}.sw-movements tbody tr:hover,.sw-movements tbody tr:focus{background:#fff9e8;outline:none}.sw-debit{color:#af6740}.sw-credit{color:#477f66}.sw-movements .sw-debit,.sw-movements .sw-credit{white-space:nowrap;display:block}.sw-panel footer,.sw-dialog footer{background:#fffefa;border-top:1px solid #eae5d8;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;display:flex}.sw-panel footer small{color:#978f7e;font-size:10px}.sw-operation-types{border-bottom:1px solid #eee9dd;flex-wrap:wrap;gap:8px;padding:18px 20px;display:flex}.sw-entry-form{flex-wrap:wrap;align-items:end;gap:12px;padding:20px;display:flex}.sw-page label,.sw-dialog label{color:#7b735f;font-size:11px}.sw-entry-form>label{flex-direction:column;flex:130px;gap:7px;min-width:0;display:flex}.sw-entry-form .sw-note{flex:200px}.sw-page input:not([type=checkbox]),.sw-page select,.sw-dialog input:not([type=checkbox]),.sw-dialog select{color:#404a37;box-sizing:border-box;background:#fffefb;border:1px solid #e4dece;border-radius:6px;max-width:100%;min-height:36px;padding:7px 9px;font-size:12px}.sw-date{flex-direction:column;gap:5px;display:flex}.sw-product-entry{justify-content:space-between;align-items:center;gap:15px;padding:20px;display:flex}.sw-product-entry p{color:#8e8573;font-size:12px;line-height:1.7}.sw-icon{color:#ab9e83;cursor:pointer;background:0 0;border:0;padding:7px;display:inline-flex}.sw-empty{color:#aaa08a;flex-direction:column;align-items:center;gap:10px;padding:38px 15px;font-size:12px;display:flex}.sw-empty strong{color:#877d65}.sw-live{background:#faf8ef;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex}.sw-live>div:first-child{flex-direction:column;gap:6px;display:flex}.sw-live span,.sw-live small{color:#8f856e;font-size:11px}.sw-live strong{color:#9c7137;font-size:20px}.sw-live .sw-chips{justify-content:flex-end}.sw-success{color:#44724f;background:#eff8ef;border:1px solid #d3e5d3;border-radius:9px;align-items:center;gap:10px;margin-bottom:14px;padding:12px 15px;font-size:12px;display:flex}.sw-card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:17px;display:grid}.sw-card-grid article{border:1px solid var(--sw-border);background:#fff;border-radius:14px;padding:22px}.sw-card-grid header{align-items:center;gap:12px;margin-bottom:20px;display:flex}.sw-avatar{color:#9d7a29;background:#f7efd4;border-radius:13px;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.sw-card-grid small,.sw-card-grid p{color:#928a77;font-size:11px}.sw-card-grid .sw-actions{margin-top:20px}.sw-dialog{color:#394234;background:#fffdf8;border:1px solid #e5dece;border-radius:17px;width:min(1050px,95vw);max-height:90vh;padding:0;box-shadow:0 25px 80px #24231c3a}.sw-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#302e265e}.sw-dialog>header{border-bottom:1px solid #e8e1d1;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.sw-dialog h2{margin:0;font-size:18px}.sw-modal-content{max-height:65vh;padding:22px;overflow:auto}.sw-modal-content>p{color:#8b826e;font-size:12px}.sw-product-search{grid-template-columns:1fr 1fr;gap:15px;display:grid}.sw-product-search form{gap:7px;display:flex}.sw-product-search form label{flex:1;align-items:center;gap:7px;display:flex}.sw-product-search input{width:100%}.sw-product-results{background:#fff;border:1px solid #e9e0cc;border-radius:8px;max-height:230px;margin:10px 0;overflow:auto}.sw-product-results button{cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #eee7db;justify-content:space-between;align-items:center;width:100%;padding:11px 13px;font-size:12px;display:flex}.sw-product-results small{color:#a19783;margin-top:4px;font-size:10px;display:block}.sw-product-results strong{color:#9e7d3d;align-items:center;gap:12px;font-size:11px;display:flex}.sw-dialog .sw-table-scroll{margin-top:20px}.sw-dialog td input[type=number]{width:70px}.sw-product-footer{flex-wrap:wrap;align-items:end;gap:15px;margin-top:20px;display:flex}.sw-product-footer label{flex-direction:column;flex:1;gap:7px;display:flex}.sw-product-footer>div{text-align:right;flex-direction:column;gap:5px;display:flex}.sw-product-footer strong{color:#9f762c;font-size:22px}.sw-product-footer small{color:#a09680;font-size:11px}.sw-check{white-space:nowrap;align-items:center;gap:6px;display:flex}.sw-check input{accent-color:#c6a239}.sw-return-mode{align-items:center;gap:8px;min-width:max-content;display:flex}.sw-return-mode>label{color:#6f6758;white-space:nowrap;align-items:center;gap:4px;margin:0;font-size:11px;font-weight:650;display:flex}.sw-return-mode input[type=radio]{accent-color:#c6a239}.sw-return-mode .sw-scrap-purity{color:#8b826e;border-left:1px solid #e6dcc7;gap:4px;margin-left:2px;padding-left:8px;display:flex}.sw-return-mode .sw-scrap-purity input{width:64px;min-height:30px;padding:4px 6px;font-size:12px}.sw-loss{padding:7px 0;font-size:11px;color:#ac7046!important}.sw-detail-rows>section{border:1px solid #e9e1cd;border-radius:10px;margin:15px 0;padding:15px}.sw-detail-heading{color:#8a6930;justify-content:space-between;font-size:13px;display:flex}.sw-detail-rows p{color:#8f846f;font-size:12px}.sw-card-form{grid-template-columns:1fr 1fr;gap:15px;display:grid}.sw-card-form>label{flex-direction:column;gap:7px;display:flex}.sw-card-form .form-error,.sw-opening{grid-column:1/-1}.sw-opening header{justify-content:space-between;align-items:center;margin-top:10px;display:flex}.sw-opening p{color:#928870;font-size:11px}.sw-opening>div{flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;display:flex}.sw-correction-banner{background:#fff5d6;border:1px solid #e7bd4a;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.sw-opening input[type=number]{width:120px}.sw-opening h3{font-size:14px}.sw-dialog button{cursor:pointer}.sw-page button:disabled,.sw-dialog button:disabled{cursor:default;opacity:.5}@media (width<=1100px){.sw-summary-grid{grid-template-columns:1fr 1fr}.sw-total{grid-template-columns:1fr;gap:10px;height:235px;padding:18px}.sw-total>.sw-chips{border:0;padding:0}.sw-upcoming{height:235px}.sw-upcoming>div{max-height:170px}.sw-layout{grid-template-columns:235px minmax(0,1fr)}}@media (width<=780px){.sw-summary-grid,.sw-layout,.sw-product-search{grid-template-columns:1fr}.sw-accounts{position:static}.sw-account-scroll{max-height:230px}.sw-card-form{grid-template-columns:1fr}.sw-total,.sw-upcoming{height:220px}.sw-live,.sw-product-entry{flex-direction:column;align-items:stretch}.sw-operation-types{gap:5px}.sw-opening>div{flex-wrap:wrap}.sw-page .page-heading{align-items:flex-start;gap:15px}.sw-tabs button{padding:11px;font-size:11px}.sw-movements{min-width:620px}}.sw-amount-input{background:#faf7ef;border:1px solid #e4dece;border-radius:6px;align-items:center;display:flex;overflow:hidden}.sw-amount-input input{width:100%;min-width:0;border:0!important;border-radius:0!important}.sw-amount-input>span{color:#938369;padding:0 9px;font-size:11px}.page-content.sw-page{background:0 0;width:100%;max-width:none;margin:0;padding:24px 26px 34px}.sw-layout{grid-template-columns:350px minmax(0,1fr)}.sw-operation-fields{border:0;min-width:0;margin:0;padding:0}.sw-operation-fields:disabled{opacity:.5}.sw-operation-subtypes{border-top:1px solid #eee8dc;padding-top:12px}.sw-supplier-picker{gap:7px;width:100%;min-width:0;font-size:11px;display:grid;position:relative}.sw-layout-operations .sw-panel>header>div:first-child{flex:1;min-width:0}.sw-supplier-control{background:#fff;border:1px solid #e4e0d5;border-radius:8px;align-items:center;gap:12px;padding:0 13px;display:flex}.sw-supplier-control input{min-width:0;box-shadow:none;height:42px;color:inherit;background:0 0;border:0;outline:none;flex:1}.sw-supplier-control.is-selected{color:#176c43;background:#edf8f0;border-color:#7ab892;box-shadow:0 0 0 3px #20875412}.sw-supplier-control.is-selected input{font-weight:700}.sw-supplier-results{z-index:20;background:#fff;border:1px solid #e4e0d5;border-radius:8px;max-height:280px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 12px 30px #29322618}.sw-supplier-results button{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #f0ede5;justify-content:space-between;width:100%;padding:13px;display:flex}.sw-supplier-results button:hover{background:#f8f3e5}.sw-supplier-results p{padding:12px}#supplier-workspace-receipt .receipt-table{table-layout:fixed;font-size:10.5px}#supplier-workspace-receipt .receipt-table th,#supplier-workspace-receipt .receipt-table td{vertical-align:top;white-space:normal;overflow-wrap:anywhere;color:#111;background:#fff;border:1px solid #111;padding:4px 5px}#supplier-workspace-receipt .receipt-table th{font-weight:800}#supplier-workspace-receipt .receipt-table th:first-child{width:23%}#supplier-workspace-receipt .receipt-table th:last-child{width:29%}#supplier-workspace-receipt .receipt-simple-info{overflow-wrap:anywhere}.sw-product-search{display:block}.sw-product-search .sw-search{width:100%}@media (width<=1050px){.sw-layout{grid-template-columns:290px minmax(0,1fr)}}@media (width<=760px){.page-content.sw-page{padding:16px}.sw-layout{grid-template-columns:minmax(0,1fr)}.sw-supplier-picker{width:100%;min-width:0}}.sw-detail-table-scroll{overflow-x:auto}.sw-movement-detail-table{border-collapse:collapse;width:100%}.sw-movement-detail-table th{white-space:nowrap}.sw-movement-detail-table td{font-variant-numeric:tabular-nums}.sw-detail-note{color:#77674d;flex-wrap:wrap;gap:8px 24px;padding:12px 0 2px;font-size:12px;display:flex}#supplier-workspace-receipt .sw-receipt-section{margin-top:14px}#supplier-workspace-receipt .sw-receipt-section h3{color:#111;break-after:avoid;margin:0 0 5px;font-size:11px}#supplier-workspace-receipt .sw-receipt-products th:first-child{width:38%}#supplier-workspace-receipt .sw-receipt-products{table-layout:fixed;font-size:9.5px}#supplier-workspace-receipt .sw-receipt-products th,#supplier-workspace-receipt .sw-receipt-products td{padding-left:3px;padding-right:3px}#supplier-workspace-receipt .sw-receipt-products th:nth-child(2){width:23%}#supplier-workspace-receipt .sw-receipt-products th:nth-child(3){width:22%}#supplier-workspace-receipt .sw-receipt-products th:last-child{width:17%}#supplier-workspace-receipt .sw-receipt-products td:not(:first-child),#supplier-workspace-receipt .sw-receipt-balances td:last-child{text-align:right;font-variant-numeric:tabular-nums}#supplier-workspace-receipt .sw-receipt-balances th:first-child{text-align:left;width:55%}#supplier-workspace-receipt .sw-receipt-balances th:last-child{width:auto}#supplier-workspace-receipt tr{break-inside:avoid}#supplier-workspace-receipt thead{display:table-header-group}.sw-detail-table-scroll{margin-top:12px}.sw-movement-detail-table td{color:#494436}.sw-movement-detail-table th,.sw-movement-detail-table td{padding:10px 12px}.operation-danger-button,.icon-button.operation-danger-icon{color:#b42332;cursor:pointer;background:#fff0f0;border:1px solid #f0c4c8;border-radius:9px;justify-content:center;align-items:center;gap:8px;transition:background .15s,border-color .15s;display:inline-flex}.operation-danger-button{font:inherit;padding:10px 14px;font-size:12px;font-weight:650}.operation-danger-button:hover,.icon-button.operation-danger-icon:hover{color:#951d2a;background:#ffe1e4;border-color:#df949e}.operation-danger-button:focus-visible,.operation-danger-icon:focus-visible{outline-offset:3px;outline:3px solid #f4a8b0}.operation-danger-button:disabled{opacity:.45;cursor:not-allowed}.sw-dialog footer.sw-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.sw-dialog.operation-cancel-dialog{border-radius:20px;width:min(570px,100vw - 32px)}.operation-cancel-dialog>header{background:linear-gradient(125deg,#fff5f3,#fffdf8 75%);padding:22px 24px}.operation-cancel-heading{align-items:center;gap:13px;display:flex}.operation-cancel-icon{color:#b42332;background:#ffe9e8;border:1px solid #f5d1d0;border-radius:14px;place-items:center;width:48px;height:48px;display:grid}.operation-cancel-number{color:#8a726b;margin-top:5px;font-size:12px;display:block}.operation-cancel-dialog .operation-cancel-content{padding:24px}.operation-cancel-summary{background:#f8f6f0;border:1px solid #eae5d8;border-radius:12px;gap:12px;margin-bottom:22px;padding:15px;display:flex}.operation-cancel-summary>svg{color:#a1844a;flex:none;margin-top:2px}.operation-cancel-summary strong{font-size:13px;font-weight:650}.operation-cancel-summary p{color:#837c6d;margin:7px 0 0;font-size:12px;line-height:1.7}.operation-cancel-dialog .operation-cancel-reason{color:#454a40;flex-direction:column;gap:10px;font-size:13px;display:flex}.operation-cancel-reason>span{align-items:center;gap:7px;font-weight:650;display:flex}.operation-cancel-dialog textarea{box-sizing:border-box;resize:vertical;color:#394234;width:100%;min-height:118px;font:inherit;background:#fff;border:1px solid #ded9ce;border-radius:11px;outline:none;padding:13px 14px;font-size:13px;line-height:1.6;display:block}.operation-cancel-dialog textarea::placeholder{color:#a39e93}.operation-cancel-dialog textarea:focus{border-color:#b99347;box-shadow:0 0 0 3px #c7a05420}.operation-cancel-helper{color:#928a7a;justify-content:space-between;gap:10px;margin-top:8px;font-size:11px;line-height:1.5;display:flex}.operation-cancel-dialog footer{background:#faf9f5;padding:17px 24px}.operation-cancel-dialog .operation-cancel-submit{color:#fff;background:#b82f3d;border-color:#b82f3d}.operation-cancel-dialog .operation-cancel-submit:hover:not(:disabled){background:#9f2431}.operation-cancel-dialog .inline-alert{margin-top:16px}.operation-cancel-spinner{animation:1s linear infinite operation-cancel-spin}@keyframes operation-cancel-spin{to{transform:rotate(360deg)}}.sw-balance-after{border-top:1px solid #eee8dc;gap:3px;margin-top:9px;padding-top:9px;display:grid}.sw-balance-after>small{color:#8b826f;font-size:9px;line-height:1.4}.sw-balance-after>b{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.sw-balance-after>b.is-zero{color:#8b826f;background:0 0}.page-content.assets-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.assets-page .panel-section{border-radius:14px}.assets-page .asset-summary-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.assets-page .asset-opening-direction{gap:8px;padding:12px 18px;display:flex}.assets-page .asset-movement-direction{gap:6px;min-width:130px;font-size:12px;display:grid}.assets-page .asset-movement-direction select{color:#394234;background:#fff;border:1px solid #e4e0d5;border-radius:8px;min-height:39px;padding:8px 12px}.assets-page .asset-movement-direction select:disabled{opacity:1;color:#493612;cursor:not-allowed;background:#f4f1e8}.assets-page .asset-net-components{flex-wrap:wrap;align-content:start;gap:6px;width:auto;margin:0;display:flex}.assets-page .asset-net-components>div{white-space:nowrap;border:1px solid #e4e0d5;border-radius:999px;align-items:center;gap:6px;height:fit-content;padding:5px 8px;font-size:11px;display:inline-flex}.assets-page .asset-net-components>div>span{background:#ffffff80;border-radius:999px;padding:2px 5px;font-size:10px}.assets-page .asset-net-components>.positive{color:#176c43;background:#edf8f0;border-color:#b8ddc5}.assets-page .asset-net-components>.negative{color:#a83217;background:#fff0ec;border-color:#efc4b8}.assets-page .asset-net-components>small{color:#8b826e;font-size:11px}.assets-page .asset-summary-card.primary{height:136px;min-height:136px}.assets-page .asset-summary-card.primary .asset-net-components{grid-template-columns:minmax(0,1fr);justify-items:start;display:grid}@media (width<=1000px){.assets-page .asset-summary-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.assets-page .asset-summary-grid.compact{grid-template-columns:minmax(0,1fr)}}.assets-page .asset-account-card{background:#fffdf8;border-color:#e8e1d1;border-radius:12px}.assets-page .asset-account-action{background:#fff;border-color:#e4e0d5;min-height:34px;font-weight:600;box-shadow:0 1px 2px #27271d05}.assets-page .asset-account-action:hover{background:#fff7e2;border-color:#d8c58f}.assets-page .asset-account-action.danger:hover{background:#fff1eb;border-color:#b42318}.assets-page .assets-accounts-section>.section-title .quick-actions{flex-wrap:wrap}.assets-page .assets-accounts-section>.section-title .quick-actions button span{font-size:12px}.assets-page :is(.modal-backdrop,.simple-modal-backdrop,.receipt-modal-backdrop){-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#302e265e}.assets-page :is(.modal-panel,.receipt-modal){color:#394234;background:#fffdf8;border:1px solid #e5dece;border-radius:17px;box-shadow:0 25px 80px #24231c3a}.assets-page .asset-movement-detail-modal{border-radius:17px;box-shadow:0 25px 80px #24231c3a}.assets-page .modal-title{background:#fffdf8;border-bottom:1px solid #e8e1d1;align-items:center;padding:20px 24px}.assets-page .modal-title h2,.assets-page .asset-movement-detail-modal>.section-title h2{color:#394234;font-size:18px}.assets-page .modal-title p{color:#8b826e;font-size:12px}.assets-page .modal-title .icon-button{color:#394234;background:#fff;border:1px solid #e4e0d5;border-radius:8px;flex-shrink:0;width:39px;height:39px}.assets-page .modal-actions{background:#fff;border-top:1px solid #e8e1d1;gap:8px;padding:18px 24px}.assets-page .receipt-toolbar{background:#fffdf8;border-bottom-color:#e8e1d1;padding:18px 24px}.assets-page .asset-workspace-tabs{border-bottom:1px solid #e5dece;flex-wrap:wrap;gap:7px;margin:0 0 18px;display:flex}.assets-page .asset-workspace-tabs button{color:#888472;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:13px 18px;font-size:12px;font-weight:600}.assets-page .asset-workspace-tabs button.active{color:#745414;background:linear-gradient(#0000,#f8e9b73b);border-bottom-color:#e4b93e}.assets-page .asset-product-count-tabs{margin-top:8px}@media (width<=760px){.page-content.assets-page,.assets-page .modal-title,.assets-page .modal-actions,.assets-page .receipt-toolbar{padding:16px}.assets-page .receipt-toolbar{flex-wrap:wrap}}.assets-page .asset-opening-workspace .asset-adjustment-form,.assets-page .asset-opening-workspace .asset-adjustment-form.asset-opening-product-form{grid-template-areas:"customer customer""direction direction""instrument amount""product product""add add"}.assets-page .asset-opening-header-row{grid-area:customer;min-width:0}.assets-page .asset-opening-header-row .custody-operation-customer-row{grid-area:auto;width:100%;min-width:0;margin:0}.assets-page .asset-opening-direction{grid-area:direction;min-width:0;padding:0;display:block}.asset-direction-switch{border:0;align-items:center;gap:14px;min-width:0;margin:2px 0;padding:0;display:flex}.asset-direction-switch legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.asset-direction-caption{color:#897b5e;font-size:11px;font-weight:600}.asset-direction-switch>div{background:#faf6eb;border:1px solid #e8ddc5;border-radius:9px;gap:3px;padding:3px;display:inline-flex}.asset-direction-switch button{color:#938469;background:0 0;border:1px solid #0000;border-radius:6px;min-width:66px;min-height:29px;padding:0 12px;font-size:11px;font-weight:600;transition:background .15s,border-color .15s}.asset-direction-switch button:not(:disabled):hover{color:#816125;background:#fff1cd}.asset-direction-switch button.active{color:#75551a;background:linear-gradient(135deg,#f8e6b5,#f0d486);border-color:#e3c77d;box-shadow:0 1px 3px #7153210c}.asset-direction-switch button:focus-visible{outline-offset:2px;outline:2px solid #ba9140}.asset-direction-switch:disabled{opacity:.65}@media (width<=760px){.assets-page .asset-opening-workspace .asset-adjustment-form,.assets-page .asset-opening-workspace .asset-adjustment-form.asset-opening-product-form{grid-template-areas:"customer""direction""instrument""product""amount""add"}.assets-page .asset-opening-modal>.modal-title{flex-wrap:wrap;gap:12px}}.page-content.settings-page,.page-content.reports-builder-page{width:100%;max-width:none;margin:0;padding:24px 26px 34px}.settings-page .settings-tabs{border-radius:12px}.settings-page .settings-tabs button{font-size:12px;font-weight:600}.settings-page .settings-tabs button.active{color:#493612;background:linear-gradient(120deg,#f5d779,#eac04d);border-color:#e7bd4a;box-shadow:0 3px 8px #b4862215}.settings-page .secondary-button:is(.danger,.danger-button){color:var(--danger);border-color:#b423184d}.settings-page .secondary-button:is(.danger,.danger-button):hover{background:#fff1eb;border-color:#b42318}@media (width<=760px){.page-content.settings-page,.page-content.reports-builder-page{padding:16px}}:root{--message-bg:#fff5eb;--message-border:#efd7b9;--message-ink:#9b7843;--message-success-bg:#edf8f0;--message-success-border:#b8ddc5;--message-success-ink:#176c43;--message-info-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E");--message-check-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}:root :is(.tw-alert,.inline-alert,.form-error,.inline-success,.success-message,.sw-success,.asset-gold-success-message,.asset-gold-error-message,.settings-warning-note,.backup-warning,.field-error,.field-warning,.supplier-deactivate-warning,.topbar-manual-rate-warning,.topbar-rate-error,[role=alert]){--notice-icon:var(--message-info-icon);box-sizing:border-box;border:1px solid var(--message-border);background:var(--message-bg);min-width:0;color:var(--message-ink);box-shadow:none;overflow-wrap:anywhere;text-align:start;border-radius:8px;padding:12px 15px 12px 40px;font-size:12px;font-weight:400;line-height:1.5;position:relative}:root :is(.tw-success,.inline-success,.success-message,.sw-success,.asset-gold-success-message){--notice-icon:var(--message-check-icon);border-color:var(--message-success-border);background:var(--message-success-bg);color:var(--message-success-ink)}:root :is(.tw-alert,.inline-alert,.form-error,.inline-success,.success-message,.sw-success,.asset-gold-success-message,.asset-gold-error-message,.settings-warning-note,.backup-warning,.field-error,.field-warning,.supplier-deactivate-warning,.topbar-manual-rate-warning,.topbar-rate-error,[role=alert]):before{content:"";width:17px;height:17px;-webkit-mask:var(--notice-icon) center / contain no-repeat;mask:var(--notice-icon) center / contain no-repeat;background:currentColor;position:absolute;top:13px;left:15px}:root :is(.tw-alert,.sw-success,.settings-warning-note,.inline-alert,.inline-success,.backup-warning,.topbar-manual-rate-warning):has(>svg:first-child){align-items:center;gap:8px;padding-left:15px}:root :is(.tw-alert,.sw-success,.settings-warning-note,.inline-alert,.inline-success,.backup-warning,.topbar-manual-rate-warning):has(>svg:first-child):before{content:none}:root :is(.tw-alert,.sw-success,.settings-warning-note,.inline-alert,.inline-success,.backup-warning,.topbar-manual-rate-warning)>svg:first-child{width:17px;height:17px;color:inherit;flex-shrink:0}:root :is(small.inline-alert,.field-error,.field-warning,.supplier-deactivate-warning,.topbar-rate-error){display:block}:root .backup-warning.danger{color:#9e4b38;background:#fff1ed;border-color:#ebc4b9}:root .dashboard-alert{border:1px solid var(--message-border);background:var(--message-bg);color:var(--message-ink);box-shadow:none;border-radius:8px;grid-template-columns:17px minmax(0,1fr);gap:8px;padding:12px 15px;font-size:12px;line-height:1.5}:root .dashboard-alert.danger{color:#9e4b38;background:#fff1ed;border-color:#ebc4b9}:root .dashboard-alert svg{width:17px;height:17px}:root .dashboard-alert span{color:inherit;white-space:normal;overflow-wrap:anywhere;font-size:12px}:root .dashboard-alert strong{white-space:normal}
