:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#182b3a;background:#f3f6f8;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #cbd5df;border-radius:8px;background:white;padding:9px 14px;color:#213c51}button.primary{background:#116f67;color:white;border-color:#116f67}button:disabled{opacity:.45;cursor:default}input,select,textarea{border:1px solid #cbd5df;border-radius:7px;padding:9px;width:100%;background:white;color:inherit}textarea{min-height:90px;resize:vertical}header{background:#fff;border-bottom:1px solid #dde5ec;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}h1{font-size:20px;margin:0}h2{font-size:17px;margin:0 0 14px}h3{font-size:15px;margin:0 0 10px}.muted{color:#677b8a;font-size:13px;line-height:1.6}.shell{max-width:1250px;margin:auto;padding:20px}.toolbar,.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar{margin-bottom:18px}.toolbar select,.toolbar input{width:auto;max-width:260px}.nav{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.nav button.active{color:#116f67;border-color:#116f67;background:#e9f4f1}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.card{background:#fff;border:1px solid #dfe6ed;border-radius:12px;padding:18px;margin-bottom:14px}.metric{font-size:27px;font-weight:650;margin:8px 0}.badge{display:inline-block;border-radius:5px;background:#eaf0f5;padding:4px 7px;font-size:12px;margin-right:5px}.warn{background:#fff1d6;color:#876119;padding:12px;border-radius:8px;margin:10px 0;line-height:1.7}.success{background:#e0f2eb;color:#205e47}.task-head{display:flex;justify-content:space-between;gap:15px}.task p{white-space:pre-wrap;line-height:1.7}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}label{display:block;margin:12px 0 5px;line-height:1.5}.checks{border-left:3px solid #d1e4de;padding-left:13px;margin:12px 0}.checks div{margin:8px 0;line-height:1.6}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid #e5ebf0;white-space:nowrap}td.wrap{white-space:normal;min-width:200px}dialog{border:1px solid #dbe3ea;border-radius:14px;padding:24px;width:min(650px,94vw);max-height:90vh;overflow-y:auto}dialog::backdrop{background:#172e4080}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.wide{grid-column:1/-1}input[type=checkbox]{width:auto}.error{color:#ae3232;white-space:pre-wrap;padding:10px 0}.empty{text-align:center;padding:35px 15px;color:#758895}details{margin:12px 0}pre{white-space:pre-wrap;word-break:break-word;font-size:12px;background:#f5f7f9;padding:12px;border-radius:8px}#login{max-width:400px;margin:60px auto}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#193d45;color:white;padding:12px 20px;border-radius:9px;z-index:10;display:none}.hidden{display:none!important}@media(max-width:600px){header{padding:14px}.shell{padding:12px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.task-head{flex-direction:column}.metric{font-size:23px}dialog{padding:18px}.toolbar select,.toolbar input{max-width:100%;flex:1}}
#modal-form [hidden]{display:none!important}
.work-task-toolbar{padding:16px 0;border-top:1px solid #dfe6ed;margin:4px 0 16px}.work-task-toolbar h2{margin:0}.work-task-toolbar label{max-width:240px}.nav button{min-height:44px}.card{border-radius:8px}#login{max-width:520px}.checks{border-left-width:1px}input,select,textarea{font-size:16px}button:focus-visible,a:focus-visible{outline:2px solid #116f67;outline-offset:3px}
.employee-work-mode .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.employee-work-mode .grid .card{padding:12px;margin:0;font-size:13px}.employee-work-mode .metric{font-size:23px;margin-bottom:0}@media(max-width:600px){.employee-work-mode header{flex-wrap:wrap;align-items:flex-start}.employee-work-mode header .row{margin-left:auto}.employee-work-mode header button{padding:8px 10px}.employee-work-mode .grid .card{padding:10px}.employee-work-mode .metric{font-size:21px}}
.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 18px}.section-row h2{margin:0}.account-editor{border-top:1px solid #cbd5df;padding-top:24px;margin-top:24px}.account-editor[hidden]{display:none}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.business-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.business-tabs button.active{background:#e9f4f1;border-color:#116f67;color:#116f67}.business-filters{display:flex;align-items:flex-end;gap:12px;margin-bottom:20px}.business-filters label{min-width:0;max-width:350px;flex:1;margin:0}.business-filters button{min-height:44px}td{font-variant-numeric:tabular-nums}.actions{margin-top:8px}button:hover:not(:disabled){background:#edf3f5}button.primary:hover:not(:disabled){background:#095f57}::selection{background:#d1e4de;color:#182b3a}input,textarea{caret-color:#116f67}.table-wrap:focus-visible{outline:2px solid #116f67}@media(max-width:600px){.permission-grid{grid-template-columns:1fr}.business-filters{flex-wrap:wrap}.business-filters label{flex-basis:100%;max-width:none}.section-row{flex-wrap:wrap}.account-editor{padding-top:18px}}
