@charset "UTF-8";:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f7fb}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}input,select,textarea{width:100%;border:1px solid #d9deea;border-radius:14px;padding:12px 14px;background:#fff;color:#172033;outline:none}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:44px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px 18px}textarea{min-height:84px;resize:vertical}.app{display:flex;min-height:100vh}aside{width:270px;background:#101828;color:#fff;padding:22px;display:flex;flex-direction:column;gap:10px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-size:18px;margin-bottom:22px}.brand svg{width:26px;height:26px;color:#8ea0ff}.nav,.logout{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;color:#cbd5e1;background:transparent;text-align:left}.nav:hover,.nav.active{background:#1d2939;color:#fff}.logout{margin-top:auto;color:#fca5a5}main{flex:1;padding:0 34px 34px}header{height:72px;display:flex;align-items:center;justify-content:flex-end}header div{background:#fff;border:1px solid #e7eaf2;border-radius:18px;padding:10px 16px;display:flex;gap:10px;align-items:center;box-shadow:0 8px 24px #1018280a}header span{color:#697386}.pageHead{display:flex;justify-content:space-between;align-items:flex-start;margin:12px 0 22px}.pageHead h1{margin:0;font-size:30px;letter-spacing:-.04em}.pageHead p{margin:8px 0 0;color:#667085}.primary,.secondary,.success,.danger,.ghost,.link,.chip{border-radius:14px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700}.link{background:transparent;color:#5661f6;width:100%}.card{background:#fff;border:1px solid #e7eaf2;border-radius:24px;box-shadow:0 18px 45px #1018280f;overflow:hidden}.accountsStrip{display:flex;gap:12px;overflow:auto;margin-bottom:18px;padding-bottom:4px}.acc{min-width:230px;border:1px solid #e7eaf2;background:#fff;border-radius:22px;padding:16px;text-align:left;display:grid;gap:8px;box-shadow:0 10px 28px #1018280a}.acc span{color:#667085;font-size:12px}.acc b{font-size:16px}.acc strong{font-size:22px;letter-spacing:-.04em}.acc.active{border-color:#5661f6;box-shadow:0 14px 34px #5661f624}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.toolbar>div{display:flex;gap:10px;flex-wrap:wrap}th,td{padding:15px 18px;border-bottom:1px solid #edf0f6;text-align:left;vertical-align:middle}th{font-size:12px;text-transform:uppercase;color:#7b8497;background:#fbfcff}.rowActions{display:flex;justify-content:flex-end;gap:8px}.rowActions button{border:1px solid #e4e7ec;background:#fff;border-radius:10px;padding:8px;color:#344054}.rowActions svg{width:16px;height:16px}.badge{display:inline-flex;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.empty{padding:34px;text-align:center;color:#7b8497}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#10182880;display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:28px;padding:24px;box-shadow:0 30px 90px #10182859}.modalHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modalHead h2{margin:0;font-size:23px}.field{display:grid;gap:8px;margin-bottom:14px}.field span{font-size:13px;font-weight:800;color:#344054}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px;background:#f2f4f7;border-radius:16px;padding:6px}.toggle button{border-radius:12px;padding:12px;background:transparent;font-weight:800;color:#667085}.toggle button.active{background:#fff;color:#101828;box-shadow:0 8px 20px #10182814}.bankGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.bank{border:1px solid #e4e7ec;background:#fff;border-radius:18px;padding:18px;font-weight:900}.bank.active{border-color:#5661f6;background:#eef2ff;color:#3440d6}.checkrow{display:flex;gap:12px;align-items:center;border:1px solid #e4e7ec;border-radius:16px;padding:14px;margin:10px 0}.checkrow small,.muted{color:#667085}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e7eaf2;border-radius:18px;padding:0 14px;margin-bottom:16px}.search svg{color:#98a2b3}.search input{border:0;box-shadow:none}.cardsGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.companyCard{background:#fff;border:1px solid #e7eaf2;border-radius:24px;padding:20px;box-shadow:0 14px 34px #1018280d}.companyCard.active{border-color:#5661f6}.companyCard svg{color:#5661f6}.companyCard h3{margin:14px 0 6px}.companyCard p{color:#667085}.auth{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.authCard{width:min(460px,92vw);background:#fff;border:1px solid #e7eaf2;border-radius:28px;padding:28px;box-shadow:0 24px 70px #1018281f}.authCard h1{margin:0 0 18px;font-size:30px}.alert{background:#fef2f2;color:#b42318;border:1px solid #fecaca;border-radius:14px;padding:12px;margin-bottom:14px}@media (max-width: 900px){aside{width:84px;padding:14px}.brand b,.nav:not(.active),.nav span,.logout{font-size:0}.nav{justify-content:center}.pageHead,.toolbar{display:grid;gap:12px}.grid2,.grid3,.bankGrid{grid-template-columns:1fr}main{padding:0 16px 24px}th:nth-child(3),td:nth-child(3),th:nth-child(4),td:nth-child(4){display:none}}.acc.synced{background:linear-gradient(180deg,#fff,#f5f8ff)}.acc.synced span:after{content:"●";color:#16a34a;margin-left:6px}.dangerText{color:#b42318!important}.sidebarCompanies{display:grid;gap:8px;margin:-8px 0 14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.sideCompany{width:100%;min-height:58px;border:1px solid rgba(255,255,255,.08);background:#172033;color:#fff;border-radius:16px;padding:10px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;text-align:left}.sideCompany:hover,.sideCompany.active{background:#202b3d;border-color:#5d6bff}.sideCompany.active{box-shadow:0 0 0 1px #5d6bff inset}.sideCompanyAvatar{width:38px;height:38px;border-radius:12px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;line-height:1}.sideCompanyAvatar svg{width:18px;height:18px}.sideCompanyText{min-width:0;display:grid;gap:3px}.sideCompanyText b{font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sideCompanyText small{font-size:11px;line-height:1.2;color:#aeb9ca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emptyCompany{opacity:.72}.settingsToggle{position:relative}.settingsChevron{width:16px;height:16px;margin-left:auto;transition:transform .15s ease}.settingsChevron.open{transform:rotate(180deg)}.settingsSubnav{display:grid;gap:5px;margin:-2px 0 6px 34px;padding:4px 0}.settingsSubnav button{width:100%;background:transparent;color:#aeb9ca;text-align:left;border-radius:13px;padding:10px 13px;font-weight:800;font-size:13px}.settingsSubnav button:hover{background:#ffffff0f;color:#eef2ff}.settingsSubnav button.active{background:#202b3d;color:#fff;box-shadow:inset 0 0 0 1px #ffffff0a}.sidebarFooter{margin-top:auto;display:grid;gap:10px}.sidebarFooter .logout{margin-top:0}.sidebarCompanies{position:relative}.sideCompany{grid-template-columns:38px minmax(0,1fr) 16px}.sideCompanyChevron{width:16px;height:16px;color:#aeb9ca;transition:transform .15s ease}.sideCompany.open .sideCompanyChevron{transform:rotate(180deg)}.sideCompanyMenu{position:absolute;top:calc(100% - 8px);left:0;right:0;display:grid;gap:6px;padding:6px;background:#111a2a;border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 18px 38px #00000047;z-index:35}.sideCompanyOption{width:100%;min-height:54px;background:transparent;color:#fff;border-radius:12px;padding:8px;display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:9px;align-items:center;text-align:left}.sideCompanyOption:hover,.sideCompanyOption.active{background:#202b3d}.sideCompanyOption .sideCompanyAvatar{width:34px;height:34px;border-radius:10px;font-size:12px}.sideCompanyOption svg{width:16px;height:16px;color:#8ea0ff}.accountRow{display:grid;grid-template-columns:1.2fr 1.8fr .7fr auto;gap:10px;align-items:center;margin:10px 0}.accountRow button{border:1px solid #e4e7ec;background:#fff;border-radius:12px;padding:12px 14px;color:#b42318}.error{background:#fef2f2;color:#b42318;border:1px solid #fecaca;border-radius:14px;padding:12px;margin-bottom:14px;font-weight:700}@media (max-width: 900px){.accountRow{grid-template-columns:1fr}}.settingsLayout{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:start}.settingsMenu{background:#fff;border:1px solid #e7eaf2;border-radius:24px;padding:10px;box-shadow:0 14px 34px #1018280d}.navSetting{width:100%;text-align:left;background:transparent;border-radius:16px;padding:13px 14px;color:#344054;font-weight:800}.navSetting:hover,.navSetting.active{background:#eef2ff;color:#3440d6}.settingsContent h2{margin:0;font-size:22px;letter-spacing:-.03em}@media (max-width: 900px){.settingsLayout{grid-template-columns:1fr}.settingsMenu{display:flex;overflow:auto}}.companySwitcher{position:relative;min-width:420px}.companySwitchTrigger{width:100%;min-height:58px;background:#fff;border:1px solid #e7eaf2;border-radius:18px;padding:9px 12px;display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:11px;align-items:center;text-align:left;box-shadow:0 8px 24px #1018280a;color:#172033}.companySwitchTrigger:hover{border-color:#d7ddea;box-shadow:0 12px 30px #10182812}.companySwitchTrigger svg{width:18px;height:18px;color:#475467}.companyAvatar{width:40px;height:40px;border-radius:12px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;letter-spacing:.02em;flex:0 0 auto}.companySwitchText{min-width:0;display:grid;gap:3px}.companySwitchText b{font-size:17px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.companySwitchText small{font-size:12px;line-height:1.2;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.companySwitchMenu{position:absolute;top:calc(100% + 8px);right:0;width:100%;background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 18px 45px #10182829;z-index:40;overflow:hidden;padding:6px}.companySwitchMenu button{width:100%;background:#fff;color:#172033;border-radius:12px;padding:10px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;gap:10px;align-items:center;text-align:left}.companySwitchMenu button:hover,.companySwitchMenu button.active{background:#f6f8ff}.companySwitchMenu b{display:block;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.companySwitchMenu small{display:block;margin-top:3px;color:#667085;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.companySwitchMenu svg{width:17px;height:17px;color:#3267ff}.acc{position:relative}.accTop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.accIconActions{display:flex;gap:6px;opacity:.75}.acc:hover .accIconActions,.acc.active .accIconActions{opacity:1}.accIconActions button{width:30px;height:30px;border-radius:10px;border:1px solid #e4e7ec;background:#fff;color:#475467;display:inline-flex;align-items:center;justify-content:center}.accIconActions button:hover{background:#f8fafc;color:#101828}.accIconActions button:last-child:hover{background:#fef2f2;color:#b42318;border-color:#fecaca}.accIconActions svg{width:15px;height:15px}.acc.synced{background:linear-gradient(180deg,#fff,#f8fbff)}.acc.synced:after{content:"Банк sync";position:absolute;right:14px;bottom:12px;font-size:11px;font-weight:800;color:#175cd3;background:#eff8ff;border:1px solid #b2ddff;border-radius:999px;padding:3px 8px}.companyAvatar{font-size:0;letter-spacing:0}.companyAvatar svg{width:20px;height:20px;color:#3440d6}.companySwitchMenu .companyAvatar svg{width:18px;height:18px}main{overflow-x:hidden}.accountsScroller{width:100%;max-width:calc(100vw - 340px);overflow-x:auto;overflow-y:hidden;padding-bottom:8px;margin-bottom:14px}.accountsStrip{display:flex;gap:12px;min-width:max-content}.acc{flex:0 0 282px}.card{overflow:auto}.companyActions{display:flex;gap:10px;align-items:center;margin-top:14px}.iconBtn{width:42px;height:42px;border-radius:14px;border:1px solid #e4e7ec;background:#fff;color:#344054;display:inline-flex;align-items:center;justify-content:center}.dangerIcon:hover{background:#fef2f2;color:#b42318;border-color:#fecaca}.companyCard .secondary{height:42px}.companyCard p{margin:6px 0}.companySwitcher{margin-left:auto}@media (max-width: 900px){.accountsScroller{max-width:calc(100vw - 32px)}.companySwitcher{min-width:0;width:100%}header{height:auto;padding:12px 0}.companySwitchTrigger{min-height:54px}}.paymentsToolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0}.paymentActions,.statusFilters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.statusFilters{margin-left:auto}.paymentActions button,.statusFilters button{white-space:nowrap}.accountsScroller{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.accountsScroller::-webkit-scrollbar{height:8px}.accountsScroller::-webkit-scrollbar-thumb{background:#d8deea;border-radius:999px}.accountsStrip{margin-bottom:0;padding-bottom:8px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f2f4f7;border-radius:16px;padding:6px;margin-bottom:18px}.tabs button{border-radius:12px;padding:12px;background:transparent;font-weight:900;color:#667085}.tabs button.active{background:#fff;color:#101828;box-shadow:0 8px 20px #10182814}.hint{background:#eff8ff;color:#175cd3;border:1px solid #b2ddff;border-radius:14px;padding:12px;margin:12px 0;font-weight:700}.bankAccountsList{display:grid;gap:10px;margin:12px 0}.bankPick{border:1px solid #e4e7ec;border-radius:16px;padding:14px;background:#fff;display:flex;gap:10px;align-items:center}.bankPick.active{border-color:#5661f6;background:#f5f7ff}.bankPick small{display:block;color:#667085;margin-top:4px}.field em{font-style:normal;font-weight:700;color:#98a2b3;margin-left:4px}.field span{display:flex;align-items:center;gap:4px}.fieldError{margin-top:-2px;color:#b42318;font-size:12px;font-weight:800}.card table{min-width:980px}@media (max-width: 1100px){.paymentsToolbar{display:grid}.statusFilters{margin-left:0}.accountsScroller{max-width:calc(100vw - 84px)}}.accountCategoryFilter{max-width:280px;margin-bottom:10px}main{min-width:0;overflow-x:hidden}.settingsLayout{min-width:0}.settingsContent{min-width:0;max-width:100%}.settingsContent>.card{width:100%;overflow-x:auto}.settingsContent .toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.settingsContent .toolbar .primary{flex-shrink:0;white-space:nowrap}.settingsContent .card table{min-width:760px;width:100%}.pageHead{gap:16px;flex-wrap:wrap}.pageHead .primary{flex-shrink:0;white-space:nowrap}@media (max-width: 900px){.settingsContent .toolbar{display:grid;grid-template-columns:1fr}.settingsContent .toolbar .primary{width:100%}.settingsContent .card table{min-width:680px}.settingsMenu{max-width:100%}.settingsLayout{gap:14px}}.expenseMenu{position:relative;display:inline-block}.expenseMenu>summary{list-style:none;cursor:pointer}.expenseMenu>summary::-webkit-details-marker{display:none}.expenseMenu[open]{z-index:20}.expenseMenu button{display:block;width:260px;text-align:left;border-radius:0;background:#fff;color:#172033;padding:12px 14px;border:1px solid #e4e7ec;border-top:0}.expenseMenu button:hover{background:#f8fafc}.expenseMenu>button:first-of-type{border-top:1px solid #e4e7ec;border-radius:14px 14px 0 0;margin-top:8px}.expenseMenu>button:last-child{border-radius:0 0 14px 14px}.bankPaymentBox{border:1px solid #dbe4ff;background:#f8fbff;border-radius:18px;padding:14px;margin:12px 0}.bankPaymentBox h3{margin:0 0 12px;font-size:16px}.expenseDropdown{position:relative;display:inline-flex;align-items:flex-start}.expenseDropdownMenu{position:absolute;top:calc(100% + 8px);left:0;width:min(360px,100vw - 48px);background:#fff;border:1px solid #e4e7ec;border-radius:18px;box-shadow:0 20px 45px #10182829;overflow:hidden;z-index:30}.expenseDropdownMenu button{display:block;width:100%;text-align:left;background:#fff;color:#172033;padding:14px 16px;border-radius:0}.expenseDropdownMenu button+button{border-top:1px solid #edf0f6}.expenseDropdownMenu button:hover{background:#f8fafc}.counterpartyPicker{display:grid;gap:10px}.miniTabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f2f4f7;border-radius:14px;padding:5px}.miniTabs button{border-radius:11px;padding:10px;background:transparent;font-weight:800;color:#667085}.miniTabs button.active{background:#fff;color:#101828;box-shadow:0 6px 16px #10182814}.inlineCreate{border:1px solid #e4e7ec;border-radius:16px;padding:12px;background:#fbfcff}.inlineCreate .secondary{width:100%;justify-content:center}.bankPaymentBox input[readonly]{background:#f8fafc;color:#475467}.dateFilter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dateFilter select{min-width:210px}.dateFilter input{width:auto;min-width:150px}.comboBox{position:relative}.comboBox input[type=hidden]{display:none}.comboMenu{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 18px 42px #10182829;max-height:260px;overflow:auto;z-index:60}.comboMenu button{display:grid;gap:3px;width:100%;text-align:left;background:#fff;color:#172033;padding:12px 14px;border-radius:0}.comboMenu button+button{border-top:1px solid #edf0f6}.comboMenu button:hover{background:#f8fafc}.comboMenu small{color:#667085}.comboEmpty{padding:14px;color:#667085}.bankPaymentBox .muted{margin-top:6px}.bankPaymentBox h3{margin:0 0 12px}.paymentsToolbar{align-items:flex-start}.paymentsToolbar .dateFilter{margin-left:auto}.paymentsToolbar .statusFilters{margin-left:0}@media (max-width: 900px){.dateFilter,.dateFilter select,.dateFilter input{width:100%}.paymentsToolbar .dateFilter{margin-left:0}}.dropdownDateFilter{position:relative;flex:0 0 280px;max-width:100%;flex-wrap:nowrap}.dropdownDateFilter .periodDropdown{position:relative;width:100%}.periodTrigger{width:100%;height:40px;border:1px solid #d9deea;background:#fff;color:#172033;border-radius:9px;padding:0 11px;display:grid;grid-template-columns:19px minmax(0,1fr) 16px;align-items:center;gap:8px;text-align:left;font-size:14px;font-weight:700}.periodTrigger svg{width:17px;height:17px;color:#98a2b3}.periodTrigger span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.periodTrigger.open{border-color:#3267ff;box-shadow:0 0 0 2px #3267ff1f}.periodTrigger.open svg:last-child{transform:rotate(180deg)}.periodMenu.modern{position:absolute;top:calc(100% + 5px);left:0;width:280px;background:#fff;border:1px solid #d0d5dd;border-radius:8px;box-shadow:0 12px 30px #10182829;overflow:hidden;z-index:45;padding:5px 0}.periodMenu.modern button{width:100%;height:38px;background:#fff;color:#172033;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:7px;text-align:left;padding:0 12px;font-size:14px;font-weight:650;border-radius:0}.periodMenu.modern button:hover,.periodMenu.modern button.selected{background:#f4f6f8}.periodMenu.modern button.selected svg{color:#3267ff}.periodSpacer{width:18px;height:18px}.periodCustom{border-top:1px solid #e4e7ec!important;margin-top:4px}.periodSubHead{height:44px;background:#f3f6f8;border-bottom:1px solid #d9deea;display:flex;align-items:center;gap:7px;padding:0 12px;margin:-5px 0 5px}.periodSubHead button{width:30px!important;height:30px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;grid-template-columns:1fr!important;background:transparent!important;color:#98a2b3}.periodSubHead svg{width:19px;height:19px}.periodSubHead strong{font-size:16px;font-weight:700}.periodDateRange{display:grid;gap:8px;padding:10px 12px 4px}.periodDateRange label{display:grid;gap:5px;color:#667085;font-size:11px;font-weight:800}.periodDateRange input{height:38px;border-radius:8px;min-width:0;width:100%;padding:7px 10px;font-size:13px}.periodMenuActions{display:flex;gap:8px;padding:10px 12px 12px}.periodMenuActions .primary,.periodMenuActions .secondary{height:36px;border-radius:8px;padding:0 12px;font-size:13px}.periodMenuActions .primary,.periodMenuActions .secondary{box-shadow:none;min-width:0;flex:1 1 0;justify-content:center}.periodMenuActions .primary{background:#3267ff;color:#fff}.periodMenuActions .secondary{background:#f3f6f8;border:1px solid #e4e7ec;color:#172033}.periodMenuActions .primary:hover{background:#2458e8}.periodMenuActions .secondary:hover{background:#e9eef3}.periodMenu.modern .periodMenuActions .primary,.periodMenu.modern .periodMenuActions .secondary{display:inline-flex;grid-template-columns:none;text-align:center;align-items:center;justify-content:center;box-shadow:none}.periodMenu.modern .periodMenuActions .primary{background:#3267ff;color:#fff}.periodMenu.modern .periodMenuActions .secondary{background:#f3f6f8;border:1px solid #e4e7ec;color:#172033}.periodMenu.modern .periodMenuActions .primary:hover{background:#2458e8}.periodMenu.modern .periodMenuActions .secondary:hover{background:#e9eef3}@media (max-width: 900px){.dropdownDateFilter{flex:0 0 280px;width:280px}.periodMenu.modern{width:280px}}.rulesGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.ruleCard{background:#fff;border:1px solid #e7eaf2;border-radius:22px;padding:16px;box-shadow:0 14px 34px #1018280d;display:grid;gap:10px}.ruleCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.ruleCard h3{margin:8px 0 0;font-size:18px}.ruleCard p{margin:0;color:#667085}.ruleChips{display:flex;gap:6px;flex-wrap:wrap}.ruleChips span{background:#f2f4f7;color:#344054;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.actionsChips span{background:#eef2ff;color:#3440d6}.ruleFooter{display:flex;gap:8px;justify-content:flex-end;margin-top:4px}.ruleBlock{border:1px solid #e7eaf2;background:#fbfcff;border-radius:20px;padding:14px;margin:14px 0}.ruleBlock h3{margin:0 0 12px;font-size:17px}.ruleRow{display:grid;grid-template-columns:1.1fr 1fr 1.4fr .8fr auto;gap:8px;align-items:center;margin-bottom:8px}.ruleAction{display:grid;grid-template-columns:1.2fr 1.8fr auto;gap:8px;align-items:start;margin-bottom:8px}.ruleAction .grid2{gap:8px}.ruleRow .ghost,.ruleAction .ghost{padding:11px 13px}.ruleBlock .secondary{margin-top:4px}select[multiple]{min-height:108px}@media (max-width: 900px){.ruleRow,.ruleAction,.rulesGrid{grid-template-columns:1fr}}.headActions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.cardHead h2{margin:0;font-size:20px}.sideStack{display:grid;gap:16px}.categoriesCard{margin-bottom:16px}@media (max-width: 640px){.cardHead{display:grid}.headActions,.headActions button{width:100%}}.companyList{display:grid;gap:12px}.companyRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;background:#fff;border:1px solid #e7eaf2;border-radius:20px;padding:16px;box-shadow:0 14px 34px #1018280d}.companyRow.active{border-color:#5661f6;box-shadow:0 18px 42px #5661f621}.companySelectArea{min-width:0;background:transparent;color:#172033;text-align:left;display:flex;align-items:center;gap:14px;padding:0}.companyIcon{width:46px;height:46px;border-radius:14px;background:#eef2ff;color:#5661f6;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.companyIcon svg{width:24px;height:24px}.companyIdentity{min-width:0;display:grid;gap:7px}.companyIdentity strong{font-size:20px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}.companyMeta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#667085}.companyMeta b,.companyMeta span{background:#f2f4f7;border-radius:999px;padding:4px 9px;font-size:12px;line-height:1.2}.companyMeta b{background:#eff8ff;color:#175cd3}.companyIdentity small{color:#667085;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.companyStatus{display:flex;justify-content:flex-end}@media (max-width: 900px){.companyRow{grid-template-columns:1fr;align-items:start}.companyStatus,.companyActions{justify-content:flex-start}.companyStatus .secondary{width:100%}.companySelectArea{align-items:flex-start}}.settingsWorkspace{display:grid;gap:18px}.settingsWorkspace>.pageHead{margin:20px 0}.settingsWorkspace>.pageHead h1{font-size:34px;line-height:1.05;letter-spacing:-.03em}.settingsWorkspace>.pageHead p{font-size:17px;line-height:1.4;max-width:760px}.settingsWorkspace .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin:4px 0 20px}.settingsWorkspace .toolbar>div{display:grid;gap:7px;min-width:0}.settingsWorkspace .toolbar h2,.settingsWorkspace>section>.pageHead h1{margin:0;font-size:26px;line-height:1.15;letter-spacing:-.03em}.settingsWorkspace .toolbar p,.settingsWorkspace>section>.pageHead p{margin:0;color:#667085;font-size:15px;line-height:1.4;max-width:820px}.settingsWorkspace .toolbar .primary,.settingsWorkspace>section>.pageHead .primary{min-height:46px;padding:0 18px;white-space:nowrap}.settingsWorkspace>section>.pageHead{margin:0 0 20px;align-items:center}.settingsWorkspace>section>.pageHead>div{display:grid;gap:7px;min-width:0}.settingsWorkspace .card{border-radius:22px}.settingsWorkspace .card table{min-width:760px}.settingsWorkspace th{height:48px}.settingsWorkspace td{height:58px;line-height:1.3}.settingsWorkspace .rowActions button{width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center}.settingsWorkspace .companyList{margin-top:0}@media (max-width: 900px){.settingsWorkspace .toolbar,.settingsWorkspace>section>.pageHead{grid-template-columns:1fr;display:grid}.settingsWorkspace .toolbar .primary,.settingsWorkspace>section>.pageHead .primary{width:100%}.settingsWorkspace>.pageHead h1{font-size:30px}}@media (max-width: 900px){.sidebarCompanies{margin-top:0}.sideCompany{grid-template-columns:1fr;justify-items:center;padding:8px;min-height:52px}.sideCompanyText{display:none}.sideCompanyAvatar{width:34px;height:34px;border-radius:10px;font-size:11px}}@media (max-width: 900px){aside{width:270px;padding:22px}.brand b,.nav:not(.active),.nav span,.logout{font-size:inherit}.nav{justify-content:flex-start}.sidebarCompanies{margin:-8px 0 14px}.sideCompany{grid-template-columns:38px minmax(0,1fr);justify-items:stretch;padding:10px;min-height:58px}.sideCompanyText{display:grid}.sideCompanyAvatar{width:38px;height:38px;border-radius:12px;font-size:13px}}.txForm{display:grid;gap:2px}.txForm textarea{min-height:72px}.txForm .actions{margin-top:10px}.documentModal{width:min(980px,100%)}.documentModal .docItemsCard{overflow-x:visible}.documentModal .docItemsCard table{min-width:0;table-layout:fixed}.documentModal .docItemsCard th,.documentModal .docItemsCard td{padding:10px 8px}.documentModal .docItemsCard th:nth-child(1),.documentModal .docItemsCard td:nth-child(1){width:35%}.documentModal .docItemsCard th:nth-child(2),.documentModal .docItemsCard td:nth-child(2){width:11%}.documentModal .docItemsCard th:nth-child(3),.documentModal .docItemsCard td:nth-child(3){width:12%}.documentModal .docItemsCard th:nth-child(4),.documentModal .docItemsCard td:nth-child(4){width:14%}.documentModal .docItemsCard th:nth-child(5),.documentModal .docItemsCard td:nth-child(5){width:18%}.documentModal .docItemsCard th:nth-child(6),.documentModal .docItemsCard td:nth-child(6){width:10%}.documentModal .docItemsCard input{padding:9px 10px}.ruleActionMenuWrap{position:relative;display:inline-flex}.ruleActionMenuWrap>button{width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center}.ruleActionMenu{position:absolute;top:calc(100% + 6px);right:0;z-index:80;min-width:250px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 18px 42px #10182833;padding:6px;display:grid;gap:4px}.ruleActionMenu button{width:100%;border:0;background:#fff;color:#344054;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:8px;text-align:left;justify-content:flex-start}.ruleActionMenu button:hover{background:#f8fafc}.txActionMenu{min-width:190px;padding:7px;border-radius:14px}.txActionMenu button{height:40px;padding:0 10px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;font-weight:800}.txActionMenu button span{width:28px;height:28px;border-radius:9px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center}.txActionMenu button b{font-size:13px;font-weight:800;line-height:1.1}.txActionMenu button svg{width:15px;height:15px}.txActionMenu .dangerMenuItem{color:#b42318}.txActionMenu .dangerMenuItem span{background:#fef2f2;color:#b42318}.txActionMenu .dangerMenuItem:hover{background:#fff5f5}.transactionsCard{overflow:visible;border-radius:18px;box-shadow:0 18px 42px #1018280e}.transactionsCard table{overflow:visible;border-collapse:separate;border-spacing:0 7px;background:#fff;padding:0 14px 12px}.transactionsCard th{height:38px;padding:8px 12px;border-bottom:0;background:#fff;color:#858da0;font-size:11px;letter-spacing:0}.transactionsCard td{padding:12px;font-size:13px;line-height:1.28;background:#fff;border-top:1px solid #edf0f6;border-bottom:1px solid #edf0f6}.transactionsCard tbody tr td:first-child{border-left:1px solid #edf0f6;border-radius:12px 0 0 12px}.transactionsCard tbody tr td:last-child{border-right:1px solid #edf0f6;border-radius:0 12px 12px 0}.transactionsCard tbody tr:hover td{background:#fbfcff;border-color:#e2e8f0}.transactionsCard .money{font-size:14px;white-space:nowrap}.transactionsCard .ruleActionMenu{z-index:120}.transactionsTableHead{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #edf0f6;background:#fff;border-radius:18px 18px 0 0}.transactionsTableHead h2{margin:0;font-size:18px;line-height:1.2;letter-spacing:0}.transactionsTableHead span{display:block;margin-top:3px;color:#667085;font-size:12px;font-weight:800}.bulkActionsBar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bulkActionsBar span{display:inline-flex;margin-top:0;margin-right:4px;color:#667085;font-weight:800}.bulkActionsBar .secondary,.bulkActionsBar .success,.bulkActionsBar .danger{min-height:36px;border-radius:10px;padding:8px 11px}.selectCell{width:48px;text-align:center}.selectCell input{width:18px;height:18px;padding:0;margin:0;box-shadow:none}.transactionsCard tr.selectedRow td{background:#f5f7ff;border-color:#cfd7ff}.txDate,.txType{white-space:nowrap}.txType small{display:block;margin-top:2px}.txCounterparty{max-width:230px;font-weight:750}.txPurpose{max-width:520px;color:#344054}.documentsCard{overflow:visible}.documentFiltersCard{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(230px,.9fr) minmax(190px,.8fr) minmax(160px,.7fr);gap:12px;padding:14px;margin-bottom:14px;overflow:visible;align-items:end}.documentFiltersCard .field{margin-bottom:0}.documentFiltersCard .dateFilter{width:100%}.documentFiltersCard .periodTrigger{width:100%;height:42px}.documentTypeWithDirection{display:inline-flex;align-items:center;gap:6px;line-height:1.25}.documentDirectionIcon{width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.documentDirectionIcon svg{width:14px;height:14px}.documentDirectionIcon.incoming{color:#c2410c;background:#fff7ed}.documentDirectionIcon.outgoing{color:#027a48;background:#ecfdf3}.paginationBar{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 16px;border-top:1px solid #edf1f7;color:#667085;font-weight:800}.documentSidesCard{padding:14px;overflow:visible}.documentSideRows{display:grid;gap:10px}.documentSideRow{display:grid;grid-template-columns:minmax(160px,.45fr) minmax(220px,1fr) auto;gap:10px;align-items:end}.documentSideRow .field{margin-bottom:0}.documentSideRow .ghost{width:38px;height:38px}.readonlySideName{min-height:45px;display:flex;align-items:center;color:#172033}.docViewMode{display:grid;grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:16px;align-items:start}.docViewInfo,.docViewPdf{overflow:hidden;min-width:0}.docViewGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.docViewGrid.single{grid-template-columns:1fr}.docViewGrid small{display:block;color:#667085;margin-bottom:4px}.docViewGrid b{display:block;font-size:14px;line-height:1.35;color:#172033}.docViewGrid .full{grid-column:1/-1}.docViewPdf iframe{display:block;width:100%;height:calc(100vh - 145px);min-height:640px;border:0;background:#f8fafc}.docViewPdf .imagePreviewPane{height:calc(100vh - 145px);min-height:640px;display:grid;place-items:center;background:#f8fafc;overflow:auto}.docViewPdf .imagePreviewPane img{display:block;max-width:100%;max-height:100%;object-fit:contain}.docViewActions{display:grid;grid-template-columns:1fr;gap:8px;padding:0 14px 14px;margin-top:6px}.docViewActions button{width:100%;white-space:normal;line-height:1.25;min-height:44px}.linkedDocumentsPanel{display:grid;gap:8px;border-top:1px solid #edf1f7;padding:14px;margin-top:2px}.linkedDocumentsPanel .cardHead{padding:0}.linkedDocRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;border:1px solid #e3e8f2;background:#f8fafc;border-radius:8px;padding:10px 12px;color:#172033;cursor:pointer}.linkedDocRow:hover{border-color:#c9d4e6;background:#fff}.linkedDocRow span{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:center;min-width:0}.linkedDocRow span svg{grid-row:1/3;width:18px;height:18px;color:#4f46e5}.linkedDocRow b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.linkedDocRow small{grid-column:2;color:#667085;font-weight:700;font-size:12px}.linkedDocRow>svg{width:18px;height:18px;color:#667085}.linkedDocRow.documentSideRow{cursor:default}.linkedDocRow.documentSideRow:hover{border-color:#e3e8f2;background:#f8fafc}.linkedDocRow.documentSideRow span{grid-column:auto}.linkedDocRow.documentSideRow .badge{white-space:nowrap;align-self:center}.documentFilesPanel{display:grid;gap:10px;border-top:1px solid #edf1f7;padding:14px 0 0;margin-top:2px}.documentFilesPanel .cardHead{padding:0 14px}.signedUploadBox{display:grid;gap:10px;padding:0 14px 14px;min-width:0}.signedUploadBox .fileDropzone{min-height:112px;min-width:0}.signedUploadBox .alert,.signedUploadBox .muted{max-width:100%;min-width:0;overflow-wrap:anywhere}.signedUploadBox .primary{width:100%;min-width:0;white-space:normal;text-align:center}.businessFileList{display:grid;border-top:1px solid #edf1f7}.businessFileRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid #edf1f7}.businessFileRow span{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:center;min-width:0}.businessFileRow span svg{grid-row:1/3;width:19px;height:19px;color:#4f46e5}.businessFileRow b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.businessFileRow small{grid-column:2;color:#667085;font-weight:700;font-size:12px}.documentPackagePicker{display:grid;gap:8px;border:1px solid #e3e8f2;background:#f8fafc;border-radius:12px;padding:12px;margin-bottom:12px}.documentPackagePicker .cardHead.compact{padding:0;margin:0}.documentPackagePicker .cardHead.compact h3{font-size:15px}.documentPackagePicker .cardHead.compact span{font-size:12px;font-weight:800;color:#667085}.packageDocOption{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid #edf1f7;background:#fff;border-radius:10px;padding:9px 10px;cursor:pointer}.packageDocOption input{width:18px;height:18px}.packageDocOption span{display:grid;gap:2px;min-width:0}.packageDocOption b,.packageDocOption small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.packageDocOption small{color:#667085;font-size:12px;font-weight:700}@media (max-width: 1000px){.documentSideRow,.docViewMode{grid-template-columns:1fr}.docViewPdf iframe{height:50vh}}.toolbarActions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.clickableTable tbody tr{cursor:pointer}.clickableTable tbody tr:hover td{background:#f5f7ff}.linkSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.linkSummary div{border:1px solid #e4e7ec;border-radius:14px;padding:12px;background:#fbfcff;display:grid;gap:4px;min-width:0}.linkSummary span{font-size:12px;color:#667085;font-weight:800}.linkSummary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.importPreview{display:grid;gap:12px;margin-top:12px}.importStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.importStats span{border:1px solid #e4e7ec;border-radius:14px;background:#fbfcff;padding:12px;display:grid;gap:2px}.importStats b{font-size:22px;color:#172033}.importStats small{font-weight:800;color:#667085}.importPreviewTable{max-height:320px;overflow:auto}.importPreviewTable table{min-width:820px}.importActions .primary{min-width:180px}.importActions .secondary{box-shadow:none}.txStatusCell{display:grid;gap:4px;justify-items:start}.entryMarker{display:inline-flex;border-radius:999px;background:#eef2ff;color:#3440d6;padding:3px 7px;font-size:10px;font-weight:800}.orderMarker{border:0;width:auto;background:#eef2ff;cursor:pointer}.orderMarker:hover{background:#dfe6ff}.entryExists{background:#ecfdf3;color:#027a48;border-color:#abefc6}@media (max-width: 720px){.linkSummary{grid-template-columns:1fr}}aside{width:248px;padding:18px;gap:8px;height:100dvh;max-height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}aside::-webkit-scrollbar{width:6px}aside::-webkit-scrollbar-thumb{background:#cbd5e138;border-radius:999px}.brand{font-size:16px;margin-bottom:16px}.brand svg{width:23px;height:23px}.nav,.logout{gap:9px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:750}.nav svg,.logout svg{width:20px;height:20px}.sidebarCompanies{gap:6px;margin:-6px 0 12px;padding-bottom:12px}.sideCompany{min-height:52px;border-radius:14px;padding:8px;grid-template-columns:34px minmax(0,1fr) 14px;gap:8px}.sideCompanyAvatar{width:34px;height:34px;border-radius:10px;font-size:12px}.sideCompanyAvatar svg{width:16px;height:16px}.sideCompanyText b{font-size:12px}.sideCompanyText small{font-size:10px}.sideCompanyChevron,.settingsChevron{width:14px;height:14px}.settingsSubnav{gap:3px;margin:-1px 0 4px 28px;padding:2px 0}.settingsSubnav button{border-radius:10px;padding:7px 10px;font-size:12px;line-height:1.15}.sidebarFooter{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);flex-shrink:0}.sidebarUser{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:9px 10px;border:1px solid rgba(255,255,255,.08);background:#172033;border-radius:14px;color:#fff}.sidebarUserAvatar{width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;line-height:1}.sidebarUserText{min-width:0;display:grid;gap:3px}.sidebarUserText b{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebarUserText small{font-size:10px;line-height:1.2;color:#aeb9ca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.historyToolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(180px,220px) minmax(180px,220px) 250px;gap:10px;align-items:stretch;margin-bottom:18px}.historySearch{max-width:none;height:46px;margin-bottom:0;border-radius:16px}.historySearch input{height:44px;padding-top:0;padding-bottom:0}.historyToolbar select{height:46px;border-radius:16px;padding-top:0;padding-bottom:0}.historyToolbar .dropdownDateFilter{width:250px;flex:0 0 250px}.historyToolbar .periodTrigger{height:46px;border-radius:16px}.historyCard table{min-width:920px}.historyTimelineCard{overflow:hidden}.historyTimeline{display:grid;gap:0;padding:6px 0}.historyEvent{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px 18px;position:relative;background:#fff}.historyEvent+.historyEvent{border-top:1px solid #edf1f7}.historyEventIcon{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#eef2ff;color:#3440d6}.historyEventIcon svg{width:19px;height:19px}.historyEvent.historySuccess .historyEventIcon{background:#ecfdf3;color:#027a48}.historyEvent.historyWarning .historyEventIcon{background:#fff7ed;color:#c2410c}.historyEvent.historyDanger .historyEventIcon{background:#fef2f2;color:#b42318}.historyEventBody{min-width:0;display:grid;gap:7px}.historyEventTop{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.historyEventUser{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.historyEventTop b{font-size:15px;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.historyEventUser small{color:#667085;font-size:12px;font-weight:800}.historyEventTop time{color:#667085;font-size:12px;font-weight:800;white-space:nowrap}.historyEvent p{margin:0;color:#172033;font-size:15px;font-weight:850;line-height:1.35}.historyChanges{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin-top:2px}.historyChanges span{display:grid;gap:3px;border:1px solid #edf1f7;background:#fbfcff;border-radius:10px;padding:8px 10px}.historyChanges b{font-size:12px;color:#344054;line-height:1.2}.historyChanges small{font-size:12px;color:#667085;font-weight:750;line-height:1.25;overflow:hidden;text-overflow:ellipsis}.historyEventMeta{display:flex;gap:7px;flex-wrap:wrap}.historyEventMeta span,.historyEventMeta button{display:inline-flex;align-items:center;border-radius:999px;background:#f2f4f7;color:#667085;padding:4px 8px;font-size:11px;font-weight:800}.historyEventMeta button{border:1px solid #d9deea;background:#fff;color:#3440d6}.historyEventMeta button:hover{background:#f5f7ff;border-color:#b8c0ff}.historyTechDetails{margin-top:2px;color:#667085}.historyTechDetails summary{cursor:pointer;font-size:12px;font-weight:850}.historyTechDetails code{display:block;width:max-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;margin-top:6px;background:#f8fafc;border:1px solid #edf1f7;border-radius:8px;padding:6px 8px;color:#475467;font-size:11px}.methodBadge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:#eef2ff;color:#3440d6}.methodBadge.POST{background:#ecfdf3;color:#027a48}.methodBadge.PUT,.methodBadge.PATCH{background:#fff7ed;color:#c2410c}.methodBadge.DELETE{background:#fef2f2;color:#b42318}.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px}.pager span{font-weight:800;color:#667085}@media (max-width: 1100px){.historyToolbar{grid-template-columns:1fr 1fr}.historyToolbar .dropdownDateFilter{width:100%;flex-basis:100%}}@media (max-width: 700px){.historyToolbar{grid-template-columns:1fr}}.referencesWorkspace{display:grid;gap:18px;margin-top:12px}.referenceList{display:grid;gap:16px}.referenceListToolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin:0}.referenceListToolbar>div{display:grid;gap:7px;min-width:0}.referenceListToolbar h2{margin:0;font-size:26px;line-height:1.15;letter-spacing:-.03em}.referenceListToolbar p{margin:0}.referenceListToolbar .primary{min-height:46px;padding:0 18px;white-space:nowrap}.referenceSearch{height:46px;margin-bottom:0;border-radius:16px}.referenceSearch input{height:44px;padding-top:0;padding-bottom:0}.referenceList .card table{min-width:920px}.referenceList .card{border-radius:22px}.referenceList th{height:48px}.referenceList td{height:58px;line-height:1.3}.referenceList .rowActions button{width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center}.counterpartyRowNotes{margin-top:4px;color:#667085;font-size:12px;line-height:1.3}.counterpartyRowTax{font-weight:800}.counterpartyRowContacts{display:flex;align-items:center;gap:8px;margin-top:4px;color:#667085;font-size:12px;line-height:1.3;white-space:nowrap}.counterpartyRowContacts span+span:before{content:"·";margin-right:8px;color:#98a2b3}@media (max-width: 900px){.referenceListToolbar{grid-template-columns:1fr}.referenceListToolbar .primary{width:100%}.referenceList .card table{min-width:760px}}.structuredAddressTopRow{display:grid;grid-template-columns:minmax(170px,.65fr) minmax(220px,.85fr) minmax(320px,1.5fr);gap:16px}.structuredAddressTopRow .field{min-width:0}.structuredAddressTopRow .field span{min-width:0;flex-wrap:wrap;line-height:1.15}@media (max-width: 900px){.structuredAddressTopRow{grid-template-columns:1fr 1fr}.structuredAddressTopRow .field:last-child{grid-column:1/-1}}@media (max-width: 700px){.structuredAddressTopRow{grid-template-columns:1fr}}body{font-size:14px}main{padding:0 24px 24px}.pageHead h1{font-size:26px;line-height:1.08;letter-spacing:-.02em}.pageHead p{margin-top:5px;font-size:14px;line-height:1.35}.primary,.secondary,.success,.danger,.ghost,.link,.chip{border-radius:11px;padding:8px 12px;gap:7px;font-size:14px;line-height:1.2}input,select,textarea{border-radius:11px;padding:9px 11px;font-size:14px}textarea{min-height:66px}.field{gap:6px;margin-bottom:10px}.field span{font-size:12px}.grid2,.grid3{gap:10px}.actions{gap:8px;margin-top:12px}.card{border-radius:18px;box-shadow:0 10px 26px #1018280b}.toolbar{margin-bottom:10px;gap:12px}.toolbar>div{gap:8px}.toolbar h2{font-size:20px}.muted{font-size:13px}.muted.small{font-size:12px;line-height:1.35;margin:0}th,td{padding:10px 12px}th{font-size:11px}.rowActions{gap:6px}.rowActions button{width:32px;height:32px;padding:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.badge{padding:4px 8px;font-size:11px}.empty{padding:24px}.modal{border-radius:22px;padding:18px;width:min(680px,100%)}.modalHead{margin-bottom:14px}.modalHead h2{font-size:20px;line-height:1.15}.checkrow{border-radius:13px;padding:10px;margin:8px 0}.hint,.error,.alert{border-radius:12px;padding:10px;font-size:13px}.paymentsPageHead{margin-bottom:14px}.paymentsPageHead h1{letter-spacing:0;font-size:32px;line-height:1.05}.accountsScroller{max-width:calc(100vw - 300px);padding-bottom:6px;margin-bottom:10px}.accountsStrip{gap:10px;padding-bottom:6px}.acc{flex-basis:238px;min-width:238px;min-height:132px;border-radius:17px;padding:12px;gap:5px}.acc span{font-size:11px}.acc b{font-size:14px;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acc strong{font-size:18px;letter-spacing:0}.acc small{font-size:11px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addAccountCard{border:1.5px dashed #cfd6e6;background:#fbfcff;color:#344054;box-shadow:none;align-content:center;text-align:left}.addAccountCard:hover{border-color:#5661f6;background:#f6f8ff;color:#172033}.addAccountCard b{display:flex;align-items:center;gap:8px;color:#3440d6;white-space:normal}.addAccountCard b svg{width:18px;height:18px}.accIconActions{gap:4px}.accIconActions button{width:26px;height:26px;border-radius:8px}.accIconActions svg{width:13px;height:13px}.acc.synced:after{right:10px;bottom:9px;font-size:10px;padding:2px 6px}.paymentsToolbar{gap:10px;margin:12px 0;background:#fff;border:1px solid #e7eaf2;border-radius:16px;padding:10px;box-shadow:0 10px 28px #10182809}.paymentActions,.statusFilters{gap:7px}.paymentActions .success,.paymentActions .danger,.paymentActions .secondary,.statusFilters .chip{min-height:38px;border-radius:10px;padding:8px 12px}.paymentsToolbarRight{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;flex-wrap:wrap}.paymentActionDropdown{position:relative}.paymentActionTrigger{min-height:40px;border-radius:10px;padding:8px 13px;box-shadow:0 10px 22px #5661f62e;white-space:nowrap}.paymentActionTrigger svg{width:17px;height:17px}.paymentActionTrigger.open svg:last-child{transform:rotate(180deg)}.paymentActionMenu{position:absolute;top:calc(100% + 8px);right:0;width:310px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 20px 46px #1018282e;z-index:70;padding:7px;display:grid;gap:4px}.paymentActionMenu button{width:100%;min-height:58px;background:#fff;color:#172033;border-radius:12px;padding:10px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;text-align:left;align-items:center}.paymentActionMenu button:hover{background:#f8fafc}.paymentActionMenu span{grid-row:1/3;width:34px;height:34px;border-radius:11px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center}.paymentActionMenu .actionSuccessIcon{background:#ecfdf3;color:#027a48}.paymentActionMenu .actionDangerIcon{background:#fef2f2;color:#b42318}.paymentActionMenu svg{width:17px;height:17px}.paymentActionMenu b{font-size:14px;line-height:1.15;font-weight:900}.paymentActionMenu small{color:#667085;font-size:12px;font-weight:750;line-height:1.25;white-space:normal}.periodTrigger{height:36px;font-size:13px}.dropdownDateFilter{flex-basis:250px}.periodMenu.modern{width:250px}.periodMenu.modern button{height:34px;font-size:13px}.txForm textarea{min-height:60px}.linkSummary{gap:8px;margin-bottom:12px}.linkSummary div{border-radius:12px;padding:9px}.linkSummary span{font-size:11px}.settingsWorkspace{gap:12px}.settingsWorkspace>.pageHead{margin:14px 0}.settingsWorkspace>.pageHead h1{font-size:28px}.settingsWorkspace>.pageHead p{font-size:14px}.settingsWorkspace .toolbar{gap:12px;margin:2px 0 12px}.settingsWorkspace .toolbar h2,.settingsWorkspace>section>.pageHead h1{font-size:22px}.settingsWorkspace .toolbar p,.settingsWorkspace>section>.pageHead p{font-size:13px}.settingsWorkspace .toolbar .primary,.settingsWorkspace>section>.pageHead .primary{min-height:38px;padding:0 13px}.settingsWorkspace .card{border-radius:18px}.settingsWorkspace th{height:38px}.settingsWorkspace td{height:44px;line-height:1.25}.settingsWorkspace .rowActions button{width:32px;height:32px}.settingsMenu{border-radius:18px;padding:8px}.navSetting{border-radius:12px;padding:10px 11px;font-size:14px}.cardHead{padding:12px 14px}.cardHead h2{font-size:17px}.kpiGrid{gap:10px;margin-bottom:12px}.kpi{border-radius:17px;padding:13px;gap:5px}.kpi span{font-size:12px}.kpi strong{font-size:20px}.accountingGrid{gap:12px;margin-bottom:12px}.sideStack{gap:12px}.controlList div{padding:11px 14px}.controlList b{font-size:17px}.taxNote{padding:11px 14px;font-size:12px}.categoriesCard{margin-bottom:12px}.companyList{gap:9px}.companyRow{border-radius:16px;padding:12px;gap:12px}.companyIcon{width:38px;height:38px;border-radius:11px}.companyIcon svg{width:20px;height:20px}.companyIdentity{gap:5px}.companyIdentity strong{font-size:17px}.companyIdentity small{font-size:12px}.companyMeta{gap:6px}.companyMeta b,.companyMeta span{padding:3px 7px;font-size:11px}.iconBtn{width:34px;height:34px;border-radius:10px}.authCard{border-radius:22px;padding:22px}.authCard h1{font-size:26px}.ruleCard{border-radius:17px;padding:12px;gap:8px}.ruleCard h3{font-size:16px;margin-top:6px}.ruleBlock{border-radius:15px;padding:11px;margin:10px 0}.ruleBlock h3{font-size:15px;margin-bottom:9px}.ruleChips span{padding:4px 8px;font-size:11px}.documentModal{width:min(920px,100%)}.documentModal .docItemsCard th,.documentModal .docItemsCard td{padding:8px 7px}.documentModal .docItemsCard input{padding:7px 8px}.docViewGrid{gap:8px;padding:11px}.docViewGrid b{font-size:13px}.docViewActions{padding:0 11px 11px}.docViewActions button{min-height:38px}.accountingSubnav{gap:6px;margin:-4px 0 12px}.accountingSubnav button{border-radius:11px;padding:8px 11px;font-size:13px}@media (max-width: 1100px){.accountsScroller{max-width:calc(100vw - 276px)}}@media (max-width: 900px){main{padding:0 14px 20px}aside{width:248px;padding:18px}.accountsScroller{max-width:calc(100vw - 28px)}.pageHead,.toolbar{gap:10px}.dropdownDateFilter{width:250px;flex-basis:250px}}.rowActions .ruleActionMenu button,.rowActions .txActionMenu button{width:100%;height:40px;padding:0 10px;border:0;border-radius:10px}.rowActions .txActionMenu button{display:grid;grid-template-columns:28px minmax(0,1fr);justify-content:stretch}.rowActions .txActionMenu button span{width:28px;height:28px;min-width:28px}.fileDropzone{border:1.5px dashed #5966ff;background:#f7f8ff;border-radius:18px;padding:18px 22px;min-height:82px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;cursor:pointer;transition:.15s border-color,.15s background,.15s box-shadow,.15s transform;min-width:0}.fileDropzone:hover,.fileDropzone.dragging{border-color:#3440d6;background:#f1f4ff;box-shadow:0 0 0 4px #5661f61a}.fileDropzone.dragging{transform:translateY(-1px)}.fileDropzone input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.fileDropzoneIcon{width:42px;height:42px;border-radius:14px;background:#eef2ff;color:#5661f6;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.fileDropzoneIcon svg{width:22px;height:22px}.fileDropzoneText{display:grid;gap:4px;min-width:0}.fileDropzoneText b{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:16px;font-weight:900}.fileDropzoneText small{display:block;color:#667085;font-weight:800;font-size:13px}.modulesLayout{display:grid;gap:18px}.modulesSearch{width:min(460px,100%);display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d9deea;border-radius:16px;padding:0 14px}.modulesSearch svg{width:18px;height:18px;color:#98a2b3}.modulesSearch input{border:0;box-shadow:none;height:46px;padding:0;background:transparent}.moduleSectionTitle{font-size:20px;font-weight:850;color:#172033;margin-top:8px}.moduleGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.moduleCard{position:relative;min-height:128px;border:1px solid #e7eaf2;background:#f8fafc;border-radius:18px;padding:18px 54px 18px 18px;display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;box-shadow:0 12px 28px #1018280a}.moduleCard.enabled{background:#fff;border-color:#d7f3df}.moduleIcon{width:58px;height:58px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;color:#5661f6;box-shadow:0 8px 18px #1018280f}.moduleIcon svg{width:26px;height:26px}.moduleText{min-width:0;display:grid;gap:8px;align-content:start}.moduleText h3{margin:0;font-size:18px;line-height:1.15}.moduleText p{margin:0;color:#667085;line-height:1.35}.moduleText .badge{width:max-content}.moduleAction{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:999px;border:2px solid #98a2b3;background:#fff;color:#667085;display:flex;align-items:center;justify-content:center}.moduleAction svg{width:20px;height:20px}.moduleAction.connected{border-color:#16a34a;background:#16a34a;color:#fff;cursor:default}.moduleAction.connected.removable{cursor:pointer}.moduleAction.connected.removable:hover{border-color:#dc2626;background:#dc2626}.moduleAction:disabled{opacity:.6;cursor:not-allowed}.linkedContractHint{border:1px solid #e4e7ec;background:#f8fafc;border-radius:14px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.linkedContractHint span{color:#667085;font-size:13px;font-weight:800}.linkedContractHint b{color:#172033;font-size:14px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asyncSearchTrigger{width:100%;min-height:42px;border:1px solid #d9deea;background:#fff;border-radius:11px;padding:9px 11px;display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:10px;align-items:center;text-align:left;color:#172033;font-size:14px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.asyncSearchValue b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.2;color:#667085;font-weight:500}.asyncSearchValue small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#667085;line-height:1.15}.asyncSearchMenu{position:absolute;z-index:120;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #d9deea;border-radius:14px;box-shadow:0 18px 42px #1018282e;overflow:hidden}.asyncSearchInput{height:44px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid #edf0f6;background:#f8fafc}.asyncSearchList button{width:100%;border:0;background:#fff;border-radius:10px;padding:10px 11px;text-align:left;display:grid;gap:3px;color:#172033}.asyncSearchList small,.asyncSearchState{font-size:12px;color:#667085}.toastStack{position:fixed;top:18px;right:18px;z-index:2147483647;display:grid;gap:10px;width:min(420px,100vw - 36px);pointer-events:none}.toastItem{pointer-events:auto;display:grid;grid-template-columns:22px minmax(0,1fr) 28px;align-items:start;gap:10px;border:1px solid #e4e7ec;background:#fff;border-radius:16px;padding:13px 12px;box-shadow:0 18px 46px #10182829;color:#172033;animation:toastIn .18s ease-out}.toastItem p{margin:0;font-size:14px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}@media (max-width: 1100px){.documentFiltersCard{grid-template-columns:1fr 1fr}}@media (max-width: 700px){.documentFiltersCard{grid-template-columns:1fr}}.documentFormPage{display:grid;gap:16px;max-width:1220px;margin:0 auto 36px}.documentFormHead{align-items:center;margin:12px 0 4px}.documentFormHead h1{font-size:28px;line-height:1.1;letter-spacing:0}.documentFormHead p{max-width:680px}.documentFormTopActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.documentFormCard{background:#fff;border:1px solid #e7eaf2;border-radius:18px;box-shadow:0 14px 34px #1018280d;padding:22px;display:grid;gap:14px;overflow:hidden}.documentFormCard>.grid2,.documentFormCard>.grid3{margin:0}.documentFormCard>.field{margin-bottom:0}.documentFormCard .card{border-radius:16px;box-shadow:none;background:#fbfcff}.documentFormCard .documentSidesCard{background:#fff}.documentFormCard .docItemsCard{overflow:visible}.documentFormCard .docItemsCard table{min-width:0;table-layout:fixed}.documentFormCard .docItemsCard th,.documentFormCard .docItemsCard td{padding:10px 8px}.documentFormCard .docItemsCard th:nth-child(1),.documentFormCard .docItemsCard td:nth-child(1){width:35%}.documentFormCard .docItemsCard th:nth-child(2),.documentFormCard .docItemsCard td:nth-child(2){width:11%}.documentFormCard .docItemsCard th:nth-child(3),.documentFormCard .docItemsCard td:nth-child(3){width:12%}.documentFormCard .docItemsCard th:nth-child(4),.documentFormCard .docItemsCard td:nth-child(4){width:14%}.documentFormCard .docItemsCard th:nth-child(5),.documentFormCard .docItemsCard td:nth-child(5){width:18%}.documentFormCard .docItemsCard th:nth-child(6),.documentFormCard .docItemsCard td:nth-child(6){width:10%}.documentFormActions{position:sticky;bottom:0;z-index:20;background:linear-gradient(180deg,#ffffffc7,#fff 34%);border-top:1px solid #edf0f6;margin:8px -22px -22px;padding:16px 22px;border-radius:0 0 18px 18px}.documentFormActions .primary,.documentFormTopActions .primary{min-width:138px}@media (max-width: 900px){.documentFormPage{max-width:none;margin-bottom:24px}.documentFormHead{display:grid;grid-template-columns:1fr;gap:12px}.documentFormTopActions{justify-content:stretch}.documentFormTopActions .primary,.documentFormTopActions .secondary,.documentFormActions .primary,.documentFormActions .secondary{width:100%}.documentFormCard{padding:16px;border-radius:16px}.documentFormActions{margin:4px -16px -16px;padding:14px 16px;border-radius:0 0 16px 16px}}.inviteCard{width:min(520px,92vw)}.inviteSummary{border:1px solid #e4e7ec;background:#f8fafc;border-radius:18px;padding:16px;margin:12px 0 18px;display:grid;gap:6px}.inviteSummary span{color:#667085;font-weight:800}.pendingCompanyList{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.userInviteCard{padding:18px}.userAccessPanel{padding-top:16px}.userAccessPanel h3{margin:0 18px 12px}.tableSelect{min-width:150px;height:38px;border-radius:10px;padding:6px 10px}.pageHead{margin:10px 0 16px;gap:12px}.pageHead h1,.paymentsPageHead h1,.settingsWorkspace>.pageHead h1,.documentFormHead h1{margin:0;font-size:28px;line-height:1.08;letter-spacing:0}.pageHead p,.settingsWorkspace>.pageHead p,.documentFormHead p{margin:5px 0 0;font-size:14px;line-height:1.35;color:#667085}.toolbar h2,.referenceListToolbar h2,.settingsWorkspace .toolbar h2,.settingsWorkspace>section>.pageHead h1,.cardHead h2,.transactionsTableHead h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:0}.referenceListToolbar p,.settingsWorkspace .toolbar p,.settingsWorkspace>section>.pageHead p{margin:0;font-size:13px;line-height:1.35;color:#667085}.sidebarFooter{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:8px;flex-shrink:0}.sidebarFooter .settingsSubnav{margin:-2px 0 2px 28px}.sidebarUser{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;gap:9px;align-items:center;padding:9px 8px 9px 10px;border:1px solid rgba(255,255,255,.08);background:#172033;border-radius:14px;color:#fff}.sidebarLogoutIcon{width:32px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff0a;color:#aeb9ca;display:inline-flex;align-items:center;justify-content:center}.sidebarLogoutIcon:hover{background:#2a1720;border-color:#fca5a547;color:#fca5a5}.sidebarLogoutIcon svg{width:17px;height:17px}.brand{position:relative}.brandMark{display:inline-flex;align-items:center;justify-content:center}.sidebarCollapseButton{margin-left:auto;width:30px;height:30px;border-radius:10px;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);color:#aeb9ca;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.sidebarCollapseButton:hover{background:#202b3d;color:#fff;border-color:#8ea0ff59}.sidebarCollapseButton svg{width:17px;height:17px}.sidebarCollapsed aside{width:84px;padding:18px 14px;align-items:center}.sidebarCollapsed .brand{width:56px;justify-content:center;margin-bottom:12px}.sidebarCollapsed .brand b{display:none}.sidebarCollapsed .brandMark{width:44px;height:44px;border-radius:14px;background:#172033;border:1px solid rgba(255,255,255,.08)}.sidebarCollapsed .sidebarCollapseButton{position:absolute;right:-9px;top:7px;width:24px;height:24px;border-radius:8px;background:#202b3d;box-shadow:0 8px 18px #0003}.sidebarCollapsed .sidebarCompanies{width:56px;margin:0 0 10px;padding-bottom:12px}.sidebarCollapsed .sideCompany{width:56px;min-height:56px;grid-template-columns:1fr;padding:9px;justify-items:center}.sidebarCollapsed .sideCompanyText,.sidebarCollapsed .sideCompanyChevron,.sidebarCollapsed .settingsSubnav,.sidebarCollapsed .sidebarUserText{display:none}.sidebarCollapsed .nav{width:56px;height:48px;padding:0;justify-content:center;font-size:0;gap:0}.sidebarCollapsed .nav svg{width:22px;height:22px;flex-shrink:0}.sidebarCollapsed .settingsToggle{position:relative}.sidebarCollapsed .settingsToggle .settingsChevron{display:none}.sidebarCollapsed .sidebarFooter{width:56px;margin-top:auto;padding-top:10px}.sidebarCollapsed .sidebarUser{width:56px;grid-template-columns:1fr;justify-items:center;padding:9px;gap:8px}.sidebarCollapsed .sidebarLogoutIcon{width:38px;height:34px}.sidebarCollapsed .sideCompanyMenu{left:68px;right:auto;top:0;width:280px}.sidebarCollapsed .sideCompanyOption{grid-template-columns:34px minmax(0,1fr) 16px}.sidebarCollapsed .sideCompanyOption .sideCompanyText{display:grid}.documentWizardShell{display:grid;grid-template-columns:260px minmax(0,1fr);height:calc(100vh - 184px);min-height:420px;margin:-22px;overflow:hidden}.documentWizardSteps{border-right:1px solid #edf0f6;background:#fbfcff;padding:22px 18px;display:grid;align-content:start;gap:8px;min-height:0;overflow:auto}.documentWizardSteps button{position:relative;width:100%;border:0;background:transparent;color:#98a2b3;text-align:left;border-radius:14px;padding:10px 10px 10px 52px;display:grid;gap:4px}.documentWizardSteps button:before{content:"";position:absolute;left:26px;top:44px;bottom:-12px;width:1px;background:#edf0f6}.documentWizardSteps button:last-child:before{display:none}.documentWizardSteps span{position:absolute;left:10px;top:10px;width:32px;height:32px;border-radius:999px;background:#eef0f4;color:#667085;display:flex;align-items:center;justify-content:center;font-weight:900}.documentWizardSteps b{font-size:15px;line-height:1.2;color:#667085}.documentWizardSteps small{font-size:13px;line-height:1.35;color:#98a2b3}.documentWizardSteps button.active span{background:#5661f6;color:#fff}.documentWizardSteps button.active b{color:#172033}.documentWizardSteps button.active small{color:#667085}.documentWizardSteps button.done span{background:#e8f9ef;color:#16a34a}.documentWizardSteps button.done b{color:#344054}.documentWizardPane{min-width:0;min-height:0;padding:22px;display:grid;align-content:start;gap:14px;overflow:auto}.documentWizardPane>.grid2,.documentWizardPane>.grid3{margin:0}.documentWizardPane>.card{box-shadow:none}.documentStepPanel{display:grid;gap:18px;align-content:start}.documentStepHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #edf0f6}.documentStepHead h3{margin:0;font-size:22px;line-height:1.15;letter-spacing:0;color:#172033}.documentStepHead p{margin:6px 0 0;color:#667085;font-size:13px;line-height:1.35;max-width:620px}.documentStepHead b{font-size:22px;line-height:1.15;color:#172033;white-space:nowrap}.documentStepHead .secondary{height:42px;white-space:nowrap}.documentFormCard .documentSideRows{display:grid;gap:14px}.documentFormCard .documentSideRow{display:grid;grid-template-columns:320px minmax(0,1fr) 48px;gap:14px;align-items:end;padding:0}.documentFormCard .documentSideRow+.documentSideRow{padding-top:14px;border-top:1px solid #f0f2f7}.documentFormCard .documentSideRow>.field{min-width:0}.documentFormCard .documentSideRow>.ghost{width:42px;height:42px}.documentCounterpartyPicker{display:grid;gap:10px}.documentFormCard .readonlySideName{min-height:42px;display:grid;align-content:center;padding:8px 0;color:#172033}.documentFormCard .sidePickerTrigger{width:100%;min-height:42px;border:1px solid #d9deea;background:#fff;border-radius:11px;padding:8px 12px;color:#172033;text-align:left;display:grid;gap:2px;align-content:center}.documentFormCard .sidePickerTrigger:hover{border-color:#c8cfdd;background:#fcfdff}.documentFormCard .sidePickerLine{min-width:0;display:flex!important;align-items:baseline;gap:8px;overflow:hidden}.documentFormCard .sidePickerLine b{min-width:0;font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.documentFormCard .sidePickerLine small{flex:0 0 auto;font-size:12px;line-height:1.15;color:#667085;white-space:nowrap}.documentSideModal{width:min(720px,94vw)}.documentSideModalBody{display:grid;gap:14px;margin-bottom:16px}.miniTabs.compact{display:flex;width:max-content;max-width:100%;gap:2px;background:#f3f5f8;border-radius:10px;padding:3px;margin-bottom:2px}.miniTabs.compact button{height:30px;border-radius:8px;padding:0 11px;background:transparent;color:#667085;font-size:13px;font-weight:800;white-space:nowrap}.miniTabs.compact button.active{background:#fff;color:#172033;box-shadow:0 6px 14px #10182814}.inlineCounterpartyCreate{display:grid;gap:10px;padding:14px;border:1px solid #edf0f6;border-radius:16px;background:#fbfcff}.inlineCounterpartyCreate .grid2{margin:0;gap:12px}.inlineCounterpartyCreate .field{margin-bottom:0}.inlineCounterpartyCreate .primary{justify-self:start;height:40px}.documentItemsStep{gap:14px}.documentItemsScroll{max-height:min(520px,100vh - 430px);min-height:180px;overflow:auto;border:1px solid #edf0f6;border-radius:16px;background:#fff;overscroll-behavior:contain}.documentItemsScroll table{border:0!important;border-radius:0!important;background:#fff}.documentItemsStep table{border:1px solid #edf0f6;border-radius:16px;overflow:hidden;background:#fff}.documentItemsScroll thead th{position:sticky;top:0;z-index:2}.warehousePage{display:grid;gap:18px;margin-top:12px}.warehouseControls{display:grid;grid-template-columns:auto minmax(280px,420px);align-items:center;gap:18px;padding:14px 16px;border-radius:22px}.warehouseTabs{display:flex;gap:8px;flex-wrap:wrap}.warehouseTabs button{min-height:44px;border-radius:14px;padding:0 16px;background:#eef2ff;color:#344054;font-weight:900}.warehouseTabs button.active{background:#101828;color:#fff}.warehouseSearch{margin:0;height:46px}.warehouseSearch input{height:44px;padding-top:0;padding-bottom:0}.warehouseCard{border-radius:22px;overflow:auto}.warehouseCard table{min-width:980px}.warehouseCardHead{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #edf0f6}.warehouseCardHead h2{margin:0;font-size:24px;letter-spacing:-.03em}.warehouseCardHead p{margin:5px 0 0;color:#667085;font-weight:700}.warehouseBack{margin-bottom:10px;min-height:36px;padding:8px 12px}.stockProductInfo{display:grid;gap:4px;min-width:0}.stockProductInfo b{font-size:15px}.stockProductInfo small{color:#667085;font-weight:700}.stockDirection{display:inline-flex;align-items:center;gap:8px;font-weight:900}.stockDirection svg{width:18px;height:18px}.stockDirection.plus{color:#027a48}.stockDirection.minus{color:#b42318}@media (max-width: 900px){.warehouseControls{grid-template-columns:1fr}.warehouseCard table{min-width:820px}}.productionPage{display:grid;gap:18px;margin-top:12px}.productionToolbar{position:relative;z-index:30;overflow:visible;padding:14px 16px;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.productionToolbar .secondary{height:42px;white-space:nowrap}.productionExportDropdown{display:inline-flex}.productionExportDropdown .secondary svg:last-child{width:16px;height:16px;color:#667085}.productionExportMenu{background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 20px 46px #1018282e;padding:7px;display:grid;gap:4px}.productionExportMenu button{width:100%;min-height:48px;background:#fff;color:#172033;border-radius:12px;padding:10px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;font-weight:900}.productionExportMenu button:hover{background:#f8fafc}.productionExportMenu button:disabled{opacity:.55;cursor:not-allowed}.productionExportMenu span{width:34px;height:34px;border-radius:11px;background:#eef2ff;color:#3440d6;display:inline-flex;align-items:center;justify-content:center}.productionExportMenu svg{width:17px;height:17px}.productionSearch{margin:0;max-width:620px;min-width:280px;flex:1 1 360px;height:46px}.productionSearch input{height:44px;padding-top:0;padding-bottom:0}.productionFilters{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 1 auto;flex-wrap:wrap}.productionFilters select{width:180px;height:42px;border-radius:14px;padding-top:0;padding-bottom:0}.productionFilters .dropdownDateFilter{flex:0 0 260px}.productionFilters .periodTrigger{height:42px;border-radius:14px}.productionCard{position:relative;z-index:1;border-radius:22px;overflow:auto}.productionCard table{min-width:1120px}.productionNote{display:block;margin-top:4px;color:#667085;font-weight:700}.productionFormHead{align-items:center}.productionFormHeadActions{display:flex;gap:10px;align-items:center}.productionFormCard{padding:20px;overflow:visible}.productionFormBody{display:grid;gap:16px}.productionColumns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0}.productionItemsEditor{min-width:0;border:1px solid #e7eaf2;border-radius:18px;padding:16px;background:#fbfcff}.productionItemsHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.productionItemsHead h3{margin:0;font-size:18px}.productionItemsHead .secondary{min-height:36px;padding:8px 12px}.productionItemRow{display:grid;grid-template-columns:minmax(240px,1fr) 120px 52px 42px;align-items:center;gap:10px;margin-bottom:10px}.productionItemRow>.iconButton{width:42px;height:42px}.productionProductSelect,.productionProductButtonWrap{min-width:0}.productionProductSelect .asyncSearchTrigger{height:42px;border-radius:12px;padding-top:0;padding-bottom:0}.productionProductSelect .asyncSearchValue b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.productionProductButton{width:100%;height:42px;border:1px solid #d9deea;border-radius:12px;background:#fff;color:#667085;padding:0 12px;text-align:left;display:flex;align-items:center;gap:8px;min-width:0}.productionProductButton.hasValue{color:#172033}.productionProductButton b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.productionProductButton small{font-size:12px;color:#667085;font-weight:800;white-space:nowrap}.productionItemRow input{height:42px;border-radius:12px;padding-top:0;padding-bottom:0}.productionUnit{font-weight:900;color:#667085;text-align:center}.productionActions{margin-top:2px;padding-top:16px;border-top:1px solid #edf0f6;background:#fff}.iconButton{width:40px;height:40px;padding:0;border:1px solid #e4e7ec;background:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:#344054}.iconButton svg{width:18px;height:18px}.iconButton:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 1100px){.productionColumns{grid-template-columns:1fr}.productionItemRow{grid-template-columns:minmax(240px,1fr) 120px 52px 42px}.productionToolbar{align-items:stretch}.productionFilters{justify-content:flex-start;width:100%}}.documentItemsStep thead th{background:#fbfcff}.documentItemsStep tbody tr{background:#fff}.documentItemsStep tbody tr+tr td{border-top:1px solid #f1f3f8}.documentItemsStep .ghost{width:42px;height:42px;border:1px solid #e4e7ec;background:#fff}.documentItemsStep .ghost:hover{background:#fef2f2;color:#b42318;border-color:#fecaca}.documentAddRowButton{justify-self:start;margin-top:2px}.productPickerTrigger{width:100%;min-height:42px;border:1px solid #d9deea;background:#fff;border-radius:11px;padding:8px 12px;color:#172033;text-align:left;display:grid;gap:2px;align-content:center}.productPickerTrigger:hover{border-color:#c8cfdd;background:#fcfdff}.productPickerTrigger b{font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPickerTrigger small{font-size:12px;line-height:1.15;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge.SIGNING{background:#eff6ff;color:#175cd3}@media (max-width: 900px){.documentWizardShell{grid-template-columns:1fr;margin:-16px;height:auto;min-height:0;overflow:visible}.documentWizardSteps{border-right:0;border-bottom:1px solid #edf0f6;padding:14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));overflow:visible}.documentWizardSteps button:before{display:none}.documentWizardPane{padding:16px;overflow:visible}.documentStepHead{display:grid;gap:12px}.documentStepHead .secondary{width:100%;justify-content:center}.documentFormCard .documentSideRow{grid-template-columns:1fr}.miniTabs.compact{width:100%;display:grid;grid-template-columns:1fr 1fr}}.primary,.secondary,.success,.danger,.ghost,.link,.chip{border-radius:11px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:700;line-height:1.2}.primary{background:#5661f6;color:#fff;box-shadow:0 12px 24px #5661f638}.secondary{background:#eef2ff;color:#344054}.success{background:#16a34a;color:#fff}.danger{background:#ef4444;color:#fff}.ghost{background:#fff;border:1px solid #e4e7ec;color:#344054}.ghost:disabled{opacity:.6;cursor:not-allowed}.link{width:100%;background:transparent;color:#5661f6}.chip{background:#fff;border:1px solid #e4e7ec;color:#667085}.chip.on{background:#101828;color:#fff}.primary svg,.secondary svg,.success svg,.danger svg,.ghost svg,.chip svg{width:17px;height:17px}.iconBtn{width:42px;height:42px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;color:#344054;display:inline-flex;align-items:center;justify-content:center}.iconBtn svg{width:17px;height:17px}.dangerIcon:hover{border-color:#fecaca;background:#fef2f2;color:#b42318}.card{background:#fff;border:1px solid #e7eaf2;border-radius:18px;box-shadow:0 10px 26px #1018280b;overflow:auto}.documentFormCard,.documentFormCard .card,.documentSidesCard,.docItemsCard{overflow:visible}.documentFormCard,.documentWizardShell{overflow:hidden}.documentWizardPane{overflow:auto}@media (max-width: 900px){.documentFormCard,.documentWizardShell,.documentWizardPane{overflow:visible}}.cardHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf0f6}.cardHead h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:0}@media (max-width: 640px){.cardHead{display:grid}}input,select,textarea{width:100%;border:1px solid #d9deea;border-radius:11px;padding:9px 11px;background:#fff;color:#172033;font-size:14px;outline:none}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:44px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px 18px}textarea{min-height:66px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#6d7dfc;box-shadow:0 0 0 4px #6d7dfc1f}.field{display:grid;gap:6px;margin-bottom:10px}.field span{display:flex;align-items:center;gap:4px;color:#344054;font-size:12px;font-weight:800}.field em{margin-left:4px;color:#98a2b3;font-style:normal;font-weight:700}.field.hasError input,.field.hasError select,.field.hasError textarea{border-color:#ef4444;background:snow}.field.hasError input:focus,.field.hasError select:focus,.field.hasError textarea:focus{border-color:#ef4444;box-shadow:0 0 0 4px #ef44441f}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.checkrow{display:flex;align-items:center;gap:12px;border:1px solid #e4e7ec;border-radius:13px;padding:10px;margin:8px 0}.checkrow input{width:auto}.checkrow span{display:grid}.tableSelect{min-width:150px;height:38px;border-radius:10px;padding:6px 34px 6px 10px}@media (max-width: 900px){.grid2,.grid3{grid-template-columns:1fr}}table{width:100%;border-collapse:collapse}th,td{padding:10px 12px;border-bottom:1px solid #edf0f6;text-align:left;vertical-align:middle}th{background:#fbfcff;color:#7b8497;font-size:11px;text-transform:uppercase}td{font-size:14px}tr:hover td{background:#fbfcff}.rowActions{display:flex;justify-content:flex-end;gap:6px}.rowActions button{width:32px;height:32px;border:1px solid #e4e7ec;border-radius:9px;padding:0;background:#fff;color:#344054;display:inline-flex;align-items:center;justify-content:center}.rowActions button:disabled{opacity:.45;cursor:not-allowed}.rowActions svg{width:15px;height:15px}.tableLink{background:transparent;color:#3440d6;font-weight:900;padding:0;text-align:left}.tableLink:hover{text-decoration:underline}.badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.badge.PENDING{background:#fff7ed;color:#c2410c}.badge.CONFIRMED{background:#ecfdf3;color:#027a48}.badge.REJECTED{background:#fef2f2;color:#b42318}.money{font-weight:800}.money.plus{color:#16a34a}.money.minus{color:#dc2626}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:#10182880}.modal{width:min(680px,100%);max-height:90vh;overflow:auto;border-radius:22px;background:#fff;padding:18px;box-shadow:0 30px 90px #10182859}.modalHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modalHead h2{margin:0;font-size:20px;line-height:1.15}.asyncSearchSelect{position:relative;width:100%}.asyncSearchSelect.open{z-index:140}.asyncSearchSelect.disabled{opacity:.62}.asyncSearchTrigger{width:100%;min-height:42px;border:1px solid #d9deea;border-radius:11px;padding:9px 11px;background:#fff;color:#172033;display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:10px;text-align:left;font-size:14px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.asyncSearchTrigger:hover{border-color:#c8cfdd;background:#fcfdff}.asyncSearchTrigger.open{border-color:#5b5ff0;box-shadow:0 0 0 3px #5b5ff01f}.asyncSearchTrigger.hasValue .asyncSearchValue b{color:#172033}.asyncSearchTrigger svg{width:18px;height:18px;color:#667085}.asyncSearchValue{min-width:0;display:grid;gap:1px}.asyncSearchValue b{overflow:hidden;color:#667085;font-size:14px;font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.asyncSearchValue small{overflow:hidden;color:#667085;font-size:12px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.asyncSearchMenu{position:absolute;z-index:120;top:calc(100% + 6px);left:0;right:0;overflow:hidden;border:1px solid #d9deea;border-radius:14px;background:#fff;box-shadow:0 18px 42px #1018282e}.asyncSearchInput{height:44px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;border-bottom:1px solid #edf0f6;background:#f8fafc;padding:0 12px}.asyncSearchInput svg{width:18px;height:18px;color:#98a2b3}.asyncSearchInput input{height:34px;border:0;background:transparent;box-shadow:none;padding:0;font-size:14px}.asyncSearchInput input:focus{outline:0;box-shadow:none}.asyncSearchList{max-height:260px;overflow:auto;padding:6px}.asyncSearchList button{width:100%;border:0;border-radius:10px;background:#fff;color:#172033;display:grid;gap:3px;padding:10px 11px;text-align:left}.asyncSearchList button:hover{background:#eef3ff}.asyncSearchList b{font-size:14px}.asyncSearchList small,.asyncSearchState{color:#667085;font-size:12px}.asyncSearchState{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 10px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toastStack{position:fixed;top:18px;right:18px;z-index:2147483647;width:min(420px,100vw - 36px);display:grid;gap:10px;pointer-events:none}.toastItem{pointer-events:auto;display:grid;grid-template-columns:22px minmax(0,1fr) 28px;align-items:start;gap:10px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;color:#172033;padding:13px 12px;box-shadow:0 18px 46px #10182829;animation:toastIn .18s ease-out}.toastItem svg{width:20px;height:20px;margin-top:1px;color:#5661f6}.toastItem.success{border-color:#bbf7d0;background:#f0fdf4}.toastItem.success svg{color:#16a34a}.toastItem.error{border-color:#fecaca;background:#fff5f5}.toastItem.error svg{color:#dc2626}.toastItem p{margin:0;overflow-wrap:anywhere;font-size:14px;font-weight:750;line-height:1.35}.toastItem button{width:28px;height:28px;border:0;border-radius:9px;background:transparent;color:#667085;display:flex;align-items:center;justify-content:center}.toastItem button:hover{background:#1018280f}.toastItem button svg{width:16px;height:16px;margin:0;color:currentColor}@keyframes toastIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.paginationBar{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #edf1f7;padding:14px 16px;color:#667085;font-weight:800}.paginationBar button{min-height:36px;padding:8px 12px}.empty{padding:24px;color:#7b8497;text-align:center}.emptyStatePage{min-height:100vh;display:grid;place-items:center}.emptyStatePage .card{width:min(620px,92vw);padding:28px}.emptyStatePage h1{margin:0 0 10px}.emptyStatePage p{color:#667085;line-height:1.5}
