.weekly-reference {max-width:76ch;margin-inline:auto;line-height:1.85}
.weekly-reference section {margin-block:2rem;scroll-margin-top:6rem}
.weekly-reference .table-wrap {overflow-x:auto}
.weekly-reference table {width:100%;border-collapse:collapse}
.weekly-reference th,.weekly-reference td {padding:.6rem;border:1px solid #64748b;text-align:start}
.weekly-calculator,.weekly-sheet {border:1px solid #64748b;border-radius:.75rem;padding:1rem}
.weekly-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}
.weekly-reference label {display:block;font-weight:600}
.weekly-reference input,.weekly-reference textarea {width:100%;box-sizing:border-box;padding:.65rem;border:1px solid #64748b;border-radius:.3rem;background:#fff;color:#0f172a;font:inherit}
.weekly-reference button {padding:.7rem 1rem;margin-block:1rem;background:#065f46;color:#fff;border:2px solid transparent;border-radius:.4rem;font:inherit;cursor:pointer}
.weekly-reference :focus-visible {outline:3px solid #2563eb;outline-offset:3px}
.weekly-reference [aria-invalid="true"] {border:2px solid #b91c1c}
.weekly-reference [hidden] {display:none!important}
.weekly-reference dt {font-weight:bold}
.weekly-reference dd {margin-inline-start:1rem}
.weekly-sheet textarea {min-height:5rem;resize:vertical}
@media print {
 @page {margin:14mm}
 body {background:white!important;color:black!important}
 body * {visibility:hidden!important;display:none!important}
 body *:has(.weekly-sheet),.weekly-sheet,.weekly-sheet * {display:revert!important}
 html,body,body *:has(.weekly-sheet) {margin:0!important;padding:0!important;max-width:none!important;min-height:0!important;height:auto!important;overflow:visible!important}
 .weekly-sheet,.weekly-sheet * {visibility:visible!important;color:black!important;box-shadow:none!important}
 .weekly-sheet {position:static;width:100%;border:0;background:white!important;box-sizing:border-box;font-size:11pt;line-height:1.5}
 .weekly-sheet input,.weekly-sheet textarea {border:1px solid #555;min-height:2.5rem;background:white!important}
 .weekly-sheet textarea {height:5rem}
 .weekly-sheet button {display:none!important}
}
