#response-list,
.response-list{
	width:100%;
	box-sizing:border-box;
}

#response-list{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:14px;
	position:relative;
	transition:opacity .18s ease;
}

#response-list.budget-is-loading{
	opacity:.62;
	pointer-events:none;
}

[data-budget-layout-is-hidden="1"]{
	display:none !important;
}

.budget-panel,
.budget-result-card,
.budget-pagination{
	width:min(100% - 32px, 1120px);
	box-sizing:border-box;
	margin:0 auto;
	border:1px solid rgba(18,60,104,.14);
	border-radius:8px;
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	box-shadow:0 14px 32px rgba(18,60,104,.08);
	color:var(--blue-dark);
}

.budget-panel{
	padding:22px;
}

.budget-panel-heading{
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:18px;
	margin-bottom:18px;
}

.budget-kicker{
	margin:0 0 6px;
	font-size:.78rem;
	font-weight:800;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--purple-medium);
}

.budget-panel h2,
.budget-result-card h3{
	margin:0;
	color:var(--blue-dark);
	overflow-wrap:anywhere;
}

.budget-total{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:4px;
	white-space:nowrap;
}

.budget-total span,
.budget-result-side span,
.budget-result-topline span,
.budget-result-details{
	font-size:.86rem;
	color:rgba(18,60,104,.72);
}

.budget-total strong,
.budget-result-side strong{
	font-size:1.28rem;
	color:var(--green-dark);
}

.budget-filter-form{
	display:grid;
	grid-template-columns:repeat(3, minmax(150px, 1fr));
	gap:10px;
	align-items:end;
}

.budget-payroll-form{
	grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
}

.budget-department-analysis-form{
	grid-template-columns:repeat(3, minmax(0, 1fr)) auto;
	margin-top:14px;
	margin-bottom:14px;
	padding:14px;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:rgba(255,255,255,.62);
	align-items:end;
}

.budget-department-analysis-form label[for="department-analysis-search"]{
	grid-column:1;
	grid-row:1;
}

.budget-department-analysis-form #department-analysis-search{
	grid-column:1;
	grid-row:2;
}

.budget-department-analysis-form label[for="department-analysis-type"]{
	grid-column:2;
	grid-row:1;
}

.budget-department-analysis-form #department-analysis-type{
	grid-column:2;
	grid-row:2;
}

.budget-department-analysis-form label[for="department-analysis-department"]{
	grid-column:3;
	grid-row:1;
}

.budget-department-analysis-form #department-analysis-department{
	grid-column:3;
	grid-row:2;
}

.budget-department-analysis-form .budget-filter-actions{
	grid-column:4;
	grid-row:2;
	justify-content:flex-end;
	align-self:end;
}

.budget-filter-form label{
	font-size:.82rem;
	font-weight:800;
	color:var(--blue-dark);
}

.budget-module-body > .budget-filter-form > label,
.budget-payroll-form > label{
	grid-row:1;
}

.budget-filter-form select,
.budget-filter-form input{
	width:100%;
	min-height:42px;
	box-sizing:border-box;
	border:0;
	border-radius:6px;
	outline:1px solid var(--blue-medium);
	padding:9px 10px;
	color:var(--blue-dark);
	background:#fff;
	font:inherit;
}

.budget-filter-form select:focus,
.budget-filter-form input:focus{
	box-shadow:0 0 2px 1px var(--blue-dark);
}

.budget-filter-actions{
	grid-column:1 / -1;
	display:flex;
	gap:10px;
	justify-content:flex-end;
	align-items:center;
}

.budget-dashboard,
.budget-graph-panel,
.budget-payroll-panel{
	width:min(100% - 32px, 1120px);
}

.budget-official-module{
	width:min(100% - 32px, 1120px);
}

.budget-module-summary{
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:18px;
	list-style:none;
	cursor:pointer;
}

.budget-module-summary > span:first-child{
	display:flex;
	flex-direction:column;
	gap:4px;
	min-width:0;
	margin-right:auto;
}

.budget-module-summary strong{
	color:var(--blue-dark);
	font-size:1.35rem;
	overflow-wrap:anywhere;
}

.budget-module-body{
	display:grid;
	gap:18px;
	margin-top:18px;
}

.budget-module-body .budget-graph-panel,
.budget-module-body .budget-results{
	width:100%;
	margin:0;
}

.budget-module-body .budget-graph-panel{
	padding-top:4px;
	border-top:1px solid rgba(18,60,104,.1);
}

.budget-source-note{
	margin:0 0 16px;
	color:rgba(18,60,104,.78);
	line-height:1.5;
	font-weight:700;
}

.budgetary-funds-panel{
	order:-3;
}

.budget-year-selector-panel{
	width:min(100% - 32px, 1120px);
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:18px;
	border-color:rgba(138,92,246,.32);
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	box-shadow:0 18px 42px rgba(87,55,150,.16);
	order:-20;
}

.budget-year-selector-copy{
	min-width:0;
}

.budget-year-selector-copy h2{
	margin:0;
	color:var(--blue-dark);
	font-size:2.1rem;
	line-height:1;
}

.budget-year-selector-copy h2 span{
	display:inline-block;
	color:var(--purple-medium);
	font-size:1.35em;
	font-weight:900;
	text-shadow:
		2px 2px 0 rgba(18,60,104,.16),
		-1px 1px 0 rgba(255,255,255,.92),
		0 6px 14px rgba(138,92,246,.22);
	transform:skew(-6deg) rotate(-1deg);
}

.budget-year-selector-copy p:last-child{
	margin:8px 0 0;
	color:rgba(18,60,104,.74);
	font-weight:800;
	line-height:1.45;
}

.budget-year-selector-form{
	display:grid;
	grid-template-columns:minmax(190px, 1fr) auto;
	gap:8px;
	align-items:end;
	min-width:min(100%, 360px);
}

.budget-year-selector-form label{
	grid-column:1 / -1;
	color:var(--blue-dark);
	font-size:.82rem;
	font-weight:900;
	text-transform:uppercase;
}

.budget-year-selector-form select{
	min-height:44px;
	border:2px solid rgba(138,92,246,.55);
	border-radius:8px;
	background:#fff;
	color:var(--blue-dark);
	padding:8px 10px;
	font:inherit;
	font-weight:900;
}

.budget-year-selector-form button{
	min-height:44px;
	border:0;
	border-radius:8px;
	background:var(--purple-medium);
	color:#fff;
	padding:9px 14px;
	font:inherit;
	font-weight:900;
	cursor:pointer;
}

.budget-pdf-library{
	order:-19;
	display:grid;
	gap:14px;
}

.budget-pdf-library .budget-panel-heading{
	margin-bottom:0;
}

.budget-pdf-button-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
	gap:10px;
}

.budget-pdf-button{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	min-height:64px;
	padding:10px 12px;
	border:2px solid #fff;
	border-radius:8px;
	background:#fff;
	color:var(--blue-dark);
	box-sizing:border-box;
	box-shadow:0 8px 18px rgba(18,60,104,.08);
	font-weight:900;
	text-align:center;
	text-decoration:none;
}

.budget-pdf-button span{
	font-size:1.2rem;
	line-height:1;
}

.budget-pdf-button small{
	margin-top:4px;
	color:rgba(18,60,104,.68);
	font-size:.75rem;
	font-weight:800;
}

.budget-pdf-button:hover,
.budget-pdf-button:focus-visible{
	background:rgba(255,255,255,.92);
	color:var(--blue-dark);
	outline:2px solid rgba(74,149,224,.52);
	outline-offset:2px;
}

.budgetary-funds-table-wrap{
	width:100%;
	overflow:auto;
	border:1px solid rgba(18,60,104,.16);
	border-radius:8px;
	background:#fff;
}

.budgetary-funds-table{
	width:100%;
	min-width:1080px;
	border-collapse:collapse;
	color:var(--blue-dark);
	font-size:.9rem;
}

.budgetary-funds-table th,
.budgetary-funds-table td{
	padding:7px 8px;
	border:1px solid rgba(18,60,104,.18);
	text-align:right;
	white-space:nowrap;
}

.budgetary-funds-table th:nth-child(2),
.budgetary-funds-table td:nth-child(2){
	text-align:left;
}

.budgetary-funds-table thead th{
	vertical-align:bottom;
	background:rgba(229,242,255,.84);
	font-weight:900;
	white-space:normal;
	overflow-wrap:normal;
	line-height:1.2;
}

.budgetary-funds-table tbody th:first-child,
.budgetary-funds-table tfoot th:first-child{
	width:42px;
	text-align:center;
	background:rgba(240,236,252,.72);
	font-weight:900;
}

.budgetary-funds-table tbody tr:nth-child(even) td,
.budgetary-funds-table tbody tr:nth-child(even) th{
	background:rgba(248,251,255,.9);
}

.budgetary-funds-table tfoot th,
.budgetary-funds-table tfoot td{
	border-top:2px solid rgba(18,60,104,.32);
	background:rgba(238,248,242,.9);
	font-weight:900;
}

.budget-summary-notes{
	display:grid;
	gap:8px;
	margin:0 0 14px;
	padding:12px 14px;
	border:1px solid rgba(72,49,155,.16);
	border-radius:8px;
	background:rgba(255,255,255,.72);
	color:rgba(18,60,104,.88);
}

.budget-summary-notes p{
	display:grid;
	grid-template-columns:30px 1fr;
	gap:8px;
	margin:0;
	line-height:1.45;
}

.budget-summary-notes span{
	color:var(--purple-medium);
	font-weight:900;
}

.budget-property-tax-allocation{
	margin-top:18px;
}

.budget-property-tax-allocation h3{
	margin:0 0 10px;
	color:var(--blue-dark);
	font-size:1rem;
}

.budget-property-tax-table{
	min-width:760px;
}

.budget-property-tax-table th:first-child,
.budget-property-tax-table td:first-child,
.budget-property-tax-table th:nth-child(2),
.budget-property-tax-table td:nth-child(2){
	text-align:left;
}

.budget-standalone-graph{
	order:-2;
}

.budget-graph-filters{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));
	gap:10px;
	margin-bottom:14px;
}

.budget-graph-filters label{
	display:grid;
	gap:6px;
}

.budget-graph-filters span{
	font-size:.82rem;
	font-weight:800;
	color:var(--blue-dark);
}

.budget-graph-filters input,
.budget-graph-filters select{
	width:100%;
	min-height:40px;
	box-sizing:border-box;
	border:1px solid rgba(18,60,104,.22);
	border-radius:6px;
	padding:8px 10px;
	font:inherit;
	color:var(--blue-dark);
	background:#fff;
}

.budget-add-account{
	border:1px solid var(--blue-dark);
	border-radius:6px;
	background:var(--blue-dark);
	color:#fff;
	padding:10px 14px;
	font:inherit;
	font-weight:800;
	cursor:pointer;
}

.budget-account-selectors{
	display:grid;
	gap:10px;
	margin-bottom:14px;
}

.budget-account-selector{
	display:grid;
	grid-template-columns:minmax(0, 1fr) auto;
	gap:10px;
	align-items:center;
}

.budget-account-selector select{
	min-height:40px;
	border:1px solid rgba(18,60,104,.22);
	border-radius:6px;
	padding:8px 10px;
	font:inherit;
	color:var(--blue-dark);
	background:#fff;
}

.budget-account-selector button{
	border:1px solid rgba(18,60,104,.22);
	border-radius:6px;
	background:#fff;
	color:var(--blue-dark);
	padding:9px 12px;
	font:inherit;
	font-weight:800;
	cursor:pointer;
}

.budget-chart-wrap{
	width:100%;
	height:300px;
	max-width:980px;
	border:1px solid rgba(18,60,104,.14);
	border-radius:8px;
	background:#fff;
	overflow:hidden;
	margin:0 auto;
}

.budget-chart-wrap svg{
	display:block;
	width:100%;
	height:100%;
	shape-rendering:geometricPrecision;
	text-rendering:geometricPrecision;
}

.budget-chart-legend{
	display:flex;
	flex-wrap:wrap;
	gap:8px 12px;
	margin-top:12px;
}

.budget-chart-legend span{
	display:inline-flex;
	align-items:center;
	gap:6px;
	font-size:.88rem;
	font-weight:800;
	color:var(--blue-dark);
}

.budget-chart-legend span::before{
	content:"";
	width:12px;
	height:12px;
	border-radius:50%;
	background:var(--budget-series-color);
	flex:0 0 auto;
}

.budget-analysis-grid{
	width:min(100% - 32px, 1120px);
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap:14px;
	margin:0 auto;
}

.budget-insights-panel{
	width:min(100% - 32px, 1120px);
	display:grid;
	gap:18px;
}

.budget-insights-section{
	display:grid;
	gap:10px;
}

.budget-insights-section-heading{
	padding:0 2px;
}

.budget-insights-section-heading h3{
	margin:0;
	color:var(--blue-dark);
	font-size:1.25rem;
}

.budget-insights-grid{
	width:100%;
	margin:0;
}

.budget-payroll-grid{
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.budget-layout-admin-panel{
	width:min(100% - 32px, 1120px);
	border-color:rgba(138,92,246,.22);
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	order:-10;
}

.budget-layout-actions{
	display:flex;
	gap:8px;
	flex-wrap:wrap;
	justify-content:flex-end;
}

.budget-layout-actions button,
.budget-layout-drag-handle,
.budget-layout-collapse-toggle{
	border:0;
	border-radius:6px;
	background:var(--blue-dark);
	color:#fff;
	font:inherit;
	font-weight:900;
	cursor:pointer;
}

[data-budget-layout-module],
[data-budget-layout-card]{
	position:relative;
}

.budget-layout-actions button{
	min-height:38px;
	padding:8px 12px;
}

.budget-layout-actions button + button{
	background:var(--purple-medium);
}

.budget-layout-controls{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap:12px;
}

.budget-layout-control-group{
	min-width:0;
	padding:12px;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:rgba(255,255,255,.74);
}

.budget-layout-control-group h3{
	margin:0 0 8px;
	color:var(--blue-dark);
	font-size:1rem;
}

.budget-layout-toggle{
	display:flex;
	align-items:flex-start;
	gap:8px;
	padding:6px 0;
	color:var(--blue-dark);
	font-weight:800;
	line-height:1.25;
}

.budget-layout-toggle input{
	margin-top:2px;
	flex:0 0 auto;
}

.budget-layout-status{
	min-height:18px;
	margin:10px 0 0;
	font-weight:900;
	color:rgba(18,60,104,.72);
}

.budget-layout-status[data-tone="success"]{
	color:var(--green-dark);
}

.budget-layout-status[data-tone="error"]{
	color:#b42318;
}

.budget-layout-drag-handle,
.budget-layout-collapse-toggle{
	position:absolute;
	top:8px;
	z-index:3;
	width:24px;
	height:24px;
	padding:0;
	border-radius:50%;
	opacity:.55;
	background:rgba(18,60,104,.88);
	font-size:0;
	line-height:1;
}

.budget-layout-drag-handle{
	right:8px;
}

.budget-layout-collapse-toggle{
	right:38px;
}

.budget-layout-drag-handle::before{
	content:"";
	display:block;
	width:12px;
	height:12px;
	margin:6px auto;
	background:radial-gradient(circle, #fff 1.5px, transparent 2px) 0 0 / 6px 6px;
}

.budget-layout-collapse-toggle::before{
	content:"-";
	display:grid;
	place-items:center;
	width:100%;
	height:100%;
	color:#fff;
	font-size:16px;
	line-height:1;
}

.budget-layout-collapsed .budget-layout-collapse-toggle::before{
	content:"+";
}

.budget-layout-drag-handle:hover,
.budget-layout-drag-handle:focus,
.budget-layout-collapse-toggle:hover,
.budget-layout-collapse-toggle:focus{
	opacity:1;
	outline:2px solid rgba(138,92,246,.45);
	outline-offset:2px;
}

.budget-module-summary{
	padding-right:66px;
}

.budget-layout-collapsed{
	min-height:58px !important;
	max-height:58px;
	overflow:hidden !important;
	padding-top:24px;
}

.budget-layout-collapsed-label{
	display:none;
}

.budget-layout-collapsed .budget-layout-collapsed-label{
	display:block;
	visibility:visible;
	color:var(--blue-dark);
	font-weight:900;
	line-height:1.25;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	padding-right:66px;
}

.budget-layout-collapsed > :not(.budget-layout-drag-handle):not(.budget-layout-collapse-toggle):not(.budget-layout-collapsed-label){
	visibility:hidden;
}

.budget-layout-dragging{
	opacity:.58;
	outline:2px dashed var(--purple-medium);
	outline-offset:3px;
}

.budget-audit-tools-panel{
	width:min(100% - 32px, 1120px);
}

.budget-audit-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 270px), 1fr));
	gap:12px;
}

.budget-audit-card{
	min-width:0;
	padding:14px;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	box-sizing:border-box;
	overflow:hidden;
}

.budget-audit-card-wide{
	grid-column:1 / -1;
}

.budget-audit-card h3{
	margin:0 0 10px;
	color:var(--blue-dark);
	font-size:1.15rem;
	overflow-wrap:anywhere;
}

.budget-audit-card .budget-breakdown-row span,
.budget-audit-card .budget-insight-row span{
	display:flex;
	flex-direction:column;
	gap:3px;
	font-weight:800;
}

.budget-audit-card small{
	font-size:.76rem;
	font-weight:700;
	color:rgba(18,60,104,.62);
}

.budget-audit-metric{
	margin:0 0 8px;
	color:var(--green-dark);
	font-size:1.45rem;
	font-weight:900;
}

.budget-analysis-grid .budget-panel{
	width:100%;
	margin:0;
	min-width:0;
}

.budget-summary-card,
.budget-list-card{
	min-height:100%;
	min-width:0;
	overflow:hidden;
}

.budget-payroll-combined-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap:12px;
	margin:18px 0;
}

.budget-payroll-combined-grid .budget-summary-card{
	padding:14px;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	box-sizing:border-box;
}

.budget-payroll-table-head{
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	gap:12px;
	margin:18px 0 10px;
}

.budget-year-table,
.budget-department-grid{
	display:grid;
	gap:8px;
}

.budget-department-pies-panel,
.budget-department-bars-panel{
	width:min(100% - 32px, 1120px);
}

.budget-department-pies,
.budget-department-bars{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap:14px;
	margin-top:14px;
}

.budget-department-pie-card,
.budget-department-bar-card{
	min-width:0;
	padding:14px;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:var(--nh-card-bg, rgba(255, 255, 255, .85)) !important;
	box-sizing:border-box;
}

.budget-department-pie-card h3,
.budget-department-bar-card h3{
	margin:0 0 12px;
	color:var(--blue-dark);
	font-size:1.35rem;
}

.budget-department-pie{
	display:block;
	width:100%;
	max-width:760px;
	height:auto;
	margin:0 auto;
	shape-rendering:geometricPrecision;
}

.budget-department-pie-legend{
	display:none;
}

.budget-department-bar-list{
	display:grid;
	gap:12px;
}

.budget-department-bar-row{
	display:grid;
	gap:5px;
}

.budget-department-bar-label{
	display:flex;
	justify-content:space-between;
	gap:12px;
	color:var(--blue-dark);
	font-size:.9rem;
	font-weight:800;
	overflow-wrap:anywhere;
}

.budget-department-bar-label span{
	min-width:0;
}

.budget-department-bar-label strong{
	color:var(--green-dark);
	white-space:nowrap;
}

.budget-department-bar-track{
	height:12px;
	border-radius:999px;
	background:rgba(18,60,104,.1);
	overflow:hidden;
}

.budget-department-bar-fill{
	height:100%;
	min-width:4px;
	border-radius:999px;
}

.budget-year-table div,
.budget-breakdown-row,
.budget-insight-row{
	display:flex;
	justify-content:space-between;
	gap:12px;
	padding:9px 0;
	border-bottom:1px solid rgba(18,60,104,.1);
}

.budget-year-table div:last-child,
.budget-breakdown-row:last-child,
.budget-insight-row:last-child{
	border-bottom:0;
}

.budget-year-table strong,
.budget-breakdown-row span,
.budget-insight-row span{
	color:var(--blue-dark);
	min-width:0;
	overflow-wrap:anywhere;
}

.budget-breakdown-row strong,
.budget-insight-row strong{
	color:var(--green-dark);
	white-space:nowrap;
}

.budget-insight-row{
	cursor:pointer;
}

.budget-insight-row span{
	display:flex;
	flex-direction:column;
	min-width:0;
	font-weight:800;
}

.budget-insight-row small{
	margin-top:3px;
	font-size:.78rem;
	font-weight:700;
	color:rgba(18,60,104,.62);
}

.budget-mini-years{
	grid-column:1 / -1;
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(96px, 1fr));
	gap:8px;
	border-top:1px solid rgba(18,60,104,.12);
	padding-top:10px;
}

.budget-mini-years span{
	display:flex;
	flex-direction:column;
	gap:2px;
	padding:8px;
	border-radius:6px;
	background:rgba(255,255,255,.68);
	color:rgba(18,60,104,.8);
	font-weight:800;
}

.budget-mini-years b{
	font-size:.76rem;
	color:rgba(18,60,104,.62);
}

.budget-payroll-table-wrap{
	width:100%;
	overflow-x:auto;
	overflow-y:visible;
	max-height:none;
	border:1px solid rgba(18,60,104,.12);
	border-radius:8px;
	background:#fff;
}

.budget-payroll-table{
	width:100%;
	min-width:760px;
	border-collapse:collapse;
	color:var(--blue-dark);
}

.budget-payroll-table th,
.budget-payroll-table td{
	padding:10px 12px;
	border-bottom:1px solid rgba(18,60,104,.1);
	text-align:left;
	vertical-align:top;
}

.budget-payroll-table th{
	position:sticky;
	top:0;
	z-index:1;
	background:rgba(230,243,255,.72);
	font-size:.78rem;
	letter-spacing:.06em;
	text-transform:uppercase;
}

.budget-payroll-table th a{
	color:var(--blue-dark);
	text-decoration:none;
}

.budget-payroll-table th a:hover,
.budget-payroll-table th a:focus-visible,
.budget-payroll-table th a.is-active{
	color:var(--purple-medium);
	text-decoration:underline;
}

.budget-payroll-table td:nth-child(5){
	font-weight:900;
	color:var(--green-dark);
	white-space:nowrap;
}

.budget-payroll-table tr:last-child td{
	border-bottom:0;
}

.budget-payroll-table td{
	overflow-wrap:anywhere;
}

.budget-filter-actions button,
.budget-filter-actions a,
.budget-pagination a{
	border:1px solid var(--blue-dark);
	border-radius:6px;
	background:var(--blue-dark);
	color:#fff;
	padding:10px 16px;
	font:inherit;
	font-weight:800;
	text-decoration:none;
	cursor:pointer;
}

.budget-filter-actions a,
.budget-pagination a{
	background:#fff;
	color:var(--blue-dark);
}

.budget-results{
	width:min(100% - 32px, 1120px);
	display:flex;
	flex-direction:column;
	gap:14px;
	margin:0 auto;
}

.budget-results-scroll{
	display:grid;
	gap:14px;
	max-height:720px;
	overflow-y:auto;
	overflow-x:hidden;
	padding-right:6px;
}

.budget-results-heading{
	width:100%;
	box-sizing:border-box;
	padding:4px 2px 0;
	color:var(--blue-dark);
}

.budget-results-heading h2{
	margin:0;
	color:var(--blue-dark);
}

.budget-result-card{
	display:grid;
	grid-template-columns:minmax(0, 1fr) auto;
	gap:12px 18px;
	padding:18px 20px;
	width:100%;
	max-width:100%;
	align-self:start;
}

.budget-result-topline{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-bottom:8px;
}

.budget-result-topline span{
	display:inline-flex;
	border:1px solid rgba(18,60,104,.14);
	border-radius:999px;
	padding:4px 8px;
	background:rgba(255,255,255,.72);
	font-weight:800;
	text-transform:capitalize;
}

.budget-result-main p{
	margin:6px 0 0;
	color:rgba(18,60,104,.78);
	font-weight:800;
}

.budget-result-side{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:4px;
	white-space:nowrap;
}

.budget-result-details{
	grid-column:1 / -1;
	border-top:1px solid rgba(18,60,104,.12);
	padding-top:10px;
}

.budget-result-details summary{
	cursor:pointer;
	font-weight:800;
	color:var(--blue-dark);
}

.budget-result-details p{
	margin:8px 0 0;
	line-height:1.45;
	overflow-wrap:anywhere;
}

.budget-message{
	text-align:center;
}

.budget-message p{
	margin:8px 0 0;
	color:rgba(18,60,104,.78);
}

.budget-pagination{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:14px;
	padding:14px 18px;
}

.budget-pagination span{
	font-weight:800;
	color:var(--blue-dark);
}

.budget-pagination .is-disabled,
.budget-pagination a[aria-disabled="true"]{
	pointer-events:none;
	opacity:.45;
}

.budget-pagination .is-current{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:38px;
	padding:10px 12px;
	border-radius:6px;
	background:var(--blue-dark);
	color:#fff;
}

.budget-payroll-pagination{
	margin-top:12px;
	flex-wrap:wrap;
}

@media only screen and (max-width:760px){
	.budget-panel,
	.budget-result-card,
	.budget-pagination{
		width:100%;
	}

	.budget-panel,
	.budget-pagination{
		width:min(100% - 24px, 1120px);
	}

	.budget-panel-heading,
	.budget-result-card{
		grid-template-columns:1fr;
	}

	.budget-panel-heading,
	.budget-module-summary,
	.budget-year-selector-panel{
		flex-direction:column;
	}

	.budget-year-selector-panel{
		align-items:stretch;
	}

	.budget-year-selector-form{
		min-width:0;
	}

	.budget-year-selector-copy h2{
		font-size:1.55rem;
	}

	.budget-total,
	.budget-result-side{
		align-items:flex-start;
	}

	.budget-filter-form{
		grid-template-columns:1fr;
	}

	.budget-payroll-form{
		grid-template-columns:1fr;
	}

	.budget-department-analysis-form{
		grid-template-columns:1fr;
	}

	.budget-department-analysis-form label[for="department-analysis-search"],
	.budget-department-analysis-form #department-analysis-search,
	.budget-department-analysis-form label[for="department-analysis-type"],
	.budget-department-analysis-form #department-analysis-type,
	.budget-department-analysis-form label[for="department-analysis-department"],
	.budget-department-analysis-form #department-analysis-department,
	.budget-department-analysis-form .budget-filter-actions{
		grid-column:1;
		grid-row:auto;
	}

	.budget-analysis-grid{
		width:min(100% - 24px, 1120px);
	}

	.budget-account-selector,
	.budget-mini-years,
	.budget-payroll-table-head{
		grid-template-columns:1fr;
	}

	.budget-payroll-table-head{
		flex-direction:column;
		align-items:flex-start;
	}

	.budget-filter-form label{
		grid-row:auto;
	}

	.budget-filter-actions,
	.budget-pagination{
		justify-content:stretch;
		flex-wrap:wrap;
	}

	.budget-filter-actions button,
	.budget-filter-actions a,
	.budget-pagination a{
		flex:1 1 150px;
		text-align:center;
	}
}

@media only screen and (max-width:520px){
	.budget-analysis-grid,
	.budget-payroll-combined-grid{
		grid-template-columns:1fr;
	}

	.budget-chart-wrap{
		height:280px;
	}

	.budget-chart-legend span{
		font-size:.8rem;
	}

	.budget-department-pie-card{
		grid-template-columns:1fr;
	}

	.budget-department-pie-card h3,
	.budget-department-bar-card h3{
		text-align:left;
	}
}
