:root{--ink:#202331;--muted:#737786;--subtle:#a6aab5;--line:#e7e8ed;--canvas:#fbfbfc;--panel:#fff;--nav:#fdfdfe;--indigo:#526eee;--indigo-soft:#eef1ff;--orange:#d97828;--orange-soft:#fff4e9;--green:#10956b;--green-soft:#e8f6f0;--red:#d84b55;--red-soft:#fff0f1;--radius:14px;--shadow:0 2px 8px #1f23310b,0 14px 30px #1f233106;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{color:var(--ink);background:var(--canvas);margin:0;font-size:14px;line-height:1.4}.app{grid-template-rows:80px minmax(0,1fr);grid-template-columns:272px minmax(0,1fr);min-height:100vh;display:grid}button,input,select{font:inherit}button{cursor:pointer}svg{stroke:currentColor;stroke-width:1.65px;fill:none;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.brand{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--nav);letter-spacing:-.025em;grid-area:1/1;align-items:center;gap:11px;padding:0 28px;font-size:16px;font-weight:650;display:flex}.mark{color:#fff;background:linear-gradient(145deg,#6a81f6,#465ee1);border-radius:9px;place-items:center;width:28px;height:28px;display:grid;box-shadow:inset 0 1px #ffffff59}.mark svg{width:16px}.topbar{border-bottom:1px solid var(--line);background:#fdfdfee6;grid-area:1/2;align-items:center;gap:18px;padding:0 38px;display:flex}.search{max-width:690px;height:40px;color:var(--muted);background:#fff;border:1px solid #e1e3e9;border-radius:9px;flex:1;align-items:center;gap:10px;padding:0 12px;display:flex}.search input{min-width:0;color:var(--ink);border:0;outline:0;flex:1}.keys{gap:4px;display:flex}.keys kbd{border:1px solid var(--line);color:var(--muted);background:#fafafa;border-radius:4px;padding:1px 5px;font-size:11px}.top-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.button,.icon-button,.period button,.tab{color:var(--ink);background:0 0;border:0}.button{border-radius:22px;align-items:center;gap:7px;height:38px;padding:0 16px;font-weight:600;display:inline-flex}.button.primary{background:var(--indigo);color:#fff}.button.soft{background:var(--indigo-soft);color:#425bd6}.button.outline{border:1px solid var(--line);background:#fff}.icon-button{width:38px;height:38px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.icon-button:hover{color:var(--ink);background:#f2f3f6}.avatar{color:#47535a;background:#dceaf0;border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:750;display:grid}.sidebar{border-right:1px solid var(--line);background:var(--nav);grid-area:2/1;padding:28px 16px}.nav-label{color:var(--muted);margin:22px 12px 8px;font-size:12px}.nav{gap:3px;display:grid}.nav button{color:#555a68;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;height:39px;padding:0 10px;font-size:14px;display:flex}.nav button svg{color:#777d8d;width:18px}.nav button:hover{background:#f3f4f6}.nav button.active{color:#2c3550;background:#f0f2f4;font-weight:600}.nav button.active svg{color:var(--indigo)}.nav button .count{color:#6c7180;text-align:center;background:#edf0f8;border-radius:4px;min-width:20px;margin-left:auto;padding:1px 5px;font-size:11px}.subnav{gap:3px;margin:2px 0 0 38px;display:none}.subnav.open{display:grid}.subnav button{height:31px;padding:0 8px;font-size:13px}.subnav button.active{color:var(--indigo);background:0 0}.content{grid-area:2/2;padding:42px clamp(32px,5vw,88px) 70px;overflow:hidden}.page{max-width:1280px;margin:0 auto;display:none}.page.active{display:block}.page-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.page-head h1{letter-spacing:-.045em;margin:0;font-size:28px;font-weight:580}.page-head p{color:var(--muted);margin:5px 0 0}.tabs{border-bottom:1px solid var(--line);gap:25px;margin-bottom:26px;display:flex}.tab{height:38px;color:var(--muted);padding:0;font-size:14px;position:relative}.tab.active{color:var(--ink);font-weight:550}.tab.active:after{content:"";background:var(--indigo);border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.filters{align-items:center;gap:8px;display:flex}.period{border:1px solid var(--line);background:#fff;border-radius:8px;padding:3px;display:flex}.period button{height:28px;color:var(--muted);border-radius:6px;padding:0 11px;font-size:13px}.period button.active{color:var(--ink);background:#f0f2f7;font-weight:600}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr);gap:22px;display:grid}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.profit-panel{min-height:345px;padding:28px 30px 0;position:relative;overflow:hidden}.profit-panel:before{content:"";background:var(--indigo);border-radius:0 4px 4px 0;width:3px;position:absolute;top:24px;bottom:24px;left:0}.eyebrow{color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.help{width:16px;height:16px;color:var(--muted);border:1px solid #a8adb9;border-radius:50%;place-items:center;font-size:10px;display:grid}.profit-row{justify-content:space-between;align-items:flex-end;gap:16px;margin-top:8px;display:flex}.money{font-variant-numeric:tabular-nums;letter-spacing:-.055em;white-space:nowrap}.profit-number{font-size:42px;font-weight:520}.change{color:var(--green);white-space:nowrap;font-size:13px;font-weight:600}.chart{height:148px;margin:22px -30px 0;padding:0 24px;position:relative}.chart svg{width:100%;height:100%;overflow:visible}.chart .gridline{stroke:#eceef2;stroke-width:1px}.chart .area{stroke:none;fill:url(#area)}.chart .line{stroke:var(--indigo);stroke-width:2.3px}.chart .point{fill:var(--indigo);stroke:#fff;stroke-width:3px}.chart-labels{color:var(--subtle);justify-content:space-between;margin:3px 0 14px;font-size:11px;display:flex}.profit-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;margin:0 -30px;padding:15px 30px;font-size:13px;display:flex}.profit-footer strong{color:var(--ink);font-weight:600}.breakdown{min-height:345px;padding:25px 25px 14px}.panel-title{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.panel-title h2{letter-spacing:-.02em;margin:0;font-size:16px;font-weight:620}.text-action{color:#4965df;background:0 0;border:0;padding:0;font-weight:550}.expense-list{display:grid}.expense-item{border-bottom:1px solid var(--line);grid-template-columns:8px 1fr auto;align-items:center;gap:10px;padding:13px 0;display:grid}.expense-item:last-child{border-bottom:0}.dot{background:var(--orange);border-radius:50%;width:7px;height:7px}.dot.pale{background:#d9dce5}.expense-item small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.expense-item b{font-variant-numeric:tabular-nums;font-weight:570}.summary-strip{grid-template-columns:repeat(3,1fr);gap:0;margin-top:22px;padding:19px 22px;display:grid}.summary-strip>div{border-right:1px solid var(--line);padding:0 18px}.summary-strip>div:first-child{padding-left:0}.summary-strip>div:last-child{border:0}.summary-strip span{color:var(--muted);margin-bottom:4px;font-size:12px;display:block}.summary-strip b{font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:18px;font-weight:550}.activity{margin-top:43px}.section-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.section-head h2{letter-spacing:-.025em;margin:0;font-size:18px}.flat-table{border-collapse:collapse;width:100%}.flat-table th{text-align:left;height:37px;color:var(--muted);border-bottom:1px solid var(--line);font-size:12px;font-weight:500}.flat-table td{border-bottom:1px solid var(--line);color:#4a4e5c;height:58px}.flat-table td:last-child,.flat-table th:last-child{text-align:right}.flat-table td.amount{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:550}.badge{border-radius:5px;align-items:center;height:23px;padding:0 8px;font-size:11px;font-weight:650;display:inline-flex}.badge.orange{color:#a65c1c;background:var(--orange-soft)}.badge.green{color:#087d59;background:var(--green-soft)}.badge.red{color:#b83f49;background:var(--red-soft)}.toolbar{align-items:center;gap:8px;margin:0 0 20px;display:flex}.field{border:1px solid var(--line);min-width:145px;height:38px;color:var(--muted);background:#fff;border-radius:7px;align-items:center;gap:8px;padding:0 11px;display:flex}.ledger-title{align-items:center;gap:14px;display:flex}.ledger-title .count{color:var(--muted);font-size:13px}.merchant{align-items:center;gap:10px;display:flex}.merchant-mark{color:#5d6476;background:#f0f1f5;border-radius:50%;place-items:center;width:29px;height:29px;font-size:11px;font-weight:700;display:grid}.ledger-table .sub{color:var(--muted);margin-top:2px;font-size:12px}.expense{color:var(--orange)!important}.mapping{grid-template-columns:minmax(0,1fr) 310px;gap:30px;display:grid}.mapping-list{border-top:1px solid var(--line)}.mapping-row{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(260px,.9fr);align-items:center;gap:24px;min-height:78px;display:grid}.select-look{background:#fff;border:1px solid #dfe2e9;border-radius:8px;justify-content:space-between;align-items:center;height:42px;padding:0 12px;font-weight:550;display:flex}.ai{color:#5871ee;margin-right:7px}.mapping-aside{padding:23px}.mapping-aside h2{margin:0 0 8px;font-size:17px}.mapping-aside p{color:var(--muted);margin:0 0 16px}.progress{background:#ebeef7;border-radius:5px;height:6px;overflow:hidden}.progress i{background:var(--indigo);border-radius:inherit;width:79%;height:100%;display:block}.form-layout{grid-template-columns:minmax(0,680px) 260px;gap:68px;display:grid}.form-card{padding:27px}.form-section+.form-section{border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.form-section h2{margin:0 0 17px;font-size:17px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.control label{color:#626777;margin:0 0 6px;font-size:12px;display:block}.control input,.control select{width:100%;height:42px;color:var(--ink);background:#fff;border:1px solid #dfe2e8;border-radius:8px;outline:none;padding:0 11px}.impact{padding-top:7px}.impact h2{margin:0 0 15px;font-size:15px}.impact-row{border-bottom:1px solid var(--line);padding:13px 0}.impact-row span{color:var(--muted);font-size:12px;display:block}.impact-row b{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:18px}.settings-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:20px;padding:20px 0;display:flex}.setting-row:last-child{border:0}.setting-row h3{margin:0 0 3px;font-size:14px}.setting-row p{color:var(--muted);margin:0;font-size:13px}.switch{background:var(--indigo);border:0;border-radius:12px;width:39px;height:23px;padding:3px}.switch i{background:#fff;border-radius:50%;width:17px;height:17px;margin-left:auto;display:block}.empty-note{background:var(--orange-soft);color:#89511d;border-radius:8px;align-items:center;gap:9px;margin-bottom:20px;padding:13px 14px;display:flex}.toast{z-index:9;border:1px solid var(--line);box-shadow:var(--shadow);opacity:0;pointer-events:none;background:#fff;border-radius:10px;padding:12px 16px;transition:all .2s;position:fixed;bottom:26px;right:28px;transform:translateY(12px)}.toast.show{opacity:1;transform:none}.mobile-menu{display:none}@media (width<=920px){.app{grid-template-columns:76px 1fr}.brand{justify-content:center;padding:0}.brand span,.nav button span,.nav-label,.subnav{display:none!important}.sidebar{padding:24px 12px}.nav button{justify-content:center;padding:0}.nav button .count{margin-top:-25px;margin-left:30px;position:absolute}.topbar{padding:0 20px}.top-actions .button{display:none}.content{padding:30px 28px}.dashboard-grid,.mapping,.form-layout{grid-template-columns:1fr}.mapping-aside,.impact{display:none}.settings-grid{grid-template-columns:1fr}.profit-panel{min-height:325px}}@media (width<=650px){.app{display:block}.brand{border:0;justify-content:flex-start;height:60px;padding:0 20px}.brand>span:not(.mark){display:none}.topbar{border-top:1px solid var(--line);height:54px;padding:0 16px}.sidebar{display:none}.sidebar.mobile-open{z-index:8;border-right:0;display:block;position:fixed;inset:114px 0 0;overflow:auto;box-shadow:0 12px 26px #1f23311c}.sidebar.mobile-open .nav button{justify-content:flex-start}.sidebar.mobile-open .nav button span{display:inline!important}.sidebar.mobile-open .nav button .count{margin-top:0;margin-left:auto;position:static}.sidebar.mobile-open .nav-label{display:block!important}.sidebar.mobile-open .subnav{display:none!important}.content{padding:26px 18px}.page-head{flex-direction:column;align-items:flex-start;margin-bottom:18px}.filters{justify-content:space-between;width:100%}.search{max-width:none}.keys,.avatar{display:none}.dashboard-grid{gap:15px}.summary-strip{grid-template-columns:1fr;gap:14px}.summary-strip>div{border:0;padding:0}.profit-number{font-size:35px}.form-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.flat-table th:nth-child(3),.flat-table td:nth-child(3),.ledger-table th:nth-child(4),.ledger-table td:nth-child(4){display:none}.tabs{gap:17px;overflow:auto}.top-actions{gap:0}.mobile-menu{display:grid}.page-head .button{justify-content:center;width:100%}}:root{--radius:8px}.panel,.button,.search,.field,.period,.period button,.tab,.nav button,.subnav button,.date-range,.calendar-control,.custom-select-trigger,.calendar-popover,.custom-options,.empty-note,.badge,.mark,.toast,.source-rule,.merchant-mark,.calendar-top button,.calendar-grid button,.custom-options button,.progress,.progress i,.button{border-radius:8px!important}.profit-panel:before{border-radius:0 8px 8px 0!important}.calendar-grid button.in-range{border-radius:0!important}.icon-button,.avatar,.dot,.employee-avatar{border-radius:50%!important}.switch{border-radius:12px!important}.switch i{border-radius:50%!important}svg{stroke-width:1.5px!important;stroke-linecap:round!important;stroke-linejoin:round!important}.expense-modal{z-index:30;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1a1e2a3d;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.expense-modal[hidden]{display:none}.modal-card{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(620px,100%);padding:26px;box-shadow:0 24px 60px #181e2d33}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:23px;display:flex}.modal-head h2{letter-spacing:-.035em;margin:0;font-size:22px}.modal-head p{color:var(--muted);margin:5px 0 0}.modal-close{width:34px;height:34px;color:var(--muted);background:#f4f5f7;border:0;border-radius:8px;place-items:center;display:grid}.modal-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}@media (width<=650px){.expense-modal{align-items:end;padding:0}.modal-card{border-radius:8px 8px 0 0;padding:22px}.modal-actions .button{flex:1;justify-content:center}}.quick-expense{white-space:nowrap;border:1px solid var(--line)!important;color:#425bd6!important;background:#fff!important}.quick-expense:hover{background:#f8f9ff!important;border-color:#cdd2df!important}.date-range,.calendar-control,.custom-select-trigger{border:1px solid var(--line);min-width:184px;height:38px;color:var(--ink);text-align:left;background:#fff;border-radius:8px;align-items:center;gap:9px;padding:0 12px;font-weight:550;display:inline-flex}.date-range svg,.calendar-control svg{color:var(--muted);width:17px}.date-range span,.calendar-control span{flex:1}.date-range:hover,.calendar-control:hover,.custom-select-trigger:hover{border-color:#cdd2df}.calendar-wrap,.custom-select{position:relative}.custom-select-trigger{justify-content:space-between;width:100%;font-weight:400}.custom-select-trigger svg{width:16px}.calendar-popover,.custom-options{z-index:10;background:#fff;border:1px solid #dfe2e9;border-radius:11px;width:290px;padding:14px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 16px 34px #1e233421}.calendar-popover[hidden],.custom-options[hidden]{display:none}.calendar-top{justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;font-weight:650;display:flex}.calendar-top button{width:27px;height:27px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.calendar-top button:hover{color:var(--ink);background:#f1f3f7}.calendar-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.calendar-grid span{height:28px;color:var(--muted);place-items:center;font-size:11px;font-weight:650;display:grid}.calendar-grid button.muted{color:#a8acb6}.calendar-grid button.in-range{background:var(--indigo-soft);border-radius:0}.calendar-grid button.range-start,.calendar-grid button.range-end,.calendar-grid button.selected{background:var(--indigo);color:#fff;border-radius:6px;font-weight:650}.calendar-actions{border-top:1px solid var(--line);justify-content:space-between;margin-top:12px;padding-top:11px;display:flex}.calendar-actions button{color:#4663df;background:0 0;border:0;padding:0;font-size:12px;font-weight:600}.custom-options{width:100%;padding:5px}.custom-options button{width:100%;height:35px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;padding:0 9px;display:block}.custom-options button:hover,.custom-options button.active{background:var(--indigo-soft);color:#344dc5}.native-hidden{display:none!important}.source-rule{border-left:3px solid var(--indigo);color:#4c587b;background:#f5f6ff;border-radius:0 8px 8px 0;margin-top:17px;padding:14px;font-size:13px}.payroll-card{padding:24px}.payroll-total{font-variant-numeric:tabular-nums;letter-spacing:-.05em;font-size:32px;font-weight:580}.employee-row{border-bottom:1px solid var(--line);grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding:15px 0;display:grid}.employee-row:last-child{border-bottom:0}.employee-avatar{color:#5264c6;background:#edf0fa;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:grid}.worker-grid{grid-template-columns:minmax(0,1fr) 310px;gap:22px;display:grid}@media (width<=920px){.worker-grid{grid-template-columns:1fr}}@media (width<=650px){.quick-expense{justify-content:center;width:38px!important;padding:0!important}.quick-expense span{display:none}.date-range{width:100%;min-width:0}.calendar-popover{width:auto;position:fixed;top:130px;left:18px;right:18px}.worker-grid{gap:15px}}.expense-mode{border:1px solid var(--line);background:#fff;border-radius:8px;gap:3px;padding:3px;display:flex}.expense-mode button{height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:12px;font-weight:600}.expense-mode button.active{background:var(--indigo-soft);color:#4059cf}.expense-helper{color:var(--muted);grid-column:span 2;margin-top:-7px;font-size:12px}.expense-helper b{color:var(--ink)}.recurring-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:20px;padding:15px 0;display:flex}.recurring-row b{font-size:14px;display:block}.recurring-row small{color:var(--muted);margin-top:2px;display:block}.recurring-switch{background:#d9dce5;border:0;border-radius:12px;width:40px;height:24px;padding:3px}.recurring-switch i{background:#fff;border-radius:50%;width:18px;height:18px;transition:all .16s;display:block}.recurring-switch.active{background:var(--indigo)}.recurring-switch.active i{margin-left:16px}.recurring-fields[hidden]{display:none}.recurring-fields{padding:0 0 4px}@media (width<=650px){.expense-helper{grid-column:span 1}.expense-mode{width:max-content}}#mapping .page-head{margin-bottom:28px}#mapping .source-rule{margin:0 0 20px;padding:15px 16px;line-height:1.45}#mapping .mapping{align-items:start;gap:30px}#mapping .toolbar{margin:0 0 20px}#mapping .mapping-list{border-top:1px solid var(--line)}#mapping .mapping-row{min-height:86px;padding:4px 0}#mapping .mapping-aside{margin-top:58px;padding:24px}#mapping .mapping-aside h2{margin-bottom:10px}#mapping .mapping-aside p{margin-bottom:20px;line-height:1.45}@media (width<=920px){#mapping .mapping-aside{margin-top:0}}.payroll-payment{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;gap:10px;padding:10px 0;display:grid}.payroll-payment:last-of-type{border-bottom:0}.payroll-payment b{font-size:13px}.payroll-payment small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.advance-badge{background:var(--indigo-soft);color:#435cd4;border-radius:8px;align-items:center;height:21px;padding:0 7px;font-size:11px;font-weight:650;display:inline-flex}.advance-form{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.advance-form[hidden]{display:none}.advance-form .form-grid{gap:12px}.advance-form .control input{height:38px}.payroll-summary{grid-template-columns:1fr 1fr;gap:12px;margin:17px 0;display:grid}.payroll-summary div{background:#f7f8fa;border-radius:8px;padding:11px}.payroll-summary span{color:var(--muted);font-size:11px;display:block}.payroll-summary b{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:15px}#employees .worker-grid{align-items:start}#employees .employee-row small{color:var(--muted);margin-top:2px;display:block}.reimbursement-section{margin-top:30px}.reimbursement-head{justify-content:space-between;align-items:end;gap:20px;margin-bottom:15px;display:flex}.reimbursement-head h2{letter-spacing:-.025em;margin:0;font-size:18px}.reimbursement-head p{color:var(--muted);margin:4px 0 0}.reimbursement-head .button{white-space:nowrap}.reimbursement-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);padding:12px 0;font-size:13px}.reimbursement-total b{float:right;color:var(--ink);font-variant-numeric:tabular-nums;font-size:15px}.reimburse-modal .modal-card{width:min(650px,100%)}@media (width<=650px){.reimbursement-head{flex-direction:column;align-items:flex-start}.reimbursement-head .button{justify-content:center;width:100%}}.employee-row{cursor:pointer;transition:background .16s}.employee-row:hover{background:var(--canvas);margin:0 -11px;padding-left:11px;padding-right:11px}.employee-row:focus-visible{outline-offset:2px;border-radius:8px;outline:2px solid #8b9cf1}.payroll-panel{padding:26px 28px}.payment-strip{background:#edf0f4;border-radius:8px;height:12px;margin:20px 0 13px;display:flex;overflow:hidden}.payment-strip i{border-right:4px solid #fff;height:100%;display:block}.payment-strip .paid{background:var(--indigo);width:66%}.payment-strip .due{background:#aab8f8;border:0;width:34%}.payment-legend{gap:8px;margin-bottom:22px;display:grid}.payment-legend div{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.payment-legend span{align-items:center;gap:7px;display:flex}.payment-legend i{background:var(--indigo);border-radius:50%;width:7px;height:7px}.payment-legend i.due{background:#aab8f8}.payment-legend b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:13px}.reimbursement-link{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;padding-top:15px;font-size:13px;display:flex}.reimbursement-link b{color:var(--ink);font-variant-numeric:tabular-nums}.employee-detail .modal-card{width:min(680px,100%)}.employee-detail-grid{grid-template-columns:1fr 1fr;gap:28px;padding-top:2px;display:grid}.employee-detail-grid h3{margin:0 0 10px;font-size:14px}.detail-metric{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;padding:12px 0;font-size:13px;display:flex}.detail-metric b{color:var(--ink);font-variant-numeric:tabular-nums}.detail-list{border-top:1px solid var(--line)}.detail-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;font-size:13px;display:flex}.detail-list small{color:var(--muted);margin-top:2px;display:block}.dashboard-loss-line{stroke:#d96972;stroke-width:1px;stroke-dasharray:4 4}.dashboard-loss-label{fill:#bd5a63;font-family:Inter,system-ui,sans-serif;font-size:10px}.chart .profit-area{stroke:none;fill:url(#profit-area)}.chart .loss-area{stroke:none;fill:url(#loss-area)}@media (width<=650px){.employee-detail-grid{grid-template-columns:1fr;gap:18px}.payment-strip{margin-top:16px}}.breakdown{flex-direction:column;padding:25px;display:flex}.breakdown .empty-note{margin:18px 0 0}.breakdown .expense-list+.empty-note{margin-top:auto}.profit-model{color:var(--muted);gap:16px;margin:5px 0 2px;font-size:11px;display:flex}.profit-model b{color:var(--ink);font-weight:600}@media (width<=650px){.profit-model{flex-direction:column;gap:8px}}.chart .sales-line{stroke:var(--indigo);stroke-width:2.3px}.chart .threshold-line{stroke:var(--orange);stroke-width:2px;stroke-dasharray:0}.chart .store-secondary-line{stroke:#9dacf4;stroke-width:2px}.chart .cost-line{stroke:#d97828;stroke-width:2.3px}.chart .commission-line{stroke:#b97952;stroke-width:2px}.chart .logistics-line{stroke:#9b9fac;stroke-width:1.7px}.chart .profit-band{stroke:none;fill:url(#profit-band)}.chart .loss-band{stroke:none;fill:url(#loss-band)}.chart-legend{flex-wrap:wrap;gap:14px;display:flex}.chart-legend i{background:var(--indigo);border-radius:50%;width:7px;height:7px}.chart-legend i.orange{background:var(--orange)}.chart-legend i.commission{background:#b97952}.chart-legend i.logistics{background:#9b9fac}.bulk-actions{z-index:20;background:var(--indigo-soft);color:#394a9e;opacity:0;visibility:hidden;pointer-events:none;border:1px solid #d8defc;border-radius:8px;justify-content:space-between;align-items:center;gap:20px;min-width:350px;padding:10px 10px 10px 16px;transition:opacity .16s,transform .16s,visibility .16s;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%,18px);box-shadow:0 12px 30px #2d3e8e24}.bulk-actions.active{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%)}.bulk-actions .button{height:34px}.ledger-table .select-cell{width:38px}.ledger-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--indigo);vertical-align:middle;margin:0}.ledger-empty{color:var(--muted);text-align:center;padding:36px 0}@media (width<=650px){.bulk-actions{gap:10px;min-width:0;bottom:18px;left:18px;right:18px;transform:translateY(18px)}.bulk-actions.active{transform:translateY(0)}.bulk-actions .button{padding:0 12px}}.setup-grid{grid-template-columns:minmax(0,1fr) 300px;gap:22px;display:grid}.status-role{align-items:flex-start;gap:9px;display:flex}.status-role input{accent-color:var(--indigo);margin-top:3px}.status-role b{display:block}.status-role small{color:var(--muted);margin-top:2px;display:block}.connection-card{max-width:720px;padding:30px}.connection-state{gap:18px;display:grid}.connection-state h2{margin:0;font-size:21px}.connection-state p{color:var(--muted);margin:0}.project-choice{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.employee-shell{max-width:620px;margin:0 auto}.employee-shell .page-head{margin-bottom:20px}.employee-shell .panel{padding:20px}.locked{color:var(--muted)!important}.locked:before{content:"⌁";margin-right:5px}.admin-shell{max-width:1180px;margin:0 auto}.admin-tabs{border-bottom:1px solid var(--line);gap:20px;margin-bottom:22px;display:flex}.admin-tab{height:37px;color:var(--muted);background:0 0;border:0;font-weight:550}.admin-tab.active{color:var(--ink);border-bottom:2px solid var(--indigo)}.state-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex}.state-row:last-child{border:0}.history{border-top:1px solid var(--line);margin-top:18px}.history div{border-bottom:1px solid var(--line);color:var(--muted);padding:10px 0;font-size:12px}@media (width<=920px){.setup-grid{grid-template-columns:1fr}}@media (width<=650px){.employee-shell{max-width:none}.admin-tabs{overflow:auto}.connection-card{padding:22px}}#settings-menu{border-left:1px solid #e8eaf0;margin:5px 0 7px 28px;padding-left:7px}#settings-menu button{gap:9px;height:34px;padding:0 8px}#settings-menu button svg{width:16px}#settings-menu button:focus-visible{color:var(--indigo);background:#f0f2f4;outline:0}.chart .store-secondary-line{stroke:#72ad97}.chart-legend i.soft{background:#72ad97}.payment-strip .due,.payment-legend i.due{background:#93cbb6}.bulk-actions{color:#174d3d;border-color:#c4e1d5;box-shadow:0 12px 30px #0f5b4524}.chart .loss-band{display:none!important}.brand-mark{object-fit:contain;flex:none;width:28px;height:28px}.studio-login__brand .brand-mark{width:26px;height:26px}.ledger-toolbar{grid-template-columns:182px 224px minmax(300px,1fr);gap:8px;width:min(860px,100%);display:grid!important}.ledger-filter{position:relative}.ledger-filter-trigger,.ledger-search-field{border:1px solid var(--line);width:100%;height:42px;color:var(--muted);font:inherit;text-align:left;white-space:nowrap;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.ledger-filter-trigger svg{flex:none;width:16px;margin-left:auto}.ledger-filter-options{z-index:14;background:#fff;border:1px solid #dfe2e9;border-radius:8px;width:100%;padding:5px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 16px 34px #1e233421}.ledger-filter-options[hidden]{display:none}.ledger-filter-options button{width:100%;height:35px;color:var(--ink);font:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:0 9px;display:block}.ledger-filter-options button:hover,.ledger-filter-options button.active{background:var(--indigo-soft);color:var(--indigo)}.ledger-search-field input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1}.ledger-search-field svg{flex:none;width:17px}#modal-expense-form .calendar-wrap,#modal-expense-form .calendar-control{width:100%!important}.app.login-mode{background:var(--canvas);min-height:100vh;display:block}.app.login-mode>.brand,.app.login-mode>.topbar,.app.login-mode>.sidebar{display:none}.app.login-mode>.content{min-height:100vh;padding:0;display:block;overflow:visible}.app.login-mode .page{display:none}.app.login-mode #login.active{justify-content:center;align-items:center;max-width:none;min-height:100vh;margin:0;padding:clamp(34px,8vh,96px) 24px;display:flex}.login-layout{width:min(430px,100%)}.login-brand{color:var(--ink);align-items:center;gap:10px;font-size:15px;font-weight:700;display:flex}.login-brand img{object-fit:contain;width:30px;height:30px}.login-kicker{color:var(--muted);margin:54px 0 9px;font-size:14px}.login-layout h1{color:var(--ink);letter-spacing:-.055em;margin:0;font-size:34px;font-weight:610;line-height:1.1}.login-description{color:var(--muted);margin:13px 0 32px;font-size:15px;line-height:1.5}.login-form{gap:16px;display:grid}.login-form .control label{color:var(--ink);font-size:13px;font-weight:600}.login-form .control input{height:46px}.login-field-hint{color:var(--muted);margin-top:7px;font-size:12px;display:block}.login-form .button{justify-content:center;width:100%;height:46px;font-size:14px}.login-form [hidden],.login-password-step[hidden]{display:none!important}.login-secondary{text-align:center;color:var(--muted);margin:18px 0 0;font-size:13px}.login-secondary button{color:var(--indigo);font:inherit;background:0 0;border:0;padding:0;font-weight:650}.login-support{border-top:1px solid var(--line);color:var(--muted);margin:34px 0 0;padding-top:20px;font-size:13px;line-height:1.5}.login-support a{color:var(--ink);font-weight:600;text-decoration:none}.login-trust{color:var(--subtle);text-align:center;margin:18px 0 0;font-size:12px}@media (width<=650px){.app.login-mode #login.active{align-items:flex-start;padding-top:48px}.login-kicker{margin-top:46px}.login-layout h1{font-size:30px}}#statuses .page-head{margin-bottom:28px}#statuses .source-rule{margin:0 0 22px;padding:15px 16px}.status-mapping-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px;display:grid}.status-mapping-card{padding:0 24px}.status-mapping-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 320px;align-items:center;gap:28px;min-height:86px;display:grid}.status-mapping-row:last-child{border-bottom:0}.status-mapping-row h2{letter-spacing:-.015em;margin:0 0 4px;font-size:15px}.status-mapping-row p{color:var(--muted);margin:0;font-size:13px}.fasunok-multiselect{position:relative}.fasunok-multiselect-trigger{border:1px solid var(--line);width:100%;height:42px;color:var(--ink);font:inherit;text-align:left;background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;display:flex}.fasunok-multiselect-trigger svg{width:16px;color:var(--muted);flex:none}.status-selection{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fasunok-multiselect-options{z-index:14;background:#fff;border:1px solid #dfe2e9;border-radius:8px;width:100%;padding:6px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 16px 34px #1e233421}.fasunok-multiselect-options[hidden]{display:none}.fasunok-multiselect-options label{min-height:34px;color:var(--ink);cursor:pointer;border-radius:6px;align-items:center;gap:9px;padding:0 8px;font-size:13px;display:flex}.fasunok-multiselect-options label:hover{background:var(--indigo-soft)}.fasunok-multiselect-options input{width:15px;height:15px;accent-color:var(--indigo);margin:0}.status-mapping-aside{padding:24px}.status-mapping-aside h2{margin:0 0 8px;font-size:17px}.status-mapping-aside p{color:var(--muted);margin:0 0 18px}.status-mapping-aside .history{margin-top:0}.status-mapping-aside .history div{padding:12px 0}@media (width<=920px){.status-mapping-grid{grid-template-columns:1fr}.status-mapping-aside{display:none}}@media (width<=650px){.ledger-toolbar{width:100%;grid-template-columns:1fr!important}.flat-table th,.flat-table td{padding:0 8px!important}.flat-table th:first-child,.flat-table td:first-child{padding-left:0!important}.flat-table th:last-child,.flat-table td:last-child{padding-right:0!important}.status-mapping-card{padding:0 16px}.status-mapping-row{grid-template-columns:1fr;gap:12px;min-height:0;padding:18px 0}}.filters .period-form{min-width:210px}.alert-note{border-radius:var(--radius);background:var(--orange-soft);border:1px solid #f3ddc4;align-items:center;gap:14px;margin-bottom:22px;padding:14px 16px;display:flex}.alert-note__icon{width:26px;height:26px;color:var(--orange);background:#fff;border-radius:8px;flex:0 0 26px;place-items:center;font-weight:700;display:grid}.alert-note>div{flex:1}.alert-note b{font-size:13px}.alert-note p{color:var(--muted);margin:2px 0 0;font-size:12px}.threshold-line{fill:none;stroke:var(--orange);stroke-width:1.8px}.sales-line{fill:none;stroke:var(--indigo);stroke-width:2.3px}.profit-band{fill:url(#profit-band);stroke:none}.loss-band{fill:url(#loss-band);stroke:none}.legend{align-items:center;gap:6px;display:inline-flex}.legend-dot{border-radius:999px;width:7px;height:7px}.legend-dot--sales{background:var(--indigo)}.legend-dot--threshold{background:var(--orange)}.muted-note{color:var(--muted);margin:0;font-size:13px}.sync-line{color:var(--subtle);align-items:center;gap:8px;margin:18px 0 0;font-size:12px;display:flex}.sync-dot{background:var(--green);width:7px;height:7px;box-shadow:0 0 0 4px var(--green-soft);border-radius:999px}.sync-state{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);align-items:flex-start;gap:12px;margin:0 0 24px;padding:16px 18px;display:flex}.sync-state b{font-weight:650;display:block}.sync-state p{color:var(--muted);margin:3px 0 0;font-size:13px}.sync-state .button{flex:none;margin-left:auto}.sync-state__icon,.sync-state__spinner{background:var(--indigo-soft);width:22px;height:22px;color:var(--indigo);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.sync-state--error{border-color:var(--red);background:var(--red-soft)}.sync-state--error .sync-state__icon{background:var(--red-soft);color:var(--red)}.sync-state--loading .sync-state__spinner{border:2px solid var(--indigo-soft);border-top-color:var(--indigo);background:0 0;animation:.8s linear infinite fps-spin}.mapping-panel{padding:24px}.mapping-table__type{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}@keyframes fps-spin{to{transform:rotate(360deg)}}.studio-login{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);width:min(430px,100%);box-shadow:var(--shadow);margin:6vh auto 0;padding:30px}.studio-login__brand{align-items:center;gap:10px;font-size:15px;font-weight:700;display:flex}.studio-login__intro{margin:34px 0 24px}.studio-login__intro h1{letter-spacing:-.04em;margin:7px 0 9px;font-size:27px;line-height:1.08}.studio-login__intro p:last-child,.studio-login__note{color:var(--muted);margin:0;font-size:13px}.studio-login__form .fi-fo-field-wrp{margin-bottom:16px}.studio-login__submit{justify-content:center;width:100%;margin-top:8px}.studio-login__note{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;line-height:1.5}@media (width<=650px){.sync-state{flex-wrap:wrap;align-items:stretch}.sync-state .button{margin-left:34px}.studio-login{margin:18px auto 0;padding:24px}.mapping-panel{padding:18px}.mapping-table th:first-child,.mapping-table td:first-child,.mapping-table th:nth-child(3),.mapping-table td:nth-child(3){display:none}}.money.negative{color:var(--orange)}.tab:disabled{color:var(--subtle);cursor:not-allowed}.page-body{display:contents}.nav a{color:#555a68;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;height:39px;padding:0 10px;font-size:14px;text-decoration:none;display:flex}.nav a svg{color:#777d8d;width:18px}.nav a:hover{background:#f3f4f6}.nav a.active{color:#2c3550;background:#f0f2f4;font-weight:600}.nav a.active svg{color:var(--indigo)}.nav a .count{color:#6c7180;text-align:center;background:#edf0f8;border-radius:4px;min-width:20px;margin-left:auto;padding:1px 5px;font-size:11px}a.text-action{text-decoration:none}a.button.quick-expense{background:var(--indigo);color:#fff;text-decoration:none}a.button.quick-expense svg{stroke:currentColor}.filters .period-form .fi-fo-field-label-col{display:none}.filters .period-form select{border:1px solid var(--line);background:#fff;border-radius:8px;height:38px}.fi-btn{border:1px solid var(--line);height:38px;color:var(--ink);box-shadow:none;background:#fff;border-radius:8px;align-items:center;gap:7px;padding:0 16px;font-size:14px;font-weight:600;display:inline-flex}.fi-btn:hover{background:#f5f6f8}.fi-btn.fi-color-primary,.fi-btn[class*=fi-color-primary]{background:var(--indigo);color:#fff;border-color:#0000}.fi-btn .fi-icon{width:17px;height:17px}.fi-modal .fi-modal-window{border-radius:var(--radius)}:root{--indigo:#0f5b45;--indigo-soft:#e7f3ee}.mark{background:linear-gradient(145deg,#1b7659,#0b4d3a)}.button.soft,.quick-expense,.text-action,.calendar-actions button{color:var(--indigo)!important}.quick-expense:hover{background:var(--indigo-soft)!important}.control input:focus,.control select:focus{border-color:var(--indigo);box-shadow:0 0 0 3px var(--indigo-soft)}.fi-btn.fi-color-primary:hover{background:#0b4d3a}.studio-brand-mark,.brand-mark{object-fit:contain;flex:none;width:28px;height:28px}.studio-login__brand .studio-brand-mark{width:26px;height:26px}.profit-panel:before{display:none}.profit-panel{padding-left:30px}.chart .loss-band,.chart .loss-area{display:none}.flat-table th,.flat-table td{vertical-align:middle;padding:0 12px}.flat-table th:first-child,.flat-table td:first-child{padding-left:0}.flat-table th:last-child,.flat-table td:last-child{padding-right:0}.flat-table th{height:46px}.flat-table td{height:58px}.ledger-table td{height:64px}.mapping-panel{box-shadow:none;background:0 0;border:0;padding:0}.mapping-panel .panel-title{padding:0 0 16px}.mapping-table{border-top:1px solid var(--line)}.mapping-table th,.mapping-table td{white-space:normal}.expense-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;width:100%;display:grid}.expense-mode button,#modal-expense-form .calendar-wrap,#modal-expense-form .calendar-control{width:100%}#modal-expense-form .calendar-control{justify-content:flex-start}@media (width<=650px){.expense-mode{width:100%}.flat-table th,.flat-table td{padding:0 8px}.flat-table th:first-child,.flat-table td:first-child{padding-left:0}.flat-table th:last-child,.flat-table td:last-child{padding-right:0}}body.studio-auth{background:var(--canvas);place-items:center;min-height:100vh;padding:40px 24px;display:grid}body.studio-auth .studio-login{width:min(360px,100%);box-shadow:none;background:0 0;border:0;margin:0;padding:0}body.studio-auth .studio-login__brand{justify-content:center;margin-bottom:40px;font-size:15px}body.studio-auth .studio-login__form{gap:20px;display:grid}body.studio-auth .studio-login__form .fi-fo-field-wrp{margin:0}body.studio-auth .studio-login__form .fi-fo-field-label{color:var(--muted);font-size:13px;font-weight:500}body.studio-auth .studio-login__form .fi-input-wrp{border-radius:8px}body.studio-auth .studio-login__form .fi-input{height:44px}body.studio-auth .studio-login__submit{height:44px;margin-top:8px;font-size:14px}body.studio-auth .studio-login__note{color:var(--subtle);text-align:center;border-top:0;margin-top:40px;padding-top:0;font-size:12px;line-height:1.6}.logout-form{margin:0;display:flex}button.avatar{cursor:pointer;font:inherit;border:0;font-size:11px;font-weight:750}button.avatar:hover{filter:brightness(.96)}.subnav a{color:#555a68;border-radius:7px;align-items:center;gap:12px;height:31px;padding:0 8px;font-size:13px;text-decoration:none;display:flex}.subnav a svg{color:#777d8d;width:16px}.subnav a:hover{background:#f3f4f6}.subnav a.active{color:var(--indigo);background:0 0;font-weight:600}.subnav a.active svg{color:var(--indigo)}.brand-logo{flex:0 0 28px;width:28px;height:28px}[x-cloak]{display:none!important}.source-rule{margin-bottom:22px}.webhook-url{border:1px solid var(--line);background:var(--canvas);border-radius:8px;align-items:center;gap:12px;padding:12px 14px;display:flex}.webhook-url code{white-space:nowrap;min-width:0;color:var(--ink);flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow-x:auto}#employees .employee-row{grid-template-columns:38px minmax(0,1fr) auto auto}#employees .employee-volume{text-align:right}#employees .employee-volume b{font-variant-numeric:tabular-nums;display:block}#employees .employee-volume small{color:var(--muted);margin-top:2px;display:block}.rule-group{margin-bottom:30px}.rule-group-head{align-items:baseline;gap:10px;margin-bottom:10px;display:flex}.rule-group-head h2{letter-spacing:-.01em;margin:0;font-size:15px}.rule-group-head span{background:var(--canvas);height:20px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:10px;align-items:center;padding:0 8px;font-size:12px;display:inline-flex}.ledger-table{border-collapse:separate;border-spacing:0}.selectable-row{cursor:pointer}.selectable-row:hover td{background:var(--canvas)}.selectable-row.selected td{background:var(--indigo-soft)}.ledger-table th:first-child,.selectable-row td:first-child{padding-left:12px}.ledger-table th:last-child{padding-right:12px}.selectable-row td:first-child{border-radius:8px 0 0 8px}.selectable-row td:last-child{border-radius:0 8px 8px 0;padding-right:12px}.selectable-row input[type=checkbox]{pointer-events:none}.fi-select-input-ctn:has(>.fi-select-input-btn[aria-expanded=true]) .fi-dropdown-panel{transform:translateY(-40px)}.fi-select-input-btn[aria-expanded=true] .fi-select-input-value-ctn{opacity:0}.bulk-actions{background:var(--ink);color:#fff;border-color:#0000;box-shadow:0 16px 36px #14182347}.bulk-actions b{color:#fff}.bulk-actions .button.outline{color:#fff;background:0 0;border-color:#ffffff57}.bulk-actions .button.outline:hover{border-color:#fff9}.chart .crosshair{stroke:#9aa1b1;stroke-width:1px;stroke-dasharray:4 4}.chart .crosshair-dot{fill:var(--indigo);stroke:#fff;stroke-width:2px}.chart .crosshair-dot--threshold{fill:var(--orange)}.chart{padding-left:62px}.chart-canvas{flex:1;min-width:0;height:100%;position:relative}.chart-axis span{text-align:right;width:50px;color:var(--subtle);font-variant-numeric:tabular-nums;font-size:10px;position:absolute;left:0;transform:translateY(-50%)}.chart-tooltip{z-index:3;white-space:nowrap;border:1px solid var(--line);pointer-events:none;background:#fff;border-radius:8px;width:max-content;max-width:280px;padding:10px 12px;font-size:12px;position:absolute;bottom:calc(100% + 10px);transform:translate(-50%);box-shadow:0 12px 28px #1e233429}.chart-tooltip b{font-variant-numeric:tabular-nums;margin-bottom:6px;display:block}.chart-tooltip span{color:var(--muted);align-items:center;gap:6px;margin-top:4px;display:flex}.chart-tooltip span b{color:var(--ink);font-variant-numeric:tabular-nums;margin:0 0 0 auto;padding-left:16px}.rule-channels{color:var(--subtle);margin-top:3px;font-size:11px;display:block}.flat-table{table-layout:fixed}.flat-table td{overflow-wrap:anywhere}.rule-channels{white-space:normal;line-height:1.35}.profit-panel{flex-direction:column;display:flex}.chart{flex:1;height:auto;min-height:148px;display:flex}.sync-state__actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.sync-state__close{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.sync-state__close:hover{color:var(--ink);background:#ffffffb3}.sync-state__close svg{width:16px}.rules-section{margin-top:34px}.chart-marker{background:var(--indigo);pointer-events:none;border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute;box-shadow:0 0 0 2px #fff}.chart-marker--threshold{background:var(--orange)}.chart-marker--last{width:11px;height:11px;margin:-5.5px 0 0 -5.5px;box-shadow:0 0 0 3px #fff}.menu-wrap{position:relative}.menu-panel{z-index:30;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:220px;padding:6px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 16px 34px #1e233429}.menu-panel--right{left:auto;right:0}.menu-label{color:var(--muted);margin:6px 10px 8px;font-size:12px}.menu-item{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:7px;padding:8px 10px;font-size:13px;display:block}.menu-item:hover{background:var(--canvas)}.menu-item--current{color:var(--indigo);font-weight:600}.menu-item--accent{border-top:1px solid var(--line);color:var(--indigo);border-radius:0 0 7px 7px;margin-top:4px;font-weight:550}.menu-item--danger{color:#b83f49}.row-actions{justify-content:flex-end;align-items:center;gap:18px;display:flex}.flat-table .fi-link{color:var(--indigo);font-size:13px;font-weight:550}.flat-table .fi-link:hover{text-decoration:underline}.flat-table .fi-link .fi-link-label{font-size:13px;font-weight:550}.change--down{color:var(--red)}.change--flat{color:var(--muted)}.metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.metric{align-content:start;gap:5px;padding:16px 17px;display:grid}.metric__label{color:var(--muted);font-size:12px}.metric__value{letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:21px;font-weight:560}.metric__value small{color:var(--muted);letter-spacing:0;margin-left:3px;font-size:12px;font-weight:500}.share-bar{background:#edeff4;border-radius:4px;width:64px;height:6px;overflow:hidden}.share-bar i{border-radius:inherit;background:var(--indigo);height:100%;display:block}.panel-block{padding:24px 25px}.split-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);align-items:start;gap:22px;margin-top:22px;display:grid}.stack-grid{gap:22px;margin-top:22px;display:grid}.panel-note{color:var(--muted);margin:0;font-size:13px}.panel-title__sum{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}@media (width<=1180px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.split-grid{grid-template-columns:1fr}.donut{flex-direction:column;align-items:flex-start}.share-bar{display:none}}.flat-table .sub{color:var(--muted);margin-top:2px;font-size:12px}.sync-badge-slot:empty{display:none}.sync-badge{border:1px solid var(--line);height:38px;color:var(--ink);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:0 8px 0 7px;display:flex}.sync-badge:hover{background:var(--canvas)}.sync-badge__icon{background:var(--indigo-soft);width:26px;height:26px;color:var(--indigo);border-radius:7px;flex:0 0 26px;place-items:center;display:grid}.sync-badge__icon svg{width:15px;height:15px}.sync-badge__text{gap:1px;line-height:1.2;display:grid}.sync-badge__text b{letter-spacing:-.01em;font-size:12px;font-weight:620}.sync-badge__text>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.sync-badge__state{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;padding-left:4px;font-size:12px;font-weight:550;display:flex}.sync-badge__state i{background:currentColor;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.sync-badge__chevron{width:15px;height:15px;color:var(--subtle)}.sync-badge--running .sync-badge__state{color:#425bd6}.sync-badge--running .sync-badge__state i{animation:1.4s ease-in-out infinite fps-pulse}.sync-badge--running .sync-badge__icon svg{animation:1.6s linear infinite fps-spin}.sync-badge--done .sync-badge__icon{background:var(--green-soft);color:var(--green)}.sync-badge--done .sync-badge__state{color:#087d59}.sync-badge--failed .sync-badge__icon{background:var(--red-soft);color:var(--red)}.sync-badge--failed .sync-badge__state{color:#b83f49}.sync-badge--idle .sync-badge__icon{color:var(--muted);background:#f0f1f5}@keyframes fps-pulse{0%,to{opacity:1}50%{opacity:.35}}@media (width<=1180px){.sync-badge__text{display:none}}@media (width<=650px){.sync-badge__state,.sync-badge__chevron{display:none}.sync-badge{padding:0 7px}}.tab-body--busy{pointer-events:none}.tab-body--busy .panel{position:relative;overflow:hidden}.tab-body--busy .panel>*{opacity:.25;transition:opacity .12s}.tab-body--busy .panel:before{content:"";z-index:2;border:2px solid var(--indigo-soft);border-top-color:var(--indigo);border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;animation:.8s linear infinite fps-spin;position:absolute;top:50%;left:50%}.tab-body--busy .panel:after{content:"";background:linear-gradient(90deg,#0000 0%,#ffffff8c 50%,#0000 100%) 0 0/220% 100%;animation:1.2s linear infinite fps-shimmer;position:absolute;inset:0}.tab-body--busy .metric:before{display:none}@keyframes fps-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.metric-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.payroll-table .payroll-role th{text-align:left;height:40px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--line);padding-top:10px;font-size:11px;font-weight:650}.payroll-table tbody:not(:first-of-type) .payroll-role th{padding-top:26px}.payroll-table tbody tr:last-child td{border-bottom:0}.payroll-table tfoot td{border-top:1px solid var(--line);height:52px}.payroll-table tfoot tr td{border-bottom:0}@media (width<=1180px){.metric-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=920px){.payroll-table th:nth-child(5),.payroll-table td:nth-child(5),.payroll-table th:nth-child(6),.payroll-table td:nth-child(6){display:none}}.flat-table th.num{text-align:right}.chart-grid{position:absolute;inset:0}.chart-grid i{background:#eceef2;height:1px;position:absolute;left:0;right:0}.bars{align-items:flex-end;gap:clamp(2px,.55%,7px);display:flex;position:absolute;inset:0}.bar{flex:1;min-width:3px;height:100%;position:relative}.bar span{border-radius:4px 4px 0 0;position:absolute;bottom:0;left:0;right:0}.bar__total{background:#cfe4db}.bar__cost{background:var(--orange)}.bar:hover .bar__total{background:#b7d6c9}.bar--loss .bar__cost{background:var(--red)}.chart-labels{margin-top:8px;padding-left:62px}.profit-panel{padding-bottom:20px}.donut{flex:1;place-items:center;padding:10px 0 4px;display:grid}.donut__ring{aspect-ratio:1;width:auto;max-width:100%;height:100%;position:relative}.donut__ring svg{width:100%;height:auto;display:block;transform:rotate(-90deg)}.donut__ring circle{fill:none;stroke-linecap:round}.donut__center{text-align:center;place-content:center;display:grid;position:absolute;inset:26%}.donut__center b{letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:21px;font-weight:580;display:block}.donut__center span{color:var(--muted);margin-top:2px;font-size:11px;display:block}.donut__track{pointer-events:none}.donut__ring circle:not(.donut__track):hover{filter:brightness(1.08)}.donut-tooltip{bottom:auto;transform:translate(-50%,-118%)}.donut-tooltip:not([data-visible]){display:none}.swatch{border-radius:3px;width:10px;height:10px}.breakdown .expense-item{grid-template-columns:10px 1fr auto}.split-grid{grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr)}.payroll-table{table-layout:fixed}.payroll-table th.num,.payroll-table td.num,.payroll-table td.amount{text-align:right}.payroll-table th,.payroll-table td{padding:0 16px}.payroll-table th:first-child,.payroll-table td:first-child{padding-left:0}.payroll-table th:last-child,.payroll-table td:last-child{padding-right:0}.payroll-table td{height:56px}.payroll-table .payroll-name{font-weight:550}.payroll-table .payroll-pay{color:var(--muted);font-size:12px;line-height:1.35}.payroll-table td.amount{color:var(--ink);font-weight:400}.payroll-table td.amount--lead{font-weight:550}.payroll-table .payroll-empty{color:var(--subtle)}.payroll-name .fi-link{color:var(--ink);font-size:14px;font-weight:550}.payroll-name .fi-link .fi-link-label{font-size:14px;font-weight:550}.payroll-name .fi-link:hover{text-decoration:underline}.employee-head{align-items:center;gap:12px;display:inline-flex}.employee-head .avatar{flex:0 0 40px;width:40px;height:40px;font-size:13px;font-style:normal}.employee-head__text{text-align:left;gap:1px;display:grid}.employee-head__text b{letter-spacing:-.02em;font-size:17px;font-weight:650}.employee-head__text small{color:var(--muted);font-size:12px;font-weight:400}.employee-card__month{margin:2px 0 18px}.employee-card__total{letter-spacing:-.05em;font-variant-numeric:tabular-nums;font-size:38px;font-weight:540;line-height:1.05;display:block}.employee-card__total small{color:var(--muted);letter-spacing:0;margin-left:8px;font-size:14px;font-weight:500}.employee-card__meta{flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:10px;font-size:13px;display:flex}.employee-card__note{color:var(--muted);font-size:13px}.month-picker{display:inline-flex;position:relative}.month-picker__trigger{color:var(--ink);font:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:600;display:inline-flex}.month-picker__trigger svg{width:14px;height:14px;color:var(--muted);transform:rotate(90deg)}.month-picker__trigger:hover{color:var(--indigo)}.month-picker__list{min-width:180px;max-height:260px;overflow-y:auto}.employee-card__chart{margin:22px calc(-1 * var(--card-pad)) 0}.employee-card__chart svg{width:100%;height:132px;display:block}.employee-card__chart .panel-note{padding:40px var(--card-pad);text-align:center}.employee-card__area{fill:url(#employee-area);stroke:none}.employee-card__line{fill:none;stroke:var(--indigo);stroke-width:2px;vector-effect:non-scaling-stroke}.employee-card__walk{margin:0 calc(-1 * var(--card-pad));padding:20px var(--card-pad) 16px;color:var(--ink);letter-spacing:-.03em;justify-content:space-between;align-items:center;gap:12px;font-size:19px;font-weight:560;display:flex}.employee-card__walk svg{width:20px;height:20px;color:var(--subtle);transition:transform .16s}.employee-card__walk:hover{background:var(--canvas)}.employee-card__walk:hover svg{color:var(--indigo);transform:translate(3px)}.employee-card__ledger{gap:0;margin:4px 0 0;padding:0;display:grid}.employee-card__ledger>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;padding:11px 0;display:flex}.employee-card__ledger dt{color:var(--muted);font-size:13px}.employee-card__ledger dd{color:var(--ink);font-variant-numeric:tabular-nums;margin:0}.employee-card__ledger>div:last-child{border-bottom:0}.employee-card__ledger-total dt{color:var(--ink);font-weight:550}.employee-card__ledger-total dd{font-weight:600}.employee-card__foot{margin:0 calc(-1 * var(--card-pad));padding:12px var(--card-pad) 26px;grid-template-columns:1fr 1fr;gap:18px;display:grid}.employee-card__foot>div{align-items:center;gap:12px;display:flex}.stat-icon{width:44px;height:44px;color:var(--muted);background:#f0f1f5;border-radius:12px;flex:0 0 44px;place-items:center;display:grid}.stat-icon svg{width:21px;height:21px}.stat-icon--accent{background:var(--indigo-soft);color:var(--indigo)}.employee-card__foot span{color:var(--muted);font-size:13px;display:block}.employee-card__foot b{color:var(--ink);letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-top:4px;font-size:19px;font-weight:560;display:block}.employee-card{--card-pad:calc(var(--spacing,.25rem) * 6);padding-inline:var(--card-pad)}.fi-modal-content:has(.employee-card){padding-inline:0;padding-bottom:0}@media (width<=920px){.split-grid{grid-template-columns:1fr}}.losses{gap:12px;margin-top:16px;display:grid}.losses>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.losses span{color:var(--muted);font-size:12px}.losses b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;font-weight:570}.filter-chip{border:1px solid var(--line);border-radius:var(--radius);background:var(--indigo-soft);align-items:center;gap:12px;margin:0 0 16px;padding:11px 14px;font-size:13px;display:flex}.filter-chip b{font-weight:620}.filter-chip button{width:26px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;margin-left:auto;display:grid}.filter-chip button:hover{color:var(--ink);background:#fff}.filter-chip svg{width:15px;height:15px}.order-link{color:var(--ink);align-items:center;gap:6px;font-weight:550;display:inline-flex}.order-link svg{width:13px;height:13px;color:var(--subtle)}.order-link:hover,.order-link:hover svg{color:var(--indigo)}.calendar-wrap{position:relative}.date-range{gap:8px;min-width:0;font-weight:550}.date-range.active{background:#f6f7fa;border-color:#cdd2df}.date-range__chevron{transform:rotate(90deg);width:14px!important}.calendar-popover{z-index:30;border:1px solid var(--line);background:#fff;border-radius:12px;gap:4px;width:auto;padding:10px;display:flex;position:absolute;top:calc(100% + 8px);left:auto;right:0;box-shadow:0 18px 40px #1e233429}.calendar-presets{border-right:1px solid var(--line);flex:0 0 344px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px;padding-right:8px;display:grid}.calendar-presets .menu-item{white-space:nowrap}.calendar-body{flex:0 0 290px;padding:2px 6px 0}.calendar-top span{white-space:nowrap;font-variant-numeric:tabular-nums}.calendar-grid button{height:32px;color:var(--ink);background:0 0;border:0;border-radius:6px;font-size:13px}.calendar-grid button:hover{background:#f1f3f7}.calendar-grid button.outside{color:var(--subtle)}.calendar-grid button.today{font-weight:700}.calendar-grid button.range-start{border-radius:6px 0 0 6px}.calendar-grid button.range-end{border-radius:0 6px 6px 0}.calendar-grid button.range-start.range-end{border-radius:6px}@media (width<=650px){.calendar-popover{flex-direction:column}.calendar-presets{border-right:0;border-bottom:1px solid var(--line);flex:none;padding:0 0 8px}.calendar-body{flex:none;width:100%}}.period button{padding:0 11px}.calendar-actions{align-items:center;gap:12px}.calendar-draft{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.calendar-actions__buttons{align-items:center;gap:12px;display:flex}.calendar-actions .button.primary{height:30px;padding:0 12px;font-size:12px;color:#fff!important}.calendar-actions button[disabled]{opacity:.4;pointer-events:none}.avatar--photo{object-fit:cover}.avatar--small{flex:0 0 26px;width:26px;height:26px;font-size:10px;font-style:normal}.payroll-person{align-items:center;gap:10px;display:inline-flex}.expense-item--person{grid-template-columns:26px 1fr auto}.period-month{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;height:38px;padding:0 4px;display:inline-flex}.period-month .month-picker__trigger{min-width:138px;font-size:14px}.month-nav{align-items:center;gap:2px;display:inline-flex}.month-nav .month-picker{position:static}.period-month,.employee-card__month{position:relative}.period-month .month-picker__list,.employee-card__month .month-picker__list{min-width:0;left:-1px;right:-1px}.month-nav .month-picker__trigger{justify-content:center;min-width:124px}.month-nav__step{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.month-nav__step svg{width:15px;height:15px}.month-nav__step:hover{background:var(--canvas);color:var(--ink)}.month-nav__step[disabled]{opacity:.3;pointer-events:none}.source-list{gap:18px;display:grid}.source-row__head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px;display:flex}.source-row__head span{font-weight:550}.source-row__head b{font-variant-numeric:tabular-nums;font-weight:600}.source-row__bar{background:#eef0f4;border-radius:5px;height:8px;display:block;overflow:hidden}.source-row__bar i{border-radius:inherit;height:100%;display:block}.source-row small{color:var(--muted);margin-top:6px;font-size:12px;display:block}.stacked{margin-bottom:22px;position:relative}.stacked__bar{gap:3px;height:10px;display:flex}.stacked__bar i{border-radius:3px;min-width:3px;transition:filter .12s;display:block}.stacked__bar i:hover{filter:brightness(1.08)}.stacked-tooltip{bottom:calc(100% + 10px)}.stacked-tooltip:not([data-visible]){display:none}.marked{align-items:center;gap:9px;display:inline-flex}.marked .dot{flex:0 0 7px}.breakdown-table{table-layout:fixed}.breakdown-table td,.breakdown-table th{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.split-grid--aside-left{grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr);align-items:stretch}.split-grid--aside-left .panel-block{flex-direction:column;display:flex}.fi-btn.topbar-action{border:1px solid var(--line);height:38px;color:var(--indigo);background:#fff;border-radius:8px;padding:0 16px}.fi-btn.topbar-action:hover{background:var(--indigo-soft);border-color:#cdd2df}.fi-btn.topbar-action .fi-icon{color:var(--indigo);fill:none;stroke:currentColor;stroke-width:1.9px}.kind-list{gap:8px;margin-top:10px;display:grid}.kind-list .fi-fo-radio-label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:12px;padding:11px 13px;display:flex}.kind-list .fi-fo-radio-label:hover{border-color:#cdd2df}.kind-list .fi-fo-radio-label:has(input:checked){border-color:var(--indigo);background:var(--indigo-soft)}.kind-list .fi-fo-radio-label:before{content:"";background-color:#6b7180;flex:0 0 21px;order:1;height:21px;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.kind-list .fi-fo-radio-label:has(input:checked):before{background-color:var(--indigo)}.kind-list .fi-fo-radio-label-text{flex:1;order:2}.kind-list .fi-fo-radio-label-text p{color:var(--ink);margin:0;font-size:14px;font-weight:550}.kind-list .fi-fo-radio-label-description{color:var(--muted)!important;margin-top:2px!important;font-size:12px!important;font-weight:400!important}.kind-list .fi-radio-input{appearance:none;width:18px;height:18px;box-shadow:none;background:#fff;border:1.5px solid #cdd2df;border-radius:50%;flex:0 0 18px;order:3}.kind-list .fi-radio-input:checked{border-color:var(--indigo);box-shadow:inset 0 0 0 4px var(--indigo)}.kind-list .fi-fo-radio-label:has(input[value=expense]):before{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-2-3%202-3-2-3%202z%22%2F%3E%3Cpath%20d%3D%22M9%208h6M9%2012h6%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-2-3%202-3-2-3%202z%22%2F%3E%3Cpath%20d%3D%22M9%208h6M9%2012h6%22%2F%3E%3C%2Fsvg%3E)}.kind-list .fi-fo-radio-label:has(input[value=compensation]):before{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2014%204%209l5-5%22%2F%3E%3Cpath%20d%3D%22M4%209h10a6%206%200%200%201%200%2012h-3%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2014%204%209l5-5%22%2F%3E%3Cpath%20d%3D%22M4%209h10a6%206%200%200%201%200%2012h-3%22%2F%3E%3C%2Fsvg%3E)}.kind-list .fi-fo-radio-label:has(input[value=fine]):before{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012h8%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012h8%22%2F%3E%3C%2Fsvg%3E)}.kind-list .fi-fo-radio-label:has(input[value=payout]):before{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2214.5%22%20r%3D%221.3%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2214.5%22%20r%3D%221.3%22%2F%3E%3C%2Fsvg%3E)}.order-search{max-width:320px}.order-search input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.js-chart .chart-svg{stroke:none;fill:none;width:100%;height:100%;overflow:visible}.chart-svg text{stroke:none!important}.chart-svg .chart-grid-line,.chart-svg .chart-zero-line,.chart-svg .chart-guide{stroke-width:1px!important}.chart-svg .chart-line{stroke-linecap:round;stroke-linejoin:round;stroke-width:2px!important}.chart-svg .chart-line--forecast{stroke-dasharray:3 5;opacity:.85;stroke-width:1.8px!important}.chart-svg .chart-forecast-divider{stroke:#b9bfcc;stroke-dasharray:2 4;stroke-width:1px!important}.chart-svg .chart-forecast-tag{fill:var(--muted);font-size:10.5px}.chart-svg .chart-point--last,.chart-svg .chart-point,.chart-svg .chart-cursor{stroke-width:2px!important}.chart-svg .chart-weekend,.chart-svg .chart-area,.chart-svg .chart-bar{stroke:none!important}.js-chart{width:100%;height:220px;position:relative}.js-chart--tall{height:260px}.chart-svg{display:block;overflow:visible}.chart-grid-line{stroke:#eef0f4;stroke-width:1px}.chart-zero-line{stroke:#b9bfcc;stroke-width:1px}.chart-axis-label{fill:var(--subtle);font-variant-numeric:tabular-nums;font-size:10.5px}.chart-axis-label.is-hot{fill:var(--ink);font-weight:600}.chart-guide{stroke:var(--indigo);stroke-width:1px;stroke-dasharray:4 4;opacity:.55;pointer-events:none}.chart-cursor{stroke-width:2px;pointer-events:none}.chart-area{pointer-events:none}.chart-weekend{fill:#1f233109}.chart-week-line{stroke:#d9dde6;stroke-width:1px}.chart-axis-label--weekend{fill:#a0a6b4}.chart-bar{fill:var(--indigo);opacity:.85;transition:opacity .12s}.chart-bar.is-hot{opacity:1}.chart-bar--loss{fill:var(--red)}.chart-readout{min-height:20px;color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:12.5px;display:flex}.chart-readout__head{color:var(--ink);font-weight:650}.chart-readout__row{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.chart-readout__row i{border-radius:999px;flex:none;width:8px;height:8px}.chart-readout__row b{color:var(--ink);font-weight:650}.chart-readout.is-live .chart-readout__head{color:var(--indigo)}.chart-readout--strip{margin:0 0 6px}.panel-title .chart-readout{text-align:right;justify-content:flex-end}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:16px;margin:10px 0 0;font-size:12px;display:flex}.chart-legend span{align-items:center;gap:6px;display:inline-flex}.chart-legend i{border-radius:999px;width:8px;height:8px}.product-cell{align-items:center;gap:10px;min-width:0;display:flex}.product-cell>div{min-width:0}.product-cell img{object-fit:cover;background:#f0f1f5;border-radius:8px;flex:none;width:36px;height:36px}.product-cell__name{text-overflow:ellipsis;white-space:nowrap;font-weight:550;overflow:hidden}.product-cell__sku{color:var(--muted);font-size:12px}.flat-table td.num,.flat-table th.num{text-align:right}.flat-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.flat-table th.sortable:hover{color:var(--ink)}.flat-table th.sorted{color:var(--indigo)}.num--neg{color:var(--red)}.pill{height:22px;color:var(--muted);background:#f0f1f5;border-radius:999px;align-items:center;padding:0 8px;font-size:11.5px;font-weight:600;display:inline-flex}.pill--good{color:var(--green);background:#e8f6f0}.pill--warn{background:var(--orange-soft);color:var(--orange)}.pill--bad{color:var(--red);background:#fdecee}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.toolbar select,.toolbar input[type=search]{border:1px solid var(--line);height:38px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding:0 12px}.toolbar input[type=search]{min-width:240px}.pager{color:var(--muted);justify-content:space-between;align-items:center;margin-top:14px;font-size:13px;display:flex}.pager button{border:1px solid var(--line);height:32px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding:0 12px}.pager button[disabled]{opacity:.4}.reconcile{border-radius:var(--radius);background:var(--orange-soft);border:1px solid #f3ddc4;gap:6px;margin-bottom:20px;padding:14px 16px;font-size:13px;display:grid}.reconcile b{color:var(--ink)}.metric-grid.metric--eight{grid-template-columns:repeat(4,minmax(0,1fr))}.expense-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 64px auto;align-items:center;gap:12px;padding:11px 0;font-size:13px;display:grid}.expense-row:last-child{border-bottom:0}.expense-row b{font-variant-numeric:tabular-nums}.flat-table tfoot td{border-top:1px solid var(--line);padding-top:12px;font-weight:600}@media (width<=1100px){.metric-grid.metric--eight{grid-template-columns:repeat(2,minmax(0,1fr))}}.status-dot{vertical-align:middle;border-radius:999px;flex:none;width:8px;height:8px;margin-right:6px;display:inline-block}.status-selection{align-items:center;gap:0;display:flex}.rule-note{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);gap:12px;margin:0 0 22px;padding:16px 18px;font-size:13px;display:grid}.rule-note__toggle{color:var(--muted);cursor:pointer;align-items:flex-start;gap:10px;display:flex}.rule-note__toggle input{width:16px;height:16px;accent-color:var(--indigo);margin:1px 0 0}.rule-note__toggle b,.rule-note__auto b{color:var(--ink);font-weight:600}.rule-note__auto{border-top:1px solid var(--line);color:var(--muted);margin:0;padding-top:12px}.js-chart--flow{height:auto;min-height:40px}.chart-axis-label--row{fill:var(--ink);font-size:12px}.chart-value-label{fill:var(--ink);font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:600}.chart-value-label--small{fill:var(--muted);font-size:11px;font-weight:500}.chart-track{fill:#f0f1f5}.chart-hbar{fill:var(--indigo)}.chart-hbar--muted{fill:#b9c2f5}.chart-hbar--warn{fill:var(--orange)}.chart-hbar--bad{fill:var(--red)}.chart-hbar--good{fill:var(--green)}.chart-hbar--none{fill:#d7dae2}.chart-band{fill:#f0f1f5}.chart-band--1{fill:#e6e8ef}.chart-band--2{fill:#dde0ea}.chart-goal{stroke:var(--ink);stroke-width:2px!important}.chart-svg .chart-track,.chart-svg .chart-hbar,.chart-svg .chart-band{stroke:none!important}.data-state{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.data-state i{background:var(--green);width:7px;height:7px;box-shadow:0 0 0 4px var(--green-soft);border-radius:999px}.data-state--delayed i{background:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}.data-state--stale i,.data-state--unknown i{background:var(--red);box-shadow:0 0 0 4px var(--red-soft)}.data-state b{color:var(--ink);font-weight:550}.data-state__cadence{color:var(--subtle)}.metric__info{border:1px solid var(--line);width:14px;height:14px;color:var(--subtle);cursor:help;vertical-align:middle;border-radius:999px;place-items:center;margin-left:4px;font-size:9px;font-style:normal;display:inline-grid}.metric__foot{color:var(--subtle);font-size:11.5px}.change small{color:var(--subtle);font-weight:400}.empty-state{color:var(--muted);gap:3px;margin:0;padding:18px 0;font-size:13px;display:grid}.empty-state b{color:var(--ink);font-weight:600}.empty-state span{color:var(--subtle);font-size:12px}.lens-tabs{border:1px solid var(--line);background:var(--panel);border-radius:10px;gap:4px;width:fit-content;margin-bottom:20px;padding:4px;display:flex}.lens-tabs button{height:34px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:7px;padding:0 16px;font-size:13.5px}.lens-tabs button.active{background:var(--indigo);color:#fff;font-weight:550}.dim-row{flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;display:flex}.dim-row__group{border:1px solid var(--line);background:#fff;border-radius:9px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.dim-row__label{color:var(--subtle);letter-spacing:.08em;text-transform:uppercase;margin-right:4px;font-size:11px}.dim-row button{border:1px solid var(--line);height:30px;color:var(--muted);font:inherit;background:#fff;border-radius:8px;padding:0 12px;font-size:12.5px}.dim-row button.active{border-color:var(--ink);background:var(--ink);color:#fff}.action-note{border-left:3px solid var(--orange);background:var(--orange-soft);color:var(--muted);border-radius:0 8px 8px 0;align-items:flex-start;gap:10px;margin-top:14px;padding:11px 13px;font-size:12.5px;display:flex}.action-note--bad{border-left-color:var(--red);background:var(--red-soft)}.action-note--good{border-left-color:var(--green);background:var(--green-soft)}.action-note b{color:var(--ink)}.panel-grid{gap:22px;margin-top:22px;display:grid}.panel-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=1180px){.panel-grid--two{grid-template-columns:1fr}}.page{max-width:1680px}.metric-grid,.metric-grid--four,.metric-grid--five,.metric-grid.metric--eight{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media (width<=760px){.metric-grid,.metric-grid--four,.metric-grid--five,.metric-grid.metric--eight{grid-template-columns:repeat(2,minmax(0,1fr))}}.panel-title{flex-wrap:wrap;gap:16px}.panel-title>div:first-child{min-width:0}.panel-head__sub{color:var(--muted);letter-spacing:0;margin-top:3px;font-size:12.5px;font-weight:400;display:block}.cohort-table td.cell{text-align:center;font-variant-numeric:tabular-nums}.cohort-cell{border-radius:6px;place-items:center;min-width:54px;height:28px;font-size:12.5px;font-weight:600;display:inline-grid}.kpi-goal{gap:10px;display:grid}.kpi-goal__row{color:var(--muted);justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.kpi-goal__row b{color:var(--ink);font-size:15px}.ownership{color:var(--subtle);margin:26px 0 0;font-size:12px}.table-scroll{overflow-x:auto}.table-scroll .flat-table{min-width:100%}.table-scroll--wide .flat-table{min-width:760px}.table-scroll{position:relative}.table-scroll--wide{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000008c);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000008c)}.table-scroll--wide .flat-table th:first-child,.table-scroll--wide .flat-table td:first-child{z-index:1;background:var(--panel);position:sticky;left:0}.table-scroll--wide .flat-table tfoot td:first-child{background:var(--panel)}@media (width<=760px){.lens-tabs{width:100%}.lens-tabs button{flex:1;padding:0 8px}.dim-row{gap:5px}.page-head .filters{align-items:flex-start;gap:10px}}.metric-grid--five{grid-template-columns:repeat(5,minmax(0,1fr))}@media (width<=1180px){.metric-grid--five{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.metric-grid--five{grid-template-columns:repeat(2,minmax(0,1fr))}}.lens-tabs--wrap{flex-wrap:wrap;width:100%}.lens-tabs__count{color:inherit;opacity:.62;font-variant-numeric:tabular-nums;margin-left:7px}.crumb{margin:0 0 6px;font-size:12.5px}.crumb a{color:var(--muted);text-decoration:none}.crumb a:hover{color:var(--indigo)}.card-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,.9fr);align-items:start;gap:22px;display:grid}.card-grid>*{min-width:0}.card-side{gap:22px;min-width:0;display:grid}.expense-item>div,.expense-item b{overflow-wrap:anywhere;min-width:0}.expense-item b{text-align:right}@media (width<=1100px){.card-grid{grid-template-columns:1fr}}.timeline{gap:2px;display:grid}.timeline__row{grid-template-columns:12px minmax(0,1fr);align-items:start;gap:11px;padding:9px 0;display:grid}.timeline__row+.timeline__row{border-top:1px solid var(--line)}.timeline__dot{background:var(--indigo);border-radius:50%;width:7px;height:7px;margin-top:6px}.timeline b{font-size:13px;font-weight:550;display:block}.timeline small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.chart-svg .chart-forecast-band{stroke:none!important}.nowcast{border:1px solid var(--line);border-left:3px solid var(--indigo);border-radius:var(--radius);background:var(--panel);flex-wrap:wrap;align-items:center;gap:30px;margin-bottom:20px;padding:15px 20px;display:flex}.nowcast>div{gap:1px;display:grid}.nowcast__label{color:var(--muted);font-size:12px}.nowcast b{letter-spacing:-.03em;font-size:19px;font-weight:560}.nowcast small{color:var(--subtle);font-size:12px}.nowcast .text-action{margin-left:auto}@media (width<=760px){.nowcast{gap:16px}.nowcast .text-action{margin-left:0}}.matrix{grid-template-columns:78px repeat(3,minmax(0,1fr));gap:6px;display:grid}.matrix__corner{min-height:40px}.matrix__head{color:var(--muted);text-align:center;align-content:center;padding:4px 6px;font-size:12.5px;font-weight:600;display:grid}.matrix__head small{color:var(--subtle);font-size:11px;font-weight:400;display:block}.matrix__head--row{text-align:left}.matrix__cell{min-height:72px;color:var(--ink);font:inherit;text-align:center;border:1px solid #0000;border-radius:9px;align-content:center;gap:2px;padding:8px;display:grid}.matrix__cell b{font-size:13px;font-weight:650}.matrix__cell span{color:var(--muted);font-size:12px}.matrix__cell small{color:var(--subtle);font-size:11px}.matrix__cell:hover{border-color:var(--indigo)}.matrix__cell--active{border-color:var(--ink);box-shadow:0 0 0 2px #1f233114}@media (width<=620px){.matrix{grid-template-columns:54px repeat(3,minmax(0,1fr));gap:4px}.matrix__cell{min-height:64px;padding:6px 4px}}.alerts{gap:10px;margin-bottom:22px;display:grid}.alert{border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:var(--radius);background:var(--panel);justify-content:space-between;align-items:flex-start;gap:16px;padding:13px 16px;display:flex}.alert--high{border-left-color:var(--red)}.alert b{font-size:14px;font-weight:600;display:block}.alert p{color:var(--muted);margin:3px 0 0;font-size:13px}.alert small{color:var(--subtle);margin-top:4px;font-size:12px;display:block}.alert .text-action{flex:none}.panel-head{align-items:flex-start}.panel-head__text{flex:260px;min-width:0}.hint{vertical-align:middle;cursor:help;outline:none;align-items:center;margin-left:6px;display:inline-flex;position:relative}.hint i{width:15px;height:15px;color:var(--muted);border:1px solid #c4c9d4;border-radius:999px;place-items:center;font-size:10px;font-style:normal;font-weight:600;line-height:1;transition:color .12s,border-color .12s;display:inline-grid}.hint:hover i,.hint:focus i,.hint.is-open i{color:var(--indigo);border-color:var(--indigo)}.hint__pop{z-index:60;border:1px solid var(--line);width:max-content;max-width:min(340px,78vw);color:var(--ink);letter-spacing:0;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border-radius:10px;padding:10px 13px;font-size:12.5px;font-weight:400;line-height:1.5;transition:opacity .12s,transform .12s,visibility .12s;position:absolute;top:calc(100% + 8px);left:-6px;transform:translateY(-4px);box-shadow:0 16px 34px #1e233429}.hint__pop--left{left:auto;right:-6px}.hint:hover .hint__pop,.hint:focus .hint__pop,.hint.is-open .hint__pop{opacity:1;visibility:visible;pointer-events:auto;transform:none}.panel-head h2 .hint{margin-left:7px}.metric__label .hint{margin-left:4px}.panel-head .chart-readout,.panel-head .panel-title__sum{flex:0 auto}.dim-row button{height:30px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:12.5px}.dim-row button:hover{color:var(--ink)}.dim-row button.active{background:var(--ink);color:#fff;font-weight:550}.dim-row:not(:has(.dim-row__group)){border:1px solid var(--line);background:#fff;border-radius:9px;gap:2px;width:fit-content;max-width:100%;padding:3px}.dim-row:not(:has(.dim-row__group)) .dim-row__label{padding:0 6px 0 8px}.toolbar select{min-width:160px}.toolbar>*{flex:0 auto}@media (width<=650px){.toolbar{gap:8px}.toolbar>*{flex:100%}.toolbar .button{justify-content:center;width:100%}.dim-row{width:100%}.dim-row button{flex:auto}.lens-tabs button{padding:0 8px;font-size:12.5px}}.fasunok-multiselect-trigger{height:auto;min-height:42px;padding:6px 12px}.status-selection{white-space:normal;flex-wrap:wrap;gap:5px;min-width:0;display:flex;overflow:visible}.status-selection__empty{color:var(--muted)}.status-chip{height:26px;color:var(--ink);white-space:nowrap;background:#f0f2f5;border-radius:999px;align-items:center;gap:6px;padding:0 9px;font-size:12.5px;display:inline-flex}.status-chips{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.status-summary{gap:6px;display:grid}.status-summary__row{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:9px 0;font-size:13.5px;display:flex}.status-summary__row b{color:var(--ink)}.status-summary__row--warn b{color:var(--orange)}.status-summary__note{color:var(--muted);margin:8px 0 0;font-size:12.5px;line-height:1.5}.status-mapping-grid{grid-template-columns:minmax(0,1fr) 320px}@media (width<=920px){.status-mapping-aside{display:block}}.product-cell__name{display:block}.flat-table th,.flat-table th.sortable{white-space:normal;line-height:1.25}.metric .change{white-space:normal}.status-mapping-row{grid-template-columns:minmax(0,1fr) minmax(220px,340px)}@media (width<=920px){.status-mapping-grid{grid-template-columns:1fr}.status-mapping-row{grid-template-columns:1fr;gap:10px;min-height:0;padding:16px 0}}
