:root{font-family:system-ui,sans-serif;color:#17313d;background:#f3f6f8;line-height:1.5}
*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;background:white;padding:1rem 3%;border-bottom:1px solid #d7e2e8}.brand{font-weight:750;color:#17313d;text-decoration:none;margin-right:auto}main{max-width:1200px;margin:auto;padding:1.25rem}h1{font-size:1.8rem}h2{font-size:1.3rem}button,input,select,textarea,.button{font:inherit}button,.button{cursor:pointer;border:1px solid #b8ccd5;border-radius:8px;padding:.65rem 1rem;background:white;color:#17313d;text-decoration:none;display:inline-block;min-height:44px}.primary{background:#087b77;color:white;border-color:#087b77}button:disabled{opacity:.6;cursor:wait}nav,.actions{display:flex;gap:.65rem;flex-wrap:wrap}nav button[aria-current=page]{background:#17313d;color:white}a{color:#086969}.panel{background:white;padding:1rem;border:1px solid #d7e2e8;border-radius:10px;margin:1rem 0}.narrow{max-width:440px}label{display:flex;flex-direction:column;gap:.3rem;margin:.7rem 0}input,select,textarea{width:100%;border:1px solid #a3bac6;border-radius:6px;padding:.55rem;background:white;color:#17313d;min-height:44px}textarea{min-height:100px;resize:vertical}.filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap}.filters label{flex:1;min-width:150px;margin:0}.filters button{margin-bottom:0}[hidden]{display:none!important}#message,.notice{border-radius:8px;padding:1rem;background:#fff0cb}#message.good{background:#d9f2e8}#edit-error{color:#a51d26}.totals{font-weight:700}.table-scroll{overflow-x:auto;background:white;border:1px solid #d7e2e8;border-radius:8px}table{border-collapse:collapse;width:100%;min-width:700px}th,td{text-align:left;vertical-align:top;padding:.8rem;border-bottom:1px solid #e1e8ed}th{background:#edf3f6}td p{margin:.2rem 0}.muted{color:#526b78;font-size:.9rem}.tag{padding:.2rem .5rem;border-radius:5px;background:#edf3f6;display:inline-block}.included{background:#d9f2e8}.changed_work,.missing_amount{background:#fff0cb}dialog{border:1px solid #bdd0d9;border-radius:12px;padding:1.25rem;width:min(94vw,700px);max-height:90vh}dialog::backdrop{background:#10283377}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.people{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.4rem}.people label{flex-direction:row;align-items:center;margin:.2rem 0}.people input{width:22px;min-height:22px}fieldset{border:1px solid #d7e2e8;border-radius:8px;margin:1rem 0}footer{padding:2rem;text-align:center;color:#526b78}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c57a00;outline-offset:3px}#detail-content{overflow-wrap:anywhere}@media(max-width:600px){main{padding:.85rem}header{padding:.85rem}nav button{flex:1;min-width:135px}.filters label{min-width:100%;width:100%}h1{font-size:1.5rem}.actions button{width:100%}dialog{padding:1rem}.table-scroll{max-width:100%}}
