:root{--staff-navy:#183451;--staff-blue:#245fa5;--staff-bg:#f1f3f5;--staff-line:#d6dce3;--staff-muted:#667486}body.staff-page{margin:0;background:var(--staff-bg);color:#203047;font:13px/1.5 "Microsoft YaHei",Arial,sans-serif}.staff-page *{box-sizing:border-box}.staff-page header{background:var(--staff-navy);color:#fff;padding:10px 20px;display:flex;align-items:center;gap:16px}.staff-page header h1{font-size:17px;margin:0}.staff-page a{color:var(--staff-blue)}.staff-page header a{color:#fff;margin-left:auto}.staff-page main{max-width:1220px;margin:16px auto;padding:0 16px}.staff-page .staff-panel{background:#fff;border:1px solid var(--staff-line);padding:14px;margin-bottom:12px}.staff-page h2{font-size:16px;margin:0 0 10px}.staff-page p{margin:7px 0;color:var(--staff-muted)}.staff-page label{display:block;margin-bottom:4px}.staff-page input:not([type=checkbox]),.staff-page select{width:100%;height:32px;padding:4px 8px;border:1px solid #bfcad6;border-radius:3px;background:#fff;font:inherit}.staff-page input:focus,.staff-page select:focus{outline:2px solid #95b9e6;outline-offset:1px}.staff-page button,.staff-page .staff-link{border:1px solid #bdcbd9;border-radius:3px;background:#fff;padding:5px 11px;min-height:30px;color:#243e5b;font:inherit;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.staff-page button.primary{background:var(--staff-blue);border-color:var(--staff-blue);color:#fff}.staff-page button:disabled{opacity:.5;cursor:not-allowed}.staff-page button:hover:not(:disabled){filter:brightness(.96)}.staff-page .staff-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.staff-page .staff-field{margin-bottom:11px}.staff-page .staff-hint{font-size:12px;color:var(--staff-muted)}.staff-page .staff-error{color:#a61e2b;background:#fff1f2;border:1px solid #e8b6bc;padding:8px;white-space:pre-wrap}.staff-page .staff-success{color:#1c653a;background:#eef9f1;border:1px solid #b6d7c0;padding:8px}.staff-page .staff-table{overflow:auto}.staff-page table{border-collapse:collapse;width:100%;font-size:12px}.staff-page th{background:#edf1f5;text-align:left;color:#3f536d;white-space:nowrap}.staff-page td,.staff-page th{padding:7px 9px;border-bottom:1px solid #e1e6ec;vertical-align:top}.staff-page tr:hover td{background:#f2f7fc}.staff-page dialog{width:min(760px,95vw);max-height:92vh;border:1px solid #99a9ba;padding:16px;background:#fff}.staff-page dialog::backdrop{background:#152d4870}.staff-page .staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.staff-page .staff-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;max-height:230px;overflow:auto;border:1px solid var(--staff-line);padding:8px}.staff-page .staff-checks label,.staff-page .staff-inline{display:flex;align-items:center;gap:6px;margin:0}.staff-page .staff-checks input{flex:none}.staff-page .staff-login{max-width:430px;margin:9vh auto}.staff-page .staff-login .staff-panel{padding:24px}.staff-page .staff-login button.primary{width:100%}.staff-page [hidden]{display:none!important}.staff-page .staff-count{margin-left:auto;color:var(--staff-muted)}.staff-strip{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:6px 3px 9px;color:#d8e5f2;font-size:11px}.staff-strip a,.staff-strip button{color:inherit;background:transparent;border:1px solid #57718b;border-radius:3px;padding:2px 5px;font:inherit;text-decoration:none;cursor:pointer}.staff-strip strong{font-size:12px;margin-right:auto}html[data-staff-finance="false"] #tab-finance,html[data-staff-finance="false"] #tab-bill,html[data-staff-finance="false"] #modernOverview [data-tone="green"],html[data-staff-finance="false"] #tab-base [name="notes"]{display:none!important}html[data-staff-cost="false"] .erp-section.payable,html[data-staff-cost="false"] .erp-profit,html[data-staff-cost="false"] .finance-forecast,html[data-staff-cost="false"] [data-audit="payable"]{display:none!important}@media(max-width:650px){.staff-page .staff-grid,.staff-page .staff-checks{grid-template-columns:1fr}.staff-page main{padding:0 8px}.staff-page .staff-login{margin:20px auto}.staff-page header{padding:10px 12px}}
.staff-page dialog .staff-dialog-head{position:relative;display:block;margin:0 0 16px;padding:0 48px 0 0;min-height:38px;width:100%}
.staff-page dialog .staff-dialog-head h2{margin:0;overflow-wrap:anywhere}
.staff-page dialog .staff-dialog-head button{position:absolute;right:0;top:0;width:34px;height:34px;padding:0}
