:root{color-scheme:light;--ink:#182c3d;--muted:#657786;--teal:#0b6664;--teal-dark:#084e4d;--line:#dfe7ec;--bg:#f3f6f9;--white:#fff;--red:#b44442}*{box-sizing:border-box}body{margin:0;font:16px/1.55 Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #39a9a5;outline-offset:3px}h1,h2,p{margin:0}h1{font-size:30px;line-height:1.35;font-weight:650;letter-spacing:.01em}h2{font-size:19px;font-weight:650}svg{flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.topbar{height:78px;padding:0 4%;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:14px;white-space:nowrap}.brand-icon{width:38px;height:38px;display:grid;place-items:center;background:var(--teal);color:#fff;border-radius:10px}.brand-icon svg{width:24px;height:24px}.brand strong{font-size:23px;letter-spacing:3px}.brand-divider{height:22px;width:1px;background:var(--line);margin:0 4px}.brand>.muted{font-size:14px}.identity{display:flex;align-items:center;gap:14px;font-size:14px}.role-tag,.tag{font-size:12px;background:#e9f4f2;color:var(--teal);padding:4px 9px;border-radius:5px;white-space:nowrap}.workspace{max-width:1536px;margin:auto;padding:32px 4% 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:16px}.eyebrow{font-size:13px;color:var(--muted);margin-bottom:8px}.primary,.secondary,.danger{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 17px;border-radius:7px;font-size:14px;font-weight:600;white-space:nowrap;border:1px solid transparent}.primary{background:var(--teal);color:#fff}.primary:hover{background:var(--teal-dark)}.secondary{background:#fff;border-color:#cdd9e0;color:var(--ink)}.secondary:hover{background:#eef5f6}.danger{color:#fff;background:var(--red)}.text-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px;font-size:14px;color:var(--muted);border-radius:5px;white-space:nowrap}.text-button:hover{color:var(--teal);background:#eef5f4}.count{border-radius:4px;background:#edf2f5;font-size:12px;padding:1px 6px}.account-bar{border:1px solid var(--line);border-radius:10px;background:#fff;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:25px}.account-select{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.account-select>label{color:var(--muted);font-size:14px}.account-select select{min-width:210px}.account-hint{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;flex-basis:100%;margin-left:68px}.dates{display:flex;align-items:end;gap:10px}.dates label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:6px}.dates input{width:159px;min-height:41px}.date-separator{padding-bottom:8px;color:#9baab6}input,select,textarea{border:1px solid #cdd9e0;background:#fff;color:var(--ink);border-radius:6px;padding:10px 12px;font-size:14px;min-width:0}select{padding-right:30px}textarea{resize:vertical}.week-bar{display:flex;justify-content:space-between;align-items:center;margin:12px 0 19px;color:var(--muted);font-size:12px;gap:12px}.week-bar>div{display:flex;gap:10px}.rotate{display:inline-flex;transform:rotate(180deg)}.summary-grid{display:grid;grid-template-columns:1.22fr 1fr 1fr 1fr;gap:16px;margin-bottom:26px}.balance-card,.metric{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:23px 24px}.balance-card{background:#123f45;color:#fff;border-color:#123f45;position:relative}.card-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#c4dddf}.card-label span{margin-left:auto;font-size:12px;letter-spacing:1px}.balance-card strong,.metric strong{display:block;font-size:30px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.6px;margin:12px 0 6px;overflow-wrap:anywhere}.balance-card p{font-size:12px;color:#b1ced1}.metric>p{font-size:14px;color:var(--muted)}.metric>span{font-size:12px;color:var(--muted)}.paid{color:var(--teal)}.ledger-panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 25px 22px}.panel-heading p{color:var(--muted);font-size:13px;margin-top:8px}.panel-heading .tag{margin-left:12px}.actions{display:flex;gap:10px}.table-tools{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f4;padding:9px 20px;font-size:12px;color:var(--muted);gap:10px}.table-tools>div{display:flex;gap:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.55}th,td{padding:18px 17px;text-align:left;border-bottom:1px solid #e5ebef;vertical-align:middle}th{font-size:13px;font-weight:600;color:#526975;background:#f5f8fa;white-space:nowrap;border-top:1px solid var(--line);padding-top:13px;padding-bottom:13px}td:first-child{white-space:nowrap;font-size:13px;color:#5a6e7e}td:nth-child(2){min-width:240px;max-width:360px}tbody tr:nth-child(odd):not(.opening-row){background:#fafcfd}tbody tr:hover{background:#f1f7f7!important}.number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.running-balance{font-weight:600}.opening-row{background:#edf3f6;color:#627889;font-size:13px}.entry-type{display:inline-block;padding:2px 7px;background:#edf1f7;color:#5d7294;font-size:12px;border-radius:4px;margin-right:10px;vertical-align:middle;white-space:nowrap}.entry-type.payment{background:#e6f3ee;color:#1c7961}.entry-type.credit{background:#fff3d9;color:#906d1b}.entry-type.opening{background:#e8eef1;color:#52737f}.reason{overflow-wrap:anywhere}.remark{min-width:190px;max-width:340px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}tfoot{font-weight:650;background:#f2f7f7}tfoot td{border-top:1px solid #cddfdf;border-bottom:0}.ledger-footnote{padding:17px 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.void-button{font-size:12px;color:#a75b55}.void-row td{color:#8f9da8}.void-row .number:not(.running-balance),.void-row .reason{text-decoration:line-through}.void-reason{display:block;color:#a05b52;font-size:12px;margin-top:6px}.page-footer{display:flex;justify-content:space-between;gap:15px;color:#83939f;font-size:12px;padding-top:22px}.empty-row{text-align:center!important;padding:45px!important;color:var(--muted)}.empty-state{padding:60px 20px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:10px}.empty-icon{display:inline-grid;place-items:center;background:#e6f2f0;color:var(--teal);width:54px;height:54px;border-radius:14px;margin-bottom:17px}.empty-icon svg{width:27px;height:27px}.empty-state p{margin:9px 0 22px;color:var(--muted);font-size:14px}.inactive{font-size:12px;color:var(--red)}.agent-name{display:block}.agent-name .muted{font-size:13px;margin-left:8px}.auth-layout{display:grid;grid-template-columns:1.08fr 1fr;max-width:1050px;margin:65px auto;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;min-height:590px;box-shadow:0 16px 50px #1a3c4810}.auth-intro{background:#103f45;color:#fff;padding:56px 46px;display:flex;flex-direction:column}.auth-intro .light{color:#92c9c9;letter-spacing:2px;font-size:12px;margin-bottom:36px}.auth-intro h1{font-size:37px;line-height:1.6;letter-spacing:1px}.auth-intro>p:not(.eyebrow){font-size:14px;line-height:2;color:#abc9cc;margin-top:19px}.auth-points{display:grid;gap:16px;margin-top:42px;font-size:14px;color:#d4e7e7}.auth-points span{display:flex;align-items:center;gap:11px}.auth-currency{margin-top:auto;padding-top:40px;color:#91b7ba;font-size:12px}.auth-currency strong{color:#fff;letter-spacing:2px;margin-left:14px}.auth-form-wrap{padding:48px 47px;align-self:center}.auth-symbol{display:grid;place-items:center;width:44px;height:44px;background:#eaf4f1;color:var(--teal);border-radius:10px;margin-bottom:20px}.auth-form-wrap h2{font-size:25px;margin-bottom:8px}.auth-form-wrap>.muted{font-size:14px;margin-bottom:26px}.form-grid{display:grid;gap:17px}.form-grid label{display:grid;gap:7px;font-size:14px;font-weight:550}.form-grid input,.form-grid select,.form-grid textarea{width:100%;font-weight:400;min-height:43px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:var(--red);font-size:14px;white-space:pre-line}.form-error:empty{display:none}.form-hint,.auth-note{font-size:12px;color:var(--muted);line-height:1.8}.auth-note{margin-top:23px}.wide{width:100%}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.optional{font-weight:400;color:var(--muted);font-size:12px}dialog{border:1px solid var(--line);border-radius:13px;padding:26px;width:min(520px,calc(100% - 32px));max-height:90vh;overflow-y:auto;color:var(--ink);background:#fff;box-shadow:0 25px 100px #091f3540}dialog::backdrop{background:#112c4560;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:24px}.dialog-head p{font-size:13px;margin-top:8px}.close-button{background:none;border:0;font-size:26px;color:var(--muted);width:32px;height:32px;display:grid;place-items:center;border-radius:5px}.wide-dialog{width:min(690px,calc(100% - 32px))}.agent-list{display:grid;gap:0;max-height:50vh;overflow-y:auto;margin-bottom:22px}.agent-item{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);gap:14px}.agent-item>div:first-child{display:grid;gap:3px;min-width:0}.agent-item strong{overflow-wrap:anywhere}.agent-item span{font-size:13px}.agent-actions{display:flex;gap:7px;align-items:center}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);max-width:calc(100% - 30px);background:#173f44;color:#fff;padding:13px 23px;border-radius:8px;box-shadow:0 8px 25px #123c4325;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:14px}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading,.error-screen{max-width:700px;margin:100px auto;padding:24px;text-align:center}.error-screen p{margin:20px 0;color:var(--muted)}@media(min-width:1600px){.workspace{padding-left:32px;padding-right:32px}}@media(max-width:1150px){.account-bar{align-items:flex-start}.account-select{max-width:310px}.account-hint{margin-left:0}.summary-grid{grid-template-columns:repeat(2,1fr)}.auth-layout{margin:35px 24px}.auth-intro{padding:45px 32px}.auth-form-wrap{padding:40px 32px}}@media(max-width:760px){.topbar{height:auto;min-height:72px;padding:15px 20px;flex-wrap:wrap;gap:10px}.brand>.muted,.brand-divider{display:none}.identity{gap:8px;flex-wrap:wrap}.identity .text-button{font-size:12px;padding:5px}.workspace{padding:23px 16px 18px}h1{font-size:25px}.page-heading{align-items:flex-start;margin-bottom:20px}.page-heading .secondary{padding:8px 10px}.account-bar{flex-direction:column;padding:18px;gap:20px}.account-select{max-width:none;width:100%}.account-select select{min-width:0;flex:1}.dates{width:100%;flex-wrap:wrap;gap:8px}.dates label{flex:1;min-width:120px}.dates input{width:100%}.date-separator{display:none}.dates .secondary{padding:9px 12px}.summary-grid{gap:11px;margin-bottom:20px}.balance-card,.metric{padding:18px 16px}.balance-card strong,.metric strong{font-size:25px;letter-spacing:-.5px}.balance-card p,.metric>span{font-size:12px}.card-label{font-size:13px;gap:5px}.card-label svg{display:none}.panel-heading{flex-direction:column;align-items:flex-start;padding:20px 16px;gap:17px}.actions{width:100%}.actions button{flex:1;padding:9px 8px}.table-tools{padding:10px 12px;flex-wrap:wrap}.table-tools>div{gap:4px}.table-tools .text-button{font-size:12px}.week-bar{align-items:flex-end}.week-bar>span{max-width:130px}.week-bar>div{gap:0}.week-bar .text-button{font-size:12px;padding:6px}.week-bar svg{width:14px}.ledger-footnote{padding:16px}.page-footer{font-size:12px;flex-wrap:wrap}.auth-layout{display:flex;flex-direction:column;margin:22px 16px;min-height:0}.auth-intro{padding:25px 27px}.auth-intro .light{margin-bottom:10px}.auth-intro h1{font-size:26px;line-height:1.5}.auth-intro h1 br{display:none}.auth-intro>p:not(.eyebrow){margin-top:9px;font-size:13px}.auth-points,.auth-currency{display:none}.auth-form-wrap{padding:30px 26px;width:100%}.agent-item{align-items:flex-start}.agent-actions{flex-direction:column;align-items:flex-end}.form-columns{grid-template-columns:1fr}.dialog-head h2{font-size:20px}.brand strong{font-size:21px}th,td{padding:15px 13px}.entry-type{margin-right:6px}.auth-symbol{display:none}}@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff;font-size:11px}.topbar,.page-heading,.account-bar,.week-bar,.actions,.table-tools,.page-footer,.ledger-footnote,dialog,#toast,.summary-grid,.void-button{display:none!important}.workspace{padding:0;max-width:none}.ledger-panel{border:0;border-radius:0}.panel-heading{padding:0 0 15px}.table-scroll{overflow:visible}table{font-size:10px;table-layout:auto;width:100%}th,td{padding:8px 5px;font-size:10px!important;min-width:0!important;max-width:none!important}.entry-type,.remark,.void-reason{font-size:10px!important}thead{display:table-header-group}tfoot{display:table-row-group}tr{break-inside:avoid}.number{white-space:nowrap}.ledger-panel .panel-heading h2{font-size:17px}.tag{border:1px solid #ccc}}

.header-right{display:flex;align-items:center;gap:24px}.language-control{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.language-control select{font-size:14px;padding:7px 26px 7px 10px;min-height:36px}.language-control>span{white-space:nowrap}html[lang="en"] .auth-intro h1{font-size:34px;line-height:1.45;letter-spacing:-.5px}html[lang="en"] .account-hint{margin-left:0}html[lang="en"] .card-label{font-size:13px}html[lang="en"] .ledger-footnote{line-height:1.8}@media(max-width:1000px){.header-right{gap:12px}.language-control>span{display:none}.identity{gap:8px}}@media(max-width:760px){.header-right{flex-wrap:wrap;justify-content:flex-end}.topbar{align-items:flex-start}.identity{font-size:12px}.identity strong{max-width:130px;overflow-wrap:anywhere}.language-control select{font-size:13px;padding-top:5px;padding-bottom:5px}.header-right:has(.identity){max-width:73%}html[lang="en"] .auth-intro h1{font-size:27px}html[lang="en"] .summary-grid{grid-template-columns:1fr 1fr}html[lang="en"] .metric strong,html[lang="en"] .balance-card strong{font-size:23px}html[lang="en"] .page-heading{flex-wrap:wrap}html[lang="en"] .actions{flex-wrap:wrap}html[lang="en"] .ledger-footnote{font-size:12px}}
.simple-auth{min-height:100svh;display:grid;place-items:center;padding:28px 18px;background:#073b4b}.login-card{width:350px;max-width:100%;background:#fff;border-radius:4px;overflow:hidden;box-shadow:0 8px 30px #00232d24}.login-card-title{background:#3695b4;color:#fff;padding:14px 19px}.login-card-title h1{font-size:19px;font-weight:700;line-height:1.4;letter-spacing:1px}.login-card-title h1 span{font-size:13px;letter-spacing:0;margin-left:6px;font-weight:600}.login-card-body{padding:16px 18px 18px}.login-language{display:flex;justify-content:flex-end;margin-bottom:17px}.login-language .language-control{gap:8px}.login-language .language-control>span{display:block;font-size:12px}.login-language .language-control select{min-height:34px;font-size:13px;padding:5px 24px 5px 8px;border-radius:3px}.login-card .form-grid{gap:16px}.login-card .form-grid label{font-size:14px;gap:6px}.login-card .form-grid input{height:42px;min-height:42px;border-radius:3px;font-size:16px;padding:7px 10px}.login-card .primary{background:#3695b4;border-radius:3px;min-height:43px;font-size:14px}.login-card .primary:hover{background:#2b829f}.login-card .form-error{font-size:13px}.setup-caption{font-size:14px;color:#536c78;margin:0 0 17px}.login-help{font-size:12px;color:#738592;margin:12px 0 0}html[lang="en"] .login-card-title h1{font-size:17px;letter-spacing:0}html[lang="en"] .login-card-title h1 span{font-size:12px}@media(max-width:420px){.login-card{width:330px}.simple-auth{padding:20px 16px}}
/* Compact statement workspace */
.simple-workspace{max-width:1400px;padding-top:24px}.compact-topbar{height:64px}.compact-topbar .brand-icon{width:31px;height:31px;border-radius:4px}.compact-topbar .brand strong{font-size:20px}.compact-topbar .brand-divider,.compact-topbar .brand>.muted{display:none}.compact-topbar .language-control>span{display:none}.simple-filter{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:21px;flex-wrap:wrap}.simple-title{font-size:22px;font-weight:650}.simple-agent{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.simple-agent>label{font-size:14px;color:var(--muted)}.simple-agent select{min-width:190px;max-width:290px}.simple-filter .dates{gap:9px}.simple-filter .dates input{width:151px}.simple-filter .dates label{font-size:13px}.simple-filter .dates .primary{min-height:41px}.simple-ledger{border-radius:4px}.simple-ledger-head{background:#f9fbfc;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;border-top:4px solid #3695b4}.simple-ledger-head h2{font-size:18px}.simple-ledger-head p{font-size:13px;color:var(--muted);margin-top:4px}.simple-balance{text-align:right}.simple-balance>span{display:block;font-size:13px;color:var(--muted);margin-bottom:2px}.simple-balance strong{font-size:25px;font-variant-numeric:tabular-nums;line-height:1.5;font-weight:650}.simple-balance small{font-size:12px;font-weight:500;color:var(--muted)}.simple-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-top:1px solid var(--line)}.simple-toolbar .actions>span{font-size:13px;color:var(--muted)}.simple-toolbar .primary,.simple-toolbar .secondary{min-height:35px;padding:6px 13px;border-radius:4px}.simple-ledger th{background:#3695b4;color:#fff;font-size:14px;font-weight:600}.simple-ledger td,.simple-ledger th{padding:13px 18px}.simple-ledger th:first-child,.simple-ledger td:first-child{width:140px}.simple-ledger td:nth-child(2){min-width:160px;max-width:400px}.simple-ledger .number{font-size:14px}.simple-ledger .opening-row{background:#eef3f5}.simple-ledger tfoot{background:#f5f8f9}.simple-ledger .row-action{width:55px;padding-left:6px;padding-right:6px}.row-kind{display:block;font-size:12px;color:var(--muted);margin-top:3px}.row-note{font-size:13px;color:var(--muted);margin-top:4px}.row-note summary{cursor:pointer;width:fit-content;font-size:12px}.row-note>div{padding-top:6px;overflow-wrap:anywhere;white-space:pre-wrap}.row-menu{font-size:13px;text-align:center}.row-menu>summary{cursor:pointer;font-size:20px;line-height:1.1;list-style:none;padding:3px 8px}.row-menu>summary::-webkit-details-marker{display:none}.row-menu .void-button{padding:3px 6px}.account-menu,.more-tools{position:relative;font-size:14px}.account-menu>summary,.more-tools>summary{cursor:pointer;border-radius:4px;padding:6px 10px;user-select:none}.account-menu>summary{max-width:200px;overflow-wrap:anywhere}.menu-panel{position:absolute;right:0;top:100%;background:#fff;border:1px solid var(--line);border-radius:5px;min-width:145px;padding:5px;z-index:10;box-shadow:0 5px 16px #163b4820;display:grid;gap:2px}.menu-panel .text-button{justify-content:flex-start;font-size:14px;width:100%;padding:8px 10px}.more-tools[open]>summary,.account-menu[open]>summary{background:#edf4f5}.prepayment-note{font-size:12px;color:var(--muted);padding:10px 18px}.simple-ledger .empty-row{padding:35px 18px!important}
@media(max-width:760px){.compact-topbar{min-height:60px;height:auto;padding:12px 16px}.compact-topbar .brand{gap:7px}.compact-topbar .brand strong{font-size:16px;letter-spacing:1px}.compact-topbar .brand-icon{width:27px;height:27px}.compact-topbar .header-right{gap:7px;max-width:70%}.compact-topbar .language-control select{font-size:12px;min-height:32px}.account-menu{font-size:13px}.account-menu>summary{max-width:110px;padding:5px}.simple-workspace{padding:18px 12px}.simple-filter{gap:14px;margin-bottom:16px;align-items:center}.simple-title{font-size:20px}.simple-filter .dates{flex-wrap:wrap;width:100%;gap:8px}.simple-filter .dates input{width:100%}.simple-filter .dates label{min-width:120px;flex:1}.simple-filter .dates>.text-button{padding:6px}.simple-agent{width:100%;gap:8px}.simple-agent select{min-width:140px;max-width:none;flex:1}.simple-agent>.text-button{font-size:13px;padding:5px}.simple-ledger-head{padding:15px 13px;gap:10px}.simple-ledger-head h2{font-size:16px;overflow-wrap:anywhere}.simple-ledger-head p{font-size:12px}.simple-balance strong{font-size:22px}.simple-balance{flex-shrink:0}.simple-balance>span{font-size:12px}.simple-toolbar{padding:8px 11px}.simple-toolbar .actions{width:auto}.simple-ledger td,.simple-ledger th{padding:12px}.simple-ledger td:nth-child(2){min-width:125px}.simple-ledger th:first-child,.simple-ledger td:first-child{width:auto}.simple-ledger .number{font-size:14px}}
@media print{.compact-topbar,.simple-filter,.simple-toolbar,.row-action,.row-menu{display:none!important}.simple-ledger-head{padding:0 0 14px;border:0;background:none}.simple-ledger-head h2{font-size:18px}.simple-balance strong{font-size:21px}.simple-ledger th{color:#000;background:#eef2f3}.row-note>div{display:block!important}.row-note>summary{display:none}.simple-ledger .number{font-size:10px}.simple-ledger th:last-child:empty{display:none}}
.simple-ledger{overflow:visible}

body:has(.reference-workspace){background:#fff}.reference-workspace{max-width:none;padding:14px 12px 25px}.reference-filter{margin-bottom:13px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.reference-filter .dates{gap:10px;align-items:flex-end}.reference-filter .dates input{width:170px;min-height:34px;padding:6px 8px;font-size:13px;border-radius:0}.reference-filter .dates label{font-size:13px;gap:4px}.reference-filter .dates .primary{border-radius:2px;min-height:34px;padding:5px 14px;background:#3594b2}.reference-statement{border:1px solid #d8e0e5;border-top:0}.reference-title{display:flex;align-items:center;justify-content:space-between;background:#3594b2;min-height:34px;padding:6px 9px;font-size:13px;color:#073145;cursor:pointer;list-style:none}.reference-title::-webkit-details-marker{display:none}.reference-title::after{content:'−';color:#b4d5df;font-size:17px;font-weight:700}.statement-body:not([open])>.reference-title::after{content:'+'}.reference-tools{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;padding:6px 5px 10px;min-height:62px}.export-group{display:inline-flex;background:#6f797f;border-radius:2px;overflow:hidden}.export-group a,.export-group button{display:inline-flex;align-items:center;min-height:29px;padding:4px 9px;color:#fff;background:transparent;border:0;font-size:12px;white-space:nowrap;cursor:pointer}.export-group a:hover,.export-group button:hover{background:#505a60}.reference-search{margin-left:auto;align-self:flex-end;display:flex;align-items:center;gap:6px;font-size:12px;color:#173b4e}.reference-search input{width:150px;height:28px;padding:4px 6px;border-radius:0;font-size:13px}.reference-entry-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.reference-entry-actions .primary,.reference-entry-actions .secondary{min-height:29px;padding:4px 10px;font-size:12px;border-radius:2px}.reference-entry-actions .text-button{font-size:12px;padding:4px 8px}.reference-table{table-layout:fixed;font-size:14px;color:#03243a;width:100%}.reference-table .col-date{width:11%}.reference-table .col-details{width:30%}.reference-table .col-credit,.reference-table .col-debit,.reference-table .col-balance{width:11%}.reference-table .col-formula{width:17%}.reference-table .col-remark{width:9%}.reference-table th{color:#fff;background:#3594b2;font-weight:600;font-size:14px;height:36px;text-align:right;padding:7px;border:1px solid #d8e1e8}.reference-table td{padding:12px 8px;min-height:43px;text-align:right;border:1px solid #d8e1e8;vertical-align:middle;font-size:14px;font-weight:400;overflow-wrap:anywhere}.reference-table td:first-child{font-size:13px;color:#03243a;width:auto}.reference-table td:nth-child(2){min-width:0;max-width:none}.reference-table .number{font-size:14px;font-weight:400}.reference-table tbody tr:nth-child(odd){background:#f1f1f1}.reference-table tbody tr:nth-child(even){background:#fff}.reference-table tbody .opening-row{background:#f1f1f1;font-size:13px}.reference-table tbody tr:hover{background:#e8f2f6!important}.reference-table .reference-formula,.reference-table .reference-remark{font-size:13px;white-space:pre-wrap}.negative-amount{color:#ff344a}.reference-table tfoot{background:#fff}.reference-table tfoot td,.reference-table tfoot .number{font-weight:700}.reference-table .void-row td:not(:nth-child(5)){color:#83929c;text-decoration:line-through}.reference-table .void-row .negative-amount{color:#83929c}.inline-row-actions{display:inline-block;margin-left:5px;vertical-align:middle}.inline-row-actions summary{list-style:none;cursor:pointer;color:#7d8b93;font-size:17px;line-height:1}.inline-row-actions summary::-webkit-details-marker{display:none}.inline-row-actions button{font-size:12px;padding:3px 5px}.search-note{font-size:12px;padding:9px;color:#63747d}.reference-table tr[hidden]{display:none!important}.reference-table .row-kind{font-size:12px}
@media(max-width:760px){.reference-workspace{padding:12px 6px}.reference-filter .dates{flex-wrap:wrap;width:100%}.reference-filter .dates label{flex:1;min-width:120px}.reference-filter .dates input{width:100%}.reference-title{font-size:12px}.reference-tools{gap:9px;min-height:75px}.reference-search{width:100%;justify-content:flex-end}.reference-search input{width:150px}.reference-table{min-width:960px}.reference-entry-actions{gap:4px}}
@media print{.reference-filter,.reference-tools,.inline-row-actions,.search-note{display:none!important}.reference-workspace{padding:0}.reference-title{background:#fff;display:flex;font-size:13px;color:#000;padding:0 0 10px}.reference-title::after{display:none}.reference-table{min-width:0;table-layout:fixed}.reference-table th{background:#e4edf1;color:#000}.reference-table td,.reference-table .number,.reference-table th{font-size:9px!important;padding:6px 4px!important}.reference-table tr[hidden]{display:table-row!important}.reference-statement{border:0}}

#settlement-base[hidden],.settlement-preview[hidden]{display:none!important}#settlement-base .form-hint{margin-top:5px}.settlement-preview{color:var(--teal);font-size:14px;background:#eef6f5;padding:9px 12px;border-radius:4px}.form-grid input[readonly]{background:#f1f5f7;color:#34505d}

.home-workspace{max-width:1200px;margin:auto;padding:24px 16px}.home-toolbar,.home-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.home-toolbar h1{font-size:24px;margin:0}.home-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.home-summary{margin-top:20px;padding:20px 24px;background:#083c4b;color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:5px}.home-summary strong{display:block;font-size:30px;margin-top:6px;font-variant-numeric:tabular-nums}.home-summary p{margin:0}.home-help{font-size:13px;color:#647782;margin:12px 0 20px}.home-controls{margin-bottom:12px;justify-content:flex-end}.home-controls label{display:flex;align-items:center;gap:8px}.home-table{width:100%;border-collapse:collapse;background:white}.home-table th{background:#3594b2;color:white;text-align:left;padding:12px}.home-table td{padding:12px;border-bottom:1px solid #d8e1e8}.home-table .number{text-align:right;font-variant-numeric:tabular-nums}.home-table th:nth-child(3){text-align:right}.home-table .home-debt{color:#c72c3d;font-weight:700}.home-table small{display:block;color:#7d8b93}.home-table tr[hidden]{display:none}.home-table tbody tr:nth-child(even){background:#f3f6f7}
@media(max-width:650px){.home-summary{align-items:flex-start;flex-direction:column;padding:16px}.home-summary strong{font-size:27px}.home-table{min-width:570px}.home-controls{align-items:flex-start}.home-toolbar h1{font-size:22px}}

.entry-correction-actions{margin-top:6px}.entry-correction-actions .void-button{color:#b42332;border:1px solid #e7b9bf;background:#fff6f7;min-height:36px;padding:6px 10px}.entry-correction-actions .void-button:hover{background:#ffe8eb;color:#931b28}@media print{.entry-correction-actions{display:none!important}}

.simple-auth{background-color:#81d8d0;background-image:linear-gradient(120deg,#c5f2ed35,#126b7130),url("/login-ocean.png");background-size:cover;background-position:center}.login-card{border-radius:12px;border:1px solid #ffffffb3;box-shadow:0 18px 65px #124a5338;background:#fffffff5}.login-card-title{background:#81d8d0;color:#123c43;padding:18px 20px}.login-card .primary{background:#81d8d0;color:#123c43;border-radius:6px}.login-card .primary:hover{background:#66c8c0}.login-card .form-grid input:focus{border-color:#36a99e;outline-color:#36a99e}.login-card-body{padding:20px}


/* Tiffany Blue across the administrator and agent screens. */
@media screen{
 :root{--bg:#f2faf9;--line:#d4e8e5;--teal:#24766f;--teal-dark:#185c57}
 .compact-topbar{background:#e5f7f4;border-bottom-color:#bce4df}
 .brand-icon,.compact-topbar .brand-icon{background:#81d8d0;color:#123c43}
 .primary,.reference-filter .dates .primary{background:#81d8d0;color:#123c43;border-color:#70c9c1}
 .primary:hover,.reference-filter .dates .primary:hover{background:#66c8c0;color:#123c43}
 .reference-title,.reference-table th,.home-table th,.simple-ledger th{background:#81d8d0;color:#123c43;border-color:#afdeda}
 .home-summary{background:#81d8d0;color:#123c43}
 .home-table tbody tr:nth-child(even){background:#f0faf8}
 .reference-table tfoot{background:#e5f7f4}
 .simple-ledger-head{border-top-color:#81d8d0}
 .secondary:hover,.text-button:hover{background:#e5f7f4;color:#185c57}
 input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline-color:#24766f}
}

.non-debt-amount,.reference-table td.number{color:#111}
.negative-amount,.home-table .home-debt,.home-summary .negative-amount{color:#b42332}
.reference-table .void-row td:not(:nth-child(5)) .negative-amount,.reference-table .void-row td:not(:nth-child(5)) .non-debt-amount{color:#83929c}

.record-search-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.record-search-controls .reference-search{margin:0}.record-search-controls input{width:220px;max-width:100%}.record-search-controls button{min-height:34px;padding:5px 12px}@media(max-width:650px){.record-search-controls{width:100%}.record-search-controls .reference-search{width:100%}.record-search-controls input{flex:1;width:auto}}
