/* Compact operational pages; archive and print retain complete evidence. */
.compact-fls-progress{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;margin-left:auto;padding:.5rem .8rem;border:1px solid var(--line);border-radius:.6rem;background:var(--panel,#fff);color:var(--ink);font-size:.88rem}
.compact-fls-progress>div{display:flex;flex-direction:column;gap:.25rem}
.toolbar .compact-fls-progress label{display:flex;flex-direction:row;align-items:center;gap:.4rem;font-size:.8rem;min-width:0;max-width:none;flex:0}
.compact-fls-progress input{padding:.1rem .3rem;min-height:1.7rem;max-width:10rem}
.compact-fls-progress strong{white-space:nowrap}
.compact-month-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:.7rem;margin:.7rem 0;color:var(--muted,#666)}
.compact-month-total strong{font-size:1.6rem;color:var(--ink)}
.duration-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;grid-column:1/-1;max-width:24rem}
.duration-pair input{width:100%;min-width:0}
.cash-topbar{align-items:flex-end}.cash-booking-action{margin-left:auto;align-self:center}.cash-booking-action button{white-space:nowrap}
.goal-quick-list{display:grid;gap:0}.goal-quick-row{display:grid;grid-template-columns:minmax(10rem,1fr) minmax(16rem,2fr);gap:.4rem 1rem;padding:.7rem 0;border-top:1px solid var(--line)}
.goal-outcome-options{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.35rem .8rem;align-items:center}
.goal-outcome-options label{display:flex;align-items:center;gap:.3rem;margin:0;font-size:.9rem}.goal-outcome-options input{margin:0;width:1.1rem;height:1.1rem;min-height:0}
.goal-confirm{display:flex;align-items:center;justify-content:space-between;gap:.5rem;grid-column:1/-1}.goal-confirm button{padding:.35rem .6rem;font-size:.85rem}.goal-confirm span{font-size:.8rem}
.goal-signed-result{min-width:0;border-left:4px solid var(--accent,#79348c);padding:.35rem .8rem;overflow-wrap:anywhere}.goal-signed-result>strong{display:block;font-size:1rem}.goal-signed-result p{margin:.35rem 0;line-height:1.45}.goal-signed-result small{display:block}
.goal-note{grid-column:1/-1;margin:0}.goal-note summary{font-size:.8rem;padding:.15rem 0}.goal-note input{width:100%;margin-top:.3rem}
.goal-savebar{position:sticky;top:0;z-index:3;background:var(--bg);padding:.4rem 0}.goal-savebar:has(button[hidden]){padding:0}.goal-savebar p:empty{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.medication-month td{padding:.35rem}.med-sheet-cell button{font-size:.78rem;padding:.2rem .35rem}.medication-month th{padding:.45rem}
.compact-operational .table-wrap{max-height:none}.compact-records table{table-layout:fixed}.compact-records th,.compact-records td{white-space:normal;overflow-wrap:anywhere;padding:.6rem}.compact-records th:first-child{width:6.3rem}.compact-records th:nth-child(3){width:4.5rem}.compact-records th:last-child{width:9rem}.compact-evidence{display:grid;gap:.2rem}.compact-evidence small{color:var(--muted)}.compact-evidence button{justify-self:start;padding:.25rem .5rem;min-height:2rem}
@media(max-width:700px){.compact-fls-progress{margin-left:0;width:100%;justify-content:space-between}.goal-quick-row{grid-template-columns:minmax(0,1fr)}.goal-confirm{flex-wrap:wrap}.cash-booking-action{margin-left:0}.duration-pair{max-width:none}.compact-month-total strong{font-size:1.4rem}}
@media print{.compact-fls-progress,.goal-outcome-options,.goal-confirm button,.cash-booking-action{display:none!important}}
