.month-end main{max-width:76rem;margin-inline:auto;padding:clamp(1rem,3vw,3rem);overflow-wrap:anywhere}.month-end h1{font:550 clamp(2.1rem,4vw,3.5rem)/1.05 var(--display);letter-spacing:-.04em;margin:.5rem 0 1.5rem}.month-end h2{font-size:1.3rem;margin:.4rem 0 .75rem}.month-end .selectors,.month-end .section-head,.month-end form{display:flex;gap:.65rem;align-items:end;flex-wrap:wrap}.month-end label{display:grid;gap:.35rem;color:var(--muted);min-width:0}.month-end .selectors label{flex:1 1 12rem;max-width:20rem}.month-end input,.month-end select,.month-end button{min-height:44px;max-width:100%}.month-end :is(.hint,#period,#count,#notice){color:var(--muted)}.month-end .section-head{align-items:center;justify-content:space-between}.month-end #period{margin:1rem 0}.month-end section,.month-end #report>details{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--line)}.month-end #summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem;margin:1rem 0}.month-end #summary button{display:grid;text-align:left;background:var(--surface);border:1px solid var(--line);color:var(--ink);gap:.3rem}.month-end #summary strong{font:550 1.5rem var(--display)}.month-end button[aria-pressed=true]{border-color:var(--accent)!important}.month-end small{color:var(--muted)}.month-end ul{list-style:none;margin:0;padding:0}.month-end #entries li,.month-end .record{display:grid;gap:.25rem;border-bottom:1px solid var(--line);padding:.8rem 0}.month-end summary{min-height:44px;cursor:pointer;align-content:center}.month-end details p{max-width:72ch}.month-end .commands{margin:.7rem 0}.month-end form label.check{display:flex;align-items:center;gap:.4rem}.month-end label.check input{min-height:1rem}.month-end #more{margin:.8rem 0}.month-end:not(.reviewing-workspace) #finance-work:not([hidden]){visibility:visible}@media(max-width:520px){.month-end .mgmt-header{flex-wrap:wrap}.month-end form{align-items:stretch;flex-direction:column}.month-end form button{width:100%}}

.month-end #entries a{width:fit-content;max-width:100%;padding:.25rem 0;text-underline-offset:.18em}.month-end #trace ul{margin:.75rem 0}.month-end #trace li{padding:.3rem 0;color:var(--muted)}

.month-end #shift-closeout>summary{font-weight:650;font-size:1.12rem}
.month-end #shift-closeout>form{margin:.65rem 0}
.month-end .shift-version{margin:1rem 0;border-top:1px solid var(--line);padding:.8rem 0}
.month-end .shift-version h3{margin:.25rem 0;font-size:1.15rem}
.month-end .shift-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.65rem;margin:1rem 0}
.month-end .shift-facts>div{border-inline-start:2px solid var(--line);padding-inline-start:.65rem}
.month-end .shift-facts dt{font-size:.83rem;color:var(--muted)}
.month-end .shift-facts dd{font:550 1.25rem var(--display);font-variant-numeric:tabular-nums;margin:.2rem 0}
.month-end .shift-actions{display:flex;align-items:end;gap:.65rem;flex-wrap:wrap;margin:.8rem 0}
.month-end .shift-version form{display:grid;max-width:33rem;align-items:start;margin:.8rem 0}
.month-end .shift-version form button{width:fit-content}
.month-end .shift-rows li a{min-height:44px;display:inline-flex;align-items:center;width:fit-content}

.month-end .location-ledger{margin:1rem 0;border:1px solid var(--line);border-radius:.6rem;padding:clamp(.75rem,2vw,1.2rem)}
.month-end .location-ledger h3{margin:.1rem 0 .55rem;font-size:1.06rem}
.month-end .location-ledger p{margin:.25rem 0 .65rem;color:var(--muted)}
.month-end .location-ledger li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .75rem;padding:.55rem 0;border-top:1px solid var(--line)}
.month-end .location-ledger small{grid-column:1/-1}
.month-end .location-ledger strong{font-variant-numeric:tabular-nums}
@media(max-width:520px){.month-end .location-ledger li{grid-template-columns:1fr}}
