:root{font-family:Segoe UI,Arial,sans-serif;color:#142235;background:#f5f7fa;font-size:15px}*{box-sizing:border-box}body{margin:0}.topbar{height:66px;background:#13263d;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1360px)/2));gap:16px}.brand{font-weight:650;font-size:20px}.brand span{font-size:14px;font-weight:400;color:#c6d5e7;margin-left:18px}.local{font-size:13px;color:#b4c7dd}main{max-width:1420px;padding:34px 28px 72px;margin:auto}.intro{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#23649c;font-weight:700;font-size:12px;margin:0 0 10px}h1{font-size:30px;letter-spacing:-.025em;margin:0 0 12px}h2{font-size:19px;margin:0 0 8px}.intro p:not(.eyebrow){max-width:760px;color:#4f6071;line-height:1.55;margin:0}.actions{flex-shrink:0;align-self:center}button,select,input{font:inherit}button{border:1px solid #b8c6d3;border-radius:7px;background:#fff;color:#173049;padding:10px 15px;cursor:pointer;font-weight:600}button:hover{background:#edf4fa}button.primary{background:#17649b;color:#fff;border-color:#17649b}button.primary:hover{background:#0c537f}button:disabled{opacity:.55;cursor:default}#notice{min-height:27px;margin-top:17px;color:#0b714b;font-weight:600}#notice.error{color:#aa3131}.setup,.editor{background:#fff;border:1px solid #dde5ed;border-radius:10px;margin-top:20px;padding:25px;box-shadow:0 2px 8px #12304708}.setup p{line-height:1.55;color:#536577;max-width:820px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:12px}.summary article{background:#fff;border:1px solid #dde5ed;border-radius:9px;padding:18px 20px}.summary span{display:block;color:#60758a;font-size:13px;margin-bottom:8px}.summary strong{font-size:24px;font-weight:650;font-variant-numeric:tabular-nums}.editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.editor-head p{margin:0;color:#5b6c7e}.controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.controls label{font-size:13px;color:#52657a}.controls select{margin-left:6px}.checkbox{display:inline-flex;align-items:center;gap:5px}.checkbox input{width:16px;height:16px}select,input[type=text]{border:1px solid #b7c7d8;border-radius:5px;padding:8px 9px;background:#fff;color:#142235}input[type=text]:focus,select:focus{outline:2px solid #71ace0;outline-offset:1px}.table-wrap{overflow-x:auto;border:1px solid #e0e7ed;border-radius:7px}table{border-collapse:collapse;width:100%;min-width:1040px}th,td{padding:8px;border-bottom:1px solid #e6ebf0;text-align:left}th{position:sticky;top:0;background:#edf2f7;color:#334c66;font-size:12px;white-space:nowrap}tbody tr:last-child td{border-bottom:none}tbody tr:nth-child(even){background:#fbfcfd}tbody tr:hover{background:#f3f8fc}td input[type=text]{width:100%;min-width:0}td:nth-child(1){width:86px}td:nth-child(2){width:180px}td:nth-child(3){min-width:280px}td:nth-child(4),td:nth-child(5){width:150px}td:nth-child(6){width:115px;text-align:center}td:nth-child(7){width:98px}td:nth-child(6) input{width:17px;height:17px}.remove{font-size:12px;padding:7px 9px;color:#9b3636;border-color:#e2b9b9}.footnote{color:#617386;font-size:13px;line-height:1.5;margin-bottom:0}@media(max-width:900px){.intro,.editor-head{display:block}.actions{margin-top:18px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.controls{margin-top:18px}.brand span{display:block;margin:2px 0 0}.topbar{height:auto;min-height:66px;padding:12px 18px}.local{display:none}}@media(max-width:520px){main{padding:25px 15px 50px}.summary{grid-template-columns:1fr 1fr;gap:8px}.summary article{padding:12px}.summary strong{font-size:18px}.editor{padding:15px}.controls{display:grid;align-items:start}}
.main-nav{display:flex;gap:6px;margin:-12px 0 28px;padding:5px;background:#e9eef4;border-radius:9px;width:max-content}.nav-button{border:0;background:transparent;padding:9px 16px}.nav-button.active{background:#fff;color:#145d91;box-shadow:0 1px 4px #1730491c}.view[hidden]{display:none}.budget-table{min-width:1320px}.budget-table th:not(:first-child),.budget-table td:not(:first-child){text-align:right}.budget-table th:first-child{min-width:330px}.budget-table td{width:auto}.budget-table td:first-child{width:auto}.line-label{display:flex;flex-direction:column;gap:3px}.line-label span{font-size:12px;color:#607286}.amount{font-variant-numeric:tabular-nums;white-space:nowrap}.section-note{color:#607286;margin-top:0}.movement-list{border-top:1px solid #e1e7ed}.movement{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 2px;border-bottom:1px solid #e1e7ed}.movement div{display:flex;flex-direction:column;gap:4px}.movement span{color:#607286;font-size:13px}.movement b{white-space:nowrap;color:#154f77;font-variant-numeric:tabular-nums}.empty{color:#65788a}dialog{border:0;border-radius:12px;padding:0;box-shadow:0 18px 60px #07182d4d;width:min(620px,calc(100vw - 30px))}dialog::backdrop{background:#10243c99}dialog form{padding:26px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.icon-button{border:0;font-size:26px;line-height:1;padding:3px 8px}.dialog-head h2{font-size:23px}.dialog-head .eyebrow{margin-bottom:6px}dialog label{display:flex;flex-direction:column;gap:7px;color:#42576d;font-size:13px;font-weight:600;margin-bottom:16px}dialog select,dialog input,dialog textarea{width:100%;border:1px solid #afc0d0;border-radius:6px;padding:10px;color:#142235;background:#fff;font:inherit}dialog textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}@media(max-width:700px){.main-nav{width:100%;overflow-x:auto}.nav-button{white-space:nowrap}.form-grid{grid-template-columns:1fr}.movement{align-items:flex-start}}
.audit-details{border-bottom:1px solid #e1e7ed}.audit-details summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 2px;cursor:pointer;list-style:none}.audit-details summary::-webkit-details-marker{display:none}.audit-details summary div{display:flex;flex-direction:column;gap:4px}.audit-details summary span{color:#607286;font-size:13px}.expand-hint{color:#17649b;font-size:12px;white-space:nowrap}.audit-explanation{margin:0 2px 14px;padding:13px 15px;background:#f2f6fa;border-left:3px solid #4e8bb7;border-radius:0 6px 6px 0}.audit-explanation span{display:block;color:#627589;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.audit-explanation p{margin:0;color:#243a50;line-height:1.5;white-space:pre-wrap}
.wide-dialog{width:min(820px,calc(100vw - 30px))}.source-head{display:flex;justify-content:space-between;align-items:center;margin:4px 0 10px}.source-head div{display:flex;flex-direction:column;gap:3px}.source-head span{font-size:12px;color:#65788a}.source-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.source-row{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:8px}.source-row select,.source-row input{min-width:0}.transfer-total{display:flex;justify-content:flex-end;align-items:baseline;gap:16px;padding:10px 0 18px}.transfer-total span{color:#607286}.transfer-total strong{font-size:19px;font-variant-numeric:tabular-nums}@media(max-width:650px){.source-row{grid-template-columns:1fr}.source-row .remove{justify-self:start}.source-head{align-items:flex-start;gap:8px}}
.transfer-breakdown{margin-top:12px;border-top:1px solid #d7e1ea}.transfer-breakdown>div{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:10px;padding:9px 0;border-bottom:1px solid #d7e1ea;align-items:center}.transfer-breakdown b{font-size:12px}.transfer-breakdown b.out{color:#a04444}.transfer-breakdown b.in{color:#19704f}.transfer-breakdown span{font-size:12px;text-transform:none;letter-spacing:0;margin:0}.transfer-breakdown strong{font-variant-numeric:tabular-nums;white-space:nowrap}@media(max-width:600px){.transfer-breakdown>div{grid-template-columns:70px 1fr}.transfer-breakdown strong{grid-column:2}}
.audit-controls{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}.audit-go{padding:6px 9px;font-size:12px;color:#17649b}.focused-movement{outline:3px solid #79add2;outline-offset:3px;border-radius:4px;transition:outline-color .5s}.movement>.audit-go{margin-left:auto}
.document-placeholder{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin:4px 0 14px;background:#fff8e8;border:1px solid #ead9a8;border-radius:7px;color:#67501f}.document-placeholder span{font-size:12px}.expense-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.expense-meta>div{display:flex;flex-direction:column;gap:3px}.expense-meta span{font-size:10px;margin:0}.expense-meta strong{font-size:13px}@media(max-width:650px){.expense-meta{grid-template-columns:1fr}}
.expense-documents{margin:4px 0 14px;padding:12px 14px;border:1px solid #cedbe6;border-radius:7px}.expense-documents legend{font-weight:700;color:#17334f;padding:0 6px}.expense-documents small{display:block;color:#607286;margin-top:4px}
.intro-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.advance-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important}.status-badge{padding:5px 8px;border-radius:999px;font-size:12px}.status-badge.info{background:#e8f2fb;color:#195f91}.status-badge.warning{background:#fff0c9;color:#815d00}.status-badge.danger{background:#ffe0dc;color:#9b2c20}.status-badge.closed{background:#e5eee7;color:#356442}.document-button{color:#17649b;border:1px solid #b8cad9;border-radius:5px;padding:7px 10px;text-decoration:none;font-size:12px;white-space:nowrap}@media(max-width:700px){.advance-actions{align-items:flex-end!important;flex-direction:column!important}.intro-actions{width:100%}}
.line-history-button{width:100%;border:0;background:transparent;text-align:left;padding:4px 6px;color:inherit}.line-history-button:hover,.line-history-button:focus{background:#e7f1f8;outline:2px solid #6ba0c5;border-radius:5px}.dialog-panel{padding:26px}.line-history-summary{padding:11px 13px;background:#edf4f9;border-radius:6px;color:#284a65;font-weight:700;margin-bottom:14px}
.topbar-actions{display:flex;align-items:center;gap:10px}.topbar-actions button{padding:7px 10px}.network-status{font-size:12px;padding:4px 8px;border-radius:999px;background:#dff3e6;color:#276342}.network-status.offline{background:#ffe2dd;color:#982d23}@media(max-width:700px){body{font-size:14px}.topbar{align-items:flex-start;gap:8px}.brand span,.local{display:none}.topbar-actions{margin-left:auto}.intro{align-items:flex-start;flex-direction:column}.summary,.report-summary{grid-template-columns:1fr 1fr}.editor{padding:16px}.wide-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}dialog form,.dialog-panel{padding:18px}.main-nav{position:sticky;top:0;z-index:20;margin-bottom:18px;border-radius:0;box-shadow:0 3px 10px #1730491c}.nav-button{padding:10px 12px}.dialog-actions{position:sticky;bottom:0;background:#fff;padding-top:10px}.movement{gap:8px}.movement>b{white-space:normal}.budget-table,.report-table{font-size:12px}}
.current-user{font-size:12px;color:#476176}.login-dialog{width:min(430px,calc(100vw - 30px))}.login-dialog::backdrop{background:#10243ce8}
.mobile-assistant{max-width:760px;margin:0 auto}.assistant-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.assistant-head h1{margin-bottom:6px}.assistant-head p{margin-top:0}.assistant-phone{min-height:620px;background:#e9f0f4;border:1px solid #cad8e2;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 35px #1730491c}.assistant-messages{flex:1;padding:20px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:60vh}.assistant-message{align-self:flex-start;max-width:86%;padding:11px 13px;background:#fff;border-radius:5px 14px 14px 14px;box-shadow:0 2px 6px #17304917;line-height:1.45}.assistant-message.user{align-self:flex-end;background:#d9f1d2;border-radius:14px 5px 14px 14px}.assistant-message strong{display:block;margin-bottom:6px}.assistant-message p{margin:4px 0}.assistant-message a{display:block;color:#17649b;padding:8px 0;border-bottom:1px solid #d9e3ea}.assistant-choices{padding:10px 16px;display:flex;gap:8px;flex-wrap:wrap;background:#f7fafc;border-top:1px solid #d5e0e8}.assistant-choices button{color:#17649b;border-color:#9dbbd0;background:#fff}.assistant-input{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 16px 16px;background:#f7fafc}.assistant-input input{min-width:0;border:1px solid #afc0d0;border-radius:8px;padding:11px;font:inherit}.mobile-mode .topbar .local,.mobile-mode #installApp,.mobile-mode #mainNav{display:none!important}@media(max-width:700px){.mobile-assistant{margin:-6px -8px 0}.assistant-head{padding:0 8px}.assistant-head p{font-size:13px}.assistant-phone{border-radius:12px;min-height:calc(100dvh - 175px)}.assistant-messages{max-height:none;padding:14px}.assistant-message{max-width:92%}.assistant-choices{flex-wrap:nowrap;overflow-x:auto}.assistant-choices button{white-space:nowrap}.assistant-input{position:sticky;bottom:0}}
.report-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-filters label{display:flex;flex-direction:column;gap:6px;color:#42576d;font-size:13px;font-weight:600}.report-filters select,.report-filters input{width:100%;border:1px solid #afc0d0;border-radius:6px;padding:9px;background:#fff}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.report-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chart{display:flex;flex-direction:column;gap:14px}.chart-row>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:5px}.chart-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-track{height:12px;background:#e8eef3;border-radius:999px;overflow:hidden}.chart-track i{display:block;height:100%;min-width:2px;border-radius:999px}.chart-track .expense{background:#2679ad}.chart-track .blocked{background:#d48a2c}.chart-track .available{background:#38885a}.report-table{min-width:1500px}.report-table th:not(:first-child),.report-table td:not(:first-child){text-align:right}.report-table th:first-child{min-width:340px}.year-end-control{padding:17px 20px;background:#fff4d8;border:1px solid #e5bd5f;border-radius:9px;margin-bottom:18px}.year-end-control h2{margin-bottom:8px}.year-end-control p{margin:4px 0}.year-end-control strong{display:block;margin-top:9px}@media(max-width:850px){.report-filter-grid,.report-summary{grid-template-columns:1fr 1fr}.report-charts{grid-template-columns:1fr}}@media print{body{background:#fff}.site-header,#mainNav,#notice,.report-header .intro-actions,.report-filters{display:none!important}main{max-width:none;margin:0;padding:0}main>.view{display:none!important}#reportView{display:block!important}.editor,.summary article{box-shadow:none;border-color:#bbb}.report-charts{grid-template-columns:1fr 1fr}.table-scroll{overflow:visible}.report-table{min-width:0;font-size:8px}.report-table th:first-child{min-width:180px}}
.form-error{padding:11px 13px;margin:0 0 14px;background:#fff0f0;border:1px solid #e1aaaa;border-radius:6px;color:#9c2929;font-weight:600;line-height:1.45}.preview-panel{padding:26px}.preview-panel>p{color:#52667a}.preview-rows{border-top:1px solid #d9e2ea}.preview-rows>div{display:grid;grid-template-columns:85px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid #d9e2ea;align-items:center}.preview-rows b.out{color:#a13c3c}.preview-rows b.in{color:#16704d}.preview-rows span{font-size:13px}.preview-rows strong{white-space:nowrap;font-variant-numeric:tabular-nums}.preview-explanation{margin-top:15px;padding:12px 14px;background:#f2f6fa;border-radius:6px}.preview-explanation span{font-size:11px;font-weight:700;text-transform:uppercase;color:#607286}.preview-explanation p{margin:5px 0 0;white-space:pre-wrap}.supplier-list{display:flex;flex-direction:column;border-top:1px solid #e1e7ed}.supplier-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 2px;border-bottom:1px solid #e1e7ed}.supplier-card div{display:flex;flex-direction:column;gap:4px}.supplier-card span{color:#607286;font-size:13px}input[type=search],input[type=date],textarea{border:1px solid #b7c7d8;border-radius:5px;padding:8px 9px;background:#fff;color:#142235;font:inherit}@media(max-width:600px){.preview-rows>div{grid-template-columns:70px 1fr}.preview-rows strong{grid-column:2}.supplier-card{align-items:flex-start}}
.inline-actions{display:flex;gap:6px;margin-top:2px}.inline-actions button{padding:6px 9px;font-size:12px;font-weight:600}.form-error[hidden]{display:none}
fieldset{border:1px solid #d7e1ea;border-radius:7px;padding:14px;margin:0 0 14px}legend{padding:0 6px;color:#3f5870;font-size:12px;font-weight:700}.form-warning{padding:11px 13px;margin:0 0 14px;background:#fff8e5;border:1px solid #e4c872;border-radius:6px;color:#705718;font-weight:600;line-height:1.45}.form-warning[hidden]{display:none}.tender-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important}.tender-actions b{font-size:13px}
.budget-table th:nth-last-child(1),.budget-table td:nth-last-child(1){position:sticky;right:0;z-index:2;background:#f7fbff;box-shadow:-1px 0 #cedbe6;min-width:132px}.budget-table th:nth-last-child(2),.budget-table td:nth-last-child(2){position:sticky;right:132px;z-index:2;background:#fffaf2;box-shadow:-1px 0 #e2d7c4;min-width:132px}.budget-table th:nth-last-child(-n+2){z-index:4}.budget-table tbody tr:nth-child(even) td:nth-last-child(1){background:#f2f8fc}.budget-table tbody tr:nth-child(even) td:nth-last-child(2){background:#fbf6ed}#tenderDialog{max-height:calc(100vh - 30px);overflow:auto}.tender-stage[hidden]{display:none}.tender-stage small{display:block;margin-top:5px}.tender-stage small a,.tender-doc-links a{color:#17649b}.tender-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tender-detail-grid>div{display:flex;flex-direction:column;gap:3px}.tender-detail-grid span{font-size:10px;margin:0}.tender-detail-grid strong{font-size:13px}.tender-doc-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tender-doc-links a{padding:6px 9px;background:#fff;border:1px solid #c8d6e2;border-radius:5px;font-size:12px}@media(max-width:700px){.tender-detail-grid{grid-template-columns:1fr}.tender-actions{align-items:flex-end!important;flex-direction:column!important}}
@media(min-width:1450px){main{max-width:1780px;padding-left:22px;padding-right:22px}.budget-table{table-layout:fixed;min-width:1375px}.budget-table th:first-child{width:340px}.budget-table th:not(:first-child){width:115px}.budget-table th,.budget-table td{padding-left:7px;padding-right:7px;font-size:12px}}

.auth-locked>.topbar,.auth-locked>main{visibility:hidden}.auth-locked{background:#f5f7fa}
