/* Report-only styles; normal budget typography stays unchanged. */
.report-document{margin:0;background:#eeebde;color:#20241e;font:15px/1.5 Arial,sans-serif}
.budget-report{box-sizing:border-box;max-width:980px;margin:auto;padding:36px;background:#fffdf4;color:#20241e;font:15px/1.5 Arial,sans-serif;text-align:left}
.budget-report *{box-sizing:border-box}
.budget-report h1{font-size:32px;letter-spacing:-1px;line-height:1.15;margin:28px 0 8px}
.budget-report h2{font-size:21px;margin:30px 0 12px}.budget-report h3{font-size:17px;margin:0}
.budget-report p{margin:8px 0 16px;color:#5a5d52}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #d0ccbb;padding-bottom:24px}
.report-brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;letter-spacing:3px}.report-brand small{display:block;font-size:11px;font-weight:400;letter-spacing:4px}.equals-logo{display:grid;place-items:center;width:44px;height:44px;border:3px solid #20241e;border-radius:12px;font-size:34px;line-height:1;letter-spacing:0}
.report-budget{font-size:22px;font-weight:600;overflow-wrap:anywhere}.report-scope{font-size:12px;padding:12px 14px;border-radius:8px;background:#ecefe3}.report-example{font-size:11px;text-transform:uppercase;letter-spacing:1px}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.report-metrics>div{padding:16px;background:#ecefe3;border:1px solid #d0ccbb;border-radius:12px}.report-metrics span{display:block;font-size:12px;margin-bottom:8px}.report-metrics strong{display:block;font-size:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.report-metrics>div:last-child{background:#dce6d5;color:#365440}
.budget-report table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.budget-report th,.budget-report td{text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid #dedbce;overflow-wrap:anywhere}.budget-report thead th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#596354;background:#f1f1e8}.budget-report tbody th{font-weight:500}.budget-report .numeric{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.budget-report td small,.budget-report th small{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#696c62}.budget-report .disabled-item{color:#777}.report-block{margin:18px 0 24px;break-inside:auto}.report-block>header{display:flex;gap:18px;justify-content:space-between;padding:12px 0;border-bottom:2px solid #ccd5c3}.report-block>header>div{min-width:0}.report-block>header p{font-size:11px;margin:4px 0 0;overflow-wrap:anywhere}.report-block>header>strong{font-size:20px;flex-shrink:0}.pot-summary{font-size:12px}.report-end{border-top:1px solid #d0ccbb;margin-top:30px;padding-top:14px;font-size:11px}.report-end small{font-size:10px}
.map-tree,.map-tree ul{list-style:none!important;padding-left:22px!important;margin:12px 0!important;border-left:2px solid #72846a}.map-tree{padding-left:0!important;border-left:0}.map-tree li{position:relative;margin:8px 0;break-inside:avoid}.map-tree ul>li:before{content:'';position:absolute;left:-22px;top:20px;width:22px;border-top:2px solid #72846a}.map-node{display:inline-block;max-width:100%;min-width:160px;padding:10px 16px;border-radius:9px;border:1px solid #b9c4b1;background:#e4eadb;overflow-wrap:anywhere}.map-node small{display:block;font-size:10px;letter-spacing:.5px}.map-node.group{background:#e2eaee;border-color:#bdc8cd}.map-node.pot{background:#efe3c6;border-color:#d2c5a6}
#modal.report-dialog{width:min(1050px,calc(100% - 24px));max-width:1050px;padding:0;background:#fffdf4}#modal.report-dialog>form>header{padding:18px 24px}#modal.report-dialog .dialog-body{padding:0}#modal.report-dialog .form-error{padding:0 24px}#modal.report-dialog .budget-report{padding:28px}#modal.report-dialog .report-toolbar{padding:20px 24px;background:#eeebde;display:flex;flex-wrap:wrap;align-items:center;gap:12px}#modal.report-dialog .report-toolbar label{display:flex;gap:8px;align-items:center;font-size:14px}#modal.report-dialog .report-toolbar select{max-width:100%;min-width:0}#modal.report-dialog .report-toolbar .button{white-space:normal}#modal.report-dialog .report-help{padding:0 24px;font-size:13px}#modal.report-dialog .report-recipients{width:100%;display:flex;gap:12px;align-items:end}#modal.report-dialog .report-recipients .field{flex:1;min-width:0;margin:0}#modal.report-dialog .report-recipients input{min-width:0;width:100%}
.report-action{margin:0 0 20px;display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.budget-report,#modal.report-dialog .budget-report{padding:20px 14px}.report-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.budget-report h1{font-size:26px}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-metrics strong{font-size:22px}.budget-report table{font-size:11px}.budget-report th,.budget-report td{padding:8px 4px}.report-block>header{flex-wrap:wrap}.report-block>header>strong{font-size:20px}#modal.report-dialog .report-recipients{flex-direction:column;align-items:stretch}#modal.report-dialog .report-toolbar{padding:14px}.map-node{min-width:0}.report-brand{font-size:14px}}
@media print{@page{size:A4;margin:14mm}html,body{background:white!important;margin:0!important;padding:0!important;height:auto!important;overflow:visible!important}body:has(#modal.report-dialog[open])>*:not(#modal){display:none!important}#modal.report-dialog[open]{display:block!important;position:static!important;max-height:none!important;height:auto!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}#modal.report-dialog::backdrop{display:none!important}#modal.report-dialog form{display:block!important}#modal.report-dialog form>header,#modal.report-dialog .report-toolbar,#modal.report-dialog .report-help,#modal.report-dialog .form-error{display:none!important}#modal.report-dialog .dialog-body{overflow:visible!important;max-height:none!important}.budget-report,#modal.report-dialog .budget-report{padding:0!important;max-width:none!important;background:white!important;font-size:11px}.budget-report h1{font-size:27px}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;break-inside:avoid}.report-metrics>div{padding:10px}.report-metrics strong{font-size:20px}.report-heading{break-inside:avoid}.budget-report table{font-size:10px}.budget-report thead{display:table-header-group}.budget-report tr{break-inside:avoid}.report-block>header,h2,h3{break-after:avoid}.report-map{break-before:page}.report-end{break-inside:avoid}.map-tree li{break-inside:auto}.map-node{break-inside:avoid}.table-scroll{overflow:visible!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Reset the app's large dialog controls and nested sticky headers on paper. */
#modal.report-dialog{color:#20241e}
#modal.report-dialog>form>header{background:#fffdf4;color:#20241e}
#modal.report-dialog>form>header .icon-button{color:#20241e;background:#fffdf4}
#modal.report-dialog .report-toolbar .field>span{color:#20241e}
#modal.report-dialog .report-help{color:#5a5d52}
#modal.report-dialog .report-toolbar label:has(input){flex:1 0 100%;gap:10px}
#modal.report-dialog .report-toolbar input[type=checkbox]{appearance:auto;width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0;accent-color:#46674f}
#modal.report-dialog .report-recipients .field{display:flex;flex-direction:column;align-items:stretch;gap:8px}
#modal.report-dialog .budget-report header{position:static;top:auto;background:transparent;z-index:auto;border-radius:0}
#modal.report-dialog .budget-report .report-heading{padding:0 0 24px}
#modal.report-dialog .budget-report .report-block>header{padding:12px 0}
.map-tree ul ul ul ul ul{padding-left:0!important;border-left:0}
@media(max-width:600px){#modal.report-dialog .report-toolbar>label:has(select){flex-direction:column;align-items:stretch;width:100%}#modal.report-dialog .report-toolbar label:has(input){flex-direction:row}}
.budget-report .map-node{position:static;display:inline-block;width:auto;height:auto;min-height:0;max-width:100%;transform:none;box-shadow:none;text-align:left}
.budget-report .map-node strong{display:block;white-space:normal;overflow:visible;text-overflow:clip;font-size:13px}
.budget-report .map-node small{white-space:normal}
.budget-report .report-end{display:block;position:static;justify-content:normal}
.budget-report thead th{overflow-wrap:normal;word-break:normal;letter-spacing:.2px;text-transform:none}.budget-report .report-block>header>strong{max-width:100%;overflow-wrap:anywhere}
#modal.report-dialog .select-trigger{background:#fffdf4;color:#20241e}#modal.report-dialog .select-menu{background:#fffdf4;color:#20241e}#modal.report-dialog .select-option{color:#20241e}#modal.report-dialog .select-option:focus,#modal.report-dialog .select-option:hover,#modal.report-dialog .select-option[aria-selected=true]{background:#dce6d5;color:#365440}
