.v2-page{display:flex;flex-direction:column;gap:20px;padding-bottom:36px}.v2-panel{padding:24px}.v2-panel h2{font-size:18px;color:var(--theme-strong,#294a81);margin:0 0 18px}.v2-panel p{line-height:1.75}.v2-panel .form-grid{margin:18px 0}.v2-panel input,.v2-panel select,.v2-panel textarea,.command-input{min-height:40px;border:1px solid #c6d2e2;border-radius:8px;padding:8px 11px;background:#fff;color:#263b58;max-width:100%}.v2-columns{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(420px,1.5fr);gap:20px}.v2-metrics{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.v2-metrics>div{flex:1;min-width:150px;padding:18px;background:#eef4ff;border-radius:12px;border:1px solid #d6e3f9}.v2-metrics small,.v2-metrics strong{display:block}.v2-metrics strong{font-size:23px;color:#3159a5;margin-top:10px;font-variant-numeric:tabular-nums}.button-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.exception-banner{padding:15px 20px;color:#a52d38;background:#fff0f1;border:1px solid #e8b2b6;border-radius:10px;margin-bottom:16px;font-weight:600}.drop-zone{display:flex;flex-direction:column;gap:10px;padding:25px;position:relative;text-align:center;background:#f2f7ff;border:2px dashed #b3c7e4;border-radius:10px;cursor:pointer;color:#325282}.drop-zone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.drop-zone small{color:#63768e}.attachment-list>div,.quick-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e7edf4}.attachment-list>div>span,.quick-row>span{flex:1}.attachment-list small,.quick-row small{display:block;color:#60728c;margin-top:6px}.attachment-preview{width:100%;height:65vh;border:0}.allocation-edit{display:flex;gap:14px;align-items:center;margin:10px 0}.allocation-edit>span:first-child{flex:1}.paste-area{width:100%;font:inherit;line-height:1.8;resize:vertical}.sticky-save{position:sticky;bottom:0;background:#fff;box-shadow:0 -5px 20px #263d6214;border:1px solid #d7e1ef;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:12px}.client-list{display:flex;flex-direction:column;gap:8px}.client-list>button,.command-results>button{text-align:left;border:1px solid #dce5ef;background:#fff;padding:15px;border-radius:10px;color:#213f65;cursor:pointer}.client-list>button>*,.command-results small{display:block;margin:5px 0}.client-list .selected,.command-results .selected{background:#edf3ff;border-color:#8baad9}.fee-result{padding:24px;background:#edf8f3;border:1px solid #acd1c1;margin-top:22px;border-radius:12px}.fee-result>strong{display:block;font-size:30px;color:#22745a;margin:10px 0}.more-menu{position:relative}.more-menu summary{cursor:pointer;border:1px solid #ccd8e7;border-radius:7px;padding:9px 14px;list-style:none}.more-menu>div{position:absolute;right:0;top:42px;z-index:35;background:#fff;box-shadow:0 8px 32px #263e6433;padding:12px;min-width:200px;border:1px solid #d6e0ed;border-radius:10px;display:flex;flex-direction:column;gap:8px}.command-trigger{margin:10px 18px 20px;border:1px solid #c6d4e8;border-radius:8px;padding:10px;background:#f4f8ff;color:#3d597d;text-align:left;cursor:pointer}.command-trigger kbd{float:right;color:#687e9a}.command-input{width:100%;margin-bottom:14px}.command-results{display:flex;flex-direction:column;gap:8px}.drawer-backdrop{position:fixed;inset:0;background:#13273c30;z-index:70}.quick-drawer{position:absolute;right:0;top:0;bottom:0;width:min(620px,95vw);padding:26px;background:#fff;overflow:auto;box-shadow:-10px 0 40px #152f4830}.check-line{display:flex;align-items:center;gap:10px;margin:18px 0}.check-line input{min-height:auto}.status-overpaid{color:#a52d38;background:#fff0f1}.list-table .actions-cell{box-shadow:-10px 0 14px -12px #415772}.v2-page .panel{overflow:hidden}input[list]{background-image:linear-gradient(45deg,transparent 50%,#526e91 50%),linear-gradient(135deg,#526e91 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px!important}@media(max-width:1050px){.v2-columns{grid-template-columns:1fr}.v2-metrics strong{font-size:20px}.v2-panel{padding:18px}}.trend-chart{width:100%;height:auto;max-height:300px}.import-record summary{display:flex;align-items:center;gap:12px;cursor:pointer;flex-wrap:wrap}.import-record summary>span{font-size:12px;color:#60728c}.import-record summary>input{min-height:0}.sidebar nav{overflow-y:auto;flex:1}.sidebar .nav-item{min-height:43px}.sidebar .nav-item b{font-size:11px}.list-totals,.header-actions{flex-wrap:wrap}.ledger-pagination select{margin-right:10px}.record-detail-page{font-size:14px}.record-detail-page .page-header{flex-wrap:wrap;gap:14px}.record-detail-page .record-retry{align-self:flex-start}.record-panel{padding:24px;min-width:0}.record-panel h2{margin:0 0 20px;color:var(--accent-heading);font-size:17px;font-weight:650}.record-intro{border-top:3px solid var(--accent)}.record-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--accent);font-size:14px}.record-eyebrow :is(.status,.badge){font-size:13px}.record-intro h1{margin:18px 0 10px;color:#293b58;font-size:24px;line-height:1.5;overflow-wrap:anywhere}.record-number{margin:0;color:#5c6c84;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.record-contract-link{display:flex;align-items:baseline;gap:12px;width:100%;margin-top:20px;padding:14px 16px;border:1px solid var(--accent-line);border-radius:9px;text-align:left;color:var(--accent);background:var(--accent-soft)}.record-contract-link>span{flex-shrink:0;font-size:13px;color:#5c6c84}.record-contract-link>strong{font-weight:600;line-height:1.6;overflow-wrap:anywhere}.record-contract-link>svg{flex-shrink:0;margin-left:auto;align-self:center}.record-contract-link:hover{border-color:var(--accent)}.record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px;margin:0}.record-facts>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:14px;line-height:1.7}.record-facts dt{color:#64728a}.record-facts dd{margin:0;color:#304364;overflow-wrap:anywhere;white-space:pre-wrap}.record-amounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.record-amounts>div{padding:18px;border:1px solid #e4e9f2;border-radius:9px;background:#fafbfe}.record-amounts span{display:block;color:#64728a;font-size:13px}.record-amounts strong{display:block;margin-top:10px;color:#304364;font-size:21px;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.record-amounts .record-amount-accent{background:var(--accent-soft);border-color:var(--accent-line)}.record-amount-accent strong{color:var(--accent)}.record-amount-paid strong{color:#167653}.record-amount-due strong{color:#a45a15}.record-note{margin:16px 0 0;color:#64728a;font-size:13px;line-height:1.8}.record-note .button{margin-left:6px;font-size:13px}.record-table{width:100%;min-width:700px}.record-table td{max-width:340px;overflow-wrap:anywhere}.record-table-link{display:inline-flex;align-items:center;gap:8px;padding:4px 0;border:0;background:transparent;color:var(--accent);text-align:left;font-weight:550;line-height:1.7}.record-table-link svg{flex-shrink:0}.record-table-link:hover{text-decoration:underline}.record-table .record-source-row{background:var(--accent-soft)}.record-refund-label{display:block;font-size:13px;color:#a45a15}.record-remark{margin:0;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.record-muted{color:#64728a;margin:0;line-height:1.7}.record-attachments{margin:0;padding:0;list-style:none}.record-attachments li{display:flex;align-items:center;gap:14px;padding:14px 0}.record-attachments li+li{border-top:1px solid #edf0f5}.record-attachments li>svg{flex-shrink:0;color:var(--accent)}.record-attachments li>div{min-width:0;flex:1}.record-attachments strong{display:block;font-weight:550;overflow-wrap:anywhere}.record-attachments span{display:block;margin-top:6px;color:#64728a;font-size:13px}@media(max-width:1000px){.record-facts{grid-template-columns:1fr;gap:18px}}@media(max-width:600px){.record-panel{padding:18px}.record-intro h1{font-size:21px}.record-facts>div{grid-template-columns:92px minmax(0,1fr);gap:10px}.record-amounts{grid-template-columns:1fr}.record-amounts strong{font-size:20px}}:root{font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;color:#161d2c;background:#f7f9fc;font-synthesis:none;font-size:14px;--blue:#1677ff;--line:#edf0f5;--muted:#8591a7;--green:#19bf6c;--orange:#ff9800;--red:#ff4d4f;--sidebar:214px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6aa7ff}button{color:inherit}a{color:var(--blue)}input,select,textarea{min-width:0;background:#fff;color:#202738;border:1px solid #dfe5ee;border-radius:7px;transition:border-color .16s,box-shadow .16s}input:not([type=checkbox]):not([type=radio]),select{height:38px;padding:0 11px}textarea{padding:10px 11px;resize:vertical}input::placeholder,textarea::placeholder{color:#a0a9b9}input:focus,select:focus,textarea:focus{border-color:#80b6ff;box-shadow:0 0 0 3px #1677ff0a}input[type=checkbox],input[type=radio]{accent-color:var(--blue);width:15px;height:15px;cursor:pointer;margin:0;flex-shrink:0}input[type=checkbox]:disabled{opacity:.45;cursor:default}h1,h2,h3,p{margin:0}h1{font-size:23px;font-weight:650;letter-spacing:-.6px}h2{font-size:18px;font-weight:650}h3{font-size:15px;margin:20px 0 12px}small,.small{font-size:12px}.muted{color:var(--muted)}.red-text{color:var(--red)!important}.green-text{color:#09b95c!important}.orange-text{color:#ff8a00!important}.second-line{display:block;margin-top:5px;line-height:1.5}.struck{text-decoration:line-through}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid #edf1f6;padding:30px 14px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;background:none;border:0;padding:3px 11px 37px;text-align:left;white-space:nowrap}.brand strong{font-size:22px;color:#111;letter-spacing:1px;font-weight:650}.nav-item{display:flex;align-items:center;gap:14px;width:100%;min-height:57px;border:0;border-radius:10px;background:transparent;text-align:left;padding:14px 17px;margin-bottom:5px;font-size:16px;white-space:nowrap}.nav-item svg{width:21px;height:21px;stroke-width:1.8;color:#919cb0}.nav-item.active{background:linear-gradient(100deg,#eaf4ff,#e4efff);color:var(--blue);font-weight:600}.nav-item.active svg{color:var(--blue)}.nav-item:hover:not(.active){background:#f6f8fb}.nav-item b{font-weight:400;font-size:12px;background:#f0f2f6;color:#7e8ba2;border-radius:20px;padding:1px 7px;margin-left:auto}.nav-item b.red-count{background:#fff0f0;color:var(--red)}.nav-divider{height:1px;background:var(--line);margin:11px 12px}.sidebar-user{margin-top:auto;padding:22px 9px 2px;display:flex;align-items:center;gap:10px;position:relative}.sidebar-user:before{content:"";height:1px;background:var(--line);position:absolute;top:0;left:10px;right:10px}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#f0f2f6;border-radius:50%;color:#9aa5b7}.sidebar-user strong{font-size:13px;font-weight:550}.sidebar-user small{display:block;color:#8c96a7;font-size:11px;margin-top:4px}.main{margin-left:var(--sidebar);min-height:100vh;padding:0 22px 24px}.page-header{min-height:87px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading{display:flex;align-items:center;gap:16px;min-width:0;flex:1}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;border:1px solid #e7ebf2;border-radius:10px;background:#fff;padding:0 17px;font-weight:550;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover:not(:disabled){background:#f7faff;border-color:#b9d6ff}.button-primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 4px #1677ff0d}.button-primary:hover:not(:disabled){background:#0869f5;border-color:#0869f5}.button-text{border:0;color:var(--blue);background:none;padding:0 8px;min-height:30px;border-radius:6px}.button-danger{background:var(--red);color:#fff;border-color:var(--red)}.button-danger:hover:not(:disabled){background:#ef3f42;border-color:#ef3f42}.back-heading{display:flex;align-items:center;gap:10px;padding:0;border:0;background:transparent;font-size:17px;line-height:1.5;text-align:left;min-width:0}.back-heading svg{color:#98a3b4;flex-shrink:0}.year-select{border:0;background:#f2f5f9;font-weight:550;padding-right:7px!important}.search-box{max-width:520px;min-width:180px;flex:1;height:42px;border-radius:24px;background:#f3f5f8;display:flex;align-items:center;gap:10px;padding:0 16px;margin-left:auto;color:#95a1b6}.search-box input{background:transparent;border:0!important;box-shadow:none!important;padding:0!important;width:100%;color:#3f4a5c}.search-box input::placeholder{color:#96a1b5}.search-box button{border:0;background:none;color:#98a3b5;display:flex}.list-page{min-height:calc(100vh - 24px);display:flex;flex-direction:column;background:#fff;margin:0 -22px -24px;padding:0 22px 20px}.list-page .page-header{border-bottom:1px solid var(--line)}.filter-bar{display:flex;justify-content:space-between;gap:18px;align-items:center;min-height:86px}.status-filters{display:flex;align-items:center;gap:25px;white-space:nowrap;overflow:auto;scrollbar-width:thin}.status-filters button{border:0;border-bottom:2px solid transparent;background:transparent;display:flex;align-items:center;gap:7px;height:47px;padding:0 1px;font-size:14px;flex-shrink:0}.status-filters button.selected{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}.status-filters b,.tabs b{font-weight:400;font-size:12px;background:#f1f3f7;padding:1px 5px;border-radius:7px}.status-filters .selected b,.tabs .active b{background:#e5f0ff;color:var(--blue)}.dot,.status i,.service-tag i{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.dot-orange{background:#ff960f}.dot-blue{background:#adceff}.dot-gray{background:#bfc4cb}.dot-red{background:#ff555a}.dot-green{background:#25c37a}.filter-extra{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap}.filter-extra label{display:flex;align-items:center}.filter-extra select{border:0;padding-left:3px!important;height:32px;color:#536078;font-size:12px}.table-container{border:1px solid var(--line);border-radius:10px;overflow:auto;background:#fff}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:600;background:#f5f6f8;height:54px;padding:13px 12px;white-space:nowrap;color:#202738}td{height:54px;padding:12px;border-bottom:1px solid #eff2f7;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}tbody tr.row-selected{background:#eef5ff}.check-cell{width:34px;padding-left:14px;padding-right:4px}.list-table table{min-width:1050px}.project-col{min-width:240px}.project-link{border:0;background:none;text-align:left;padding:0;max-width:390px;font-weight:450;line-height:1.5;color:#222936}.project-link:hover{color:var(--blue)}.contract-number{white-space:nowrap;min-width:185px}.contract-number .badge{margin-left:7px;font-size:10px}.status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#718098}.status i{background:#8dbbff}.status-unsign{color:#f39300}.status-unsign i{background:#ff9800}.status-sent i{background:#63a8ff}.status-signed i,.status-normal i,.status-settled i{background:var(--green)}.status-normal,.status-settled{color:#17b767}.status-void,.status-merged{color:#9198a6}.status-void i,.status-merged i{background:#b8bec8}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:5px;font-size:12px;line-height:1.5;white-space:nowrap}.badge-blue{color:#1680ff;background:#eaf4ff}.badge-purple{color:#8056ff;background:#f2edff}.badge-green{color:#12a852;background:#eaf9ef}.badge-gray{color:#7a8599;background:#f2f4f7}.badge-red{color:#f2474b;background:#fff0f1}.badge-orange{color:#e98b00;background:#fff5e6}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.center{text-align:center}.actions-cell{white-space:nowrap;min-width:103px;text-align:right;padding-right:17px}.actions-cell button+button{margin-left:9px}.text-link{border:0;background:none;padding:0;color:var(--blue);font:inherit;white-space:nowrap}.text-link:hover{text-decoration:underline}.text-link:disabled{text-decoration:none}.progress-col{min-width:140px}.progress{display:flex;align-items:center;gap:10px;min-width:95px;color:#8290a8;margin-top:2px}.progress>span{height:5px;background:#e3edfc;border-radius:8px;min-width:48px;max-width:90px;flex:1;overflow:hidden}.progress i{display:block;height:100%;background:var(--blue);border-radius:8px}.progress.complete i{background:#25c47e}.progress small{min-width:30px;font-variant-numeric:tabular-nums}.selection-bar{display:flex;align-items:center;gap:15px;background:#252d3b;color:#fff;box-shadow:0 6px 15px #1828401f;border-radius:12px;padding:8px 14px 8px 18px;position:fixed;bottom:82px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%);z-index:12;white-space:nowrap;font-size:13px}.selection-bar>i{width:1px;height:18px;background:#647084}.selection-bar .button{min-height:35px;border-radius:20px;font-size:13px}.selection-bar>button:last-child{background:none;border:0;color:#fff;padding:8px 0}.list-footer{margin-top:auto;padding-top:32px;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:88px}.list-totals{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.list-totals b{font-size:13px;font-weight:550;margin-left:6px;font-variant-numeric:tabular-nums}.list-totals>span+span:before{content:"·";color:#929db1;margin-right:10px}.list-totals small{color:#8994a6;margin-left:4px}.pagination{display:flex;align-items:center;gap:8px;flex-shrink:0}.pagination button{display:grid;place-items:center;width:31px;height:31px;background:#fff;border:1px solid #eaf0f7;border-radius:6px}.pagination button.current{background:#f6faff;border-color:#74adff;color:var(--blue)}.panel{background:#fff;border:1px solid #e9eef5;border-radius:12px;padding:18px;box-shadow:0 2px 3px #21376601}.create-layout{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(290px,1fr);gap:16px}.form-stack,.create-aside{display:flex;flex-direction:column;gap:15px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.section-heading>h2{white-space:nowrap}.section-heading>h2 small{font-size:13px;font-weight:400;color:#66718b;margin-left:5px}.section-heading>.badge{margin-right:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 27px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field-label{font-weight:550;font-size:13px}.field-label em{color:#ff4d4f;font-style:normal}.field>small{font-size:12px;line-height:1.5;color:#8b96aa}.field>input,.field>select,.field>textarea{width:100%}.span-2{grid-column:span 2}.span-all{grid-column:1/-1}.project-name-input{font-size:17px;letter-spacing:.1px}.service-options{display:flex;gap:7px;flex-wrap:wrap}.service-options label{display:flex;align-items:center;gap:5px;border:1px solid #e8ecf2;border-radius:7px;padding:9px 8px;color:#68738a;font-size:12px;white-space:nowrap}.service-options label.selected{background:#eef6ff;color:var(--blue);border-color:#e2efff}.service-options input{width:13px;height:13px}.fit-select{width:110px!important}.duplicate-notice{display:flex;align-items:flex-start;gap:8px;background:#fff7e7;border-radius:7px;color:#aa6810;padding:10px 12px;font-size:12px;margin-top:-9px}.duplicate-notice>svg{flex-shrink:0;color:#f49a00}.duplicate-notice>div{flex:1;min-width:0}.duplicate-item{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.duplicate-item button{display:flex;align-items:center;gap:5px;border:0;color:#1689ff;background:none;white-space:nowrap;font-size:12px}.segment-control{display:flex;border:1px solid #e7ecf4;border-radius:7px;font-size:12px;white-space:nowrap}.segment-control button{background:#fff;border:1px solid transparent;border-radius:6px;padding:6px 9px;color:#68758d}.segment-control button.active{border-color:#8dc0ff;color:var(--blue);background:#f3f9ff}.contract-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 25px}.inline-control{display:flex;align-items:center;gap:8px;min-width:0}.inline-control>input{width:100%;min-width:0}.inline-control .button-text{flex-shrink:0;font-size:12px}.amount-input{display:flex;position:relative;flex:1;min-width:0}.amount-input>input{width:100%;padding-right:30px!important;font-variant-numeric:tabular-nums}.amount-input>span{position:absolute;right:11px;top:10px;font-size:12px;color:#9ca8ba;pointer-events:none}.amount-input input::-webkit-inner-spin-button{appearance:none}.other-fee{gap:6px}.other-fee>small{font-size:11px;white-space:nowrap;color:#7b869c}.other-fee .switch{width:34px;height:20px}.other-fee .switch>span{height:16px;width:16px}.other-fee .switch.on>span{transform:translate(14px)}.radio-group{display:flex;align-items:center;gap:10px;min-height:38px;flex-wrap:wrap}.radio-group label{display:flex;align-items:center;gap:5px;color:#718099;font-size:12px;white-space:nowrap}.radio-group label:has(input:checked){color:var(--blue)}.radio-group input{width:13px;height:13px}.switch{position:relative;width:40px;height:23px;border-radius:30px;background:#dbe0e8;border:0;padding:2px;flex-shrink:0}.switch>span{display:block;width:19px;height:19px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #354d7026;transition:transform .18s}.switch.on{background:var(--blue)}.switch.on>span{transform:translate(17px)}.form-hint{color:#8993a4;font-size:12px;line-height:1.8}.form-hint.spacious{padding:8px 0 12px}.number-suggestion{display:flex;align-items:center;gap:9px;min-width:0;background:#f2f8ff;border-radius:7px;padding-right:7px}.number-suggestion input{flex:1;width:100px;font-weight:600;background:transparent;border-color:transparent}.number-suggestion input:not([readonly]){background:#fff;border-color:#99c4ff}.number-suggestion .muted{white-space:nowrap;font-size:12px}.number-suggestion .button{min-height:29px;font-size:12px;border:1px solid #95bfff;padding:0 10px;background:#fff}.four-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.report-amounts{margin-top:16px}.reviewer-input{display:flex;align-items:center;gap:8px;padding:15px 0 1px;flex-wrap:wrap;font-size:13px}.reviewer-input .badge{border-radius:20px;padding:4px 10px}.reviewer-input .badge button{display:flex;border:0;background:none;color:var(--blue);padding:0}.reviewer-input .inline-control input{width:100px;height:30px}.reviewer-input .inline-control .button{height:30px;min-height:30px}.dashed-button{border:1px dashed #8fbdff;color:var(--blue);min-height:30px;font-size:12px;border-radius:7px;padding:0 12px}.create-aside .panel{padding:26px 25px}.create-aside h2{display:flex;align-items:center;gap:10px;font-size:18px}.create-aside h2 svg{color:var(--blue)}.summary-status{display:flex;gap:14px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line);font-size:17px}.summary-status .status i{width:13px;height:13px}.summary-amount{padding:24px 0}.summary-amount p{color:#6c7990;font-size:16px;margin-bottom:11px}.summary-amount strong{font-size:30px;font-weight:650;font-variant-numeric:tabular-nums}.steps{display:flex;justify-content:space-between;padding:5px 0 10px;position:relative}.steps:before{content:"";position:absolute;height:2px;background:#e8edf3;left:20px;right:20px;top:15px}.steps>div{position:relative;display:flex;align-items:center;flex-direction:column;gap:12px;color:#6c7890;font-size:14px}.steps i{display:block;width:23px;height:23px;background:#fff;border:5px solid #e0e5ed;border-radius:50%;z-index:1}.steps .current i{background:var(--blue);border-color:#9fd0ff;box-shadow:0 0 0 2px #edf7ff}.steps .current{color:#1a2540}.numbering-panel{flex:1;min-height:310px}.numbering-panel>p{font-size:14px;color:#6a7890;line-height:1.9;margin-top:20px}.numbering-panel>p+p{margin-top:8px}.numbering-panel strong{color:var(--blue);font-weight:600;line-height:2;white-space:normal}.numbering-notes{margin-top:26px;padding-top:16px;border-top:1px solid var(--line);color:#8390a5;font-size:12px;line-height:2.2;margin-bottom:15px}.draft-notice{display:flex;align-items:center;gap:16px;padding:12px 15px;border:1px solid #dfeaff;border-radius:8px;background:#f0f6ff;color:#4d6c98;margin-bottom:15px;font-size:13px}.contract-summary{padding:23px 20px 25px;margin-bottom:18px}.contract-title{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.contract-title h1{font-size:21px;letter-spacing:-.4px;line-height:1.5}.contract-meta{display:flex;align-items:center;gap:15px;color:#68758c;font-size:14px;padding:15px 0 20px;border-bottom:1px solid var(--line);flex-wrap:wrap;row-gap:8px}.contract-meta i{height:12px;width:1px;background:#dde4ef}.financial-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:25px;padding-top:22px}.financial-summary>div{display:flex;flex-direction:column;gap:9px;min-width:0}.financial-summary>div>span{color:#6f7d95;font-size:14px}.financial-summary strong{font-weight:650;font-size:25px;letter-spacing:-.5px;color:#151a23;white-space:nowrap;font-variant-numeric:tabular-nums}.financial-summary strong small{font-size:16px;margin-left:2px;font-weight:500}.financial-summary .progress{margin-top:2px;max-width:180px}.financial-summary .progress>span{max-width:145px;background:#e3f4ec;height:6px}.financial-summary .progress i{background:#1cc578}.financial-summary>div>small{margin-top:-3px}.detail-workspace{padding:0 16px 16px}.detail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0 15px}.tabs{display:flex;align-items:center;gap:35px}.tabs button{display:flex;align-items:center;gap:8px;border:0;border-bottom:2px solid transparent;padding:11px 0 13px;background:none;font-size:17px;font-weight:550;white-space:nowrap}.tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.tabs b{font-size:12px}.detail-actions{display:flex;gap:16px}.detail-table{border:0;border-radius:9px}.detail-table th{font-size:12px;background:#f3f5f8;padding:14px 10px}.detail-table td{padding:14px 10px;font-size:12px;height:55px}.reports-table table{min-width:1160px}.finance-table table{min-width:1070px}.report-project{min-width:130px}.report-number{font-size:11px;color:var(--blue);background:#eaf4ff;border-radius:4px;padding:3px 5px;white-space:nowrap}.service-tag{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.service-tag i{width:8px;height:8px;background:#3697ff}.service-blue{color:#278dfc}.service-orange{color:#8b95a8}.service-orange i{background:#ff9b00}.service-green{color:#17b76e}.service-green i{background:#20c97c}.date-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.wrap-cell{white-space:normal;line-height:1.6;min-width:110px}.table-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f3f6fa;padding:19px 12px;font-size:13px;white-space:nowrap;min-width:1050px}.table-summary b,.table-summary strong{font-weight:600}.table-summary b{font-variant-numeric:tabular-nums}.finance-summary{min-width:1070px}.finance-summary small{margin-left:7px;font-size:11px}.finance-table .buyer-col{min-width:170px;max-width:230px}.finance-table td:nth-child(3){max-width:210px}.finance-table td{height:69px}.invoice-number{display:block;color:#53617a;font-size:12px;letter-spacing:-.15px;background:none;border:0;padding:5px 0 0;text-align:left}.invoice-number:hover{color:var(--blue)}.amount-link{border:0;background:none;font:inherit;padding:0;font-variant-numeric:tabular-nums}.amount-link:hover{color:var(--blue)}.void-row{color:#a2aaba;background:#fafbfc}.void-row .report-number{text-decoration:line-through;background:#f0f2f6;color:#9da6b6}.contract-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;padding:5px 8px 15px}.contract-info>div{display:flex;flex-direction:column;gap:10px;padding:18px 0;border-bottom:1px solid #f0f3f7;min-width:0}.contract-info span{color:#8792a5;font-size:12px}.contract-info strong{font-weight:450;font-size:14px;line-height:1.6}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;color:#a3adbc;gap:16px;padding:40px 20px}.empty-state p{font-size:14px;color:#8692a6}.empty-state .button{margin-top:2px}.spin{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{display:flex;align-items:flex-start;gap:8px;background:#fff2f1;border:1px solid #ffdbd7;color:#c64d47;border-radius:8px;padding:11px 13px;line-height:1.6;font-size:13px;margin:0 0 15px}.error-banner svg{flex-shrink:0;margin-top:2px}.toast{position:fixed;left:calc(50% + var(--sidebar)/2);top:24px;transform:translate(-50%);display:flex;align-items:center;gap:8px;border:1px solid #e8edf4;border-radius:10px;background:#fff;color:#30465f;box-shadow:0 6px 30px #23334b21;padding:13px 19px;z-index:200;max-width:650px;font-size:13px;line-height:1.6}.toast svg{color:#21bb76;flex-shrink:0}.modal-backdrop{position:fixed;inset:0;background:#24324f59;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;display:flex;align-items:center;justify-content:center;padding:28px}.modal{width:580px;max-width:100%;max-height:calc(100dvh - 56px);display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 20px 70px #1d2d4c33;outline:none}.modal-wide{width:900px}.modal-heading{padding:21px 24px 19px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-heading h2{font-size:18px}.icon-button{background:none;border:0;display:grid;place-items:center;padding:3px;color:#8b98ab}.modal-content{padding:22px 24px;overflow:auto}.modal-content>.form-grid+.form-grid{margin-top:20px}.modal-content>.reviewer-input{padding:18px 0}.modal-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:12px}.dialog-intro{color:#7b879a;font-size:13px;line-height:1.9;margin-bottom:20px}.dialog-summary{display:flex;flex-direction:column;gap:12px;padding:15px;background:#f3f8ff;border-radius:9px;margin-bottom:22px;font-size:13px;color:#677893}.dialog-summary strong{color:#1d6fda;font-size:17px}.selected-projects{background:#f5f8fc;border-radius:8px;padding:5px 14px;margin-bottom:20px;max-height:160px;overflow:auto}.selected-projects>div{padding:10px 0;border-bottom:1px solid #e7edf5;font-size:13px}.selected-projects>div:last-child{border:0}.edit-basic{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.contract-picker{margin-top:15px;max-height:320px;overflow:auto;display:flex;flex-direction:column;gap:8px}.contract-picker label{border:1px solid var(--line);border-radius:8px;padding:13px;display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px}.contract-picker label.selected{border-color:#8cbdff;background:#f2f8ff}.contract-picker small{display:block;color:#95a0b1;font-size:11px;margin-top:6px}.timeline article{position:relative;padding:0 0 27px 25px;border-left:1px solid #e5edf6;margin-left:5px}.timeline article:last-child{border-color:transparent;padding-bottom:5px}.timeline article>i{position:absolute;left:-5px;top:5px;width:9px;height:9px;border-radius:50%;background:#8abaff;box-shadow:0 0 0 4px #f3f8ff}.timeline header{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px}.timeline header span,.timeline article>small{font-size:11px;color:#96a1b3}.timeline p{font-size:13px;line-height:1.8;color:#718099;margin:9px 0}.invoice-detail>strong{display:inline-block;margin:0 20px 12px 0}.invoice-detail>p{color:#748197;font-size:13px}.key-values{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.key-values>div{display:flex;flex-direction:column;gap:9px}.key-values span{color:#8995a6;font-size:12px}.key-values b{font-size:14px;font-weight:550}.mini-table th,.mini-table td{font-size:12px;white-space:normal;line-height:1.6}.modal .form-hint{margin-top:12px}@media(min-width:1600px){:root{--sidebar:220px;font-size:15px}.main{padding-left:28px;padding-right:28px}.list-page{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}.page-header{min-height:92px}.nav-item{min-height:60px}.status-filters{gap:36px}.status-filters button{font-size:16px}.filter-extra{font-size:13px}.list-table th,.list-table td{font-size:14px;height:57px}.contract-number{min-width:215px}.list-table .project-col{min-width:300px}.contract-title h1{font-size:23px}.financial-summary strong{font-size:27px}.detail-table td{font-size:14px}.detail-table th{font-size:13px}.detail-table .report-number{font-size:12px}.service-tag,.detail-table .actions-cell{font-size:13px}.finance-table td{height:75px}.financial-summary{padding-top:25px}.contract-summary{padding-bottom:27px}.create-layout{gap:16px}.field-label{font-size:14px}.radio-group label,.service-options label{font-size:13px}.panel{padding:20px}.contract-fields{gap:17px 29px}.create-aside .panel{padding:28px}.table-summary{font-size:14px}.list-totals{font-size:13px}.list-totals b{font-size:14px}}@media(max-width:1350px){:root{--sidebar:192px}.sidebar{padding-left:10px;padding-right:10px}.brand{padding-left:9px;gap:7px}.brand strong{font-size:20px}.nav-item{gap:11px;padding-left:14px;padding-right:12px;font-size:14px}.page-header{gap:13px}.header-actions{gap:8px}.button{padding:0 13px}.search-box{max-width:350px}.status-filters{gap:17px}.status-filters button{font-size:12px}.filter-extra{gap:5px}.filter-extra>select{max-width:82px}.financial-summary{gap:17px}.financial-summary strong{font-size:21px}.contract-title h1{font-size:19px}.contract-meta{font-size:12px;gap:10px}.create-layout{grid-template-columns:minmax(0,2fr) minmax(250px,1fr)}.create-aside .panel{padding:22px 19px}.section-heading>h2{font-size:16px}.section-heading>h2 small{font-size:11px}.contract-fields{gap:16px 14px}.segment-control{font-size:10px}.segment-control button{padding:6px}.form-grid{gap:17px}.radio-group{gap:6px}.radio-group label{font-size:11px}.summary-amount strong{font-size:27px}.tabs{gap:28px}.tabs button{font-size:15px}.list-totals{gap:8px;font-size:11px}.list-totals b{font-size:12px}.list-totals>span+span:before{margin-right:7px}}@media(max-width:1100px){.page-header{flex-wrap:wrap;padding:17px 0;gap:13px}.list-page .page-heading{flex-basis:100%}.list-page .header-actions{margin-left:auto}.list-page .search-box{max-width:520px}.filter-bar{flex-wrap:wrap;gap:0;padding:12px 0}.status-filters{width:100%;gap:24px}.filter-extra{margin-left:auto}.create-layout{grid-template-columns:1fr}.create-aside{display:grid;grid-template-columns:1fr 1fr}.numbering-panel{min-height:0}.financial-summary{grid-template-columns:repeat(3,1fr);gap:22px}.financial-summary strong{font-size:23px}.detail-toolbar{gap:12px;flex-wrap:wrap}.list-footer{align-items:flex-start}.list-totals{gap:9px;line-height:1.7}.contract-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-info{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){:root{--sidebar:64px}.sidebar{padding:18px 6px 15px}.brand{padding:4px 5px 30px}.brand svg{width:34px}.brand strong,.nav-item span,.nav-item b,.sidebar-user div{display:none}.nav-item{padding:15px;justify-content:center;min-height:52px}.nav-divider{margin:12px 7px}.sidebar-user{padding:18px 9px 0}.sidebar-user:before{left:4px;right:4px}.avatar{width:28px;height:28px;flex-shrink:0}.main{padding:0 13px 20px}.list-page{margin:0 -13px -20px;padding:0 13px 20px}.page-heading{flex-wrap:wrap;gap:12px}.search-box{min-width:100%;order:3;margin:0}.page-header{min-height:72px}.header-actions{gap:7px;flex-wrap:wrap}.button{min-height:36px;font-size:12px;padding:0 11px;border-radius:8px}.list-page .header-actions{width:100%;justify-content:flex-end}.status-filters{gap:18px}.list-footer{flex-wrap:wrap}.pagination{margin-left:auto}.selection-bar{max-width:calc(100vw - 84px);gap:8px;padding:8px 10px;font-size:11px;bottom:20px;flex-wrap:wrap;justify-content:center}.selection-bar .button{font-size:11px;min-height:31px}.contract-title h1{font-size:18px;flex-basis:100%}.contract-meta{gap:8px}.financial-summary{gap:18px 10px}.financial-summary strong{font-size:17px}.financial-summary>div>span{font-size:12px}.financial-summary .progress{min-width:0}.financial-summary .progress>span{min-width:20px}.contract-summary{padding:17px 14px}.detail-workspace{padding:0 10px 12px}.tabs{gap:19px}.tabs button{font-size:13px}.detail-actions{gap:8px}.detail-toolbar{padding-bottom:12px}.create-aside,.form-grid,.contract-fields{grid-template-columns:1fr}.span-2{grid-column:1}.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{flex-wrap:wrap;justify-content:flex-start;gap:9px}.section-heading>.switch{margin-left:auto}.section-heading h2{font-size:16px}.segment-control{margin-left:auto}.panel{padding:15px}.number-suggestion .muted{display:none}.number-suggestion input{font-size:12px}.back-heading{font-size:14px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-content{padding:18px}.modal-heading,.modal-footer{padding:17px 18px}.modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal .form-grid .span-2{grid-column:span 2}.modal .contract-fields{grid-template-columns:1fr}.key-values{grid-template-columns:repeat(2,1fr)}.toast{max-width:calc(100vw - 90px);width:max-content;font-size:12px}.contract-info{grid-template-columns:1fr}.duplicate-item{align-items:flex-start;flex-direction:column}.list-totals b{margin-left:3px}.modal .radio-group{gap:16px}.modal .field{min-width:0}.modal .four-columns{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.create-main,.form-stack{display:flex;flex-direction:column;gap:18px;min-width:0}.spaced{margin-top:20px}.section-title{font-size:17px;font-weight:600;line-height:1.5;margin:0 0 20px;padding-left:12px;position:relative}.section-title:before{content:"";position:absolute;left:0;top:4px;width:4px;height:19px;border-radius:3px;background:var(--blue)}.heading-description{color:#61718b;font-size:14px}.notice{margin-top:18px;padding:13px 15px;border-radius:8px;background:#edf5ff;color:#53709a;font-size:13px;line-height:1.8}.result-preview{background:#f3f8ff;border:1px solid #e0ecfa;border-radius:9px;padding:22px;display:flex;flex-direction:column;gap:14px;align-self:start}.result-preview h3{font-size:16px;margin-bottom:6px}.result-preview span{font-size:12px;color:#73859f}.result-preview strong{font-size:23px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.result-preview p{font-size:12px;line-height:1.9;color:#7a8ba3;margin-top:12px}.dialog-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:24px}.dialog-columns>section,.dialog-columns>div{min-width:0}.page-footer-actions{display:flex;justify-content:flex-end;gap:12px;padding:20px 0 0;margin-top:20px;border-top:1px solid var(--line)}.page-footer-actions.compact{padding:0;margin:0 0 18px;border:0}.ledger-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 2px;font-size:12px;color:#7b8ba2}.ledger-pagination>div{display:flex;align-items:center;gap:15px}.ledger-pagination .button{min-height:30px;padding:0 9px}.ledger-totals{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:17px 12px;background:#f3f7fc;font-size:13px;color:#687b97;border-radius:0 0 8px 8px}.ledger-totals b{font-variant-numeric:tabular-nums;color:#172d4c;margin-left:10px}.ledger-table table{min-width:1250px}.ledger-table .project-col{min-width:200px;max-width:300px}.ledger-table .project-col strong{font-weight:500;display:block;white-space:normal;line-height:1.7}.ledger-table .project-col button{white-space:normal;text-align:left;font-size:12px;line-height:1.7}.ledger-table th{padding:14px 11px;font-size:12px}.ledger-table td{padding:17px 11px;font-size:12px;vertical-align:middle}.ledger-page .filter-extra{flex-wrap:wrap}.ledger-page .filter-extra select{max-width:160px}.ledger-page .page-heading{flex-wrap:wrap;gap:12px}.ledger-page .year-select{max-width:120px}.ledger-page .search-box{margin-left:0;min-width:210px}.ledger-page .filter-bar{flex-wrap:wrap;gap:12px}.ledger-page .status-filters{gap:24px}.ledger-page .status-filters button{font-size:14px}.ledger-page .header-actions{flex-wrap:wrap}.project-picker{margin-top:12px;border:1px solid #e3ebf6;border-radius:9px;padding:12px}.project-picker .search-box{margin:0;width:100%;max-width:none;min-width:0}.project-options{display:flex;flex-direction:column;max-height:310px;overflow:auto;margin-top:10px}.project-options>button{display:flex;align-items:center;gap:14px;justify-content:space-between;width:100%;text-align:left;border:0;border-bottom:1px solid #eef2f8;background:#fff;padding:13px 8px;font-size:12px}.project-options>button:hover{background:#f2f7ff}.project-options>button>span:first-child{flex:1;min-width:0}.project-options strong{font-size:13px;font-weight:500;line-height:1.6}.project-options small,.chosen-contract small{display:block;color:#8594aa;line-height:1.7;margin-top:4px}.project-picker .empty-state{min-height:120px;padding:20px}.project-picker .ledger-pagination{padding:12px 2px 0}.chosen-contract{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d9e9fd;background:#f4f9ff;padding:16px;border-radius:8px;font-size:13px}.chosen-contract>div{min-width:0}.chosen-contract>span{color:#7d8da4;font-size:12px}.allocation-table .amount-input{min-width:130px}.allocation-table strong{font-weight:500}.allocation-actions{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0}.two-columns{grid-template-columns:repeat(2,1fr)}.export-page>.panel,.settings-page>.panel{margin-bottom:18px}.export-page .four-columns{grid-template-columns:1fr 2fr 1.2fr 1.2fr}.date-range{display:flex;align-items:center;gap:10px;min-width:0}.date-range input{min-width:0;flex:1;width:100%}.date-range span{font-size:12px;color:#7d8ba2}.report-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.report-choices>label{display:flex;gap:12px;align-items:flex-start;padding:20px;border:1px solid #dfe7f3;border-radius:9px;cursor:pointer}.report-choices>label.selected{border-color:#bcd6fb;background:#fbfdff}.report-choices input{margin-top:3px;width:17px;height:17px;flex-shrink:0}.report-choices strong{font-size:16px;font-weight:550}.report-choices p{font-size:13px;line-height:1.8;color:#73849d;margin-top:9px}.report-choices small{display:block;margin-top:8px;color:#8394ac}.preview-table table{min-width:850px}.preview-table th{background:#edf5ff;padding:13px;font-size:13px;border:1px solid #dce7f4}.preview-table td{padding:14px;font-size:13px;border:1px solid #e5ebf4;white-space:normal}.settings-tabs{padding:0 22px!important;margin-bottom:18px}.settings-tabs .tabs{min-height:61px;gap:40px}.settings-tabs .tabs button{font-size:17px}.number-preview{display:flex;flex-direction:column;gap:15px;padding:22px 0 4px}.number-preview span{font-size:13px;color:#71839c}.number-preview strong{font-size:25px;color:var(--blue);line-height:1.6;overflow-wrap:anywhere}.number-preview b{font-size:21px;line-height:1.6;overflow-wrap:anywhere}.dictionary-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:18px;align-items:start}.dictionary-layout>.panel{min-width:0;overflow:auto}.dictionary-layout .mini-table{min-width:390px}.dictionary-layout .mini-table .button{padding:0 5px;font-size:12px}.accounts-table .badge{margin-left:8px}.settings-page fieldset{border:0;padding:0;margin:0;min-width:0}.settings-page fieldset:disabled{opacity:.78}.change-filters{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding-bottom:25px}.change-filters .search-box{margin:0;flex:1;min-width:220px}.change-filters select{min-width:130px}.change-filters .date-range{max-width:350px}.changes-timeline{padding:15px 12px;max-width:1100px}.changes-timeline article{padding:0 0 35px 32px}.changes-timeline header{font-size:16px}.changes-timeline p{font-size:14px;line-height:1.9}.changes-timeline header span,.changes-timeline article>small{font-size:12px}.info-sections{padding:14px 6px}.info-sections section+section{border-top:1px solid #e9eef7;margin-top:18px;padding-top:22px}.info-sections .section-title{margin-bottom:15px;font-size:16px}.info-pairs{display:grid;grid-template-columns:1fr 1fr;gap:14px 50px}.info-pairs>div{display:grid;grid-template-columns:130px minmax(0,1fr);font-size:14px;gap:15px;line-height:1.8}.info-pairs dt{color:#6c7e9b}.info-pairs dd{margin:0;overflow-wrap:anywhere}.info-updated{border-top:1px solid #e9eef7;margin-top:24px;padding-top:15px;color:#7b8da8;font-size:12px}.sidebar-account{margin-top:auto}.sidebar-account .sidebar-user{margin-top:0}.account-actions{display:flex;gap:14px;margin-top:15px;justify-content:center}.account-actions button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#8391a8;font-size:11px;padding:4px 0}.account-actions button:hover{color:var(--blue)}.startup{max-width:600px;margin:15vh auto;text-align:center}.login-page{min-height:100dvh;background:radial-gradient(ellipse at 15% 35%,#edf6ff 0,transparent 45%),radial-gradient(ellipse at 85% 70%,#eef7ff 0,transparent 45%),#f9fbfe;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:100px 24px 60px;position:relative}.login-brand{position:absolute;left:40px;top:28px;display:flex;align-items:center;gap:10px;font-size:22px}.login-card{width:440px;max-width:100%;background:#fff;border:1px solid #e5ecf6;border-radius:16px;box-shadow:0 12px 45px #2b5f9610;padding:36px 42px 32px}.login-mark{display:flex;justify-content:center;margin-bottom:20px}.login-mark svg{width:56px;height:56px}.login-card h1{font-size:25px;text-align:center;margin:0 0 12px}.login-card>p{font-size:13px;text-align:center;color:#8191a8;line-height:1.8;margin-bottom:28px}.login-card form{display:flex;flex-direction:column;gap:19px}.login-input{position:relative;display:flex;align-items:center}.login-input svg{position:absolute;left:13px;color:#8b9ab0}.login-input input{width:100%;padding-left:42px!important;height:43px}.login-card .field>input{height:43px}.login-card .button{height:43px;width:100%;font-size:15px}.login-card form>small{font-size:12px;color:#8b99ae;line-height:1.7;text-align:center}.remember{display:flex;align-items:center;gap:8px;font-size:12px;color:#71819a}.remember input{width:14px;height:14px}.login-page footer{margin-top:34px;color:#99a5b7;font-size:12px}.login-page .error-banner{margin:0}@media(min-width:1600px){.ledger-table td,.ledger-table th{font-size:13px}.dictionary-layout{grid-template-columns:1fr 1.4fr}.create-layout .panel{padding:24px}.ledger-page .page-heading{gap:15px}}@media(max-width:1250px){.dictionary-layout{grid-template-columns:1fr}.report-choices{gap:12px}.report-choices>label{padding:16px}.report-choices strong{font-size:14px}.export-page .four-columns{grid-template-columns:1fr 1fr}.info-pairs{gap:14px 25px}.info-pairs>div{grid-template-columns:100px minmax(0,1fr)}.ledger-page .page-header{flex-wrap:wrap}.ledger-page .header-actions{margin-left:auto}.dialog-columns{grid-template-columns:minmax(0,1.5fr) minmax(200px,1fr)}}@media(max-width:760px){.dialog-columns{grid-template-columns:1fr}.result-preview{padding:16px}.report-choices,.export-page .four-columns{grid-template-columns:1fr}.heading-description{display:none}.ledger-page .year-select{max-width:110px}.ledger-page .search-box{min-width:100%}.settings-tabs{padding:0 12px!important}.settings-tabs .tabs{gap:22px}.settings-tabs .tabs button{font-size:14px}.info-pairs{grid-template-columns:1fr}.info-pairs>div{grid-template-columns:95px minmax(0,1fr);font-size:13px}.login-brand{left:24px;top:22px;font-size:19px}.login-card{padding:28px 24px}.login-page{padding:95px 18px 30px}.account-actions{flex-direction:column;align-items:center;gap:8px}.account-actions span{display:none}.account-actions button{padding:5px}.chosen-contract{flex-wrap:wrap}.project-options>button{flex-wrap:wrap}.project-options>button>span:first-child{flex-basis:100%}.ledger-pagination{gap:8px}.ledger-pagination>div{gap:8px}.change-filters .date-range{width:100%;max-width:none}.change-filters .search-box{min-width:100%}.number-preview strong{font-size:20px}.number-preview b{font-size:18px}.settings-page>.panel{overflow:auto}.accounts-table{min-width:650px}.modal .dialog-columns .form-grid{grid-template-columns:1fr}.modal .dialog-columns .span-all{grid-column:1}.ledger-page .status-filters{gap:18px;overflow:auto}.ledger-page .status-filters button{font-size:12px}.ledger-totals{gap:12px}.settings-page .create-aside{display:flex;flex-direction:column}.preview-table td,.preview-table th{font-size:12px}.changes-timeline{padding:10px 3px}}.main,.main>*,.page-heading,.filter-bar,.status-filters{min-width:0}.page-heading h1{flex-shrink:0}.header-actions{max-width:100%}.table-region{position:relative;min-width:0}.table-scroll-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 3px 9px;color:#6c7d95;font-size:12px}.table-scroll-tools>div{display:flex;gap:6px}.table-scroll-tools .button{min-height:28px;padding:0 8px;border-radius:6px}.table-region>.table-container{max-height:max(280px,min(660px,calc(100dvh - 310px)));overscroll-behavior:contain;scrollbar-color:#becbde #f3f6fb}.table-region table{border-collapse:separate;border-spacing:0}.table-region th{position:sticky;top:0;z-index:2;box-shadow:0 1px #e7edf5}.table-region th.actions-cell,.table-region td.actions-cell{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-1px 0 #e7edf5,-7px 0 9px -8px #536b91;padding-left:14px}.table-region th.actions-cell{z-index:3;background:#f5f6f8}.table-region tr:hover td.actions-cell{background:#fafcff}.table-region tr.row-selected td.actions-cell{background:#eef5ff}.table-region tr.void-row td.actions-cell{background:#fafbfc}.table-region .actions-cell button{min-height:30px}.table-region .ledger-table td{font-size:13px;padding-top:14px;padding-bottom:14px}.table-region .ledger-table td{white-space:nowrap}.table-region .ledger-table td.wrap-cell,.table-region .ledger-table td.project-col{white-space:normal}.table-region .ledger-table th:first-child,.table-region .ledger-table td:first-child,.table-region .reports-table th:first-child,.table-region .reports-table td:first-child,.table-region .finance-table th:first-child,.table-region .finance-table td:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:1px 0 #e7edf5}.table-region .ledger-table th:first-child,.table-region .reports-table th:first-child,.table-region .finance-table th:first-child{z-index:3;background:#f5f6f8}.table-region tr:hover td:first-child{background:#fafcff}.contract-list-table table{min-width:950px}.contract-list-table td,.contract-list-table th{padding-left:10px;padding-right:10px}.contract-list-table .contract-number{min-width:166px}.contract-list-table .project-col{min-width:185px}.contract-list-table .progress-col{min-width:112px}.contract-list-table .contract-number .badge{display:table;margin:4px 0 0}.table-region .ledger-table th{font-size:12px}.ledger-table .date-cell{min-width:130px}.ledger-table .wrap-cell{min-width:175px;max-width:230px}.ledger-table .project-col{min-width:220px}.ledger-table .invoice-number{white-space:nowrap;font-variant-numeric:tabular-nums}.table-region.is-updating .table-container{opacity:.65;pointer-events:none}.table-updating{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 14px;border-radius:8px;background:#fff;box-shadow:0 2px 16px #23334b20;color:#46607f;font-size:13px;z-index:4}.list-footer{padding-top:20px;min-height:76px}.sticky-header{position:sticky;top:0;z-index:15;background:#f7f9fcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e8edf5;margin-bottom:18px}.editor-page .create-layout{align-items:start}.editor-page .create-aside{position:sticky;top:106px}.editor-page .error-banner{scroll-margin-top:110px}.editor-page input,.editor-page select,.editor-page textarea{scroll-margin-top:125px;scroll-margin-bottom:40px}.editor-page .contract-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-page .section-heading{flex-wrap:wrap}.editor-page .section-heading h2{white-space:normal}.editor-table{overflow-x:auto}.editor-table>table{min-width:540px}.editor-page .allocation-table th:first-child,.editor-page .allocation-table td:first-child{width:40%}.editor-page .allocation-table th:nth-child(2),.editor-page .allocation-table td:nth-child(2){width:16%}.editor-page .allocation-table th:nth-child(3),.editor-page .allocation-table td:nth-child(3){width:34%}.editor-page .allocation-table th:last-child,.editor-page .allocation-table td:last-child{width:10%}.allocation-empty{padding:12px 0}.allocation-table td[colspan]{width:auto!important}.preview-table thead{position:sticky;top:0;z-index:2}.preview-table th{position:static}.dictionary-layout .mini-table{min-width:0}.dictionary-layout .mini-table th,.dictionary-layout .mini-table td{padding-left:9px;padding-right:9px}.dictionary-layout .mini-table td:last-child,.accounts-table td:last-child{white-space:nowrap}.dictionary-layout .section-heading{flex-wrap:wrap}.accounts-table td:last-child .button{padding:0 8px}.settings-page .page-footer-actions.compact{position:sticky;top:0;z-index:15;background:#f7f9fcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:12px 0}.modal-content .dialog-summary>.badge{align-self:flex-start}.modal-content .mini-table{min-width:480px}.dialog-table{max-width:100%;overflow-x:auto}.dialog-table table{width:100%}.finance-ledger .table-region>.table-container{max-height:max(280px,min(640px,calc(100dvh - 370px)))}.modal-heading,.modal-footer{flex-shrink:0}.modal-content{overscroll-behavior:contain}.modal-content .form-grid{align-items:start}.error-banner{scroll-margin-top:110px}.field small,.form-hint,.project-options small,.chosen-contract small{color:#6e7e96}.radio-group label{font-size:12px}.icon-button{min-width:30px;min-height:30px}.date-range input{min-height:38px}.login-input input{padding-right:43px!important}.login-input .password-toggle{position:absolute;right:6px;background:transparent;border:0;width:32px;height:32px;display:grid;place-items:center;color:#71839c}.login-input .password-toggle svg{position:static}.form-save-hint{font-size:12px;line-height:1.8;color:#657892;margin-top:15px}.changes-page>.panel+.panel{margin-top:18px}@media(max-width:1350px){.ledger-page .page-heading,.ledger-page .page-header{flex-wrap:nowrap}.ledger-page .search-box{min-width:160px}.info-pairs{gap:18px 24px}}@media(max-width:1100px){.ledger-page .page-heading{flex-basis:100%;flex-wrap:wrap}.ledger-page .page-header{flex-wrap:wrap;padding:18px 0;gap:12px}.ledger-page .search-box{max-width:none}.ledger-page .header-actions{margin-left:auto}.editor-page .create-aside{position:static}.editor-page .create-aside .panel{height:100%}.sticky-header{min-height:76px}.dictionary-layout{grid-template-columns:1fr}.dictionary-layout .mini-table{width:100%}}@media(max-width:760px){.sticky-header{gap:10px;padding:12px 0}.sticky-header .page-heading{flex-basis:100%}.sticky-header .header-actions{width:100%;justify-content:flex-end}.editor-page .contract-fields{grid-template-columns:1fr}.table-scroll-tools{font-size:11px}.table-region .actions-cell{min-width:102px;padding:6px 8px}.table-region .actions-cell button{display:block;margin:0;width:100%;text-align:center;font-size:12px;min-height:29px}.table-region .actions-cell button+button{margin-left:0}.table-region .ledger-table th:first-child,.table-region .ledger-table td:first-child,.table-region .reports-table th:first-child,.table-region .reports-table td:first-child,.table-region .finance-table th:first-child,.table-region .finance-table td:first-child{position:static}.table-region>.table-container{max-height:60dvh}.ledger-page .table-region>.table-container{max-height:60dvh}.financial-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-toolbar .tabs{max-width:100%;overflow-x:auto}.modal .form-grid{grid-template-columns:1fr}.modal .form-grid .span-2,.modal .form-grid .span-all{grid-column:1}.modal .four-columns,.modal .key-values{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-page .page-footer-actions.compact{padding:10px 0}.ledger-pagination{flex-wrap:wrap}.ledger-pagination>div{margin-left:auto}.sidebar{padding-top:18px;padding-bottom:12px;overflow-y:auto}.sidebar-account{padding-top:18px}.settings-tabs .tabs{gap:16px}.settings-tabs .tabs button{font-size:13px}.changes-timeline header{align-items:flex-start;flex-direction:column}}:root{--accent: #4255c5;--accent-dark: #303f9e;--accent-soft: #eef1ff;--accent-line: #cbd3f6;--accent-heading: #293975;--table-head: #edf0fc;--page-tint: #f7f8fe;--blue: var(--accent);--green: #15805b;--orange: #a85d12;--red: #bd3d50;--muted: #596a82;--line: #e3e8f1;color:#29364c;background:#f6f8fc}[data-section=contracts]{--accent: #4255c5;--accent-dark: #303f9e;--accent-soft: #eef1ff;--accent-line: #cbd3f6;--accent-heading: #293975;--table-head: #edf0fc;--page-tint: #f7f8fe}[data-section=reports]{--accent: #7842b6;--accent-dark: #613095;--accent-soft: #f4edfc;--accent-line: #dfcef1;--accent-heading: #60398a;--table-head: #f2ebfa;--page-tint: #faf7fd}[data-section=finance],[data-section=invoices]{--accent: #087d77;--accent-dark: #08645e;--accent-soft: #e8f6f3;--accent-line: #bbdfd8;--accent-heading: #12645f;--table-head: #e8f3f0;--page-tint: #f5faf9}[data-section=exports]{--accent: #28794c;--accent-dark: #1f613d;--accent-soft: #edf6ec;--accent-line: #c8dfc5;--accent-heading: #315f38;--table-head: #edf3e9;--page-tint: #f7faf5}[data-section=settings]{--accent: #a45430;--accent-dark: #854024;--accent-soft: #fcf0e8;--accent-line: #eccfbb;--accent-heading: #824729;--table-head: #f9eee5;--page-tint: #fcf9f5}.app-shell{--blue: var(--accent);background:var(--page-tint)}.tone-contract,.tone-submit{--tone-color: #3c51b5;--tone-soft: #eef1ff;--tone-line: #d2d9f7}.tone-report,.tone-audit{--tone-color: #7542a9;--tone-soft: #f5eefc;--tone-line: #e3d2f2}.tone-invoice{--tone-color: #086f82;--tone-soft: #eaf5f9;--tone-line: #c6e2ec}.tone-paid,.tone-decrease{--tone-color: #167653;--tone-soft: #eaf7ef;--tone-line: #c5e6d3}.tone-due,.tone-increase{--tone-color: #a45a15;--tone-soft: #fff4e6;--tone-line: #f0d8b4}.tone-other{--tone-color: #a1416a;--tone-soft: #fcedf3;--tone-line: #efd0dc}.tone-danger{--tone-color: #b7354b;--tone-soft: #fff0f2;--tone-line: #efc8cf}.tone-neutral{--tone-color: #5d6c83;--tone-soft: #f1f4f8;--tone-line: #dce3ed}.money{color:var(--tone-color, var(--accent-heading));font-weight:650;font-variant-numeric:tabular-nums}.red-text{color:#b7354b!important}.green-text{color:#167653!important}.orange-text{color:#a45a15!important}.sidebar{background:linear-gradient(180deg,#fff 0% 65%,#f4f6fd);border-right-color:#e1e6f1}.brand strong{color:#26365c;font-weight:750;letter-spacing:.5px}.nav-item{position:relative;color:#4b5870;font-weight:550;border:1px solid transparent}.nav-item svg{color:var(--accent);stroke-width:2}.nav-item:hover:not(.active){background:var(--accent-soft);color:var(--accent-dark)}.nav-item.active{color:var(--accent-dark);background:linear-gradient(110deg,var(--accent-soft),#fff);border-color:var(--accent-line);box-shadow:0 3px 10px #23376707}.nav-item.active:before{content:"";position:absolute;left:-1px;top:15px;bottom:15px;width:4px;border-radius:0 4px 4px 0;background:var(--accent)}.nav-item.active svg{color:var(--accent)}.nav-item b{background:var(--accent-soft);color:var(--accent-dark);font-weight:650}.nav-item b.red-count{background:#fff0f2;color:#b7354b}.avatar{background:#e9eefc;color:#4e65a7}.sidebar-user strong{color:#354569;font-weight:650}.sidebar-user small,.account-actions button{color:#66748c}.page-header{border-bottom:1px solid var(--accent-line)}.page-heading h1{color:var(--accent-heading);font-weight:750;letter-spacing:-.3px;position:relative;padding-left:14px}.page-heading h1:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;border-radius:5px;background:var(--accent)}.back-heading{color:var(--accent-heading);font-weight:600}.back-heading svg{color:var(--accent)}.back-heading:hover{color:var(--accent)}.heading-description{color:#586b7e}.list-page{background:linear-gradient(180deg,var(--page-tint) 0,#fff 230px)}.list-page .page-header{border-bottom-color:var(--accent-line)}.sticky-header,.settings-page .page-footer-actions.compact{background:var(--page-tint);border-bottom-color:var(--accent-line)}.button{color:#465775;border-color:#d7dfeb;font-weight:600;box-shadow:0 1px 2px #243d6310}.button:hover:not(:disabled){color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-line)}.button-primary{color:#fff;border-color:var(--accent);background:linear-gradient(120deg,var(--accent),var(--accent-dark));box-shadow:0 3px 8px color-mix(in srgb,var(--accent) 19%,transparent)}.button-primary:hover:not(:disabled){color:#fff;background:var(--accent-dark);border-color:var(--accent-dark);box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 24%,transparent)}.button-danger{color:#fff;background:#b7354b;border-color:#b7354b}.button-danger:hover:not(:disabled){color:#fff;background:#972a3c;border-color:#972a3c}.button-text{color:var(--accent);box-shadow:none;border:0;background:transparent}.text-link{color:var(--accent);font-weight:550;text-underline-offset:3px}.actions-cell .text-link{border-radius:5px;padding:3px 4px}.actions-cell button+button{margin-left:4px}.actions-cell .text-link:hover{background:var(--accent-soft);text-decoration:none}.text-link.action-secondary{color:#7542a9}.text-link.action-success{color:#167653}.text-link.action-danger,.button-text.action-danger{color:#b7354b}.text-link.action-danger:hover,.button-text.action-danger:hover{color:#9c2a3d;background:#fff0f2}.text-link.action-success:hover{background:#eaf7ef}.text-link.action-secondary:hover{background:#f5eefc}.year-select{color:var(--accent-dark);background:var(--accent-soft);border:1px solid var(--accent-line)}.search-box{color:var(--accent);background:#fff;border:1px solid #dce3ee;box-shadow:0 2px 5px #25395d04}.search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-box input::placeholder,input::placeholder,textarea::placeholder{color:#5d6c83}.status-filters,.ledger-page .status-filters{gap:8px;padding:3px 0}.status-filters button{height:36px;border:1px solid transparent;border-radius:8px;padding:0 8px;color:#58667d}.status-filters button:hover{color:var(--accent-dark);background:var(--accent-soft)}.status-filters button.selected{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-line)}.status-filters b{font-weight:650;background:#e9edf3;color:#56657a;border-radius:5px;min-width:17px;text-align:center}.status-filters .selected b{color:#fff;background:var(--accent)}.status-filters [data-filter=unpaid] b,.status-filters [data-filter=unsigned] b,.status-filters [data-filter=unclaimed] b,.status-filters [data-filter=partial] b{color:#9a5413;background:#fff0d9}.status-filters [data-filter=paid] b,.status-filters [data-filter=normal] b,.status-filters [data-filter=settled] b{color:#167653;background:#e0f1e7}.status-filters [data-filter=red] b{color:#b7354b;background:#fbe2e8}.filter-extra select{border:1px solid #e0e5ee;background:#fff;color:#53647c;border-radius:7px}.tabs button{color:#5f6c82;border-bottom-width:3px}.tabs button:hover{color:var(--accent)}.tabs button.active{color:var(--accent-dark);border-bottom-color:var(--accent);font-weight:700}.tabs .active b{background:var(--accent-soft);color:var(--accent-dark);font-weight:650}.pagination button.current{color:#fff;background:var(--accent);border-color:var(--accent)}.pagination button:hover:not(:disabled):not(.current){color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}.table-container{border-color:#dde4ef;box-shadow:0 4px 15px #243b6405}th,.detail-table th,.preview-table th{color:var(--accent-heading);background:var(--table-head);font-weight:700}.table-region th,.table-region th.actions-cell,.table-region .ledger-table th:first-child,.table-region .reports-table th:first-child,.table-region .finance-table th:first-child{background:var(--table-head);color:var(--accent-heading);box-shadow:0 1px 0 var(--accent-line)}td{color:#35445c;border-bottom-color:#e9edf4;line-height:1.6}.table-region tbody tr{--row-bg: #fff;background:var(--row-bg)}.table-region tbody tr:nth-child(2n){--row-bg: #f8fafe}.table-region tbody tr:hover,.table-region tbody tr.row-selected{--row-bg: var(--accent-soft)}.table-region tbody tr.void-row{--row-bg: #f3f5f8}.table-region tbody td,.table-region tbody tr td:first-child,.table-region tbody tr td.actions-cell{background:var(--row-bg)}.table-region .ledger-table tbody td:first-child,.table-region .reports-table tbody td:first-child,.table-region .finance-table tbody td:first-child,.table-region tbody tr:is(:hover,.row-selected,.void-row) td:first-child,.table-region tbody tr:is(:hover,.row-selected,.void-row) td.actions-cell{background:var(--row-bg)}.table-region td.actions-cell{box-shadow:-1px 0 #e2e7f0,-5px 0 9px -8px #536b91}.table-region th.actions-cell{box-shadow:-1px 0 0 var(--accent-line),0 1px 0 var(--accent-line)}.table-region .ledger-table td:first-child,.table-region .reports-table td:first-child,.table-region .finance-table td:first-child{box-shadow:1px 0 #e2e7f0}.table-scroll-tools,.ledger-pagination{color:#596a82}.project-link,.ledger-table .project-col strong{color:#30446c;font-weight:650;line-height:1.7}.project-link:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.contract-number>span:first-child{color:#56658a;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.date-cell{color:#5a6d85;font-size:12px}.report-number{display:inline-block;color:#7542a9;background:#f3ebfb;border:1px solid #e3d2f2;border-radius:5px;padding:3px 6px;font-size:12px;font-weight:600}.invoice-number{color:#086f82;font-weight:600;letter-spacing:.1px}.invoice-number:hover{color:#075463;text-decoration:underline;text-underline-offset:3px}.document-count{display:inline-block;color:#7542a9;background:#f3ebfb;border-radius:5px;padding:1px 6px;font-size:12px;font-weight:650}.amount-link{color:inherit;font-weight:inherit;text-underline-offset:3px}.amount-link:hover{text-decoration:underline}.void-row td,.void-row .money{color:#69758a}.void-row .report-number{color:#69758a;background:#e9edf3;border-color:#dce3ed}.status{color:#58677f;background:#edf1f7;border:1px solid #dce3ee;border-radius:6px;padding:3px 6px;gap:5px;font-size:12px;font-weight:600;line-height:1.5}.status i{width:6px;height:6px;background:currentColor}.status-unsign,.status-unpaid{color:#9a5413;background:#fff3df;border-color:#eed4ab}.status-sent{color:#2e62ad;background:#eaf2fe;border-color:#cbdcf5}.status-signed,.status-normal,.status-settled{color:#167653;background:#e9f6ee;border-color:#c5e5d2}.status-void,.status-merged{color:#5b687f;background:#eff2f6;border-color:#dce3ed}.status-red_full,.status-red_partial,.status-red_offset{color:#b7354b;background:#fff0f2;border-color:#efc8cf}.status i{background:currentColor}.badge{font-weight:600;border:1px solid transparent;border-radius:6px}.badge-blue{color:#3159ab;background:#edf3ff;border-color:#d7e2f8}.badge-purple{color:#7542a9;background:#f5eefc;border-color:#e3d2f2}.badge-green{color:#167653;background:#eaf7ef;border-color:#c5e6d3}.badge-gray{color:#5d6c83;background:#f1f4f8;border-color:#dce3ed}.badge-red{color:#b7354b;background:#fff0f2;border-color:#efc8cf}.badge-orange{color:#9a5413;background:#fff3df;border-color:#eed4ab}.service-tag{color:#7542a9;background:#f5eefc;border-radius:5px;padding:3px 7px;font-weight:550}.service-tag i{width:5px;height:5px;background:currentColor}.service-tag[data-service=预算编制]{color:#9a5413;background:#fff3df}.service-tag[data-service=预算审核]{color:#167653;background:#eaf7ef}.service-tag[data-service=全过程]{color:#3159ab;background:#edf3ff}.service-tag[data-service=""]{color:#5d6c83;background:#f1f4f8}.progress{color:#516798}.progress>span{height:6px;background:#e1e7f9}.progress i{background:linear-gradient(90deg,#6479de,#4255c5)}.progress small{font-size:12px;font-weight:650}.progress.complete{color:#167653}.progress.complete i,.financial-summary .progress i{background:linear-gradient(90deg,#43ad84,#167653)}.list-totals{gap:7px}.list-totals>span+span:before{content:none}.total-item{padding:7px 10px;border-radius:7px;background:var(--tone-soft);color:#52617a;border:1px solid var(--tone-line)}.total-item b,.ledger-totals .total-item b,.table-summary .total-item b{color:var(--tone-color);font-weight:700}.list-totals small{color:#68758a}.ledger-totals{padding:14px 12px;gap:12px;background:#f8fafc;border:1px solid #e3e9f0;border-top:0}.table-summary{background:#f8fafc;gap:12px}.table-summary>strong{color:var(--accent-heading)}.contract-summary{border-top:3px solid var(--accent)}.contract-title h1{color:#293d67;font-weight:700}.contract-meta{color:#5a6d86}.financial-summary{gap:10px}.financial-summary>.metric{background:var(--tone-soft);border:1px solid var(--tone-line);border-top:3px solid var(--tone-color);padding:13px 10px;border-radius:9px}.financial-summary>.metric>span{color:var(--tone-color);font-size:12px;font-weight:600}.financial-summary .metric strong{color:var(--tone-color);font-size:clamp(17px,1.55vw,25px);font-weight:750;letter-spacing:-.6px}.financial-summary .metric strong small{font-size:13px}.financial-summary .metric .progress{min-width:0}.financial-summary .metric .progress>span{min-width:20px}.financial-summary .metric>small{font-size:11px}.financial-summary .metric .progress small{color:#167653}.summary-amount{background:var(--tone-soft, var(--accent-soft));border:1px solid var(--tone-line, var(--accent-line));border-left:4px solid var(--tone-color, var(--accent));padding:18px 16px;border-radius:10px;margin:20px 0}.summary-amount p{color:var(--tone-color, var(--accent-heading));font-size:13px;font-weight:600}.summary-amount strong{color:var(--tone-color, var(--accent-dark));font-weight:750;font-size:clamp(22px,2.1vw,32px);overflow-wrap:anywhere}.summary-status{padding:20px 0}.summary-status .status{font-size:13px;padding:5px 9px}.summary-status .status i{width:7px;height:7px}.result-preview{background:var(--accent-soft);border-color:var(--accent-line);border-top:3px solid var(--accent)}.result-preview h3{color:var(--accent-heading)}.result-preview strong{color:var(--tone-color, var(--accent-dark));font-weight:750}.result-preview span,.result-preview p{color:#586b80}.key-values>div{padding:12px 10px;border-radius:8px;background:#f3f6fb;border:1px solid #e4eaf3}.key-values>.metric{background:var(--tone-soft);border-color:var(--tone-line)}.key-values .metric b{color:var(--tone-color);font-weight:700}.key-values span{color:#5e7088}.panel{border-color:#e0e6ef;box-shadow:0 4px 18px #2b426507;border-radius:13px}.section-heading{padding-bottom:13px;border-bottom:1px solid var(--accent-line)}.section-heading h2,.section-title,.create-aside h2{color:var(--accent-heading);font-weight:700}.section-title:before{background:var(--accent)}.section-heading>h2 small{color:#61728b;font-weight:400}.field-label{color:#465a7b;font-weight:650}.field-label em{color:#b7354b}input,select,textarea{border-color:#d6dfec;color:#2b3e5c;background:#fcfdff}input:focus,select:focus,textarea:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}input:disabled,select:disabled,textarea:disabled{background:#f1f4f8;color:#647187}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.amount-input>input{font-weight:650;color:var(--tone-color, var(--accent-dark))}.amount-input>span{color:#66768e}.amount-field .field-label{color:var(--tone-color)}.amount-field .amount-input>input{color:var(--tone-color);border-color:var(--tone-line);background:var(--tone-soft)}.amount-field .amount-input>input:focus{border-color:var(--tone-color);background:#fff;box-shadow:0 0 0 3px var(--tone-soft)}.amount-field .amount-input>input:disabled{color:var(--tone-color);background:var(--tone-soft)}.field small,.form-hint,.form-save-hint,.dialog-intro,.numbering-notes,.numbering-panel>p{color:#596a82;line-height:1.85}.other-fee>small,.contract-info span,.contract-picker small,.invoice-detail>p,.date-range span{color:#596a82}.segment-control{padding:2px;gap:2px;background:#f3f5f9;border-color:#e0e5ef}.segment-control button{background:transparent;color:#5d6d85}.segment-control button.active{color:var(--accent-dark);border-color:var(--accent-line);background:#fff;box-shadow:0 1px 4px #253b6110;font-weight:650}.service-options label{color:#586a85;background:#fbfcfe}.service-options label.selected{color:var(--accent-dark);border-color:var(--accent-line);background:var(--accent-soft);font-weight:600}.radio-group label{color:#586a82}.radio-group label:has(input:checked){color:var(--accent-dark);font-weight:600}.number-suggestion{background:var(--accent-soft);border:1px solid var(--accent-line)}.number-suggestion input{color:var(--accent-dark)}.number-suggestion .button{color:var(--accent);border-color:var(--accent-line)}.number-suggestion input:not([readonly]){border-color:var(--accent-line)}.dashed-button{color:var(--accent);border-color:var(--accent-line)}.steps .current{color:var(--accent-dark);font-weight:650}.steps .current i{background:var(--accent);border-color:var(--accent-line);box-shadow:0 0 0 3px var(--accent-soft)}.notice,.draft-notice{color:var(--accent-heading);background:var(--accent-soft);border:1px solid var(--accent-line);border-left:3px solid var(--accent)}.chosen-contract,.dialog-summary{background:var(--accent-soft);border:1px solid var(--accent-line);border-left:3px solid var(--accent)}.chosen-contract strong,.dialog-summary strong{color:var(--accent-heading);font-weight:650}.chosen-contract small,.chosen-contract>span,.project-options small{color:#5f718a}.project-options strong{color:#30446c;font-weight:600}.project-options>button:hover{background:var(--accent-soft)}.dialog-summary{color:#5b6c83}.modal{border:1px solid var(--accent-line)}.modal-heading{color:var(--accent-heading);background:var(--accent-soft);border-bottom-color:var(--accent-line);border-radius:14px 14px 0 0}.modal-heading h2{font-weight:700}.modal-footer{background:#f8fafd;border-radius:0 0 14px 14px}.icon-button{color:#61728c;border-radius:7px}.icon-button:hover{color:var(--accent-dark);background:#fff}.error-banner{color:#a52f43;background:#fff0f2;border-color:#ebc3cd}.toast{color:#20684d;background:#f0faf4;border-color:#c1dfcc}.toast svg{color:#167653}.empty-state{color:var(--accent)}.empty-state p{color:#596a82}.report-choices>label{--blue: var(--accent);background:#fff;border-top:3px solid var(--accent-line)}.report-choices>label:hover{border-color:var(--accent)}.report-choices>label.selected{background:var(--accent-soft);border-color:var(--accent-line);border-top-color:var(--accent)}.report-choices strong{color:var(--accent-heading);font-weight:700}.report-choices p{color:#556a7f}.report-choices small{display:inline-block;color:var(--accent-dark);background:#fff;border-radius:5px;padding:3px 7px;font-weight:600}.number-preview{background:var(--accent-soft);padding:18px 14px;border-radius:9px;border:1px solid var(--accent-line);margin-top:18px}.number-preview span{color:#70634f}.number-preview strong,.number-preview b{color:var(--accent-dark)}.info-pairs dt{color:#61718a}.info-pairs dd{color:#304566;font-weight:550}.info-updated{color:#64758d}.timeline article{border-left-color:var(--accent-line)}.timeline article>i{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.timeline header{color:var(--accent-heading)}.timeline p{color:#526680}.timeline header span,.timeline article>small{color:#64758b}.login-page{background:radial-gradient(ellipse at 15% 20%,#e4efff 0,transparent 55%),radial-gradient(ellipse at 90% 75%,#ede5fa 0,transparent 50%),#f7f9fe}.login-brand{color:#293c64}.login-card{border-color:#dce3f4;border-top:4px solid #4255c5;box-shadow:0 18px 60px #374d8112}.login-card h1{color:#293975;font-weight:750}.login-card>p,.login-card form>small,.remember,.login-page footer{color:#596a82}.login-input svg{color:#6274b1}@media(min-width:1600px){.page-heading h1{font-size:25px}.status-filters button{padding-inline:12px}.financial-summary>.metric{padding:16px 14px}}@media(max-width:1350px){.status-filters,.ledger-page .status-filters{gap:4px}.status-filters button{padding-inline:5px;gap:5px}.total-item{padding:7px}.financial-summary .metric strong{font-size:18px}}@media(min-width:761px)and (max-width:1250px){.financial-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.financial-summary .metric strong{font-size:23px}}@media(max-width:1100px){.financial-summary .metric strong{font-size:23px}}@media(max-width:760px){.page-heading h1{font-size:22px}.nav-item{padding-inline:13px}.nav-item.active:before{top:14px;bottom:14px;width:3px}.status-filters{padding-bottom:6px}.financial-summary .metric strong{font-size:19px}.financial-summary>.metric{padding:12px 9px}.summary-amount{padding:16px 13px}.list-totals{gap:7px}.list-totals>.muted{flex-basis:100%}.list-totals b{margin-left:6px}.section-heading{padding-bottom:10px}.table-region .actions-cell .text-link{padding:2px 4px}}:root{--list-body-size: 14px;--list-primary-size: 15px;--list-meta-size: 13px}.table-region .table-container :is(th,td),.mini-table :is(th,td){font-size:var(--list-body-size);line-height:1.65;padding:14px 12px;vertical-align:middle}.table-region .table-container th,.mini-table th{height:52px;padding-block:12px;font-weight:600}.table-region .table-container td,.mini-table td{height:62px}.table-region .table-container td.numeric,.table-region .table-container .money,.mini-table :is(.numeric,.money){font-size:var(--list-primary-size);font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal;word-break:normal}.table-region .table-container :is(.project-link,.project-col strong,.record-title),.mini-table .record-title,.mini-table td>strong{font-size:var(--list-primary-size);font-weight:600;line-height:1.7;white-space:normal;overflow-wrap:anywhere}.table-region .table-container .project-col button{font-size:var(--list-body-size);line-height:1.7;white-space:normal;overflow-wrap:anywhere;text-align:left}.finance-ledger .table-container .project-col button{font-size:var(--list-primary-size)}.table-region .table-container :is(.report-number,.invoice-number,.date-cell),.table-region .table-container .contract-number>span:first-child{font-size:var(--list-body-size);font-variant-numeric:tabular-nums}.table-region .table-container :is(.report-number,.invoice-number){max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.table-region .table-container .contract-number{white-space:nowrap}.table-region .table-container :is(.badge,.status,.service-tag,.document-count),.mini-table :is(.badge,.status,.service-tag){font-size:var(--list-meta-size);line-height:1.5;padding:3px 7px}.table-region .table-container :is(small,.compact-meta),.mini-table small{font-size:var(--list-meta-size);line-height:1.65}.table-region .table-container small.money{font-size:var(--list-body-size)}.table-container .second-line{margin-top:6px}.table-container .progress{gap:8px;min-width:0}.table-container .progress>span{min-width:36px}.table-region .table-container .progress small{font-size:var(--list-body-size)}.table-region .table-container :is(.check-cell,.center){text-align:center}.table-container input[type=checkbox]{width:18px;height:18px;vertical-align:middle}.table-region td.actions-cell{position:static;min-width:0;box-shadow:none;border-left:1px solid #e2e8f1;white-space:normal}.table-region th.actions-cell{right:auto;min-width:0;border-left:1px solid #e2e8f1;box-shadow:0 1px 0 var(--accent-line)}.table-region .table-container .actions-cell button,.main .mini-table .button,.mini-table .text-link{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:34px;margin:2px;padding:4px 6px;font-size:var(--list-body-size);line-height:1.5;white-space:nowrap;vertical-align:middle}.table-region tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.contract-list-table table{width:100%;min-width:1340px;table-layout:fixed}.contract-list-table th:nth-child(1){width:44px}.contract-list-table th:nth-child(2){width:160px}.contract-list-table th:nth-child(3){width:auto}.contract-list-table th:nth-child(4){width:150px}.contract-list-table th:nth-child(5){width:64px}.contract-list-table th:nth-child(6){width:148px}.contract-list-table th:nth-child(7){width:120px}.contract-list-table th:nth-child(8){width:148px}.contract-list-table th:nth-child(9){width:176px}.contract-list-table :is(th,td),.contract-list-table .contract-number,.contract-list-table .project-col,.contract-list-table .progress-col{min-width:0}.contract-list-table .project-link{max-width:none}.contract-list-table .contract-number .badge{margin-top:6px}.ledger-table table{min-width:1600px}.ledger-table .project-col{min-width:230px}.ledger-table .wrap-cell{min-width:170px}.ledger-table th.actions-cell{min-width:176px}.table-container .date-cell{min-width:146px}.reports-table table{min-width:1510px}.finance-table table{min-width:1400px}.preview-table table{min-width:1100px}.compact-meta{display:none;color:#596a82;font-weight:400}.list-page .filter-bar{flex-wrap:wrap;gap:12px 20px;padding-block:16px}.list-page .status-filters{max-width:100%;flex-wrap:wrap;gap:8px;overflow:visible}.list-page .status-filters button{height:38px;font-size:var(--list-body-size);padding-inline:10px}.list-page .status-filters b{font-size:var(--list-meta-size)}.list-page .filter-extra{flex-wrap:wrap;margin-left:auto;gap:10px;font-size:var(--list-body-size)}.list-page .filter-extra select{height:36px;font-size:var(--list-body-size);max-width:200px}.list-page .filter-extra>select{min-width:110px}.list-page .header-actions .button{font-size:var(--list-body-size)}.list-totals,.ledger-totals,.detail-table .table-summary{font-size:var(--list-body-size);gap:10px;line-height:1.7}.list-totals b,.ledger-totals b,.table-summary b{font-size:var(--list-primary-size)}.list-totals small,.table-summary small{font-size:var(--list-meta-size)}.list-footer{padding-top:20px;min-height:0}.list-totals .total-item{padding:9px 12px}.ledger-pagination{flex-wrap:wrap;font-size:var(--list-body-size);gap:12px}.list-page>.ledger-pagination{justify-content:flex-end}.ledger-pagination>div{flex-wrap:wrap;gap:8px}.ledger-pagination .button{min-height:36px;min-width:36px;font-size:var(--list-body-size)}.ledger-pagination select{margin-right:4px;font-size:var(--list-body-size)}:is(.list-page,.v2-page,.export-page,.settings-page) .form-hint{font-size:var(--list-meta-size)}.list-page{height:100dvh;min-height:0}.list-page>:not(.table-region){flex-shrink:0}.list-page>.table-region{flex:1;min-height:180px;display:flex;flex-direction:column}.list-page>.table-region>.table-container{flex:1;min-height:0;max-height:none}.client-list>button,.project-options>button,.command-results>button{font-size:var(--list-body-size);line-height:1.7;padding:16px;overflow-wrap:anywhere}.client-list strong,.project-options strong,.command-results strong,.chosen-contract strong,.attachment-list strong{font-size:var(--list-primary-size);font-weight:600}.client-list>button>span{color:#596a82}.client-list small,.project-options small,.chosen-contract small,.command-results small,.attachment-list small,.quick-row small{font-size:var(--list-meta-size);line-height:1.65}.client-list>button:hover{background:var(--accent-soft);border-color:var(--accent-line)}.client-list>button.selected{border-left:4px solid var(--accent);padding-left:13px}.quick-row{align-items:flex-start;flex-wrap:wrap;font-size:var(--list-body-size)}.quick-row>.text-link{flex:1 1 220px;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:var(--list-primary-size);line-height:1.7}.quick-row>span{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quick-row>.text-link+span{flex:0 1 auto;margin-left:auto;text-align:right;font-size:var(--list-primary-size)}.attachment-list>div{flex-wrap:wrap}.attachment-list>div>span{min-width:0;flex-basis:200px;overflow-wrap:anywhere}.v2-columns>*,.dictionary-layout>*{min-width:0}.dictionary-layout .mini-table{min-width:580px}.accounts-table{min-width:820px}.main .mini-table td:last-child{white-space:normal}.analytics-table table{min-width:640px}.analytics-table th:not(:first-child),.analytics-table td:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.analytics-table td:not(:first-child){font-size:var(--list-primary-size)}.selected-projects>div,.contract-picker label{font-size:var(--list-body-size)}.contract-picker small,.import-record summary>span,.changes-timeline header span,.changes-timeline article>small,.timeline header span,.timeline article>small{font-size:var(--list-meta-size)}.detail-shortcuts{display:flex;gap:12px;justify-content:flex-end;margin:16px 0;flex-wrap:wrap}.fee-suggestion{display:flex;gap:18px;justify-content:space-between;align-items:center}.weight-settings{margin:18px 0;color:#536c90}.weight-settings summary{cursor:pointer}.detail-table .table-summary{min-width:0;max-width:100%;flex-wrap:wrap;white-space:normal}.detail-table .table-summary>*{min-width:0;white-space:normal}@media(max-width:1750px){.compact-meta{display:block}.ledger-table table{table-layout:fixed;width:100%;min-width:1180px}.ledger-table :is(th,td),.ledger-table .project-col,.ledger-table .wrap-cell{min-width:0;max-width:none}.table-region .ledger-table td{white-space:normal;overflow-wrap:anywhere}.table-region .ledger-table td.numeric{white-space:nowrap;overflow-wrap:normal}.ledger-table th.actions-cell{min-width:0}.reports-ledger .ledger-table :is(th,td):is(:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(10)){display:none}.reports-ledger .ledger-table th:nth-child(1){width:190px}.reports-ledger .ledger-table th:nth-child(2){width:auto}.reports-ledger .ledger-table th:is(:nth-child(6),:nth-child(7),:nth-child(8)){width:140px}.reports-ledger .ledger-table th:nth-child(9){width:112px}.reports-ledger .ledger-table th:nth-child(11){width:164px}.finance-ledger .ledger-table :is(th,td):is(:nth-child(6),:nth-child(9)){display:none}.finance-ledger .ledger-table th:nth-child(1){width:200px}.finance-ledger .ledger-table th:nth-child(2){width:146px}.finance-ledger .ledger-table th:nth-child(3){width:160px}.finance-ledger .ledger-table th:nth-child(4){width:auto}.finance-ledger .ledger-table th:nth-child(5){width:142px}.finance-ledger .ledger-table th:nth-child(7){width:114px}.finance-ledger .ledger-table th:nth-child(8){width:150px}.finance-ledger .ledger-table th:nth-child(10){width:160px}.finance-ledger .ledger-table table{min-width:1300px}.detail-table table{table-layout:fixed;min-width:1260px;width:100%}.detail-table :is(th,td),.detail-table .wrap-cell{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}.reports-table :is(th,td):is(:nth-child(3),:nth-child(4),:nth-child(8)){display:none}.reports-table th:nth-child(1){width:190px}.reports-table th:nth-child(2){width:auto}.reports-table th:is(:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(9)){width:140px}.reports-table th:nth-child(10){width:96px}.reports-table th:nth-child(11){width:160px}.finance-table :is(th,td):is(:nth-child(2),:nth-child(8)){display:none}.finance-table th:nth-child(1){width:200px}.finance-table th:nth-child(3){width:auto}.finance-table th:nth-child(4){width:148px}.finance-table th:nth-child(5){width:128px}.finance-table th:nth-child(6){width:116px}.finance-table th:nth-child(7){width:158px}.finance-table th:nth-child(9){width:176px}.detail-page .page-header{flex-wrap:wrap;gap:14px;padding-block:18px}.detail-page .page-heading{flex:1 1 100%;width:100%;min-width:0;flex-wrap:wrap;row-gap:12px}.detail-page .header-actions{margin-left:auto}}.list-page.ledger-page>.page-header{flex-wrap:nowrap;gap:12px;min-height:78px;padding-block:14px}.list-page.ledger-page .page-heading{flex:1 1 auto;width:auto;min-width:0;flex-wrap:nowrap;gap:10px}.list-page.ledger-page .page-heading h1{margin:0;font-size:24px;white-space:nowrap}.list-page.ledger-page .page-heading .year-select{flex:0 0 92px;width:92px;min-width:92px;max-width:92px}.list-page.ledger-page .search-box{flex:1 1 220px;width:auto;min-width:180px;max-width:none;margin:0}.list-page.ledger-page .search-box input{min-width:0}.list-page.ledger-page .search-box>svg{flex-shrink:0}.list-page.ledger-page .header-actions{flex:0 0 auto;width:auto;flex-wrap:nowrap;gap:8px}.list-page.ledger-page .header-actions .button{min-height:40px;padding-inline:10px;white-space:nowrap}.list-page.ledger-page>.ledger-pagination{padding-block:14px 0}@media(max-width:1279px){.list-page.ledger-page>.page-header{flex-wrap:wrap;gap:10px}.list-page.ledger-page .page-heading{flex-basis:100%}.list-page.ledger-page .header-actions{margin-left:auto;flex-wrap:wrap}}@media(max-width:760px){.list-page.ledger-page .page-heading{flex-wrap:wrap}.list-page.ledger-page .page-heading h1{font-size:22px}.list-page.ledger-page .search-box{flex-basis:100%;min-width:0}.list-page .filter-bar{padding-block:12px}.list-page .filter-extra{margin-left:0}.list-page .status-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.ledger-pagination>div{width:100%;margin-left:0}.table-region th.actions-cell{position:sticky}}.quick-preview-backdrop{position:fixed;inset:0;z-index:70;background:#172b4938;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.quick-preview-drawer{position:absolute;inset:0 0 0 auto;width:min(640px,100%);display:flex;flex-direction:column;background:#f7f8fc;border-left:1px solid #dce3f0;box-shadow:-12px 0 48px #1d315d24;color:#29364c;font-size:14px;outline:none}.quick-preview-header{display:flex;align-items:center;gap:12px;min-height:76px;padding:16px 24px;border-bottom:1px solid #e3e8f1;background:#fff;flex-shrink:0}.quick-preview-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:var(--accent);background:var(--accent-soft)}.quick-preview-header h2{margin:0;font-size:18px;font-weight:650;color:var(--accent-heading)}.quick-preview-close{display:grid;place-items:center;width:36px;height:36px;padding:0;margin-left:auto;border:1px solid #e4e9f1;border-radius:9px;color:#64728a;background:#fff}.quick-preview-close:hover:not(:disabled){color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}.quick-preview-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#c4cde0 transparent;padding:24px}.quick-preview-project{margin-bottom:20px}.quick-preview-project-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:#627089}.quick-preview-project-meta>span:first-child{margin-right:auto;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quick-preview-package{padding:3px 7px;border-radius:6px;background:#eee9f8;color:#7043a3}.quick-preview-project-meta .status{font-size:13px}.quick-preview-project h3{margin:14px 0 16px;font-size:21px;line-height:1.55;font-weight:650;color:#25375b;overflow-wrap:anywhere}.quick-preview-facts{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px 20px;margin:0}.quick-preview-facts>div{display:flex;align-items:baseline;gap:10px;min-width:0;line-height:1.6}.quick-preview-facts dt{color:#66758b;flex-shrink:0;font-size:13px}.quick-preview-facts dd{margin:0;color:#394d69;overflow-wrap:anywhere}.quick-preview-finances{margin-bottom:22px;border:1px solid #dce3f0;border-radius:12px;background:#fff;overflow:hidden}.quick-preview-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:19px 20px}.quick-preview-amounts>div{min-width:0}.quick-preview-amounts>div+div{padding-left:20px;border-left:1px solid #e7ebf3}.quick-preview-amounts dt{margin-bottom:9px;color:#64728a;font-size:13px}.quick-preview-amounts dd{margin:0;color:#354e9a;font-size:22px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.quick-preview-amounts .quick-preview-paid{color:#167653}.quick-preview-balance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:16px 20px;border-top:1px solid #e7ebf3;background:#f8faff}.quick-preview-balance>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}.quick-preview-balance>div:first-child>span{color:#64728a;font-size:13px}.quick-preview-balance strong{font-size:21px;font-weight:650;font-variant-numeric:tabular-nums;color:#354e9a;overflow-wrap:anywhere}.quick-preview-balance.has-balance{background:#fff8ef;border-top-color:#f2e4cd}.quick-preview-balance.has-balance strong{color:#a45a15}.quick-preview-progress{width:146px;margin-left:auto}.quick-preview-progress>span{display:block;color:#64728a;font-size:13px;margin-bottom:6px}.quick-preview-progress .progress{margin:0;gap:8px}.quick-preview-progress .progress>span{max-width:none}.quick-preview-progress .progress small{font-size:13px}.quick-preview-body>.exception-banner{font-size:13px;padding:12px 14px;line-height:1.6}.quick-preview-section+.quick-preview-section{margin-top:24px}.quick-preview-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.quick-preview-section-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:650;color:#304364}.quick-preview-section-heading h3>svg{color:#6879a1;flex-shrink:0}.quick-preview-count{font-size:13px;font-weight:500;color:#64728a}.quick-preview-section-heading .button{font-size:13px;min-height:32px;padding:0 5px;gap:5px}.quick-preview-invoices{display:flex;flex-direction:column;gap:12px}.quick-preview-invoice{border:1px solid #dfe5f0;border-radius:11px;background:#fff}.quick-preview-invoice-link{display:block;width:100%;padding:16px 18px;border:0;border-radius:10px;text-align:left;color:inherit;background:transparent}.quick-preview-invoice-link:hover:not(:disabled),.quick-preview-report-link:hover:not(:disabled){background:#f2f5fd}.quick-preview-invoice-link:focus-visible,.quick-preview-report-link:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;background:#f2f5fd}.quick-preview-invoice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#9b641d}.quick-preview-invoice-status{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.quick-preview-invoice-status :is(.status,.badge){font-size:13px}.quick-preview-invoice-type{font-weight:600;color:#53657f}.quick-preview-invoice-number{display:flex;align-items:baseline;gap:8px;margin-top:10px;min-width:0}.quick-preview-invoice-number>span{color:#66758b;font-size:13px;flex-shrink:0}.quick-preview-invoice-number strong{font-size:14px;font-weight:550;color:#354961;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quick-preview-invoice-number>svg{flex-shrink:0;margin-left:auto;align-self:center;color:#7483a4}.quick-preview-invoice-meta{display:block;margin:7px 0 14px;color:#64728a;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.quick-preview-invoice-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-preview-invoice-totals>span{color:#64728a;font-size:13px}.quick-preview-invoice-totals strong{display:block;margin-top:6px;font-size:17px;font-weight:600;color:#354961;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.quick-preview-invoice-totals>span:last-child strong{color:#167653}.quick-preview-invoice-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px 18px;border-top:1px solid #eef0f4;background:#fffaf2;border-radius:0 0 10px 10px}.quick-preview-invoice-actions>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}.quick-preview-invoice-actions>div>span{color:#64728a;font-size:13px}.quick-preview-invoice-actions strong{color:#a45a15;font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.quick-preview-receive.button{color:#95601d;border-color:#e4c99f;background:#fff8ed;font-size:13px;min-height:36px;padding:0 12px;box-shadow:none}.quick-preview-receive.button:hover:not(:disabled){background:#fff0d8;border-color:#d9b278;color:#805017}.quick-preview-reports{list-style:none;margin:0;padding:0;border:1px solid #dfe5f0;border-radius:11px;background:#fff;overflow:hidden}.quick-preview-reports li{margin:0;padding:0}.quick-preview-reports li+li{border-top:1px solid #edf0f5}.quick-preview-report-link{display:flex;align-items:flex-start;gap:12px;width:100%;padding:16px;border:0;color:inherit;background:transparent;text-align:left}.quick-preview-document{display:grid;place-items:center;flex-shrink:0;width:34px;height:38px;margin-top:2px;border-radius:8px;color:#784aa5;background:#f3eef9}.quick-preview-report-content{min-width:0;flex:1}.quick-preview-record-arrow{flex-shrink:0;align-self:center;color:#7483a4}.quick-preview-reports strong{display:block;color:#304364;font-size:15px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.quick-preview-report-number{display:block;margin-top:4px;color:#716084;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.quick-preview-report-meta{display:block;margin-top:3px;color:#66758b;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.quick-preview-empty{display:flex;align-items:center;justify-content:center;gap:9px;padding:24px 16px;border:1px dashed #d8e0ed;border-radius:11px;color:#64728a;background:#ffffff80;font-size:14px}.quick-preview-empty svg{color:#8093b0}.quick-preview-footer{display:flex;justify-content:flex-end;gap:10px;flex-shrink:0;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #dfe5ef;background:#fff}.quick-preview-footer .button{min-height:40px;font-size:14px}@media(max-width:520px){.quick-preview-header{padding:14px 16px;min-height:68px}.quick-preview-body{padding:20px 16px}.quick-preview-project h3{font-size:19px}.quick-preview-facts{grid-template-columns:1fr;gap:8px}.quick-preview-amounts{padding:16px;gap:12px}.quick-preview-amounts>div+div{padding-left:12px}.quick-preview-amounts dd{font-size:18px}.quick-preview-balance{padding:14px 16px}.quick-preview-balance strong{font-size:19px}.quick-preview-invoice-link{padding:15px}.quick-preview-invoice-heading{align-items:flex-start}.quick-preview-invoice-actions{padding-inline:15px}.quick-preview-section-heading{flex-wrap:wrap}.quick-preview-invoice-actions .button{margin-left:auto}.quick-preview-footer{padding-inline:16px}}
