:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#24364c;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.auth{min-height:100vh;display:grid;place-items:center;background:#eaf0f7}.auth form{width:min(420px,90vw);padding:32px;background:white;border-radius:10px;box-shadow:0 12px 36px #19385720}.auth h1{font-size:23px}.auth label{display:block;margin:17px 0;color:#53677d}.auth input{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #c7d2df;border-radius:5px}.auth button,.primary{background:#1976c9;color:white;border:0;border-radius:5px;padding:10px 20px}.error{color:#bb2e2e}header{height:56px;background:#143f6b;color:white;display:flex;align-items:center;padding:0 22px;gap:22px}header span{opacity:.75;font-size:13px}header button{margin-left:auto;background:transparent;color:white;border:1px solid #9ab4cc;padding:5px 13px;border-radius:4px}.layout{display:flex;min-height:calc(100vh - 56px)}aside{width:204px;flex:none;background:#fff;border-right:1px solid #dce5ef;padding:12px 0;overflow:auto}aside .group{padding:18px 20px 7px;color:#8192a6;font-size:12px;font-weight:bold}aside button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 24px;color:#334d68}aside button:hover,aside button.active{background:#e8f2fb;color:#0d68ae}main{min-width:0;flex:1;padding:22px}.title{display:flex;align-items:baseline;gap:18px}.title h2{margin:0 0 18px;font-size:21px}.title span{color:#8292a3;font-size:13px}.card{background:white;border:1px solid #e2e9f1;border-radius:7px;padding:20px;margin-bottom:16px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.toolbar input,.toolbar select{padding:8px;border:1px solid #ced8e3;border-radius:4px}.table-wrap{overflow:auto;background:white;border:1px solid #e2e9f1;border-radius:6px;max-height:calc(100vh - 220px)}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th,td{border-bottom:1px solid #e8edf3;padding:10px 12px;text-align:left}th{position:sticky;top:0;background:#f4f8fc;color:#58718b;z-index:1}tr:hover td{background:#f8fbfe}.pager{display:flex;gap:12px;align-items:center;margin:12px 0}.pager button{padding:6px 13px;border:1px solid #cad7e5;background:white;border-radius:4px}.muted{color:#8091a3}.warning{color:#ad6025}.ok{color:#178459}.stats{display:flex;gap:16px;flex-wrap:wrap}.stat{background:white;border:1px solid #e2e9f1;padding:18px;min-width:170px;border-radius:6px}.stat b{display:block;font-size:23px;margin-top:9px}input[type=file]{max-width:100%}@media(max-width:700px){aside{width:150px}main{padding:12px}header span{display:none}}
[hidden]{display:none!important}
dialog{border:0;border-radius:8px;box-shadow:0 18px 60px #19385740;width:min(700px,94vw);max-height:85vh}dialog::backdrop{background:#162b4680}#editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:55vh;overflow:auto}#editor-fields label{font-size:12px;color:#58718b}#editor-fields input{display:block;width:100%;padding:8px;border:1px solid #ccd8e4;border-radius:4px;margin-top:4px}.table-wrap td button{border:1px solid #cbd8e5;background:white;color:#176cad;border-radius:3px;padding:3px 8px}a{color:#176cad}
@media(min-width:800px){#contract-detail{width:min(1100px,94vw)}} #contract-detail .detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px} #contract-detail .detail-head h2{margin:0 0 16px} #contract-detail .table-wrap{max-height:300px} #contract-detail .stat{min-width:155px;padding:12px} #contract-detail .stat b{font-size:20px}
:root{color:#555;background:#f2f2f2}header{background:#fff;color:#444;border-bottom:1px solid #e5e5e5;height:50px;padding-left:20px}header strong{font-size:15px;color:#333}header span{font-size:12px;color:#888}header button{color:#555;border-color:#ddd}aside{width:220px;background:#20222a;border-right:0;color:#ddd;padding-top:0}aside .group{color:#eee;background:#2b2e38;padding:18px 22px;font-size:15px}aside button{color:#c2c2c2;padding:11px 44px;font-size:14px}aside button:hover,aside button.active{background:#16b5a9;color:white}main{background:#f2f2f2;padding:16px;min-height:calc(100vh - 50px)}.title h2{font-size:18px;font-weight:400}.primary{background:#16b5a9;border-radius:0;padding:9px 18px}.primary:hover{background:#10a59a}.card{border-color:#eee;border-radius:0}.table-wrap{border-color:#eee;border-radius:0}th{background:#fafafa;color:#555;font-weight:400}th,td{border:1px solid #eee;padding:9px 12px}tr:hover td{background:#f7fffe}.pager button{border-radius:0}.legacy-contract-page .title{display:none}.legacy-filter{padding:14px 20px;margin-bottom:10px}.legacy-filter form{display:flex;flex-direction:column;gap:8px}.filter-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-line label{min-width:82px;font-size:14px}.filter-line input[type=radio]{accent-color:#16b5a9}.filter-line select,.filter-line input:not([type=radio]):not([type=checkbox]){height:37px;min-width:125px;padding:7px 10px;border:1px solid #eee;background:#fff;color:#666}.filter-line button{height:37px}.legacy-actions{display:flex;justify-content:center;gap:12px;margin:10px 0}.legacy-actions a{text-decoration:none}.legacy-list{max-height:calc(100vh - 300px)}.legacy-list table{font-size:13px}.legacy-list th,.legacy-list td{white-space:nowrap}.legacy-list tfoot td{position:sticky;bottom:0;background:#fafafa}.outline-action,.row-more summary{display:inline-block;border:1px solid #e2a094;color:#dd796b;background:#fff;padding:3px 6px;font-size:12px;cursor:pointer;list-style:none}.row-more{display:inline-block;position:relative}.row-more div{position:absolute;right:0;top:100%;z-index:5;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002;min-width:110px}.row-more div button{display:block;width:100%;border:0;text-align:left;padding:7px 10px}.legacy-tabs{display:flex;overflow-x:auto;background:#fff;margin-bottom:12px;border-bottom:1px solid #eee}.legacy-tabs button{background:#fff;border:0;flex:none;padding:13px 19px;color:#555}.legacy-tabs button.selected{color:#16b5a9;border-bottom:2px solid #16b5a9}
.filter-line input[type=checkbox]{width:16px;height:16px;min-width:16px;padding:0;flex:none;accent-color:#16b5a9}
.contract-room-filter{position:relative;width:156px;flex:none;color:#666;font-size:14px}.contract-room-filter>details>summary{height:37px;padding:8px 10px;border:1px solid #eee;background:#fff;cursor:pointer;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contract-room-filter>details>summary::-webkit-details-marker{display:none}.contract-room-filter>details>summary:after{content:'⌄';float:right;margin-left:5px}.contract-room-popover{position:absolute;top:36px;left:0;z-index:10;width:310px;padding:8px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002}.contract-room-popover input[type=search]{width:100%;height:32px;min-width:0!important;margin-bottom:6px}.contract-room-options{max-height:260px;overflow:auto}.contract-room-options button{display:block;width:100%;height:auto;min-height:32px;padding:5px 8px;text-align:left;border:0;background:#fff;color:#555;font-size:13px;white-space:nowrap}.contract-room-options button:hover,.contract-room-options button[aria-pressed=true]{background:#f3fbfa;color:#16b5a9}.contract-room-options button[aria-pressed=true]:before{content:'◉ ';color:#16b5a9}
.ledger-filter-picker{position:relative;min-width:125px;color:#666;background:#fff;border:1px solid #eee;font-size:14px}.ledger-filter-picker summary{height:35px;padding:8px 10px;cursor:pointer;list-style:none}.ledger-filter-picker summary::-webkit-details-marker{display:none}.ledger-filter-picker summary:after{content:'⌄';float:right}.ledger-filter-picker>div{position:absolute;top:100%;left:-1px;z-index:8;max-height:230px;overflow:auto;min-width:180px;padding:8px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002}.ledger-filter-picker label{display:flex;align-items:center;gap:7px;min-width:160px;padding:5px;white-space:nowrap}.ledger-filter-picker input[type=checkbox]{min-width:0;width:16px;height:16px;padding:0;border:0}
main.legacy-ledger-page .legacy-filter{padding-top:11px}.ledger-date-field{position:relative;display:inline-block;flex:none;width:100px;height:37px}.legacy-ledger-page #ledger-filter .ledger-date-field input[name]{width:100%;min-width:0;height:37px;padding-right:27px}.legacy-ledger-page #ledger-filter .ledger-native-date{position:absolute;right:0;top:0;width:100px;min-width:0;height:37px;padding:0;border:0;opacity:0;pointer-events:none}.legacy-ledger-page #ledger-filter .ledger-date-open{position:absolute;right:1px;top:1px;width:25px;height:35px;padding:0;border:0;background:#fff;color:#555;font-size:17px;cursor:pointer}
main.legacy-ledger-page{padding-top:10px}.legacy-ledger-page .title{display:none}.legacy-ledger-page .legacy-tabs{margin-bottom:0;scrollbar-width:none}.legacy-ledger-page .legacy-tabs::-webkit-scrollbar{display:none}.legacy-ledger-page .legacy-tabs button{padding-top:11px;padding-bottom:11px}.legacy-ledger-page .legacy-filter{padding:14px 4px 12px;margin:0;border:0;background:transparent}.legacy-ledger-page #ledger-filter{gap:11px}.legacy-ledger-page #ledger-filter .filter-line{gap:9px;min-height:37px}.legacy-ledger-page #ledger-filter .filter-line:first-child{gap:20px}.legacy-ledger-page #ledger-filter input[name=contract],.legacy-ledger-page #ledger-filter input[name=start],.legacy-ledger-page #ledger-filter input[name=end]{width:100px;min-width:100px}.ledger-approval-radios{display:flex;align-items:center;gap:10px}.ledger-approval-radios label{min-width:82px;white-space:nowrap}.ledger-approval-radios input{accent-color:#16b5a9}.ledger-actions{display:flex;align-items:center;gap:0}.legacy-ledger-page .ledger-actions .primary,.legacy-ledger-page .ledger-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:65px;height:37px;padding:7px 12px;border:1px solid #16b5a9;color:#fff;text-decoration:none;font-size:14px}.legacy-ledger-page .ledger-actions #ledger-reset{background:transparent;color:#16b5a9}.legacy-ledger-page .legacy-list{max-height:calc(100vh - 292px)}.legacy-ledger-page .legacy-list table{min-height:calc(100vh - 330px)}.legacy-ledger-page .legacy-list .ledger-spacer{height:100%}.legacy-ledger-page .legacy-list .ledger-spacer td{border:0;background:#fff;padding:0}.legacy-ledger-page .legacy-list[data-ledger-list=down_other_due]{width:min(1300px,100%)}.legacy-ledger-page .legacy-list[data-ledger-list=down_other_received]{width:min(1430px,100%)}.legacy-ledger-page .legacy-list tfoot td{position:sticky;bottom:0;background:#fff;z-index:2}.legacy-ledger-page .legacy-list tfoot td:first-child{font-weight:400}
.contract-multi-filter{position:relative;width:156px;flex:none;color:#666;font-size:14px}.contract-multi-filter>summary{height:37px;padding:8px 10px;border:1px solid #eee;background:#fff;cursor:pointer;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contract-multi-filter>summary::-webkit-details-marker{display:none}.contract-multi-filter>summary:after{content:'⌄';float:right}.contract-multi-popover{position:absolute;top:36px;left:0;z-index:10;min-width:200px;padding:8px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002}.contract-multi-popover input[type=search]{width:100%;height:32px;min-width:0!important}.contract-multi-toolbar{display:flex;justify-content:flex-end;gap:6px;padding:5px 0}.contract-multi-toolbar button{height:27px;padding:3px 9px;border:0;background:#f5f5f5;color:#555}.contract-multi-options{max-height:220px;overflow:auto}.contract-multi-options label{display:flex;align-items:center;gap:7px;min-width:150px;padding:5px;white-space:nowrap;cursor:pointer}.contract-multi-options label[hidden]{display:none}.contract-multi-options input[type=checkbox]{min-width:0;width:16px;height:16px;padding:0;border:0;accent-color:#16b5a9}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,300px));gap:55px 60px;justify-content:center;padding:24px 0}.report-group{background:#fff;min-height:90px;text-align:center}.report-grid>button.report-group{border:1px solid #eee;cursor:pointer;padding:26px 10px;font:inherit;color:#444}.report-grid>button.report-group:hover{color:#16b5a9;background:#f3fbfa}.report-group summary{list-style:none;cursor:pointer;padding:34px 10px}.report-group summary::-webkit-details-marker{display:none}.report-group[open] summary{color:#16b5a9;border-bottom:1px solid #eee}.report-group div{display:flex;flex-direction:column;padding:8px}.report-group button{background:#fff;border:0;padding:10px;color:#444;cursor:pointer}.report-group button:hover{color:#16b5a9;background:#f3fbfa}.report-group.pending{padding:32px 10px;color:#777}.report-group small{display:block;margin-top:7px;color:#999;font-size:11px}.report-heading{display:flex;align-items:center;gap:16px}.report-heading h3{font-weight:400}.report-heading button{border:0;background:none;color:#16b5a9;cursor:pointer}.report-total{background:#fff;padding:12px 18px;text-align:right;border:1px solid #eee}
.report-detail-page>.title{display:none}.report-filter-shell{background:#fff;padding:18px 16px 14px;margin-bottom:7px}.report-filter{border:1px solid #ff7947;margin:0;padding:13px 15px 15px;min-width:0}.report-filter legend{background:#ff6c2f;color:#fff;font-size:16px;padding:2px 10px}.report-filter .toolbar{gap:0;margin:0}.report-period{display:flex;align-items:center;height:38px;border:1px solid #eee;margin-right:10px;background:#fff;color:#555}.report-period span{display:flex;align-items:center;height:100%;padding:0 19px;border-right:1px solid #eee;background:#fafafa}.report-period input{width:110px;height:36px;border:0!important;border-radius:0!important;padding:7px 10px!important;color:#555;background:#fff}.report-filter .primary,.report-filter #report-print{height:38px;min-width:65px;padding:8px 16px;border:1px solid #16b5a9;border-radius:0;background:#16b5a9;color:#fff;text-decoration:none;font-size:14px}.report-filter .primary:hover,.report-filter #report-print:hover{background:#10a59a}.report-data-table{width:min(784px,100%)}.report-data-table .table-wrap{max-height:none;border:0;background:transparent}.report-data-table table{table-layout:fixed;width:100%;color:#666}.report-data-table th,.report-data-table td{height:38px;padding:8px 14px;border:1px solid #eee;background:#fff}.report-data-table th{font-weight:600;position:static}.report-total-table{margin-top:85px;background:#fff}.report-total-table td{height:38px}
main.report-detail-page:not(.deposit-report-page){padding:15px 0 0 15px}main.report-detail-page:not(.deposit-report-page) .report-filter-shell{width:calc(100% - 15px);padding:10px 17px 21px;margin-bottom:0}main.report-detail-page:not(.deposit-report-page) .report-data-table{width:calc(100% - 15px)}main.report-detail-page:not(.deposit-report-page) .report-data-table .table-wrap{height:calc(100vh - 289px);min-height:260px;max-height:none;overflow:auto}main.report-detail-page:not(.deposit-report-page) .report-data-table table{width:min(784px,100%)}main.report-detail-page:not(.deposit-report-page) .report-data-table th{position:sticky;top:0;z-index:1}main.report-detail-page:not(.deposit-report-page) .report-data-table th,main.report-detail-page:not(.deposit-report-page) .report-data-table td{height:38.67px}main.report-detail-page:not(.deposit-report-page) .report-total-table{margin-top:0}main.report-detail-page:not(.deposit-report-page) .report-total-table table{width:min(784px,100%)}
@media print{main.report-detail-page:not(.deposit-report-page) .report-data-table .table-wrap{height:auto!important;min-height:0!important}}
.deposit-report-page .report-data-table{width:min(450px,100%)}.deposit-report-page .report-total-table{margin-top:46px}
.report-period-wrap{position:relative;margin-right:10px}.report-period-wrap .report-period{margin-right:0}.report-period-popover{position:absolute;top:42px;left:0;z-index:20;width:282px;border:1px solid #ddd;background:#fff;box-shadow:0 4px 14px #0002;color:#555}.report-period-popover[hidden]{display:none}.report-period-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #eee}.report-period-head button,.report-period-footer button,.report-period-options button{border:0;background:#fff;color:#555;cursor:pointer}.report-period-head button{font-size:22px;line-height:22px}.report-period-options{display:grid;gap:2px;padding:12px}.report-period-options.years{grid-template-columns:repeat(3,1fr)}.report-period-options.months{grid-template-columns:repeat(4,1fr)}.report-period-options button{min-height:34px}.report-period-options button:hover,.report-period-options button.selected{background:#16b5a9;color:#fff}.report-period-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 10px;border-top:1px solid #eee;font-size:12px}.report-period-footer span{margin-right:auto;color:#999}.report-period-footer button:hover{color:#16b5a9}
.occupancy-page>.title{display:none}.occupancy-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;min-height:56px;padding:10px 20px;margin-bottom:9px;color:#555}.occupancy-filter label{display:inline-flex;align-items:center;gap:5px;margin-right:12px;white-space:nowrap}.occupancy-filter input[type=radio]{accent-color:#16b5a9}.occupancy-filter input:not([type=radio]){width:150px;height:38px;padding:8px 10px;border:1px solid #eee;border-radius:0}.occupancy-filter input[name=days]{width:90px}.occupancy-filter .primary{height:38px;padding:8px 17px}.occupancy-filter a.primary{text-decoration:none;color:#fff;height:38px;padding:9px 17px}.occupancy-summary{background:#fff;border-left:5px solid #16b58d;margin-bottom:10px;min-height:59px;padding:19px 16px;color:#a03fa5}.occupancy-table .table-wrap{width:min(825px,100%);height:530px;max-height:530px;overflow:auto;border:0;background:#fff}.occupancy-table table{width:100%;table-layout:fixed}.occupancy-table th,.occupancy-table td{height:38px;padding:8px 14px;color:#666}.occupancy-table th{background:#fff;font-weight:600}.occupancy-table th:nth-child(1){width:200px}.occupancy-table th:nth-child(2){width:200px}.occupancy-table th:nth-child(3){width:100px}.occupancy-table th:nth-child(4),.occupancy-table th:nth-child(5){width:110px}.occupancy-table th:nth-child(6){width:100px}.occupancy-pager{display:flex;align-items:center;gap:8px;margin:10px 0;color:#666;font-size:13px;flex-wrap:wrap}.occupancy-pager button{border:0;border-radius:0;background:transparent;color:#555;min-width:30px;height:29px;padding:4px 8px}.occupancy-pager button.selected{background:#16b5a9;color:#fff}.occupancy-pager button:disabled{opacity:.35;cursor:default}.occupancy-pager form{display:flex;align-items:center;gap:6px}.occupancy-pager form input{width:38px;height:29px;border:1px solid #eee;text-align:center}.occupancy-pager form button{border:1px solid #eee;background:#fff}.occupancy-pager select{height:29px;border:1px solid #eee;background:#fff;color:#555}
.report-landing-page>.title{display:none}
.report-landing-page .report-grid{grid-auto-rows:90px;row-gap:60px}.report-landing-page details.report-group{position:relative;height:90px;min-height:90px;z-index:1}.report-landing-page details.report-group[open]{z-index:15}.report-landing-page details.report-group summary{height:90px;padding:34px 10px}.report-landing-page details.report-group[open] summary{color:#2522bd;border-bottom:1px solid #2522bd}.report-landing-page details.report-group>div{position:absolute;top:90px;left:0;right:0;padding:0 0 6px;background:#fff;border:1px solid #eee;border-top:0;box-shadow:0 3px 8px #0001}.report-landing-page details.report-group>div button{height:38px;padding:8px}.report-landing-page details.report-group>div button:hover{background:#f6f6f6}
.report-landing-page details.report-group>div{top:100px;padding:0}.report-landing-page details.report-group>div button{height:36px;margin-bottom:0}
.template-list-page>.title{display:none}.template-list-page .legacy-actions{justify-content:flex-start;gap:0;margin:9px 0 20px;padding-left:414px}.template-list-page .legacy-actions button{width:65px;height:38px;padding:0;background:#16baaa;color:#fff;border:0;border-radius:0}.template-list-page .table-wrap table{width:1054px;min-width:1054px;table-layout:fixed}.template-list-page .table-wrap th:nth-child(1){width:201px}.template-list-page .table-wrap th:nth-child(2){width:251px}.template-list-page .table-wrap th:nth-child(3){width:131px}.template-list-page .table-wrap th:nth-child(4){width:121px}.template-list-page .table-wrap th:nth-child(5){width:171px}.template-list-page .table-wrap th:nth-child(6){width:180px}
@media(min-width:1040px){.report-landing-page .report-grid{width:800px;margin:-6px auto 0;padding:30px 0 0 30px;grid-template-columns:repeat(2,300px);justify-content:start}}
.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin:16px 0}.overview-grid .card{min-height:100px}.overview-grid p{margin:0 0 18px;color:#666}.overview-grid strong{font-size:25px;font-weight:500}@media(max-width:760px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.overview-page>.title{display:none}.overview-page .overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.overview-card{position:relative;min-height:150px;background:#fff;padding:18px 16px;color:#555}.overview-card>span{font-size:14px}.overview-card>strong{display:block;text-align:center;font-size:34px;font-weight:400;margin:12px 0 26px;white-space:nowrap}.overview-controls{position:absolute;right:15px;bottom:5px;display:flex;align-items:center;justify-content:flex-end;gap:9px;max-width:calc(100% - 30px)}.overview-controls>button,.overview-signing button{background:#16b5a9;border:0;color:#fff;padding:4px 7px;font-size:12px}.overview-controls>input{width:82px;height:38px;padding:8px;border:1px solid #eee;border-radius:0;font-size:13px;color:#555}.overview-controls>input::placeholder{color:#bbb}.overview-controls>span{font-size:13px}.overview-signing{position:relative;width:135px}.overview-signing summary{height:38px;padding:10px;border:1px solid #eee;color:#999;font-size:13px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-signing>div{position:absolute;top:38px;left:0;width:170px;background:#fff;box-shadow:0 4px 12px #0002;border:1px solid #eee;padding:8px;z-index:20}.overview-signing label{display:block;padding:5px;font-size:13px}.overview-signing input{accent-color:#16b5a9;margin-right:7px}.overview-signing button{margin:5px}.overview-card:has(.overview-signing[open]){z-index:21}@media(max-width:1000px){.overview-page .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.overview-page .overview-grid{grid-template-columns:1fr}.overview-card{min-height:145px}}
.legacy-filter form#sms-filter{display:flex;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}.legacy-filter form#sms-filter label{display:flex;align-items:center;gap:7px}.legacy-filter a.primary{text-decoration:none;color:#fff}#template-editor{width:min(900px,90vw);max-height:85vh}#template-editor form{display:flex;flex-direction:column;gap:12px}#template-editor label{display:flex;flex-direction:column;gap:5px}#template-editor input,#template-editor textarea{border:1px solid #ddd;padding:9px;font:inherit}#template-editor textarea{min-height:260px;resize:vertical}
.contract-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:min(680px,80vw)}
.contract-form-grid label{display:flex;flex-direction:column;gap:5px;font-size:13px}
.contract-form-grid .wide{grid-column:1/-1}
.contract-editor{position:fixed;inset:50px auto 0 50%;transform:translateX(-50%);margin:0;width:min(630px,100%);height:calc(100dvh - 50px);max-width:none;max-height:none;overflow:auto;border-radius:0;padding:16px 20px}
.contract-editor.contract-editor-down{width:min(800px,100%)}
.contract-editor #editor-fields{display:block;max-height:none;overflow:visible}
.contract-editor .contract-form-grid{min-width:0}
.contract-editor .contract-form-grid>label:not(.wide){display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;gap:0;min-height:38px;border:1px solid #eee;padding-left:10px;color:#555}
.contract-editor .contract-form-grid>label:not(.wide)>:is(input,select){margin:0!important;border:0!important;border-left:1px solid #eee!important;border-radius:0;min-width:0}
.contract-editor .contract-form-grid>label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:8px;border:0;padding-left:10px}
.contract-editor .contract-form-grid>label:has(input[type=checkbox]) input{width:auto;min-height:0;margin:0!important}
.contract-editor .contract-form-grid>label.wide{display:block}
.contract-editor .room-picker{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;border:1px solid #eee;min-height:38px}
.contract-editor .room-picker-title{margin:0;padding-left:10px;color:#555}
.contract-editor .room-picker summary{border:0;border-left:1px solid #eee;border-radius:0}
.contract-editor #editor-title{font-size:16px;font-weight:400;margin:0 0 24px}
.contract-editor .toolbar{justify-content:flex-end;margin-top:18px}
.contract-editor #editor-cancel{display:none}
.contract-editor .deposit-date-field{position:relative}
.contract-editor .deposit-date-field .deposit-date-hint{position:absolute;left:125px;top:50%;transform:translateY(-50%);color:#999;pointer-events:none;white-space:nowrap;font-size:12px}
.contract-editor .deposit-date-field:focus-within .deposit-date-hint,.contract-editor .deposit-date-field.has-value .deposit-date-hint{display:none}
.contract-editor .deposit-date-field:not(.has-value):not(:focus-within) input::-webkit-datetime-edit{color:transparent}
.room-picker{position:relative;min-width:0}.room-picker-title{display:block;font-size:13px;color:#58718b;margin-bottom:5px}.room-picker details{position:relative}.room-picker summary{list-style:none;border:1px solid #ccd8e4;background:#fff;min-height:36px;padding:8px 28px 8px 10px;cursor:pointer;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-picker summary::-webkit-details-marker{display:none}.room-picker summary::after{content:'▾';position:absolute;right:10px;color:#999}.room-picker-popover{position:absolute;z-index:20;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;box-shadow:0 8px 20px #0002;padding:8px}.room-picker-tools{display:flex;gap:8px;margin-bottom:8px}.room-picker-tools button{border:0;background:#f5f5f5;color:#555;padding:5px 10px}.room-picker [data-room-search]{width:100%;margin:0 0 8px!important}.room-picker-options{max-height:300px;overflow:auto}.contract-form-grid .room-picker-options label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:6px 4px;font-size:12px;color:#555;cursor:pointer}.room-picker-options label:hover{background:#f4f9f8}.room-picker-options input[type=checkbox]{width:auto!important;margin:0!important;accent-color:#16b5a9}.room-picker-options [hidden]{display:none!important}
.contract-form-grid input,.contract-form-grid select,.contract-form-grid textarea{box-sizing:border-box;width:100%;min-height:36px}
.contract-form-grid input[type=checkbox]{width:auto;min-height:0;align-self:flex-start}
@media(max-width:650px){.contract-form-grid{grid-template-columns:1fr;min-width:0}}
#template-editor{width:min(1000px,96vw);max-height:calc(100vh - 50px);padding:0;border-radius:0;color:#444}#template-editor #template-form{display:flex;flex-direction:column;gap:0;min-height:min(800px,calc(100vh - 60px))}.template-editor-header{height:46px;min-height:46px;background:#fff;color:#333;padding:0 16px;border-bottom:1px solid #eee}.template-editor-header h3{font-size:14px;font-weight:400;margin:0}.template-editor-header button{margin-left:auto;border:0;background:transparent;color:#333;font-size:22px;padding:0 5px}#template-editor #template-form>label{display:grid;grid-template-columns:110px minmax(0,1fr);gap:0;margin:12px 20px 0;align-items:stretch;font-size:14px}#template-editor #template-form>label:nth-of-type(3){flex:1;grid-template-rows:36px minmax(260px,1fr)}#template-editor #template-form>label:nth-of-type(3) textarea{grid-column:1/-1;min-height:0}#template-editor input,#template-editor textarea{margin:0;border:1px solid #eee;border-radius:0;padding:8px 10px;font:inherit}#template-editor #template-form>.toolbar{justify-content:flex-end;margin:8px 20px 16px}#template-editor #template-cancel{display:none}#template-editor #template-error{margin:4px 20px}.template-no-data{text-align:center;color:#999;height:80px}
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:16px 0}.permission-grid label{display:flex;align-items:center;gap:6px}
.sms-page>.title{display:none}.sms-page #sms-filter input[name=period]{min-width:245px}.sms-page #sms-filter-error:empty{display:none}.sms-page #sms-filter-error{margin:8px 0 0}.sms-balance{margin:12px 0;padding:12px 16px;border-left:5px solid #16b5a9;background:#fff;color:#666}
.sms-page #sms-export-dialog,#permission-backup-dialog{width:min(340px,calc(100vw - 32px));padding:20px 24px;border-radius:3px;color:#333}.sms-page #sms-export-dialog p,#permission-backup-dialog p{margin:0 0 24px}.sms-page #sms-export-error:empty,#permission-backup-result:empty{display:none}.sms-export-actions{display:flex;justify-content:flex-end;gap:10px}.sms-export-actions button{min-width:60px;padding:7px 12px;text-align:center;border:0;border-radius:2px;cursor:pointer}.sms-export-actions button:first-child{background:#f3f3f3;color:#555}.sms-export-actions button.primary{background:#16baaa;color:#fff}
.legacy-contract-page #contract-filter input[name=startPeriod]{min-width:245px}.legacy-contract-page #contract-filter input[name=days]{min-width:105px;width:105px}.legacy-contract-page #contract-filter-error:empty{display:none}.legacy-contract-page #contract-filter-error{margin:2px 0 0}
.legacy-contract-page .down-filter-card{padding:9px 13px;margin-bottom:10px}.down-filter{gap:4px!important}.down-filter-card+.legacy-actions{margin-top:8px;margin-bottom:0}.down-filter .filter-line{gap:10px;min-height:37px}.down-filter .filter-line>label{min-width:0;white-space:nowrap}.legacy-contract-page .down-filter input[name=days]{width:102px;min-width:102px}.legacy-contract-page .down-filter input[name=startPeriod]{width:192px;min-width:192px}.legacy-contract-page .down-filter input[name=tenant],.legacy-contract-page .down-filter input[name=id]{width:102px;min-width:102px}.down-filter [data-contract-multi=category],.down-filter [data-contract-multi=company]{width:190px}.down-filter [data-contract-multi=signing],.down-filter [data-contract-multi=manager]{width:120px}.down-filter .contract-room-filter{width:242px}.down-filter .contract-cutoff{position:relative;font-size:12px;color:#888}.down-filter .contract-cutoff summary{cursor:pointer;list-style:none}.down-filter .contract-cutoff input{position:absolute;top:24px;left:0;z-index:11;box-shadow:0 5px 15px #0002}.down-filter .contract-cutoff:not([open]) input{display:none}
.legacy-contract-page .down-filter-card{margin-bottom:8px}.legacy-contract-page .down-filter-card+.legacy-actions{height:40px;align-items:flex-start;justify-content:flex-start;gap:14px;padding-left:315px;margin-top:0}.down-filter-card+.legacy-actions>:not(.contract-column-toolbar){height:38px;flex:none;white-space:nowrap}.down-filter-card+.legacy-actions>.contract-import-menu{width:81px}.down-filter-card+.legacy-actions>.contract-import-menu>summary{display:flex;align-items:center;justify-content:center;width:81px;height:38px;padding:0}.down-filter-card+.legacy-actions>a.primary{display:flex;align-items:center;justify-content:center;width:65px;padding:0}.down-filter-card+.legacy-actions>#customer-debt-open{width:93px}.down-filter-card+.legacy-actions>#contract-sms,.down-filter-card+.legacy-actions>#contract-bulk-delete,.down-filter-card+.legacy-actions>#new-contract{width:65px}.down-filter-card+.legacy-actions>button{padding:0 6px}
.legacy-contract-page .up-filter-card{padding:9px 13px 16px;margin-bottom:10px}.up-filter{gap:3px!important}.up-filter .filter-line{gap:10px;min-height:37px}.up-filter .up-radio-group{display:flex;align-items:center;justify-content:space-between;width:280px;flex:none;white-space:nowrap}.up-filter .up-radio-group label{min-width:82px}.up-filter [data-contract-multi=category],.up-filter [data-contract-multi=signing],.up-filter [data-contract-multi=manager]{width:131px}.up-filter .contract-room-filter{width:240px}.legacy-contract-page .up-filter input[name=days]{width:75px;min-width:75px}.legacy-contract-page .up-filter input[name=id]{width:95px;min-width:95px}.legacy-contract-page .up-filter select[name=archived]{width:100px;min-width:100px}.up-filter .filter-line>label{min-width:0;white-space:nowrap}.up-filter .contract-cutoff{position:relative;font-size:12px;color:#888}.up-filter .contract-cutoff summary{cursor:pointer;list-style:none}.up-filter .contract-cutoff input{position:absolute;top:24px;left:0;z-index:11;box-shadow:0 5px 15px #0002}.up-filter .contract-cutoff:not([open]) input{display:none}
.contract-date-range{position:relative;display:flex;align-items:center}.legacy-contract-page .contract-date-range>input{padding-right:34px!important}.legacy-contract-page .contract-date-range>[data-calendar-toggle]{position:absolute;right:1px;top:1px;width:32px;height:35px;border:0;background:#fff;color:#777;padding:0}.contract-date-popover{position:absolute;top:37px;left:0;z-index:30;width:min(540px,calc(100vw - 260px));padding:12px;background:#fff;border:1px solid #ddd;box-shadow:0 6px 20px #0002;color:#555}.contract-date-nav,.contract-date-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.contract-date-nav button,.contract-date-footer button{border:0;background:#fff;color:#555;padding:2px 8px;height:28px}.contract-date-months{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contract-date-months h4{text-align:center;font-size:13px;font-weight:400;margin:10px 0}.contract-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}.contract-date-grid b{font-size:12px;font-weight:400;color:#999;padding:5px 0}.legacy-contract-page .contract-date-grid button{height:29px;min-width:0;padding:0;border:0;background:#fff;color:#555;font-size:12px}.legacy-contract-page .contract-date-grid button:hover{background:#e9f8f6}.legacy-contract-page .contract-date-grid button.in-range{background:#e9f8f6}.legacy-contract-page .contract-date-grid button.selected{background:#16b5a9;color:#fff}.contract-date-footer{border-top:1px solid #eee;margin-top:10px;padding-top:8px;font-size:12px;color:#777}.contract-date-footer button{color:#16b5a9}@media(max-width:850px){.contract-date-popover{width:min(270px,calc(100vw - 24px))}.contract-date-months{grid-template-columns:1fr}.contract-date-months section+section{display:none}}
.sms-page #sms-filter .contract-date-range>input{height:37px;min-width:245px;padding:7px 34px 7px 10px;border:1px solid #eee;background:#fff;color:#666}.sms-page #sms-filter .contract-date-range>[data-calendar-toggle]{position:absolute;right:1px;top:1px;width:32px;height:35px;border:0;background:#fff;color:#777;padding:0}.sms-page .contract-date-grid button{height:29px;min-width:0;padding:0;border:0;background:#fff;color:#555;font-size:12px}.sms-page .contract-date-grid button:hover,.sms-page .contract-date-grid button.in-range{background:#e9f8f6}.sms-page .contract-date-grid button.selected{background:#16b5a9;color:#fff}
.contract-date-popover{width:min(550px,calc(100vw - 32px));padding:0;border:1px solid #ddd;border-radius:0}.contract-date-months{gap:0}.contract-date-months section+section{border-left:1px solid #eee}.contract-date-month-head{height:44px;display:flex;align-items:center;justify-content:space-around;background:#ff6b2b;color:#fff}.contract-date-month-head span{font-size:13px;white-space:nowrap}.contract-date-month-head button{height:44px;min-width:22px;padding:0 3px;border:0;background:transparent;color:#fff;font-size:18px}.contract-date-month-head button:hover{background:#f15b22}.contract-date-grid{gap:0;padding:10px}.contract-date-grid b{height:30px;padding:7px 0;color:#555}.contract-date-grid button.outside{color:#ccc!important;background:#fff!important;cursor:default}.contract-date-grid button:disabled{opacity:1}.contract-date-footer{height:45px;margin:0;padding:0 10px;border-top:1px solid #eee;color:#16b5a9}.contract-date-footer>div{display:flex;gap:5px}.contract-date-footer button{height:26px;border:1px solid #eee;background:#fff;color:#777}.contract-date-footer button:hover{color:#ff6b2b;border-color:#ff6b2b}:is(.legacy-contract-page,.sms-page) .contract-date-grid button{height:30px}:is(.legacy-contract-page,.sms-page) .contract-date-grid button.in-range,:is(.legacy-contract-page,.sms-page) .contract-date-grid button:hover{background:#e7f6f3}:is(.legacy-contract-page,.sms-page) .contract-date-grid button.selected{background:#ff6b2b;color:#fff}@media(max-width:850px){.contract-date-popover{width:min(275px,calc(100vw - 24px))}.contract-date-months section+section{display:none}}

#template-editor select{border:1px solid #ddd;padding:9px;font:inherit;background:white}
#editor-fields select{display:block;width:100%;padding:8px;border:1px solid #ccd8e4;border-radius:4px;margin-top:4px;background:white}
.color-swatch{display:inline-block;width:18px;height:18px;vertical-align:middle;border:1px solid #ddd}
#editor-fields:has(.setting-direction){display:flex;flex-direction:column;max-width:500px}.setting-direction{border:0;padding:0;display:flex;gap:16px;align-items:center}.setting-direction legend{font-size:12px;color:#58718b;margin-bottom:6px}.setting-direction label{display:inline-flex!important;align-items:center;gap:5px}.setting-direction input{width:auto!important;margin:0!important}.setting-color-field{display:grid;grid-template-columns:90px 1fr 42px;gap:8px;align-items:center;position:relative}.setting-color-field>label{color:#58718b;font-size:12px}.setting-color-field>span{height:38px;border:1px solid #ccd8e4}.setting-color-field>input{grid-column:2/4;margin:0!important}.setting-color-field details>summary{list-style:none;cursor:pointer;border:1px solid #ccd8e4;padding:8px;text-align:center}.setting-color-field details>div{position:absolute;right:0;top:42px;z-index:3;background:white;border:1px solid #ccd8e4;box-shadow:0 8px 28px #19385730;padding:12px;width:min(300px,80vw);display:grid;gap:8px}.setting-color-field input[type=color]{width:100%;height:38px;padding:2px}.setting-color-field input[type=range]{width:100%}.setting-color-presets{display:flex;flex-wrap:wrap;gap:5px}.setting-color-presets button{width:24px;height:24px;border:1px solid #aaa;cursor:pointer}
.contract-column-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 5px}.contract-column-picker{position:relative;z-index:7}.contract-column-picker summary{list-style:none;cursor:pointer;color:#c44b52;background:#fff;padding:5px 9px;border:1px solid #eee}.contract-column-picker summary::-webkit-details-marker{display:none}.contract-column-options{position:absolute;right:0;top:100%;width:180px;max-height:560px;overflow:auto;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002;padding:5px}.contract-column-options label{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:5px;font-size:12px}.contract-column-options input{accent-color:#16b5a9}
.legacy-contract-page .legacy-actions:has(.contract-column-toolbar){position:relative}.legacy-contract-page .contract-column-toolbar.in-actions{position:absolute;right:0;top:2px;margin:0}
.contract-import-menu{z-index:8}.contract-import-menu summary.primary{color:#fff;background:#16b5a9;border-color:#16b5a9;padding:9px 18px;font-size:14px}.contract-import-menu div{left:0;right:auto;min-width:140px;max-height:420px;overflow:auto}.contract-import-menu button:disabled{color:#aaa;cursor:not-allowed}
#contract-import-dialog{position:fixed;inset:50px auto 0 50%;transform:translateX(-50%);margin:0;width:min(600px,100%);height:calc(100dvh - 50px);max-width:none;max-height:none;padding:0;border-radius:0;display:none;flex-direction:column}#contract-import-dialog[open]{display:flex}.contract-import-heading{height:42px;flex:none;padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:#f8f8f8;border-bottom:1px solid #eee}.contract-import-heading h3{margin:0;font-size:16px;font-weight:400}.contract-import-heading button{border:0;background:transparent;font-size:22px;color:#888;cursor:pointer}.contract-import-body{padding:20px;display:flex;flex-direction:column;flex:1;min-height:0}.contract-import-body .toolbar{justify-content:flex-start;align-items:center;gap:10px}.contract-import-select{background:#1e9fff;color:#fff;padding:9px 18px;cursor:pointer}.contract-import-body input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.contract-import-body .primary{background:#16baaa}.contract-import-template{align-self:flex-start;margin-top:auto;border:1px solid #bbb;color:#333;padding:8px 16px;text-decoration:none;cursor:pointer}#contract-import-result{min-height:2em;color:#666}
#property-import-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:min(600px,calc(100vw - 20px));height:min(400px,calc(100dvh - 20px));max-width:none;max-height:none;padding:0;border-radius:0;display:none;flex-direction:column}#property-import-dialog[open]{display:flex}.property-import-heading{height:50px;flex:none;padding:0 20px;display:flex;align-items:center;justify-content:space-between;background:#f8f8f8;border-bottom:1px solid #eee}.property-import-heading h3{margin:0;font-size:16px;font-weight:400}.property-import-heading button{border:0;background:transparent;font-size:22px;color:#888;cursor:pointer}.property-import-body{padding:20px;display:flex;flex-direction:column;flex:1;min-height:0}.property-import-body .toolbar{justify-content:flex-start;align-items:center;gap:10px}.property-import-select{background:#1e9fff;color:#fff;padding:9px 18px;cursor:pointer}.property-import-body input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.property-import-body .primary{background:#16baaa}.property-import-body #property-import-template{align-self:flex-start;margin-top:auto;margin-bottom:34px;border:1px solid #bbb;color:#333;padding:8px 16px;text-decoration:none;cursor:pointer}#property-import-result{min-height:2em;color:#666}
#editor.property-editor{position:fixed;inset:50px auto 0 50%;transform:translateX(-50%);margin:0;width:min(500px,100vw);height:calc(100dvh - 50px);max-width:none;max-height:none;padding:0;border-radius:0;overflow:auto}#editor.property-editor #record-form{display:flex;flex-direction:column;min-height:100%}#editor.property-editor #editor-title{height:50px;flex:none;margin:0;padding:15px 20px;background:#f8f8f8;border-bottom:1px solid #eee;font-size:16px;font-weight:400}#editor.property-editor #editor-fields{display:flex;flex-direction:column;gap:15px;padding:20px;max-height:none;overflow:visible}#editor.property-editor .property-field{display:flex;align-items:center;min-height:38px;font-size:14px;color:#333}#editor.property-editor .property-field span{flex:0 0 110px;text-align:right;padding-right:12px}#editor.property-editor .property-field input{flex:1;min-width:0;width:auto;height:38px;margin:0;padding:8px 10px;border:1px solid #ddd;border-radius:2px}#editor.property-editor #editor-error:empty{display:none}#editor.property-editor .toolbar{justify-content:flex-end;padding:0 20px}#editor.property-editor .toolbar button[type=submit]{min-width:93px;height:38px;background:#16baaa}#editor.property-editor #editor-cancel{display:none}
#editor.property-editor #property-editor-close{position:absolute;top:0;right:0;width:50px;height:50px;border:0;background:transparent;color:#666;font-size:21px;cursor:pointer}
#editor.property-editor .toolbar button[type=submit]{width:93px;min-width:93px;padding:0;border-radius:2px}
#editor.property-editor .property-field{position:relative}#editor.property-editor .property-required-tip{position:absolute;left:110px;top:-43px;z-index:2;padding:7px 12px;background:#333;color:#fff;border-radius:2px;white-space:nowrap;font-size:12px;line-height:18px;box-shadow:0 2px 8px #0003}#editor.property-editor .property-required-tip:after{content:"";position:absolute;left:13px;bottom:-7px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #333}
#editor.color-editor .setting-direction{height:38px;flex:none;gap:14px}#editor.color-editor .setting-direction>span{flex:0 0 110px;text-align:right;padding-right:12px}#editor.color-editor .setting-direction label{font-size:14px;color:#333}#editor.color-editor .setting-color-field{display:flex;align-items:center;gap:0;min-height:48px}#editor.color-editor .setting-color-field>label{flex:0 0 110px;text-align:right;padding-right:12px;color:#ff7800;font-size:14px}#editor.color-editor #setting-color-preview{flex:0 0 180px;width:180px;height:38px;border:0}#editor.color-editor #setting-color-picker{flex:0 0 36px;width:36px;height:38px}#editor.color-editor #setting-color-picker>summary{height:38px;padding:7px;border-color:#ddd}#editor.color-editor #setting-color-picker>div{width:295px;top:43px;right:0;z-index:5}#editor.color-editor #setting-color-picker input{margin:0}#editor.color-editor #setting-color-picker #setting-color-text{height:34px}#editor.color-editor .setting-color-actions{display:flex;justify-content:flex-end;gap:8px}#editor.color-editor .setting-color-actions button{height:30px;padding:4px 10px;border:1px solid #ddd;background:#fff}#editor.color-editor .setting-color-actions #setting-color-confirm{background:#16baaa;color:#fff;border-color:#16baaa}#editor.color-editor #editor-fields{overflow:visible}#editor.color-editor .toolbar{margin-top:80px}
#editor.color-editor #setting-color-picker>div{display:block;padding:10px 8px;box-sizing:border-box}
#editor.color-editor .setting-color-main{display:flex;height:180px;gap:6px}
#editor.color-editor #setting-color-basis{position:relative;flex:1;cursor:crosshair;touch-action:none;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent)}
#editor.color-editor #setting-color-basis-cursor{position:absolute;width:10px;height:10px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #333;transform:translate(-50%,-50%);pointer-events:none}
#editor.color-editor .setting-color-hue-wrap{position:relative;flex:0 0 12px;background:linear-gradient(to bottom,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}
#editor.color-editor .setting-color-hue-wrap:after{content:"";position:absolute;left:-2px;right:-2px;top:calc(var(--hue-position,0) * 100%);height:4px;border:1px solid #fff;box-shadow:0 0 1px #333;pointer-events:none;transform:translateY(-50%)}
#editor.color-editor #setting-color-hue{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;writing-mode:vertical-lr}
#editor.color-editor .setting-color-alpha-wrap{margin:10px 0 12px;height:12px;background-image:linear-gradient(to right,transparent,var(--alpha-color,#ff7800)),conic-gradient(#ddd 25%,#fff 0 50%,#ddd 0 75%,#fff 0);background-size:100% 100%,10px 10px}
#editor.color-editor #setting-color-alpha{display:block;width:100%;height:12px;opacity:.15;cursor:pointer}
#editor.color-editor .setting-color-presets{display:grid;grid-template-columns:repeat(11,1fr);gap:4px;margin-bottom:12px}
#editor.color-editor .setting-color-presets button{width:20px;height:20px;padding:0;border:1px solid #ddd}
#editor.color-editor .setting-color-bottom{display:flex;align-items:center;gap:8px}
#editor.color-editor #setting-color-text{width:80px;height:30px;padding:4px 6px;border:1px solid #ddd;font-size:12px}
#editor.color-editor .setting-color-actions{flex:1}
.legacy-settings-page .title{display:none}
#customer-debts{width:min(1500px,98vw);max-width:none;height:90vh;max-height:90vh;padding:18px 20px}
#customer-debts .debt-header{height:auto;border:0;padding:0 0 14px;justify-content:space-between}
#customer-debts .debt-header h2{font-size:19px;font-weight:400;margin:0}
#customer-debts .debt-header button{margin:0;color:#555;background:#fff;border:1px solid #ddd}
#customer-debts #debt-filter{margin-bottom:10px}
#customer-debts #debt-filter a{text-decoration:none}
#customer-debts .debt-table{max-height:calc(90vh - 210px)}
#customer-debts .debt-table tfoot td{position:sticky;bottom:0;background:#fafafa}
#customer-debts .debt-print-all{display:none}
#up-print{width:min(850px,95vw)}#up-print .detail-head{display:flex;align-items:center;justify-content:space-between}#up-print .print-body .table-wrap{max-height:none;margin-bottom:15px}
#up-debt-print{width:min(1050px,95vw)}#up-debt-print .detail-head{display:flex;align-items:center;justify-content:space-between}#up-debt-print .print-controls{display:flex;align-items:center;justify-content:space-between;margin:12px 0}#up-debt-print .print-body table{width:100%;border-collapse:collapse}#up-debt-print .print-body th,#up-debt-print .print-body td{border:1px solid #ddd;padding:6px}#up-debt-print .print-body h2{margin:0 0 8px}
#down-print{width:min(900px,95vw)}#down-print .detail-head{display:flex;align-items:center;justify-content:space-between}#down-print .print-controls{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:14px 0}#down-print .print-controls>label{display:flex;flex-direction:column;gap:5px}#down-print .print-controls fieldset{border:1px solid #ddd;display:flex;gap:14px;flex-wrap:wrap}#down-print .print-controls input,#down-print .print-controls select,#down-print .print-controls textarea{padding:7px;border:1px solid #ddd}#down-print .print-controls input[type=checkbox]{padding:0}#down-print .print-body{border-top:1px solid #eee;padding-top:14px}#down-print .print-body pre{white-space:pre-wrap;font:inherit}#down-print .print-body table{margin:12px 0}
#down-print{width:min(650px,95vw);height:min(820px,92vh);max-height:92vh;padding:0;border-radius:0}
#down-print .detail-head{padding:15px 22px;border-bottom:1px solid #eee}
#down-print .detail-head h2{font-size:15px;font-weight:400;margin:0}
#down-print .print-controls{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:18px;margin:0;padding:28px 30px}
#down-print .print-controls>label{display:flex;flex-direction:row;align-items:center;gap:0;min-height:42px;border:1px solid #eee}
#down-print .print-controls>label>input,#down-print .print-controls>label>select,#down-print .print-controls>label>textarea{flex:1;min-width:0;border:0}
#down-print .print-controls>label{padding-left:18px}
#down-print .print-controls fieldset{display:flex;align-items:center;gap:14px;border:0;padding:0;margin:0}
#down-print .print-controls fieldset legend{float:left;margin:7px 20px 0 18px;padding:0}
#down-print .print-controls fieldset label{white-space:nowrap}
#down-print .print-controls fieldset .print-item{display:inline-flex;gap:0;align-items:center;position:relative;cursor:pointer}
#down-print .print-item input{position:absolute;opacity:0;width:1px;height:1px}
#down-print .print-item-name{background:#16b58d;color:#fff;padding:7px 10px}
#down-print .print-item-check{border:1px solid #ddd;color:#16b58d;padding:6px 8px}
#down-print .print-item input:not(:checked)+.print-item-name{background:#eee;color:#777}
#down-print .print-item input:not(:checked)~.print-item-check{color:transparent}
#down-print .print-item input:focus-visible+.print-item-name{outline:2px solid #1677c8;outline-offset:2px}
#down-print .print-controls>p{margin:0;padding:15px 18px;background:#fafafa;border-left:4px solid #16b5a9}
#down-print .print-controls>button{align-self:flex-end;margin-top:30px}
#down-print .print-controls>button.primary{background:#57baf5}
#down-print[data-mode="collection"]{width:min(600px,95vw)}
#down-print[data-mode="contract"]{width:min(540px,95vw)}
#down-print[data-mode="contract"] .print-controls>button{margin-top:180px}
#down-print .print-template-field{position:relative}
#down-print .print-template-field input{height:40px}
#down-print .print-template-field input::placeholder{color:#aaa}
#down-print .print-template-empty{display:none;position:absolute;left:105px;right:0;top:42px;background:#fff;border:1px solid #eee;padding:12px;color:#999;z-index:3}
#down-print .print-template-field:focus-within .print-template-empty{display:block}
#down-print .print-controls>label.print-custom{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0}
#down-print .print-custom span{display:block;background:#fafafa;padding:10px 18px;border-bottom:1px solid #eee}
#down-print .print-controls>label.print-custom textarea{min-height:155px;width:100%;resize:vertical;padding:10px 18px}
#down-print .print-body{padding:18px 30px 30px}
#down-print .print-body[hidden]{display:none}
@media print{#app>header,#app aside,#app main>.title,body:has(#view>dialog[open]) #view>:not(#customer-debts):not(#up-print):not(#down-print):not(#up-debt-print):not(#receipt-print){display:none!important}#app main{padding:0!important}#customer-debts[open],#up-print[open],#down-print[open],#up-debt-print[open],#receipt-print[open]{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;box-shadow:none!important;padding:0!important}#customer-debts::backdrop,#up-print::backdrop,#down-print::backdrop,#up-debt-print::backdrop,#receipt-print::backdrop{display:none!important}#customer-debts .debt-header button,#customer-debts #debt-filter,#customer-debts .pager,#up-print .print-controls,#up-print .detail-head button,#down-print .print-controls,#down-print .detail-head button,#up-debt-print .print-controls,#up-debt-print .detail-head,#receipt-print .print-controls{display:none!important}#customer-debts .debt-table,#up-print .table-wrap{max-height:none!important;overflow:visible!important}#customer-debts table{font-size:8px}}
#receipt-print{width:min(720px,95vw)}#receipt-print .detail-head{display:flex;align-items:center;justify-content:space-between}#receipt-print .print-body table{width:100%;margin:18px 0}#receipt-print .print-body th,#receipt-print .print-body td{border:1px solid #bbb}
@media print{:root{background:#fff!important}body{min-height:100vh}body,#app main{background:#fff!important}#app .layout,#app main{min-height:0!important}body:not(:has(#view>dialog[open])) #view>.toolbar,body:not(:has(#view>dialog[open])) #view>.report-heading button{display:none!important}body:not(:has(#view>dialog[open])) #view .table-wrap{max-height:none!important;overflow:visible!important}body:not(:has(#view>dialog[open])) #view table{width:100%}}
@media print{#up-debt-print .print-body{display:block!important}#up-debt-print .print-body table{width:100%;border-collapse:collapse}#up-debt-print .print-body th,#up-debt-print .print-body td{border:1px solid #bbb;padding:4px;white-space:normal;word-break:break-word}#up-debt-print .print-body h2{margin:0 0 8px}}
@media print{#customer-debts .debt-header,#customer-debts .debt-table,#customer-debts>p.muted{display:none!important}#customer-debts .debt-print-all{display:block!important}#customer-debts .debt-print-all table{width:100%;border-collapse:collapse}#customer-debts .debt-print-all th,#customer-debts .debt-print-all td{border:1px solid #bbb;padding:3px;white-space:normal;word-break:break-word}#customer-debts .debt-print-all h2{margin:0 0 8px}}
@page debt-a3{size:A3 landscape;margin:10mm}
@media print{#customer-debts .debt-print-all{page:debt-a3}#customer-debts .debt-print-all table{font-size:10px}#customer-debts .debt-print-all th,#customer-debts .debt-print-all td{padding:2px}}
.detail-tabs{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid #e5e5e5;margin:4px 0 16px}
.detail-tabs button{flex:none;border:0;border-bottom:2px solid transparent;background:#fff;color:#555;padding:11px 14px;cursor:pointer;white-space:nowrap}
.detail-tabs button:hover,.detail-tabs button.selected{color:#16b5a9;border-bottom-color:#16b5a9}
#contract-detail [data-detail-panel]>.card{margin-bottom:12px}
.contract-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.contract-info-grid>div{display:grid;grid-template-columns:105px minmax(0,1fr);background:#f8f8f8;min-height:38px}.contract-info-grid span{padding:10px;color:#666;border-right:1px solid #eee;text-align:center}.contract-info-grid strong{padding:10px;font-weight:400;overflow-wrap:anywhere}.contract-info #contract-attachments-open{border:0;background:none;color:#1784cf;cursor:pointer;font-weight:600}#contract-attachments{width:min(1100px,95vw);max-height:85vh}#contract-attachments .detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}#contract-attachments .detail-head h2{font-size:16px;font-weight:400}#contract-attachments .toolbar{justify-content:center}#contract-attachments .table-wrap{max-height:55vh}@media(max-width:700px){.contract-info-grid{grid-template-columns:1fr}}
.legacy-contract-info{max-width:910px;margin:auto;color:#333;font-size:14px}.legacy-contract-actions{display:flex;align-items:center;gap:18px;min-height:42px;padding:0 40px}.legacy-contract-actions>#contract-attachments-open{border:0;background:none;color:#1678c9;font-size:15px;cursor:pointer}.legacy-contract-actions>div{margin-left:auto}.legacy-contract-actions .card{border:0;padding:0;margin:0}.legacy-contract-actions .toolbar{margin:0}.legacy-contract-actions .toolbar strong{display:none}.legacy-contract-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;max-width:690px;margin:8px auto 14px}.legacy-contract-fields label{display:flex;min-width:0;align-items:stretch}.legacy-contract-fields label>span{display:grid;place-items:center;width:100px;flex:none;border:1px solid #e6e6e6;background:#fafafa;color:#333}.legacy-contract-fields input{height:38px;min-width:0;flex:1;padding:0 10px;border:1px solid #e6e6e6;border-left:0;background:#fff;color:#555;opacity:1}.legacy-contract-fields label:last-child{grid-column:1/-1}.legacy-contract-fields label:last-child input{min-height:70px}.legacy-contract-summary{max-width:690px;margin:14px auto;line-height:1.8}.legacy-contract-summary p{margin:4px 0}.legacy-contract-extra{max-width:690px;margin:20px auto;color:#667}.legacy-contract-extra summary{cursor:pointer}.legacy-contract-extra .card{margin-top:12px}@media(max-width:700px){.legacy-contract-fields{grid-template-columns:1fr}.legacy-contract-fields label:last-child{grid-column:auto}.legacy-contract-actions{padding:0;flex-wrap:wrap}}
.legacy-contract-actions .legacy-property-summary{color:#1678c9}
.contract-tenant-link{border:0;background:none;padding:0;color:#1737a7;font:inherit;cursor:pointer;text-align:left}.contract-tenant-link:hover{text-decoration:underline}
.legacy-list .up-contract-table tr>:last-child,.legacy-list .down-contract-table tr>:last-child{position:sticky;right:0;min-width:160px;background:#fff;z-index:2}.legacy-list .down-contract-table tr>:nth-last-child(2){position:sticky;right:160px;min-width:44px;background:#fff;z-index:2}.legacy-list thead tr>:last-child,.legacy-list .down-contract-table thead tr>:nth-last-child(2){z-index:4}.legacy-list tfoot tr>:last-child,.legacy-list .down-contract-table tfoot tr>:nth-last-child(2){background:#fafafa;z-index:3}
.down-contract-table tr>:not([hidden]){overflow:hidden;text-overflow:ellipsis}.down-contract-table tr>:nth-child(3){width:110px;min-width:110px;max-width:110px}.down-contract-table tr>:nth-child(4){width:80px;min-width:80px;max-width:80px}.down-contract-table tr>:nth-child(5){width:70px;min-width:70px;max-width:70px}.down-contract-table tr>:nth-child(6){width:90px;min-width:90px;max-width:90px}.down-contract-table tr>:nth-child(7){width:180px;min-width:180px;max-width:180px}.down-contract-table tr>:nth-child(8){width:150px;min-width:150px;max-width:150px}.down-contract-table tr>:nth-child(9){width:200px;min-width:200px;max-width:200px}.down-contract-table tr>:is(:nth-child(10),:nth-child(11),:nth-child(12),:nth-child(13),:nth-child(14),:nth-child(15),:nth-child(16),:nth-child(17),:nth-child(18),:nth-child(19),:nth-child(20),:nth-child(21),:nth-child(22),:nth-child(25),:nth-child(26),:nth-child(30)){width:120px;min-width:120px;max-width:120px}.down-contract-table tr>:nth-child(24){width:105px;min-width:105px;max-width:105px}.down-contract-table tr>:nth-child(27){width:130px;min-width:130px;max-width:130px}.down-contract-table tr>:is(:nth-child(28),:nth-child(35),:nth-child(37),:nth-child(38),:nth-child(39)){width:100px;min-width:100px;max-width:100px}.down-contract-table tr>:is(:nth-child(29),:nth-child(31),:nth-child(32)){width:60px;min-width:60px;max-width:60px}.down-contract-table tr>:is(:nth-child(33),:nth-child(34)){width:106px;min-width:106px;max-width:106px}.down-contract-table tr>:nth-child(36){width:200px;min-width:200px;max-width:200px}.down-contract-table tr>:nth-child(40){width:70px;min-width:70px;max-width:70px}.down-contract-table tr>:nth-child(41){width:50px;min-width:50px;max-width:50px}.legacy-list .down-contract-table tr>:last-child{width:170px;min-width:170px;max-width:170px;right:0}.legacy-list .down-contract-table tr>:nth-last-child(2){right:170px}
.down-contract-table tr>:is(:last-child,:nth-last-child(2)){overflow:visible}
.up-contract-table tr>:not([hidden]){overflow:hidden;text-overflow:ellipsis}.up-contract-table tr>:nth-child(2){width:110px;min-width:110px;max-width:110px}.up-contract-table tr>:is(:nth-child(3),:nth-child(4),:nth-child(15)){width:70px;min-width:70px;max-width:70px}.up-contract-table tr>:is(:nth-child(5),:nth-child(18),:nth-child(19),:nth-child(20),:nth-child(26)){width:100px;min-width:100px;max-width:100px}.up-contract-table tr>:nth-child(6){width:150px;min-width:150px;max-width:150px}.up-contract-table tr>:nth-child(7){width:210px;min-width:210px;max-width:210px}.up-contract-table tr>:is(:nth-child(8),:nth-child(12)){width:130px;min-width:130px;max-width:130px}.up-contract-table tr>:nth-child(9){width:105px;min-width:105px;max-width:105px}.up-contract-table tr>:is(:nth-child(10),:nth-child(11),:nth-child(22),:nth-child(23)){width:120px;min-width:120px;max-width:120px}.up-contract-table tr>:is(:nth-child(17),:nth-child(21)){width:60px;min-width:60px;max-width:60px}.up-contract-table tr>:nth-child(25){width:200px;min-width:200px;max-width:200px}.legacy-list .up-contract-table tr>:last-child{width:180px;min-width:180px;max-width:180px;overflow:visible}
.legacy-list th .contract-sort{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:5px;line-height:8px}.legacy-list th .contract-sort button{border:0;background:transparent;color:#bbb;padding:0 2px;font-size:9px;line-height:9px;cursor:pointer}.legacy-list th .contract-sort button.selected,.legacy-list th .contract-sort button:hover{color:#16b5a9}
[data-floating-contract-menu]{position:fixed;z-index:100;min-width:120px;max-height:calc(100vh - 16px);overflow-y:auto;background:#fff;border:1px solid #ddd;box-shadow:0 5px 15px #0002}[data-floating-contract-menu] button{display:block;width:100%;border:0;background:#fff;color:#555;text-align:left;padding:7px 10px;font-size:13px}[data-floating-contract-menu] button:hover{background:#f2f9f8}[data-floating-contract-menu] button:disabled{color:#aaa;cursor:default}
.legacy-contract-fields .contract-note-value{box-sizing:border-box;flex:1;min-width:0;min-height:70px;padding:10px;border:1px solid #e6e6e6;border-left:0;background:#fff;color:#555;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.legacy-contract-down .legacy-contract-fields,.legacy-contract-down .legacy-contract-summary{max-width:910px}.legacy-contract-down .legacy-contract-actions>div{display:flex;align-items:center;gap:8px}.legacy-contract-down #contract-info-print{padding:6px 12px}
.detail-form-overlay{position:fixed;inset:0;z-index:30;display:flex;justify-content:center;align-items:flex-start;background:#0004;overflow:auto;padding:5vh 12px}.detail-form-overlay[hidden]{display:none}.detail-form-card{width:min(400px,100%);min-height:520px;background:#fff;box-shadow:0 10px 35px #0003;padding:16px 20px}.detail-form-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.detail-form-head button{border:0;background:none;font-size:22px;line-height:1;cursor:pointer}.detail-form-fields{display:grid;gap:12px}.detail-form-fields label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start;color:#555;font-size:13px}.detail-form-fields input,.detail-form-fields textarea{min-width:0;width:100%;padding:8px;border:1px solid #e6e6e6;color:#555}.detail-form-fields textarea{min-height:100px;resize:vertical}.detail-form-fields .primary{justify-self:end}
#contract-attachments,#contract-attachment-upload{position:fixed;inset:50px 0 0;margin:0;width:100%;max-width:none;height:calc(100dvh - 50px);max-height:none;border-radius:0;padding:0;background:#f2f2f2;overflow:auto}
#contract-attachments::backdrop,#contract-attachment-upload::backdrop{background:#0005}
.contract-attachment-title{height:42px;display:grid;place-items:center;background:#fff;border-bottom:1px solid #e6e6e6;color:#333;font-size:15px}
.contract-attachment-actions{display:flex;justify-content:center;gap:8px;padding:10px 0}
.contract-attachment-actions .primary,.contract-upload-body .primary{padding:5px 12px;font-size:13px}
.contract-attachment-content{width:min(800px,calc(100vw - 24px));height:calc(100dvh - 150px);overflow:auto;margin:0 auto}
.contract-attachment-content .table-wrap{min-height:60px;background:#f2f2f2}
.contract-attachment-gallery{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}
.contract-image-card{width:260px;background:#fff;border:1px solid #e6e6e6}
.contract-image-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid #eee}
.contract-image-heading span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contract-image-heading button{flex:none;background:#ff5722;color:#fff;border:0;padding:3px 9px;cursor:pointer}
.contract-attachment-gallery [data-contract-image]{display:block;width:100%;border:0;background:none;padding:8px;cursor:pointer}
.contract-attachment-gallery img{max-width:240px;height:240px;object-fit:contain}
#contract-attachment-image-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;text-align:center;background:#000c;color:#fff;overflow:hidden}
#contract-attachment-image-viewer::backdrop{background:#0009}
.contract-viewer-stage{height:calc(100dvh - 64px);display:flex;align-items:center;justify-content:center;overflow:auto}
.contract-viewer-stage img{display:block;max-width:95vw;max-height:calc(100dvh - 95px);object-fit:contain;transition:transform .15s}
.contract-viewer-caption{height:20px;font-size:12px;color:#ddd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contract-viewer-tools{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;padding:2px 8px}
.contract-viewer-tools button{width:28px;height:28px;border:0;border-radius:50%;background:#303030;color:#fff;cursor:pointer;font-size:15px}
.contract-viewer-tools button:hover{background:#555}
.contract-viewer-close{position:absolute;top:5px;right:6px;border:0;border-radius:50%;background:#303030;color:#fff;width:32px;height:32px;font-size:24px;cursor:pointer}
#contract-attachment-image-viewer button{float:right;border:0;background:none;color:#fff;font-size:24px}
.contract-upload-body{position:relative;width:min(750px,calc(100vw - 24px));margin:0 auto;padding-top:20px}
.contract-upload-body .table-wrap{min-height:60px;margin:10px 0;background:#fff}
.contract-file-select{display:inline-block;cursor:pointer}.contract-file-select input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#contract-attachment-upload-close{position:absolute;top:12px;right:0;border:0;background:none;font-size:23px;color:#666}
.detail-form-fields{grid-template-columns:minmax(0,1fr)}.detail-form-fields output{grid-column:1;color:#666;font-size:13px;padding-left:110px}.detail-form-fields .error{grid-column:1}
.detail-form-card:has([data-rent-received-form]),.detail-form-card:has([data-property-received-form]),.detail-form-card:has([data-utilities-received-form]),.detail-form-card:has([data-other-received-form]){width:min(500px,100%);min-height:580px}
.detail-form-fields .detail-image-picker{display:flex;align-items:center;gap:10px;position:relative;min-height:34px}.detail-image-picker span{display:inline-block;padding:7px 13px;border:1px solid #b985c7;color:#9b67a9;background:#fff;cursor:pointer}.detail-image-picker:focus-within span{outline:2px solid #9b67a9;outline-offset:2px}.detail-form-fields .detail-image-picker input{position:absolute;width:1px;height:1px;padding:0;opacity:0;overflow:hidden}.detail-image-picker small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777}
#operation-form .detail-image-picker{display:inline-flex;align-items:center;gap:8px;position:relative;min-height:34px;max-width:260px}#operation-form .detail-image-picker[hidden]{display:none}#operation-form .detail-image-picker input{position:absolute;width:1px;height:1px;padding:0;opacity:0;overflow:hidden}
.detail-form-card:has(.detail-invoice-form){width:min(650px,100%);min-height:750px}.detail-form-fields.detail-invoice-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.detail-invoice-form>.detail-image-picker,.detail-invoice-form>.invoice-choice-row,.detail-invoice-form>.invoice-wide,.detail-invoice-form>.error{grid-column:1/-1}.detail-invoice-form>.primary{grid-column:2}.detail-invoice-form>.invoice-choice-row{border:0;padding:0;margin:0;display:flex;align-items:center;gap:20px;font-size:13px;color:#555}.invoice-choice-row legend{float:left;width:110px;padding:8px 0}.detail-invoice-form .invoice-choice-row label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.detail-invoice-form .invoice-choice-row input{width:auto;min-width:0;margin:0;accent-color:#16aa98}.detail-invoice-form>.invoice-wide textarea{min-height:100px}
.detail-form-card:has(.invoice-up-form){width:min(500px,100%);min-height:580px}.detail-form-fields.detail-invoice-form.invoice-up-form{grid-template-columns:minmax(0,1fr)}.invoice-up-form>.primary{grid-column:1}.invoice-up-form>.invoice-choice-row{flex-wrap:wrap;gap:14px 20px}.invoice-up-form>.invoice-rate-row{max-width:330px}.invoice-up-form>.invoice-rate-row legend{display:none}
.contract-pager{flex-wrap:wrap;gap:8px;color:#666;font-size:13px}.contract-pager button{min-width:30px;height:29px;padding:4px 8px;border:0;background:transparent;color:#555}.contract-pager button.selected{background:#16b5a9;color:#fff}.contract-pager button:disabled{opacity:.35;cursor:default}.contract-pager form{display:flex;align-items:center;gap:6px}.contract-pager form input{width:42px;height:29px;border:1px solid #eee;text-align:center}.contract-pager form button{border:1px solid #eee;background:#fff}.contract-pager select{height:29px;border:1px solid #eee;background:#fff;color:#555}
body:has(.users-page) .title{display:none}
.system-header{display:flex;align-items:stretch;gap:0;padding:0;height:50px;background:#fff}.system-header .header-brand{display:flex;align-items:center;justify-content:center;width:220px;flex:none;background:#20222a;color:#aaa;font-size:16px;font-weight:400}.system-header .header-bar{display:flex;align-items:center;flex:1;min-width:0;padding:0 20px;gap:18px}.system-header .header-bar>button{margin:0;border:0;background:none;color:#666;font-size:18px;padding:5px 8px}.system-header .header-spacer{flex:1}.header-account{position:relative}.header-account>button{margin:0;border:0;background:none;color:#555;padding:8px 12px;font-size:14px}.header-account>div{position:absolute;right:0;top:100%;z-index:30;min-width:112px;background:#fff;border:1px solid #e5e5e5;box-shadow:0 5px 15px #0002}.header-account>div button{display:block;width:100%;margin:0;border:0;background:#fff;color:#555;text-align:left;padding:9px 13px}.header-account>div button:hover{background:#f4f4f4}#app.sidebar-collapsed aside{display:none}#app.sidebar-collapsed .header-brand{width:56px;font-size:0}@media(max-width:700px){.system-header .header-brand{width:150px}#app.sidebar-collapsed .header-brand{width:48px}.system-header .header-bar{padding:0 8px;gap:4px}}
.password-card{width:min(710px,100%);padding:12px 16px 25px;background:#fff;box-shadow:0 1px 2px #0001}.password-card>label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;min-height:54px;margin-bottom:0;border:1px solid #eee;color:#555;font-size:14px}.password-card>label+label{border-top:0}.password-card>label span{padding:12px 16px;text-align:center;border-right:1px solid #eee}.password-card>label input{width:100%;height:36px;padding:6px 10px;border:0;outline:0}.password-card .error{min-height:1.2em;margin:5px 0}.password-actions{display:flex;gap:14px;padding-left:110px}.password-actions button{border-radius:0;padding:8px 18px}.password-actions .primary{background:#16b5a9}.password-actions button[type=reset]{border:1px solid #ddd;background:#fff;color:#555}@media(max-width:700px){.password-card>label{grid-template-columns:85px minmax(0,1fr)}.password-actions{padding-left:85px}}
#app aside{background:var(--rt-side,#20222a)}#app aside .group{background:color-mix(in srgb,var(--rt-side,#20222a) 90%,#fff)}#app aside button:hover,#app aside button.active{background:var(--rt-active,#16baaa)}#app .system-header{background:var(--rt-header,#fff)}#app .system-header .header-brand{background:var(--rt-logo,#20222a)}#app .header-bar>button,#app .header-account>button{color:var(--rt-header-text,#555)}#app .primary{background:var(--rt-active,#16baaa)}#app .header-bar>button{font-size:17px;line-height:1;min-width:28px}
.header-note-panel{position:fixed;right:220px;top:41px;width:300px;height:182px;background:#fff;box-shadow:0 4px 18px #0003;z-index:35}.header-note-panel>div{height:50px;background:#20222a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:14px}.header-note-panel>div button{border:0;background:none;color:#fff;font-size:22px;cursor:pointer}.header-note-panel textarea{display:block;width:100%;height:132px;border:0;padding:10px 17px;resize:vertical;color:#777;font-size:13px;line-height:1.45;outline:0}.header-theme-backdrop{position:fixed;inset:50px 0 0;background:#0002;z-index:24}.header-theme-panel{position:fixed;top:50px;right:0;bottom:0;width:min(300px,100vw);background:#fff;z-index:25;box-shadow:-4px 0 15px #0002;overflow:auto;color:#333}.header-theme-panel h3{margin:0;padding:15px;border-bottom:1px solid #eee;font-size:14px}.theme-panel-body{padding:0 15px 20px}.theme-panel-body h4{font-size:14px;margin:17px 0 12px}.header-theme-schemes{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.header-theme-schemes button{height:59px;padding:3px;display:flex;flex-direction:column;border:1px solid transparent;background:#fff;cursor:pointer}.header-theme-schemes button.selected{border-color:var(--rt-active,#16baaa)}.header-theme-schemes button>span:first-child{display:block;height:9px;width:100%;border:1px solid #eee}.header-theme-schemes button>span:last-child{display:block;width:100%;height:43px;border:1px solid #eee;background:#f7f7f7}.header-theme-schemes button i{display:block;width:23%;height:100%}.theme-panel-body>label{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:13px}.theme-panel-body input[type=color]{width:34px;height:34px;border:1px solid #eee;padding:2px;background:#fff;cursor:pointer}.theme-panel-body>button{margin-top:8px;padding:8px 12px;border:1px solid #ddd;background:#fff;cursor:pointer}@media(max-width:750px){.header-note-panel{right:8px;top:50px;width:min(300px,calc(100vw - 16px))}}
.users-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 20px;margin-bottom:12px}.users-toolbar label{display:flex;align-items:center;gap:10px}.users-toolbar input{height:36px;min-width:190px;border:1px solid #ddd;padding:6px 10px}.users-toolbar button{height:36px}.users-table{background:#fff;overflow-x:auto}.users-table table{width:100%;white-space:nowrap}.users-table td button{border:1px solid #e4e4e4;background:#fff;color:#555;padding:4px 9px}.users-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#fff;padding:12px 16px}.users-pager form{display:flex;align-items:center;gap:5px}.users-pager input{width:54px;text-align:center}.users-pager select{height:30px}.users-dialog{width:min(490px,calc(100vw - 30px));border:0;padding:0;box-shadow:0 8px 35px #0004}.users-dialog::backdrop{background:#0006}.users-dialog form{display:grid;gap:12px;padding:18px 24px 24px}.users-dialog header{display:flex;justify-content:space-between;align-items:center;height:auto;padding:0 0 12px;border-bottom:1px solid #eee}.users-dialog h3{margin:0;font-size:18px;font-weight:400}.users-dialog header button{border:0;background:none;font-size:24px}.users-dialog label{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:10px}.users-dialog input,.users-dialog select{width:100%;height:36px;border:1px solid #ddd;padding:6px 9px}.users-dialog form>.primary{justify-self:center;min-width:120px}
main.legacy-ledger-page{padding-left:20px;padding-right:0}
.legacy-ledger-page .ledger-filter-picker{width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] table{width:1440px;min-width:1440px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th,.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] td{overflow:hidden;text-overflow:ellipsis}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(2){width:251px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(3){width:201px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(5){width:105px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(6){width:121px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(7){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(8){width:91px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(9){width:151px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(10){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] th:nth-child(11){width:51px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] tr>:nth-last-child(2){position:sticky;right:51px;z-index:3;background:#fff}
.legacy-ledger-page .legacy-list:is([data-ledger-list=up_rent_paid],[data-ledger-list=down_rent_due],[data-ledger-list=down_rent_received],[data-ledger-list=down_other_due],[data-ledger-list=down_other_received]) tr:not(.ledger-spacer)>:last-child{position:sticky;right:0;z-index:3;background:#fff}
.legacy-ledger-page .legacy-list:is([data-ledger-list=up_rent_paid],[data-ledger-list=down_rent_due],[data-ledger-list=down_rent_received],[data-ledger-list=down_other_due],[data-ledger-list=down_other_received]) thead tr>:last-child{z-index:5;background:#fafafa}
.legacy-ledger-page .legacy-list:is([data-ledger-list=up_rent_paid],[data-ledger-list=down_rent_due],[data-ledger-list=down_rent_received],[data-ledger-list=down_other_due],[data-ledger-list=down_other_received]) tfoot tr>:last-child{z-index:4;background:#fff}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] thead tr>:nth-last-child(2){z-index:5;background:#fafafa}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_received] tfoot tr>:nth-last-child(2){z-index:4;background:#fff}
.legacy-ledger-page .legacy-list:is([data-ledger-list=down_other_due],[data-ledger-list=down_other_received]) tr:not(.ledger-spacer)>:last-child{width:50px;min-width:50px}
.legacy-ledger-page .legacy-filter{padding-left:0}
.legacy-ledger-page #ledger-filter .filter-line:first-child{gap:9px}
.legacy-ledger-page #ledger-filter input[name=tenant]{width:100px;min-width:100px}
.legacy-ledger-page #ledger-filter .ledger-approval-radios{margin-left:10px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] table{width:1693px;min-width:1693px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th,.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] td{overflow:hidden;text-overflow:ellipsis}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(2){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(4){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(5){width:180px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(6){width:100px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(7){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(8){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(9){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(10){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(11){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(12){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_rent_due] th:nth-child(13){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] table{width:1250px;min-width:1250px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th,.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] td{overflow:hidden;text-overflow:ellipsis}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(2){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(4){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(5){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(6){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(7){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(8){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(9){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_paid] th:nth-child(10){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] table{width:1326px;min-width:1326px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th,.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] td{overflow:hidden;text-overflow:ellipsis}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(5){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(6){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(7){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(8){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_rent_due] th:nth-child(9){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] table{width:1149px;min-width:1149px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(2){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(5){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(6){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(7){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_due] th:nth-child(8){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] table{width:1130px;min-width:1130px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(2){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(4){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(5){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(6){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(7){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(8){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_property_paid] th:nth-child(9){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] table{width:1199px;min-width:1199px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(5){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(6){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(7){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_due] th:nth-child(8){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] table{width:1441px;min-width:1441px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(5){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(6){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(7){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(8){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(9){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(10){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_property_received] th:nth-child(11){width:50px}
.legacy-ledger-page:has(.legacy-list[data-ledger-list=down_property_due]) .ledger-filter-picker{width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] table{width:1342px;min-width:1342px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(2){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(4){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(5){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(6){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(7){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(8){width:100px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(9){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(10){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(11){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=up_invoices] th:nth-child(12){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] table{width:1905px;min-width:1905px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(2){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(5){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(6){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(7){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(8){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(9){width:100px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(10){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(11){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(12){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(13){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(14){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(15){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_invoices] th:nth-child(16){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] table{width:1460px;min-width:1460px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(1){width:80px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(2){width:180px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(3){width:170px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(4){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(5){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(6){width:100px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(7){width:115px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(8){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(9){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(10){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(11){width:115px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(12){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(13){width:60px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(14){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_due] th:nth-child(15){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] table{width:1603px;min-width:1603px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(1){width:100px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(3){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(5){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(6){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(7){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(8){width:110px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(9){width:70px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(10){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(11){width:90px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(12){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=down_utilities_received] th:nth-child(13){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] table{width:1009px;min-width:1009px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(4){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(5){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(6){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_cost] th:nth-child(7){width:50px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] table{width:1009px;min-width:1009px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(3){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(4){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(5){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(6){width:150px}
.legacy-ledger-page .legacy-list[data-ledger-list=month_income] th:nth-child(7){width:50px}
.legacy-ledger-page .legacy-list{position:relative}
.legacy-ledger-page .legacy-list .ledger-empty{position:absolute;top:38px;left:0;width:100%;height:86px;display:flex;align-items:center;justify-content:center;background:#fff;color:#999;font-size:14px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] table{width:1466px;min-width:1466px;table-layout:fixed}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th,.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] td{overflow:hidden;text-overflow:ellipsis}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(1){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(2){width:250px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(3){width:240px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(4){width:200px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(5){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(6){width:104px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(7){width:120px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(8){width:130px}
.legacy-ledger-page .legacy-list[data-ledger-list=deposit_detail] th:nth-child(9){width:168px}
#template-editor{position:fixed;top:50px;left:50%;right:auto;transform:translateX(-50%);margin:0;height:calc(100dvh - 50px);max-height:calc(100dvh - 50px);overflow:auto}#template-editor #template-form>label{margin-top:15px;min-height:38px}#template-editor #template-form>label:first-of-type{margin-top:25px}#template-editor #template-form>label:nth-of-type(3){flex:none;grid-template-rows:37px 500px}#template-editor #template-form>label:nth-of-type(3) textarea{height:500px}#template-editor #template-form>.toolbar .primary{width:65px;height:38px;padding:0}
#user-editor{width:min(500px,calc(100vw - 30px));height:min(500px,calc(100dvh - 30px));max-height:none;border-radius:0;overflow:auto}
#user-editor form{display:block;padding:0}
#user-editor header{height:50px;padding:0 20px;background:#f8f8f8;border-bottom:1px solid #eee}
#user-editor form>label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start;gap:0;min-height:53px;margin:0 20px}
#user-editor form>label:first-of-type{margin-top:20px}
#user-editor input,#user-editor select{height:38px}
#user-editor #user-form-error:empty{display:none}
#user-editor form>.primary{display:block;width:93px;min-width:93px;height:38px;margin:5px 20px 0 auto;padding:0;text-align:center}
.user-disabled-picker{position:relative;display:block;width:100%}.user-disabled-picker #user-disabled-search{width:100%;height:38px;background:#fff}.user-disabled-picker::after{content:"";position:absolute;right:13px;top:16px;border:5px solid transparent;border-top-color:#999;pointer-events:none}.user-disabled-picker:has([aria-expanded="true"])::after{top:11px;border-top-color:transparent;border-bottom-color:#999}.user-disabled-picker #user-disabled-options{position:absolute;top:calc(100% + 4px);left:0;z-index:2;box-sizing:border-box;width:100%;padding:5px 0;border:1px solid #d2d2d2;background:#fff;box-shadow:0 2px 4px #0002}.user-disabled-picker #user-disabled-options[hidden],.user-disabled-picker #user-disabled-options [hidden]{display:none}.user-disabled-picker #user-disabled-options button{display:block;width:100%;height:36px;padding:0 10px;border:0;background:#fff;color:#666;text-align:left;font-size:14px;cursor:pointer}.user-disabled-picker #user-disabled-options button:hover,.user-disabled-picker #user-disabled-options button[aria-selected="true"]{background:#5fb878;color:#fff}
.users-toolbar{padding-top:8px}.users-toolbar label{gap:28px}.users-toolbar .users-query-picker{position:relative;display:inline-block;width:200px}.users-toolbar #users-query{box-sizing:border-box;width:200px;min-width:200px;height:38px}.users-query-options{position:absolute;top:calc(100% + 18px);left:0;z-index:10;box-sizing:border-box;width:200px;padding:5px 0;border:1px solid #d2d2d2;background:#fff;box-shadow:0 2px 4px #0002}.users-query-options[hidden],.users-query-options [hidden]{display:none}.users-query-options button{display:block;width:100%;height:36px;border:0;background:#fff;color:#666;text-align:left;padding:0 10px;font-size:14px;cursor:pointer}.users-query-options button:hover{background:#f2f2f2}
#contract-refund-dialog{box-sizing:border-box;width:min(500px,calc(100vw - 32px));height:min(800px,calc(100vh - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:0;background:#fff;color:#555;box-shadow:0 8px 30px #0003}#contract-refund-dialog::backdrop{background:#0009}.refund-heading{height:50px;box-sizing:border-box;padding:15px 20px;border-bottom:1px solid #eee;color:#333;font-size:14px}.refund-row{display:flex;align-items:center;margin:18px 20px 0;font-size:14px}.refund-row>span:first-child{box-sizing:border-box;width:110px;min-width:110px;padding:10px 12px;background:#fafafa;text-align:center}.refund-row>input{box-sizing:border-box;flex:1;min-width:0;height:38px;padding:6px 10px;border:1px solid #eee}.refund-radios{display:flex;gap:22px;padding-left:10px}.refund-radios label{display:flex;align-items:center;gap:5px;white-space:nowrap}.refund-radios input{accent-color:#16b58b}.refund-note{display:block;margin:18px 20px 0;font-size:14px}.refund-note>span{display:block;width:110px;padding:10px 0;background:#fafafa;text-align:center}.refund-note textarea{box-sizing:border-box;width:100%;height:100px;padding:10px;border:1px solid #eee;resize:vertical}#contract-refund-error{margin:10px 20px}.refund-submit{display:block;margin:18px 20px 0 auto;padding:9px 18px;border:0;border-radius:0;background:#1e9fff;color:white;cursor:pointer}.refund-submit:disabled{opacity:.5}
