@media(min-width:900px){.tenant-form{grid-template-columns:repeat(3,minmax(0,1fr))}.tenant-form .full{grid-column:1/-1}.landlord-form{grid-template-columns:repeat(3,minmax(0,1fr))}.landlord-form .full{grid-column:1/-1}}.calc-table{width:100%;min-width:1120px;border-collapse:collapse;background:#fff}.calc-table th,.calc-table td{border:1px solid #555;padding:6px 5px;vertical-align:middle}.calc-table th{background:#ccc;text-align:center;font-weight:900}.calc-table td:first-child{text-align:center;width:38px}.calc-table .calc-green td{background:#d7faec}.calc-table .calc-summary td{background:#fffd91;font-weight:700}.calc-table .MuiOutlinedInput-root{background:#fff}.billing-entry{min-height:calc(100vh - 145px);padding:0 6px 18px;background:#efefef;color:#111}.billing-top-form{max-width:1850px;margin-left:110px;padding-top:25px}.billing-form-row{display:flex;align-items:center;gap:8px;min-height:42px}.billing-form-row>label:first-child,.billing-form-spacer{flex:0 0 185px;font-weight:800}.billing-form-row-wrap{flex-wrap:wrap}.billing-inline-label{margin-left:52px;font-weight:800;white-space:nowrap}.billing-required{margin-left:-5px;color:#d40000;font-size:18px;font-weight:900}.billing-calendar{margin-left:-5px;color:#168be1;font-size:31px!important}.billing-control .MuiOutlinedInput-root{height:36px;background:#fff}.billing-control .MuiInputBase-input{padding:7px 11px}.billing-owner{width:290px}.billing-invoice-no{width:307px}.billing-date{width:168px}.billing-meter-row{display:flex;align-items:center;gap:7px;min-height:42px;white-space:nowrap}.billing-meter-row>label{font-weight:800}.billing-meter-name{width:116px;margin-right:160px!important}.billing-meter-number,.billing-meter-rate{width:100px}.billing-meter-total{width:150px}.billing-clear.MuiButton-root{min-width:55px;height:36px;padding:2px 8px;background:#168be1;color:#fff;font-weight:900}.billing-meter-delete{margin-left:1px!important;padding:5px!important}.billing-meter-delete svg{font-size:21px}.billing-add-meter{display:flex;align-items:center;gap:22px;min-height:36px;margin-left:308px}.billing-add-meter .MuiButton-root,.billing-save.MuiButton-root{height:34px;border-color:#c7c7c7;background:#f4f4f4;color:#222;font-weight:800}.billing-note{width:1010px}.billing-address-select{width:190px}.billing-address-custom{width:640px}.billing-transport-period{width:190px}.billing-transport-amount{width:170px}.billing-transport-row>strong{margin-left:18px}.billing-contract-fieldset{min-width:0;margin:24px 0 0 110px;padding:10px 12px 0;border:1px solid #666;background:#efefef}.billing-contract-fieldset legend{padding:0 8px;color:#071cbd;font-size:18px;font-weight:900}.billing-section-band{height:42px;display:flex;align-items:center;justify-content:center;margin-bottom:4px;background:#999;color:#111;font-size:16px;font-weight:900}.billing-search-row{display:flex;align-items:center;gap:7px;min-height:44px;margin-bottom:4px}.billing-search-row>b{font-weight:900;white-space:nowrap}.billing-search-label{margin-left:2px}.billing-search-row .MuiOutlinedInput-root{height:36px;background:#fff}.billing-month-select{width:190px}.billing-year-select{width:125px}.billing-search-text{width:310px}.billing-search-select{width:275px}.billing-search-row .MuiButton-contained{min-width:84px;height:36px;padding:3px 10px;background:#168be1;font-weight:900}.billing-contract-scroll{width:100%;overflow-x:auto}.billing-contract-table{width:100%;min-width:1420px;border-collapse:collapse;table-layout:fixed;background:#fff;font-size:13px}.billing-contract-table th,.billing-contract-table td{height:48px;padding:4px 6px;border:1px solid #383838;box-sizing:border-box;vertical-align:middle;overflow-wrap:anywhere}.billing-contract-table th{height:50px;background:#c6c6c6;text-align:center;font-weight:900}.billing-contract-table tbody tr{cursor:pointer}.billing-contract-table tbody tr:nth-child(odd){background:#ffc3c3}.billing-contract-table tbody tr:nth-child(2n){background:#fff}.billing-contract-table tbody tr:hover{background:#ffd8d8}.billing-contract-table tbody tr.billing-row-selected{box-shadow:inset 5px 0 #168be1;background:#ffe1e1}.billing-contract-table .center{text-align:center}.billing-contract-table .right{text-align:right;font-variant-numeric:tabular-nums}.billing-contract-table .billing-empty{height:72px;text-align:center;background:#fff;cursor:default}.billing-contract-table th:nth-child(1){width:65px}.billing-contract-table th:nth-child(2){width:80px}.billing-contract-table th:nth-child(3){width:180px}.billing-contract-table th:nth-child(4){width:160px}.billing-contract-table th:nth-child(5){width:185px}.billing-contract-table th:nth-child(6){width:360px}.billing-contract-table th:nth-child(7){width:150px}.billing-contract-table th:nth-child(8){width:330px}.billing-contract-table th:nth-child(9){width:150px}.billing-rent-table th:nth-child(10){width:155px}.billing-contract-fieldset .MuiTablePagination-root{background:#fff;border:1px solid #383838;border-top:0}.billing-contract-fieldset .MuiTablePagination-toolbar{min-height:42px}@media(max-width:1450px){.billing-top-form,.billing-contract-fieldset{margin-left:40px}.billing-meter-name{margin-right:80px!important}.billing-inline-label{margin-left:18px}}@media(max-width:1100px){.billing-top-form{margin-left:0;padding-top:10px}.billing-contract-fieldset{margin-left:0}.billing-form-row>label:first-child,.billing-form-spacer{flex-basis:155px}.billing-meter-row{flex-wrap:wrap;padding:5px 0;border-bottom:1px dashed #bbb}.billing-meter-name{margin-right:0!important}.billing-add-meter{margin-left:0}.billing-note{width:calc(100vw - 290px)}.billing-search-row{flex-wrap:wrap}}@media(max-width:760px){.billing-form-row{align-items:flex-start;flex-wrap:wrap}.billing-form-row>label:first-child,.billing-form-spacer{flex-basis:100%;margin-top:4px}.billing-inline-label{width:100%;margin:4px 0 0}.billing-owner,.billing-invoice-no,.billing-date,.billing-note,.billing-address-select,.billing-address-custom,.billing-transport-period,.billing-transport-amount{width:100%}.billing-meter-row>*{flex:1 1 120px}.billing-meter-row>label{flex-basis:100%}.billing-meter-delete{flex:0 0 auto}.billing-search-row{align-items:stretch;flex-direction:column}.billing-month-select,.billing-year-select,.billing-search-text,.billing-search-select{width:100%}}.payment-entry{min-height:calc(100vh - 145px);padding:0 6px 18px;background:#efefef;color:#111}.payment-summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:72px;margin:-7px 0 2px 32%;font-size:16px;font-weight:700}.payment-summary span:nth-of-type(2){margin-left:12px}.payment-total{display:flex;align-items:center;min-width:135px;height:56px;padding:0 10px;border-top:3px solid #4c4c4c;border-left:3px solid #4c4c4c;box-sizing:border-box;color:#111;font-size:28px;line-height:1;font-weight:500;box-shadow:3px 3px #c8c8c8}.payment-total-all{background:#ff0505}.payment-total-paid{background:#00d139}.payment-form{max-width:1800px}.payment-form-row{display:flex;align-items:center;gap:8px;min-height:42px}.payment-form-row>label:first-child,.payment-form-spacer{flex:0 0 150px;font-weight:700}.payment-form-row-wrap{flex-wrap:wrap}.payment-label-inline{margin-left:24px;font-weight:700;white-space:nowrap}.payment-label-compact{font-weight:700;white-space:nowrap}.payment-required{margin-left:-5px;color:#d40000;font-size:17px;font-weight:900}.payment-control .MuiInputBase-root{height:36px;background:#fff}.payment-control-medium{width:290px}.payment-control-short{width:175px}.payment-control-wide{width:310px}.payment-control-date{width:185px}.payment-control-bank{width:250px}.payment-control-bank-detail{width:245px}.payment-control-note{width:min(1010px,calc(100vw - 290px))}.payment-sub-row{padding-left:0}.payment-form-row .MuiButton-outlined{height:36px;padding:3px 12px;border-color:#bdbdbd;background:#f5f5f5;color:#222;font-weight:800}.payment-invoice-fieldset{min-width:0;margin:15px 0 0;padding:8px 10px 0;border:1px solid #777;background:#efefef}.payment-invoice-fieldset legend{padding:0 8px;color:#081dc4;font-size:18px;font-weight:900}.payment-search-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.payment-search-row>b{min-width:102px}.payment-search-row .MuiInputBase-root{height:36px;background:#fff}.payment-search-text{width:310px}.payment-search-select{width:275px}.payment-search-row .MuiButton-contained{min-width:82px;height:36px;padding:3px 10px;background:#087ff5;font-weight:800}.payment-invoice-scroll{width:100%;overflow-x:auto}.payment-invoice-table{width:100%;min-width:1510px;border-collapse:collapse;table-layout:fixed;background:#fff;font-size:13px}.payment-invoice-table th,.payment-invoice-table td{height:46px;padding:3px 5px;border:1px solid #3f3f3f;box-sizing:border-box;vertical-align:middle;overflow-wrap:anywhere}.payment-invoice-table th{height:52px;background:#c6c6c6;text-align:center;font-size:13px;font-weight:900}.payment-invoice-table tbody tr:nth-child(odd){background:#ffc3c3}.payment-invoice-table tbody tr:nth-child(2n){background:#fff}.payment-invoice-table tbody tr:hover{background:#ffd8d8}.payment-invoice-table th:nth-child(1){width:68px}.payment-invoice-table th:nth-child(2){width:155px}.payment-invoice-table th:nth-child(3){width:125px}.payment-invoice-table th:nth-child(4){width:125px}.payment-invoice-table th:nth-child(5){width:105px}.payment-invoice-table th:nth-child(6){width:115px}.payment-invoice-table th:nth-child(7){width:145px}.payment-invoice-table th:nth-child(8){width:175px}.payment-invoice-table th:nth-child(9){width:220px}.payment-invoice-table th:nth-child(10){width:240px}.payment-invoice-table th:nth-child(11){width:135px}.payment-invoice-table .center{text-align:center}.payment-invoice-table .right{text-align:right;font-variant-numeric:tabular-nums}.payment-invoice-table .MuiInputBase-root{height:34px;background:#fff}.payment-invoice-table .MuiInputBase-input{padding:6px 8px;text-align:right}.payment-invoice-table .payment-empty{height:70px;text-align:center;background:#fff}.payment-invoice-fieldset .MuiTablePagination-root{background:#fff;border:1px solid #3f3f3f;border-top:0}.payment-invoice-fieldset .MuiTablePagination-toolbar{min-height:42px}@media(max-width:1100px){.payment-summary{margin-left:0;justify-content:flex-end;flex-wrap:wrap}.payment-form-row>label:first-child,.payment-form-spacer{flex-basis:125px}.payment-label-inline{margin-left:4px}.payment-control-note{width:calc(100vw - 230px)}}@media(max-width:760px){.payment-summary{justify-content:flex-start;font-size:13px}.payment-total{min-width:105px;height:48px;font-size:22px}.payment-form-row{align-items:flex-start}.payment-form-row>label:first-child,.payment-form-spacer{flex-basis:100%;margin-top:4px}.payment-label-inline,.payment-label-compact{width:100%;margin:4px 0 0}.payment-control-medium,.payment-control-short,.payment-control-wide,.payment-control-date,.payment-control-bank,.payment-control-bank-detail,.payment-control-note{width:100%}.payment-search-row{align-items:stretch;flex-direction:column}.payment-search-row>b{min-width:0}.payment-search-text,.payment-search-select{width:100%}}html,body,#root{min-height:100%;margin:0}body{background:#efefef;color:#111}.legacy-shell{min-height:100vh}.legacy-top{position:fixed;z-index:1300;top:0;left:0;right:0;height:42px;display:flex;align-items:stretch;background:#202020;border-bottom:1px solid #080808}.legacy-logo{display:flex;align-items:center;padding:0 17px;color:#fff;font-weight:900;font-style:italic;background:#f7941d}.top-link{display:flex;align-items:center;padding:0 22px;color:#fff;text-decoration:none;font-size:14px;font-weight:800;border-right:1px solid #333}.top-link:hover,.top-link.active{background:#f7941d}.top-link.active{position:relative}.top-link.active:after{content:"";position:absolute;bottom:-7px;left:50%;transform:translate(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #f7941d}.top-user{align-self:center!important;color:#ddd;font-size:11px!important;margin-right:15px!important}.legacy-sub{position:fixed;z-index:1200;top:42px;left:0;right:0;height:33px;display:flex;align-items:center;gap:12px;padding:0 15px;background:linear-gradient(#fb6,#f79a23);box-shadow:0 2px 4px #0003}.legacy-sub b{color:#5b3816}.sub-link{color:#351e08;text-decoration:none;font-size:12px;font-weight:700;padding:8px 5px}.sub-link:hover,.sub-link.active{color:#fff}.icon-rail{position:fixed;z-index:1100;top:75px;bottom:0;left:0;width:62px;background:#fff;border-right:1px solid #ddd;display:flex;align-items:center;flex-direction:column;padding-top:5px}.rail-title{font-size:11px!important;font-weight:800!important;margin-bottom:4px!important}.rail-button{width:48px!important;height:48px!important;margin:2px 0!important;border-radius:0!important;color:#3d3d3d!important}.rail-button svg{font-size:30px!important}.rail-button:hover,.rail-button.active{color:#f28b00!important;background:#fff4e5!important}.rail-button.logout{color:#c80018!important;margin-top:6px!important}.legacy-content{padding:11px 10px 30px 82px;margin-top:75px;min-height:calc(100vh - 75px);background:#efefef;border-radius:0 0 12px 12px}.page-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:8px;min-height:42px}.page-label{font-size:11px!important;font-weight:900!important}.page-title{font-size:13px!important;font-weight:900!important;margin-left:55px!important;margin-top:-2px!important}.page-actions .MuiButton-root{background:#168be1;color:#fff;min-height:24px;padding:2px 10px;margin-left:5px}.MuiPaper-root{border-radius:0!important;box-shadow:none!important;background:transparent!important}.MuiSelect-root.MuiOutlinedInput-root,.MuiSelect-select,.MuiNativeSelect-select,.MuiAutocomplete-root .MuiOutlinedInput-root{background:#fff!important}.MuiMenu-paper.MuiPaper-root,.MuiPopover-paper.MuiPaper-root,.MuiAutocomplete-paper.MuiPaper-root{background:#fff!important;opacity:1!important;box-shadow:0 4px 14px #00000047!important}.MuiMenu-list,.MuiAutocomplete-listbox,.MuiMenuItem-root,.MuiAutocomplete-option{background:#fff!important}.MuiMenuItem-root:hover,.MuiAutocomplete-option[aria-selected=true],.MuiAutocomplete-option.Mui-focused{background:#fff1df!important}.MuiMenuItem-root.Mui-selected{background:#ffe1bd!important}.MuiDataGrid-root{background:#fff;border:1px solid #658170!important}.MuiDataGrid-columnHeaders{border-bottom:2px solid #526d5d!important}.MuiDataGrid-columnHeader{background:#b9d8c5!important;border-right:1px solid #658170!important}.MuiDataGrid-columnHeaderTitle{font-weight:900!important}.MuiDataGrid-cell{border-right:1px solid #9ab2a3!important;border-bottom:1px solid #9ab2a3!important}.MuiDataGrid-row:nth-of-type(odd){background:#fff}.MuiDataGrid-row:nth-of-type(2n){background:#e4f4e9}.MuiDataGrid-row:hover{background:#cfead8!important}.MuiDataGrid-toolbarContainer{background:#f5faf7;border-bottom:1px solid #9ab2a3;padding:5px 8px!important}.MuiDataGrid-footerContainer{min-height:34px!important;background:#fff;border-top:1px solid #658170!important}.MuiDialog-paper{background:#fff!important}.MuiDialogTitle-root{background:#f7941d!important;color:#fff}.status-paid{box-shadow:inset 5px 0 #219653}.status-unpaid{box-shadow:inset 5px 0 #d64545}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 16px}.form-grid .full{grid-column:1/-1}.meter-table{width:100%;border-collapse:collapse;background:#fff}.meter-table th,.meter-table td{border:1px solid #819b8a;padding:6px}.meter-table th{background:#d5eadc}.login{min-height:100vh;display:grid;place-items:center;background:#ddd}.login .MuiPaper-root{background:#e5e5e5!important;border:0!important;width:360px!important}.login .MuiButton-contained{background:#777}.login .MuiTypography-h4{font-size:20px;color:#222}.login .MuiOutlinedInput-root{background:#eee}.table-head{background:#f7941d;color:#fff;font-weight:800}.report-catalog{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:7px;margin-bottom:10px}.report-choice{justify-content:flex-start!important;text-align:left!important;background:#fff!important;color:#222!important;border:1px solid #c9c9c9!important;border-left:5px solid #777!important;border-radius:0!important;padding:8px 10px!important}.report-choice.active{border-left-color:#f7941d!important;background:#fff3e3!important}.report-choice svg{color:#f7941d;margin-right:8px}.report-choice span{display:flex;flex-direction:column}.report-choice small{font-size:10px;color:#777}.report-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.report-toolbar .MuiTypography-root{margin-right:auto}@media(max-width:1100px){.report-catalog{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media(max-width:800px){.legacy-logo{display:none}.top-link{padding:0 10px;font-size:11px}.top-user{display:none}.legacy-sub{overflow-x:auto;white-space:nowrap}.legacy-content{padding-left:72px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.report-catalog{grid-template-columns:1fr}.report-toolbar .MuiTextField-root{width:100%}.meter-table{display:block;overflow-x:auto;white-space:nowrap}}
