:root{font-family:Segoe UI,Arial,sans-serif;color:#213348;background:#f3f6f9;font-synthesis:none;--teal:#008c92;--nav:#203548;--line:#e1e8ee;--muted:#748394;--red:#c65053;--green:#148375}*{box-sizing:border-box}body{margin:0;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #56c6ca;outline-offset:3px}button{border:1px solid var(--line);background:#fff;color:inherit;padding:10px 16px;border-radius:7px;font-weight:600}button:hover{background:#edf4f5}button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}button.danger{color:var(--red)}button.small{padding:6px 10px;font-size:14px}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{min-width:0;background:#fff;border:1px solid #d6e0e7;color:#213348;padding:10px 12px;border-radius:6px;outline:none;min-height:42px}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 2px #008c9214}input[type=checkbox]{min-height:auto;accent-color:var(--teal);width:17px;height:17px}textarea{resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.5px;margin-bottom:6px;font-weight:650}h2{font-size:19px;font-weight:650;margin-bottom:20px}h3{font-size:16px}small,.muted{color:var(--muted)}small{font-size:13px}.boot{padding:60px}.shell{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{background:var(--nav);color:#b8c8d5;padding:0 12px;position:fixed;top:0;bottom:0;width:218px;z-index:10;overflow-y:auto}.brand{height:84px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff14;padding:0 12px;margin-bottom:20px;color:#fff}.brand-mark{background:var(--teal);width:42px;height:42px;border-radius:9px;display:grid;place-items:center;font-weight:750;font-size:18px}.brand strong{display:block;font-size:19px}.brand small{display:block;color:#a8bbc8;margin-top:4px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:6px;background:transparent;color:#b8c8d5;padding:13px 14px;font-size:14px;text-align:left;font-weight:500}.nav-item:hover{background:#ffffff0d}.nav-item.active{background:#008c9233;color:#6de1de;border-left:3px solid #40c6c8;padding-left:11px}.nav-item svg{width:20px;height:20px;flex:none}.nav-sub{font-size:14px;margin-left:32px;padding:9px 10px;width:calc(100% - 32px)}.nav-section{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#7f96a8;margin:22px 14px 8px}.sidebar-footer{margin:25px 14px;font-size:13px;line-height:1.7;color:#9cafbe}.sidebar-footer span{display:block;color:#64cdc7}.workspace{grid-column:2;min-width:0}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 30px;gap:15px}.topbar strong{font-size:14px;font-weight:600}.user{display:flex;align-items:center;gap:12px}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e3f3f3;color:var(--teal);font-size:13px;font-weight:700}.topbar button{padding:5px 9px;font-size:13px}.mobile-menu{display:none}.demo-bar{background:#fff3d4;border-bottom:1px solid #f2dfad;padding:8px 30px;font-size:13px;color:#906b18}.content{padding:29px 30px 40px;max-width:1920px;margin:auto}.heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.heading p{color:var(--muted);font-size:14px;margin:5px 0 0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filters{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px;display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.field{display:flex;flex-direction:column;gap:6px;min-width:130px}.field label{font-size:13px;font-weight:600;color:#68798b}.filters input,.filters select{font-size:14px;max-width:230px}.filters .search{flex:1;min-width:180px}.filters .search input{max-width:none;width:100%}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:9px}.card{padding:21px 22px}.card .label{color:#708192;font-size:14px;margin-bottom:12px}.card .value{font-size:27px;letter-spacing:-.7px;font-weight:650;white-space:nowrap}.card .foot{margin-top:10px;font-size:13px;color:var(--muted)}.card.accent{border-top:3px solid var(--teal);padding-top:19px}.positive{color:var(--green)}.negative{color:var(--red)}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:20px}.panel{padding:22px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-head h2{margin:0}.legend{display:flex;gap:16px;font-size:13px;color:var(--muted)}.legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px;background:var(--teal)}.legend .cost:before{background:#8ca3b5}.legend .profit:before{background:#263f55}.chart{height:240px;width:100%;overflow:hidden}.chart svg{height:100%;width:100%;font:12px Segoe UI,Arial}.account-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2f5;padding:14px 0;gap:15px}.account-row:last-child{border:0}.account-row small{display:block;margin-top:5px}.account-row strong{white-space:nowrap;font-size:16px}.account-row .account-icon{width:34px;height:34px;background:#edf7f7;border-radius:8px;color:var(--teal);display:grid;place-items:center;flex:none}.account-name{display:flex;gap:12px;align-items:center}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{font-size:13px;color:#758596;background:#f9fbfc;padding:13px 16px;white-space:nowrap;font-weight:600;border-bottom:1px solid var(--line)}td{padding:14px 16px;border-bottom:1px solid #edf1f4;vertical-align:middle;max-width:330px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfd}td.num,th.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}td small{display:block;margin-top:5px}.table-link{border:0;padding:0;font-weight:500;color:var(--teal);text-align:left;background:transparent}.table-link:hover{background:transparent;text-decoration:underline}.badge{font-size:12px;padding:4px 8px;border-radius:4px;background:#e9f6f3;color:#158676;white-space:nowrap}.badge.planned{color:#987728;background:#fff5dd}.badge.gray{background:#edf1f5;color:#64768a}.total-strip{padding:16px 20px;display:flex;gap:26px;flex-wrap:wrap;font-size:14px;color:#6c7b8b;background:#f9fbfc;border-top:1px solid var(--line)}.total-strip strong{color:#263a4e;margin-left:6px}.empty{padding:60px 25px;text-align:center;color:#7b8c9a}.empty h3{color:#334b5e;font-size:19px}.empty p{line-height:1.65;max-width:450px;margin:10px auto 20px}.note{padding:13px 17px;background:#edf7f7;border:1px solid #d4e9e8;border-radius:7px;color:#527675;font-size:14px;margin:0 0 20px;line-height:1.6}.note.warning{background:#fff8e7;border-color:#f1e4bf;color:#8b732f}.report-table td,.report-table th{padding:12px 16px}.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;min-width:225px;background:#fff;z-index:1}.report-table th:first-child{background:#f9fbfc}.report-table .subtotal td{background:#edf6f6;font-weight:650}.report-table .subtotal td:first-child{background:#edf6f6}.report-table .grand td{background:#e1f1f0;color:#14756f;font-weight:700}.report-table .grand td:first-child{background:#e1f1f0}.report-table .detail td:first-child{padding-left:30px;color:#738392}.report-table .divider td{border-top:2px solid var(--line)}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.tabs button{border:0;background:transparent;font-size:14px}.tabs button.selected{background:#e3f2f1;color:var(--teal)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.detail-list{display:grid;grid-template-columns:150px 1fr;gap:14px;font-size:14px}.detail-list dt{color:#7a8996}.detail-list dd{margin:0}.alert-number{color:var(--red)}#toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#254354;color:white;padding:14px 20px;border-radius:7px;box-shadow:0 8px 30px #182b4333;max-width:500px;display:none;font-size:14px}#toast.error{background:#9e3d44}dialog{border:0;border-radius:12px;padding:0;width:min(760px,calc(100% - 32px));max-height:92vh;color:inherit;box-shadow:0 20px 70px #16293e44}dialog::backdrop{background:#14283a70}.dialog-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.dialog-head h2{margin:0}.dialog-head button{border:0;background:none;padding:4px;font-size:22px}.dialog-body{padding:23px 26px;overflow-y:auto;max-height:calc(92vh - 150px)}.dialog-footer{padding:17px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;background:#f9fbfc}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-grid label{font-size:14px}.checkline{display:flex;align-items:center;gap:9px;font-size:14px}.split-row,.budget-row,.deal-row{display:grid;grid-template-columns:1fr 1.3fr 1fr auto;gap:8px;margin:10px 0;align-items:end}.deal-row{grid-template-columns:1.5fr .7fr .9fr .6fr auto}.split-row input,.split-row select,.budget-row input,.budget-row select,.deal-row input,.deal-row select{width:100%;font-size:14px;padding:8px;min-height:38px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.section-title h3{margin:0}.form-error{display:none;color:#b4444c;background:#fff0f1;border:1px solid #f1d6d9;border-radius:6px;padding:12px;margin-bottom:15px;font-size:14px;line-height:1.5}.login{min-height:100vh;display:grid;place-items:center;background:#eff4f7;padding:24px}.login-card{background:white;width:420px;max-width:100%;padding:36px;border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 60px #294b6110}.login-card .brand-mark{margin-bottom:22px}.login-card h1{font-size:26px;margin-bottom:10px}.login-card p{color:var(--muted);line-height:1.6;font-size:14px}.login-card .field{margin-bottom:16px}.login-card button{width:100%;margin-top:10px}.files{display:flex;gap:8px;flex-wrap:wrap}.files a{font-size:14px;border:1px solid var(--line);padding:8px 10px;border-radius:5px}.comment{background:#f5f8fa;padding:12px;border-radius:6px;margin-bottom:8px;font-size:14px;white-space:pre-wrap}.comment small{display:block;margin-bottom:5px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.calendar-alert{margin-bottom:20px;display:flex;align-items:center;gap:14px;padding:16px 20px;border:1px solid #f0d9c6;background:#fff7ef;border-radius:8px;font-size:14px}.calendar-alert strong{color:#bd6933}.progress{height:5px;background:#e9eff2;border-radius:5px;overflow:hidden;margin-top:8px}.progress>i{height:100%;display:block;background:var(--teal)}.settings-form{max-width:480px}.settings-form .field{margin-bottom:16px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.menu-button{min-width:30px}.hidden{display:none!important}footer{color:#91a0ad;font-size:12px;padding-top:28px}.health{display:flex;gap:10px;align-items:center}.health:before{content:'';width:6px;height:6px;background:#27978a;border-radius:50%} @media(min-width:1500px){.content{padding:35px 40px}.card .value{font-size:32px}}@media(max-width:1100px){.shell{grid-template-columns:180px 1fr}.sidebar{width:180px}.nav-item{padding-left:10px;font-size:13px}.nav-sub{margin-left:15px;width:calc(100% - 15px)}.brand{padding:0 4px}.brand strong{font-size:16px}.content{padding:22px 20px}.topbar{padding:0 20px}.card{padding:18px}.card .value{font-size:23px}.kpis{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.chart{height:250px}.detail-grid,.settings-grid{grid-template-columns:1fr}}@media(max-width:720px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:218px}.sidebar.open{transform:none;box-shadow:10px 0 40px #20354844}.workspace{width:100%}.topbar{padding:0 16px;height:58px}.topbar .company-label{display:none}.mobile-menu{display:block}.user .username{display:none}.content{padding:20px 14px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:24px}.kpis{gap:10px}.card{padding:16px 12px}.card .value{font-size:22px}.card .label{font-size:13px}.card .foot{font-size:12px}.filters{padding:13px;gap:10px}.filters .field{flex:1;min-width:130px}.filters input,.filters select{max-width:none;width:100%}.panel{padding:17px}.two-columns,.detail-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.split-row,.budget-row,.deal-row{grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding-bottom:12px}.dialog-body{padding:18px}.dialog-head,.dialog-footer{padding:17px 18px}.demo-bar{padding:8px 14px;font-size:12px}.legend{font-size:12px;gap:10px}td,th{padding:12px}.report-table td:first-child,.report-table th:first-child{min-width:160px}.panel-head{flex-wrap:wrap}}

.button-link{display:inline-flex;align-items:center;border:1px solid var(--line);background:#fff;color:inherit;padding:10px 16px;border-radius:7px;font-weight:600}
@media(min-width:721px){#budget-lines .budget-row:has([data-line=direction]){grid-template-columns:145px minmax(140px,1fr) 130px 120px 32px}}

.split-details{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;padding:10px;background:#f4f7fa;border-radius:6px}.split-details .field{flex:1;min-width:170px}.split-row{position:relative;padding-bottom:12px;border-bottom:1px solid #e1e8ee}.split-details .checkline{align-self:end;padding:10px}
.filters .field:has([data-filter="project_group"]){flex:0 1 360px;min-width:min(280px,100%)}.filters [data-filter="project_group"]{max-width:100%;width:100%}@media(max-width:720px){.filters .field:has([data-filter="project_group"]){flex:1 1 100%}}
/* Indicators: charts remain readable on office monitors and small screens. */
.dash-panel{margin-top:22px}.dash-main{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px}.dash-main>div{min-width:0}.dash-metrics{display:grid;gap:18px;padding:12px 0}.dash-metrics span,.dash-metrics small{display:block;color:#81909d;font-size:12px}.dash-metrics strong{display:block;font-size:23px;margin:5px 0;color:#314a5d}.dash-metrics strong.negative{color:#dc5e64}.dash-chart-scroll{overflow-x:auto;max-width:100%}.dash-chart-scroll svg{display:block;width:100%;font:11px system-ui}.dash-legend,.dash-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.dash-legend{margin-top:16px;justify-content:center;font-size:12px}.dash-legend label,.dash-toolbar label{display:flex;align-items:center;gap:6px}.dash-legend input,.dash-toolbar input{width:auto;margin:0}.dash-legend i,.dash-category i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.dash-toolbar select{width:auto}.dash-pill{background:#eef5fb;color:#5480a4;padding:7px 12px;border-radius:20px;font-size:12px}.dash-panel .panel-head{flex-wrap:wrap;gap:12px}.dash-panel .panel-head select{width:auto;max-width:100%}.dash-compositions{display:grid;grid-template-columns:1fr 1fr;gap:30px}.dash-composition{min-width:0}.dash-donut-row{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.dash-donut{height:180px;width:180px;border-radius:50%;display:grid;place-items:center;flex:none}.dash-donut>div{border-radius:50%;background:white;width:130px;height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.dash-donut strong{font-size:14px;max-width:120px;overflow-wrap:anywhere}.dash-donut small{margin-top:7px;color:#8393a2}.dash-stack{display:flex;align-items:flex-end;gap:8px;overflow-x:auto;max-width:100%;padding-bottom:12px;min-height:150px}.dash-stack-column{display:flex;flex-direction:column;align-items:center;min-width:25px;justify-content:flex-end}.dash-stack-column>div{display:flex;flex-direction:column-reverse;width:18px}.dash-stack-column span{display:block;flex:none}.dash-stack-column small{font-size:9px;margin-top:12px;white-space:nowrap;writing-mode:vertical-rl}.dash-category{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid #eef2f5;padding:10px 0;font-size:12px}.dash-category strong{white-space:nowrap}.dash-ranking{display:grid;gap:18px;padding:10px 0}.dash-ranking-label{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:13px}.dash-ranking-label strong{white-space:nowrap}.dash-ranking-track{height:7px;background:#edf3f8;border-radius:5px;margin-top:8px;overflow:hidden}.dash-ranking-track span{display:block;height:100%;border-radius:5px}.dash-panel details{margin-top:18px}.dash-panel summary{cursor:pointer;color:#2785df;padding:10px 0;font-size:13px}.dash-toolbar{margin-top:12px;font-size:12px}
@media(max-width:1100px){.dash-main{grid-template-columns:1fr}.dash-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dash-metrics strong{font-size:20px}.dash-compositions{grid-template-columns:1fr}}
@media(max-width:600px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-toolbar label{flex-wrap:wrap}.dash-ranking-label{font-size:12px}.dash-ranking-label strong{white-space:normal;text-align:right}.dash-donut-row{justify-content:center}.dash-category{flex-wrap:wrap}}
.dash-panel{border:1px solid #e5ebf1;border-radius:14px;box-shadow:0 3px 14px #213c5305;padding:26px 28px}.dash-panel .panel-head{margin-bottom:25px}.dash-panel h2{font-size:19px;letter-spacing:-.3px}.dash-main{grid-template-columns:215px minmax(0,1fr);gap:28px;align-items:center}.dash-metrics{gap:19px;padding:0}.dash-metrics strong{font-size:22px;font-weight:650;letter-spacing:-.5px;line-height:1.3}.dash-metrics span{font-size:12px;color:#7f8b98}.dash-metrics small{font-size:11px;color:#9aa6b2}.dash-chart-scroll{padding-top:6px}.dash-legend{gap:8px;margin-top:8px}.dash-legend label{position:relative;padding:6px 10px;border-radius:7px;background:#f6f9fc;cursor:pointer;color:#536576;user-select:none}.dash-legend input{position:absolute;opacity:0;width:1px;height:1px}.dash-legend label:focus-within{outline:2px solid #2785df;outline-offset:2px}.dash-legend .dash-bar-key{background:var(--series-color);border-radius:3px;width:10px;height:10px}.dash-legend .dash-line-key{width:20px;height:3px;background:var(--series-color);border-radius:0;position:relative}.dash-line-key:after{content:'';position:absolute;left:8px;top:-2px;width:7px;height:7px;border-radius:50%;background:var(--series-color)}.dash-legend .dash-series-off{opacity:.4;text-decoration:line-through}.dash-forecast-key{display:flex;justify-content:center;gap:18px;margin-top:12px;color:#97a4b0;font-size:10px}.dash-forecast-key span{display:flex;align-items:center;gap:7px}.dash-forecast-key i{display:block;width:19px;height:5px;background:#95a8b9;border-radius:1px}.dash-forecast-key i.planned{background:#eef2f7;border:1px dashed #95a8b9;height:7px}.dash-toolbar{background:#fff;border:1px solid #e5ebf1;border-radius:10px;padding:12px 16px;gap:18px}.dash-compositions{gap:42px}.dash-composition+ .dash-composition{border-left:1px solid #edf1f5;padding-left:32px}.dash-composition h3{font-size:14px;font-weight:600;margin-bottom:22px;color:#536576}.dash-donut-row{min-height:210px;align-items:center;gap:20px}.dash-donut{width:174px;height:174px}.dash-donut>div{width:125px;height:125px}.dash-stack{flex:1;min-width:140px;gap:7px}.dash-stack-column{min-width:15px}.dash-stack-column>div{width:13px}.dash-stack-column small{writing-mode:horizontal-tb;font-size:9px}.dash-composition-legend{margin-top:20px}.dash-category{font-size:12px;padding:9px 0;align-items:center;border-color:#f0f3f6}.dash-category>span{display:flex;align-items:center;gap:5px;min-width:0}.dash-category i{flex:none}.dash-category strong{font-weight:500;color:#536576}.dash-ranking{gap:20px}.dash-ranking-label{align-items:center;line-height:1.5}.dash-ranking-track{height:8px;background:#f0f4f8;margin-top:9px}.dash-ranking-label button{color:#536576;font-size:13px;text-align:left}.dash-ranking-label strong{font-weight:600;color:#314a5d}
@media(max-width:1200px){.dash-main{grid-template-columns:185px minmax(0,1fr);gap:20px}.dash-metrics strong{font-size:20px}.dash-donut-row{flex-direction:column}.dash-stack{flex:none;width:100%}}
@media(max-width:1000px){.dash-main{grid-template-columns:1fr}.dash-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dash-compositions{grid-template-columns:1fr}.dash-composition+ .dash-composition{border-left:0;border-top:1px solid #edf1f5;padding:25px 0 0}.dash-donut-row{flex-direction:row}.dash-stack{flex:1;width:auto}}
@media(max-width:600px){.dash-panel{padding:20px 16px;border-radius:12px}.dash-panel .panel-head{margin-bottom:20px}.dash-panel h2{font-size:17px}.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dash-metrics strong{font-size:19px}.dash-chart-scroll svg{min-width:570px}.dash-legend{justify-content:flex-start}.dash-legend label{font-size:11px}.dash-toolbar{gap:12px}.dash-donut-row{flex-direction:column}.dash-stack{width:100%;flex:none}.dash-category{font-size:11px}.dash-ranking-label button{font-size:12px}}
/* Consistent accounting workspaces and searchable dimension pickers. */
.field-label{display:block;font-size:12px;color:#718396;margin-bottom:6px}.multi-field{position:relative;min-width:150px}.multi summary{border:1px solid #dbe3eb;background:#fff;border-radius:7px;padding:9px 12px;cursor:pointer;white-space:nowrap;max-width:230px;overflow:hidden;text-overflow:ellipsis;list-style:none}.multi summary:after{content:' ▾';color:#8293a5}.multi[open]{z-index:40}.multi-popup{position:absolute;z-index:40;width:330px;max-width:80vw;background:white;box-shadow:0 12px 36px #1739562b;border:1px solid #dce5ef;border-radius:10px;padding:12px;top:62px;left:0}.multi-search{width:100%;margin-bottom:8px}.multi-choices{max-height:270px;overflow:auto}.multi-choices label{display:flex;gap:9px;align-items:flex-start;padding:8px;border-radius:5px;font-size:13px;line-height:1.4}.multi-choices label:hover{background:#f1f6fb}.multi-choices label[hidden]{display:none}.multi-choices input{margin-top:3px;flex:0 0 auto}.multi-popup .actions{border-top:1px solid #edf1f5;padding-top:10px;margin-top:8px;gap:5px;flex-wrap:wrap}.multi-popup button{font-size:12px;padding:6px 8px}.filters{overflow:visible;align-items:flex-end;gap:12px;position:relative}.money-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:inherit;font-variant-numeric:tabular-nums;border-bottom:1px dotted #8aa2b9;white-space:nowrap}.money-link:hover{color:#257cc1;border-color:#257cc1;background:transparent}.unreviewed{background:#f0f7ff}.unreviewed td:first-child{border-left:3px solid #7ab6eb}.unreviewed:hover{background:#e6f1fe!important}.tx-toolbar,.pagination,.detail-total{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.tx-toolbar{padding:12px;background:#eef3f8;border-radius:9px}.tx-toolbar button{font-size:12px;padding:7px 9px}.tx-toolbar select{max-width:230px}.description{max-width:430px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrap td{padding-top:10px;padding-bottom:10px}.table-wrap td small{line-height:1.35}.pagination{justify-content:flex-end;font-size:13px;color:#718396}.tree-toggle{border:0;background:transparent;padding:3px;width:24px;color:#5e7993}.tree-spacer{display:inline-block;width:24px}.account-company{margin:18px 0}.panel-head h2{margin:0}.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:230px}.report-table .subtotal td:first-child{background:#eff4f7}.report-table .grand td:first-child{background:#e8f2f5}#drill-dialog{width:min(1380px,94vw);max-width:94vw;max-height:90vh;border:0;border-radius:14px;padding:24px;box-shadow:0 24px 80px #17395645}#drill-dialog::backdrop{background:#17395666}#drill-dialog .dialog-head{display:flex;justify-content:space-between;align-items:flex-start}#drill-dialog h2{margin:0 0 8px}#drill-dialog .dialog-head p{color:#738499;font-size:13px}#drill-dialog td{font-size:13px}#drill-dialog td small{max-width:360px}#drill-dialog .table-wrap{max-height:55vh;overflow:auto}.detail-total{padding:14px 18px;border-radius:9px;background:#eff6fb}.detail-total span:first-child{margin-right:auto;font-size:18px}.calendar-view{overflow:auto}.calendar-view table{min-width:900px}.calendar-date-head{background:#f4f8fc}.calendar-date-head.today{background:#e9f3ff}.calendar-paid{color:#738499}.calendar-overdue{background:#fff0f0}.calendar-plan{background:#fffaf0}.calendar-cell{min-width:180px;vertical-align:top}.calendar-entry{display:block;padding:8px;border-radius:6px;margin:5px 0;background:white;border:1px solid #e4ebf2}.calendar-entry .money-link{font-weight:600}.calendar-entry small{display:block;margin-top:5px}.direction-summary{margin-bottom:20px}.dash-current{display:flex;gap:24px;align-items:center;padding:20px 24px;background:#fff;border:1px solid #e0e9f1;border-radius:12px;margin-bottom:20px}.dash-current .value{font-size:27px;font-weight:650}.dash-current p{margin:0;color:#738499}.checkline input{width:auto!important}#import-defaults{margin-bottom:20px}

#repeat-dialog{width:min(850px,94vw);max-height:90vh;border:0;border-radius:12px;padding:24px;overflow:auto}#repeat-dialog::backdrop{background:#17395666}#repeat-dialog .dialog-head{padding:0;margin-bottom:20px}#repeat-dialog .table-wrap{max-height:40vh;overflow:auto}#repeat-form button{margin:16px 0}.multi-popup{top:100%}.filters .multi-field{min-width:150px;flex:0 1 220px}.money-link:hover{background:transparent}.tx-toolbar .actions{flex-wrap:wrap}

#selection-dialog{width:min(700px,94vw);max-height:85vh;overflow:auto;padding:24px;border:0;border-radius:12px}#selection-dialog::backdrop{background:#17395666}#selection-dialog .dialog-head{padding:0;margin-bottom:20px}#selection-form button,#profile-form button{margin-top:16px}

.contractor-debts{margin-bottom:20px}.contractor-debts p{margin:16px 0 0;font-size:13px;line-height:1.5}.uncategorized-cash td:first-child{color:var(--muted)}.uncategorized-cash small{display:block;margin-top:4px;font-size:12px}

/* Company palette: fskrf.ru, Elementor home/header styles. */
:root{--brand:#94165d;--teal:#94165d;--nav:#fff;--line:#dedede;--muted:#6e6e6e;color:#272727;background:#f3f3f3}
body{background:#f3f3f3;color:#272727}button:hover,.button-link:hover{background:#f8eff4}button.primary:hover{background:var(--brand);filter:brightness(.94)}button:focus-visible,a:focus-visible{outline-color:var(--brand)}input,select,textarea{color:#272727;border-color:#d6d6d6}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px #94165d18}
.sidebar{color:#272727;background:#fff;border-right:1px solid var(--line)}.sidebar .brand{height:132px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:14px 8px;color:#272727;border-color:var(--line)}.sidebar .brand strong{font-size:17px}.sidebar .brand small{font-size:11px;color:var(--muted);margin-top:3px}.fsk-logo{display:block;max-width:100%;height:auto;object-fit:contain}.sidebar .fsk-logo{width:160px}.login-card .fsk-logo{width:280px;max-width:100%;height:auto;margin-bottom:26px}.brand-mark{background:var(--brand);color:#fff}.nav-item{color:#272727}.nav-item:hover{background:#f3f3f3}.nav-item.active{background:#f8edf3;color:var(--brand);border-left-color:var(--brand);font-weight:600}.nav-section,.sidebar-footer{color:var(--muted)}.sidebar-footer span{color:var(--brand)}.avatar{background:#f8edf3;color:var(--brand)}
.login{background:#f3f3f3}.login-card,.card,.panel,.dash-current{border-color:var(--line)}.topbar{border-color:var(--line)}.tabs button.selected,.dash-pill{background:#f8edf3;color:var(--brand)}.dash-panel summary,.money-link:hover{color:var(--brand)}.money-link:hover{border-color:var(--brand)}.money-link{border-bottom-color:#a9a0a5}.field-label,.filters label,.pagination,.dash-metrics span,.dash-metrics small,.dash-donut small,.dash-current p{color:var(--muted)}.dash-metrics strong,.dash-ranking-label strong,.dash-ranking-label button{color:#272727}.dash-metrics strong.negative{color:var(--red)}.tree-toggle{color:var(--brand)}.multi summary,.multi-popup{border-color:var(--line)}.multi-choices label:hover{background:#f8edf3}
.tx-toolbar{background:#f3f3f3}.detail-total{background:#f8edf3}.report-table .subtotal td,.report-table .subtotal td:first-child{background:#f3f3f3}.report-table .grand td,.report-table .grand td:first-child{background:#f8edf3;color:#272727}.report-table .grand td.negative{color:var(--red)}.report-table .detail td:first-child{color:#5e5e5e}.calendar-date-head{background:#f3f3f3}.calendar-date-head.today{background:#f8edf3;color:var(--brand)}.calendar-entry{border-color:var(--line)}.calendar-entry.calendar-overdue{background:#fff0f0;border-color:#edc9ce}.calendar-entry.calendar-plan{background:#fffaf0}.calendar-paid{color:var(--muted)}
@media(max-width:1100px){.sidebar .fsk-logo{width:130px}.sidebar .brand strong{font-size:15px}.sidebar .brand small{font-size:10px}}
@media(max-width:720px){.sidebar .fsk-logo{width:160px}.sidebar .brand strong{font-size:17px}.sidebar .brand small{font-size:11px}}
/* Import workbench: compact, readable drafts and rule conditions. */
.import-condition{display:grid;grid-template-columns:1fr 1fr 1.6fr auto;gap:12px;align-items:end;margin-bottom:12px}.import-condition label{display:grid;gap:6px}.import-condition input,.import-condition select{width:100%;min-width:0}.import-summary{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}.import-preview-actions{margin-top:18px}.import-balances{margin:16px 0}.import-error-row{background:#fff4ee}#import-preview .table-wrap,#mapped-import-result .table-wrap{margin-top:16px}#import-preview td select,#mapped-import-result td select{min-width:160px;max-width:220px}#import-preview td input[type=date],#mapped-import-result td input[type=date]{width:145px}#import-preview td small,#mapped-import-result td small{max-width:320px}#import-rule-editor,#import-rule-apply{width:min(1100px,94vw);max-width:94vw}#import-rule-editor h3{margin:24px 0 12px}#import-rule-apply table{min-width:700px}@media(max-width:760px){.import-condition{grid-template-columns:1fr 1fr}.import-condition-value{grid-column:1/2}.import-summary{gap:8px 14px}}
