/* grants.css — Grants and reporting (S656, D-S656-01). Layout only; colours come from theme tokens, shared pieces from atlas.css. */
.gr-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;}
.gr-item{display:block;width:100%;box-sizing:border-box;text-align:left;font:inherit;cursor:pointer;margin:8px 0;padding:10px 12px;min-height:44px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-raised);color:var(--color-text);}
.gr-item .at-h,.gr-item .at-meta{display:block;}
.gr-item:focus-visible{outline:2px solid var(--color-border-strong);outline-offset:2px;}
.gr-lbl{display:block;margin:10px 0 4px;font-size:.85rem;color:var(--color-text-muted);}
.gr-ce{min-height:40px;padding:8px 10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);}
.gr-ce:focus-visible{outline:2px solid var(--color-border-strong);outline-offset:2px;}
.gr-date{display:flex;gap:6px;flex-wrap:wrap;}
.gr-date select,.gr-sel{min-height:44px;padding:6px 8px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);font:inherit;}
.gr-tbl{width:100%;border-collapse:collapse;margin:8px 0 16px;}
.gr-tbl th,.gr-tbl td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--color-border);vertical-align:top;}
.gr-tbl td.gr-n,.gr-tbl th.gr-n{text-align:right;white-space:nowrap;}
.gr-scroll{overflow-x:auto;}
#gr-detail{margin-top:16px;}
@media print{#eco-header-slot,#eco-footer-slot,.gr-tools,#gr-list,.gr-noprint{display:none !important;}.gr-tbl th,.gr-tbl td{border-color:var(--brand-black);color:var(--brand-black);}}
/* S662 D-S662-03: Deadlines weekly sheet. Printed from the browser: overdue plus this week only. */
.dl-printonly{display:none;}
@media print{body.dl-week .dl-printonly{display:block;}body.dl-week .dl-later{display:none;}}
/* S662 D-S662-04: standard response wording keeps its line breaks. */
.cn-r-body{white-space:pre-wrap;}
/* S662 D-S662-05: Report to council prints the counts only. */
@media print{body.rp-council .rp-noprint,body.rp-council .gr-date,body.rp-council .gr-lbl,body.rp-council #rp-msg,body.rp-council .at-hdr{display:none !important;}}
/* S662 D-S662-06: Monitoring prints a timesheet or an invoice on its own. */
.mo-print{display:none;}
@media print{body.mo-printing #mo-root>*{display:none !important;}body.mo-printing #mo-root>#mo-print{display:block !important;}}
/* S662 D-S662-07: pasted letter text keeps its lines. */
.cn-l-text{min-height:160px;white-space:pre-wrap;}
/* S679 D-S679-TERO: Work board application cards on office-work.html. */
.wk-app{margin:10px 0;}
