/* Central de Downloads — front */

.cdm-wrap {
	--cdm-ink: #0b1220;
	--cdm-text: #374151;
	--cdm-muted: #6b7280;
	--cdm-line: #e5e7eb;
	--cdm-soft-line: #eef0f4;
	--cdm-surface: #ffffff;
	--cdm-radius: 16px;
	--cdm-blue: #2563eb;
	--cdm-blue-dark: #1d4ed8;

	position: relative;
	width: 100%;
	max-width: 1270px;
	margin-inline: auto;
	color: var(--cdm-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.cdm-wrap *,
.cdm-wrap *::before,
.cdm-wrap *::after {
	box-sizing: border-box;
}

.cdm-wrap .cdm-svg {
	width: 1em;
	height: 1em;
	display: block;
	flex: none;
	overflow: visible;
}

.cdm-wrap [hidden] {
	display: none !important;
}

.cdm-wrap a:focus-visible,
.cdm-wrap button:focus-visible,
.cdm-wrap select:focus-visible {
	outline: 2px solid var(--cdm-blue);
	outline-offset: 2px;
}

/* ------------------------------------------------------------ Cabeçalho */

.cdm-wrap .cdm-title {
line-height: 32px;
  text-transform: initial !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  color: #000000 !important;
  font-style: normal;
  letter-spacing: -0.7px !important;
}

.cdm-wrap .cdm-subtitle {
	margin: 0 0 clamp(26px, 3.4vw, 22px);
	font-size: clamp(15px, 1.3vw, 17px);
	color: var(--cdm-muted);
	max-width: 62ch;
}

.cdm-wrap .cdm-section-title {
	margin: 0 0 22px;
	font-size: clamp(18px, 1.6vw, 20px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--cdm-ink);
}

/* ---------------------------------------------------- Grade categorias */

.cdm-wrap .cdm-grid {
	display: grid;
	grid-template-columns: repeat(var(--cdm-columns, 3), minmax(0, 1fr));
	gap: clamp(16px, 2vw, 26px);
	align-items: stretch;
}

.cdm-wrap .cdm-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	padding: clamp(26px, 2.6vw, 36px) clamp(20px, 2vw, 28px) clamp(22px, 2vw, 28px);
	background: var(--cdm-surface);
	border: 1px solid var(--cdm-line);
	border-radius: var(--cdm-radius);
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.cdm-wrap .cdm-card:hover,
.cdm-wrap .cdm-card:focus-visible {
	transform: translateY(-2px);
	border-color: var(--cdm-color, var(--cdm-blue));
	text-decoration: none;
	color: inherit;
}

.cdm-wrap .cdm-card:active {
	transform: translateY(0);
}

.cdm-wrap .cdm-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: clamp(74px, 7vw, 92px);
	height: clamp(74px, 7vw, 92px);
	margin-bottom: clamp(18px, 2vw, 26px);
	border-radius: 50%;
	background: var(--cdm-color-soft, rgba(37, 99, 235, 0.1));
	color: var(--cdm-color, var(--cdm-blue));
	font-size: clamp(34px, 3.3vw, 42px);
	transition: transform 0.16s ease;
}

.cdm-wrap .cdm-card:hover .cdm-card-icon {
	transform: scale(1.05);
}

.cdm-wrap .cdm-card-icon .cdm-icon-img {
	width: 52%;
	height: 52%;
	object-fit: contain;
}

.cdm-wrap .cdm-card-title {
	margin: 0 0 12px;
	font-size: clamp(18px, 1.7vw, 21px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--cdm-ink);
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.cdm-wrap .cdm-card-desc {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--cdm-muted);
	max-width: 32ch;
	overflow-wrap: break-word;
}

.cdm-wrap .cdm-card-divider {
	display: block;
	width: 78%;
	height: 1px;
	margin: clamp(18px, 2vw, 24px) 0 clamp(16px, 1.6vw, 20px);
	background: var(--cdm-line);
	margin-top: auto;
}

.cdm-wrap .cdm-card-count {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 500;
	color: var(--cdm-color, var(--cdm-blue));
}

.cdm-wrap .cdm-card-count .cdm-svg {
	font-size: 19px;
}

/* ------------------------------------------------------------- Painel */

.cdm-wrap .cdm-panel {
	padding: clamp(20px, 2.2vw, 30px);
	background: var(--cdm-surface);
	border: 1px solid var(--cdm-line);
	border-radius: var(--cdm-radius);
}

.cdm-wrap .cdm-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: clamp(16px, 2vw, 22px);
	font-size: 15px;
	font-weight: 600;
	color: var(--cdm-blue);
	text-decoration: none;
	transition: color 0.16s ease;
}

.cdm-wrap .cdm-back:hover {
	color: var(--cdm-blue-dark);
	text-decoration: none;
}

.cdm-wrap .cdm-back .cdm-svg {
	font-size: 17px;
	transition: transform 0.16s ease;
}

.cdm-wrap .cdm-back:hover .cdm-svg {
	transform: translateX(-3px);
}

.cdm-wrap .cdm-panel-head {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 22px);
	margin-bottom: clamp(20px, 2.2vw, 26px);
}

.cdm-wrap .cdm-panel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: clamp(58px, 5.6vw, 76px);
	height: clamp(58px, 5.6vw, 76px);
	border-radius: 50%;
	background: var(--cdm-color-soft, rgba(37, 99, 235, 0.1));
	color: var(--cdm-color, var(--cdm-blue));
	font-size: clamp(28px, 2.7vw, 36px);
}

.cdm-wrap .cdm-panel-icon .cdm-icon-img {
	width: 52%;
	height: 52%;
	object-fit: contain;
}

.cdm-wrap .cdm-panel-title {
	flex: 1 1 auto;
	min-width: 0;
}

.cdm-wrap .cdm-panel-title h2 {
	margin: 0 0 6px;
	font-size: clamp(21px, 2.3vw, 29px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.22;
	color: var(--cdm-ink);
	overflow-wrap: break-word;
}

.cdm-wrap .cdm-panel-title p {
	margin: 0;
	font-size: 15px;
	color: var(--cdm-muted);
	overflow-wrap: break-word;
}

.cdm-wrap .cdm-panel-count {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
}

.cdm-wrap .cdm-panel-count-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: var(--cdm-color-soft, rgba(37, 99, 235, 0.1));
	color: var(--cdm-color, var(--cdm-blue));
	font-size: 26px;
}

.cdm-wrap .cdm-panel-count-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.cdm-wrap .cdm-panel-count-text strong {
	font-size: 26px;
	font-weight: 700;
	color: var(--cdm-ink);
}

.cdm-wrap .cdm-panel-count-text small {
	font-size: 13.5px;
	color: var(--cdm-muted);
}

/* -------------------------------------------------------------- Busca */

.cdm-wrap .cdm-search {
	margin-bottom: 18px;
}

.cdm-wrap .cdm-search-field {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 520px;
	background: #ffffff;
	border: 1px solid var(--cdm-line);
	border-radius: 10px;
	transition: border-color 0.14s ease, background-color 0.14s ease;
}

.cdm-wrap .cdm-search-field:focus-within {
	border-color: var(--cdm-color, var(--cdm-blue));
}

.cdm-wrap .cdm-search-icon {
	display: flex;
	flex: none;
	padding-left: 14px;
	color: #9ca3af;
	font-size: 18px;
	transition: color 0.14s ease;
}

.cdm-wrap .cdm-search-field:focus-within .cdm-search-icon {
	color: var(--cdm-color, var(--cdm-blue));
}

.cdm-wrap input.cdm-search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 10px 0 12px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cdm-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
}

.cdm-wrap input.cdm-search-input:focus {
	outline: none;
	box-shadow: none;
}

.cdm-wrap input.cdm-search-input::placeholder {
	color: #9ca3af;
}

/* Remove o "x" nativo do type=search para usar o nosso */
.cdm-wrap input.cdm-search-input::-webkit-search-cancel-button,
.cdm-wrap input.cdm-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.cdm-wrap .cdm-search-clear {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	margin-right: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 13px;
	cursor: pointer;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.cdm-wrap .cdm-search-clear:hover {
	background: #e5e7eb;
	color: var(--cdm-ink);
}

.cdm-wrap .cdm-search-status {
	margin: 0;
	min-height: 0;
	font-size: 13.5px;
	color: var(--cdm-muted);
}

.cdm-wrap .cdm-search-status:not(:empty) {
	margin-top: 10px;
}

.cdm-wrap .cdm-search-status strong {
	color: var(--cdm-ink);
	font-weight: 700;
}

.cdm-wrap button.cdm-clear-search {
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdm-blue);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.14s ease;
}

.cdm-wrap button.cdm-clear-search:hover {
	color: var(--cdm-blue-dark);
}

.cdm-wrap .cdm-mark {
	padding: 1px 2px;
	border-radius: 3px;
	background: rgba(250, 204, 21, 0.38);
	color: inherit;
	font-weight: inherit;
}

/* Tabela levemente esmaecida enquanto a nova busca carrega */
.cdm-wrap .cdm-table-wrap.is-stale {
	opacity: 0.5;
	transition: opacity 0.14s ease;
}

/* Estado vazio da busca */
.cdm-wrap .cdm-empty-search {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 44px 20px;
	text-align: center;
}

.cdm-wrap .cdm-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #9ca3af;
	font-size: 27px;
}

.cdm-wrap .cdm-empty-title {
	margin: 0 0 6px;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--cdm-ink);
	overflow-wrap: anywhere;
}

.cdm-wrap .cdm-empty-hint {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--cdm-muted);
	max-width: 46ch;
}

.cdm-wrap button.cdm-clear-search-btn {
	margin-left: 0;
	padding: 9px 18px;
	border: 1px solid var(--cdm-line);
	border-radius: 8px;
	background: #ffffff;
	color: var(--cdm-text);
	text-decoration: none;
	transition: background-color 0.14s ease, border-color 0.14s ease;
}

.cdm-wrap button.cdm-clear-search-btn:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
	color: var(--cdm-ink);
}

/* ------------------------------------------------------------- Tabela */

.cdm-wrap .cdm-table-wrap {
	border-radius: 12px;
}

.cdm-wrap table.cdm-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	font-size: 14.5px;
	background: transparent;
}

.cdm-wrap table.cdm-table thead th {
	padding: 15px 16px;
	background: #111827;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	text-align: left;
	line-height: 1.35;
	border: 0;
	vertical-align: middle;
}

.cdm-wrap table.cdm-table thead th:first-child {
	border-radius: 10px 0 0 10px;
	padding-left: 20px;
}

.cdm-wrap table.cdm-table thead th:last-child {
	border-radius: 0 10px 10px 0;
	padding-right: 20px;
	text-align: center;
}

.cdm-wrap table.cdm-table tbody td {
	padding: 15px 16px;
	border: 0;
	border-bottom: 1px solid var(--cdm-soft-line);
	vertical-align: middle;
	background: transparent;
	transition: background-color 0.14s ease;
}

.cdm-wrap table.cdm-table tbody tr:last-child td {
	border-bottom: 0;
}

.cdm-wrap table.cdm-table tbody tr:hover td {
	background: #f9fafb;
}

/* Larguras de coluna — mantêm a tabela estável e previsível ao quebrar linha */
.cdm-wrap .cdm-col-name {
	width: 29%;
	padding-left: 20px !important;
}

.cdm-wrap .cdm-col-desc {
	width: 26%;
	color: var(--cdm-muted);
	overflow-wrap: break-word;
	hyphens: auto;
}

.cdm-wrap .cdm-col-date {
	width: 12%;
	color: var(--cdm-text);
	white-space: nowrap;
}

.cdm-wrap .cdm-col-format {
	width: 9%;
}

.cdm-wrap .cdm-col-size {
	width: 9%;
	color: var(--cdm-text);
	white-space: nowrap;
}

.cdm-wrap .cdm-col-action {
	width: 15%;
	padding-right: 20px !important;
}

.cdm-wrap .cdm-doc {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.cdm-wrap .cdm-doc-icon {
	display: flex;
	flex: none;
	color: #e5484d;
	font-size: 26px;
}

.cdm-wrap .cdm-doc-name {
	min-width: 0;
	font-weight: 700;
	color: var(--cdm-ink);
	line-height: 1.35;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.cdm-wrap .cdm-format {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cdm-text);
	white-space: nowrap;
}

.cdm-wrap .cdm-format .cdm-svg {
	font-size: 19px;
	color: #9aa3af;
}

.cdm-wrap td.cdm-col-action {
	text-align: center;
}

.cdm-wrap .cdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 130px;
	max-width: 100%;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--cdm-blue);
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.14s ease, transform 0.14s ease;
}

.cdm-wrap a.cdm-btn:hover,
.cdm-wrap a.cdm-btn:focus-visible {
	background: var(--cdm-blue-dark);
	color: #ffffff;
	text-decoration: none;
}

.cdm-wrap a.cdm-btn:active {
	transform: translateY(1px);
}

.cdm-wrap .cdm-btn .cdm-svg {
	font-size: 16px;
}

.cdm-wrap .cdm-btn-off {
	background: #f4f5f7;
	border-color: var(--cdm-line);
	color: #9ca3af;
	cursor: not-allowed;
}

/* ------------------------------------------------------------- Rodapé */

.cdm-wrap .cdm-panel-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 22px;
	font-size: 14px;
	color: var(--cdm-muted);
}

.cdm-wrap .cdm-showing {
	margin: 0;
	flex: 1 1 200px;
}

.cdm-wrap .cdm-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cdm-wrap .cdm-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--cdm-line);
	border-radius: 8px;
	background: #ffffff;
	color: var(--cdm-text);
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.cdm-wrap .cdm-page-btn:hover:not(.is-disabled):not(.is-active) {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.cdm-wrap .cdm-page-btn.is-active {
	background: var(--cdm-blue);
	border-color: var(--cdm-blue);
	color: #ffffff;
	cursor: default;
}

.cdm-wrap .cdm-page-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cdm-wrap .cdm-page-btn .cdm-svg {
	font-size: 16px;
}

.cdm-wrap .cdm-page-dots {
	padding: 0 2px;
	color: #9ca3af;
}

.cdm-wrap .cdm-perpage-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex: 1 1 200px;
}

.cdm-wrap .cdm-perpage-wrap label {
	margin: 0;
	font-size: 14px;
	color: var(--cdm-muted);
	white-space: nowrap;
}

.cdm-wrap select.cdm-perpage {
	height: 40px;
	min-width: 92px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--cdm-line);
	border-radius: 8px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	-webkit-appearance: none;
	appearance: none;
	color: var(--cdm-text);
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.14s ease;
}

.cdm-wrap select.cdm-perpage:hover {
	border-color: #d1d5db;
}

.cdm-wrap .cdm-empty {
	margin: 0;
	padding: 34px 0;
	text-align: center;
	color: var(--cdm-muted);
}

/* ------------------------------------------------------------ Loading */

.cdm-wrap .cdm-loader {
	position: absolute;
	inset: 0;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding-top: 120px;
	background: rgba(255, 255, 255, 0.72);
	border-radius: var(--cdm-radius);
	z-index: 5;
}

.cdm-wrap.is-loading .cdm-loader {
	display: flex;
}

.cdm-wrap .cdm-spinner {
	width: 34px;
	height: 34px;
	border: 3px solid rgba(37, 99, 235, 0.2);
	border-top-color: var(--cdm-blue);
	border-radius: 50%;
	animation: cdm-spin 0.8s linear infinite;
}

@keyframes cdm-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Notebooks estreitos: aperta a tabela antes de trocar de layout */
@media (max-width: 1180px) {
	.cdm-wrap table.cdm-table {
		font-size: 14px;
	}

	.cdm-wrap table.cdm-table thead th,
	.cdm-wrap table.cdm-table tbody td {
		padding: 14px 12px;
	}

	.cdm-wrap table.cdm-table thead th {
		font-size: 11px;
		letter-spacing: 0.04em;
	}

	.cdm-wrap .cdm-btn {
		min-width: 118px;
		padding: 9px 12px;
	}

	.cdm-wrap .cdm-doc-icon {
		font-size: 24px;
	}

	.cdm-wrap .cdm-doc {
		gap: 10px;
	}
}

/* Tablet paisagem: 2 colunas na grade, colunas menos importantes somem */
@media (max-width: 1024px) {
	.cdm-wrap .cdm-grid {
		grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
	}

	.cdm-wrap .cdm-col-format,
	.cdm-wrap th.cdm-col-format {
		display: none;
	}

	.cdm-wrap .cdm-col-name {
		width: 36%;
	}

	.cdm-wrap .cdm-col-desc {
		width: 30%;
	}
}

/* Tablet retrato: tabela vira cards empilhados */
@media (max-width: 900px) {
	.cdm-wrap .cdm-panel-head {
		flex-wrap: wrap;
	}

	.cdm-wrap .cdm-panel-count {
		order: 3;
		width: 100%;
		padding-top: 16px;
		border-top: 1px solid var(--cdm-soft-line);
	}

	.cdm-wrap table.cdm-table thead {
		display: none;
	}

	.cdm-wrap table.cdm-table,
	.cdm-wrap table.cdm-table tbody,
	.cdm-wrap table.cdm-table tr {
		display: block;
		width: 100%;
	}

	.cdm-wrap table.cdm-table tr {
		margin-bottom: 14px;
		border: 1px solid var(--cdm-line);
		border-radius: 12px;
		overflow: hidden;
	}

	.cdm-wrap table.cdm-table tr:last-child {
		margin-bottom: 0;
	}

	.cdm-wrap table.cdm-table tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: auto !important;
		padding: 11px 16px !important;
		text-align: right;
		border-bottom: 1px solid var(--cdm-soft-line);
	}

	.cdm-wrap table.cdm-table tbody tr:hover td {
		background: transparent;
	}

	.cdm-wrap table.cdm-table tbody td::before {
		content: attr(data-label);
		flex: none;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		color: #9ca3af;
		text-align: left;
	}

	/* Cabeçalho do card: nome do documento */
	.cdm-wrap td.cdm-col-name {
		display: block;
		padding: 14px 16px !important;
		background: #f9fafb;
		text-align: left;
	}

	.cdm-wrap td.cdm-col-name::before {
		display: none;
	}

	.cdm-wrap .cdm-doc-name {
		font-size: 15px;
	}

	.cdm-wrap td.cdm-col-desc {
		display: block;
		text-align: left;
		color: var(--cdm-muted);
	}

	.cdm-wrap td.cdm-col-desc::before {
		display: block;
		margin-bottom: 4px;
	}

	.cdm-wrap .cdm-col-format,
	.cdm-wrap th.cdm-col-format {
		display: flex;
	}

	.cdm-wrap td.cdm-col-action {
		border-bottom: 0;
		padding: 12px 16px !important;
	}

	.cdm-wrap td.cdm-col-action::before {
		display: none;
	}

	.cdm-wrap .cdm-btn {
		width: 100%;
		min-width: 0;
		padding: 11px 16px;
	}

	.cdm-wrap .cdm-panel-foot {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		text-align: center;
	}

	.cdm-wrap .cdm-showing,
	.cdm-wrap .cdm-perpage-wrap {
		flex: none;
		justify-content: center;
	}

	.cdm-wrap .cdm-pagination {
		order: -1;
	}
}

/* Celular */
@media (max-width: 600px) {
	.cdm-wrap .cdm-search-field {
		max-width: none;
	}

	.cdm-wrap input.cdm-search-input {
		height: 44px;
		font-size: 16px; /* evita o zoom automático do iOS ao focar */
	}

	.cdm-wrap .cdm-empty-search {
		padding: 32px 12px;
	}

	.cdm-wrap .cdm-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.cdm-wrap .cdm-card {
		padding: 24px 18px 20px;
	}

	.cdm-wrap .cdm-card-desc {
		max-width: none;
	}

	.cdm-wrap .cdm-panel {
		padding: 18px 14px;
		border-radius: 14px;
	}

	.cdm-wrap .cdm-panel-icon {
		width: 54px;
		height: 54px;
		font-size: 26px;
	}

	.cdm-wrap .cdm-panel-count-icon {
		width: 46px;
		height: 46px;
		font-size: 22px;
	}

	.cdm-wrap .cdm-panel-count-text strong {
		font-size: 22px;
	}

	.cdm-wrap table.cdm-table tbody td {
		padding: 10px 14px !important;
		gap: 12px;
	}

	.cdm-wrap .cdm-loader {
		padding-top: 80px;
	}
}

/* Telas muito estreitas: rótulo acima do valor */
@media (max-width: 380px) {
	.cdm-wrap table.cdm-table tbody td {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cdm-wrap *,
	.cdm-wrap *::before,
	.cdm-wrap *::after {
		transition: none !important;
		animation: none !important;
	}
}
