.municipal-dashboard,
.municipal-form-page,
.municipal-town-services {
	padding: 40px 0;
}

.municipal-dashboard__header,
.municipal-form-hero,
.municipal-town-services__header {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 28px;
}

.municipal-dashboard__header h1,
.municipal-form-hero h1,
.municipal-town-services__header h2 {
	margin: 0 0 8px;
}

.municipal-dashboard__header p,
.municipal-town-services__header p,
.municipal-form-hero__description,
.municipal-empty-state p,
.municipal-file-preview p {
	color: #64748b;
}

.municipal-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.municipal-card,
.municipal-empty-state,
.municipal-success-panel,
.municipal-instructions,
.municipal-file-preview {
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.municipal-card__eyebrow,
.municipal-form-hero__eyebrow {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #075985;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 12px;
}

.municipal-card h3,
.municipal-card h4,
.municipal-empty-state h3,
.municipal-success-panel h3,
.municipal-instructions h3 {
	margin-top: 0;
}

.municipal-card__category,
.municipal-form-hero__town,
.municipal-table__muted {
	color: #475569;
	font-size: 14px;
}

.municipal-card__actions,
.municipal-success-panel__actions,
.municipal-dashboard__actions,
.municipal-editor__footer {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.municipal-card__actions a,
.municipal-table__downloads a {
	color: #0f766e;
	font-weight: 600;
}

.municipal-card__delete {
	color: #b91c1c;
}

.municipal-editor__grid,
.municipal-form-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 24px;
}

.municipal-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.municipal-field span {
	font-weight: 600;
	color: #0f172a;
}

.municipal-field input,
.municipal-field select,
.municipal-field textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
}

.municipal-builder {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid #dbe3ec;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

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

.municipal-builder__rows {
	display: grid;
	gap: 16px;
}

.municipal-builder__row {
	border: 1px solid #d9e2ec;
	border-radius: 16px;
	padding: 18px;
	background: #fff;
}

.municipal-builder__row-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.municipal-builder__row-grid label {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.municipal-builder__checkbox {
	align-self: end;
	flex-direction: row;
	align-items: center;
}

.municipal-builder__help,
.municipal-builder__row-grid label span {
	color: #334155;
	font-size: 13px;
}

.municipal-builder__remove {
	margin-top: 14px;
}

.municipal-public-form,
.municipal-submissions-table {
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.municipal-public-form__grid,
.municipal-public-form__schema {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.municipal-public-form__schema {
	margin-top: 22px;
}

.municipal-public-form__footer {
	margin-top: 24px;
}

.municipal-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.municipal-submissions-table table {
	width: 100%;
	border-collapse: collapse;
}

.municipal-submissions-table th,
.municipal-submissions-table td {
	padding: 14px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
}

.municipal-table__downloads {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.municipal-town-services {
	background: linear-gradient(180deg, rgba(224, 242, 254, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
}

.municipal-town-services__group + .municipal-town-services__group {
	margin-top: 28px;
}

@media (max-width: 992px) {
	.municipal-editor__grid,
	.municipal-form-hero,
	.municipal-public-form__grid,
	.municipal-public-form__schema {
		grid-template-columns: 1fr;
	}

	.municipal-dashboard__header,
	.municipal-builder__header,
	.municipal-town-services__header {
		flex-direction: column;
	}
}
