/* login css */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: Arial, sans-serif;
	background: #f1f5f9;
	display: flex;
	flex-direction: column;
	color: #243447;
}

.top-bar {
	background: #123f63;
	color: #fff;
	padding: 15px 6%;
	font-size: 14px;
}

.header {
	background: #fff;
	padding: 24px 20px;
	text-align: center;
	border-bottom: 1px solid #e1e8ef;
}

.header h1 {
	margin: 0 0 7px;
	color: #154c79;
	font-size: 30px;
}

.header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.login-wrapper {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 35px 18px;
}

.login-card {
	width: 100%;
	max-width: 430px;
	background: #fff;
	border-radius: 12px;
	padding: 35px;
	box-shadow: 0 8px 30px rgba(18, 63, 99, 0.1);
	border: 1px solid #e3eaf0;
}

.login-card h2 {
	margin: 0 0 8px;
	color: #154c79;
	text-align: center;
	font-size: 25px;
}

.login-subtitle {
	text-align: center;
	color: #718096;
	margin: 0 0 28px;
	font-size: 14px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
}

.form-group input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	outline: none;
	font-size: 15px;
}

.form-group input:focus {
	border-color: #154c79;
	box-shadow: 0 0 0 3px rgba(21, 76, 121, 0.1);
}

.login-btn {
	width: 100%;
	padding: 13px;
	border: none;
	border-radius: 7px;
	background: #154c79;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.login-btn:hover {
	background: #0f3554;
}

.error-message {
	background: #fff0f0;
	border: 1px solid #f2c4c4;
	color: #b42318;
	padding: 11px;
	margin-bottom: 20px;
	border-radius: 6px;
	font-size: 14px;
}

.footer {
	background: #123f63;
	color: #fff;
	text-align: center;
	padding: 15px;
	font-size: 13px;
}

@media (max-width: 480px) {
	.header h1 {
		font-size: 25px;
	}

	.login-card {
		padding: 25px 20px;
	}
}

/* dashboard councillor css*/

/* ===== Councillor Dashboard ===== */

.en-councillor-body {
	margin: 0;
	min-height: 100vh;
	background: #f3f6fa;
	color: #243447;
	font-family: Arial, Helvetica, sans-serif;
}

.en-councillor-body * {
	box-sizing: border-box;
}

.en-topbar {
	width: 100%;
	min-height: 48px;
	display: flex;
	align-items: center;
	padding: 12px 28px;
	background: #123f63;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.en-menu-toggle {
	display: none;
}

.en-dashboard-layout {
	display: flex;
	align-items: stretch;
	min-height: calc(100vh - 48px);
}

/* Sidebar */

.en-sidebar {
	width: 265px;
	min-width: 265px;
	display: flex;
	flex-direction: column;
	background: #154c79;
	color: #fff;
	padding: 0 0 18px;
}

.en-sidebar-brand {
	padding: 27px 23px 23px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.en-sidebar-brand h2 {
	margin: 0;
	color: #fff;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: 0.4px;
}

.en-sidebar-brand p {
	margin: 7px 0 0;
	color: #d5e2ed;
	font-size: 11px;
	line-height: 1.5;
}

.en-sidebar-user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 23px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	overflow-wrap: anywhere;
}

.en-user-avatar {
	width: 43px;
	height: 43px;
	min-width: 43px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #2ecade;
	color: #201414;
	font-size: 19px;
	font-weight: 700;
}
.en-user-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.en-long-textarea {
	min-height: 90px !important;
	width: 100%;
	padding: 14px 16px !important;
	line-height: 1.6 !important;
	resize: vertical;
	box-sizing: border-box;
}
.en-auto-resize {
	box-sizing: border-box !important;
	max-height: none !important;
	overflow-y: hidden !important;
	resize: none !important;
}
textarea.en-auto-resize {
	width: 100%;
	min-height: 5.5rem;
	line-height: 1.55;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.en-long-textarea.en-short-long-textarea {
	min-height: 72px !important;
}
.en-question-metadata {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
	padding: 16px 20px !important;
}
.en-question-metadata p {
	margin: 0 !important;
	padding: 8px 0;
	border-bottom: 1px solid #e7edf5;
	overflow-wrap: anywhere;
}
.en-question-metadata p:last-child {
	grid-column: 1 / -1;
}
.en-question-table-wrap {
	width: 100%;
	overflow-x: auto;
	padding: 14px 18px;
	box-sizing: border-box;
}
.en-question-details-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	color: #30372f;
}
.en-question-details-table th,
.en-question-details-table td {
	padding: 9px 12px;
	border-bottom: 1px solid #e7e4da;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}
.en-question-details-table th {
	width: 24%;
	color: #334237;
	font-weight: 700;
	background: #f8f7f1;
}
.en-question-details-table tr:last-child th,
.en-question-details-table tr:last-child td {
	border-bottom: 0;
}
.en-question-content {
	margin-top: 18px;
}
.en-question-content h4 {
	margin: 0 0 10px;
	color: #1e3a5f;
	font-size: 15px;
}
@media (max-width: 640px) {
	.en-question-metadata {
		grid-template-columns: 1fr;
	}
	.en-question-metadata p:last-child {
		grid-column: auto;
	}
}
@media (max-width: 560px) {
	.en-question-details-table th,
	.en-question-details-table td {
		padding: 8px;
	}
	.en-question-details-table th {
		width: 34%;
	}
}
.en-lob-table td textarea.en-long-textarea {
	min-height: 90px !important;
}
.en-lob-table {
	table-layout: fixed;
	width: 100%;
}
.en-lob-table th:nth-child(-n + 3),
.en-lob-table td:nth-child(-n + 3) {
	width: 3.25rem;
	min-width: 3.25rem;
	max-width: 3.25rem;
}
.en-lob-table th:nth-child(4),
.en-lob-table td:nth-child(4) {
	width: 58%;
}
.en-lob-table th:nth-child(5),
.en-lob-table td:nth-child(5) {
	width: 18%;
}
.en-lob-table th:nth-child(6),
.en-lob-table td:nth-child(6) {
	width: 12rem;
}
.en-lob-table td input.en-lob-number-input {
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100%;
	padding: 5px 4px;
}
.en-lob-table .en-lob-actions-cell .en-lob-zoom-controls {
	display: inline-flex;
	gap: 2px;
}
.en-lob-table .en-lob-actions-cell .en-lob-zoom-controls button {
	min-width: 28px;
	padding-left: 6px;
	padding-right: 6px;
}
.en-lob-question-metadata {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 10px 14px;
	width: 100%;
	min-width: 0;
	margin: 12px 0 14px;
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid #d8d0bb;
	border-radius: 4px;
	background: #fffefa;
}
.en-lob-question-metadata label {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	min-width: 0;
	max-width: 100%;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.en-lob-question-metadata label > span {
	color: #334237;
	font-size: 0.92em;
	font-weight: 700;
}
.en-lob-table .en-lob-question-metadata input {
	display: block;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100%;
	box-sizing: border-box;
}
.en-lob-question-metadata label > strong {
	display: block;
	min-width: 0;
	max-width: 100%;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
@media (max-width: 720px) {
	.en-lob-table-wrap {
		overflow-x: auto;
	}
	.en-lob-table {
		min-width: 860px;
	}
	.en-lob-table th:nth-child(-n + 3),
	.en-lob-table td:nth-child(-n + 3) {
		width: 2.75rem;
		min-width: 2.75rem;
		max-width: 2.75rem;
	}
}
.en-diary-number {
	display: inline-block;
	margin-top: 4px;
	padding: 3px 8px;
	border: 1px solid rgba(184, 151, 82, 0.45);
	border-radius: 4px;
	color: #735b2d;
	background: #fbf8ed;
	font-weight: 700;
	font-size: 12px;
}
.en-pending-pulse {
	animation: en-pending-pulse 1.8s ease-in-out infinite;
	box-shadow: 0 0 0 0 rgba(184, 151, 82, 0.42);
}
@keyframes en-pending-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(184, 151, 82, 0.36);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(184, 151, 82, 0);
	}
}
.en-deadline-upcoming {
	border-color: rgba(184, 151, 82, 0.68);
}
.en-deadline-expired {
	border-color: rgba(125, 58, 48, 0.55);
}
@media (prefers-reduced-motion: reduce) {
	.en-pending-pulse {
		animation: none;
	}
}

.en-sidebar-user strong,
.en-sidebar-user span {
	display: block;
}

.en-sidebar-user strong {
	color: #fff;
	font-size: 13px;
	margin-bottom: 5px;
}

.en-sidebar-user span {
	color: #d5e2ed;
	font-size: 12px;
}

.en-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 18px 12px;
}

.en-sidebar-nav a,
.en-sidebar-nav .en-sidebar-dropdown-toggle {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 15px;
	border-left: 3px solid transparent;
	border-radius: 5px;
	color: #e8f0f7;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.en-sidebar-nav a:hover,
.en-sidebar-nav .en-sidebar-dropdown-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.en-sidebar-nav a.active,
.en-sidebar-nav .en-sidebar-dropdown-toggle.active {
	background: rgba(255, 255, 255, 0.14);
	border-left-color: #b9862f;
	color: #fff;
	font-weight: 700;
}

.en-sidebar-heading {
	padding: 18px 15px 7px;
	color: #bdcfde;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

.en-sidebar-logout {
	display: block;
	margin: auto 12px 0;
	padding: 13px 17px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 13px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.en-sidebar-logout:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

/* Main dashboard area */

.en-dashboard-main {
	flex: 1;
	min-width: 0;
	padding: 26px 28px;
}

.en-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 27px;
}

.en-dashboard-header h1 {
	margin: 0 0 8px;
	color: #183f60;
	font-size: 27px;
	font-weight: 700;
}

.en-dashboard-header p {
	margin: 0;
	color: #718096;
	font-size: 14px;
}

.en-role-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid #d5e4f0;
	border-radius: 20px;
	background: #eaf3fa;
	color: #154c79;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

/* Welcome panel */

.en-welcome-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
	padding: 30px;
	border-radius: 12px;
	background: linear-gradient(120deg, #154c79, #246b99);
	box-shadow: 0 8px 22px rgba(21, 76, 121, 0.12);
	color: #fff;
}

.en-panel-eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	color: #76d0e0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.7px;
}

.en-welcome-panel h2 {
	margin: 0 0 11px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
}

.en-welcome-panel p {
	max-width: 650px;
	margin: 0;
	color: #e1edf6;
	font-size: 14px;
	line-height: 1.8;
}

.en-panel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	min-width: 70px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 36px;
}

/* Sections */

.en-section-block {
	margin-bottom: 32px;
}

.en-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.en-section-heading h2 {
	margin: 0 0 7px;
	color: #183f60;
	font-size: 19px;
	font-weight: 700;
}

.en-section-heading p {
	margin: 0;
	color: #7a8795;
	font-size: 13px;
	line-height: 1.6;
}

/* Dashboard cards */

.en-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.en-dashboard-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 25px;
	border: 1px solid #e1e8ef;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(23, 59, 89, 0.045);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.en-dashboard-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(23, 59, 89, 0.09);
}

.en-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 10px;
	background: #eaf3fa;
	color: #154c79;
	font-size: 21px;
	font-weight: 700;
}

.en-dashboard-card h3 {
	margin: 0 0 11px;
	color: #183f60;
	font-size: 18px;
	font-weight: 700;
}

.en-dashboard-card p {
	margin: 0 0 17px;
	color: #6e7b89;
	font-size: 13px;
	line-height: 1.8;
}

.en-card-note {
	width: 100%;
	margin-top: auto;
	margin-bottom: 18px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f2f6fa;
	color: #45647d;
	font-size: 12px;
	line-height: 1.6;
}

.en-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 18px;
	border: 0;
	border-radius: 6px;
	background: #79154a;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.en-action-btn:hover {
	background: #0f3554;
	color: #fff;
	transform: translateY(-1px);
}

.en-compact-card {
	min-height: 220px;
}

.en-dashboard-footer {
	margin-top: 38px;
	padding: 20px 0 5px;
	border-top: 1px solid #dfe6ed;
	color: #7b8793;
	font-size: 12px;
	text-align: center;
}

/* Question and form pages */

.en-page-heading {
	margin-bottom: 25px;
}

.en-page-heading h1 {
	margin: 0 0 8px;
	color: #183f60;
	font-size: 27px;
}

.en-page-heading p {
	margin: 0;
	color: #718096;
	font-size: 14px;
	line-height: 1.7;
}

.en-question-card {
	padding: 24px;
	border: 1px solid #e1e8ef;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(23, 59, 89, 0.045);
}

.en-question-card h2 {
	margin: 0 0 23px;
	color: #183f60;
	font-size: 20px;
}

.en-question-field {
	margin-bottom: 22px;
}

.en-question-field label {
	display: block;
	margin-bottom: 9px;
	color: #2e4355;
	font-size: 13px;
	font-weight: 700;
}

.en-question-field input,
.en-question-field select,
.en-question-field textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ccd8e2;
	border-radius: 6px;
	background: #fff;
	color: #293d4e;
	font: inherit;
	font-size: 14px;
	outline: none;
}

.en-question-field input:focus,
.en-question-field select:focus,
.en-question-field textarea:focus {
	border-color: #154c79;
	box-shadow: 0 0 0 3px rgba(21, 76, 121, 0.09);
}

.en-question-field textarea {
	min-height: 140px;
	resize: vertical;
}

.en-question-field small {
	display: block;
	margin-top: 8px;
	color: #e61c1c;
	font-size: 12px;
	line-height: 1.6;
}

.en-question-note {
	margin: 0 0 20px;
	color: #718096;
	font-size: 13px;
	line-height: 1.7;
}

.en-question-alert {
	margin-bottom: 20px;
	padding: 13px 16px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.7;
}

.en-question-error {
	border: 1px solid #efcaca;
	background: #fff0f0;
	color: #a52626;
}

.en-question-success {
	border: 1px solid #c8e8d2;
	background: #effaf2;
	color: #17653b;
}

.en-back-link {
	display: inline-block;
	margin-top: 22px;
	color: #154c79;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.en-back-link:hover {
	text-decoration: underline;
}

.en-lob-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.en-lob-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	border: 1px solid #e1e8ef;
	border-radius: 8px;
}

.en-lob-item strong {
	color: #183f60;
	font-size: 14px;
}

.en-lob-item p {
	margin: 7px 0 0;
	color: #718096;
	font-size: 12px;
}

.en-lob-item > span {
	color: #8793a0;
	font-size: 12px;
}

/* Responsive */

@media (max-width: 1000px) {
	.en-sidebar {
		width: 235px;
		min-width: 235px;
	}

	.en-dashboard-cards {
		gap: 16px;
	}

	.en-dashboard-card {
		padding: 21px;
	}
}

@media (max-width: 760px) {
	.en-dashboard-layout {
		flex-direction: column;
	}

	.en-sidebar {
		width: 100%;
		min-width: 0;
	}

	.en-sidebar-brand {
		padding: 18px 20px;
	}

	.en-sidebar-user {
		padding: 15px 20px;
	}

	.en-sidebar-nav {
		padding: 12px;
	}

	.en-sidebar-nav a,
	.en-sidebar-nav .en-sidebar-dropdown-toggle {
		min-height: 40px;
	}

	.en-sidebar-logout {
		margin-top: 0;
	}

	.en-dashboard-main {
		width: 100%;
		padding: 23px 16px;
	}

	.en-dashboard-header {
		align-items: flex-start;
	}

	.en-dashboard-header h1,
	.en-page-heading h1 {
		font-size: 23px;
	}

	.en-welcome-panel {
		padding: 23px 20px;
	}

	.en-welcome-panel h2 {
		font-size: 21px;
	}

	.en-panel-icon {
		width: 52px;
		height: 52px;
		min-width: 52px;
		font-size: 27px;
	}

	.en-dashboard-cards {
		grid-template-columns: 1fr;
	}

	.en-dashboard-card {
		padding: 22px;
	}

	.en-question-card {
		padding: 21px 17px;
	}

	.en-lob-item {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 420px) {
	.en-topbar {
		padding: 12px 15px;
		font-size: 12px;
	}

	.en-dashboard-header {
		flex-direction: column;
	}

	.en-welcome-panel {
		align-items: flex-start;
	}

	.en-panel-icon {
		display: none;
	}
}

/*questionscss */

.en-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	padding: 14px 28px;
	background: #123f63;
	color: #fff;
	font-size: 14px;
}

.en-topbar a {
	color: #fff;
	text-decoration: none;
}

.en-page-heading {
	margin-bottom: 25px;
}

.en-page-heading h1 {
	margin: 0 0 8px;
	color: #154c79;
	font-size: 28px;
}

.en-page-heading p {
	margin: 0;
	color: #687787;
	font-size: 14px;
}

.en-question-card {
	padding: 28px;
	background: #fff;
	border: 1px solid #e0e8ef;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(18, 63, 99, 0.06);
}

.en-question-card h2 {
	margin: 0 0 24px;
	color: #154c79;
	font-size: 20px;
}

.en-question-field {
	margin-bottom: 22px;
}

.en-question-field label {
	display: block;
	margin-bottom: 9px;
	color: #263b4d;
	font-size: 14px;
	font-weight: 600;
}

.en-question-field select,
.en-question-field textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #ccd8e2;
	border-radius: 7px;
	background: #fff;
	color: #263b4d;
	font: inherit;
	outline: none;
}

.en-question-field select:focus,
.en-question-field textarea:focus {
	border-color: #154c79;
	box-shadow: 0 0 0 3px rgba(21, 76, 121, 0.1);
}

.en-question-field textarea {
	resize: vertical;
	min-height: 140px;
}

.en-question-note {
	margin: 0 0 22px;
	color: #687787;
	font-size: 13px;
	line-height: 1.7;
}

.en-question-alert {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 7px;
	font-size: 14px;
	line-height: 1.6;
}

.en-question-error {
	color: #a52626;
	background: #fff0f0;
	border: 1px solid #f0caca;
}

.en-question-success {
	color: #17653b;
	background: #edfaf2;
	border: 1px solid #c7ead4;
}

.en-back-link {
	display: inline-block;
	margin-top: 22px;
	color: #154c79;
	text-decoration: none;
	font-weight: 600;
}

.en-back-link:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.en-topbar {
		padding: 13px 16px;
		flex-wrap: wrap;
	}

	.en-dashboard-layout {
		flex-direction: column;
	}

	.en-sidebar {
		width: 100%;
		box-sizing: border-box;
	}

	.en-question-card {
		padding: 20px 16px;
	}

	.en-page-heading h1 {
		font-size: 23px;
	}
}

/* Committee Proceedings editor: scoped to the MA memorandum proceedings page. */
.en-ma-proceedings-page {
	box-sizing: border-box;
	width: min(100%, 1060px);
	margin: 0 auto 28px;
	padding: clamp(22px, 3vw, 36px);
	min-width: 0;
	border: 1px solid #d9d8cc;
	border-top: 3px solid var(--en-portal-gold, #b18a4a);
	border-radius: 10px;
	background: var(--en-portal-paper, #fffefa);
	color: #303a35;
	box-shadow: 0 5px 18px rgba(37, 54, 45, 0.06);
}
.en-ma-proceedings-heading {
	margin: 0 0 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e4e2d7;
}
.en-ma-proceedings-eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #80683c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.en-ma-proceedings-heading h1 {
	margin: 0;
	color: var(--en-portal-forest-deep, #10382f);
	font-size: clamp(23px, 2.4vw, 29px);
	font-weight: 700;
	line-height: 1.25;
}
.en-ma-proceedings-heading p {
	margin: 6px 0 0;
	color: #68736d;
	font-size: 13px;
	line-height: 1.5;
}
.en-ma-proceedings-page .en-ma-proceedings-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 20px;
	border: 1px solid #e1dfd3;
	border-radius: 7px;
	background: #f7f6ef;
	overflow: hidden;
}
.en-ma-proceedings-fact {
	box-sizing: border-box;
	min-width: 0;
	padding: 13px 15px;
	border-right: 1px solid #e4e2d7;
	border-bottom: 1px solid #e4e2d7;
}
.en-ma-proceedings-fact:nth-child(3n) { border-right: 0; }
.en-ma-proceedings-fact:nth-last-child(-n + 3) { border-bottom: 0; }
.en-ma-proceedings-fact-wide { grid-column: span 2; }
.en-ma-proceedings-fact span,
.en-ma-proceedings-file-name span,
.en-ma-proceedings-current-file > span {
	display: block;
	margin-bottom: 4px;
	color: #70776e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}
.en-ma-proceedings-fact strong {
	display: block;
	min-width: 0;
	color: #303a35;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}
.en-ma-proceedings-fact .en-ma-proceedings-status {
	display: inline-block;
	width: fit-content;
	margin: 0;
	padding: 4px 9px;
	border: 1px solid #d8d0bd;
	border-radius: 20px;
	background: #eeece3;
	color: #4b5148;
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}
.en-ma-proceedings-current-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #dedbcf;
	border-radius: 6px;
	background: #fbfaf5;
}
.en-ma-proceedings-current-file > span { margin: 0; }
.en-ma-proceedings-current-file a {
	max-width: 100%;
	color: var(--en-portal-forest-deep, #10382f);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	word-break: break-word;
}
.en-ma-proceedings-page .en-ma-proceedings-form {
	margin: 0;
	padding: 0;
	min-width: 0;
	background: transparent;
	box-shadow: none;
}
.en-ma-proceedings-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.en-ma-proceedings-field label {
	margin: 0 0 8px;
	color: #35453c;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}
.en-ma-proceedings-field textarea,
.en-ma-proceedings-field input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	border: 1px solid #cfcfc2;
	border-radius: 6px;
	background: #fffefa;
	color: #303a35;
	font: inherit;
}
.en-ma-proceedings-field textarea {
	min-height: 280px;
	padding: 13px 15px;
	resize: vertical;
	font-size: 14px;
	line-height: 1.65;
}
.en-ma-proceedings-field textarea:focus,
.en-ma-proceedings-field input[type="file"]:focus {
	border-color: var(--en-portal-forest, #17483b);
	outline: 3px solid rgba(23, 72, 59, 0.12);
	outline-offset: 1px;
}
.en-ma-proceedings-field input[type="file"] {
	min-height: 46px;
	padding: 6px;
	font-size: 13px;
}
.en-ma-proceedings-field input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 1px solid #c9c5b8;
	border-radius: 4px;
	background: #efeee7;
	color: #37453b;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.en-ma-proceedings-field small {
	margin-top: 6px;
	color: #69736b;
	font-size: 12px;
	line-height: 1.5;
}
.en-ma-proceedings-file-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr);
	align-items: end;
	gap: 16px 24px;
	margin-top: 18px;
}
.en-ma-proceedings-file-name {
	box-sizing: border-box;
	min-width: 0;
	padding: 10px 12px;
	border-left: 3px solid var(--en-portal-gold, #b18a4a);
	background: #f7f6ef;
}
.en-ma-proceedings-file-name strong {
	display: block;
	color: #303a35;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	word-break: break-word;
}
.en-ma-proceedings-actions,
.en-ma-proceedings-submit-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}
.en-ma-proceedings-actions .en-action-btn,
.en-ma-proceedings-submit-form .en-action-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}
.en-councillor-body:not(.en-department-body) .en-ma-proceedings-page .en-action-btn.en-ma-proceedings-back {
	border-color: #c9c5b8;
	background: #efeee7;
	color: #35453c !important;
}
.en-councillor-body:not(.en-department-body) .en-ma-proceedings-page .en-action-btn.en-ma-proceedings-back:hover {
	border-color: var(--en-portal-gold, #b18a4a);
	background: #e8e5da;
}
.en-ma-proceedings-submit-form { margin: 0; }
.en-ma-proceedings-saved-text {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid #e0ded2;
	border-radius: 6px;
	background: #fbfaf5;
	color: #303a35;
	line-height: 1.65;
	white-space: normal;
	overflow-wrap: anywhere;
}
.en-ma-proceedings-saved-text h2 {
	margin: 0 0 10px;
	color: var(--en-portal-forest-deep, #10382f);
	font-size: 16px;
}
.en-ma-proceedings-saved-text div { overflow-wrap: anywhere; }

@media (max-width: 850px) {
	.en-ma-proceedings-page { padding: 24px; }
	.en-ma-proceedings-page .en-ma-proceedings-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.en-ma-proceedings-fact:nth-child(3n) { border-right: 1px solid #e4e2d7; }
	.en-ma-proceedings-fact:nth-child(2n) { border-right: 0; }
	.en-ma-proceedings-fact:nth-last-child(-n + 3) { border-bottom: 1px solid #e4e2d7; }
	.en-ma-proceedings-fact:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 560px) {
	.en-ma-proceedings-page { padding: 19px 16px; }
	.en-ma-proceedings-heading { margin-bottom: 16px; }
	.en-ma-proceedings-page .en-ma-proceedings-details { grid-template-columns: minmax(0, 1fr); }
	.en-ma-proceedings-fact,
	.en-ma-proceedings-fact:nth-child(2n),
	.en-ma-proceedings-fact:nth-child(3n),
	.en-ma-proceedings-fact:nth-last-child(-n + 2),
	.en-ma-proceedings-fact:nth-last-child(-n + 3) {
		grid-column: auto;
		border-right: 0;
		border-bottom: 1px solid #e4e2d7;
	}
	.en-ma-proceedings-fact:last-child { border-bottom: 0; }
	.en-ma-proceedings-file-row { grid-template-columns: minmax(0, 1fr); }
	.en-ma-proceedings-field textarea { min-height: 250px; }
	.en-ma-proceedings-actions { align-items: stretch; }
	.en-ma-proceedings-actions .en-action-btn,
	.en-ma-proceedings-submit-form .en-action-btn { width: 100%; }
}

.en-sidebar-heading {
	padding: 18px 20px 7px;
	color: #b8c9d8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.en-sidebar-nav a.active {
	background: rgba(255, 255, 255, 0.14);
	border-left: 3px solid #b9862f;
}

.en-sidebar-nav-unavailable {
	display: block;
	padding: 11px 16px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	cursor: not-allowed;
}

/*datatable css */

.en-common-datatable {
	width: 100%;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #dce5ee;
	border-radius: 12px;
	overflow: hidden;
	font-size: 13px;
}

.en-common-datatable thead th {
	background: var(--en-dept-forest, var(--en-portal-forest, #17483b));
	color: #fff;
	padding: 12px 12px;
	text-align: left;
	font-weight: 600;
	white-space: normal;
	word-break: normal;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.en-common-datatable tbody td {
	padding: 12px;
	color: #34465a;
	border-bottom: 1px solid #edf1f5;
	vertical-align: middle;
	line-height: 1.6;
	word-break: normal;
	overflow-wrap: break-word;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.en-common-datatable tbody tr {
	transition: box-shadow 0.2s ease;
}

.en-common-datatable tbody tr:hover td {
	background: #f0f7fc;
}

.en-common-datatable tbody tr:hover td:first-child {
	box-shadow: inset 3px 0 0 #b9862f;
}

.en-common-datatable tbody tr:last-child td {
	border-bottom: none;
}

.en-common-datatable-wrapper {
	width: 100%;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
}

/* Department Replies: preserve room for both long-form content columns. */
.en-ma-department-replies-table {
	width: 100%;
	min-width: 1600px;
	table-layout: fixed;
}

.en-ma-department-replies-table th:nth-child(1),
.en-ma-department-replies-table td:nth-child(1) {
	width: 24%;
}

.en-ma-department-replies-table th:nth-child(2),
.en-ma-department-replies-table td:nth-child(2) {
	width: 34%;
}

.en-ma-department-replies-table th:nth-child(3),
.en-ma-department-replies-table td:nth-child(3) {
	width: 14%;
}

.en-ma-department-replies-table th:nth-child(4),
.en-ma-department-replies-table td:nth-child(4) {
	width: 9%;
}

.en-ma-department-replies-table th:nth-child(5),
.en-ma-department-replies-table td:nth-child(5) {
	width: 9%;
}

.en-ma-department-replies-table th:nth-child(6),
.en-ma-department-replies-table td:nth-child(6) {
	width: 10%;
}

.en-ma-department-replies-table tbody td {
	vertical-align: top;
}

.en-ma-department-replies-table .en-ma-rich-text-cell {
	word-break: normal;
	overflow-wrap: break-word;
}

.en-rich-text-preview {
	min-width: 0;
	line-height: 1.55;
	word-break: normal;
	overflow-wrap: break-word;
}

.en-rich-text-preview > :first-child {
	margin-top: 0;
}

.en-rich-text-preview > :last-child {
	margin-bottom: 0;
}

.en-ma-department-replies-table td:nth-child(6) .en-action-btn {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

.en-ma-questions-table {
	width: 100%;
	min-width: 1780px;
	table-layout: fixed;
}

.en-ma-questions-table th:nth-child(1),
.en-ma-questions-table td:nth-child(1) { width: 26%; }
.en-ma-questions-table th:nth-child(2),
.en-ma-questions-table td:nth-child(2) { width: 12%; }
.en-ma-questions-table th:nth-child(3),
.en-ma-questions-table td:nth-child(3) { width: 11%; }
.en-ma-questions-table th:nth-child(4),
.en-ma-questions-table td:nth-child(4) { width: 13%; }
.en-ma-questions-table th:nth-child(5),
.en-ma-questions-table td:nth-child(5) { width: 10%; }
.en-ma-questions-table th:nth-child(6),
.en-ma-questions-table td:nth-child(6) { width: 12%; }
.en-ma-questions-table th:nth-child(7),
.en-ma-questions-table td:nth-child(7) { width: 8%; }
.en-ma-questions-table th:nth-child(8),
.en-ma-questions-table td:nth-child(8) { width: 8%; }

.en-ma-questions-table tbody td,
.en-ma-department-replies-table tbody td {
	vertical-align: top;
	word-break: normal;
	overflow-wrap: break-word;
}

.en-common-datatable-card {
	margin-top: 22px;
	padding: 22px;
	border: 1px solid #e0e8ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 63, 99, 0.06);
}

.en-common-datatable-card > h2 {
	color: #145407;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 22px;
	padding-left: 12px;
	border-left: 4px solid #b9862f;
}

/* Shared DataTables 2 controls across every role layout */
.dt-container {
	width: 100%;
	color: #526477;
	font-size: 13px;
}

.dt-container .dt-layout-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin: 14px 0;
}

.dt-container .dt-layout-cell {
	min-width: 0;
}

.dt-container .dt-search,
.dt-container .dt-length {
	color: #526477;
	font-weight: 500;
}

.dt-container .dt-search input,
.dt-container .dt-length select {
	border: 1px solid #cedae5;
	border-radius: 8px;
	padding: 8px 11px;
	outline: none;
	background: #fff;
	color: #123f63;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.dt-container .dt-search input:focus,
.dt-container .dt-length select:focus {
	border-color: #154c79;
	box-shadow: 0 0 0 3px rgba(21, 76, 121, 0.12);
}

.dt-container .dt-layout-row {
	width: 100%;
}

.dt-container .dt-layout-cell.dt-layout-end {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.dt-container .dt-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}

.dt-container .dt-search input {
	width: min(260px, 55vw);
	min-width: 0;
	margin: 0 !important;
}

.dt-container .dt-buttons {
	display: flex;
	margin: 0 0 0 auto;
}

.dt-container .en-excel-export-button {
	display: inline-flex !important;
	width: auto;
	min-width: 70px;
	height: 38px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0 !important;
	padding: 0 10px !important;
	border: 1px solid #c7e6d1 !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, #f1fbf4, #e1f4e7) !important;
	color: #168044 !important;
	box-shadow: 0 3px 8px rgba(22, 128, 68, 0.1);
	cursor: pointer;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
}

.dt-container .en-excel-export-button::before {
	content: "X";
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: #168044;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.dt-container .en-excel-export-button:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #e3f6e9, #cdebd7) !important;
	box-shadow: 0 6px 13px rgba(22, 128, 68, 0.2);
}

.dt-container .en-excel-export-button:focus-visible {
	outline: 3px solid rgba(22, 128, 68, 0.3);
	outline-offset: 2px;
}

.dt-container .dt-paging-button {
	border-radius: 7px !important;
	transition: all 0.2s ease;
}

.dt-container .dt-paging-button:hover:not(.current) {
	background: #eaf3fa !important;
	border-color: #d5e5f1 !important;
	color: #154c79 !important;
}

.dt-container .dt-paging-button.current {
	background: #154c79 !important;
	color: #fff !important;
	border-color: #154c79 !important;
}

.dt-container .dt-paging-button.disabled,
.dt-container .dt-paging-button.disabled:hover {
	background: #f4f6f8 !important;
	color: #9aa7b4 !important;
	border-color: #e3e8ed !important;
	cursor: not-allowed;
}

.dt-container .dt-info {
	padding-top: 0.5em;
	color: #647589;
	font-size: 12px;
}

.dt-container .dt-empty,
.dt-container .dt-loading {
	color: #718197;
	text-align: center;
}

.dt-container table.dataTable thead th,
.dt-container table.dataTable thead td {
	padding: 12px;
	background-color: var(--en-dept-forest, var(--en-portal-forest, #17483b));
	color: #fff;
	border-color: rgba(255, 255, 255, 0.14);
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	font-weight: 600;
	text-align: left;
	white-space: normal;
	word-break: normal;
}

.dt-container table.dataTable thead .dt-column-order::before,
.dt-container table.dataTable thead .dt-column-order::after {
	color: #fffefa;
	opacity: 0.72;
}

.dt-container table.en-common-datatable {
	width: 100% !important;
	table-layout: auto;
	border: 1px solid #dce5ee;
	border-radius: 12px;
	border-spacing: 0;
	background: #fff;
	font-size: 13px;
}

.dt-container table.en-common-datatable tbody td {
	padding: 12px;
	border-bottom: 1px solid #edf1f5;
	color: #34465a;
	line-height: 1.6;
	vertical-align: middle;
	word-break: normal;
	overflow-wrap: break-word;
}

.dt-container table.en-common-datatable tbody tr:hover td {
	background: #f0f7fc;
}

.dt-container table.en-common-datatable tbody tr:last-child td {
	border-bottom: 0;
}

.en-deadline-form-card {
	scroll-margin-top: 18px;
	border-top: 3px solid #b9862f;
	animation: en-deadline-form-open 180ms ease-out both;
}

.en-deadline-form-card .en-card-header h2 {
	margin: 0 0 5px;
	color: #123f63;
	font-size: 19px;
}

.en-deadline-form-card .en-card-header p {
	color: #66788b;
}

.en-deadline-form-note {
	margin: 18px 20px 0;
}

@keyframes en-deadline-form-open {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.en-deadline-row-actions,
.en-deadline-row-actions form {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

@media (max-width: 768px) {
	.en-common-datatable-card {
		padding: 16px;
		margin-top: 20px;
	}

	.en-common-datatable-card > h2 {
		font-size: 18px;
	}

	.en-common-datatable thead th,
	.en-common-datatable tbody td {
		padding: 11px;
	}

	.en-common-datatable {
		font-size: 12px;
	}
}

.en-question-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: visible;
}

.en-ma-question-actions {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 100%;
}

.en-ma-question-actions .en-action-btn {
	min-height: 34px;
	padding: 7px 10px;
}

.en-question-monitor-card .en-question-description {
	margin-top: 18px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.en-question-monitor-attachment {
	margin: 18px 0 0;
}

.en-ma-agenda-decision-form {
	display: grid;
	gap: 8px;
	min-width: 180px;
}

.en-ma-agenda-decision-form input[type="text"] {
	width: 100%;
	min-width: 0;
}

@media (max-width: 640px) {
	.en-ma-agenda-decision-form {
		min-width: 150px;
	}
}

.en-question-actions .en-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	min-height: 34px;
	min-width: 0;
	padding: 5px 9px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
	overflow: visible;
	box-sizing: border-box;
	flex-shrink: 0;
}

.en-question-actions .edit-btn {
	background: #077112;
	color: #fff;
}

.en-question-actions .delete-btn {
	background: #dc3545;
	color: #fff;
}

.en-question-actions .en-action-btn:hover {
	transform: translateY(-1px);
}

.en-question-actions .en-action-btn span {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #fff;
}

.en-question-actions img {
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

.en-question-actions .edit-btn img {
	width: 18px !important;
	height: 18px !important;
}

.en-question-actions .delete-btn img {
	width: 16px !important;
	height: 16px !important;
	object-fit: contain;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	flex-shrink: 0;
}

.en-question-delete-form {
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.en-question-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.en-question-actions .en-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	padding: 5px 9px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
	line-height: 1.2;
}

.en-question-actions .edit-btn {
	background: #077112;
	color: #fff;
}

.en-question-actions .delete-btn {
	background: #dc3545;
	color: #fff;
}

.en-question-actions .en-action-btn:hover {
	transform: translateY(-1px);
}

.en-question-actions img {
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

.en-question-actions .edit-btn img {
	width: 18px;
	height: 18px;
}

.en-question-actions .delete-btn img {
	width: 20px !important;
	height: 20px !important;
	object-fit: contain;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	flex-shrink: 0;
}

.en-question-delete-form {
	display: inline;
	margin: 0;
	padding: 0;
}

.en-department-dropdown {
	position: relative;
	width: 100%;
}

.en-department-dropdown .en-department-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	background: #fff;
	color: #334155;
	cursor: pointer;
	list-style: none;
	box-sizing: border-box;
}

.en-department-dropdown .en-department-summary::-webkit-details-marker {
	display: none;
}

.en-department-dropdown[open] .en-department-summary {
	border-color: #154c79;
	border-radius: 7px 7px 0 0;
}

.en-department-arrow {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.en-department-dropdown[open] .en-department-arrow {
	transform: rotate(180deg);
}

.en-department-dropdown .en-department-list {
	display: none;
	max-height: 220px;
	overflow-y: auto;
	padding: 6px 12px;
	margin: 0;
	border: 1px solid #cbd5e1;
	border-top: 0;
	border-radius: 0 0 7px 7px;
	background: #fff;
	box-sizing: border-box;
}

.en-department-dropdown[open] .en-department-list {
	display: block;
}

.en-department-dropdown .en-department-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 2px;
	margin: 0;
	border-bottom: 1px solid #edf1f5;
	cursor: pointer;
	font-weight: 400;
}

.en-department-dropdown .en-department-option:last-child {
	border-bottom: 0;
}

.en-department-dropdown .en-department-option input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	accent-color: #154c79;
}

.en-department-dropdown .en-department-option span {
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.en-department-help {
	margin: 7px 0 0;
	color: #64748b;
	font-size: 12px;
}

.en-department-empty {
	margin: 8px 0;
	color: #64748b;
	font-size: 13px;
}

.en-question-add {
	margin-top: 4px;
}

@media (max-width: 768px) {
	.en-question-actions {
		gap: 5px;
	}

	.en-question-actions .en-action-btn {
		gap: 4px;
		min-height: 32px;
		padding: 4px 7px;
		font-size: 11px;
	}

	.en-question-actions .edit-btn img {
		width: 16px;
		height: 16px;
	}

	.en-question-actions .delete-btn img {
		width: 18px !important;
		height: 18px !important;
	}
}

/*house meeting detais*/

.en-house-meeting-page {
	margin-bottom: 24px;
}

.en-house-meeting-page .en-question-field {
	margin-bottom: 20px;
}

.en-house-meeting-page select {
	width: 100%;
	max-width: 100%;
}

.en-house-meeting-page select:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.en-meeting-detail-panel {
	margin-bottom: 24px;
	scroll-margin-top: 24px;
	border: 1px solid #dbe5ec;
}

.en-meeting-detail-panel[hidden] {
	display: none !important;
}

.en-meeting-detail-panel h2 {
	color: #154c79;
	margin: 0 0 22px;
	overflow-wrap: anywhere;
}

.en-meeting-summary-table-wrapper {
	margin-bottom: 24px;
}

.en-meeting-summary-table {
	min-width: 0;
	table-layout: fixed;
}

.en-meeting-summary-table th {
	width: 220px;
	white-space: normal;
}

.en-meeting-summary-table td {
	white-space: normal;
	overflow-wrap: break-word;
}

.en-meeting-detail-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.en-meeting-detail-row strong {
	min-width: 155px;
	color: #123f63;
}

.en-meeting-detail-row a {
	color: #154c79;
	font-weight: 600;
	text-decoration: underline;
	overflow-wrap: anywhere;
}

.en-meeting-documents-table-wrapper {
	margin: 12px 0 20px;
}

.en-meeting-documents-table {
	min-width: 680px;
}

.en-meeting-documents-table td:nth-child(2) {
	min-width: 220px;
	white-space: normal;
	overflow-wrap: break-word;
}

.en-meeting-documents-table td:last-child {
	white-space: nowrap;
	text-align: center;
}

.en-meeting-document-action {
	display: inline-block;
	padding: 5px 9px;
	border: 1px solid #d8e5ef;
	border-radius: 6px;
	text-decoration: none !important;
}

.en-meeting-full-details {
	margin: 22px 0;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.en-meeting-full-details > strong {
	display: block;
	margin-bottom: 8px;
	color: #123f63;
}

.en-meeting-full-details > div {
	white-space: normal;
}

.en-meeting-status {
	text-transform: capitalize;
}

@media (max-width: 600px) {
	.en-meeting-summary-table th {
		width: 40%;
	}

	.en-meeting-detail-row {
		flex-direction: column;
		gap: 3px;
	}
}

/* Councillor dashboard mobile layout */
@media (max-width: 768px) {
	.en-dashboard-layout {
		flex-direction: column;
	}

	.en-sidebar {
		width: 100%;
		min-width: 0;
		max-height: 0;
		overflow: hidden;
		padding: 0;
		opacity: 0;
		visibility: hidden;
		transition:
			max-height 0.35s ease,
			opacity 0.25s ease,
			visibility 0s linear 0.35s;
	}

	.en-sidebar.is-open {
		max-height: 600px;
		padding-bottom: 12px;
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}

	.en-menu-toggle {
		display: flex;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.35);
		border-radius: 6px;
		background: transparent;
		color: #fff;
		cursor: pointer;
	}

	.en-menu-toggle span {
		display: block;
		width: 21px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition:
			transform 0.25s ease,
			opacity 0.2s ease;
	}

	.en-menu-toggle[aria-expanded="true"] span:first-child {
		transform: translateY(7px) rotate(45deg);
	}

	.en-menu-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.en-menu-toggle[aria-expanded="true"] span:last-child {
		transform: translateY(-7px) rotate(-45deg);
	}

	.en-sidebar-brand {
		padding: 16px 18px;
	}

	.en-sidebar-user {
		padding: 12px 18px;
	}

	.en-sidebar-nav {
		flex-direction: column;
		gap: 5px;
		padding: 12px;
	}

	.en-sidebar-nav a,
	.en-sidebar-nav .en-sidebar-dropdown-toggle {
		min-height: 42px;
		white-space: nowrap;
	}

	.en-sidebar-heading {
		display: block;
	}

	.en-sidebar-logout {
		width: fit-content;
		margin: 0 12px;
	}

	.en-dashboard-main {
		width: 100%;
		min-width: 0;
		padding: 22px 18px;
	}

	.en-dashboard-header {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.en-welcome-panel {
		gap: 16px;
	}

	.en-dashboard-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.en-common-datatable-wrapper {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.dt-container {
		width: 100%;
		min-width: 0;
	}

	.dt-container .dt-layout-row {
		flex-wrap: wrap;
		gap: 8px;
	}

	.dt-container .dt-layout-cell.dt-layout-end {
		width: 100%;
	}

	.en-common-datatable {
		min-width: 850px;
	}
}

@media (max-width: 560px) {
	.en-topbar {
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px;
		font-size: 12px;
		line-height: 1.5;
	}

	.en-topbar > span {
		min-width: 0;
	}

	.en-dashboard-main {
		padding: 18px 14px;
	}

	.en-dashboard-header {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 22px;
	}

	.en-dashboard-header h1,
	.en-page-heading h1 {
		font-size: 23px;
	}

	.en-role-badge {
		padding: 7px 12px;
	}

	.en-welcome-panel {
		align-items: flex-start;
		padding: 22px 18px;
	}

	.en-welcome-panel h2 {
		font-size: 20px;
	}

	.en-panel-icon {
		display: none;
	}

	.en-dashboard-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.en-dashboard-card,
	.en-question-card {
		padding: 19px 16px;
	}

	.en-question-card h2 {
		font-size: 18px;
	}

	.en-question-field input,
	.en-question-field select,
	.en-question-field textarea {
		min-width: 0;
		font-size: 16px;
	}

	.en-question-card form > .en-action-btn {
		display: flex;
		width: 100%;
		margin-top: 10px;
	}

	.en-lob-item {
		align-items: stretch;
		flex-direction: column;
		padding: 15px;
	}

	.en-lob-item .en-action-btn {
		width: 100%;
	}

	.en-meeting-detail-row {
		flex-direction: column;
		gap: 3px;
	}

	.en-meeting-detail-row strong {
		min-width: 0;
	}

	.en-common-datatable-card {
		padding: 14px;
	}

	.en-common-datatable-card > h2 {
		padding-left: 9px;
		font-size: 17px;
	}

	.dt-container .dt-search,
	.dt-container .dt-length {
		width: 100%;
	}

	.dt-container .dt-search input {
		max-width: 100%;
	}

	.dt-container .dt-paging {
		max-width: 100%;
		overflow-x: auto;
	}

	.en-question-actions {
		flex-wrap: nowrap;
		gap: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-sidebar,
	.en-menu-toggle span {
		transition: none;
	}
}

/*dept dashboard */

.en-dept-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 32px;
}

.en-dept-stat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 22px;
	background: #fff;
	border: 1px solid #dce5ed;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(18, 63, 99, 0.05);
	text-decoration: none !important;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.en-dept-stat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(18, 63, 99, 0.1);
}

.en-dept-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: #edf4fa;
	color: #154c79;
	font-size: 20px;
}

.en-dept-stat-label {
	color: #647789;
	font-size: 13px;
}

.en-dept-stat-card > strong {
	margin: 8px 0 13px;
	color: #123f63;
	font-size: 29px;
	line-height: 1.2;
}

.en-dept-stat-link {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: #154c79;
	font-size: 12px;
	font-weight: 700;
}

.en-dept-modules-section {
	margin: 0 0 30px;
}

.en-dept-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

.en-dept-section-heading h2 {
	margin: 0 0 6px;
	color: #123f63;
	font-size: 21px;
	font-weight: 700;
}

.en-dept-section-heading p {
	margin: 0;
	color: #718293;
	font-size: 13px;
}

.en-dept-module-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.en-dept-module-card {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	min-width: 0;
	padding: 19px;
	background: #fff;
	border: 1px solid #dce5ed;
	border-radius: 10px;
	text-decoration: none !important;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.en-dept-module-card:hover {
	border-color: #9ebbd3;
	box-shadow: 0 5px 17px rgba(18, 63, 99, 0.07);
}

.en-dept-module-card > i:first-child {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 9px;
	background: #edf4fa;
	color: #154c79;
	font-size: 18px;
}

.en-dept-module-card > div {
	flex: 1;
	min-width: 0;
}

.en-dept-module-card h3 {
	margin: 1px 0 7px;
	color: #123f63;
	font-size: 15px;
	font-weight: 700;
}

.en-dept-module-card p {
	margin: 0;
	color: #718293;
	font-size: 12px;
	line-height: 1.7;
}

.en-dept-module-arrow {
	flex: 0 0 auto;
	padding-top: 3px;
	color: #7890a5;
}

@media (max-width: 1100px) {
	.en-dept-dashboard-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.en-dept-dashboard-stats,
	.en-dept-module-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.en-dept-stat-card {
		padding: 18px;
	}

	.en-dept-section-heading h2 {
		font-size: 18px;
	}
}

/*pending questios css */
.en-question-card {
	background: #fff;
	border: 1px solid #dce5ed;
	border-radius: 12px;
	padding: 22px;
	box-shadow: 0 4px 18px rgba(18, 63, 99, 0.06);
	margin-bottom: 25px;
}

.en-question-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 22px;
}

.en-question-toolbar h3 {
	margin: 0 0 7px;
	color: #123f63;
	font-size: 19px;
	font-weight: 700;
}

.en-question-toolbar p {
	margin: 0;
	color: #68798a;
	font-size: 13px;
	line-height: 1.6;
}

.en-question-count {
	flex-shrink: 0;
	padding: 10px 17px;
	border: 1px solid #d8e6f1;
	background: #f3f8fc;
	border-radius: 9px;
	text-align: center;
}

.en-question-count span {
	display: block;
	color: #62778a;
	font-size: 11px;
	margin-bottom: 4px;
}

.en-question-count strong {
	display: block;
	color: #154c79;
	font-size: 22px;
	line-height: 1.2;
}

.en-pending-questions-table {
	width: 100%;
	border-collapse: collapse;
}

.en-pending-questions-table thead th {
	background: var(--en-dept-forest, var(--en-portal-forest, #17483b));
	color: #fff;
	padding: 13px 12px;
	text-align: left;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.en-pending-questions-table tbody td {
	padding: 13px 12px;
	color: #34495e;
	font-size: 12px;
	line-height: 1.65;
	vertical-align: top;
	border-bottom: 1px solid #e8edf2;
}

.en-pending-questions-table tbody tr:hover {
	background: #f6faff;
}

.en-question-meeting strong,
.en-question-meeting span {
	display: block;
}

.en-question-meeting strong {
	color: #123f63;
	margin-bottom: 4px;
}

.en-question-meeting span {
	color: #647789;
}

.en-question-id {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 5px;
	background: #eef4f9;
	color: #154c79;
	font-weight: 700;
	white-space: nowrap;
}

.en-question-description {
	min-width: 200px;
	max-width: 360px;
	overflow-wrap: anywhere;
	white-space: normal;
}

.en-question-status {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 5px;
	background: #fff4df;
	color: #95620b;
	font-size: 9px;
	font-weight: 600;
	white-space: nowrap;
}

.en-question-status.en-status-rejected,
.en-question-status.en-status-reverted {
	border: 1px solid #a51f2b;
	background: #b42332;
	color: #ffffff;
}

/* Keep rejected and reverted workflow labels legible across role-specific themes. */

.en-question-view-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 11px;
	border-radius: 5px;
	background: #154c79;
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.en-question-view-btn:hover {
	background: #0f3554;
}

.en-question-empty {
	padding: 35px 15px !important;
	text-align: center;
}

.en-question-empty-content i {
	display: block;
	font-size: 30px;
	color: #39805b;
	margin-bottom: 12px;
}

.en-question-empty-content strong {
	display: block;
	color: #123f63;
	font-size: 14px;
	margin-bottom: 6px;
}

.en-question-empty-content p {
	margin: 0;
	color: #718293;
	font-size: 12px;
}

@media (max-width: 768px) {
	.en-question-card {
		padding: 14px;
	}

	.en-question-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.en-question-count {
		text-align: left;
	}

	.en-common-datatable-wrapper {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.en-pending-questions-table {
		min-width: 1150px;
	}
}

/* ===== Department Question Reply Page ===== */

.en-question-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: 0 5px 20px rgba(15, 23, 42, 0.045);
}

.en-page-heading {
	margin-bottom: 24px;
}

.en-page-heading h1 {
	color: #172b4d;
	font-size: 27px;
	font-weight: 700;
	margin: 0 0 7px;
}

.en-page-heading p {
	color: #64748b;
	margin: 0;
	font-size: 14px;
}

.en-question-card .en-question-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid #edf1f6;
}

.en-question-card .en-question-toolbar h3 {
	color: #172b4d;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
}

.en-question-card .en-question-toolbar p {
	color: #718096;
	font-size: 13px;
	margin: 0;
}

.en-question-card .en-question-description {
	background: #f7f9fc;
	border: 1px solid #e7edf5;
	border-radius: 10px;
	padding: 20px;
	color: #334155;
	font-size: 14px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.en-question-card .en-question-description p {
	margin: 0 0 12px;
}

.en-question-card .en-question-description p:last-child {
	margin-bottom: 0;
}

.en-question-card .en-question-description strong {
	color: #1e3a5f;
}

.en-question-card hr {
	border: 0;
	border-top: 1px solid #e8edf4;
	margin: 24px 0;
}

.en-question-card .en-question-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 20px;
	background: #fff7e6;
	color: #f0b209;
	border: 1px solid #f6dfaa;
	font-size: 10px;
	font-weight: 700;
}

.en-question-card .en-form-group {
	margin: 20px 0;
}

.en-question-card .en-form-group label {
	display: block;
	color: #243b53;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
}

.en-question-card textarea#reply_text {
	display: block;
	width: 100%;
	min-height: 220px;
	padding: 15px 16px;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	background: #ffffff;
	color: #243b53;
	font: inherit;
	font-size: 14px;
	line-height: 1.7;
	resize: vertical;
	box-sizing: border-box;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.en-question-card textarea#reply_text::placeholder {
	color: #94a3b8;
}

.en-question-card textarea#reply_text:focus {
	outline: none;
	border-color: #3267b2;
	box-shadow: 0 0 0 3px rgba(50, 103, 178, 0.12);
}

.en-question-card .en-question-view-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 17px;
	border: 1px solid #1d4f91;
	border-radius: 8px;
	background: #1d4f91;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.en-question-card .en-question-view-btn:hover {
	background: #163e73;
	border-color: #163e73;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

.en-question-card .en-question-toolbar button {
	font-family: inherit;
}

.en-question-card .en-question-toolbar button[type="submit"] {
	margin-right: 8px;
}

.en-question-card .en-question-toolbar button[formaction*="submit_reply"] {
	background: #16835d;
	border-color: #16835d;
}

.en-question-card
	.en-question-toolbar
	button[formaction*="submit_reply"]:hover {
	background: #116849;
	border-color: #116849;
}

.en-question-card .en-question-toolbar button:focus-visible,
.en-question-card .en-question-view-btn:focus-visible {
	outline: 3px solid rgba(50, 103, 178, 0.3);
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.en-question-card {
		padding: 16px;
		border-radius: 11px;
	}

	.en-page-heading h1 {
		font-size: 22px;
	}

	.en-question-card .en-question-description {
		padding: 15px;
	}

	.en-question-card textarea#reply_text {
		min-height: 180px;
	}

	.en-question-card .en-question-toolbar {
		align-items: flex-start;
	}

	.en-question-card .en-question-toolbar button[type="submit"] {
		margin: 0 6px 8px 0;
	}
}

@media (max-width: 480px) {
	.en-question-card .en-question-toolbar button[type="submit"] {
		width: 100%;
		margin-right: 0;
	}

	.en-question-card .en-question-view-btn {
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* ================================
   ADMIN USER MANAGEMENT
================================ */

.en-page-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.en-page-heading h1 {
	margin: 0 0 7px;
	color: #172b4d;
	font-size: 27px;
	font-weight: 700;
}

.en-page-heading p {
	margin: 0;
	color: #718096;
	font-size: 14px;
}

.en-card {
	width: 100%;
	background: #fff;
	border: 1px solid #e5eaf1;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(20, 42, 75, 0.045);
	margin-bottom: 20px;
	overflow: hidden;
}

.en-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	flex-wrap: wrap;
	padding: 18px 20px;
	border-bottom: 1px solid #edf0f5;
}

.en-card-header h3 {
	margin: 0 0 5px;
	color: #203452;
	font-size: 18px;
	font-weight: 700;
}

.en-card-header p {
	margin: 0;
	color: #7b8798;
	font-size: 13px;
}

.en-count {
	padding: 7px 13px;
	color: #2457a7;
	background: #edf4ff;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}

.en-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.en-table {
	width: 100%;
	min-width: 1050px;
	border-collapse: collapse;
	text-align: left;
}

.en-table th {
	padding: 12px 14px;
	background: #f7f9fc;
	color: #52627a;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.45px;
	white-space: nowrap;
	border-bottom: 1px solid #e9edf3;
}

.en-table td {
	padding: 13px 14px;
	color: #43536b;
	font-size: 13px;
	vertical-align: middle;
	border-bottom: 1px solid #edf0f5;
}

.en-table tbody tr:last-child td {
	border-bottom: 0;
}

.en-table tbody tr:hover {
	background: #fafcff;
}

.en-user-name {
	color: #203452;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 5px;
	white-space: nowrap;
}

.en-admin-user-photo {
	width: 42px;
	height: 42px;
	overflow: hidden;
	border-radius: 50%;
	background: #eef2f6;
	color: #365b91;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
}

.en-admin-user-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.en-user-email {
	color: #8290a3;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.en-role-badge {
	display: inline-block;
	padding: 6px 10px;
	color: #365b91;
	background: #eef4fc;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.en-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.en-status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.en-status-active {
	color: #188456;
	background: #e8f8f0;
}

.en-status-inactive {
	color: #bd4545;
	background: #fff0f0;
}

.en-action-group {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: nowrap;
}

.en-action-group form {
	display: inline-flex;
	margin: 0;
}

.en-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 7px;
	text-decoration: none !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.en-btn:hover {
	transform: translateY(-1px);
}

.en-btn-primary {
	color: #fff !important;
	background: #2457a7;
	border-color: #2457a7;
}

.en-btn-primary:hover {
	background: #194586;
	border-color: #194586;
}

.en-btn-secondary {
	color: #fff !important;
	background: #287b71;
	border-color: #f5f8fc;
}

.en-btn-secondary:hover {
	background: #27d59e;
}

.en-btn-small {
	min-height: 30px;
	padding: 5px 9px;
	font-size: 12px;
	border-radius: 6px;
	white-space: nowrap;
}

.en-attachment-actions {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.en-btn-edit {
	color: #fff !important;
	background: #077112;
	border-color: #077112;
}

.en-btn-edit:hover {
	background: #077112;
	border-color: #077112;
}

.en-btn-danger {
	color: #fff !important;
	background: #dc3545;
	border-color: #dc3545;
}

.en-btn-danger:hover {
	background: #dc3545;
	border-color: #dc3545;
}

.en-btn-activate {
	color: #14784b !important;
	background: #e8f8f0;
	border-color: #d1f0df;
}

.en-btn-edit,
.en-btn-danger,
.en-btn-activate,
.en-btn-deactivate {
	min-height: 34px;
	padding: 6px 10px;
	font-size: 12px;
	white-space: nowrap;
}

.en-btn-activate:hover {
	background: #d4f3e2;
}

.en-empty-state {
	padding: 45px 20px !important;
	text-align: center;
	color: #8491a3 !important;
}

/* Alerts */

.swal2-container.swal2-backdrop-show {
	backdrop-filter: blur(4px);
}

.swal2-popup.en-swal-popup {
	position: relative;
	width: min(32rem, calc(100% - 2rem));
	padding: 1.75rem 1.75rem 1.5rem;
	border: 1px solid #e5ebf0;
	border-radius: 20px;
	background: linear-gradient(145deg, #fff 0%, #fbfcfe 100%);
	box-shadow:
		0 28px 80px rgba(12, 31, 48, 0.28),
		0 5px 18px rgba(12, 31, 48, 0.08);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.swal2-popup.en-swal-popup::before {
	position: absolute;
	top: 0;
	right: 12%;
	left: 12%;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, #79154a, #bd5b83, #e3a34b);
	content: "";
}

.swal2-popup.en-swal-popup .swal2-icon {
	margin: 0.25rem auto 1rem;
	animation: en-swal-icon-pop 420ms cubic-bezier(0.2, 0.9, 0.25, 1.25) both;
}

.swal2-popup.en-swal-popup .en-swal-title {
	margin: 0 0 0.65rem;
	color: #183f60;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.35;
}

.swal2-popup.en-swal-popup .en-swal-message {
	margin: 0;
	color: #526579;
	font-size: 0.98rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.swal2-popup.en-swal-popup .en-swal-actions {
	gap: 0.7rem;
	margin: 1.4rem auto 0;
}

.swal2-popup.en-swal-popup .en-swal-button {
	min-width: 6rem;
	min-height: 2.7rem;
	margin: 0;
	padding: 0.65rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.2;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.swal2-popup.en-swal-popup .en-swal-confirm {
	background: #79154a;
	color: #fff;
}

.swal2-popup.en-swal-popup .en-swal-confirm:hover {
	background: #5f103a;
	transform: translateY(-1px);
}

.swal2-popup.en-swal-popup .en-swal-cancel {
	border-color: #d6e0e8;
	background: #f3f6f8;
	color: #344b60;
}

.swal2-popup.en-swal-popup .en-swal-cancel:hover {
	border-color: #bdcbd6;
	background: #e8eef2;
	transform: translateY(-1px);
}

.swal2-popup.en-swal-popup .swal2-icon.swal2-success ~ .en-swal-message {
	color: #176c46;
	font-weight: 600;
}

.swal2-popup.en-swal-popup .swal2-icon.swal2-success ~ .en-swal-actions .en-swal-confirm {
	background: #176c46;
}

.swal2-popup.en-swal-popup .en-swal-button:active {
	transform: translateY(0) scale(0.98);
}

.swal2-popup.en-swal-popup .en-swal-button:focus-visible {
	outline: 3px solid rgba(21, 76, 121, 0.24);
	outline-offset: 2px;
}

.en-swal-show {
	animation: en-swal-enter 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.en-swal-hide {
	animation: en-swal-exit 180ms ease-in both;
}

@keyframes en-swal-enter {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.94);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes en-swal-icon-pop {
	from {
		opacity: 0;
		transform: scale(0.55) rotate(-12deg);
	}

	to {
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

@keyframes en-swal-exit {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	to {
		opacity: 0;
		transform: translateY(3px) scale(0.985);
	}
}

@media (max-width: 480px) {
	.swal2-popup.en-swal-popup {
		width: calc(100% - 1.5rem);
		padding: 1.4rem 1.15rem 1.2rem;
		border-radius: 16px;
	}

	.swal2-popup.en-swal-popup .en-swal-title {
		font-size: 1.2rem;
	}

	.swal2-popup.en-swal-popup .en-swal-message {
		font-size: 0.93rem;
	}

	.swal2-popup.en-swal-popup .en-swal-actions {
		gap: 0.55rem;
		margin-top: 1.15rem;
	}

	.swal2-popup.en-swal-popup .en-swal-button {
		min-width: 5.5rem;
		min-height: 2.55rem;
		padding: 0.6rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-swal-show,
	.en-swal-hide,
	.swal2-popup.en-swal-popup .swal2-icon {
		animation-duration: 1ms;
	}

	.swal2-popup.en-swal-popup .en-swal-button {
		transition: none;
	}
}

.en-alert {
	padding: 13px 16px;
	margin-bottom: 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 13px;
}

.en-alert-success {
	color: #176c46;
	background: #eaf8f0;
	border-color: #cceedd;
}

.en-alert-error {
	color: #a52f36;
	background: #fff0f0;
	border-color: #ffd9dc;
}

/* Compact secondary sections on the Meeting Assistant LOB builder. */
.en-lob-compact-section {
	padding: 14px 16px;
	margin-bottom: 12px;
	border-color: #dfe8df;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(24, 49, 38, 0.04);
}

.en-lob-compact-section > h2 {
	margin: 0 0 8px;
	color: #17483b;
	font-size: 16px;
	line-height: 1.35;
}

.en-lob-compact-section > p {
	margin: 0 0 10px;
	line-height: 1.45;
}

.en-lob-compact-section > ul {
	margin: 0 0 10px;
	padding-left: 20px;
}

.en-lob-compact-section .en-common-datatable-wrapper {
	margin-top: 8px;
}

.en-lob-table-wrap {
	margin-bottom: 12px;
}

.en-lob-builder-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.en-lob-builder-controls .en-inline-form {
	margin: 0;
}

.en-lob-approved-proceedings .en-inline-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 12px 0 4px;
}

.en-lob-approved-proceedings .en-inline-form > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.en-lob-approved-proceedings .en-inline-form > .en-action-btn {
	flex: 0 0 auto;
	margin: 0;
}

.en-lob-table .en-lob-source-text {
	min-width: 220px;
	max-width: 540px;
	white-space: normal;
	overflow-wrap: anywhere;
}

.en-lob-qa-list {
	display: grid;
	gap: 12px;
	min-width: 320px;
	max-width: 760px;
	color: #26322e;
}

.en-lob-qa-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	background: #fffefa;
	border: 1px solid #b89752;
	border-radius: 5px;
}

.en-lob-qa-question,
.en-lob-qa-answer {
	min-width: 0;
	padding: 12px 14px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.en-lob-qa-question {
	background: #f6f3e8;
	border-right: 1px solid #b89752;
}

.en-lob-qa-question > div:last-child,
.en-lob-qa-department-answer > div {
	min-width: 0;
	max-width: 100%;
	text-align: justify;
	overflow-wrap: anywhere;
}

.en-lob-qa-question img,
.en-lob-qa-answer img {
	max-width: 100%;
	height: auto;
}

.en-lob-qa-proceedings {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
	min-width: 0;
	padding: 12px 14px;
	border-top: 1px solid #b89752;
	box-sizing: border-box;
}

.en-lob-item-proceedings {
	grid-column: 1 / -1;
	min-width: 0;
	padding: 14px;
	color: #26322e;
	background: #f6f3e8;
	border-top: 1px solid #b89752;
	box-sizing: border-box;
}

.en-lob-item-proceedings + .en-lob-item-proceedings {
	border-top: 1px solid #d8d0bb;
}

.en-lob-item-proceedings h4 {
	margin: 0 0 10px;
	color: #17483b;
	font-size: 1rem;
}

.en-lob-proceedings-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	width: 100%;
}

.en-lob-proceedings-form > label {
	color: #315548;
	font-size: 0.9rem;
	font-weight: 700;
}

.en-lob-proceedings-form textarea {
	width: 100%;
	min-height: 150px;
	padding: 10px 12px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #b89752;
	border-radius: 4px;
	box-sizing: border-box;
	font: inherit;
	line-height: 1.5;
	resize: vertical;
}

.en-lob-proceedings-form input[type="file"] {
	width: 100%;
	min-width: 0;
	padding: 8px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #d8d0bb;
	border-radius: 4px;
	box-sizing: border-box;
}

.en-lob-proceedings-file-state,
.en-lob-proceedings-saved-file,
.en-lob-proceedings-linked-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	min-width: 0;
	color: #49554f;
	font-size: 0.88rem;
	overflow-wrap: anywhere;
}

.en-lob-proceedings-file-state [data-lob-proceedings-filename] {
	font-weight: 600;
}

.en-lob-proceedings-saved-file,
.en-lob-proceedings-linked-file {
	margin-top: 8px;
	padding: 8px 10px;
	background: #fffefa;
	border: 1px solid #d8d0bb;
	border-left: 3px solid #b89752;
	border-radius: 4px;
}

.en-lob-proceedings-linked-file form {
	margin: 0;
}

.en-lob-proceedings-saved-text {
	margin: 0 0 8px;
	padding: 10px 12px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #d8d0bb;
	border-radius: 4px;
	line-height: 1.5;
	white-space: normal;
	overflow-wrap: anywhere;
}

.en-lob-proceedings-form button[type="submit"] {
	justify-self: start;
}

.en-lob-house-proceedings-form .en-lob-proceedings-file-state [data-lob-proceedings-clear],
.en-lob-house-proceedings-form button[type="submit"][name="proceedings_action"] {
	min-height: 34px;
	padding: 6px 11px;
	font-size: 12px;
	line-height: 1.25;
}

.en-lob-qa-proceedings .en-form-label {
	margin: 0;
}

.en-lob-qa-proceedings textarea {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.en-lob-qa-proceedings button {
	justify-self: start;
}

.en-lob-qa-label {
	display: block;
	margin-bottom: 7px;
	color: #17483b;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.en-lob-qa-question > strong,
.en-lob-qa-department-answer > strong {
	display: block;
	margin-bottom: 5px;
	color: #315548;
}

.en-lob-qa-department-answer + .en-lob-qa-department-answer {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #e7e1d2;
}

.en-lob-qa-attachment {
	display: block;
	margin-top: 5px;
	color: #68736d;
}

.en-lob-qa-unavailable {
	color: #68736d;
	font-style: italic;
}

.en-lob-resolution-list {
	display: grid;
	gap: 10px;
	min-width: 260px;
	max-width: 760px;
}

.en-lob-resolution-card {
	display: grid;
	gap: 5px;
	padding: 12px 14px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #b89752;
	border-left: 4px solid #17483b;
	border-radius: 5px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.en-lob-resolution-label {
	color: #17483b;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.en-lob-resolution-card > strong {
	color: #315548;
}

.en-lob-resolution-card > small {
	color: #68736d;
}

.en-lob-resolution-attachment {
	padding-top: 5px;
	border-top: 1px solid #e7e1d2;
}

@media (max-width: 700px) {
	.en-lob-qa-list {
		min-width: 0;
	}

	.en-lob-qa-box {
		grid-template-columns: minmax(0, 1fr);
	}

	.en-lob-qa-question {
		border-right: 0;
		border-bottom: 1px solid #b89752;
	}

	.en-lob-resolution-list {
		min-width: 0;
	}
}

.en-lob-table td input:not([type="hidden"]),
.en-lob-table td textarea {
	box-sizing: border-box;
	width: 100%;
	min-width: 115px;
}

.en-lob-table .en-lob-browse-label {
	display: block;
	margin-top: 6px;
	color: #17483b;
	font-size: 12px;
	font-weight: 600;
}

.en-lob-table .en-lob-browse-label input[type="file"] {
	display: block;
	max-width: 220px;
	margin-top: 3px;
	color: #303a35;
}

.en-lob-table .en-lob-paper-file {
	display: block;
	margin-top: 4px;
	color: #17483b;
	overflow-wrap: anywhere;
}

.en-lob-table .en-lob-actions-cell {
	min-width: 175px;
	white-space: normal;
}

.en-lob-table .en-lob-actions-cell form {
	display: inline-block;
	margin: 2px;
}

/* Create / Edit User Form */

.en-form-card {
	width: 100%;
}

.en-account-form {
	width: min(100%, 760px);
	margin: 0 auto 24px;
	padding: clamp(20px, 3vw, 32px);
	box-sizing: border-box;
}

.en-account-form h1 {
	margin: 0 0 12px;
	color: #203452;
	font-size: clamp(22px, 2.5vw, 28px);
}

.en-account-form > p {
	margin: 0 0 20px;
	color: #68798a;
	font-size: 13px;
	line-height: 1.65;
}

.en-account-form > .en-alert-error,
.en-account-form > .en-alert-success {
	margin: 0 0 18px;
	padding: 11px 14px;
	border-radius: 6px;
}

.en-account-form form {
	display: grid;
	gap: 18px;
}

.en-account-form .en-form-group label {
	margin-bottom: 8px;
}

.en-account-form .en-form-group input {
	min-width: 0;
}

.en-account-form .en-form-group small {
	color: #68798a;
}

.en-account-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
}

.en-change-signature-preview {
	width: min(100%, 340px);
	min-height: 92px;
	margin: 0 0 20px;
}

.en-change-signature-preview .en-my-signature-preview {
	max-height: 92px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.en-change-signature-preview .en-my-signature-empty {
	margin: 0;
}

@media (max-width: 600px) {
	.en-account-form {
		padding: 18px;
	}

	.en-account-form-actions > .en-btn,
	.en-account-form-actions > .en-action-btn {
		width: 100%;
		justify-content: center;
	}
}

.en-user-form {
	padding: 25px 28px 24px;
}

.en-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.en-form-group {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.en-form-group label {
	margin-bottom: 9px;
	color: #344761;
	font-size: 13px;
	font-weight: 700;
}

.en-form-group input,
.en-form-group select {
	width: 100%;
	min-height: 44px;
	padding: 11px 13px;
	color: #263b57;
	background: #fff;
	border: 1px solid #dce3ed;
	border-radius: 7px;
	outline: none;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.en-form-group input:focus,
.en-form-group select:focus {
	border-color: #4779c5;
	box-shadow: 0 0 0 3px rgba(71, 121, 197, 0.12);
}

.en-form-group input::placeholder {
	color: #a0acbb;
}

.en-form-group small {
	margin-top: 7px;
	color: #be1931;
	font-size: 11px;
	line-height: 1.5;
}

.en-admin-user-form-card {
	overflow: hidden;
	border: 1px solid #e4edeb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(34, 72, 78, 0.075);
	animation: en-user-form-enter 0.4s ease both;
}

.en-user-form-heading {
	align-items: flex-end;
}

.en-user-form-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #43897e;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.5px;
}

.en-user-form-intro {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 25px 34px;
	border-bottom: 1px solid #e8f0ee;
	background: linear-gradient(110deg, #f1f8f6, #f8fbfc 75%);
}

.en-user-form-intro-icon {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border: 1px solid #d6e9e3;
	border-radius: 15px;
	background: #e5f2ed;
	color: #27766d;
	font-size: 25px;
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.en-user-form-intro-icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.en-admin-user-form-card:hover .en-user-form-intro-icon {
	transform: rotate(7deg);
	background: #dcefe8;
}

.en-user-form-intro h2 {
	margin: 0 0 5px;
	color: #1c3e4b;
	font-size: 19px;
	font-weight: 700;
}

.en-user-form-intro p {
	margin: 0;
	color: #71858b;
	font-size: 13px;
}

.en-user-required {
	color: #c54451;
}

.en-user-form-section + .en-user-form-section {
	margin-top: 31px;
	padding-top: 26px;
	border-top: 1px solid #edf2f0;
}

.en-user-form-section > h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 21px;
	color: #28545b;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.015em;
}

.en-user-form-section > h3::before {
	width: 4px;
	height: 17px;
	border-radius: 5px;
	background: #73b7a8;
	content: "";
}

.en-user-form .en-form-group {
	animation: en-user-field-enter 0.35s ease both;
}

.en-user-form .en-form-group:nth-child(2) {
	animation-delay: 0.03s;
}
.en-user-form .en-form-group:nth-child(3) {
	animation-delay: 0.06s;
}
.en-user-form .en-form-group:nth-child(4) {
	animation-delay: 0.09s;
}
.en-user-form .en-form-group:nth-child(5) {
	animation-delay: 0.12s;
}
.en-user-form .en-form-group:nth-child(6) {
	animation-delay: 0.15s;
}

.en-user-form .en-form-group-wide {
	grid-column: 1 / -1;
}

.en-user-form [hidden] {
	display: none !important;
}

.en-user-form .en-form-group label {
	margin-bottom: 8px;
	color: #38515a;
	font-size: 12px;
	font-weight: 700;
}

.en-user-form .en-form-group input,
.en-user-form .en-form-group select,
.en-user-form .en-form-group textarea {
	width: 100%;
	min-height: 47px;
	padding: 12px 14px;
	border: 1px solid #dce8e5;
	border-radius: 9px;
	outline: 0;
	background: #fff;
	color: #263f4b;
	font: inherit;
	font-size: 13px;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.en-user-form .en-form-group textarea {
	min-height: 92px;
	resize: vertical;
}

.en-user-form .en-form-group input:hover,
.en-user-form .en-form-group select:hover,
.en-user-form .en-form-group textarea:hover {
	border-color: #c4d9d3;
}

.en-user-form .en-form-group input:focus,
.en-user-form .en-form-group select:focus,
.en-user-form .en-form-group textarea:focus {
	border-color: #69a99e;
	background: #fdffff;
	box-shadow: 0 0 0 4px rgba(63, 151, 138, 0.1);
}

.en-user-form .en-form-group input[type="file"] {
	min-height: 0;
	padding: 11px;
	border-style: dashed;
	background: #f8fbfa;
}

.en-user-form .en-form-group input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 1px solid #d7e7e2;
	border-radius: 7px;
	background: #edf6f3;
	color: #315d5d;
	font: inherit;
	cursor: pointer;
	transition: background 0.2s ease;
}

.en-user-form .en-form-group input[type="file"]::file-selector-button:hover {
	background: #e1f0eb;
}

.en-user-form .en-field-hint,
.en-user-form .en-photo-hint {
	margin-top: 7px;
	color: #db292c;
	font-size: 11px;
	line-height: 1.5;
}

.en-user-form .en-live-feedback {
	min-height: 0;
	margin-top: 5px;
	color: transparent;
	font-size: 11px;
	line-height: 1.45;
	transition: color 0.18s ease;
}

.en-user-form .en-live-feedback:not(:empty) {
	min-height: 16px;
}

.en-user-form .en-live-feedback.is-valid {
	color: #21805e;
}
.en-user-form .en-live-feedback.is-invalid {
	color: #bd3b4b;
}
.en-user-form .en-live-feedback.is-pending {
	color: #9a7731;
}

.en-user-form .en-current-photo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	color: #587079;
	font-size: 12px;
}

.en-user-form .en-current-photo img {
	width: 56px;
	height: 56px;
	border: 2px solid #e1eeeb;
	border-radius: 14px;
	object-fit: cover;
}

.en-user-form .en-captcha-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.en-user-form #captchaCanvas {
	border: 1px solid #e1ece9;
	border-radius: 8px;
}

.en-form-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-top: 31px;
	padding-top: 23px;
	border-top: 1px solid #eaf0ef;
}

.en-user-form .en-form-footer {
	margin-top: 29px;
}

.en-user-form .en-user-submit {
	min-height: 44px;
	padding-inline: 19px;
	border-radius: 9px;
	border-color: #287b71;
	background: #287b71;
	box-shadow: 0 5px 14px rgba(40, 123, 113, 0.18);
}

.en-user-form .en-user-submit:hover {
	border-color: #206b62;
	background: #206b62;
	box-shadow: 0 7px 17px rgba(40, 123, 113, 0.22);
}

.en-user-form .en-user-submit:disabled {
	cursor: progress;
	opacity: 0.72;
}

.en-access-control {
	overflow: hidden;
	border: 1px solid #dce8e5;
	border-radius: 10px;
	background: #fbfdfc;
}

.en-access-control > summary {
	position: relative;
	padding: 15px 18px;
	color: #28545b;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.en-access-control > summary::-webkit-details-marker {
	display: none;
}

.en-access-control > summary::after {
	position: absolute;
	right: 18px;
	color: #43897e;
	content: "+";
	font-size: 18px;
	line-height: 1;
}

.en-access-control[open] > summary::after {
	content: "−";
}

.en-access-control-content {
	padding: 0 18px 18px;
	border-top: 1px solid #e8f0ee;
}

.en-access-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 0 7px;
}

.en-access-total,
.en-access-option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #38515a;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.en-user-form .en-access-total input[type="checkbox"],
.en-user-form .en-access-option input[type="checkbox"] {
	width: 16px;
	min-height: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	accent-color: #287b71;
}

.en-access-selection-buttons {
	display: flex;
	gap: 8px;
}

.en-access-selection-buttons .en-btn {
	min-height: 34px;
	padding: 7px 11px;
	font-size: 11px;
}

.en-access-selection-buttons .en-btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.en-access-module {
	margin: 0 0 10px;
	border: 1px solid #e4edeb;
	border-radius: 8px;
	background: #fff;
}

.en-access-module > summary {
	position: relative;
	padding: 11px 34px 11px 12px;
	color: #38515a;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.en-access-module > summary::-webkit-details-marker {
	display: none;
}

.en-access-module > summary::after {
	position: absolute;
	right: 12px;
	color: #43897e;
	content: "+";
	font-size: 16px;
	line-height: 1;
}

.en-access-module[open] > summary::after {
	content: "−";
}

.en-access-actions {
	display: flex;
	flex-wrap: wrap;
	padding: 0 12px 12px;
	gap: 10px 18px;
}

.en-access-option {
	font-weight: 500;
}

@media (max-width: 700px) {
	.en-page-heading {
		align-items: flex-start;
	}

	.en-page-heading h1 {
		font-size: 23px;
	}

	.en-form-grid {
		grid-template-columns: 1fr;
		gap: 19px;
	}

	.en-user-form {
		padding: 20px 18px;
	}

	.en-card-header {
		padding: 18px;
	}

	.en-form-footer {
		flex-wrap: wrap;
	}

	.en-form-footer .en-btn {
		flex: 1;
	}

	.en-user-form-intro {
		padding: 21px;
	}

	.en-access-controls {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-admin-user-form-card,
	.en-user-form .en-form-group {
		animation: none;
	}

	.en-user-form-intro-icon {
		transition: none;
	}
}

.en-admin-module-link {
	display: block;
	color: inherit;
	text-decoration: none !important;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.en-admin-module-link:hover {
	color: inherit;
	text-decoration: none !important;
	transform: translateY(-3px);
	border-color: #2457a7;
	box-shadow: 0 8px 22px rgba(36, 87, 167, 0.12);
}

.en-admin-module-link h3 {
	color: #203452;
}

.en-admin-module-link span {
	color: #2457a7;
	font-weight: 600;
}
/* Match MP4 animation sizing with existing action-button GIFs */
.en-question-actions .en-action-btn video {
	display: inline-block;
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	vertical-align: middle;
	pointer-events: none;
}
.en-btn .en-button-animation {
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

/* Shared visual refresh for councillor, department and admin portals */
.en-councillor-body {
	--en-ink: #19324a;
	--en-muted: #65788a;
	--en-border: #e1e9ef;
	--en-accent: #0f766e;
	--en-accent-dark: #0b5f59;
	background:
		radial-gradient(
			ellipse at 92% 4%,
			rgba(213, 229, 235, 0.34),
			transparent 32rem
		),
		#f4f7f9;
	color: var(--en-ink);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.en-councillor-body :focus-visible {
	outline: 3px solid rgba(15, 118, 110, 0.42);
	outline-offset: 3px;
}

.en-councillor-body .en-topbar {
	min-height: 54px;
	padding: 10px 30px;
	background: #102b42;
	box-shadow: inset 0 -2px 0 #c49a52;
	letter-spacing: 0.01em;
}

.en-councillor-body .en-dashboard-layout {
	min-height: calc(100vh - 54px);
}

.en-councillor-body .en-sidebar {
	background: linear-gradient(180deg, #153f5b 0%, #102f49 100%);
	box-shadow: 8px 0 24px rgba(19, 48, 71, 0.06);
}

.en-councillor-body .en-sidebar-brand {
	padding-top: 30px;
	padding-bottom: 25px;
}

.en-councillor-body .en-sidebar-brand h2 {
	letter-spacing: 0.02em;
}

.en-councillor-body .en-sidebar-user {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.en-councillor-body .en-user-avatar {
	background: linear-gradient(145deg, #5ce3dc, #74d6cc);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.en-councillor-body .en-sidebar-nav {
	gap: 6px;
	padding: 18px 13px;
}

.en-councillor-body .en-sidebar-nav a,
.en-councillor-body .en-sidebar-nav .en-sidebar-dropdown-toggle {
	min-height: 46px;
	border-left-width: 3px;
	border-radius: 8px;
	color: #dce8ee;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.en-councillor-body .en-sidebar-nav a:hover,
.en-councillor-body .en-sidebar-nav .en-sidebar-dropdown-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(2px);
}

.en-councillor-body .en-sidebar-nav a.active,
.en-councillor-body .en-sidebar-nav .en-sidebar-dropdown-toggle.active {
	border-left-color: #6ed0bb;
	background: rgba(72, 179, 157, 0.18);
	color: #fff;
}

.en-councillor-body .en-sidebar-heading {
	color: #e7eaf0;
	font-size: 14px;
	font-weight: 700;
}

.en-councillor-body .en-sidebar-nav .en-sidebar-dropdown-toggle {
	width: 100%;
	justify-content: space-between;
	border: 0;
	border-left: 3px solid transparent;
	background: transparent;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

.en-councillor-body .en-sidebar-dropdown-group {
	display: flex;
	flex-direction: column;
}

.en-councillor-body .en-sidebar-dropdown-chevron {
	width: 8px;
	height: 8px;
	margin-right: 3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.en-councillor-body
	.en-sidebar-dropdown-toggle[aria-expanded="true"]
	.en-sidebar-dropdown-chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

.en-councillor-body .en-sidebar-submenu {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 3px 0 5px 18px;
	padding-left: 9px;
	border-left: 1px solid rgba(186, 215, 220, 0.32);
}

.en-councillor-body .en-sidebar-submenu[hidden] {
	display: none;
}

.en-councillor-body .en-sidebar-submenu a {
	min-height: 40px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 12px;
}

.en-councillor-body .en-sidebar-logout {
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
}

.en-councillor-body .en-dashboard-main {
	padding: 26px clamp(18px, 2.4vw, 34px);
}

.en-councillor-body .en-dashboard-header {
	margin-bottom: 30px;
}

.en-councillor-body .en-dashboard-header h1,
.en-councillor-body .en-page-heading h1 {
	color: var(--en-ink);
	letter-spacing: -0.025em;
}

.en-councillor-body .en-dashboard-header p,
.en-councillor-body .en-page-heading p {
	color: var(--en-muted);
}

.en-councillor-body .en-role-badge {
	border-color: #cde7e1;
	background: #e8f5f2;
	color: #17685f;
}

.en-councillor-body .en-welcome-panel {
	position: relative;
	overflow: hidden;
	margin-bottom: 38px;
	padding: 36px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 4px solid #d2ad6e;
	border-radius: 16px;
	background:
		radial-gradient(
			circle at 88% 18%,
			rgba(121, 198, 180, 0.2),
			transparent 13rem
		),
		linear-gradient(115deg, #123d58, #12645e);
	box-shadow: 0 14px 32px rgba(18, 61, 79, 0.15);
}

.en-councillor-body .en-panel-eyebrow {
	color: #b4cfdb;
}

.en-councillor-body .en-welcome-panel h2 {
	letter-spacing: -0.02em;
}

.en-councillor-body .en-welcome-panel p {
	color: #e1efed;
}

.en-councillor-body .en-panel-icon {
	border-color: rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
}

.en-councillor-body .en-section-block {
	margin-bottom: 38px;
}

.en-councillor-body .en-section-heading h2 {
	color: var(--en-ink);
	letter-spacing: -0.015em;
}

.en-councillor-body .en-section-heading p {
	color: var(--en-muted);
}

.en-councillor-body .en-dashboard-cards {
	gap: 20px;
}

.en-councillor-body .en-dashboard-card {
	min-height: 250px;
	padding: 27px;
}

.en-councillor-body .en-dashboard-card.en-compact-card {
	min-height: 250px;
}

.en-councillor-body .en-dashboard-card,
.en-councillor-body .en-question-card,
.en-councillor-body .en-common-datatable-card,
.en-councillor-body .en-form-card {
	border-color: var(--en-border);
	border-radius: 14px;
	box-shadow: 0 5px 18px rgba(26, 55, 77, 0.045);
}

.en-councillor-body .en-dashboard-card {
	position: relative;
	overflow: hidden;
	padding: 27px;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

.en-councillor-body .en-dashboard-card::before {
	position: absolute;
	top: 0;
	right: 20px;
	left: 20px;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, #0f766e, #8fcfc0);
	content: "";
	opacity: 0;
	transition: opacity 0.22s ease;
}

.en-councillor-body .en-dashboard-card:hover {
	transform: translateY(-4px);
	border-color: #cbdedc;
	box-shadow: 0 14px 28px rgba(26, 67, 77, 0.1);
}

.en-councillor-body .en-dashboard-card:hover::before {
	opacity: 1;
}

.en-councillor-body .en-card-icon {
	border-radius: 13px;
	background: #e8f4f1;
	color: var(--en-accent-dark);
}

.en-councillor-body .en-dashboard-card h3 {
	color: var(--en-ink);
}

.en-councillor-body .en-dashboard-card p {
	color: var(--en-muted);
}

.en-councillor-body .en-card-note {
	border: 1px solid #e7edf0;
	border-radius: 8px;
	background: #f6f9fa;
	color: #536b7c;
}

.en-councillor-body .en-action-btn:not(.edit-btn):not(.delete-btn) {
	min-height: 44px;
	border-radius: 8px;
	background: var(--en-accent);
	box-shadow: 0 3px 8px rgba(15, 118, 110, 0.15);
	transition:
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.en-councillor-body .en-action-btn:not(.edit-btn):not(.delete-btn):hover {
	background: var(--en-accent-dark);
	box-shadow: 0 5px 12px rgba(15, 95, 89, 0.2);
}

.en-councillor-body .en-dashboard-footer {
	border-top-color: var(--en-border);
	color: var(--en-muted);
}

.en-councillor-body .en-question-card {
	padding: 24px;
}

.en-councillor-body .en-question-field input,
.en-councillor-body .en-question-field select,
.en-councillor-body .en-question-field textarea,
.en-councillor-body .en-form-group input,
.en-councillor-body .en-form-group select {
	border-color: #d4e0e7;
	border-radius: 8px;
}

.en-councillor-body .en-question-field input:focus,
.en-councillor-body .en-question-field select:focus,
.en-councillor-body .en-question-field textarea:focus,
.en-councillor-body .en-form-group input:focus,
.en-councillor-body .en-form-group select:focus {
	border-color: var(--en-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.en-councillor-body .en-question-field input[type="file"] {
	padding: 9px;
	background: #f8fafb;
}

.en-councillor-body
	.en-question-field
	input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 1px solid #d4e0e7;
	border-radius: 6px;
	background: #fff;
	color: var(--en-ink);
	font: inherit;
	cursor: pointer;
}

.en-councillor-body
	.en-question-field
	input[type="file"]::file-selector-button:hover {
	background: #e8f4f1;
}

@media (max-width: 768px) {
	.en-councillor-body .en-dashboard-main {
		padding: 22px 18px;
	}

	.en-councillor-body .en-welcome-panel {
		padding: 28px;
	}
}

@media (max-width: 560px) {
	.en-councillor-body .en-dashboard-main {
		padding: 18px 14px;
	}

	.en-councillor-body .en-welcome-panel {
		padding: 24px 20px;
		border-radius: 13px;
	}

	.en-councillor-body .en-dashboard-card,
	.en-councillor-body .en-question-card {
		padding: 19px 16px;
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-councillor-body *,
	.en-councillor-body *::before,
	.en-councillor-body *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

.en-question-required {
	color: #bd4545;
	font-size: 15px;
	font-weight: 800;
	margin-left: 1px;
}

.en-role-master-form,
.en-role-master-list {
	border: 1px solid #e4ecee;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(35, 76, 82, 0.05);
}

.en-house-master-fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(160px, 1fr));
	align-items: end;
	gap: 18px;
	padding: 22px;
}

.en-form-group[hidden] {
	display: none !important;
}

.en-master-page-heading {
	align-items: center;
}

.en-master-add-form > summary {
	display: none;
}

.en-master-add-form:not([open]) {
	display: none;
}

.en-master-detail-card {
	max-width: 900px;
	overflow: hidden;
	border: 1px solid #e4ecee;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(35, 76, 82, 0.05);
}

.en-master-detail-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 20px;
	padding: 28px;
}

.en-master-detail-values > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.en-master-detail-values span {
	color: #71818d;
	font-size: 12px;
}

.en-master-detail-values strong {
	color: #263b57;
	font-size: 15px;
}

.en-master-detail-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 28px 24px;
}

.en-master-detail-actions form {
	margin: 0;
}

.en-master-delete-notice {
	margin: 0 28px 18px;
}

.en-master-add-form > summary {
	padding: 18px 22px;
	color: #28545b;
	font-weight: 700;
}

.en-master-add-form[open] > summary {
	display: block;
	border-bottom: 1px solid #edf1f5;
}

.en-house-master-fields .en-form-group input,
.en-house-master-fields .en-form-group select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #dce3ed;
	border-radius: 8px;
	background: #fff;
	color: #263b57;
	font: inherit;
}

.en-create-house-form {
	padding: 30px 34px 28px;
}

.en-create-house-form .en-house-form-wide {
	grid-column: 1 / -1;
}

.en-create-house-form .en-form-group textarea {
	width: 100%;
	min-height: 90px;
	padding: 11px 13px;
	border: 1px solid #dce3ed;
	border-radius: 7px;
	color: #263b57;
	font: inherit;
	font-size: 13px;
	resize: vertical;
}

.en-create-house-form .en-form-group textarea:focus {
	border-color: #4779c5;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(71, 121, 197, 0.12);
}

.en-create-house-form .en-form-footer {
	margin-top: 28px;
}

.en-meeting-documents {
	border-top: 1px solid #edf0f5;
}

.en-role-master-fields {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
	align-items: end;
	gap: 18px;
	padding: 22px;
}

.en-role-master-fields .en-form-group input,
.en-role-master-fields .en-form-group select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #dce3ed;
	border-radius: 8px;
	background: #fff;
	color: #263b57;
	font: inherit;
}

.en-committee-time-selectors {
	display: flex;
	align-items: center;
	gap: 8px;
}

.en-role-master-fields .en-committee-time-selectors select {
	min-width: 0;
	flex: 1 1 0;
}

.en-role-master-fields .en-committee-time-selectors select:first-child {
	flex-grow: 1.1;
}

.en-role-master-fields .en-committee-time-selectors select:last-child {
	flex-grow: 0.9;
}

.en-committee-time-separator {
	flex: 0 0 auto;
	color: #263b57;
	font-weight: 600;
}

/* Keep the committee's multi-select aligned with the standard Admin fields. */
.en-role-master-fields .en-form-group select.en-committee-councillor-select {
	width: 100%;
	min-height: 112px;
	max-height: 160px;
	padding: 8px 11px;
	font-size: 14px;
	line-height: 1.45;
	border-radius: 7px;
}

.en-document-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	border-bottom: 1px solid #d9dfd4;
}
.en-document-tabs button {
	border: 1px solid #cbd8ce;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	padding: 10px 16px;
	color: #315548;
	background: #f7f8f3;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.en-document-tabs button.active {
	color: #fffefa;
	background: #17483b;
	border-color: #17483b;
}
.en-latest-publication {
	margin: 0 0 18px;
	padding: 20px 22px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #d8c58d;
	border-left: 4px solid #17483b;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(25, 53, 44, 0.06);
}
.en-latest-publication h2 {
	margin: 0 0 10px;
	color: #17483b;
}
[data-lob-panel][hidden] {
	display: none !important;
}
.en-ebook-history-table input {
	width: 100%;
	min-width: 90px;
	box-sizing: border-box;
}
.en-deadline-login-dialog {
	width: min(680px, calc(100vw - 32px));
	max-height: min(82vh, 760px);
	padding: 24px;
	color: #26322e;
	background: #fffefa;
	border: 1px solid #c6a45c;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(14, 35, 28, 0.35);
}
.en-deadline-login-dialog::backdrop {
	background: rgba(17, 36, 29, 0.62);
	backdrop-filter: blur(2px);
}
.en-deadline-login-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e3d7b8;
}
.en-deadline-login-dialog-header h2 {
	margin: 4px 0 0;
	color: #17483b;
}
.en-deadline-login-close {
	width: 38px;
	height: 38px;
	border: 1px solid #d6ddcf;
	border-radius: 50%;
	color: #17483b;
	background: #f7f8f3;
	font-size: 24px;
	cursor: pointer;
}
.en-deadline-login-list {
	display: grid;
	gap: 12px;
	max-height: 55vh;
	overflow: auto;
	padding: 16px 2px;
}
.en-deadline-login-item {
	padding: 14px 16px;
	background: #f6f5ed;
	border: 1px solid #d8dfd2;
	border-left: 4px solid #27865a;
	border-radius: 8px;
}
.en-deadline-login-item h3 {
	margin: 0 0 6px;
	color: #17483b;
}
.en-deadline-login-item p {
	margin: 6px 0 10px;
	line-height: 1.5;
}
.en-deadline-login-urgent {
	border-color: #d9b889;
	border-left-color: #a2692c;
	background: #fff8e9;
}
.en-deadline-login-dialog form {
	display: flex;
	justify-content: flex-end;
	padding-top: 6px;
}
.en-resolution-history {
	margin-top: 8px;
	font-size: 0.9em;
}
.en-resolution-history summary {
	color: #315548;
	cursor: pointer;
	font-weight: 700;
}
.en-resolution-history ol {
	padding-left: 20px;
	line-height: 1.5;
}
.en-resolution-history li + li {
	margin-top: 8px;
}

.en-role-master-actions {
	display: flex;
	gap: 8px;
	padding-bottom: 1px;
}

.en-role-master-list {
	margin-top: 22px;
}

.en-role-master-list .en-card-header {
	border-bottom: 1px solid #edf1f5;
}

@keyframes en-user-form-enter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes en-user-field-enter {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 700px) {
	.en-user-form-intro {
		padding: 20px;
	}

	.en-role-master-fields {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.en-house-master-fields {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.en-create-house-form {
		padding: 20px;
	}

	.en-create-house-form .en-form-footer {
		flex-wrap: wrap;
	}

	.en-role-master-actions {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-admin-user-form-card,
	.en-user-form .en-form-group {
		animation: none;
	}
}

@media (min-width: 769px) {
	.en-councillor-body {
		height: 100vh;
		overflow: hidden;
	}

	.en-councillor-body .en-topbar {
		position: fixed;
		z-index: 20;
		top: 0;
		right: 0;
		left: 0;
		height: 54px;
	}

	.en-councillor-body .en-dashboard-layout {
		position: fixed;
		top: 54px;
		right: 0;
		bottom: 0;
		left: 0;
		height: auto;
		min-height: 0;
		overflow: hidden;
	}

	.en-councillor-body .en-sidebar {
		position: fixed;
		z-index: 15;
		top: 54px;
		bottom: 0;
		left: 0;
		width: 265px;
		min-width: 265px;
		height: auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.en-councillor-body .en-dashboard-main {
		position: fixed;
		top: 54px;
		right: 0;
		bottom: 0;
		left: 265px;
		height: auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.en-dashboard {
		display: flex;
		height: 100vh;
		overflow: hidden;
	}

	.en-dashboard > .en-sidebar {
		flex: 0 0 265px;
		height: 100%;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.en-main-content {
		flex: 1;
		min-width: 0;
		height: 100%;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

@media (max-width: 768px) {
	.en-councillor-body {
		height: auto;
		min-height: 100vh;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.en-councillor-body .en-dashboard-layout {
		position: static;
		height: auto;
		min-height: calc(100vh - 48px);
		overflow: visible;
	}

	.en-councillor-body .en-sidebar {
		position: static;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		height: auto;
		overflow: hidden;
	}

	.en-councillor-body .en-sidebar.is-open {
		overflow-y: auto;
	}

	.en-councillor-body .en-dashboard-main {
		position: static;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		height: auto;
		overflow: visible;
	}

	.en-dashboard {
		min-height: 100vh;
		flex-direction: column;
		overflow: visible;
	}

	.en-dashboard > .en-sidebar {
		width: 100%;
		min-width: 0;
		height: auto;
		flex-basis: auto;
		overflow: visible;
	}

	.en-main-content {
		height: auto;
		overflow: visible;
	}
}

.en-action-btn.delete-btn {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-width: 0 !important;
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
}

.en-action-btn.delete-btn:hover,
.en-action-btn.delete-btn:focus {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.en-action-btn video {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
	pointer-events: none;
}

.en-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.en-question-actions .en-action-btn.delete-btn,
.en-question-actions button.en-action-btn.delete-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	min-width: 0 !important;
	width: auto !important;
	height: auto !important;
	min-height: 34px !important;
	padding: 5px 9px !important;
	background: #dc3545 !important;
	border: 1px solid #dc3545 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
}

.en-question-actions .en-action-btn.delete-btn video {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	object-fit: contain !important;
	flex-shrink: 0;
	background: transparent !important;
}

.en-question-actions .en-action-btn.delete-btn span {
	color: #fff !important;
}

.en-action-btn.edit-btn,
.en-btn-edit {
	background: #15766e;
	border-color: #9ad2cd;
}

.en-action-btn.edit-btn:hover,
.en-action-btn.edit-btn:focus,
.en-btn-edit:hover,
.en-btn-edit:focus {
	background: #0b5f59;
	border-color: #0b5f59;
}

.en-question-actions .edit-btn img {
	filter: brightness(0) invert(1);
}

.en-user-form-heading {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 20px;
}

.en-user-form-heading .en-back-users-btn {
	background: #234b5a;
	color: #fff;
	text-decoration: none;
}

.en-user-form-heading .en-back-users-btn:hover {
	background: #183f60;
	color: #fff;
}
.en-question-field label {
	display: flex;
	align-items: center;
	gap: 5px;
}

.en-question-field label small {
	display: inline;
	margin: 0;
	white-space: nowrap;
}
.en-approval-details-table {
	width: 100%;
	table-layout: fixed;
}

.en-approval-details-table th {
	width: 25%;
	text-align: left;
	vertical-align: top;
}

.en-approval-details-table td {
	overflow-wrap: anywhere;
	white-space: normal;
	vertical-align: top;
}

@media (max-width: 640px) {
	.en-approval-details-table th {
		width: 36%;
	}
}

/* Shared self-service signature panel used in role workspaces. */
.en-my-signature {
	margin: 10px 18px;
	padding: 9px 14px;
	border: 1px solid #d7d3c4;
	border-radius: 9px;
	background: #fffefa;
	color: #26322e;
}
.en-my-signature summary {
	color: #17483b;
	font-weight: 700;
	cursor: pointer;
}
.en-my-signature-content {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 12px 0 4px;
}
.en-my-signature-preview-wrap {
	width: min(260px, 42vw);
	min-height: 76px;
	display: flex;
	align-items: center;
}
.en-my-signature-preview {
	width: 100%;
	height: 72px;
	object-fit: contain;
	object-position: left center;
	border: 0;
	background: transparent;
}
.en-my-signature-preview[hidden] {
	display: none;
}
.en-my-signature-empty {
	margin: 0;
	color: #68736d;
	font-size: 0.9rem;
}
.en-my-signature-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.en-my-signature-form label {
	color: #17483b;
	font-weight: 700;
}
.en-my-signature-form small {
	width: 100%;
	color: #68736d;
}
.en-expandable-textarea {
	min-height: 5rem;
}
.en-rich-text-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 8px 0 0;
	padding: 8px;
	background: #f4f5ef;
	border: 1px solid #d8ded4;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
}
.en-rich-text-tools button,
.en-rich-text-tools select {
	flex: 0 0 auto;
	min-width: 34px;
	min-height: 34px;
	padding: 6px 9px;
	border: 1px solid #cbd5c9;
	border-radius: 6px;
	color: #173f33;
	background: #fffefa;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.en-rich-text-tools select {
	min-width: 140px;
	max-width: 100%;
}
.en-rich-text-tools button:hover,
.en-rich-text-tools select:hover {
	background: #eaf0e8;
	border-color: #9aaf9e;
}
.en-rich-text-tools button:focus-visible,
.en-rich-text-tools select:focus-visible {
	outline: 2px solid #b89752;
	outline-offset: 1px;
}
.en-rich-text-tools button.is-active,
.en-rich-text-tools button[aria-pressed="true"] {
	color: #fffefa;
	background: #17483b;
	border-color: #17483b;
}
.en-rich-text-tools .en-rich-text-divider {
	align-self: stretch;
	width: 1px;
	min-height: 26px;
	margin: 4px 1px;
	background: #d5ddd2;
}
.en-rich-text-editor {
	box-sizing: border-box;
	width: 100%;
	min-height: 12rem;
	max-height: none;
	padding: 14px 16px;
	border: 1px solid #cbd5c9;
	border-radius: 0 0 8px 8px;
	background: #fffefa;
	color: #26372f;
	font: inherit;
	font-size: 15px;
	line-height: 1.65;
	white-space: normal;
	overflow-wrap: anywhere;
	overflow-y: hidden;
	overflow-x: hidden;
	outline: none;
	resize: none;
}
.en-rich-text-editor:empty::before {
	color: #7b8980;
	content: attr(data-placeholder);
	pointer-events: none;
}
.en-rich-text-editor p,
.en-rich-text-editor div {
	margin: 0 0 0.75em;
}
.en-rich-text-editor h1,
.en-rich-text-editor h2,
.en-rich-text-editor h3 {
	margin: 0.4em 0;
	line-height: 1.3;
}
.en-rich-text-editor:focus {
	border-color: #46785e;
	box-shadow: 0 0 0 3px rgba(39, 107, 86, 0.14);
}
.en-rich-text-editor[aria-invalid="true"] {
	border-color: #a9473c;
	box-shadow: 0 0 0 3px rgba(169, 71, 60, 0.12);
}
.en-question-field textarea#question-subject {
	min-height: 58px !important;
	width: 100%;
	margin-bottom: 14px;
}
.en-question-field #question-editor {
	width: 100%;
	min-width: 0;
}
@media (max-width: 640px) {
	.en-rich-text-tools {
		gap: 5px;
		padding: 6px;
	}
	.en-rich-text-tools button {
		min-width: 32px;
		min-height: 32px;
		padding: 5px 7px;
		font-size: 12px;
	}
	.en-rich-text-tools select {
		min-width: 120px;
		min-height: 32px;
		font-size: 12px;
	}
	.en-rich-text-editor {
		min-height: 10rem;
		padding: 12px;
	}
}
@media (max-width: 640px) {
	.en-my-signature-content {
		align-items: flex-start;
		flex-direction: column;
	}
	.en-my-signature-preview-wrap {
		width: 100%;
	}
}

/* Department sidebar dropdowns */
.en-sidebar-dropdown {
	margin: 4px 0;
}

.en-sidebar-dropdown > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 15px;
	cursor: pointer;
	list-style: none;
	border-radius: 7px;
	color: inherit;
	font-size: inherit;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.en-sidebar-dropdown > summary::-webkit-details-marker {
	display: none;
}

.en-sidebar-dropdown > summary::after {
	content: "+";
	font-size: 18px;
	line-height: 1;
}

.en-sidebar-dropdown[open] > summary::after {
	content: "\2212";
}

.en-sidebar-dropdown > summary:hover {
	background: rgba(128, 128, 128, 0.12);
}

.en-sidebar-submenu {
	padding: 4px 0 4px 12px;
}

.en-sidebar-submenu a {
	display: block;
	min-height: 34px;
	box-sizing: border-box;
	padding: 8px 10px;
	margin: 2px 0;
	border-radius: 6px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.en-sidebar-submenu a:hover {
	background: rgba(128, 128, 128, 0.12);
}

.en-sidebar-submenu a.active {
	background: rgba(177, 138, 74, 0.16);
	color: #f2dfb5;
	font-weight: 600;
}
/* Commissioner Question Details - spacing fix */
.en-approval-details-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.en-approval-details-table th,
.en-approval-details-table td {
	padding: 14px 18px;
	vertical-align: top;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.en-approval-details-table th {
	width: 230px;
	white-space: normal;
}

.en-approval-details-table tr th:first-child,
.en-approval-details-table tr td:first-child {
	padding-left: 20px;
}

.en-card .en-common-datatable-wrapper {
	margin-top: 18px;
}

.en-card > h3 {
	margin: 0 0 18px;
	line-height: 1.5;
}

.en-question-description {
	white-space: normal;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

/* Space between question sections */
.en-card + .en-card,
.en-card + .en-common-datatable-card {
	margin-top: 24px;
}

/* Decision form spacing */
.en-form-card .en-form-group {
	margin-top: 18px;
}

.en-form-card .en-form-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

/* Mobile spacing */
@media (max-width: 768px) {
	.en-approval-details-table th,
	.en-approval-details-table td {
		padding: 11px 12px;
	}

	.en-approval-details-table th {
		width: 38%;
	}

	.en-card + .en-card,
	.en-card + .en-common-datatable-card {
		margin-top: 18px;
	}
}

/* Fix spacing in Commissioner Question page */

/* Department Reply Status card */
.en-card h3 {
	margin-bottom: 22px !important;
	line-height: 1.6;
}

.en-card p {
	margin: 0 0 14px !important;
	padding: 8px 12px;
	line-height: 1.8;
}

.en-card p:last-child {
	margin-bottom: 0 !important;
}

/* Record Decision form */
.en-form-card .en-card-header {
	margin-bottom: 24px !important;
	padding-bottom: 12px;
}

.en-form-card .en-form-group {
	margin: 22px 0 !important;
}

.en-form-card .en-form-group label {
	display: block;
	margin-bottom: 12px !important;
	line-height: 1.7;
}

.en-form-card .en-form-group textarea,
.en-form-card .en-form-group .form-control {
	margin-top: 4px;
	padding: 12px 14px;
	line-height: 1.6;
}

.en-form-card .en-form-footer {
	margin-top: 24px !important;
	padding-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Space between cards */
.en-card + .en-card,
.en-card + .en-common-datatable-card {
	margin-top: 28px !important;
}
/* Record Decision section spacing */
#decision.en-form-card {
	padding: 28px !important;
}

#decision .en-card-header {
	margin-bottom: 28px !important;
	padding-bottom: 16px;
}

#decision .en-card-header h3 {
	margin: 0 !important;
	line-height: 1.6;
}

#decision form {
	margin-top: 20px;
}

#decision .en-form-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 24px 0 !important;
}

#decision .en-form-group label {
	display: block;
	margin: 0 !important;
	line-height: 1.7;
}

#decision .en-form-group textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px !important;
	margin: 0 !important;
	line-height: 1.6;
}

#decision .en-form-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px !important;
	padding-top: 8px;
}

@media (max-width: 768px) {
	#decision.en-form-card {
		padding: 18px !important;
	}
}
/* Department Reply Status spacing */
.en-department-reply-card {
	padding: 28px !important;
}

.en-department-reply-card h3 {
	margin: 0 0 24px !important;
	line-height: 1.6;
}

.en-department-reply-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.en-department-reply-list p {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 16px;
	border: 1px solid #e1e8ef;
	border-radius: 8px;
	line-height: 1.6;
}

.en-department-name,
.en-department-status {
	overflow-wrap: anywhere;
}

.en-department-status {
	font-weight: 600;
}

@media (max-width: 768px) {
	.en-department-reply-card {
		padding: 18px !important;
	}

	.en-department-reply-list p {
		align-items: flex-start;
		flex-direction: column;
	}
}
/* Center Question Details heading */
.en-approval-details-table {
	width: 100%;
}

.en-card:has(.en-approval-details-table) > h3 {
	text-align: center !important;
	margin-bottom: 24px !important;
	margin-top: 10px !important;
	width: 100%;
	font-size: 1.3rem;
}
/* Refined Available Documents column */
.en-meeting-available-documents {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 180px;
}

.en-meeting-document-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #e1e8ef;
	border-radius: 8px;
	background: #fff;
}

.en-meeting-document-name {
	font-weight: 600;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.en-meeting-document-item .en-attachment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.en-meeting-available-documents > .en-status {
	align-self: flex-start;
}

/* Department Questions tabs */
.en-question-tabs {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	align-items: stretch;
	gap: 8px;
	margin: 0 0 22px;
	padding: 6px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: visible;
}

.en-question-tabs a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 8px;
	color: #475569;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: center;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.en-question-tabs a:hover {
	background: #e2e8f0;
	color: #1e293b;
}

.en-question-tabs a.active {
	background: #ffffff;
	color: #1d4ed8;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.en-question-tab-content {
	min-width: 0;
}

.en-question-tab-content > .en-page-heading {
	display: none;
}

/* Admin Departments prototype */
.en-departments-page {
	--en-dept-navy: #123553;
	--en-dept-teal: #176c70;
	--en-dept-warm: #b07b32;
	max-width: 1320px;
	margin: 0 auto;
	animation: en-departments-enter 280ms ease-out both;
}

.en-departments-heading {
	margin: 2px 0 12px;
	text-align: center;
}
.en-departments-heading h1 {
	margin: 6px 0 5px;
	color: var(--en-dept-navy);
	font-size: clamp(25px, 3vw, 32px);
	font-weight: 700;
	letter-spacing: -0.35px;
}
.en-departments-heading p {
	color: #566879;
}
.en-departments-kicker {
	color: var(--en-dept-teal);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}
.en-departments-breadcrumb {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 9px;
	margin: 0 0 24px;
	color: #697887;
	font-size: 12px;
}
.en-departments-breadcrumb a {
	color: var(--en-dept-teal);
	text-decoration: none;
}
.en-departments-breadcrumb a:hover {
	text-decoration: underline;
}
.en-departments-page > .en-alert {
	max-width: 100%;
	margin-bottom: 16px;
}

.en-departments-page .en-role-master-form,
.en-departments-page .en-role-master-list {
	border-color: #dbe4e8;
	border-top: 3px solid var(--en-dept-teal);
	border-radius: 10px;
	box-shadow: 0 5px 18px rgba(18, 53, 83, 0.055);
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.en-departments-page .en-role-master-form:hover,
.en-departments-page .en-role-master-list:hover {
	box-shadow: 0 8px 22px rgba(18, 53, 83, 0.09);
	transform: translateY(-1px);
}
.en-departments-page .en-card-header {
	padding: 18px 22px;
	border-bottom-color: #e7edef;
}
.en-departments-page .en-card-header h2 {
	margin: 0 0 4px;
	color: var(--en-dept-navy);
	font-size: 17px;
	font-weight: 700;
}
.en-departments-page .en-card-header p {
	margin: 0;
	color: #667684;
	font-size: 12px;
	line-height: 1.5;
}

.en-departments-disclosure > .en-departments-disclosure-summary {
	min-height: 78px;
	cursor: pointer;
	list-style: none;
}
.en-departments-disclosure
	> .en-departments-disclosure-summary::-webkit-details-marker {
	display: none;
}
.en-departments-disclosure-summary:focus-visible {
	outline: 3px solid rgba(23, 108, 112, 0.35);
	outline-offset: -4px;
}
.en-departments-add-label {
	display: inline-flex;
	align-items: center;
	gap: 13px;
}
.en-departments-add-label strong,
.en-departments-add-label small {
	display: block;
}
.en-departments-add-label strong {
	color: var(--en-dept-navy);
	font-size: 16px;
}
.en-departments-add-label small {
	margin-top: 4px;
	color: #667684;
	font-size: 12px;
	font-weight: 400;
}
.en-departments-add-icon {
	display: inline-grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 8px;
	background: #e9f2f1;
	color: var(--en-dept-teal);
	font-size: 25px;
	font-weight: 400;
}
.en-departments-disclosure-hint {
	padding: 8px 13px;
	border: 1px solid #cbdcdd;
	border-radius: 6px;
	color: var(--en-dept-teal);
	font-size: 12px;
	font-weight: 700;
}
.en-departments-disclosure[open] .en-departments-disclosure-hint {
	color: var(--en-dept-warm);
	border-color: #e4d5bd;
}
.en-departments-disclosure-body {
	border-top: 1px solid #e7edef;
}

.en-departments-fields {
	grid-template-columns: minmax(240px, 720px) auto;
	justify-content: center;
	align-items: end;
	padding: 24px;
}
.en-departments-fields .en-form-group {
	margin: 0;
}
.en-departments-fields .en-form-group label {
	display: block;
	margin-bottom: 8px;
	color: #34495b;
	font-size: 13px;
	font-weight: 700;
}
.en-departments-fields .en-form-group input {
	min-height: 46px;
	border-color: #cbd6dc;
	border-radius: 6px;
	font-size: 14px;
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}
.en-departments-fields .en-form-group input:focus {
	border-color: var(--en-dept-teal);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(23, 108, 112, 0.14);
}
.en-departments-fields .en-role-master-actions {
	align-items: center;
	padding: 0;
}
.en-departments-page .en-btn-primary {
	background: var(--en-dept-navy);
	border-color: var(--en-dept-navy);
}
.en-departments-page .en-btn-primary:hover {
	background: #0b2942;
	border-color: #0b2942;
}
.en-departments-page .en-btn-secondary {
	border-color: #c9d4da;
	color: #354b5c;
}
.en-departments-page .en-count {
	background: #e9f2f1;
	color: var(--en-dept-teal);
}

.en-departments-list-card .en-common-datatable-wrapper {
	margin: 0;
	padding: 0 14px 14px;
}
.en-departments-table {
	min-width: 650px;
}
.en-departments-table thead th {
	background: var(--en-dept-forest, var(--en-portal-forest, #17483b));
	color: #fffefa;
	font-size: 11px;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}
.en-departments-table thead th,
.en-departments-table tbody td {
	text-align: center;
	vertical-align: middle;
}
.en-departments-table thead th:first-child,
.en-departments-table tbody td:first-child {
	text-align: left;
}
.en-departments-table .en-departments-number {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.en-departments-table .en-departments-name {
	color: #253b50;
	font-weight: 600;
}
.en-departments-table tbody tr:hover td {
	background: #f5f8f8;
}
.en-departments-actions {
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
.en-departments-actions form {
	margin: 0;
}
.en-departments-actions .en-action-btn {
	min-height: 34px;
}
.en-departments-page a:focus-visible,
.en-departments-page button:focus-visible {
	outline: 3px solid rgba(23, 108, 112, 0.35);
	outline-offset: 2px;
}

@keyframes en-departments-enter {
	from {
		opacity: 0;
		transform: translateY(7px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 700px) {
	.en-departments-heading {
		margin-bottom: 8px;
	}
	.en-departments-breadcrumb {
		margin-bottom: 18px;
	}
	.en-departments-fields {
		grid-template-columns: 1fr;
		padding: 18px;
	}
	.en-departments-disclosure > .en-departments-disclosure-summary {
		padding: 16px;
	}
	.en-departments-disclosure-hint {
		padding: 7px 9px;
	}
	.en-departments-list-card .en-common-datatable-wrapper {
		padding: 0 8px 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-departments-page,
	.en-departments-page .en-role-master-form,
	.en-departments-page .en-role-master-list,
	.en-departments-fields .en-form-group input {
		animation: none;
		transition: none;
	}
}

@media (max-width: 640px) {
	.en-question-tabs {
		gap: 4px;
		padding: 4px;
	}

	.en-question-tabs a {
		flex: 1 1 0;
		min-width: 0;
		min-height: 40px;
		padding: 9px 12px;
		font-size: 13px;
		white-space: normal;
	}
}

/* Department portal: forest, charcoal and warm ivory design system */
.en-department-body {
	--en-dept-forest: #17483b;
	--en-dept-forest-deep: #10382f;
	--en-dept-charcoal: #202b27;
	--en-dept-gold: #b18a4a;
	--en-dept-ivory: #f5f3ed;
	--en-dept-paper: #fffefa;
	--en-dept-line: #deded4;
	--en-dept-ink: #26322e;
	--en-dept-muted: #68736d;
	--en-ink: #26322e;
	--en-muted: #68736d;
	--en-accent: #276b56;
	--en-accent-dark: #17483b;
	--en-border: #deded4;
	background: var(--en-dept-ivory);
	color: var(--en-dept-ink);
	font-family: Arial, Helvetica, sans-serif;
}

.en-department-body .en-topbar {
	z-index: 30;
	justify-content: space-between;
	min-height: 68px;
	padding: 9px clamp(18px, 3vw, 42px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--en-dept-forest-deep);
	color: #f7f5ee;
}

.en-department-identity,
.en-department-topbar-right {
	display: flex;
	align-items: center;
	gap: 13px;
}

.en-department-identity strong,
.en-department-identity small {
	display: block;
}
.en-department-identity strong {
	color: #fffefa;
	font-size: 14px;
	letter-spacing: 0.1px;
}
.en-department-identity small {
	margin-top: 3px;
	color: #c4d2ca;
	font-size: 11px;
}
.en-department-emblem {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid rgba(219, 190, 133, 0.7);
	border-radius: 50%;
	color: #e2c78e;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.5px;
}
.en-department-office-label {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.17);
	color: #d4dfd8;
	font-size: 11px;
	letter-spacing: 0.3px;
}

.en-department-body .en-dashboard-layout {
	min-height: calc(100vh - 68px);
}
.en-department-body .en-sidebar {
	width: 278px;
	min-width: 278px;
	padding: 0 0 16px;
	background: var(--en-dept-charcoal);
	color: #f5f4ef;
}
.en-department-sidebar {
	position: relative;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.en-department-sidebar-brand {
	position: relative;
	padding: 24px 24px 21px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.en-department-sidebar-brand strong,
.en-department-sidebar-brand small {
	display: block;
}
.en-department-sidebar-brand strong {
	color: #fffefa;
	font-size: 15px;
	letter-spacing: 0.2px;
}
.en-department-sidebar-brand small {
	margin-top: 5px;
	color: #aab9b0;
	font-size: 11px;
}
.en-department-brand-rule {
	display: block;
	width: 30px;
	height: 3px;
	margin-bottom: 13px;
	background: var(--en-dept-gold);
}
.en-department-body .en-sidebar-user {
	margin: 0;
	padding: 19px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.en-department-body .en-user-avatar {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border: 1px solid rgba(226, 199, 142, 0.52);
	background: #355949;
	color: #f6e5bc;
}
.en-department-body .en-sidebar-user strong {
	color: #fffefa;
	font-size: 13px;
}
.en-department-body .en-sidebar-user span {
	color: #b5c2ba;
	font-size: 11px;
}
.en-department-body .en-sidebar-nav {
	gap: 4px;
	padding: 14px 12px;
}
.en-department-nav-label {
	padding: 10px 12px 6px;
	color: #9eada4;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}
.en-department-body .en-sidebar-nav > a,
.en-department-body .en-sidebar-nav .en-sidebar-dropdown > summary {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 45px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #d3dbd5;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease;
}
.en-department-body
	.en-sidebar-nav
	.en-sidebar-dropdown
	> summary::-webkit-details-marker {
	display: none;
}
.en-department-body .en-sidebar-nav > a:hover,
.en-department-body .en-sidebar-nav .en-sidebar-dropdown > summary:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #fffefa;
}
.en-department-body .en-sidebar-nav > a.active {
	border-color: rgba(223, 193, 133, 0.23);
	background: rgba(177, 138, 74, 0.14);
	color: #f1dfb7;
}
.en-department-nav-mark {
	display: inline-grid;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	color: #c8b27e;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.en-department-body .en-sidebar-dropdown[open] > summary {
	border-color: rgba(223, 193, 133, 0.23);
	background: rgba(177, 138, 74, 0.14);
	color: #f3e5c5;
}
.en-department-body
	.en-sidebar-dropdown[open]
	> summary
	.en-department-nav-mark {
	border-color: rgba(223, 193, 133, 0.35);
	background: rgba(177, 138, 74, 0.12);
}
.en-department-body .en-sidebar-submenu {
	margin: 2px 0 5px 38px;
	padding: 2px 0 2px 9px;
	border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.en-department-body .en-sidebar-submenu a {
	min-height: 34px;
	padding: 8px 9px;
	border-radius: 4px;
	color: #b9c5bd;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
}
.en-department-body .en-sidebar-submenu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fffefa;
}
.en-department-body .en-sidebar-submenu a.active {
	background: rgba(255, 255, 255, 0.08);
	color: #f2dfb5;
}
.en-department-body .en-sidebar-logout {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: auto 16px 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.035);
	color: #e1e5e0;
	font-size: 12px;
	font-weight: 600;
}
.en-department-body .en-sidebar-logout:hover {
	border-color: rgba(223, 193, 133, 0.35);
	background: rgba(177, 138, 74, 0.1);
	color: #f4e5c3;
}
.en-department-sidebar-foot {
	margin: 14px 16px 0;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #8e9c93;
	font-size: 10px;
	text-align: center;
}

.en-department-body .en-dashboard-main {
	min-height: 0;
	padding: 34px clamp(20px, 3.2vw, 48px) 24px;
	background-color: var(--en-dept-ivory);
	background-image:
		linear-gradient(rgba(23, 72, 59, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(23, 72, 59, 0.022) 1px, transparent 1px);
	background-size: 34px 34px;
}
.en-department-page {
	width: min(100%, 1320px);
	margin: 0 auto;
	animation: en-department-page-enter 300ms ease-out both;
}
.en-department-page-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	margin: 0 auto 11px;
	text-align: center;
}
.en-department-page-heading h1 {
	margin: 0;
	color: var(--en-dept-forest-deep);
	font-size: clamp(27px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: -0.6px;
}
.en-department-page-heading p {
	max-width: 720px;
	margin: 0;
	color: var(--en-dept-muted);
	font-size: 13px;
	line-height: 1.7;
}
.en-department-breadcrumb {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 0 0 25px;
	color: #778078;
	font-size: 11px;
}
.en-department-breadcrumb a {
	color: var(--en-dept-forest);
	text-decoration: none;
}
.en-department-breadcrumb a:hover {
	color: #0b332a;
	text-decoration: underline;
}

.en-department-dashboard {
	width: min(100%, 1320px);
	margin: 0 auto;
	animation: en-department-page-enter 300ms ease-out both;
}
.en-department-dashboard .en-department-page-heading {
	position: relative;
	min-height: 0;
	justify-content: center;
	padding: 2px 0 4px;
}
.en-department-heading-copy {
	text-align: center;
}
.en-department-dashboard .en-department-page-heading h1 {
	margin: 5px 0 7px;
	color: var(--en-dept-forest-deep);
	font-size: clamp(27px, 3vw, 34px);
	letter-spacing: -0.6px;
}
.en-department-dashboard .en-department-page-heading p {
	margin: 0 auto;
	color: var(--en-dept-muted);
	font-size: 13px;
	line-height: 1.6;
}
.en-department-dashboard .en-department-breadcrumb {
	margin-bottom: 24px;
}
.en-department-welcome {
	position: relative;
	display: flex;
	min-height: 218px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	overflow: hidden;
	margin-bottom: 36px;
	padding: 34px clamp(25px, 4vw, 52px);
	border: 1px solid #244d40;
	border-left: 5px solid var(--en-dept-gold);
	background: var(--en-dept-forest-deep);
	color: #f6f3e9;
	box-shadow: 0 12px 28px rgba(27, 51, 42, 0.14);
}
.en-department-welcome::before,
.en-department-welcome::after {
	position: absolute;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(229, 211, 169, 0.14);
	content: "";
	transform: rotate(45deg);
	pointer-events: none;
}
.en-department-welcome::before {
	right: 70px;
	top: -125px;
}
.en-department-welcome::after {
	right: -72px;
	bottom: -150px;
	width: 270px;
	height: 270px;
	border-color: rgba(229, 211, 169, 0.09);
}
.en-department-welcome-copy {
	position: relative;
	z-index: 1;
	max-width: 720px;
}
.en-department-welcome-kicker {
	color: #d6bd85;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
}
.en-department-welcome h2 {
	max-width: 690px;
	margin: 13px 0 10px;
	color: #fffefa;
	font-size: clamp(23px, 2.7vw, 31px);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.3px;
}
.en-department-welcome p {
	max-width: 660px;
	margin: 0;
	color: #d3dfd7;
	font-size: 13px;
	line-height: 1.75;
}
.en-department-welcome-seal {
	position: relative;
	z-index: 1;
	display: flex;
	width: 116px;
	height: 116px;
	flex: 0 0 116px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 1px solid rgba(229, 211, 169, 0.48);
	border-radius: 50%;
	color: #e5d3a9;
}
.en-department-welcome-seal::before {
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(229, 211, 169, 0.25);
	border-radius: 50%;
	content: "";
}
.en-department-welcome-seal span {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -1px;
}
.en-department-welcome-seal small {
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1.8px;
}
.en-department-welcome-line {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 36px;
	height: 1px;
	background: linear-gradient(90deg, rgba(225, 199, 145, 0.5), transparent 74%);
}

.en-department-module-section {
	margin: 0 0 36px;
}
.en-department-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #dcded4;
}
.en-department-section-index {
	color: #8a6b37;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.5px;
}
.en-department-section-heading h2 {
	margin: 5px 0 4px;
	color: var(--en-dept-forest-deep);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.2px;
}
.en-department-section-heading p {
	margin: 0;
	color: var(--en-dept-muted);
	font-size: 12px;
	line-height: 1.6;
}
.en-department-module-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}
.en-department-module-card {
	position: relative;
	display: flex;
	min-height: 250px;
	flex-direction: column;
	overflow: hidden;
	padding: 22px 24px 18px;
	border: 1px solid var(--en-dept-line);
	border-top: 3px solid #728579;
	background: var(--en-dept-paper);
	box-shadow: 0 3px 12px rgba(43, 52, 46, 0.045);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}
.en-department-module-card:hover {
	transform: translateY(-3px);
	border-color: #c5cbbf;
	box-shadow: 0 10px 23px rgba(43, 52, 46, 0.09);
}
.en-department-module-primary {
	border-top-color: var(--en-dept-gold);
}
.en-department-module-topline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.en-department-module-mark {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid #d4d8cc;
	background: #f1f1e9;
	color: var(--en-dept-forest);
	font-size: 13px;
	font-weight: 700;
}
.en-department-module-type {
	color: #788179;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}
.en-department-module-card h3 {
	margin: 0 0 7px;
	color: #27352e;
	font-size: 18px;
	font-weight: 700;
}
.en-department-module-card p {
	margin: 0;
	color: #69746d;
	font-size: 12px;
	line-height: 1.7;
}
.en-department-module-metric {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: auto 0 16px;
	padding-top: 17px;
}
.en-department-module-metric strong {
	color: var(--en-dept-forest);
	font-size: 26px;
	font-variant-numeric: tabular-nums;
}
.en-department-module-metric span {
	color: #68736d;
	font-size: 11px;
}
.en-department-module-action {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: auto;
	padding: 10px 13px;
	border-top: 1px solid #e6e5dc;
	color: var(--en-dept-forest);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition:
		color 150ms ease,
		background-color 150ms ease;
}
.en-department-module-action span:last-child {
	color: var(--en-dept-gold);
	font-size: 17px;
	transition: transform 150ms ease;
}
.en-department-module-action:hover {
	background: #f3f3eb;
	color: #0d382e;
}
.en-department-module-action:hover span:last-child {
	transform: translateX(3px);
}
.en-department-module-compact {
	min-height: 205px;
}
.en-department-module-compact .en-department-module-action {
	margin-top: auto;
}
.en-department-page-footer {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 36px;
	padding: 14px 2px 4px;
	border-top: 1px solid #dcded4;
	color: #778078;
	font-size: 10px;
}
.en-department-stat-card {
	display: flex;
	min-height: 190px;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--en-dept-line);
	border-top: 3px solid var(--en-dept-gold);
	border-radius: 7px;
	background: var(--en-dept-paper);
	box-shadow: 0 3px 12px rgba(43, 52, 46, 0.045);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease,
		background-color 180ms ease;
}
.en-department-stat-card:hover,
.en-department-stat-card:focus-within {
	transform: translateY(-2px);
	border-color: #c5cbbf;
	background: #fffefa;
	box-shadow: 0 8px 20px rgba(23, 72, 59, 0.09);
}
.en-department-stat-card-pending {
	border-top-color: var(--en-dept-forest);
}
.en-department-stat-card-draft {
	border-top-color: #63806c;
}
.en-department-stat-card-sent {
	border-top-color: #355f4d;
}
.en-department-stat-card-resolutions {
	border-top-color: var(--en-dept-gold);
}
.en-department-stat-card h3 {
	margin: 0;
	color: var(--en-dept-forest-deep);
	font-size: 15px;
	line-height: 1.45;
}
.en-department-stat-card > strong {
	margin-top: auto;
	color: var(--en-dept-forest);
	font-size: 30px;
	font-variant-numeric: tabular-nums;
}
.en-department-stat-card > a {
	align-self: flex-start;
	padding: 7px 10px;
	border: 1px solid var(--en-dept-forest);
	border-radius: 4px;
	color: var(--en-dept-forest);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	transition:
		color 160ms ease,
		background-color 160ms ease;
}
.en-department-stat-card > a:hover,
.en-department-stat-card > a:focus-visible {
	background: var(--en-dept-forest);
	color: #fffefa;
}

/* Shared Department page titles, cards, tables, controls and question tabs */
.en-department-body .en-page-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	margin: 0 auto 11px;
	text-align: center;
}
.en-department-body .en-page-heading h1 {
	margin: 0;
	color: var(--en-dept-forest-deep);
	font-size: clamp(25px, 2.8vw, 32px);
	font-weight: 700;
	letter-spacing: -0.45px;
}
.en-department-body .en-page-heading p {
	color: var(--en-dept-muted);
	font-size: 13px;
	line-height: 1.65;
}
.en-department-body .en-question-card,
.en-department-body .en-common-datatable-card,
.en-department-body .en-card,
.en-department-body .en-form-card {
	border-color: var(--en-dept-line);
	border-radius: 9px;
	background: var(--en-dept-paper);
	box-shadow: 0 4px 16px rgba(43, 52, 46, 0.055);
}
.en-department-body .en-question-card {
	padding: clamp(18px, 2.4vw, 28px);
}
.en-department-body .en-question-toolbar h3,
.en-department-body .en-question-card h2,
.en-department-body .en-common-datatable-card > h2 {
	color: var(--en-dept-forest-deep);
}
.en-department-body .en-question-toolbar p,
.en-department-body .en-question-description {
	color: #596760;
}
.en-department-body .en-question-count {
	border-color: #d7ddd3;
	border-radius: 5px;
	background: #f1f2eb;
}
.en-department-body .en-question-count span {
	color: #68746b;
}
.en-department-body .en-question-count strong {
	color: var(--en-dept-forest);
}
.en-department-body .en-common-datatable {
	border-color: #d8ddd4;
	border-radius: 6px;
}
.en-department-body .en-common-datatable thead th,
.en-department-body .en-pending-questions-table thead th {
	border-color: #254e3e;
	background: var(--en-dept-forest);
	color: #fffefa;
	font-size: 10px;
	letter-spacing: 0.35px;
	text-transform: uppercase;
}
.en-department-body .en-common-datatable tbody td,
.en-department-body .en-pending-questions-table tbody td {
	border-bottom-color: #e8e8df;
	color: #34423a;
	line-height: 1.65;
}
.en-department-body .en-common-datatable tbody tr:hover td,
.en-department-body .en-pending-questions-table tbody tr:hover {
	background: #f3f4ed;
}
.en-department-body .en-common-datatable tbody tr:hover td:first-child {
	box-shadow: inset 3px 0 0 var(--en-dept-gold);
}
.en-department-body .en-question-meeting strong {
	color: #314a3b;
}
.en-department-body .en-question-id {
	border-color: #d9ddcf;
	background: #f2f2e9;
	color: var(--en-dept-forest);
}
.en-department-body .en-question-status {
	border-color: #d6dfd6;
	background: #edf3ed;
	color: #355944;
}
.en-department-body .en-question-tabs {
	gap: 3px;
	margin: 0 0 20px;
	padding: 5px;
	border-color: #d9d9cf;
	border-radius: 6px;
	background: #e9e9df;
}
.en-department-body .en-question-tabs a {
	min-height: 43px;
	border-radius: 4px;
	color: #546159;
	font-size: 12px;
}
.en-department-body .en-question-tabs a:hover {
	background: #dedfd4;
	color: #243d31;
}
.en-department-body .en-question-tabs a.active {
	position: relative;
	background: var(--en-dept-forest);
	color: #fffefa;
	box-shadow: 0 2px 5px rgba(25, 60, 46, 0.17);
}
.en-department-body .en-question-tabs a.active::after {
	position: absolute;
	right: 13px;
	bottom: 0;
	left: 13px;
	height: 2px;
	background: #d4b56f;
	content: "";
}
.en-department-body .en-question-view-btn,
.en-department-body .en-action-btn:not(.edit-btn):not(.delete-btn),
.en-department-body .en-btn-primary {
	border-color: var(--en-dept-forest);
	border-radius: 5px;
	background: var(--en-dept-forest);
	color: #fffefa !important;
	box-shadow: none;
}
.en-department-body .en-question-view-btn:hover,
.en-department-body .en-action-btn:not(.edit-btn):not(.delete-btn):hover,
.en-department-body .en-btn-primary:hover {
	border-color: var(--en-dept-forest-deep);
	background: var(--en-dept-forest-deep);
}
.en-department-body .en-btn-secondary {
	border-color: #cfd5cb;
	border-radius: 5px;
	background: #f0f1eb;
	color: #35453b !important;
}
.en-department-body .en-btn-secondary:hover {
	border-color: #b9c4b8;
	background: #e7eae2;
}
.en-department-body .en-question-card .en-form-group label,
.en-department-body .en-form-card .en-form-group label {
	color: #33473b;
}
.en-department-body .en-question-card textarea#reply_text,
.en-department-body .en-form-card textarea,
.en-department-body .en-form-card input,
.en-department-body .en-form-card select {
	border-color: #cbd4c9;
	border-radius: 5px;
	background: #fffefa;
	color: #29372f;
}
.en-department-body .en-question-card textarea#reply_text:focus,
.en-department-body .en-form-card textarea:focus,
.en-department-body .en-form-card input:focus,
.en-department-body .en-form-card select:focus {
	border-color: #46785e;
	box-shadow: 0 0 0 3px rgba(39, 107, 86, 0.13);
}
.en-department-body .en-alert-success {
	border-color: #cbdcc9;
	background: #edf4eb;
	color: #315c3c;
}
.en-department-body .en-alert-error {
	border-color: #e6c9bd;
	background: #fbefea;
	color: #813d31;
}
.en-department-body .dt-container .dt-search input,
.en-department-body .dt-container .dt-length select {
	min-height: 35px;
	border: 1px solid #cbd4c9;
	border-radius: 4px;
	background: var(--en-dept-paper);
	color: #29372f;
}
.en-department-body .dt-container .dt-paging .dt-paging-button.current {
	border-color: var(--en-dept-forest) !important;
	background: var(--en-dept-forest) !important;
	color: #fffefa !important;
}
.en-department-body :focus-visible {
	outline-color: #9a763e;
	outline-offset: 2px;
}

@keyframes en-department-page-enter {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 769px) {
	.en-department-body .en-topbar {
		height: 68px;
	}
	.en-department-body .en-dashboard-layout {
		top: 68px;
	}
	.en-department-body .en-sidebar {
		top: 68px;
		width: 278px;
		min-width: 278px;
	}
	.en-department-body .en-dashboard-main {
		top: 68px;
		left: 278px;
	}
}

@media (max-width: 768px) {
	.en-department-body .en-topbar {
		min-height: 64px;
		padding: 8px 14px;
	}
	.en-department-identity {
		gap: 9px;
	}
	.en-department-emblem {
		width: 35px;
		height: 35px;
	}
	.en-department-identity strong {
		font-size: 12px;
	}
	.en-department-identity small {
		font-size: 9px;
	}
	.en-department-office-label {
		display: none;
	}
	.en-department-body .en-dashboard-main {
		padding: 24px 18px 18px;
	}
	.en-department-dashboard .en-department-page-heading {
		min-height: 0;
		padding: 0 0 12px;
	}
	.en-department-welcome {
		min-height: 0;
		padding: 27px 24px;
	}
	.en-department-welcome-seal {
		width: 82px;
		height: 82px;
		flex-basis: 82px;
	}
	.en-department-welcome-seal span {
		font-size: 19px;
	}
	.en-department-module-grid {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
	}
	.en-department-body .en-question-toolbar {
		align-items: flex-start;
	}
}

@media (max-width: 560px) {
	.en-department-body .en-dashboard-main {
		padding: 21px 13px 16px;
	}
	.en-department-identity small {
		max-width: 210px;
	}
	.en-department-body .en-menu-toggle {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}
	.en-department-body .en-sidebar.is-open {
		max-height: min(80vh, 720px);
	}
	.en-department-welcome {
		align-items: flex-start;
		padding: 24px 20px;
	}
	.en-department-welcome-seal {
		display: none;
	}
	.en-department-section-heading h2 {
		font-size: 18px;
	}
	.en-department-module-grid {
		grid-template-columns: 1fr;
	}
	.en-department-module-card {
		min-height: 225px;
		padding: 19px;
	}
	.en-department-page-footer {
		flex-direction: column;
		gap: 5px;
	}
	.en-department-body .en-question-tabs {
		gap: 3px;
	}
	.en-department-body .en-question-tabs a {
		flex: 1 1 0;
		min-width: 0;
		padding: 9px 12px;
		font-size: 11px;
		white-space: normal;
		overflow-wrap: anywhere;
	}
	.en-department-body .en-question-toolbar {
		flex-direction: column;
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-department-body *,
	.en-department-body *::before,
	.en-department-body *::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Approved e-Nigam system applied to existing non-Department portal layouts */
.en-councillor-body:not(.en-department-body) {
	--en-portal-forest: #17483b;
	--en-portal-forest-deep: #10382f;
	--en-portal-charcoal: #202b27;
	--en-portal-gold: #b18a4a;
	--en-portal-ivory: #f5f3ed;
	--en-portal-paper: #fffefa;
	--en-portal-line: #deded4;
	--en-portal-ink: #26322e;
	--en-portal-muted: #68736d;
	--en-ink: #26322e;
	--en-muted: #68736d;
	--en-accent: #276b56;
	--en-accent-dark: #17483b;
	--en-border: #deded4;
	background: var(--en-portal-ivory);
	color: var(--en-portal-ink);
	font-family: Arial, Helvetica, sans-serif;
}

.en-councillor-body:not(.en-department-body) .en-topbar {
	z-index: 30;
	min-height: 68px;
	padding: 10px clamp(18px, 3vw, 42px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--en-portal-forest-deep);
	color: #f7f5ee;
	font-size: 13px;
	letter-spacing: 0.15px;
}

.en-councillor-body:not(.en-department-body) .en-dashboard-layout {
	min-height: calc(100vh - 68px);
}
.en-councillor-body:not(.en-department-body) .en-sidebar {
	width: 278px;
	min-width: 278px;
	padding: 0 0 16px;
	background: var(--en-portal-charcoal);
	color: #f5f4ef;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-user {
	margin: 0;
	padding: 19px 20px;
	border-bottom-color: rgba(255, 255, 255, 0.1);
}
.en-councillor-body:not(.en-department-body) .en-user-avatar {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border: 1px solid rgba(226, 199, 142, 0.52);
	background: #355949;
	color: #f6e5bc;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-user strong {
	color: #fffefa;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-user span {
	color: #b5c2ba;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav {
	gap: 4px;
	padding: 14px 12px;
	counter-reset: en-sidebar-item;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav > a,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown-toggle,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown
	> summary {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 45px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #d3dbd5;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	list-style: none;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav a:hover,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown-toggle:hover,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown
	> summary:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #fffefa;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav a.active,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown-toggle.active,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-dropdown[open]
	> summary {
	border-color: rgba(223, 193, 133, 0.23);
	background: rgba(177, 138, 74, 0.14);
	color: #f1dfb7;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav::before {
	padding: 10px 12px 6px;
	color: #9eada4;
	content: "Workspace";
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav > a,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	> .en-sidebar-dropdown-group {
	counter-increment: en-sidebar-item;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-nav > a::before,
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	> .en-sidebar-dropdown-group
	> .en-sidebar-dropdown-toggle::before {
	display: inline-grid;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	color: #c8b27e;
	content: counter(en-sidebar-item, decimal-leading-zero);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-submenu {
	gap: 0;
	margin: 2px 0 5px 38px;
	padding: 2px 0 2px 9px;
	border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-submenu
	a {
	min-height: 34px;
	padding: 8px 9px;
	border-radius: 4px;
	color: #b9c5bd;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
}
.en-admin-body .en-sidebar-nav #admin-masters-menu a {
	font-size: 12px;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-submenu
	a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fffefa;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-nav
	.en-sidebar-submenu
	a.active {
	background: rgba(255, 255, 255, 0.08);
	color: #f2dfb5;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-logout {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: auto 16px 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.035);
	color: #e1e5e0;
	font-size: 12px;
	font-weight: 600;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-logout:hover {
	border-color: rgba(223, 193, 133, 0.35);
	background: rgba(177, 138, 74, 0.1);
	color: #f4e5c3;
}

.en-councillor-body:not(.en-department-body) .en-dashboard-main,
.en-councillor-body:not(.en-department-body) .en-main-content {
	background-color: var(--en-portal-ivory);
	background-image:
		linear-gradient(rgba(23, 72, 59, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(23, 72, 59, 0.022) 1px, transparent 1px);
	background-size: 34px 34px;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-main {
	padding: 32px clamp(20px, 3.2vw, 48px) 24px;
}
.en-councillor-body:not(.en-department-body) .en-page-heading {
	display: block;
	margin: 0 auto 22px;
	text-align: center;
}
.en-councillor-body:not(.en-department-body) .en-page-heading h1,
.en-councillor-body:not(.en-department-body) .en-dashboard-header h1 {
	color: var(--en-portal-forest-deep);
	font-size: clamp(25px, 2.8vw, 32px);
	font-weight: 700;
	letter-spacing: -0.45px;
}
.en-councillor-body:not(.en-department-body) .en-page-heading p,
.en-councillor-body:not(.en-department-body) .en-dashboard-header p {
	color: var(--en-portal-muted);
	font-size: 13px;
	line-height: 1.65;
}
.en-councillor-body:not(.en-department-body) .en-page-heading > a {
	margin: 10px 5px 0;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-header {
	position: relative;
	display: block;
	margin: 0 auto 22px;
	padding: 0 160px;
	text-align: center;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-header h1 {
	margin: 0 0 7px;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-header p {
	margin: 0;
}
.en-councillor-body:not(.en-department-body) .en-role-badge {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	border-color: #d7d4c8;
	border-radius: 4px;
	background: var(--en-portal-paper);
	color: #536258;
	font-size: 10px;
	letter-spacing: 0.35px;
	text-transform: uppercase;
}
.en-councillor-body:not(.en-department-body)
	.en-common-datatable
	.en-role-badge {
	position: static;
	display: inline-block;
	transform: none;
}

.en-councillor-body:not(.en-department-body) .en-welcome-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid #244d40;
	border-left: 5px solid var(--en-portal-gold);
	border-radius: 0;
	background: var(--en-portal-forest-deep);
	box-shadow: 0 12px 28px rgba(27, 51, 42, 0.14);
}
.en-councillor-body:not(.en-department-body) .en-panel-eyebrow {
	color: #d6bd85;
}
.en-councillor-body:not(.en-department-body) .en-welcome-panel h2 {
	color: #fffefa;
}
.en-councillor-body:not(.en-department-body) .en-welcome-panel p {
	color: #d3dfd7;
}
.en-councillor-body:not(.en-department-body) .en-panel-icon {
	border-color: rgba(229, 211, 169, 0.35);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #e5d3a9;
}
.en-councillor-body:not(.en-department-body) .en-section-heading h2 {
	color: var(--en-portal-forest-deep);
}
.en-councillor-body:not(.en-department-body) .en-section-heading p {
	color: var(--en-portal-muted);
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card,
.en-councillor-body:not(.en-department-body) .en-question-card,
.en-councillor-body:not(.en-department-body) .en-common-datatable-card,
.en-councillor-body:not(.en-department-body) .en-form-card,
.en-councillor-body:not(.en-department-body) .en-card {
	border-color: var(--en-portal-line);
	border-radius: 9px;
	background: var(--en-portal-paper);
	box-shadow: 0 4px 16px rgba(43, 52, 46, 0.055);
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card {
	border-top: 3px solid var(--en-portal-gold);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 23px rgba(43, 52, 46, 0.09);
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card::before {
	display: none;
}
.en-councillor-body:not(.en-department-body) .en-card-icon {
	border: 1px solid #d4d8cc;
	border-radius: 6px;
	background: #f1f1e9;
	color: var(--en-portal-forest);
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card h3,
.en-councillor-body:not(.en-department-body) .en-card-header h2,
.en-councillor-body:not(.en-department-body) .en-card-header h3,
.en-councillor-body:not(.en-department-body) .en-common-datatable-card > h2 {
	color: var(--en-portal-forest-deep);
}
.en-councillor-body:not(.en-department-body) .en-dashboard-card p,
.en-councillor-body:not(.en-department-body) .en-card-header p {
	color: var(--en-portal-muted);
}
.en-councillor-body:not(.en-department-body) .en-card-note {
	border-color: #e2e4da;
	border-radius: 5px;
	background: #f1f2eb;
	color: #536258;
}
.en-councillor-body:not(.en-department-body)
	.en-action-btn:not(.edit-btn):not(.delete-btn),
.en-councillor-body:not(.en-department-body) .en-question-view-btn,
.en-councillor-body:not(.en-department-body) .en-btn-primary {
	border-color: var(--en-portal-forest);
	border-radius: 5px;
	background: var(--en-portal-forest);
	color: #fffefa !important;
	box-shadow: none;
}
.en-councillor-body:not(.en-department-body)
	.en-action-btn:not(.edit-btn):not(.delete-btn):hover,
.en-councillor-body:not(.en-department-body) .en-question-view-btn:hover,
.en-councillor-body:not(.en-department-body) .en-btn-primary:hover {
	border-color: var(--en-portal-forest-deep);
	background: var(--en-portal-forest-deep);
}
.en-councillor-body:not(.en-department-body) .en-btn-secondary {
	border-color: #cfd5cb;
	border-radius: 5px;
	background: #f0f1eb;
	color: #35453b !important;
}
.en-councillor-body:not(.en-department-body) .en-btn-secondary:hover {
	border-color: #b9c4b8;
	background: #e7eae2;
}
.en-councillor-body:not(.en-department-body) .en-role-badge,
.en-councillor-body:not(.en-department-body) .en-count {
	background: #edf1e8;
	color: #315c48;
}

.en-councillor-body:not(.en-department-body) .en-common-datatable,
.en-councillor-body:not(.en-department-body) .en-table {
	border-color: #d8ddd4;
	border-radius: 6px;
	background: var(--en-portal-paper);
}
.en-councillor-body:not(.en-department-body) .en-common-datatable thead th,
.en-councillor-body:not(.en-department-body) .en-table th {
	border-color: #254e3e;
	background: var(--en-portal-forest);
	color: #fffefa;
	font-size: 10px;
	letter-spacing: 0.35px;
	text-transform: uppercase;
}
.en-councillor-body:not(.en-department-body) .en-common-datatable tbody td,
.en-councillor-body:not(.en-department-body) .en-table td {
	border-bottom-color: #e8e8df;
	color: #34423a;
}
.en-councillor-body:not(.en-department-body)
	.en-common-datatable
	tbody
	tr:hover
	td {
	background: #f3f4ed;
}
.en-councillor-body:not(.en-department-body)
	.en-common-datatable
	tbody
	tr:hover
	td:first-child {
	box-shadow: inset 3px 0 0 var(--en-portal-gold);
}
.en-councillor-body:not(.en-department-body)
	.en-pending-questions-table
	thead
	th {
	background: var(--en-portal-forest);
}
.en-councillor-body:not(.en-department-body) .en-question-status {
	border-color: #d6dfd6;
	background: #edf3ed;
	color: #355944;
}
.en-councillor-body:not(.en-department-body) .en-status-active {
	background: #edf3ed;
	color: #315c48;
}
.en-councillor-body:not(.en-department-body) .en-status-inactive {
	background: #f7ece6;
	color: #875040;
}
.en-councillor-body:not(.en-department-body) .en-question-actions .edit-btn,
.en-councillor-body:not(.en-department-body) .en-btn-edit,
.en-councillor-body:not(.en-department-body) .en-btn-activate {
	border-color: #496a52;
	background: #496a52;
	color: #fffefa;
}
.en-councillor-body:not(.en-department-body)
	.en-question-actions
	.edit-btn:hover,
.en-councillor-body:not(.en-department-body) .en-btn-edit:hover,
.en-councillor-body:not(.en-department-body) .en-btn-activate:hover {
	border-color: #315c48;
	background: #315c48;
}
.en-councillor-body:not(.en-department-body) .en-empty-state {
	background: #f3f4ed;
	color: #68736d;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.en-councillor-body:not(.en-department-body) .en-stat-card {
	min-height: 128px;
	padding: 20px;
	border: 1px solid var(--en-portal-line);
	border-top: 3px solid var(--en-portal-gold);
	background: var(--en-portal-paper);
	box-shadow: 0 4px 16px rgba(43, 52, 46, 0.055);
}
.en-councillor-body:not(.en-department-body) .en-stat-info p {
	margin: 0 0 7px;
	color: #68736d;
	font-size: 11px;
}
.en-councillor-body:not(.en-department-body) .en-stat-info h2 {
	margin: 0 0 5px;
	color: var(--en-portal-forest);
	font-size: 25px;
}
.en-councillor-body:not(.en-department-body) .en-stat-info span {
	color: #7a847d;
	font-size: 10px;
}
.en-councillor-body:not(.en-department-body) .en-question-tabs {
	gap: 3px;
	padding: 5px;
	border-color: #d9d9cf;
	border-radius: 6px;
	background: #e9e9df;
}
.en-councillor-body:not(.en-department-body) .en-question-tabs a {
	border-radius: 4px;
	color: #546159;
}
.en-councillor-body:not(.en-department-body) .en-question-tabs a:hover {
	background: #dedfd4;
	color: #243d31;
}
.en-councillor-body:not(.en-department-body) .en-question-tabs a.active {
	position: relative;
	background: var(--en-portal-forest);
	color: #fffefa;
	box-shadow: 0 2px 5px rgba(25, 60, 46, 0.17);
}
.en-councillor-body:not(.en-department-body) .en-question-tabs a.active::after {
	position: absolute;
	right: 13px;
	bottom: 0;
	left: 13px;
	height: 2px;
	background: #d4b56f;
	content: "";
}
.en-admin-master-tabs {
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	gap: 3px;
	padding: 5px;
	border: 1px solid #d9d9cf;
	border-radius: 6px;
	background: #e9e9df;
}
.en-admin-master-tabs [role="tab"] {
	display: inline-flex;
	min-height: 43px;
	flex: 1 1 0;
	min-width: 0;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #546159;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition:
		background-color 160ms ease,
		color 160ms ease;
}
.en-admin-master-tabs [role="tab"]:hover {
	background: #dedfd4;
	color: #243d31;
}
.en-admin-master-tabs [role="tab"].active {
	position: relative;
	background: var(--en-portal-forest, #17483b);
	color: #fffefa;
	box-shadow: 0 2px 5px rgba(25, 60, 46, 0.17);
}
.en-admin-master-tabs [role="tab"].active::after {
	position: absolute;
	right: 13px;
	bottom: 0;
	left: 13px;
	height: 2px;
	background: #d4b56f;
	content: "";
}
.en-admin-master-tabs [role="tab"]:focus-visible {
	outline: 3px solid #9a763e;
	outline-offset: 2px;
}
.en-admin-master-panel[hidden] {
	display: none !important;
}
.en-admin-master-panel:not([hidden]) {
	animation: en-admin-panel-entry 180ms ease-out both;
}
.en-deadline-form-card[hidden],
#deadline-rules-panel[hidden] {
	display: none !important;
}
.en-create-user-form {
	padding: 30px 34px 28px;
}
.en-user-required-note {
	margin: 0 0 24px;
	color: var(--en-portal-muted);
	font-size: 13px;
	line-height: 1.5;
}
.en-create-user-form .en-user-form-section + .en-user-form-section {
	margin-top: 27px;
	padding-top: 22px;
	border-top-color: var(--en-portal-line);
}
.en-create-user-form .en-user-form-section > h3 {
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--en-portal-line);
	color: var(--en-portal-forest-deep);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}
.en-create-user-form .en-user-form-section > h3::before {
	width: 3px;
	height: 17px;
	border-radius: 0;
	background: var(--en-portal-gold);
}
@media (max-width: 700px) {
	.en-create-user-form {
		padding: 20px;
	}
}
@media (max-width: 520px) {
	.en-admin-master-tabs {
		width: 100%;
		justify-content: stretch;
		overflow: visible;
	}
	.en-admin-master-tabs [role="tab"] {
		padding: 9px 12px;
		font-size: 11px;
	}
}
.en-councillor-body:not(.en-department-body) .en-alert-success {
	border-color: #cbdcc9;
	background: #edf4eb;
	color: #315c3c;
}
.en-councillor-body:not(.en-department-body) .en-alert-error {
	border-color: #e6c9bd;
	background: #fbefea;
	color: #813d31;
}
.en-councillor-body:not(.en-department-body) .en-form-group input,
.en-councillor-body:not(.en-department-body) .en-form-group select,
.en-councillor-body:not(.en-department-body) .en-form-group textarea,
.en-councillor-body:not(.en-department-body) .en-question-field input,
.en-councillor-body:not(.en-department-body) .en-question-field select,
.en-councillor-body:not(.en-department-body) .en-question-field textarea {
	border-color: #cbd4c9;
	border-radius: 5px;
	background: var(--en-portal-paper);
	color: #29372f;
}
.en-councillor-body:not(.en-department-body) .en-form-group input:focus,
.en-councillor-body:not(.en-department-body) .en-form-group select:focus,
.en-councillor-body:not(.en-department-body) .en-form-group textarea:focus,
.en-councillor-body:not(.en-department-body) .en-question-field input:focus,
.en-councillor-body:not(.en-department-body) .en-question-field select:focus,
.en-councillor-body:not(.en-department-body) .en-question-field textarea:focus {
	border-color: #46785e;
	box-shadow: 0 0 0 3px rgba(39, 107, 86, 0.13);
}
.en-councillor-body:not(.en-department-body) .dt-container .dt-search input,
.en-councillor-body:not(.en-department-body) .dt-container .dt-length select {
	border: 1px solid #cbd4c9;
	border-radius: 4px;
	background: var(--en-portal-paper);
	color: #29372f;
}
.en-councillor-body:not(.en-department-body)
	.dt-container
	.dt-paging
	.dt-paging-button.current {
	border-color: var(--en-portal-forest) !important;
	background: var(--en-portal-forest) !important;
	color: #fffefa !important;
}
.en-councillor-body:not(.en-department-body) .en-dashboard-footer {
	border-top-color: var(--en-portal-line);
	color: var(--en-portal-muted);
}
.en-councillor-body:not(.en-department-body) :focus-visible {
	outline-color: #9a763e;
	outline-offset: 2px;
}

@media (min-width: 769px) {
	.en-councillor-body:not(.en-department-body) .en-topbar {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		height: 68px;
	}
	.en-councillor-body:not(.en-department-body) .en-dashboard-layout {
		position: fixed;
		top: 68px;
		right: 0;
		bottom: 0;
		left: 0;
		height: auto;
		min-height: 0;
		overflow: hidden;
	}
	.en-councillor-body:not(.en-department-body) .en-sidebar {
		position: fixed;
		z-index: 15;
		top: 68px;
		bottom: 0;
		left: 0;
		width: 278px;
		min-width: 278px;
		height: auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.en-councillor-body:not(.en-department-body) .en-dashboard-main {
		position: fixed;
		top: 68px;
		right: 0;
		bottom: 0;
		left: 278px;
		height: auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.en-councillor-body.en-approval-portal-body .en-main-content {
		position: fixed;
		top: 68px;
		right: 0;
		bottom: 0;
		left: 278px;
		height: auto;
		min-width: 0;
		overflow-y: auto;
		padding: 32px clamp(20px, 3.2vw, 48px) 24px;
	}
}

@media (max-width: 768px) {
	.en-councillor-body:not(.en-department-body) .en-topbar {
		min-height: 62px;
		padding: 8px 14px;
	}
	.en-councillor-body:not(.en-department-body) .en-dashboard-main,
	.en-councillor-body:not(.en-department-body) .en-main-content {
		padding: 24px 18px 18px;
	}
	.en-councillor-body:not(.en-department-body) .en-dashboard-header {
		padding: 0;
	}
	.en-councillor-body:not(.en-department-body) .en-role-badge {
		position: static;
		display: inline-flex;
		margin-top: 8px;
		transform: none;
	}
	.en-councillor-body.en-approval-portal-body .en-sidebar {
		position: static;
		width: 100%;
		min-width: 0;
		max-height: 0;
		overflow: hidden;
		padding: 0;
		opacity: 0;
		visibility: hidden;
		transition:
			max-height 0.35s ease,
			opacity 0.25s ease,
			visibility 0s linear 0.35s;
	}
	.en-councillor-body.en-approval-portal-body .en-sidebar.is-open {
		max-height: 600px;
		padding-bottom: 12px;
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}
	.en-councillor-body.en-approval-portal-body .en-dashboard-layout {
		flex-direction: column;
	}
	.en-councillor-body.en-approval-portal-body .en-main-content {
		position: relative;
		inset: auto;
		width: 100%;
		min-height: calc(100vh - 62px);
		overflow: visible;
	}
}

@media (max-width: 560px) {
	.en-councillor-body:not(.en-department-body) .en-dashboard-main,
	.en-councillor-body:not(.en-department-body) .en-main-content {
		padding: 21px 13px 16px;
	}
	.en-councillor-body:not(.en-department-body) .en-welcome-panel {
		border-radius: 0;
	}
	.en-councillor-body:not(.en-department-body) .en-dashboard-header {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-councillor-body:not(.en-department-body) *,
	.en-councillor-body:not(.en-department-body) *::before,
	.en-councillor-body:not(.en-department-body) *::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Public sign-in and legacy welcome page */
.en-login-body {
	background: #f5f3ed;
	color: #26322e;
}
.en-login-body .top-bar,
.en-login-body .footer {
	background: #10382f;
	color: #f7f5ee;
}
.en-login-body .header {
	border-bottom: 1px solid #deded4;
	background: #fffefa;
}
.en-login-body .header h1,
.en-login-body .login-card h2 {
	color: #10382f;
}
.en-login-body .header p,
.en-login-body .login-subtitle {
	color: #68736d;
}
.en-login-body .login-card {
	border-color: #deded4;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(27, 51, 42, 0.1);
}

/* Shared portal identity, navigation affordances, and Admin page controls */
.en-councillor-body:not(.en-department-body) .en-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.en-portal-identity,
.en-portal-workspace {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.en-portal-mark {
	display: inline-grid;
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	place-items: center;
	border: 1px solid rgba(226, 199, 148, 0.55);
	border-radius: 70%;
	color: #f0dfb7;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.5px;
}
.en-portal-identity-copy {
	display: grid;
	gap: 3px;
}
.en-portal-identity-copy strong {
	color: #fffefa;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.1px;
}
.en-portal-identity-copy small {
	color: #c5d1c9;
	font-size: 17px;
	letter-spacing: 0.25px;
}
.en-portal-workspace {
	justify-content: flex-end;
	color: #e6ebdf;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-dropdown-toggle {
	position: relative;
}
.en-councillor-body:not(.en-department-body) .en-sidebar-dropdown-chevron {
	display: none;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-dropdown-toggle::after {
	display: block;
	width: auto;
	height: auto;
	margin-left: auto;
	border: 0;
	border-radius: 0;
	color: #c8b27e;
	content: "+";
	font-size: 18px;
	line-height: 1;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-dropdown-toggle[aria-expanded="true"]::after {
	content: "−";
}
.en-councillor-body:not(.en-department-body) .en-sidebar-dropdown summary {
	list-style: none;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-dropdown
	summary::-webkit-details-marker {
	display: none;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-dropdown
	summary::after {
	display: block;
	width: auto;
	height: auto;
	margin-left: auto;
	border: 0;
	border-radius: 0;
	color: #c8b27e;
	content: "+";
	font-size: 18px;
	line-height: 1;
}
.en-councillor-body:not(.en-department-body)
	.en-sidebar-dropdown[open]
	summary::after {
	content: "−";
}
.en-councillor-body:not(.en-department-body) .en-admin-section-tabs {
	display: flex;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	overflow: visible;
}
.en-councillor-body:not(.en-department-body) .en-admin-section-tabs a {
	flex: 1 1 0;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: center;
}
.en-councillor-body:not(.en-department-body) .en-admin-tab-disabled {
	display: inline-flex;
	flex: 1 1 0;
	min-width: 0;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	color: #81877f;
	font-size: 12px;
	text-align: center;
	cursor: not-allowed;
	white-space: normal;
}
.en-councillor-body:not(.en-department-body) .en-admin-add-panel[hidden] {
	display: none !important;
}
.en-councillor-body:not(.en-department-body) .en-admin-add-panel:not([hidden]) {
	animation: en-admin-panel-entry 180ms ease-out both;
}
.en-councillor-body:not(.en-department-body) .en-departments-heading {
	position: relative;
}
.en-councillor-body:not(.en-department-body) .en-departments-heading > .en-btn {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.en-councillor-body:not(.en-department-body) .en-question-view-btn,
.en-councillor-body:not(.en-department-body) a.en-btn-secondary {
	text-decoration: none;
}
.en-councillor-body:not(.en-department-body) .en-user-form-page-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.en-councillor-body:not(.en-department-body)
	.en-house-notification-option
	> label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #35453b;
	font-weight: 700;
}
.en-councillor-body:not(.en-department-body)
	.en-house-notification-option
	input[type="checkbox"] {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin: 1px 0 0;
	accent-color: var(--en-portal-forest);
}
.en-councillor-body:not(.en-department-body)
	.en-house-notification-option
	small {
	display: block;
	margin: 8px 0 0 27px;
	color: #7b5941;
	line-height: 1.5;
}
@keyframes en-admin-panel-entry {
	from {
		opacity: 0;
		transform: translateY(7px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.en-councillor-body:not(.en-department-body) .en-portal-mark {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-identity-copy strong {
		font-size: 11px;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-identity-copy small {
		font-size: 9px;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-workspace {
		gap: 7px;
		font-size: 9px;
	}
	.en-councillor-body:not(.en-department-body) .en-admin-section-tabs {
		width: 100%;
		justify-content: stretch;
	}
	.en-councillor-body:not(.en-department-body)
		.en-departments-heading
		> .en-btn {
		position: static;
		display: inline-flex;
		margin: 12px auto 0;
		transform: none;
	}
}

@media (max-width: 430px) {
	.en-councillor-body:not(.en-department-body) .en-portal-identity {
		gap: 7px;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-mark {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
		font-size: 11px;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-identity-copy small {
		max-width: 155px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.en-councillor-body:not(.en-department-body) .en-portal-workspace > span {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.en-councillor-body:not(.en-department-body)
		.en-admin-add-panel:not([hidden]) {
		animation: none;
	}
}
.en-login-body .form-group input {
	border-radius: 5px;
}
.en-login-body .form-group input:focus {
	border-color: #276b56;
	box-shadow: 0 0 0 3px rgba(39, 107, 86, 0.13);
}
.en-login-body .login-btn {
	border-radius: 5px;
	background: #17483b;
}
.en-login-body .login-btn:hover {
	background: #10382f;
}

@media (prefers-reduced-motion: reduce) {
	.en-login-body *,
	.en-login-body *::before,
	.en-login-body *::after {
		animation: none !important;
		transition: none !important;
	}
}
.en-portal-mark {
	width: 42px;
	height: 42px;
	min-width: 42px;
	object-fit: contain;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	background-color: white;
}

/* Admin and Department actions use outlined controls with clear hover/focus states. */
.en-admin-body .en-action-btn:not(.delete-btn),
.en-admin-body .en-btn-primary,
.en-department-body .en-action-btn:not(.delete-btn),
.en-department-body .en-btn-primary,
.en-department-body .en-question-view-btn {
	border: 1px solid var(--en-portal-forest, #17483b);
	border-radius: 5px;
	background: var(--en-portal-forest, #17483b);
	color: #fffefa !important;
	box-shadow: none;
	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease;
}
.en-admin-body .en-action-btn:not(.delete-btn):hover,
.en-admin-body .en-action-btn:not(.delete-btn):focus-visible,
.en-admin-body .en-btn-primary:hover,
.en-admin-body .en-btn-primary:focus-visible,
.en-department-body .en-action-btn:not(.delete-btn):hover,
.en-department-body .en-action-btn:not(.delete-btn):focus-visible,
.en-department-body .en-btn-primary:hover,
.en-department-body .en-btn-primary:focus-visible,
.en-department-body .en-question-view-btn:hover,
.en-department-body .en-question-view-btn:focus-visible {
	border-color: var(--en-portal-forest-deep, #123b32);
	background: var(--en-portal-forest-deep, #123b32);
	color: #fffefa !important;
}
.en-admin-body .en-action-btn.edit-btn,
.en-department-body .en-action-btn.edit-btn,
.en-admin-body .en-btn-edit,
.en-department-body .en-btn-edit {
	border: 1px solid #557b66;
	background: var(--en-portal-forest, #17483b);
	color: #fffefa !important;
}
.en-admin-body .en-action-btn.edit-btn:hover,
.en-admin-body .en-action-btn.edit-btn:focus-visible,
.en-department-body .en-action-btn.edit-btn:hover,
.en-department-body .en-action-btn.edit-btn:focus-visible,
.en-admin-body .en-btn-edit:hover,
.en-admin-body .en-btn-edit:focus-visible,
.en-department-body .en-btn-edit:hover,
.en-department-body .en-btn-edit:focus-visible {
	background: #123b32;
	border-color: #123b32;
	color: #fffefa !important;
}
.en-admin-body .en-action-btn.delete-btn,
.en-department-body .en-action-btn.delete-btn,
.en-admin-body .en-btn-danger,
.en-department-body .en-btn-danger {
	border: 1px solid #a64f45 !important;
	background: #a64f45 !important;
	color: #fffefa !important;
}
.en-admin-body .en-question-actions .en-action-btn.delete-btn,
.en-department-body .en-question-actions .en-action-btn.delete-btn {
	border-color: #a64f45 !important;
}
.en-admin-body .en-question-actions .en-action-btn.delete-btn span,
.en-department-body .en-question-actions .en-action-btn.delete-btn span {
	color: #fffefa !important;
}
.en-admin-body .en-question-actions .en-action-btn.delete-btn video,
.en-department-body .en-question-actions .en-action-btn.delete-btn video {
	filter: brightness(0) invert(1);
}
.en-admin-body .en-action-btn.delete-btn:hover,
.en-admin-body .en-action-btn.delete-btn:focus-visible,
.en-department-body .en-action-btn.delete-btn:hover,
.en-department-body .en-action-btn.delete-btn:focus-visible,
.en-admin-body .en-btn-danger:hover,
.en-admin-body .en-btn-danger:focus-visible,
.en-department-body .en-btn-danger:hover,
.en-department-body .en-btn-danger:focus-visible {
	background: #a64f45 !important;
	color: #fffefa !important;
}
.en-admin-body .en-question-actions .en-action-btn.delete-btn:hover span,
.en-admin-body
	.en-question-actions
	.en-action-btn.delete-btn:focus-visible
	span,
.en-department-body .en-question-actions .en-action-btn.delete-btn:hover span,
.en-department-body
	.en-question-actions
	.en-action-btn.delete-btn:focus-visible
	span {
	color: #fffefa !important;
}
.en-admin-body .en-action-btn.delete-btn:hover,
.en-admin-body .en-action-btn.delete-btn:focus-visible,
.en-admin-body .en-action-btn.delete-btn:active,
.en-department-body .en-action-btn.delete-btn:hover,
.en-department-body .en-action-btn.delete-btn:focus-visible,
.en-department-body .en-action-btn.delete-btn:active {
	border-color: #873b33 !important;
	background: #873b33 !important;
	color: #fffefa !important;
}
.en-admin-body .en-question-actions .en-action-btn.delete-btn:active span,
.en-department-body .en-question-actions .en-action-btn.delete-btn:active span {
	color: #fffefa !important;
}
.en-admin-body .en-action-btn:not(.delete-btn):active,
.en-admin-body .en-btn-primary:active,
.en-department-body .en-action-btn:not(.delete-btn):active,
.en-department-body .en-btn-primary:active {
	border-color: #10382f;
	background: #10382f;
	color: #fffefa !important;
}
.en-admin-body .en-action-btn:disabled,
.en-admin-body .en-btn:disabled,
.en-department-body .en-action-btn:disabled,
.en-department-body .en-btn:disabled {
	border-color: #747d78 !important;
	background: #747d78 !important;
	color: #fffefa !important;
	opacity: 0.72;
	cursor: not-allowed;
	transform: none;
}
.en-admin-body :focus-visible,
.en-department-body :focus-visible {
	outline: 3px solid rgba(154, 118, 62, 0.55);
	outline-offset: 2px;
}

/* Meeting Assistant workflow forms and dense operational tables */
.en-councillor-body:not(.en-department-body) .en-meeting-assistant-workflow {
	--en-ma-forest: var(--en-portal-forest, #17483b);
	--en-ma-forest-deep: var(--en-portal-forest-deep, #10382f);
	--en-ma-ivory: var(--en-portal-paper, #fffefa);
	--en-ma-gold: var(--en-portal-gold, #b18a4a);
	--en-ma-charcoal: #303a35;
	color: var(--en-ma-charcoal);
}
.en-councillor-body:not(.en-department-body) .en-ma-panel,
.en-councillor-body:not(.en-department-body) .en-ma-table-section {
	margin: 0 0 24px;
	padding: 24px;
	min-width: 0;
	border: 1px solid #dedfd5;
	border-radius: 10px;
	background: var(--en-portal-paper, #fffefa);
	box-shadow: 0 5px 18px rgba(37, 54, 45, 0.055);
}
.en-councillor-body:not(.en-department-body) .en-ma-panel {
	border-top: 3px solid var(--en-portal-gold, #b18a4a);
}
.en-councillor-body:not(.en-department-body) .en-ma-panel-heading,
.en-councillor-body:not(.en-department-body) .en-ma-section-heading {
	margin: 0 0 22px;
}
.en-councillor-body:not(.en-department-body) .en-ma-panel-heading h2,
.en-councillor-body:not(.en-department-body) .en-ma-section-heading h2 {
	margin: 0 0 6px;
	color: var(--en-portal-forest-deep, #10382f);
	font-size: 19px;
	line-height: 1.35;
}
.en-councillor-body:not(.en-department-body) .en-ma-panel-heading p,
.en-councillor-body:not(.en-department-body) .en-ma-section-heading p {
	margin: 0;
	color: var(--en-portal-muted, #68736d);
	font-size: 13px;
	line-height: 1.55;
}
.en-councillor-body:not(.en-department-body) .en-ma-form .en-form-grid {
	gap: 20px 24px;
}
.en-councillor-body:not(.en-department-body) .en-ma-committee-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.en-councillor-body:not(.en-department-body) .en-ma-form .en-form-group label {
	margin: 0 0 8px;
	color: #35453c;
	font-size: 13px;
	line-height: 1.4;
}
.en-councillor-body:not(.en-department-body)
	.en-ma-form
	input:not([type="hidden"]),
.en-councillor-body:not(.en-department-body) .en-ma-form select,
.en-councillor-body:not(.en-department-body)
	.en-ma-inline-form
	input:not([type="hidden"]),
.en-councillor-body:not(.en-department-body) .en-ma-inline-form select,
.en-councillor-body:not(.en-department-body) .en-ma-filter select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #c9cec4;
	border-radius: 7px;
	background-color: #fffefa;
	color: #303a35;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
}
.en-councillor-body:not(.en-department-body) .en-ma-form input[type="file"] {
	padding: 7px 9px;
	color: #4c5750;
}
.en-councillor-body:not(.en-department-body) .en-ma-form input:focus,
.en-councillor-body:not(.en-department-body) .en-ma-form select:focus,
.en-councillor-body:not(.en-department-body) .en-ma-inline-form input:focus,
.en-councillor-body:not(.en-department-body) .en-ma-inline-form select:focus,
.en-councillor-body:not(.en-department-body) .en-ma-filter select:focus {
	border-color: var(--en-portal-forest, #17483b);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(23, 72, 59, 0.13);
}
.en-councillor-body:not(.en-department-body) .en-ma-field-optional {
	color: red;
	font-size: 11px;
	font-weight: 500;
}
.en-councillor-body:not(.en-department-body) .en-ma-form-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #ecece5;
}

.en-councillor-body:not(.en-department-body) .en-lob-selection {
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
}
.en-councillor-body:not(.en-department-body)
	.en-lob-selection
	> .en-form-group:last-child {
	grid-column: 1 / -1;
	margin: 0;
}
.en-councillor-body:not(.en-department-body) .en-lob-selection select,
.en-councillor-body:not(.en-department-body)
	.en-lob-table
	input:not([type="hidden"]),
.en-councillor-body:not(.en-department-body) .en-lob-table select,
.en-councillor-body:not(.en-department-body) .en-lob-table textarea {
	box-sizing: border-box;
	width: 100%;
	min-width: 105px;
	border: 1px solid #c9cec4;
	border-radius: 6px;
	background: #fffefa;
	color: #303a35;
	font: inherit;
	padding: 8px 10px;
}
.en-councillor-body:not(.en-department-body) .en-lob-table textarea {
	min-width: 240px;
	min-height: 82px;
	resize: vertical;
}
.en-councillor-body:not(.en-department-body) .en-lob-table td:last-child form {
	display: inline-block;
	margin: 2px;
}
.en-councillor-body:not(.en-department-body)
	.en-lob-table
	.en-lob-source-row
	td {
	background: #f6f5ed;
}
@media (max-width: 700px) {
	.en-councillor-body:not(.en-department-body) .en-lob-selection {
		grid-template-columns: minmax(0, 1fr);
	}
	.en-councillor-body:not(.en-department-body)
		.en-lob-selection
		> .en-form-group:last-child {
		grid-column: auto;
	}
}
.en-councillor-body:not(.en-department-body) .en-ma-inline-form {
	display: grid;
	grid-template-columns: minmax(140px, 0.8fr) minmax(190px, 1.2fr) auto;
	align-items: center;
	gap: 9px;
	min-width: 350px;
}
.en-councillor-body:not(.en-department-body) .en-ma-inline-form .en-action-btn {
	min-height: 40px;
	white-space: nowrap;
}
.en-councillor-body:not(.en-department-body) .en-ma-action-form {
	display: grid;
	gap: 10px;
	min-width: 160px;
	margin: 9px 0 0;
}
.en-councillor-body:not(.en-department-body) .en-ma-action-form select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #c9cec4;
	border-radius: 7px;
	background: #fffefa;
	color: #303a35;
	font: inherit;
	font-size: 13px;
}
.en-councillor-body:not(.en-department-body) .en-ma-action-form .en-action-btn {
	min-height: 38px;
	white-space: nowrap;
}
.en-councillor-body:not(.en-department-body) .en-ma-note {
	margin: 16px 0 0;
	padding: 11px 14px;
	border-left: 3px solid var(--en-portal-gold, #b18a4a);
	background: #f5f4ed;
	color: #59645c;
	font-size: 12px;
	line-height: 1.55;
}
.en-councillor-body:not(.en-department-body)
	.en-ma-table-section
	.en-common-datatable-wrapper {
	margin-top: 0;
}
.en-councillor-body:not(.en-department-body)
	.en-ma-table-section
	.en-common-datatable {
	min-width: 1040px;
}
.en-councillor-body:not(.en-department-body)
	.en-ma-table-section
	.en-common-datatable
	td {
	white-space: normal;
	overflow-wrap: break-word;
}
.en-councillor-body:not(.en-department-body) .en-ma-table-section details {
	min-width: 140px;
	max-width: 340px;
}
.en-councillor-body:not(.en-department-body)
	.en-ma-table-section
	details
	summary {
	color: var(--en-portal-forest, #17483b);
	cursor: pointer;
	font-weight: 700;
}
.en-councillor-body:not(.en-department-body) .en-ma-table-section details p {
	padding: 8px 0 0;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
.en-councillor-body:not(.en-department-body) .en-ma-status-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
	color: #435047;
	font-size: 13px;
}
.en-councillor-body:not(.en-department-body) .en-ma-wrap-cell {
	min-width: 180px;
	max-width: 280px;
	overflow-wrap: anywhere;
}
.en-councillor-body:not(.en-department-body) .en-ma-action-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	min-width: 170px;
}
.en-councillor-body:not(.en-department-body) .en-ma-action-group form {
	margin: 0;
}
.en-councillor-body:not(.en-department-body) .en-ma-filter {
	display: grid;
	grid-template-columns: minmax(240px, 420px) auto;
	align-items: end;
	gap: 12px;
	margin: 0 0 20px;
}
.en-councillor-body:not(.en-department-body) .en-ma-filter label {
	display: grid;
	gap: 8px;
	color: #35453c;
	font-size: 13px;
	font-weight: 700;
}
.en-councillor-body:not(.en-department-body) .en-ma-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 700px) {
	.en-councillor-body:not(.en-department-body) .en-ma-panel,
	.en-councillor-body:not(.en-department-body) .en-ma-table-section {
		padding: 17px 14px;
		margin-bottom: 18px;
	}
	.en-councillor-body:not(.en-department-body) .en-ma-form .en-form-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.en-councillor-body:not(.en-department-body) .en-ma-committee-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.en-councillor-body:not(.en-department-body)
		.en-ma-form-actions
		.en-action-btn {
		width: 100%;
	}
	.en-councillor-body:not(.en-department-body) .en-ma-inline-form {
		grid-template-columns: minmax(0, 1fr);
		min-width: 190px;
	}
	.en-councillor-body:not(.en-department-body)
		.en-ma-inline-form
		.en-action-btn {
		width: 100%;
	}
	.en-councillor-body:not(.en-department-body) .en-ma-filter {
		grid-template-columns: minmax(0, 1fr);
	}
}

.en-councillor-body:not(.en-department-body) .en-question-monitor-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 22px;
	text-align: left;
}
.en-councillor-body:not(.en-department-body) .en-question-monitor-heading > a {
	flex: 0 0 auto;
	margin: 0;
}
@media (max-width: 640px) {
	.en-councillor-body:not(.en-department-body) .en-question-monitor-heading {
		align-items: flex-start;
	}
}

/* Keep Committee Management tables readable; scroll horizontally on narrow screens. */
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel.en-ma-table-section,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel.en-ma-table-section {
	padding: 14px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-section-heading,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-section-heading {
	margin-bottom: 12px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	table.en-ma-committee-table,
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.dt-container
	table.en-ma-committee-table {
	width: 100% !important;
	min-width: 1420px !important;
	table-layout: auto !important;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-name {
	width: 190px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-house {
	width: 180px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-status {
	width: 90px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-number {
	width: 145px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-meeting {
	width: 160px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-assigned {
	width: 185px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.committee-action {
	width: 470px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	thead
	th,
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	tbody
	td,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	thead
	th,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	tbody
	td {
	box-sizing: border-box;
	padding: 8px 9px;
	text-align: left;
	vertical-align: middle;
	line-height: 1.4;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	thead
	th {
	font-size: 11px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	tbody
	td {
	font-size: 12px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	thead
	th:nth-child(3),
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	thead
	th:nth-child(4),
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	tbody
	td:nth-child(3),
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	tbody
	td:nth-child(4) {
	text-align: center;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.en-ma-inline-form {
	grid-template-columns: minmax(135px, 0.8fr) minmax(190px, 1.2fr) auto;
	gap: 6px;
	min-width: 0;
	margin: 0;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.en-ma-inline-form
	input,
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.en-ma-inline-form
	select {
	min-height: 38px;
	padding: 7px 8px;
	font-size: 12px;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	.en-ma-inline-form
	.en-action-btn {
	min-height: 38px;
	padding: 7px 9px;
	white-space: nowrap;
}
.en-councillor-body:not(.en-department-body)
	#committee-manage-panel
	.en-ma-committee-table
	tbody
	td:last-child {
	white-space: nowrap;
}
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	table.en-ma-committee-history-table,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.dt-container
	table.en-ma-committee-history-table {
	width: 100% !important;
	min-width: 920px !important;
	table-layout: auto !important;
}
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	th,
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	td {
	min-width: 135px;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	.history-id {
	min-width: 115px;
}
.en-councillor-body:not(.en-department-body)
	#committee-history-panel
	.en-ma-committee-history-table
	.history-meeting {
	min-width: 220px;
}
.en-proceedings-meeting-window {
	color: red !important;
}

/* Accessible shared workflow status colors; placed last to win role theme overrides. */
.en-question-status.en-status-rejected,
.en-question-status.en-status-reverted {
	border: 1px solid #a51f2b !important;
	background: #b42332 !important;
	color: #ffffff !important;
}

/* Shared filter spacing and aligned action controls. Keep existing role theme colors. */
.en-filter-panel {
	margin: 0 0 20px;
	padding: 18px 20px;
	align-items: end;
	gap: 16px 18px;
}
.en-filter-panel .en-form-actions,
.en-filter-panel .en-form-footer,
.en-filter-panel .en-filter-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}
.en-filter-panel .en-form-actions .en-action-btn,
.en-filter-panel .en-form-actions .en-btn,
.en-filter-panel .en-filter-actions .en-action-btn,
.en-filter-panel .en-filter-actions .en-btn {
	margin: 0;
}
.en-lob-history-filter-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	grid-column: 1 / -1;
	min-width: 0;
	width: 100%;
}
.en-lob-history-filter-actions > .en-action-btn {
	margin: 0;
	min-height: 42px;
}
.en-ma-filter.en-filter-panel {
	padding: 18px 20px;
	grid-template-columns: minmax(240px, 420px) auto;
	gap: 14px 18px;
}
.en-admin-filter-form.en-filter-panel > .en-form-grid {
	margin: 0;
	gap: 16px 18px;
}
@media (max-width: 700px) {
	.en-filter-panel {
		padding: 15px;
		gap: 14px;
	}
	.en-filter-panel .en-form-actions,
	.en-filter-panel .en-form-footer,
	.en-filter-panel .en-filter-actions,
	.en-lob-history-filter-actions {
		width: 100%;
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.en-filter-panel .en-form-actions .en-action-btn,
	.en-filter-panel .en-form-actions .en-btn,
	.en-filter-panel .en-filter-actions .en-action-btn,
	.en-filter-panel .en-filter-actions .en-btn,
	.en-lob-history-filter-actions > .en-action-btn {
		min-height: 40px;
	}
	.en-ma-filter.en-filter-panel {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Final role sidebar alignment: keep badges/indicators fixed while labels wrap. */
.en-councillor-body .en-sidebar-nav > a,
.en-councillor-body .en-sidebar-nav > details > summary,
.en-councillor-body
	.en-sidebar-nav
	> .en-sidebar-dropdown-group
	> .en-sidebar-dropdown-toggle {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}
.en-councillor-body .en-sidebar-nav > details > summary,
.en-councillor-body
	.en-sidebar-nav
	> .en-sidebar-dropdown-group
	> .en-sidebar-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 11px;
}
.en-councillor-body
	.en-sidebar-nav
	> details
	> summary
	> span:not(.en-department-nav-mark),
.en-councillor-body
	.en-sidebar-nav
	> .en-sidebar-dropdown-group
	> .en-sidebar-dropdown-toggle
	> span:not(.en-department-nav-mark) {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}
.en-councillor-body .en-sidebar-nav > details > summary::after,
.en-councillor-body
	.en-sidebar-nav
	> .en-sidebar-dropdown-group
	> .en-sidebar-dropdown-toggle::after {
	flex: 0 0 auto;
	margin-left: auto;
}
.en-councillor-body .en-sidebar-nav .en-sidebar-submenu {
	box-sizing: border-box;
}
.en-councillor-body .en-sidebar-nav .en-sidebar-submenu a {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Meeting Assistant question status detail content spacing and readable wrapping. */
.en-councillor-body .en-question-monitor-card,
.en-councillor-body .en-question-replies-card {
	padding: 24px;
}
.en-councillor-body .en-question-monitor-card h3,
.en-councillor-body .en-question-replies-card h3 {
	margin: 0 0 18px;
	color: var(--en-portal-forest, #17483b);
	font-size: 19px;
	line-height: 1.35;
}
.en-councillor-body .en-question-monitor-card p {
	margin: 0 0 12px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}
.en-councillor-body .en-question-description,
.en-councillor-body .en-department-reply-card > div {
	line-height: 1.75;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}
.en-councillor-body .en-question-monitor-attachment {
	margin-top: 18px !important;
}
.en-councillor-body .en-question-replies-card .en-department-reply-card {
	margin: 0 0 14px;
	padding: 17px 19px;
	border: 1px solid rgba(23, 72, 59, 0.14);
	border-left: 3px solid var(--en-portal-gold, #b18a4a);
	border-radius: 6px;
	background: var(--en-portal-ivory, #faf8f1);
}
.en-councillor-body .en-department-reply-card h4 {
	margin: 0 0 10px;
	color: var(--en-portal-charcoal, #26352f);
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
@media (max-width: 700px) {
	.en-councillor-body .en-question-monitor-card,
	.en-councillor-body .en-question-replies-card {
		padding: 17px 14px;
	}
}
.en-public-body {
	margin: 0;
	min-height: 100vh;
	background: #f5f3ed;
	color: #26322e;
	font-family: inherit;
}
.en-public-container {
	max-width: 1180px;
	margin: 32px auto;
	padding: 24px;
	background: #fffefa;
	border: 1px solid #deded4;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(27, 51, 42, 0.08);
}
.en-public-container .en-page-heading {
	color: #17483b;
	margin-bottom: 18px;
}
.en-public-container .en-page-heading h1 {
	color: #17483b;
}
.en-public-container .en-action-btn {
	background: #17483b;
	color: #fffefa;
}
.en-public-container .en-action-btn:hover {
	background: #12392f;
	color: #fffefa;
}

@media (max-width: 700px) {
	.en-public-container {
		margin: 12px;
		padding: 14px;
		overflow-wrap: anywhere;
	}
}

/* Shared read-only detail panels use the available card width across dashboards. */
.en-question-description {
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}

.en-question-card .en-question-description {
	margin: 12px 0;
	padding: clamp(14px, 2vw, 22px);
	line-height: 1.68;
}

.en-readonly-long-content {
	overflow-wrap: anywhere;
	word-break: normal;
}

.en-question-description br + br + br {
	display: none;
}

.en-detail-grid-table {
	width: 100%;
	table-layout: auto;
}

.en-detail-grid-table tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(14px, 2vw, 24px);
}

.en-detail-grid-table tbody tr {
	display: grid;
	grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.35fr);
	align-content: start;
	min-width: 0;
	border-bottom: 1px solid #e7e4da;
}

.en-detail-grid-table tbody tr.en-detail-grid-wide {
	grid-column: 1 / -1;
}

.en-detail-grid-table tbody th,
.en-detail-grid-table tbody td {
	display: block;
	width: auto;
	min-width: 0;
	padding: 10px 12px;
	border: 0;
	overflow-wrap: anywhere;
}

.en-detail-grid-table tbody th {
	background: #f8f7f1;
}

.en-detail-grid-table tbody tr:last-child {
	border-bottom: 0;
}

@media (max-width: 640px) {
	.en-detail-grid-table tbody {
		grid-template-columns: minmax(0, 1fr);
	}

	.en-detail-grid-table tbody tr.en-detail-grid-wide {
		grid-column: auto;
	}

	.en-detail-grid-table tbody tr {
		grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1.3fr);
	}
}
.en-admin-body .en-approval-access-page {
	width: 100%;
	max-width: 100%;
}

.en-admin-body .en-approval-access-page .en-page-heading {
	margin-bottom: 20px;
}

.en-admin-body .en-approval-access-page .en-card-header h3 {
	margin: 0 0 5px;
	color: #203452;
	font-size: 18px;
	font-weight: 700;
}

.en-admin-body .en-approval-access-page .en-card-header p {
	margin: 0;
	color: #7b8798;
	font-size: 13px;
}

.en-admin-body .en-approval-access-page .en-approval-access-table,
.en-admin-body .en-approval-access-page .en-approval-history-table {
	min-width: 720px;
}

.en-admin-body .en-approval-access-page .en-approval-access-table th,
.en-admin-body .en-approval-access-page .en-approval-history-table th {
	padding: 13px 16px;
	background: #f7f9fc;
}

.en-admin-body .en-approval-access-page .en-approval-access-table td,
.en-admin-body .en-approval-access-page .en-approval-history-table td {
	padding: 15px 16px;
}

.en-admin-body .en-approval-access-page .en-approval-level {
	display: block;
	color: #52627a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}

.en-admin-body .en-approval-access-page .en-approval-current {
	display: inline-block;
	margin-top: 6px;
	color: #176b3a;
	font-size: 12px;
	font-weight: 700;
}

.en-admin-body .en-approval-access-page .en-approval-status {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 18px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.en-admin-body .en-approval-access-page .en-approval-status.is-active {
	color: #176b3a;
	background: #e8f8f0;
}

.en-admin-body .en-approval-access-page .en-approval-status.is-inactive {
	color: #687386;
	background: #f0f2f5;
}

.en-admin-body .en-approval-access-page .en-approval-access-action {
	margin: 0;
}

.en-admin-body .en-approval-access-page .en-approval-access-action .en-btn {
	min-width: 102px;
}

.en-admin-body .en-approval-access-page .en-approval-empty {
	margin: 0;
	padding: 20px;
	color: #718096;
	font-size: 13px;
}

@media (max-width: 640px) {
	.en-admin-body .en-approval-access-page .en-page-heading {
		margin-bottom: 15px;
	}

	.en-admin-body .en-approval-access-page .en-card-header {
		padding: 15px 16px;
	}

	.en-admin-body .en-approval-access-page .en-approval-access-table,
	.en-admin-body .en-approval-access-page .en-approval-history-table {
		min-width: 680px;
	}
}

/* House Proceedings approval detail layout */
.en-proceedings-detail {
	padding: clamp(18px, 2.2vw, 30px);
	color: #263b34;
}

.en-proceedings-detail-header,
.en-proceedings-section-heading,
.en-proceedings-document-action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.en-proceedings-detail-header {
	margin-bottom: 22px;
	padding-bottom: 19px;
	border-bottom: 1px solid #e6ebe7;
}

.en-proceedings-detail-header h1 {
	margin: 4px 0 5px;
	color: #10382f;
	font-size: clamp(22px, 2.1vw, 30px);
	line-height: 1.25;
}

.en-proceedings-detail-header p {
	margin: 0;
	color: #68776f;
	font-size: 13px;
}

.en-proceedings-kicker {
	color: #8b6a23;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.en-proceedings-back {
	flex: 0 0 auto;
	text-decoration: none;
}

.en-proceedings-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
}

.en-proceedings-fact {
	display: flex;
	min-width: 0;
	min-height: 78px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 12px 15px;
	border: 1px solid #e3e9e4;
	border-radius: 8px;
	background: #f8faf8;
}

.en-proceedings-fact > span {
	color: #69776f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.en-proceedings-fact > strong {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	color: #263b34;
	font-size: 13px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.en-proceedings-fact > small {
	color: #64746b;
	font-size: 11px;
}

.en-proceedings-fact > strong small {
	color: #718078;
	font-size: 11px;
	font-weight: 600;
}

.en-proceedings-chain {
	grid-column: span 2;
}

.en-proceedings-chain a {
	color: #17483b;
	font-weight: 700;
	text-decoration: none;
}

.en-proceedings-chain a:hover,
.en-proceedings-chain a:focus-visible {
	text-decoration: underline;
}

.en-proceedings-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 9px;
	border-radius: 20px;
	background: #eaf2ec;
	color: #245a3a;
	font-size: 11px;
	font-weight: 700;
}

.en-proceedings-status.is-reverted,
.en-proceedings-status.is-rejected {
	background: #fff0ed;
	color: #a33a2f;
}

.en-proceedings-document-action {
	margin: 0 0 22px;
	padding: 14px 16px;
	border: 1px solid #e4e9e4;
	border-radius: 8px;
	background: #fff;
}

.en-proceedings-document-action > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.en-proceedings-document-action strong {
	color: #29483b;
	font-size: 13px;
}

.en-proceedings-document-action span {
	color: #68776f;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.en-proceedings-document-action .en-action-btn,
.en-proceedings-back {
	min-height: 38px;
	padding: 10px 14px;
}

.en-proceedings-readonly {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 11px 14px;
	border-left: 3px solid #b9862f;
	border-radius: 5px;
	background: #fbf8ef;
	color: #5b5442;
	font-size: 12px;
}

.en-proceedings-history,
.en-proceedings-decisions {
	margin-top: 24px;
}

.en-proceedings-section-heading {
	margin-bottom: 12px;
}

.en-proceedings-section-heading h2 {
	margin: 3px 0 0;
	padding: 0;
	border: 0;
	color: #10382f;
	font-size: 19px;
	line-height: 1.3;
}

.en-proceedings-section-heading > span {
	color: #758179;
	font-size: 11px;
}

.en-proceedings-history .en-common-datatable-wrapper {
	border: 1px solid #e3e9e4;
}

.en-proceedings-history .en-common-datatable {
	min-width: 700px;
}

.en-proceedings-decision-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 16px;
}

.en-proceedings-decision-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin: 0;
	padding: 19px;
	border: 1px solid #e0e7e1;
	border-top: 3px solid #17483b;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(25, 60, 46, 0.045);
}

.en-proceedings-decision-card.is-revert {
	border-top-color: #b9862f;
}

.en-proceedings-decision-card.is-reject {
	border-top-color: #b5473b;
}

.en-proceedings-decision-card > div:first-of-type {
	min-height: 112px;
}

.en-proceedings-decision-mark {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #eaf2ec;
	color: #17483b;
	font-size: 18px;
	font-weight: 800;
}

.is-revert .en-proceedings-decision-mark {
	background: #fbf4e5;
	color: #8b6a23;
}

.is-reject .en-proceedings-decision-mark {
	background: #fff0ed;
	color: #a33a2f;
}

.en-proceedings-decision-card h3 {
	margin: 10px 0 5px;
	color: #203d32;
	font-size: 15px;
}

.en-proceedings-decision-card p {
	margin: 0;
	color: #6b786f;
	font-size: 12px;
	line-height: 1.55;
}

.en-proceedings-decision-card label {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: #344a3f;
	font-size: 12px;
	font-weight: 700;
}

.en-proceedings-decision-card label span {
	color: #a33a2f;
	font-size: 10px;
	font-weight: 600;
}

.en-proceedings-decision-card textarea {
	width: 100%;
	min-height: 92px;
	padding: 10px 11px;
	border: 1px solid #d8e0d9;
	border-radius: 6px;
	background: #fff;
	color: #263b34;
	font: inherit;
	font-size: 12px;
	line-height: 1.5;
	resize: vertical;
}

.en-proceedings-decision-card textarea:focus {
	border-color: #54826b;
	outline: 3px solid rgba(23, 72, 59, 0.12);
}

.en-proceedings-decision-card .en-action-btn {
	align-self: flex-start;
	margin-top: auto;
	padding: 10px 14px;
}

.en-proceedings-decision-card.is-reject .en-action-btn {
	border-color: #a33a2f;
	background: #a33a2f;
}

/* Give reply approvers enough room to write a useful revert explanation. */
.en-reply-approval-table {
	min-width: 1240px;
	table-layout: auto;
}

.en-reply-approval-table .en-reply-action-column {
	width: 300px;
	min-width: 300px;
	vertical-align: top;
}

.en-reply-decision-form {
	width: 100%;
	min-width: 0;
}

.en-reply-decision-form .en-form-group {
	width: 100%;
	min-width: 0;
	margin: 0;
}

.en-reply-decision-form textarea.en-long-textarea {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 190px !important;
	box-sizing: border-box;
	resize: vertical;
}

.en-reply-decision-form .en-form-footer {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 12px;
	padding: 0;
	border: 0;
}

@media (max-width: 640px) {
	.en-reply-approval-table .en-reply-action-column {
		width: 290px;
		min-width: 290px;
	}

	.en-reply-decision-form textarea.en-long-textarea {
		min-height: 180px !important;
	}
}

@media (max-width: 1050px) {
	.en-proceedings-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.en-proceedings-decision-grid {
		grid-template-columns: 1fr;
	}

	.en-proceedings-decision-card > div:first-of-type {
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.en-proceedings-detail-header,
	.en-proceedings-document-action,
	.en-proceedings-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.en-proceedings-facts {
		grid-template-columns: 1fr;
	}

	.en-proceedings-chain {
		grid-column: auto;
	}

	.en-proceedings-readonly {
		align-items: flex-start;
		flex-direction: column;
	}
}
/* Shared visual signature history panels */
.en-signature-history {
	margin-block: 1rem;
	padding: clamp(18px, 2.2vw, 26px);
}
.en-signature-history > h2 {
	margin: 0 0 18px;
	line-height: 1.3;
}
.en-signature-history > p {
	margin: 0.35rem 0 0.8rem;
}
.en-signature-event-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 14px;
}
.en-signature-event {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	min-width: 0;
	padding: 16px;
	border: 1px solid #e5e0d2;
	border-radius: 10px;
	background: #fffefa;
}
.en-signature-event img {
	display: block;
	width: min(168px, 34%);
	min-width: 110px;
	height: 78px;
	object-fit: contain;
	object-position: center;
	flex: 0 0 auto;
	border: 0;
	background: transparent;
}
.en-signature-event div {
	display: grid;
	gap: 5px;
	min-width: 0;
	line-height: 1.45;
	color: #26322e;
	font-size: 0.88rem;
}
.en-signature-event span,
.en-signature-event em {
	overflow-wrap: anywhere;
	color: #68736d;
	font-size: 0.78rem;
	font-style: normal;
}
.en-signature-event em {
	color: #7b5120;
	font-weight: 700;
}
.en-current-signature img {
	width: min(360px, 100%);
	height: 90px;
	object-fit: contain;
	background: transparent;
	border: 0;
	padding: 0;
}
.en-user-form .en-current-photo.en-current-signature {
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
}
.en-user-form .en-current-photo.en-current-signature img {
	width: min(360px, 100%);
	height: 90px;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
}
@media (max-width: 600px) {
	.en-signature-history {
		padding: 16px;
	}
	.en-signature-event {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		padding: 14px;
	}
	.en-signature-event img {
		width: min(100%, 220px);
		max-width: 220px;
	}
}

/* Commissioner Question Details and embedded signature history */
.en-commissioner-question-details {
	padding: clamp(16px, 2.4vw, 28px);
	border-color: #d9d4c5;
	background: #fffefa;
}
.en-commissioner-question-details > h3 {
	margin: 0 0 18px !important;
	color: #17483b;
	text-align: left !important;
}
.en-commissioner-question-details > .en-common-datatable-wrapper {
	margin: 0;
	overflow-x: auto;
}
.en-commissioner-question-details .en-approval-details-table th,
.en-commissioner-question-details .en-approval-details-table td {
	padding: 14px 16px;
}
@media (max-width: 640px) {
	.en-commissioner-question-details {
		padding: 14px;
	}
	.en-commissioner-question-details .en-approval-details-table th,
	.en-commissioner-question-details .en-approval-details-table td {
		padding: 11px 10px;
	}
}
.en-lob-table thead th {
	text-align: center !important;
	vertical-align: middle !important;
}
.en-lob-table tbody tr:nth-child(odd) > td {
	background-color: #D8E6DB !important;
	border-bottom: 1px solid #c8d5cb;
}
.en-lob-table tbody tr:nth-child(even) > td {
	background-color: #F7E6C9 !important;
	border-bottom: 1px solid #e7d7bc;
}
.en-lob-table tbody tr:hover > td {
	background-color: inherit !important;
}

/* Shared spacing and controls for the project UI. */
.en-form-actions,
.en-ma-form-actions,
.en-ma-question-actions,
.en-question-actions,
.en-ma-action-group,
.en-attachment-actions,
.en-lob-version-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.en-lob-version-actions { margin-top: 18px; }
.en-inline-form {
	display: inline-flex;
	align-items: center;
	margin: 0 8px 8px 0;
}
.en-action-btn + .en-action-btn,
.en-action-btn + .en-inline-form,
.en-inline-form + .en-action-btn,
.en-inline-form + .en-inline-form { margin-left: 8px; }
.en-ma-action-group form,
.en-ma-action-form,
.en-attachment-actions form {
	display: inline-flex;
	align-items: center;
	margin: 0;
}
.dt-container .dt-layout-row { align-items: center; gap: 12px; }
.dt-container .dt-length label,
.dt-container .dt-search label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}
.dt-container .dt-length select,
.dt-container .dt-search input { margin: 0; }
@media (max-width: 600px) {
	.en-form-actions,
	.en-ma-form-actions,
	.en-ma-question-actions,
	.en-question-actions,
	.en-ma-action-group,
	.en-attachment-actions,
	.en-lob-version-actions { align-items: stretch; }
	.en-lob-version-actions > .en-action-btn,
	.en-lob-version-actions > .en-inline-form,
	.en-lob-version-actions > .en-inline-form .en-action-btn { max-width: 100%; }
}

/* Department Memorandum entry layout. */
#department-memorandum-form .en-form-grid {
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	gap: 20px 24px;
	margin-top: 20px;
}
#department-memorandum-form .en-form-group-wide {
	grid-column: 1 / -1;
	width: 100%;
    max-width: 100%;
}
#department-memorandum-form #memo-title,
#department-memorandum-form #memo-reference {
	box-sizing: border-box;
	height: 92px;
	min-height: 92px;
	font-size: 14px;
	line-height: 1.5;
}
#department-memorandum-form #memo-details {
	box-sizing: border-box;
	min-height: 280px;
	font-size: 14px;
	line-height: 1.6;
}
#department-memorandum-form .en-form-footer .en-btn {
	flex: 0 0 auto;
}
@media (max-width: 700px) {
	#department-memorandum-form .en-form-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	#department-memorandum-form .en-form-group-wide {
		grid-column: auto;
	}
}

/* Searchable multi-select for Committee Meeting Councillor assignments. */
#committee-form-panel.en-councillor-picker-open {
	position: relative;
	z-index: 30;
	overflow: visible;
}
#committee-form-panel .en-role-master-fields > .en-form-group-wide {
	grid-column: 1 / -1;
}
#committee-form-panel .en-committee-councillor-select {
	width: 100%;
}
.en-councillor-picker[hidden] {
	display: none !important;
}
.en-councillor-picker__control {
	position: relative;
	display: grid;
	width: 100%;
	gap: 9px;
}
.en-councillor-picker__chips {
	display: flex;
	min-height: 58px;
	max-height: 142px;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	gap: 7px;
	overflow-y: auto;
	padding: 10px 12px;
	border: 1px solid #cbd8ce;
	border-radius: 9px;
	background: #fffefa;
}
.en-councillor-picker__placeholder {
	color: #6d786f;
	font-size: 14px;
}
.en-councillor-picker__chip {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	gap: 7px;
	padding: 5px 7px 5px 10px;
	border: 1px solid #c4d7c8;
	border-radius: 999px;
	background: #edf4ed;
	color: #244b39;
	font-size: 13px;
	line-height: 1.3;
}
.en-councillor-picker__chip > span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.en-councillor-picker__remove {
	display: inline-flex;
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #355949;
	font: 700 18px/1 Arial, sans-serif;
	cursor: pointer;
}
.en-councillor-picker__remove:hover,
.en-councillor-picker__remove:focus-visible {
	background: #dce9de;
	color: #183f2d;
}
.en-councillor-picker__toggle {
	display: flex;
	width: 100%;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 13px;
	border: 1px solid #b8c9bd;
	border-radius: 8px;
	background: #f6f7f0;
	color: #294638;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}
.en-councillor-picker__toggle:hover,
.en-councillor-picker__toggle[aria-expanded="true"] {
	border-color: #527c64;
	background: #edf3eb;
}
.en-councillor-picker__chevron {
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	transform: rotate(45deg) translateY(-2px);
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}
.en-councillor-picker__toggle[aria-expanded="true"] .en-councillor-picker__chevron {
	transform: rotate(225deg) translate(-2px, -1px);
}
.en-councillor-picker__dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	z-index: 40;
	padding: 12px;
	border: 1px solid #cbd8ce;
	border-radius: 10px;
	background: #fffefa;
	box-shadow: 0 16px 34px rgba(25, 47, 35, 0.2);
}
.en-councillor-picker__dropdown[hidden] {
	display: none !important;
}
.en-councillor-picker__search {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0 0 9px;
	padding: 10px 12px;
	border: 1px solid #cbd8ce;
	border-radius: 7px;
	background: #fff;
	color: #263b35;
	font: inherit;
}
.en-councillor-picker__search:focus {
	border-color: #527c64;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(39, 107, 76, 0.14);
}
.en-councillor-picker__tools {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 0 1px 9px;
}
.en-councillor-picker__action {
	padding: 5px 2px;
	border: 0;
	background: transparent;
	color: #285943;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.en-councillor-picker__action:hover {
	color: #163b2a;
}
.en-councillor-picker__options {
	max-height: 230px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-top: 1px solid #e4e9e1;
}
.en-councillor-picker__option {
	display: flex;
	width: 100%;
	min-height: 44px;
	align-items: center;
	gap: 11px;
	padding: 9px 8px;
	border: 0;
	border-bottom: 1px solid #edf0ea;
	background: #fffefa;
	color: #303c35;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.en-councillor-picker__option[hidden] {
	display: none !important;
}
.en-councillor-picker__option:hover,
.en-councillor-picker__option:focus-visible {
	background: #f3f6ef;
	outline: 0;
}
.en-councillor-picker__option[aria-selected="true"] {
	background: #eaf2e8;
	color: #214b36;
}
.en-councillor-picker__check {
	display: inline-flex;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	align-items: center;
	justify-content: center;
	border: 1px solid #aebeb1;
	border-radius: 4px;
	background: #fff;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.en-councillor-picker__option[aria-selected="true"] .en-councillor-picker__check {
	border-color: #285943;
	background: #285943;
}
.en-councillor-picker__option[aria-selected="true"] .en-councillor-picker__check::after {
	content: "✓";
}
.en-councillor-picker__empty {
	margin: 0;
	padding: 14px 8px;
	color: #68756b;
	font-size: 13px;
}
#committee-form-panel .en-councillor-picker__help {
	margin-top: 7px;
	color: #647368;
	font-size: 12px;
	line-height: 1.5;
}
@media (max-width: 700px) {
	.en-councillor-picker__dropdown {
		padding: 10px;
	}
	.en-councillor-picker__options {
		max-height: min(42vh, 230px);
	}
}

/* Approval question lists keep every metadata column readable and scroll as a unit. */
.en-authority-questions-table,
.dt-container table.en-authority-questions-table {
	width: 100% !important;
	min-width: 1800px !important;
	table-layout: fixed !important;
}
.en-authority-questions-table th,
.en-authority-questions-table td {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	vertical-align: middle;
}
.en-authority-questions-table th:nth-child(1),
.en-authority-questions-table td:nth-child(1) { width: 28% !important; }
.en-authority-questions-table th:nth-child(2),
.en-authority-questions-table td:nth-child(2) { width: 12% !important; }
.en-authority-questions-table th:nth-child(3),
.en-authority-questions-table td:nth-child(3) { width: 10% !important; }
.en-authority-questions-table th:nth-child(4),
.en-authority-questions-table td:nth-child(4) { width: 12% !important; }
.en-authority-questions-table th:nth-child(5),
.en-authority-questions-table td:nth-child(5) { width: 10% !important; }
.en-authority-questions-table th:nth-child(6),
.en-authority-questions-table td:nth-child(6) { width: 12% !important; }
.en-authority-questions-table th:nth-child(7),
.en-authority-questions-table td:nth-child(7) { width: 11% !important; }
.en-authority-questions-table th:nth-child(8),
.en-authority-questions-table td:nth-child(8) { width: 8% !important; }
.en-authority-questions-table th:nth-child(9),
.en-authority-questions-table td:nth-child(9) { width: 7% !important; }
.en-authority-questions-table td:nth-child(8),
.en-authority-questions-table td:nth-child(9) { text-align: center; }
.en-authority-questions-table td:nth-child(8) a,
.en-authority-questions-table td:nth-child(9) a { white-space: nowrap; }

/* DataTables keep natural text wrapping; wide tables scroll inside their own wrapper. */
.en-common-datatable-wrapper {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.table-responsive,
.en-table-wrap {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.en-common-datatable thead th,
.dt-container table.dataTable thead th,
.dt-container table.dataTable thead td {
	white-space: normal;
	word-break: normal;
}
.en-common-datatable tbody td,
.dt-container table.en-common-datatable tbody td {
	word-break: normal;
	overflow-wrap: break-word;
}
.en-content-sized-table {
	box-sizing: border-box;
	table-layout: fixed;
}
.en-content-sized-table th,
.en-content-sized-table td {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-councillor-question-meeting-table,
.dt-container table.en-councillor-question-meeting-table {
	width: 100% !important;
	min-width: 1708px !important;
	table-layout: fixed !important;
}
.en-councillor-question-meeting-table thead th,
.en-councillor-question-meeting-table tbody td {
	box-sizing: border-box;
	padding: 10px 11px;
	line-height: 1.5;
	vertical-align: top;
}
.en-councillor-question-meeting-table tbody td:nth-child(2),
.en-councillor-question-meeting-table tbody td:nth-child(3),
.en-councillor-question-meeting-table tbody td:nth-child(4) {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-councillor-question-meeting-table tbody td:nth-child(2) > p,
.en-councillor-question-meeting-table tbody td:nth-child(2) > div {
	margin-top: 0;
}
.en-councillor-question-meeting-table tbody td:nth-child(2) > :last-child {
	margin-bottom: 0;
}
.en-councillor-question-meeting-table tbody td:nth-child(7) .en-question-status {
	max-width: 100%;
	white-space: normal;
	line-height: 1.4;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-councillor-question-meeting-table tbody td:nth-child(8) {
	white-space: nowrap;
}
.en-councillor-question-meeting-table tbody td:nth-child(1),
.en-councillor-question-meeting-table tbody td:nth-child(5),
.en-councillor-question-meeting-table tbody td:nth-child(6) {
	text-align: center;
}

/* Admin Published LOB table: keep the Remarks field wide inside the scrollable table. */
.en-admin-published-lob-table,
.dt-container table.en-admin-published-lob-table {
	width: 100% !important;
	min-width: 1720px !important;
	table-layout: fixed !important;
}
.en-admin-published-lob-table th,
.en-admin-published-lob-table td {
	box-sizing: border-box;
	vertical-align: top !important;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-admin-published-lob-table th:nth-child(1),
.en-admin-published-lob-table td:nth-child(1) { width: 12%; }
.en-admin-published-lob-table th:nth-child(2),
.en-admin-published-lob-table td:nth-child(2) { width: 13%; }
.en-admin-published-lob-table th:nth-child(3),
.en-admin-published-lob-table td:nth-child(3) { width: 9%; }
.en-admin-published-lob-table th:nth-child(4),
.en-admin-published-lob-table td:nth-child(4) { width: 18%; }
.en-admin-published-lob-table th:nth-child(5),
.en-admin-published-lob-table td:nth-child(5) { width: 11%; }
.en-admin-published-lob-table th:nth-child(6),
.en-admin-published-lob-table td:nth-child(6) { width: 20%; }
.en-admin-published-lob-table th:nth-child(7),
.en-admin-published-lob-table td:nth-child(7) { width: 17%; }
.en-admin-published-lob-table td:nth-child(7) .en-attachment-actions,
.en-admin-published-lob-table td:nth-child(7) .en-attachment-actions form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	width: 100%;
	min-width: 0;
	gap: 9px;
}
.en-admin-published-lob-table td:nth-child(7) textarea.en-long-textarea {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 68px;
	box-sizing: border-box;
	writing-mode: horizontal-tb;
	white-space: pre-wrap;
	word-break: normal;
	overflow-wrap: break-word;
}
.en-admin-published-lob-table td:nth-child(7) .en-action-btn {
	justify-self: start;
	max-width: 100%;
}

/* Compact, consistent spacing for the signature update form. */
.en-change-signature.en-account-form {
	width: min(100%, 760px);
	padding: 18px 22px;
}

.en-change-signature.en-account-form > p {
	margin: 0 0 12px !important;
	padding: 0 !important;
}

.en-change-signature.en-account-form .en-my-signature-form {
	gap: 11px;
}

.en-change-signature.en-account-form .en-form-group {
	margin: 0 !important;
}

.en-change-signature.en-account-form .en-form-group label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-bottom: 6px !important;
}

.en-change-signature.en-account-form .en-account-form-actions {
	margin-top: 0;
}

.en-change-signature-preview {
	min-height: 0;
	margin: 0 0 12px;
}

.en-signature-status-missing {
	color: #b42332;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.en-signature-error {
	margin: 0 0 12px;
	padding: 9px 12px;
	border: 1px solid #f0c6cb;
	border-radius: 5px;
	background: #fff1f2;
	color: #b42332;
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.en-change-signature.en-account-form {
		padding: 16px;
	}
}


/* Shared allocation for tables with long descriptions across every dashboard. */
.en-long-content-table,
.dt-container table.en-long-content-table {
    width: 100% !important;
    table-layout: fixed !important;
}
.en-long-content-table th,
.en-long-content-table td,
.dt-container table.en-long-content-table th,
.dt-container table.en-long-content-table td {
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    vertical-align: top;
}
.en-long-content-table .en-long-content-column,
.dt-container table.en-long-content-table .en-long-content-column {
    text-align: left;
}
.en-long-content-table .en-compact-column,
.dt-container table.en-long-content-table .en-compact-column {
    white-space: normal;
}
.en-long-content-table .en-long-content-column p,
.en-long-content-table .en-long-content-column div,
.dt-container table.en-long-content-table .en-long-content-column p,
.dt-container table.en-long-content-table .en-long-content-column div {
    max-width: 100%;
}
/* Resolution list: keep the title and metadata distinct while reserving the
   largest share for the full rich-text resolution. The wrapper scrolls. */
.en-resolution-meeting-table,
.dt-container table.en-resolution-meeting-table {
    width: 100% !important;
    min-width: 1600px !important;
    table-layout: fixed !important;
}
.en-resolution-meeting-table th:nth-child(1),
.en-resolution-meeting-table td:nth-child(1) { width: 4% !important; }
.en-resolution-meeting-table th:nth-child(2),
.en-resolution-meeting-table td:nth-child(2) { width: 15% !important; }
.en-resolution-meeting-table th:nth-child(3),
.en-resolution-meeting-table td:nth-child(3) { width: 38% !important; }
.en-resolution-meeting-table th:nth-child(4),
.en-resolution-meeting-table td:nth-child(4) { width: 10% !important; }
.en-resolution-meeting-table th:nth-child(5),
.en-resolution-meeting-table td:nth-child(5) { width: 13% !important; }
.en-resolution-meeting-table th:nth-child(6),
.en-resolution-meeting-table td:nth-child(6) { width: 11% !important; }
.en-resolution-meeting-table th:nth-child(7),
.en-resolution-meeting-table td:nth-child(7) { width: 9% !important; }
.en-resolution-meeting-table th,
.en-resolution-meeting-table td,
.dt-container table.en-resolution-meeting-table th,
.dt-container table.en-resolution-meeting-table td {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.en-resolution-meeting-table td:nth-child(3) {
	text-align: left;
}
.en-resolution-meeting-table td:nth-child(5) .en-question-status,
.en-resolution-meeting-table td:nth-child(7) .en-question-status {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.35;
    text-align: center;
}
.en-resolution-meeting-table td:nth-child(7) .en-question-actions {
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
    gap: 6px;
}
.en-resolution-meeting-table td:nth-child(7) .en-question-actions > *,
.en-resolution-meeting-table td:nth-child(7) .en-question-actions .en-action-btn {
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
}
.en-resolution-meeting-table td:nth-child(7) .en-question-actions .en-action-btn span {
    overflow-wrap: anywhere;
}

/* Table contents must wrap inside their own cells instead of painting over
   the next column. This also applies to common DataTables on every role page. */
.en-common-datatable tbody td .en-question-status,
.dt-container table.en-common-datatable tbody td .en-question-status {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}
.en-common-datatable tbody td .en-question-actions,
.dt-container table.en-common-datatable tbody td .en-question-actions {
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
}
.en-common-datatable tbody td .en-question-actions > *,
.dt-container table.en-common-datatable tbody td .en-question-actions > * {
    min-width: 0;
    max-width: 100%;
}

.en-form-grid .en-form-group.en-form-wide {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

.en-form-grid .en-form-group.en-form-wide textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Keep the proceedings card above the shared card rules in the cascade. */
.en-councillor-body:not(.en-department-body) .en-ma-proceedings-page {
	width: min(100%, 1060px);
	margin: 0 auto 28px;
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid #d9d8cc;
	border-top: 3px solid var(--en-portal-gold, #b18a4a);
	border-radius: 10px;
	background: var(--en-portal-paper, #fffefa);
	box-shadow: 0 5px 18px rgba(37, 54, 45, 0.06);
}

/* Compact Meeting Assistant memorandum views; scoped to these two pages. */
.en-ma-memorandum-details-page > .en-common-datatable-card,
.en-ma-memorandum-list-page > section > .en-common-datatable-card { margin-top: 12px; }
.en-ma-memorandum-details-page .en-page-heading,
.en-ma-memorandum-list-page .en-page-heading { margin-bottom: 14px; }
.en-ma-memorandum-details-page .en-page-heading h1,
.en-ma-memorandum-list-page .en-page-heading h1 { font-size: clamp(23px, 2vw, 29px); }
.en-ma-memorandum-details-page .en-common-datatable-card,
.en-ma-memorandum-list-page .en-common-datatable-card { padding: 16px 18px; }
.en-ma-memorandum-details-page .en-common-datatable-card > h2,
.en-ma-memorandum-list-page .en-common-datatable-card > h2 { margin: 0 0 12px; }
.en-ma-memorandum-details-page .en-ma-proceedings-details { gap: 8px 14px; margin: 10px 0; }
.en-ma-memorandum-details-page .en-ma-proceedings-fact { padding: 9px 11px; }
.en-ma-memorandum-details-page .en-ma-proceedings-saved-text { margin: 12px 0; padding: 12px 14px; }
.en-ma-memorandum-details-page .en-question-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:16px; }
.en-ma-memorandum-details-page .en-question-actions .en-action-btn { min-height:40px; padding:9px 15px; }
.en-ma-memorandum-details-page .en-ma-proceedings-status-line { margin:0 0 8px; }
.en-ma-memorandum-details-page .en-ma-compact-status { padding:4px 9px; font-size:12px; line-height:1.25; }
.en-ma-approval-summary-wrapper { margin:0 0 10px; border:1px solid #e5dfcf; border-radius:8px; }
.en-ma-memorandum-details-page .en-ma-approval-summary { min-width:680px; }
.en-ma-memorandum-details-page .en-ma-approval-summary th { width:17%; white-space:normal; color:#344039; background:#f5f2e8; }
.en-ma-memorandum-details-page .en-ma-approval-summary td { overflow-wrap:anywhere; }
.en-ma-memorandum-details-page .en-common-datatable-card + .en-common-datatable-card { margin-top:12px; }
.en-ma-memorandum-list-page .en-ma-memorandum-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:0 0 16px; padding:14px 16px; border:1px solid #e5dfcf; border-radius:10px; background:#fbfaf6; }
.en-ma-memorandum-list-page .en-ma-memorandum-filters label { display:flex; flex:1 1 220px; flex-direction:column; gap:5px; color:#344039; font-weight:600; }
.en-ma-memorandum-list-page .en-ma-memorandum-filters select { width:100%; min-height:40px; padding:8px 10px; border:1px solid #c9c1ae; border-radius:7px; background:#fff; color:#252b28; }
.en-ma-memorandum-list-page .en-ma-compact-status { padding:4px 8px; font-size:12px; white-space:nowrap; }
.en-ma-memorandum-list-page .dt-container table.en-ma-approved-memorandums-table { width:100% !important; min-width:1200px; table-layout:fixed !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(1) { width:11% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(2) { width:12% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(3) { width:11% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(4) { width:33% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(5) { width:8% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(6) { width:7% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(7) { width:10% !important; }
.en-ma-approved-memorandums-table > colgroup > col:nth-child(8) { width:8% !important; }
@media(max-width:700px) {
  .en-ma-memorandum-details-page .en-common-datatable-card,
  .en-ma-memorandum-list-page .en-common-datatable-card { padding:13px 12px; }
  .en-ma-memorandum-details-page .en-question-actions { gap:9px; }
  .en-ma-memorandum-details-page .en-ma-approval-summary { min-width:620px; }
}
@media (max-width: 850px) {
	.en-councillor-body:not(.en-department-body) .en-ma-proceedings-page { padding: 24px; }
}
@media (max-width: 560px) {
	.en-councillor-body:not(.en-department-body) .en-ma-proceedings-page { padding: 19px 16px; }
}

/* Committee Agenda: meeting-scoped memorandum cards and filter layout. */
.en-committee-agenda-filters {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px 18px;
    padding: clamp(18px, 2.4vw, 26px);
    border-color: #d9d5c8;
    background: #fffefa;
}
.en-committee-agenda-filters .en-form-group { min-width: 0; }
.en-committee-agenda-filter-actions { display: flex; align-items: end; gap: 10px; }
.en-committee-agenda-list { display: grid; gap: 18px; margin: 26px 0; }
.en-committee-agenda-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.en-committee-agenda-list-heading h2 { margin: 0; color: #17483b; }
.en-committee-agenda-list-heading > span { color: #68736d; font-size: .92rem; }
.en-committee-agenda-card {
    min-width: 0;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid #d9d5c8;
    border-left: 4px solid #17483b;
    border-radius: 12px;
    background: #fffefa;
    box-shadow: 0 5px 18px rgba(35, 45, 39, .06);
}
.en-committee-agenda-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.en-committee-agenda-card-heading > div { min-width: 0; }
.en-committee-agenda-eyebrow { display: block; margin-bottom: 7px; color: #80672f; font-size: .88rem; font-weight: 700; }
.en-committee-agenda-card-heading h3 { margin: 0; color: #26322e; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.4; overflow-wrap: anywhere; }
.en-committee-agenda-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px 18px; margin-top: 20px; }
.en-committee-agenda-meta > span { display: grid; gap: 4px; min-width: 0; color: #526159; overflow-wrap: anywhere; }
.en-committee-agenda-meta strong { color: #26322e; font-size: .8rem; text-transform: uppercase; letter-spacing: .035em; }
.en-committee-agenda-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8e3d7; }
.en-committee-agenda-workflow-status, .en-committee-agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.en-committee-agenda-status { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.en-committee-agenda-status-approved, .en-committee-agenda-status-added { color: #17483b; border-color: #bfd6c8; background: #edf5ee; }
.en-committee-agenda-status-pending { color: #76551d; border-color: #e2d2a8; background: #fbf5e5; }
.en-committee-agenda-proceedings { margin-top: 16px; padding: 14px 16px; border: 1px solid #e5e0d2; border-radius: 8px; background: #f8f7f1; }
.en-committee-agenda-proceedings summary { color: #17483b; cursor: pointer; font-weight: 700; }
.en-committee-agenda-proceedings > div { margin-top: 12px; color: #414c46; line-height: 1.7; overflow-wrap: anywhere; }
.en-committee-agenda-empty { padding: 22px; color: #68736d; text-align: center; }
@media (max-width: 680px) {
    .en-committee-agenda-card-footer { align-items: flex-start; flex-direction: column; }
    .en-committee-agenda-card-heading { flex-direction: column; gap: 10px; }
    .en-committee-agenda-filter-actions { align-items: stretch; flex-direction: column; }
}

/* Compact memorandum proceedings details summary; workflow and text remain unchanged. */
.en-ma-memo-proceedings-detail-page > .en-common-datatable-card {
    margin-top: 12px;
    padding: 17px 19px;
}
.en-ma-memo-proceedings-detail-page > .en-common-datatable-card > h2 {
    margin: 0 0 10px;
}
.en-ma-memo-proceedings-detail-page .en-ma-memo-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.en-ma-memo-proceedings-detail-page .en-ma-memo-facts .en-ma-proceedings-fact {
    padding: 8px 11px;
    border: 1px solid #e4e2d7;
    border-radius: 7px;
    background: #f8f7f1;
}
.en-ma-memo-proceedings-detail-page .en-ma-memo-facts .en-ma-proceedings-fact-wide {
    grid-column: 1 / -1;
}
.en-ma-memo-proceedings-detail-page .en-ma-memo-facts .en-ma-proceedings-fact-wide strong {
    font-size: 16px;
    line-height: 1.4;
}
.en-ma-approval-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}
.en-ma-approval-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 8px 11px;
    border: 1px solid #e4e2d7;
    border-radius: 7px;
    background: #f8f7f1;
}
.en-ma-approval-summary-item > span {
    color: #70776e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.en-ma-approval-summary-item > strong {
    min-width: 0;
    color: #303a35;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
    overflow-wrap: anywhere;
}
.en-ma-approval-summary-status {
    grid-column: 1 / -1;
}
.en-ma-approval-summary-status > strong { margin-left: auto; }
@media (max-width: 600px) {
    .en-ma-memo-proceedings-detail-page > .en-common-datatable-card { padding: 15px; }
    .en-ma-memo-proceedings-detail-page .en-ma-memo-facts,
    .en-ma-approval-summary { grid-template-columns: minmax(0, 1fr); }
    .en-ma-memo-proceedings-detail-page .en-ma-memo-facts .en-ma-proceedings-fact-wide,
    .en-ma-approval-summary-status { grid-column: auto; }
    .en-ma-approval-summary-item { align-items: flex-start; flex-direction: column; gap: 4px; }
    .en-ma-approval-summary-item > strong { text-align: left; }
    .en-ma-approval-summary-status > strong { margin-left: 0; }
}

/* Committee Agenda builder field feedback. */
.en-agenda-optional { color: #c62828; }
.en-agenda-paper-filename { display: block; margin-top: 4px; font-size: 12px; overflow-wrap: anywhere; }
