: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}textarea{min-height:84px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#6d7dfc;box-shadow:0 0 0 4px #6d7dfc1f}.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}.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}.link{background:transparent;color:#5661f6;width:100%}.chip{background:#fff;border:1px solid #e4e7ec;color:#667085}.chip.on{background:#101828;color:#fff}.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}table{width:100%;border-collapse:collapse}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}tr:hover td{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}.money{font-weight:800}.money.plus{color:#16a34a}.money.minus{color:#dc2626}.badge{display:inline-flex;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.badge.PENDING{background:#fff7ed;color:#c2410c}.badge.CONFIRMED{background:#ecfdf3;color:#027a48}.badge.REJECTED{background:#fef2f2;color:#b42318}.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 input{width:auto}.checkrow span{display:grid}.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}.ghost:disabled{opacity:.6;cursor:not-allowed}.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}.iconBtn svg{width:17px;height:17px}.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}.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}.fieldError{margin-top:-2px;color:#b42318;font-size:12px;font-weight:800}.rowActions button:disabled{opacity:.45;cursor:not-allowed}.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,calc(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}.accountingToolbar{align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.accountingToolbarActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;position:relative}.exportDropdown{position:relative}.exportDropdown>.secondary svg:last-child{width:15px;height:15px}.exportMenu{position:absolute;right:0;top:calc(100% + 6px);width:240px;background:#fff;border:1px solid #d0d5dd;border-radius:12px;box-shadow:0 16px 36px #1018282e;padding:6px;z-index:45}.exportMenu button{width:100%;height:42px;border-radius:9px;background:#fff;color:#172033;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;text-align:left;padding:0 10px;font-weight:750}.exportMenu button:hover{background:#f4f6f8}.exportMenu button:disabled{opacity:.5;cursor:not-allowed}.exportMenu svg{width:18px;height:18px;color:#98a2b3}.kpiGrid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;margin-bottom:16px}.kpi{background:#fff;border:1px solid #e7eaf2;border-radius:22px;padding:18px;box-shadow:0 14px 34px #1018280d;display:grid;gap:8px}.kpi span{color:#667085;font-weight:800;font-size:13px}.kpi strong{font-size:24px;color:#101828}.accountingGrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:16px;margin-bottom:16px}.sideStack{display:grid;gap:16px}.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}.controlList{display:grid}.controlList div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf0f6}.controlList span{color:#667085}.controlList b{font-size:20px}.taxNote{margin:0;padding:14px 18px;color:#667085;font-size:13px}.categoriesCard{margin-bottom:16px}.accountingGrid .card table{min-width:720px}@media (max-width:1100px){.kpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.accountingGrid{grid-template-columns:1fr}}@media (max-width:640px){.kpiGrid{grid-template-columns:1fr}.cardHead{display:grid}.accountingToolbar .dateFilter,.headActions,.headActions button,.accountingToolbarActions,.exportDropdown,.exportDropdown>.secondary{width:100%}.accountingToolbarActions{display:grid;margin-left:0}}.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,.transactionsCard table{overflow:visible}.transactionsCard .ruleActionMenu{z-index:120}.documentsCard,.employeesCard,.employeesCard table{overflow:visible}.employeesCard .ruleActionMenu{z-index:120}.employeeStatusTabs{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 12px}.employeeStatusTabs button{display:flex;align-items:center;justify-content:center;gap:6px}.employeeStatusTabs small{color:#98a2b3;font-weight:900}.employeesCard .selectCol{width:42px;text-align:center}.employeeSelectCheckbox{width:16px;height:16px;accent-color:#5661f6;cursor:pointer}.selectedEmployeeRow{background:#f8f9ff}.employeeDraftActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 18px 18px;border-top:1px solid #edf1f7;background:#fbfcff}.employeeDraftActions .primary,.employeeDraftActions .secondary{min-height:38px;padding:9px 14px}.employeeDraftActions button:disabled{background:#eef2f7!important;color:#98a2b3!important;border-color:#eef2f7!important;box-shadow:none!important;cursor:not-allowed;opacity:1}.employeeOrderModal{width:min(760px,100%)}.employeeOrderModal form{display:grid;gap:6px}.employeeOrderModal .field{margin-bottom:6px}.employeeOrderModal textarea{min-height:72px}.employeeOrderEmployees{margin:4px 0 8px;overflow:hidden;box-shadow:none}.employeeOrderEmployees .cardHead{padding:11px 14px}.employeeCompactList{display:grid;max-height:none}.employeeCompactItem{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(140px,.65fr) auto;align-items:center;gap:12px;padding:11px 14px;border-top:1px solid #edf1f7;cursor:default}.employeeCompactItem.readonly{grid-template-columns:minmax(180px,1fr) minmax(140px,.65fr) auto}.employeeCompactItem:first-child{border-top:0}.employeeCompactItem:has(input){cursor:pointer}.employeeCompactName{display:grid;gap:2px;min-width:0}.employeeCompactName b,.employeeCompactName small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employeeCompactName small{color:#667085;font-weight:700}.payrollRunsCard,.payrollRunsCard table{overflow:visible}.payrollRunsCard .ruleActionMenu{z-index:120}.docViewMode{display:grid;grid-template-columns:minmax(240px,20%) minmax(620px,80%);gap:12px}.docViewInfo,.docViewPdf{overflow:hidden}.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:62vh;border:0;background:#f8fafc}.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}@media (max-width:1000px){.docViewMode{grid-template-columns:1fr}.docViewPdf iframe{height:50vh}}.journalLines{display:grid;gap:6px;min-width:180px}.journalLines div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;font-size:13px}.journalLines b{font-size:13px}.journalLines span{color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journalLines strong{font-size:13px;white-space:nowrap}.journalModal{width:min(1040px,100%)}.journalEditHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px}.journalEditRows{display:grid;gap:8px;margin-bottom:12px}.journalEditRow{display:grid;grid-template-columns:.8fr 1.4fr .8fr .8fr .7fr auto;gap:8px;align-items:center}.journalEditRow input,.journalEditRow select{padding:10px 11px;border-radius:10px}.journalEditRow .ghost{width:40px;height:40px;padding:0}.journalEditRow svg{width:16px;height:16px}@media (max-width:900px){.journalEditRow{grid-template-columns:1fr 1fr}.journalEditRow .ghost{width:100%}}.accountingSubnav{display:flex;gap:8px;flex-wrap:wrap;margin:-6px 0 18px}.accountingSubnav button{background:#fff;border:1px solid #e4e7ec;color:#344054;border-radius:14px;padding:11px 14px;font-weight:800}.accountingSubnav button:hover,.accountingSubnav button.active{background:#eef2ff;border-color:#c7d2fe;color:#3440d6}.chartAccountTitle{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}.chartAccountTitle b{font-variant-numeric:tabular-nums}.chartAccountTitle span:not(.chartAccountArrow){overflow:hidden;text-overflow:ellipsis}.chartAccountArrow{color:#98a2b3;font-weight:800}.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}.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}.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:4px;margin:-1px 0 5px 30px;padding:3px 0}.settingsSubnav button{border-radius:11px;padding:8px 11px;font-size:12px}body{font-size:14px}main{padding:0 24px 24px}.pageHead{margin:10px 0 16px;gap:12px}.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}.primary svg,.secondary svg,.success svg,.danger svg,.ghost svg,.chip svg{width:17px;height:17px}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}th,td{padding:10px 12px}th{font-size:11px}td{font-size:14px}.rowActions{gap:6px}.rowActions button{width:32px;height:32px;padding:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.rowActions svg{width:15px;height:15px}.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}.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;border-radius:17px;padding:12px;gap:5px}.acc span{font-size:11px}.acc b{font-size:14px;line-height:1.2}.acc strong{font-size:18px;letter-spacing:0}.acc small{font-size:11px;line-height:1.2}.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}.paymentActions,.statusFilters{gap:7px}.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}.journalLines{gap:4px}.journalLines div{gap:6px;font-size:12px}.journalLines b,.journalLines strong{font-size:12px}.journalEditHead{margin:8px 0 10px}.journalEditRows{gap:6px;margin-bottom:10px}.journalEditRow{gap:6px}.journalEditRow input,.journalEditRow select{padding:8px 9px;border-radius:9px}.journalEditRow .ghost{width:34px;height:34px}.journalEditRow{grid-template-columns:minmax(260px,2fr) .8fr .8fr .7fr auto}.journalAccountCell{min-width:0}.chartAccountPicker .comboMenu{min-width:320px}.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}.employeeProfileModal{width:min(900px,100%)}.employeeProfileGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.employeeProfileItem{border:1px solid #edf0f6;background:#fbfcff;border-radius:16px;padding:12px;display:grid;gap:6px;min-width:0}.employeeProfileItem span,.employeeNotes span{font-size:12px;font-weight:800;text-transform:uppercase;color:#7b8497}.employeeProfileItem b{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.employeeNotes{border:1px solid #edf0f6;border-radius:16px;padding:12px;margin-bottom:16px}.employeeNotes p{margin:6px 0 0;color:#344054;line-height:1.45}.employeeDocsCard{box-shadow:none;border-radius:18px}.employeeDocsCard table{min-width:720px}.fileDropzone{border:1.5px dashed #5966ff;background:#f7f8ff;border-radius:18px;padding:18px 22px;min-height:82px;display:flex;align-items:center;gap:14px;cursor:pointer;transition:.15s border-color,.15s background,.15s box-shadow,.15s transform}.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:flex;align-items:baseline;gap:12px;min-width:0;flex-wrap:wrap}.fileDropzoneText b{display:block;max-width:min(520px,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}@media (max-width:900px){.employeeProfileGrid{grid-template-columns:1fr 1fr}}.payrollModal{width:min(1040px,100%)}.payrollPanel{border:1px solid #e4e7ec;background:#fbfcff;border-radius:18px;padding:12px;margin-bottom:12px}.payrollSetup{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:10px;margin-bottom:8px}.payrollSetup input[readonly]{background:#f8fafc;color:#475467}.payrollMethodBox{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 8px}.payrollMethodBox.compact{grid-template-columns:minmax(220px,340px)}.payrollMethodBox.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.payrollMethodBox.summary div{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:10px 12px;display:grid;gap:3px}.payrollMethodBox.summary span{font-size:12px;color:#667085;font-weight:800}.payrollMethodBox.summary b{font-size:18px;color:#172033}.payrollHint{margin:6px 0 0;color:#365bd7;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:9px 11px;font-weight:800;font-size:13px}.taxRateSummary{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#475467;font-size:13px}.taxRateSummary b{color:#172033}.payrollRows{max-height:42vh;overflow:auto;margin:12px 0}.payrollRows table{min-width:1120px}.payrollRows input[type=number]{min-width:92px}.payrollRows input[type=checkbox]{width:18px;height:18px}.payrollTotals{margin-top:10px}.payrollTaxSettingsCard{padding:14px}.tableLink{background:transparent;color:#3440d6;font-weight:900;padding:0;text-align:left}.tableLink:hover{text-decoration:underline}@media (max-width:900px){.payrollSetup,.payrollMethodBox,.payrollMethodBox.summary{grid-template-columns:1fr}}
