@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#19273d;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:264px;min-width:264px;background:#10213a;color:#b7c6d9;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:20}.sidebar-logo{height:93px;padding:26px 25px 15px}.logo{display:flex;align-items:center;gap:10px;color:#fff;font-size:22px;letter-spacing:.035em;font-weight:800}.logo-light{font-weight:400;color:#8eb8e3;margin-left:3px}.logo-mark{height:39px;width:39px;border-radius:12px;background:linear-gradient(145deg,#5ba5f3,#2f69bc);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px #225baf55}.logo-subtitle{display:block;font-size:11px;letter-spacing:.055em;margin:6px 0 0 49px;color:#718ba9}.sidebar-nav{flex:1;overflow:auto;padding:4px 13px 20px}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-thumb{background:#3c5472;border-radius:4px}.nav-heading{font-size:10px;font-weight:700;color:#69809e;letter-spacing:.13em;margin:24px 16px 10px}.nav-link{color:#b2c2d7;border:0;background:none;width:100%;min-height:41px;display:flex;align-items:center;gap:12px;text-align:left;padding:9px 14px;border-radius:10px;position:relative;font-size:12.7px;line-height:1.4;font-weight:500}.nav-link:hover{background:#1b3353;color:#fff}.nav-link.active{background:#24436a;color:#fff;box-shadow:inset 3px 0 #6caafb}.nav-link.active svg{color:#80baff}.nav-link span:nth-child(2){flex:1}.nav-active-marker{width:5px;height:5px;background:#77b8ff;border-radius:50%}.sidebar-bottom{display:flex;align-items:center;gap:10px;padding:18px 16px;border-top:1px solid #243b56}.avatar,.top-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;background:#5a8dc8;color:#fff;border-radius:11px;font-weight:700}.user-overflow{display:flex;flex-direction:column;gap:3px;overflow:hidden;flex:1}.user-overflow strong{color:#eaf0fa;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.user-overflow small{font-size:10px;color:#7f95b1}.main-area{flex:1;min-width:0}.topbar{height:72px;background:#fff;box-shadow:0 1px #e7ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.top-left,.top-actions{display:flex;align-items:center;gap:14px}.breadcrumb{color:#93a0b1;font-size:12px}.breadcrumb-current{font-weight:600;color:#39495c;font-size:12px}.muted{color:#9aa7b8}.date-chip{display:flex;align-items:center;gap:8px;color:#64758b;font-size:12px;margin-right:8px}.icon-btn{border:0;background:#f3f6fa;color:#526781;width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.icon-btn:hover{background:#e6effa}.icon-btn.ghost{color:#98abc3;background:transparent}.icon-btn.ghost:hover{background:#243b56}.top-avatar{width:34px;height:34px;font-size:12px;background:#dfeaf7;color:#2b6199}.mobile-menu{display:none}.content{max-width:1530px;margin:0 auto;padding:38px 40px 60px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{display:block;text-transform:uppercase;font-weight:800;font-size:10px;letter-spacing:.13em;color:#6694c9;margin-bottom:9px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.25;letter-spacing:-.04em;font-weight:800}h2{font-size:15px;font-weight:750;letter-spacing:-.012em}h3{font-size:14px}.page-head p{margin-top:8px;font-size:13px;color:#8996a7}.page-actions,.button-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}button.primary,button.secondary{border-radius:10px;border:1px solid transparent;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:650;font-size:12px;padding:0 17px;white-space:nowrap;transition:.15s}.primary{background:#3175c6;color:#fff;box-shadow:0 5px 13px #3279ca29}.primary:hover{background:#2366b7}.secondary{background:#fff;border-color:#dbe3ec!important;color:#4c6079}.secondary:hover{background:#f5f8fc}.secondary.compact{height:36px;padding:0 11px}.full{width:100%}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric-card{border:1px solid #e6ebf2;background:#fff;border-radius:15px;min-height:160px;padding:22px 22px 18px;box-shadow:0 6px 24px #253d6408}.metric-head{display:flex;align-items:start;justify-content:space-between;gap:10px;color:#8a98a9;font-size:12px;font-weight:600}.metric-icon{height:40px;width:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.metric-icon.blue{color:#3c83d0;background:#e6f0fb}.metric-icon.orange{color:#df923c;background:#fff4e5}.metric-icon.violet{color:#8267c7;background:#f0eafb}.metric-icon.green{color:#33a580;background:#e4f7ef}.metric-value{font-weight:800;font-size:27px;margin:14px 0 12px;letter-spacing:-.045em;white-space:nowrap}.metric-value small{font-size:12px;letter-spacing:0;font-weight:650;color:#728298;margin-left:7px}.metric-note{font-size:11px;color:#8998a9;display:flex;gap:7px;align-items:center}.metric-dot{height:6px;width:6px;border-radius:50%;background:#3cbd95}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,.9fr);gap:19px}.panel{border:1px solid #e5ebf2;border-radius:15px;background:#fff;box-shadow:0 6px 24px #253d6407;overflow:hidden}.panel-heading{padding:24px 24px 19px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading p{color:#9aa7b6;font-size:11px;margin-top:6px}.plain-link{border:0;background:transparent;color:#387dc7;font-size:11px;font-weight:650;display:inline-flex;align-items:center;gap:6px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#fafbfd;color:#8998a8;font-size:10px;letter-spacing:.02em;text-transform:uppercase;font-weight:750;white-space:nowrap;border-block:1px solid #eef1f5;padding:13px 20px}td{font-size:12px;color:#5a6a7e;padding:17px 20px;border-bottom:1px solid #f0f2f6;vertical-align:middle;white-space:nowrap}tbody tr:hover{background:#fcfdff}.strong{font-weight:700;color:#293e58}.num{font-variant-numeric:tabular-nums;font-weight:600;color:#344964}.status{display:inline-flex;align-items:center;border-radius:7px;padding:5px 9px;font-size:10px;font-weight:700;white-space:nowrap}.status.green{background:#e5f7ee;color:#16966c}.status.red{background:#ffebed;color:#cf5363}.status.amber{background:#fff3e0;color:#b88135}.status.neutral{background:#eef2f7;color:#63758e}.side-panel{padding-bottom:19px}.debt-item{margin:0 24px;padding:14px 0;display:flex;gap:11px;align-items:center;border-bottom:1px solid #edf0f4}.debt-icon{color:#d67b50;background:#fff0e8;border-radius:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0}.debt-item>div:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.debt-item strong{font-size:11px}.debt-item small{font-size:10px;color:#9aa7b6}.debt-item>b{font-size:11px;color:#c55e5e;white-space:nowrap}.side-panel>.secondary{margin:19px 24px 0;width:calc(100% - 48px)}.success-empty{color:#269c78;text-align:center;display:flex;gap:10px;align-items:center;justify-content:center;padding:35px 15px;font-size:12px}.list-toolbar{padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.search-field{border:1px solid #e1e8f0;border-radius:10px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#97a7b9;height:38px;min-width:250px}.search-field input{border:0;outline:0;font-size:12px;color:#2a3d55;min-width:0;width:230px;background:transparent}.toolbar-right{display:flex;align-items:center;gap:10px}.small-select{border:1px solid #dfe7f0;border-radius:9px;padding:9px 10px;color:#596b82;background:#fff;font-size:11px;max-width:190px}.rows-count{font-size:11px;color:#99a7b6;white-space:nowrap}.data-table th,.data-table td{padding:14px 15px}.data-table td{font-size:11px}.data-table th{font-size:10px}.table-actions{display:flex;gap:5px}.tiny-btn{width:29px;height:29px;border:1px solid #e7ecf2;background:#fff;border-radius:7px;color:#6b8199;display:flex;align-items:center;justify-content:center}.tiny-btn:hover{background:#eef5fc}.tiny-btn.action-good{color:#20977e}.tiny-btn.action-danger{color:#cf6672}.table-footer{padding:13px 20px;display:flex;align-items:center;justify-content:space-between;color:#8999aa;font-size:11px}.pagination{display:flex;align-items:center;gap:10px}.pagination button{background:#fff;border:1px solid #e4e9f0;border-radius:7px;height:26px;width:26px;display:grid;place-items:center}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#a8b6c6;padding:53px 14px}.empty-state strong{color:#6f829a;font-size:13px}.empty-state span{font-size:11px}.empty-state.small{padding:32px}.banner{padding:13px 16px;border-radius:10px;margin-bottom:20px;display:flex;align-items:center;gap:10px;font-size:12px}.banner.error{background:#fff0f1;border:1px solid #f4ccce;color:#ae394e}.banner button{border:0;margin-left:auto;background:transparent;color:inherit}.toast{position:fixed;right:28px;bottom:25px;z-index:200;display:flex;align-items:center;gap:10px;background:#1d876f;color:#fff;border-radius:12px;padding:15px 19px;box-shadow:0 10px 30px #223d4b35;font-weight:600;font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1835b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:center;padding:24px}.modal{background:#fff;border-radius:17px;width:min(720px,100%);max-height:94vh;display:flex;flex-direction:column;box-shadow:0 20px 70px #122b4d50;overflow:hidden}.modal.excel-modal{width:min(800px,100%)}.modal-head{padding:23px 28px 20px;border-bottom:1px solid #ecf0f4;display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:20px}.modal-body{padding:25px 28px;overflow-y:auto;max-height:68vh}.modal-foot{padding:15px 28px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #ecf0f4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label,.line-fields label,.login-card label{font-size:11px;font-weight:650;color:#566983;display:flex;flex-direction:column;gap:8px}.form-grid input,.form-grid select,.line-fields input,.line-fields select,.login-card input{width:100%;height:40px;padding:10px 12px;border-radius:9px;border:1px solid #dce5ef;background:#fff;color:#293e58;outline:0;font-size:12px}.form-grid input:focus,.line-fields input:focus,.login-card input:focus{border-color:#5da2e9;box-shadow:0 0 0 3px #e8f3ff}.form-grid label.toggle-field{flex-direction:row;align-items:center;gap:10px;padding:15px 0}.toggle-field input{width:17px;height:17px}.line-editor{margin-top:26px;border-top:1px solid #e9edf2;padding-top:20px}.line-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.line-card{background:#f7f9fc;padding:15px;border-radius:12px;display:flex;align-items:start;gap:10px;margin-bottom:10px}.line-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;flex:1}.excel-intro{display:flex;gap:13px;padding:18px;color:#3274bd;background:#eff6ff;border:1px solid #dbe9fa;border-radius:12px;margin-bottom:22px}.excel-intro strong{color:#294b71;font-size:13px}.excel-intro p{font-size:11px;color:#6c87a4;line-height:1.6;margin-top:5px}.excel-body h3{font-size:13px;margin-bottom:15px}.column-picker{max-height:165px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:17px}.column-picker label{display:flex;align-items:center;gap:8px;color:#5c718a;font-size:11px}.column-picker input{accent-color:#3b83d1}.section-divider{border-top:1px solid #e6ebf2;margin:24px 0}.upload-zone{border:1.5px dashed #a9c4e3;background:#f9fbff;border-radius:13px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:23px 15px;color:#4e8aca;position:relative;cursor:pointer;margin-bottom:15px}.upload-zone strong{font-size:12px;color:#4e637d}.upload-zone small{color:#9aabba;font-size:10px}.upload-zone input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.preview-result{background:#f5f8fc;border-radius:10px;margin-top:17px;padding:15px;font-size:12px;color:#657b95}.preview-result strong{color:#2d4a68}.preview-result p{margin:7px 0}.inline-error{background:#ffeff1;color:#ad4459;padding:10px 12px;border-radius:8px;font-size:11px;display:flex;gap:7px;align-items:center;margin:7px 0}.login-page{min-height:100vh;display:grid;place-items:center;background:#0e203a;position:relative;overflow:hidden;padding:20px}.login-glow{height:650px;width:650px;border-radius:50%;position:absolute;background:#225eac;filter:blur(160px);opacity:.42;top:-240px;right:-150px}.login-card{position:relative;width:min(430px,100%);background:#fff;border-radius:21px;padding:44px;box-shadow:0 22px 80px #07132d55}.login-card .logo{color:#163653;margin-bottom:33px}.login-card .logo-light{color:#448bcb}.login-card h1{font-size:25px;margin:6px 0 8px}.login-card p{color:#8897a9;font-size:12px;line-height:1.7;margin-bottom:26px}.login-card label{margin-bottom:17px}.login-card .primary{height:45px;margin-top:12px}.login-card small{display:block;text-align:center;color:#a0adbd;font-size:10px;margin-top:23px}.mobile-overlay{display:none}@media(max-width:1250px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.content{padding:30px 26px}.topbar{padding:0 27px}}@media(max-width:850px){.sidebar{position:fixed;left:-275px;transition:left .2s}.sidebar.opened{left:0}.mobile-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#06152e99;z-index:15}.mobile-menu{display:inline-flex}.topbar{height:64px}.date-chip{display:none}.page-head{flex-wrap:wrap}.sidebar-nav{padding-bottom:60px}}@media(max-width:580px){h1{font-size:23px}.content{padding:26px 14px}.topbar{padding:0 14px}.breadcrumb{display:none}.top-left{gap:8px}.kpi-grid{gap:9px}.metric-card{min-height:140px;padding:16px}.metric-value{font-size:21px}.metric-head{font-size:10px}.metric-icon{height:32px;width:32px}.metric-note{font-size:9px}.page-head{align-items:start}.page-actions{width:100%}.page-actions button{flex:1}.list-toolbar{flex-wrap:wrap}.search-field,.search-field input{width:100%}.toolbar-right{width:100%;justify-content:space-between}.modal-backdrop{padding:8px}.modal-head{padding:20px}.modal-body{padding:17px}.modal-foot{padding:14px 17px}.form-grid,.line-fields,.column-picker{grid-template-columns:1fr}.login-card{padding:30px 25px}.rows-count{display:none}}.mapping-box{margin:13px 0 18px;padding:14px;border:1px solid #e0e9f3;border-radius:11px;background:#fbfdff;max-height:220px;overflow:auto}.mapping-box h3{font-size:12px;color:#3a5878;margin:0 0 11px}.mapping-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;padding:5px 0}.mapping-row span{font-size:11px;overflow:hidden;text-overflow:ellipsis;color:#697c93}.mapping-row select{min-width:0;padding:8px;border:1px solid #e0e7f0;border-radius:7px;background:#fff;color:#4a6381;font-size:11px}.brand-name{display:flex;flex-direction:column;min-width:0;font-size:20px;line-height:1.13;letter-spacing:.01em}.brand-name .logo-light{display:block;margin:4px 0 0;font-size:11px;font-weight:600;letter-spacing:.025em;white-space:nowrap}.login-card .brand-name{font-size:26px}.login-card .brand-name .logo-light{font-size:13px}.records-panel{border:1px solid #dfe7f1}.document-table{min-width:860px}.document-table th{background:#f4f7fb;color:#64758a;font-size:10px;letter-spacing:.07em;text-transform:uppercase}.document-table td{padding:16px 15px;border-bottom:1px solid #edf1f6;white-space:nowrap;font-size:12px}.document-table td:first-child{font-weight:750;color:#1c3f68}.document-table tbody tr:nth-child(2n){background:#fbfcfe}.document-table tbody tr:hover{background:#eef6ff}.document-table tbody tr:focus-visible{outline:2px solid #4d95dc;outline-offset:-2px}.clickable-row{cursor:pointer;transition:background .14s}.table-actions{min-width:max-content}.table-actions .tiny-btn{transition:background .15s,transform .15s}.table-actions .tiny-btn:hover{transform:translateY(-1px)}.empty-grid-message{text-align:center;padding:50px 20px!important;color:#8494a9}.detail-modal{width:min(970px,100%)}.detail-modal .modal-body{max-height:72vh}.detail-kpis{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 20px}.detail-kpi{flex:1 1 165px;padding:17px 18px;border-radius:13px;background:#f0f6ff;border:1px solid #dce9f9;display:flex;flex-direction:column;gap:8px}.detail-kpi small{color:#647c9b;font-size:11px}.detail-kpi strong{color:#1d426e;font-size:19px;font-variant-numeric:tabular-nums}.detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.detail-field{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 4px;border-bottom:1px solid #e9edf3;min-width:0;font-size:12px}.detail-field>span{color:#8593a5;flex:0 1 49%}.detail-field>strong{color:#293d56;flex:1;text-align:right;overflow-wrap:anywhere}.detail-lines-heading{margin:27px 0 12px;font-size:14px}.detail-lines{min-width:680px}.detail-lines th{background:#f6f9fd}.detail-lines td,.detail-lines th{padding:12px 14px}.balance-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 23px}.balance-block{padding:20px 24px;background:#fff;border:1px solid #e2eaf3;border-radius:15px;box-shadow:0 4px 20px #17376008}.balance-block h3{color:#334e70;font-size:12px;margin-bottom:14px}.balance-chips{display:flex;flex-wrap:wrap;gap:9px}.balance-chip{background:#eaf3ff;color:#3972b3;border-radius:9px;padding:9px 13px;font-size:12px}.balance-chip strong{font-weight:800;font-variant-numeric:tabular-nums;color:#22517d}@media(max-width:780px){.balance-bar,.detail-fields{grid-template-columns:1fr}.detail-modal .modal-body{padding:18px}.detail-kpi strong{font-size:16px}}.connection-indicator{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:7px 11px;border-radius:20px;font-weight:650;background:#f5f7fb;color:#718398;white-space:nowrap}.connection-indicator:before{content:"";height:7px;width:7px;border-radius:50%;background:#93a3b7}.connection-indicator.online{background:#e8f7ee;color:#207d54}.connection-indicator.online:before{background:#27ae70}.connection-indicator.offline{background:#fff0ed;color:#b54d42}.connection-indicator.offline:before{background:#e65d4b}@media(max-width:1120px){.connection-indicator{font-size:0;gap:0;padding:9px}.connection-indicator:before{width:8px;height:8px}}.modal.document-form-modal{width:min(1480px,calc(100vw - 32px));height:calc(100vh - 32px);max-height:none;min-height:500px}.document-form-modal form{display:flex;flex:1;flex-direction:column;min-height:0}.document-form-modal .modal-body{flex:1;min-height:0;max-height:none;overflow:auto}.document-form-modal .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 22px;margin-bottom:20px}.document-form-modal .line-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.document-form-modal .modal-foot{flex-shrink:0;background:#fff}.related-control{display:flex;flex-direction:column;min-width:0;gap:5px}.related-control label{min-width:0}.related-control select{width:100%;text-overflow:ellipsis}.related-control select:disabled{background:#f1f4f9;color:#6b7c90}.related-preview{padding:9px 11px;background:#f2f7fd;border:1px solid #e0ebf7;border-radius:8px;display:flex;flex-direction:column;gap:5px;color:#47749f;font-size:11px;font-weight:500;line-height:1.5}.related-preview small{color:#6c8aab;font-size:10px}.manufacturer-picker{display:flex;flex-direction:column;gap:8px;grid-column:span 2}.field-caption{font-size:11px;font-weight:650;color:#566983}.manufacturer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #dce5ef;border-radius:10px;max-height:220px;overflow-y:auto;background:#fbfdff}.manufacturer-option{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;padding:9px 12px;border:1px solid #e7eef7;border-radius:8px;background:#fff;cursor:pointer}.manufacturer-option input{height:16px!important;width:16px!important;flex-shrink:0;accent-color:#347fcd}.manufacturer-option span{overflow-wrap:anywhere}.manufacturer-picker>small{color:#8ca0b5;font-size:10px}.manufacturer-options{display:block;padding:0;max-height:265px;overflow:auto}.manufacturer-list th,.manufacturer-list td{padding:10px 12px}.manufacturer-list th:last-child,.manufacturer-list td:last-child{text-align:right}.manufacturer-list td{font-size:11px}.manufacturer-list td strong{color:#31506e}.manufacturer-list .manufacturer-option{display:inline-flex!important;border:0;padding:0;align-items:center;background:transparent;min-width:95px;justify-content:flex-end;font-size:10px}.manufacturer-list .manufacturer-option input{accent-color:#347fcd}.clearance-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px dashed #b6cbe4;border-radius:13px;min-height:160px;background:#f6faff;color:#4e83b6;text-align:center}.clearance-placeholder p{font-size:12px;color:#8097b1}.clearance-editor{margin-top:24px;border-top:1px solid #e8eef5;padding-top:22px}.clearance-invoice-summary{display:grid;grid-template-columns:1.5fr repeat(3,minmax(130px,1fr));gap:12px;padding:17px 20px;background:linear-gradient(105deg,#f0f7ff,#fbfdff);border:1px solid #dbe9f9;border-radius:13px}.clearance-invoice-summary>div{display:flex;flex-direction:column;gap:9px;justify-content:center}.clearance-invoice-summary>div+div{border-left:1px solid #d6e4f5;padding-left:17px}.clearance-invoice-summary h3{font-size:19px;color:#2b5684}.clearance-invoice-summary p{color:#7288a0;font-size:11px}.clearance-invoice-summary small{color:#7991ad;font-size:10px}.clearance-invoice-summary strong{font-size:15px;color:#1c4169;white-space:nowrap}.clearance-table-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:27px 0 14px}.clearance-table-heading h3{font-size:15px;color:#263e5b}.clearance-table-heading p{font-size:11px;color:#8498ad;margin-top:6px;line-height:1.6}.clearance-table{min-width:1120px;border:1px solid #e4ebf3}.clearance-table th{padding:12px 11px;background:#f1f6fc;color:#58718e;font-size:9px}.clearance-table td{padding:13px 11px;white-space:normal}.clearance-table td:first-child{min-width:150px}.clearance-table td strong,.clearance-table td small{display:block}.clearance-table td strong{font-size:11px;color:#314f71}.clearance-table td small{font-size:10px;color:#8ba0b5;margin-top:6px}.clearance-table tbody tr.clearance-selected{background:#f3faff}.clearance-table input{width:120px;max-width:100%;height:37px;border:1px solid #d6e2f0;border-radius:8px;padding:7px 10px;font-size:12px;color:#294462}.clearance-table input:focus{outline:2px solid #c2defb;border-color:#5796da}.clearance-table td:nth-child(4) input{width:110px;border-color:#76b1ee;font-weight:750;background:#f8fcff}.clearance-empty{text-align:center;padding:28px!important;color:#8aa2b9}.clearance-empty svg{vertical-align:middle;margin-right:8px}.clearance-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:15px;padding:17px 19px;background:#f6f9fd;border:1px solid #e8eef5;border-radius:11px;font-size:12px}.clearance-footer>div{display:flex;gap:24px;flex-wrap:wrap;color:#69819b}.clearance-footer strong{color:#285b91;font-size:14px}.clearance-footer small{color:#899eaf}@media(max-width:1050px){.document-form-modal .form-grid,.document-form-modal .line-fields,.clearance-invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.clearance-invoice-summary>div:nth-child(3){border-left:0;padding-left:0}}@media(max-width:650px){.modal.document-form-modal{width:calc(100vw - 12px);height:calc(100dvh - 12px);min-height:0}.document-form-modal .form-grid,.document-form-modal .line-fields,.manufacturer-options{grid-template-columns:1fr}.manufacturer-picker{grid-column:span 1}.clearance-invoice-summary{grid-template-columns:1fr}.clearance-invoice-summary>div+div,.clearance-invoice-summary>div:nth-child(3){border-left:0;padding:9px 0 0;border-top:1px solid #d6e4f5}.clearance-table-heading{align-items:flex-start;flex-direction:column}}.workbench-layer{position:fixed;left:264px;right:0;top:72px;bottom:0;z-index:95;display:flex;align-items:center;justify-content:center;padding:30px;pointer-events:none}.workbench-layer.is-maximized{background:#f5f7fb;pointer-events:auto;padding:14px 22px}.workbench-layer .workbench-panel{pointer-events:auto;width:min(1050px,100%);height:min(78vh,760px);max-height:none;min-height:0;display:flex;flex-direction:column;border-radius:14px;border:1px solid #dce7f3;box-shadow:0 16px 50px #1e41612b;background:#fff}.workbench-layer.is-maximized .workbench-panel{width:100%;height:100%;max-height:none;border-radius:13px;box-shadow:0 2px 16px #2c527512}.workbench-layer .workbench-panel.document-form-modal{max-width:none;min-height:0}.workbench-layer .workbench-panel form{display:flex;flex-direction:column;min-height:0;flex:1}.workbench-layer .workbench-panel .modal-body{flex:1;max-height:none;overflow:auto}.workbench-layer .workbench-panel .modal-head{padding:17px 24px;background:#fff;flex-shrink:0}.workbench-layer .workbench-panel .modal-head h2{font-size:17px}.workbench-layer .workbench-panel .workbench-error{margin:12px 24px 0;flex-shrink:0}.clearance-warning{display:flex;align-items:center;flex-wrap:wrap;gap:11px;border:1px solid #f3d49d;background:#fff8e9;color:#9a6a27;padding:12px 15px;border-radius:10px;font-size:11px;line-height:1.6;margin-bottom:18px}.clearance-warning span{flex:1;min-width:220px}.clearance-warning .primary{height:34px;font-size:11px}.workbench-layer .workbench-panel .modal-foot{background:#fff;flex-shrink:0}.workbench-layer .workbench-panel .excel-body{overflow:auto}.window-actions{display:flex;align-items:center;gap:7px}.window-actions .icon-btn{width:34px;height:32px;border-radius:8px}.window-actions .icon-btn:last-child:hover{background:#feecef;color:#ba344a}.minimized-tab{height:34px;border:1px solid #bad3ed;border-radius:8px;background:#eaf4ff;color:#2869a9;font-size:11px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;font-weight:700}.draft-reopen{color:#1f78ba!important;border-color:#b7d5ed!important;background:#f1f9ff!important}.action-confirm-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;background:#fffaed;border:1px solid #f1dab1;border-radius:12px;padding:13px 16px;margin-bottom:17px;color:#ac7131}.action-confirm-bar span{flex:1;font-size:11px;line-height:1.6;min-width:230px}.action-confirm-bar button{height:33px}.records-with-charts{display:flex;flex-direction:column;gap:24px}.workbench-layer .document-form-modal .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 19px}.workbench-layer .document-form-modal .line-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-clearance-history{margin-top:28px;padding:19px;border:1px solid #d6e5f8;border-radius:13px;background:#f8fbff}.invoice-clearance-history h3{font-size:15px;color:#234c78}.invoice-clearance-history>p{font-size:11px;color:#7a91a9;line-height:1.6;margin:9px 0 17px}.invoice-clearance-history table{background:#fff;border:1px solid #e1ebf5}.invoice-clearance-history td,.invoice-clearance-history th{padding:12px 15px}.rights-matrix{grid-column:1/-1;min-width:0;border:1px solid #d9e6f4;background:#f9fcff;padding:20px;border-radius:13px;margin-top:8px}.rights-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.rights-heading>div{display:flex;gap:10px;align-items:center;color:#285f94;font-size:14px}.rights-heading>span{background:#e4f3ff;color:#3275ac;font-size:10px;padding:6px 10px;border-radius:20px;font-weight:750}.rights-matrix>p,.user-projects-picker>p{font-size:11px;line-height:1.6;color:#7f96af;margin:9px 0 15px}.rights-table{min-width:840px;background:#fff;border:1px solid #e0e9f5;border-radius:10px;overflow:hidden}.rights-table th{text-align:center;background:#e9f2fc;padding:12px 10px;color:#607d9b}.rights-table th:first-child{text-align:left;min-width:174px}.rights-table td{padding:10px 12px;border-bottom:1px solid #eff3f8}.rights-table td:first-child strong{display:block;color:#38536e;font-size:11px}.rights-table td:first-child small{display:block;color:#9aacbc;margin-top:3px;font-size:9px}.rights-table tr:nth-child(2n){background:#fafdff}.rights-table .permission-cell{text-align:center}.rights-table input[type=checkbox]{height:17px;width:17px;accent-color:#347bc5;cursor:pointer}.rights-table input:disabled{opacity:.32;cursor:not-allowed}.rights-note{font-size:10px;line-height:1.6;color:#8c9eb2;display:flex;align-items:flex-start;gap:9px;margin-top:13px}.rights-note svg{flex-shrink:0}.user-projects-picker{grid-column:1/-1;padding:17px;border:1px solid #dce8f5;border-radius:11px}.user-projects-picker>strong{font-size:12px;color:#376081}.user-project-options{display:flex;flex-wrap:wrap;gap:9px}.user-project-options label{flex-direction:row!important;align-items:center!important;background:#f5f9fd;border:1px solid #dce8f5;border-radius:8px;padding:9px 13px}.user-project-options input{height:16px!important;width:16px!important;accent-color:#347bc5}.kpi-grid .metric-card{background:linear-gradient(150deg,#fff 60%,#f0f7ff);border-color:#dfeafa;transition:transform .2s,box-shadow .2s}.kpi-grid .metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px #254e7c14}.kpi-grid .metric-value{color:#1d426b}.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin-top:22px}.chart-panel,.partner-analytics{background:#fff;border:1px solid #e0e9f4;border-radius:15px;padding:23px;box-shadow:0 6px 24px #1d4b710c}.chart-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.chart-heading h3{font-size:14px;color:#2c4868}.chart-heading p{font-size:11px;color:#8b9db1;margin-top:5px}.chart-icon{display:inline-flex;align-items:center;justify-content:center;height:42px;width:42px;flex-shrink:0;border-radius:12px}.chart-icon.blue{color:#3983ce;background:#e7f2ff}.chart-icon.rose{color:#c9727b;background:#fff0f2}.chart-icon.violet{color:#785dba;background:#efeafa}.currency-chart-group{margin-bottom:17px}.currency-chart-group:last-child{margin-bottom:0}.currency-label{display:inline-flex;color:#316c9e;background:#eaf4ff;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:750;margin-bottom:10px}.chart-bar-row{margin-bottom:13px}.chart-bar-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.chart-bar-meta span{font-size:11px;color:#6e849c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-bar-meta strong{color:#34506c;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.chart-track{height:10px;overflow:hidden;background:#edf3f9;border-radius:20px}.chart-fill{height:100%;border-radius:20px;min-width:2px}.chart-fill.blue{background:linear-gradient(90deg,#5ba5ee,#2b75bf)}.chart-fill.rose{background:linear-gradient(90deg,#ef9fa1,#cb6c7b)}.chart-empty{color:#98a9bc;font-size:11px;padding:23px;text-align:center}.partner-analytics{padding:25px}.partner-intro{display:flex;align-items:center;gap:14px;margin-bottom:23px}.partner-intro h2{font-size:18px;color:#294568}.partner-intro p{font-size:11px;color:#869db3;line-height:1.6;margin-top:7px}.partner-currency{border:1px solid #e3edf8;border-radius:13px;padding:20px;margin-bottom:17px;background:#fcfdff}.partner-currency-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.partner-currency-title h3{font-size:13px;color:#356a9a}.partner-currency-title span{font-size:10px;color:#92a4b9}.partner-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:22px}.partner-summary-cards>div{border:1px solid #e4ebf4;background:#fff;border-radius:11px;padding:15px;display:flex;flex-direction:column;gap:10px;min-width:0}.partner-summary-cards>div svg{color:#5287be}.partner-summary-cards small{font-size:10px;line-height:1.5;color:#8196aa}.partner-summary-cards strong{font-size:16px;font-variant-numeric:tabular-nums;color:#294b6d;overflow-wrap:anywhere}.partner-summary-cards strong.negative{color:#ca536b}.partner-project-chart{display:flex;flex-direction:column;gap:19px}.partner-line-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:10px}.partner-line-heading strong{color:#3b5672;font-size:12px}.partner-line-heading span{color:#8ba0b6;font-size:11px}.partner-stacked-bar{display:flex;align-items:stretch;overflow:hidden;height:16px;border-radius:20px;background:#eaf0f6}.partner-stacked-bar span{display:block;height:100%;transition:width .2s;flex-shrink:0}.partner-used{background:#538bd2}.partner-available{background:#3fbea4}.partner-pending{background:#d9e5f1}.partner-line-values{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:10px;color:#7e95aa;margin-top:9px}.partner-overdraw{color:#ba4151;background:#fff0f2;border-radius:7px;padding:9px 12px;margin-top:8px;font-size:10px}.partner-chart-legend{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;font-size:10px;color:#8397aa}.partner-chart-legend span{display:flex;align-items:center;gap:7px}.partner-chart-legend i{height:10px;width:10px;border-radius:3px}.partner-chart-legend .used{background:#538bd2}.partner-chart-legend .available{background:#3fbea4}.partner-chart-legend .pending{background:#d9e5f1}@media(max-width:1150px){.workbench-layer{left:264px;padding:15px}.partner-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-charts{grid-template-columns:1fr}.workbench-layer .document-form-modal .form-grid,.workbench-layer .document-form-modal .line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.workbench-layer{left:0;top:64px;padding:8px}.workbench-layer.is-maximized{padding:4px}.workbench-layer .workbench-panel{height:92%;width:99%}.workbench-layer.is-maximized .workbench-panel{height:100%;width:100%;border-radius:8px}.workbench-layer .document-form-modal .form-grid,.workbench-layer .document-form-modal .line-fields{grid-template-columns:1fr}.partner-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.minimized-tab{font-size:0;padding:0 9px}.minimized-tab svg{height:16px;width:16px}}@media(max-width:590px){.partner-summary-cards{grid-template-columns:1fr 1fr}.partner-summary-cards strong{font-size:13px}.partner-intro h2{font-size:15px}.partner-analytics{padding:14px}.partner-currency{padding:12px}.window-actions{gap:2px}.window-actions .icon-btn{width:29px}.workbench-layer .workbench-panel .modal-head{padding:14px}.rights-matrix{padding:12px}.invoice-clearance-history{padding:10px}}.dashboard-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.72fr);align-items:stretch;gap:24px;overflow:hidden;padding:30px 34px;border:1px solid #164477;border-radius:20px;margin:0 0 24px;background:radial-gradient(ellipse at 82% 15%,#2b73b8 0%,transparent 46%),linear-gradient(112deg,#0b284f,#153b71 70%,#1b5485);box-shadow:0 18px 45px #144c8f24;color:#fff}.dashboard-hero:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #ffffff19;border-radius:50%;right:16%;bottom:-175px;box-shadow:0 0 0 40px #ffffff08,0 0 0 90px #ffffff08;pointer-events:none}.dashboard-hero-copy,.dashboard-hero-side{position:relative;z-index:1}.dashboard-hero-tag{display:inline-flex;align-items:center;gap:7px;color:#b6daff;font-size:10px;letter-spacing:.11em;font-weight:800}.dashboard-hero h2{margin:13px 0 9px;font-size:26px;font-weight:800;line-height:1.18;letter-spacing:-.035em;color:#fff}.dashboard-hero p{max-width:470px;font-size:12px;color:#bfd3ea;line-height:1.75}.dashboard-hero-actions{display:flex;gap:9px;margin-top:20px}.dashboard-hero-actions button{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border-radius:9px;border:1px solid #ffffff35;background:#ffffff18;color:#fff;font-weight:700;font-size:11px}.dashboard-hero-actions button:first-child{background:#fff;color:#144a82;border-color:#fff}.dashboard-hero-actions button:hover{transform:translateY(-1px)}.dashboard-hero-side{display:flex;flex-direction:column;justify-content:center;border:1px solid #c0ddff38;border-radius:16px;padding:20px 23px;background:#ffffff0d;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.dashboard-hero-side>span{display:flex;align-items:center;gap:7px;color:#d0e6fc;font-size:11px}.dashboard-hero-side>strong{font-size:38px;letter-spacing:-.055em;margin:8px 0 0;font-variant-numeric:tabular-nums}.dashboard-hero-side>small{color:#a9c9eb;font-size:10px}.dashboard-hero-mini{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px;border-top:1px solid #ffffff26;padding-top:15px}.dashboard-hero-mini span{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#d3e9ff}.metric-card{position:relative;overflow:hidden}.metric-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#4f9beb,#82c7fd)}.metric-card:nth-child(2):before{background:#eaa058}.metric-card:nth-child(3):before{background:#9985ec}.metric-card:nth-child(4):before{background:#40b9a0}.partner-expense-action{margin-top:11px;border:1px solid #bad6f2;background:#e9f4ff;color:#28689e;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:750;display:inline-flex;gap:8px;align-items:center}.partner-expense-action:hover{background:#d7ebff}.form-currency-note{display:flex;align-items:center;gap:9px;border-radius:10px;border:1px solid #cfe3f7;background:#f0f7ff;color:#356f9e;font-size:11px;line-height:1.7;padding:12px 15px;margin:8px 0 16px}.form-currency-note svg{flex-shrink:0}.action-confirm-bar{display:block;padding:17px 20px;color:#79522b}.action-confirm-heading{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:750}.action-confirm-heading span{font-size:13px;min-width:0}.action-confirm-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.action-confirm-buttons button{height:36px}.dependency-loading{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:11px}.dependency-inspector{margin-top:15px;border-radius:12px;border:1px solid #f2d8ae;background:#fff;padding:15px;color:#40546b}.dependency-summary{display:flex;align-items:start;gap:11px;margin-bottom:12px}.dependency-summary>svg{color:#cc7650;flex-shrink:0}.dependency-summary strong{font-size:12px;color:#39536b}.dependency-summary p{font-size:11px;line-height:1.6;color:#73869d;margin-top:5px}.dependency-scroll{max-height:325px;overflow:auto;padding:10px;background:#f7f9fd;border-radius:9px}.dependency-root,.dependency-root ul{margin:0;padding:0;list-style:none}.dependency-root ul{margin-left:12px;padding-left:15px;border-left:1px dashed #b9cfe3}.dependency-node{padding:4px 0}.dependency-row{display:flex;align-items:center;gap:7px;padding:5px 7px;border-radius:6px;background:#fff;border:1px solid #e7edf5;font-size:11px;line-height:1.5;color:#435b76}.dependency-row.root{font-size:12px;background:#e9f2ff;color:#2a6298;border-color:#cfe2f5}.dependency-row svg{color:#80a0bc;flex-shrink:0}.dependency-blocker>.dependency-row{background:#fff8f1;border-color:#f1d8ba}.dependency-blocker>.dependency-row svg:last-child{color:#d1834c}.dependency-none{color:#8b9eb2;font-size:11px;margin:10px}.theme-toggle{border:1px solid #c8dced}.excel-dependencies{margin-top:20px;border-top:1px solid #d8e5f1;padding-top:18px}.excel-dependencies>p{font-size:11px;color:#72899f;line-height:1.6;margin:7px 0 12px}.excel-impact{margin:13px 0}.excel-impact>small{font-size:10px;color:#778fa8;font-weight:700}.excel-impact .dependency-inspector{margin-top:7px}.app-shell[data-theme=light]{background:#f5f7fb;color:#19273d}.app-shell[data-theme=dark]{--dark-bg:#0d1626;--dark-surface:#16243a;--dark-soft:#1c304a;--dark-line:#2a415c;--dark-text:#e8f1ff;--dark-muted:#a2b8d3;background:var(--dark-bg);color:var(--dark-text)}.app-shell[data-theme=dark] .sidebar{background:#0a1424;color:#b0c5df;border-right:1px solid #1e314b}.app-shell[data-theme=dark] .sidebar-bottom{border-color:#253752}.app-shell[data-theme=dark] .nav-link.active{background:#1a4671}.app-shell[data-theme=dark] .main-area,.app-shell[data-theme=dark] .workbench-layer.is-maximized{background:#0d1626}.app-shell[data-theme=dark] .topbar,.app-shell[data-theme=dark] .panel,.app-shell[data-theme=dark] .balance-block,.app-shell[data-theme=dark] .metric-card,.app-shell[data-theme=dark] .chart-panel,.app-shell[data-theme=dark] .partner-analytics,.app-shell[data-theme=dark] .partner-currency,.app-shell[data-theme=dark] .partner-summary-cards>div,.app-shell[data-theme=dark] .workbench-panel,.app-shell[data-theme=dark] .workbench-layer .workbench-panel .modal-head,.app-shell[data-theme=dark] .workbench-layer .workbench-panel .modal-foot,.app-shell[data-theme=dark] .modal,.app-shell[data-theme=dark] .rights-table,.app-shell[data-theme=dark] .manufacturer-options,.app-shell[data-theme=dark] .invoice-clearance-history table{background:#16243a;color:#e8f1ff;border-color:#2a415c;box-shadow:none}.app-shell[data-theme=dark] .metric-card{background:linear-gradient(140deg,#192c46,#16243a 80%)}.app-shell[data-theme=dark] .page-head h1,.app-shell[data-theme=dark] h2,.app-shell[data-theme=dark] h3,.app-shell[data-theme=dark] .metric-value,.app-shell[data-theme=dark] .strong,.app-shell[data-theme=dark] .num,.app-shell[data-theme=dark] .detail-field>strong,.app-shell[data-theme=dark] .partner-intro h2,.app-shell[data-theme=dark] .partner-summary-cards strong,.app-shell[data-theme=dark] .partner-line-heading strong,.app-shell[data-theme=dark] .chart-heading h3,.app-shell[data-theme=dark] .chart-bar-meta strong,.app-shell[data-theme=dark] .balance-block h3{color:#e8f1ff}.app-shell[data-theme=dark] .dashboard-hero h2{color:#fff}.app-shell[data-theme=dark] .breadcrumb-current,.app-shell[data-theme=dark] .page-head p,.app-shell[data-theme=dark] .chart-heading p,.app-shell[data-theme=dark] .chart-bar-meta span,.app-shell[data-theme=dark] .detail-field>span,.app-shell[data-theme=dark] .partner-intro p,.app-shell[data-theme=dark] .partner-summary-cards small,.app-shell[data-theme=dark] .partner-line-values,.app-shell[data-theme=dark] .metric-note,.app-shell[data-theme=dark] .metric-head{color:#a6bdd6}.app-shell[data-theme=dark] table,.app-shell[data-theme=dark] .invoice-clearance-history,.app-shell[data-theme=dark] .rights-matrix,.app-shell[data-theme=dark] .user-projects-picker,.app-shell[data-theme=dark] .line-card,.app-shell[data-theme=dark] .line-editor,.app-shell[data-theme=dark] .related-preview,.app-shell[data-theme=dark] .detail-kpi,.app-shell[data-theme=dark] .clearance-invoice-summary,.app-shell[data-theme=dark] .clearance-footer,.app-shell[data-theme=dark] .preview-result,.app-shell[data-theme=dark] .mapping-box,.app-shell[data-theme=dark] .excel-intro,.app-shell[data-theme=dark] .manufacturer-option,.app-shell[data-theme=dark] .upload-zone,.app-shell[data-theme=dark] .user-project-options label,.app-shell[data-theme=dark] .form-currency-note{background:#1c304a;color:#c0d3e9;border-color:#324a68}.app-shell[data-theme=dark] th,.app-shell[data-theme=dark] .document-table th,.app-shell[data-theme=dark] .clearance-table th,.app-shell[data-theme=dark] .rights-table th{background:#203650;color:#b7c9df;border-color:#314a67}.app-shell[data-theme=dark] td,.app-shell[data-theme=dark] .document-table td,.app-shell[data-theme=dark] .rights-table td,.app-shell[data-theme=dark] .detail-field,.app-shell[data-theme=dark] .modal-head,.app-shell[data-theme=dark] .modal-foot{color:#cad9eb;border-color:#2b4058}.app-shell[data-theme=dark] tbody tr:nth-child(2n),.app-shell[data-theme=dark] .rights-table tr:nth-child(2n){background:#192a42}.app-shell[data-theme=dark] tbody tr:hover,.app-shell[data-theme=dark] .document-table tbody tr:hover{background:#243c59}.app-shell[data-theme=dark] .secondary,.app-shell[data-theme=dark] .icon-btn,.app-shell[data-theme=dark] .tiny-btn,.app-shell[data-theme=dark] .pagination button,.app-shell[data-theme=dark] .small-select,.app-shell[data-theme=dark] .minimized-tab,.app-shell[data-theme=dark] .partner-expense-action{background:#233851!important;color:#d2e6fb!important;border-color:#385573!important}.app-shell[data-theme=dark] .form-grid input,.app-shell[data-theme=dark] .form-grid select,.app-shell[data-theme=dark] .line-fields input,.app-shell[data-theme=dark] .line-fields select,.app-shell[data-theme=dark] .search-field input,.app-shell[data-theme=dark] .mapping-row select,.app-shell[data-theme=dark] .clearance-table input,.app-shell[data-theme=dark] input,.app-shell[data-theme=dark] select,.app-shell[data-theme=dark] textarea{background:#101e31;color:#e8f1ff;border-color:#36516e;color-scheme:dark}.app-shell[data-theme=dark] .search-field,.app-shell[data-theme=dark] .clearance-table,.app-shell[data-theme=dark] .partner-currency,.app-shell[data-theme=dark] .partner-summary-cards>div{border-color:#324961}.app-shell[data-theme=dark] .form-grid label,.app-shell[data-theme=dark] .line-fields label,.app-shell[data-theme=dark] .field-caption,.app-shell[data-theme=dark] .mapping-row span,.app-shell[data-theme=dark] .column-picker label{color:#b8cde5}.app-shell[data-theme=dark] .balance-chip,.app-shell[data-theme=dark] .currency-label,.app-shell[data-theme=dark] .status.neutral,.app-shell[data-theme=dark] .connection-indicator{background:#263d5b;color:#badafc}.app-shell[data-theme=dark] .balance-chip strong,.app-shell[data-theme=dark] .detail-kpi strong,.app-shell[data-theme=dark] .clearance-invoice-summary strong,.app-shell[data-theme=dark] .clearance-invoice-summary h3{color:#e2f0ff}.app-shell[data-theme=dark] .chart-track,.app-shell[data-theme=dark] .partner-stacked-bar{background:#30475f}.app-shell[data-theme=dark] .dependency-inspector{background:#192b42;border-color:#546079}.app-shell[data-theme=dark] .dependency-summary strong{color:#edf5ff}.app-shell[data-theme=dark] .dependency-summary p{color:#adc1d8}.app-shell[data-theme=dark] .dependency-scroll{background:#101f33}.app-shell[data-theme=dark] .dependency-row,.app-shell[data-theme=dark] .dependency-row.root{background:#213750;color:#e4eeff;border-color:#365370}.app-shell[data-theme=dark] .dependency-blocker>.dependency-row{background:#45352c;border-color:#7b5642}.app-shell[data-theme=dark] .action-confirm-bar{background:#342b25;border-color:#745037;color:#f4caa2}.app-shell[data-theme=dark] .partner-overdraw,.app-shell[data-theme=dark] .banner.error{background:#49303a;color:#ffc3cb;border-color:#8f4a60}@media(max-width:970px){.dashboard-hero{grid-template-columns:1fr}.dashboard-hero-side{max-width:none}.dashboard-hero h2{font-size:24px}}@media(max-width:540px){.dashboard-hero{padding:23px 18px;gap:16px}.dashboard-hero h2{font-size:21px}.dashboard-hero-side>strong{font-size:30px}.action-confirm-buttons{flex-wrap:wrap}.dependency-root ul{margin-left:3px;padding-left:8px}}.metric-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;text-align:left;cursor:pointer;font:inherit;color:inherit;transition:transform .16s,box-shadow .16s}.metric-action:hover,.metric-action:focus-visible{transform:translateY(-3px);box-shadow:0 14px 36px #2868ad28;outline:2px solid #97bcf0;outline-offset:2px}.dashboard-hero-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;color:#fff;cursor:pointer;font:inherit}.dashboard-hero-action:hover{background:#ffffff1f;border-color:#ffffff65}.balance-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:left;font:inherit;flex:1}.balance-action:hover{border-color:#85b9f1}.comment-field{grid-column:1 / -1}.comment-field textarea{width:100%;min-height:86px;resize:vertical;padding:12px 14px;border:1px solid #cbd9e8;border-radius:10px;font:inherit;color:#173457;background:#fff}.partner-summary-five{grid-template-columns:repeat(5,minmax(0,1fr))!important}.partner-profit-card{background:linear-gradient(160deg,#f3f0ff,#fbfaff)!important;border-color:#b9aaed!important}.partner-profit-card>svg{color:#7e62c7}.partner-profit-detail{margin-top:10px;border-radius:10px;padding:10px 12px;background:#eee9ff;color:#6246a3;display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px}.partner-profit-detail small{margin-left:auto;color:#7968a2}.movement-report{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.movement-toolbar{padding:20px 22px}.movement-heading{display:flex;align-items:center;gap:12px;color:#367bc3}.movement-heading h2{margin:0;color:#173457;font-size:19px}.movement-heading p{margin:3px 0 0;font-size:12px;color:#7e92ab}.movement-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:18px}.movement-filters>label{display:flex;flex-direction:column;gap:6px;color:#627a95;font-size:12px;font-weight:650}.movement-filters input,.movement-filters select{border:1px solid #d5e1ef;border-radius:8px;height:38px;padding:0 10px;background:#fff;color:#1e4268;font-size:12px}.movement-search-input{display:flex;align-items:center;gap:4px;padding-left:9px;border:1px solid #d5e1ef;border-radius:8px;background:#fff}.movement-search-input input{border:none;outline:none}.movement-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px}.movement-summary-card{padding:17px}.movement-summary-caption{font-size:11px;font-weight:800;color:#447eb3}.movement-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.movement-amounts span{display:flex;flex-direction:column;gap:5px}.movement-amounts small{font-size:11px;color:#7d94ae}.movement-amounts strong{font-size:17px;color:#19436e;font-variant-numeric:tabular-nums}.movement-invoice{overflow:hidden}.movement-invoice-title{width:100%;display:flex;align-items:center;gap:13px;padding:16px 20px;text-align:left;border:0;background:transparent;color:#1b4775;cursor:pointer}.movement-invoice-title>span{display:flex;flex-direction:column;flex:1;gap:4px}.movement-invoice-title small{font-size:11px;color:#7d95b0}.movement-invoice-title>b{font-size:15px;font-variant-numeric:tabular-nums}.movement-table{width:100%;border-collapse:collapse;font-size:12px}.movement-table th,.movement-table td{padding:12px 11px;border-bottom:1px solid #e2eaf3;text-align:left;white-space:nowrap}.movement-table td.num{text-align:right;font-variant-numeric:tabular-nums}.movement-table th{background:#f2f6fb;color:#54708d;font-size:10px;font-weight:800;text-transform:uppercase}.movement-table td:first-child{white-space:normal;min-width:180px}.movement-table td small{display:block;margin-top:4px;color:#8da0b4}.movement-total{background:#eaf3ff;font-weight:800;color:#285b8e}.movement-empty{padding:20px;color:#728fac}.movement-count{text-align:right;font-size:11px;color:#8296aa}.dashboard-details-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#091e39a8;z-index:145;display:flex;align-items:center;justify-content:center;padding:24px}.dashboard-details-panel{display:flex;flex-direction:column;width:min(1300px,96vw);max-height:92vh;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 26px 90px #071c4060}.dashboard-details-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e0e8f2}.dashboard-details-head h2{display:flex;align-items:center;gap:10px;color:#19446f;font-size:22px;margin:6px 0 0}.dashboard-details-content{padding:16px 24px;overflow:auto;flex:1}.dashboard-details-content>p{font-size:12px;color:#71839b;margin:0 0 14px}.dashboard-details-total{text-align:right;padding:17px;background:#edf5ff;font-size:16px;font-weight:800;color:#155c9c}.dashboard-details-panel footer{padding:12px 24px;border-top:1px solid #e0e8f2;text-align:right}.astor-upload-animation{border:1px solid #c0d9f8;background:linear-gradient(130deg,#f3f8ff,#e7f1ff);border-radius:14px;padding:22px;margin:12px 0 20px;display:flex;align-items:center;flex-direction:column;gap:8px;color:#1d4f89;text-align:center}.astor-startup-loading{position:fixed;top:0;right:0;bottom:0;left:0;z-index:250;background:radial-gradient(circle at 50% 40%,#25568f,#0b2140 70%);display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;color:#fff}.astor-startup-loading>.astor-pulse{width:92px;height:92px;border-radius:25px}.astor-startup-loading>strong{font-size:18px;letter-spacing:.14em}.astor-startup-loading>span{font-size:12px;color:#b7cfe9}.astor-startup-loading .astor-loading-track{max-width:260px;background:#ffffff26}.astor-upload-animation p{margin:0;font-size:12px;color:#6b8cad}.astor-pulse{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:16px;color:#fff;background:#3a87d9;animation:astor-pulse 1.1s ease-in-out infinite}.astor-loading-track{height:6px;width:min(360px,85%);overflow:hidden;background:#cbdff6;border-radius:12px;margin:14px 0 3px}.astor-loading-track span{display:block;background:linear-gradient(90deg,#2978d6,#62cbd5);width:100%;height:100%;transform-origin:left;animation:astor-fill 3s linear forwards}@keyframes astor-pulse{0%,to{transform:scale(.9);box-shadow:0 0 #4a91da20}50%{transform:scale(1.06);box-shadow:0 0 0 15px #4a91da10}}@keyframes astor-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.app-shell[data-theme=dark] .partner-profit-card{background:#282747!important;border-color:#60548c!important}.app-shell[data-theme=dark] .partner-profit-detail{background:#332b52;color:#d9cafb}.app-shell[data-theme=dark] .movement-heading h2,.app-shell[data-theme=dark] .movement-invoice-title,.app-shell[data-theme=dark] .movement-amounts strong{color:#e6efff}.app-shell[data-theme=dark] .movement-filters input,.app-shell[data-theme=dark] .movement-filters select,.app-shell[data-theme=dark] .movement-search-input{background:#101e31;border-color:#36516e;color:#e8f1ff}.app-shell[data-theme=dark] .dashboard-details-panel{background:#16243a;color:#e8f1ff}.app-shell[data-theme=dark] .dashboard-details-head,.app-shell[data-theme=dark] .dashboard-details-panel footer{border-color:#2a415c}.app-shell[data-theme=dark] .dashboard-details-head h2{color:#e8f1ff}.app-shell[data-theme=dark] .astor-upload-animation{background:linear-gradient(130deg,#172c47,#1f3c64);border-color:#32517c;color:#d3e8ff}@media(max-width:1150px){.partner-summary-five{grid-template-columns:repeat(3,minmax(0,1fr))!important}.movement-amounts strong{font-size:14px}}@media(max-width:650px){.partner-summary-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}.movement-toolbar{padding:16px}.movement-amounts{grid-template-columns:1fr}.dashboard-details-backdrop{padding:5px}.dashboard-details-panel{max-height:98vh;width:100%}}@media(prefers-reduced-motion:reduce){.astor-pulse,.astor-loading-track span{animation:none;transform:none}}.exchange-rates-strip{display:flex;gap:22px;align-items:center;justify-content:space-between;padding:14px 20px;margin:0 0 18px;border-radius:15px;background:linear-gradient(110deg,#fff,#f2f7ff);border:1px solid #d8e5f2;box-shadow:0 8px 26px #133e6c0b}.exchange-rates-title{display:flex;align-items:center;gap:11px;color:#347bc4}.exchange-rates-title>span{display:flex;flex-direction:column;gap:5px}.exchange-rates-title strong{font-size:13px;color:#14375e}.exchange-rates-title small{font-size:11px;color:#6b88a8}.exchange-rates-title a{color:#2b76ba;font-weight:700}.exchange-rates-values{display:flex;flex-wrap:wrap;align-items:center;gap:11px}.rate-pill{display:flex;gap:9px;align-items:baseline;padding:8px 13px;border:1px solid #d3e4f8;border-radius:10px;background:#fff}.rate-pill span{font-size:10px;font-weight:850;color:#4383c9;letter-spacing:.07em}.rate-pill strong{font-size:17px;color:#173e6b;white-space:nowrap;font-variant-numeric:tabular-nums}.rate-pill small{font-size:10px;color:#8098b1}.dashboard-kpi-three{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-kpi-three .metric-card:first-child .metric-value{font-size:clamp(17px,2vw,29px);line-height:1.24;overflow-wrap:anywhere}.dashboard-hero-side .hero-customs-value{font-size:clamp(20px,2.5vw,34px);line-height:1.3;overflow-wrap:anywhere}.app-shell[data-theme=dark] .exchange-rates-strip{background:#16243a;border-color:#2b4260}.app-shell[data-theme=dark] .rate-pill{background:#20334e;border-color:#345374}.app-shell[data-theme=dark] .exchange-rates-title strong,.app-shell[data-theme=dark] .rate-pill strong{color:#e4f0ff}.app-shell[data-theme=dark] .exchange-rates-title small{color:#a4c0df}@media(max-width:1100px){.exchange-rates-strip{align-items:flex-start;flex-direction:column}.dashboard-kpi-three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dashboard-kpi-three{grid-template-columns:1fr}.rate-pill{flex:1;justify-content:center}.exchange-rates-values{width:100%}}
