.work-form{max-width:640px;margin-inline:auto;display:grid;gap:.7rem}.work-form form{display:grid;gap:.8rem}.work-form label,.work-filters label{display:grid;gap:.3rem;min-width:0}.work-form input,.work-form select,.work-form button,.work-form textarea,.work-filters input,.work-filters select{min-height:48px;font-size:16px;max-width:100%;box-sizing:border-box}.work-form textarea{min-height:70px}.work-form p{margin:.25rem 0}.work-pair{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.work-calculation{border:1px solid var(--line);border-radius:14px;padding:.8rem;background:var(--cream)}.work-calculation strong{font-size:1.6rem;color:var(--ink)}#workError{color:#82302a}.work-list{display:grid;gap:1rem}.work-card{display:flex;justify-content:space-between;align-items:center;gap:1rem}.work-card h2{margin:.5rem 0}.work-card p,.work-selection span{overflow-wrap:anywhere}.work-card>div{min-width:0}.work-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin:0 0 1.3rem}.work-actions a{min-height:54px;display:flex;align-items:center;justify-content:center;text-align:center}.work-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:.75rem;align-items:end}.work-selection input{min-width:24px;width:24px;height:24px}.work-selection{cursor:pointer}.work-selection-total{font-weight:bold;font-size:1.3rem}.work-locked-note{font-size:.9rem}.work-form [hidden]{display:none}.work-form .checkbox-line{display:flex}.work-form .checkbox-line input{min-height:24px}.work-form button{width:100%}
.topbar{position:static}#invoiceForm .line-item-row label{min-width:0}#invoiceForm .line-item-row input{max-width:100%;min-height:48px;box-sizing:border-box}
@media(max-width:1000px){#invoiceForm .line-item-row{grid-template-columns:1fr 1fr}#invoiceForm .line-item-row label:first-of-type{grid-column:1/-1}.work-locked-note{grid-column:1/-1}}
@media(max-width:760px){.work-actions{grid-template-columns:1fr 1fr}.work-filters{grid-template-columns:1fr 1fr}.work-filters label:first-child{grid-column:1/-1}.work-card{align-items:flex-start;flex-direction:column}.work-form{width:100%;min-width:0}.work-pair input{width:100%;min-width:0}.work-selection{padding:1rem}.work-card a.button{min-height:48px;width:100%;box-sizing:border-box}.work-form input[type=date],.work-form input[type=time]{appearance:none;min-width:0}}
#restoreRate{width:auto;justify-self:start;background:transparent;color:var(--ink);border:1px solid var(--line);font-size:.9rem;min-height:44px}.work-actions>a:first-child{font-size:1.2rem;font-weight:700;min-height:64px}.work-card input[type=checkbox]{width:24px;height:24px}.work-card a{display:inline-block;min-height:32px}
@media(max-width:760px){.work-actions>a:first-child{grid-column:1/-1}}
