/* =============================================================
 * v7A.9.21.393 — Topo de perfil único (UserProfile\Hero).
 * Capa lisa no azul do IBEC, foto/nome/selos centralizados,
 * "Alterar foto"/"Alterar capa" só no hover/foco, faixa compacta
 * no celular fora da aba inicial.
 * ============================================================= */
.ibec-ph {
	--ph-navy: #0B1F4D;
	--ph-card: var(--ibec-card, #fff);
	--ph-line: var(--ibec-border, #dce6f5);
	--ph-ink: var(--ibec-text, #071d49);
	--ph-muted: var(--ibec-muted, #4a5a78);
	--ph-ease: cubic-bezier(.16, 1, .3, 1);
	position: relative;
	display: block;
	/* Exceção à regra do gap: os <main> dos portais são blocos legados e cada seção
	   já traz a própria margem; virar flex+gap ali dobraria o espaço das outras. */
	margin: 0 0 18px;
	padding: 0;
	background: var(--ph-card);
	border: 1px solid var(--ph-line);
	border-radius: 18px;
	overflow: hidden;
}

.ibec-ph__cover {
	position: relative;
	height: 180px;
	background: var(--ph-navy) center / cover no-repeat;
}

/* "Alterar capa": camada que só aparece no hover/foco */
.ibec-ph__cover-edit {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 8px;
	padding: 14px;
	margin: 0;
	cursor: pointer;
	opacity: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .32), transparent 60%);
	transition: opacity .2s var(--ph-ease);
}
.ibec-ph__cover:hover .ibec-ph__cover-edit,
.ibec-ph__cover-edit:focus-within,
.ibec-ph__cover.is-busy .ibec-ph__cover-edit { opacity: 1; }
.ibec-ph__chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
.ibec-ph__chip b { font-weight: 700; }

/* "Remover" só aparece quando já existe imagem; botão dentro do label não abre o seletor. */
.ibec-ph__rm {
	border: 0;
	font: inherit;
	cursor: pointer;
}
.ibec-ph__cover-edit .ibec-ph__rm { font-size: 13px; font-weight: 700; }
.ibec-ph__cover-edit .ibec-ph__rm:hover { background: rgba(0, 0, 0, .65); }
.ibec-ph__cover:not(.has-cover) .ibec-ph__rm,
.ibec-ph__avatar:not(.has-photo) .ibec-ph__rm { display: none; }
.ibec-ph__rm:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.ibec-ph .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.ibec-ph__cover-edit:has(.ibec-ph__file:focus-visible) .ibec-ph__chip { outline: 3px solid #fff; outline-offset: 2px; }

.ibec-ph__file {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.ibec-ph__ic { width: 18px; height: 18px; flex-shrink: 0; }

.ibec-ph__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0 24px 20px;
	text-align: center;
}

/* Foto com camada "Alterar foto" */
.ibec-ph__avatar {
	position: relative;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 128px;
	height: 128px;
	margin: -64px 0 0;
	border: 5px solid var(--ph-card);
	border-radius: 50%;
	overflow: hidden;
	background: #F2B705;
	color: var(--ph-navy);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
	cursor: pointer;
}
div.ibec-ph__avatar { cursor: default; }
.ibec-ph__avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ibec-ph__initials {
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1;
}
.ibec-ph__avatar-hover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-radius: 50%;
	background: rgba(7, 29, 73, .84); /* sobre as iniciais douradas, .62 vira oliva */
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	opacity: 0;
	transition: opacity .2s var(--ph-ease);
}
.ibec-ph__avatar-hover .ibec-ph__ic { width: 26px; height: 26px; }
.ibec-ph__avatar.has-photo .ibec-ph__avatar-hover { background: rgba(7, 29, 73, .62); padding-bottom: 26px; }
.ibec-ph__rm--photo {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 8px;
	background: rgba(0, 0, 0, .3);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	opacity: 0;
	transition: opacity .2s var(--ph-ease);
}
.ibec-ph__rm--photo:hover { background: rgba(0, 0, 0, .55); }
.ibec-ph__avatar:hover .ibec-ph__rm--photo,
.ibec-ph__avatar:focus-within .ibec-ph__rm--photo { opacity: 1; }
.ibec-ph__avatar:hover .ibec-ph__avatar-hover,
.ibec-ph__avatar:focus-within .ibec-ph__avatar-hover,
.ibec-ph__avatar.is-busy .ibec-ph__avatar-hover { opacity: 1; }
.ibec-ph__initials { transition: opacity .2s var(--ph-ease); }
.ibec-ph__avatar:hover .ibec-ph__initials,
.ibec-ph__avatar:focus-within .ibec-ph__initials,
.ibec-ph__avatar.is-busy .ibec-ph__initials { opacity: 0; }
.ibec-ph__avatar:has(.ibec-ph__file:focus-visible) { outline: 3px solid #1D4ED8; outline-offset: 3px; }
.ibec-ph .is-busy { cursor: progress; }

.ibec-ph__who { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 100%; }
.ibec-ph__title {
	margin: 0;
	color: var(--ph-ink);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	text-wrap: balance;
}
.ibec-ph__lead {
	margin: 0;
	color: var(--ph-muted);
	font-size: 14.5px;
	line-height: 1.45;
	max-width: 62ch;
	text-wrap: pretty;
}
.ibec-ph__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ibec-ph__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: #EFF4FF;
	color: #1D4ED8;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

.ibec-ph__status {
	margin: 0;
	padding: 6px 12px;
	border-radius: 8px;
	background: #EFF4FF;
	color: #0B1F4D;
	font-size: 13px;
	font-weight: 600;
}
.ibec-ph__status.is-success { background: #ECFDF3; color: #067647; }
.ibec-ph__status.is-error { background: #FEF3F2; color: #B42318; }

/* Toque: sem hover. A capa mostra só o ícone num canto; a foto abre o modal (JS). */
@media (hover: none) {
	.ibec-ph__cover-edit { opacity: 1; background: none; align-items: flex-start; justify-content: flex-start; padding: 12px; }
	.ibec-ph__rm { display: none !important; }
	.ibec-ph__chip { width: 44px; height: 44px; padding: 0; justify-content: center; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .3); }
	.ibec-ph__chip b { display: none; }
}

/* v7A.9.21.403 — no Perfil (o /perfil e a moldura das telas de serviço) a faixa compacta vale
   também no computador: o mesmo topo em todas as telas, nada pula ao trocar. Fora do Perfil (portal
   com a chave desligada) segue como antes: compacto só no celular. */
@media (min-width: 783px) {
	.ibec-perfil .ibec-ph.is-compact { position: relative; border-color: transparent; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__cover { height: 76px; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__cover-edit,
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__badges,
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__avatar-hover,
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__rm,
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__file,
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__status { display: none; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__body {
		position: absolute;
		inset: 0 0 auto;
		height: 76px;
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 0 20px;
		text-align: left;
	}
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__avatar { width: 52px; height: 52px; margin: 0; border-width: 2px; box-shadow: none; pointer-events: none; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__initials { font-size: 18px; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__who { min-width: 0; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__title { margin: 0; font-size: 19px; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ibec-perfil .ibec-ph.is-compact .ibec-ph__lead { margin: 2px 0 0; font-size: 13px; color: #c7d2ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 782px) {
	.ibec-ph { border-radius: 14px; }
	.ibec-ph__cover { height: 120px; }
	.ibec-ph__body { padding: 0 16px 18px; }
	.ibec-ph__avatar { width: 104px; height: 104px; margin-top: -52px; border-width: 4px; }
	.ibec-ph__initials { font-size: 34px; }
	.ibec-ph__title { font-size: 22px; }

	/* Faixa compacta: fora da aba inicial a identidade fica, o espaço volta pro conteúdo. */
	.ibec-ph.is-compact { position: relative; border-color: transparent; }
	.ibec-ph.is-compact .ibec-ph__cover { height: 64px; }
	.ibec-ph.is-compact .ibec-ph__cover-edit,
	.ibec-ph.is-compact .ibec-ph__badges,
	.ibec-ph.is-compact .ibec-ph__avatar-hover,
	.ibec-ph.is-compact .ibec-ph__rm,
	.ibec-ph.is-compact .ibec-ph__file,
	.ibec-ph.is-compact .ibec-ph__status { display: none; }
	.ibec-ph.is-compact .ibec-ph__body {
		position: absolute;
		inset: 0 0 auto;
		height: 64px;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 0 16px;
		text-align: left;
	}
	.ibec-ph.is-compact .ibec-ph__avatar { width: 44px; height: 44px; margin: 0; border-width: 2px; box-shadow: none; pointer-events: none; }
	.ibec-ph.is-compact .ibec-ph__initials { font-size: 16px; }
	.ibec-ph.is-compact .ibec-ph__who { min-width: 0; }
	.ibec-ph.is-compact .ibec-ph__title { margin: 0; font-size: 17px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ibec-ph.is-compact .ibec-ph__lead { font-size: 12.5px; color: #c7d2ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
	.ibec-ph__cover-edit,
	.ibec-ph__avatar-hover,
	.ibec-ph__initials,
	.ibec-ph__rm--photo { transition: none; }
}

/* Portais seguem o modo escuro do aparelho (o /painel fica claro). */

/* =============================================================
 * v7A.9.21.394 — Aba "Meu perfil" (UserProfile\ProfileTab).
 * Desktop: lista de seções + corpo. Celular: lista; a seção abre
 * por cima com "voltar" (classe .is-open posta pelo JS).
 * ============================================================= */
.ibec-pf {
	--pf-card: var(--ibec-card, #fff);
	--pf-line: var(--ibec-border, #dce6f5);
	--pf-ink: var(--ibec-text, #071d49);
	--pf-muted: var(--ibec-muted, #4a5a78);
	--pf-soft: #EFF4FF;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	color: var(--pf-ink);
}
.ibec-pf__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px;
	background: var(--pf-card);
	border: 1px solid var(--pf-line);
	border-radius: 16px;
}
.ibec-pf__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--pf-muted);
	font: inherit;
	font-size: 14.5px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}
.ibec-pf__item:hover { background: rgba(127, 127, 127, .08); }
.ibec-pf__item[aria-current="true"] { background: var(--pf-soft); color: #0B1F4D; }
.ibec-pf__item:focus-visible,
.ibec-pf__back:focus-visible,
.ibec-pf__btn:focus-visible,
.ibec-pf__btn:has(.ibec-ph__file:focus-visible) { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.ibec-pf__ic { width: 18px; height: 18px; flex-shrink: 0; }
.ibec-pf__go { width: 16px; height: 16px; margin-left: auto; display: none; }

.ibec-pf__body { min-width: 0; }
.ibec-pf__sec {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 22px;
	background: var(--pf-card);
	border: 1px solid var(--pf-line);
	border-radius: 16px;
}
.ibec-pf__sec[hidden] { display: none; }
.ibec-pf__head { display: flex; align-items: center; gap: 6px; }
.ibec-pf .ibec-pf__head h2 { margin: 0; color: var(--pf-ink); font-size: 18px; font-weight: 800; }
.ibec-pf__back {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: -10px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--pf-ink);
	cursor: pointer;
	place-items: center;
}
.ibec-pf__back svg { width: 22px; height: 22px; }
.ibec-pf__lead { margin: 0; color: var(--pf-muted); font-size: 14px; }

/* Cartões que vêm dos portais (Sobre): dentro da seção não precisam de moldura própria. */
.ibec-pf__sec > .ibec-portal-card,
.ibec-pf__sec > .etm-manage-card,
.ibec-pf__sec > .ibec-instructor-card { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }

.ibec-pf__rows { display: flex; flex-direction: column; }
.ibec-pf__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--pf-line);
}
.ibec-pf__row:last-child { border-bottom: 0; }
.ibec-pf__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.ibec-pf__txt b { color: var(--pf-ink); font-size: 14.5px; }
.ibec-pf__txt small { color: var(--pf-muted); font-size: 13px; line-height: 1.4; }
.ibec-pf__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex-shrink: 0; }

.ibec-pf__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid #0B1F4D;
	border-radius: 8px;
	background: #0B1F4D;
	color: #fff;
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
.ibec-pf__btn:hover { background: #163B8C; border-color: #163B8C; }
.ibec-pf__btn--ghost { background: transparent; color: var(--pf-ink); border-color: var(--pf-line); }
.ibec-pf__btn--ghost:hover { background: rgba(127, 127, 127, .08); border-color: var(--pf-line); }
.ibec-pf__btn[hidden] { display: none; }
.ibec-pf__media:not(.has-image) .ibec-pf__if-image { display: none; }

.ibec-pf__thumb {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	background: #0B1F4D center / cover no-repeat;
	color: #0B1F4D;
	font-weight: 800;
}
.ibec-pf__thumb--photo { width: 64px; height: 64px; border-radius: 50%; background-color: #F2B705; font-size: 20px; }
.ibec-pf__thumb--cover { width: 120px; height: 44px; border-radius: 8px; }

.ibec-pf__viewer { max-width: min(92vw, 960px); padding: 12px; border: 0; border-radius: 16px; background: #0f172a; }
.ibec-pf__viewer::backdrop { background: rgba(7, 29, 73, .75); }
.ibec-pf__viewer img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto 12px; border-radius: 10px; }
.ibec-pf__viewer .ibec-pf__btn { display: flex; margin-left: auto; background: #fff; color: #0B1F4D; border-color: #fff; }

/* App: o que muda dentro do app instalado (html.ibec-app vem do pwa-app). */
.ibec-pf__in-app { display: none; }
html.ibec-app .ibec-pf__in-app { display: block; }
html.ibec-app .ibec-pf__not-app { display: none; }

/* Formulário de senha (CpfAuth/CompanyAuth) dentro da seção: campos empilhados. */
.ibec-pf .ibec-perf-password-card { display: flex; flex-direction: column; gap: 12px; }
.ibec-pf .ibec-perf-password-card > p { margin: 0 !important; }
.ibec-pf .ibec-perf-policy { padding: 12px 14px; border-radius: 10px; background: var(--pf-soft); color: #0B1F4D; font-size: 13px; }
.ibec-pf .ibec-perf-policy ul { margin: 6px 0 0; padding-left: 18px; }
.ibec-pf .ibec-perf-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ibec-pf .ibec-perf-form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--pf-ink); }
.ibec-pf .ibec-perf-form-grid input { min-height: 44px; padding: 8px 12px; border: 1px solid #c9d3e4; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; }
.ibec-pf .ibec-perf-form-actions { margin-top: 12px; }
.ibec-pf .ibec-perf-notice { padding: 10px 12px; border-radius: 8px; background: #EFF4FF; color: #0B1F4D; font-size: 14px; font-weight: 600; }
.ibec-pf .ibec-perf-notice--error { background: #FEF3F2; color: #B42318; }
.ibec-pf .ibec-perf-notice--success { background: #ECFDF3; color: #067647; }

@media (max-width: 900px) {
	.ibec-pf .ibec-perf-form-grid { grid-template-columns: 1fr; }
}

/* Celular: lista de ajustes; a seção abre no lugar com "voltar". */
@media (max-width: 782px) {
	.ibec-pf { grid-template-columns: 1fr; }
	.ibec-pf__nav { padding: 0; overflow: hidden; gap: 0; }
	.ibec-pf__item { min-height: 56px; padding: 0 16px; border-radius: 0; border-bottom: 1px solid var(--pf-line); color: var(--pf-ink); }
	.ibec-pf__item:last-child { border-bottom: 0; }
	.ibec-pf__item[aria-current="true"] { background: none; color: var(--pf-ink); }
	.ibec-pf__item .ibec-pf__ic { color: var(--pf-muted); }
	.ibec-pf__go { display: block; color: var(--pf-muted); }
	.ibec-pf:not(.is-open) .ibec-pf__body { display: none; }
	.ibec-pf.is-open .ibec-pf__nav { display: none; }
	.ibec-pf__back { display: grid; }
	.ibec-pf__sec { padding: 16px; }
	.ibec-pf__row { flex-wrap: wrap; }
	.ibec-pf__acts { justify-content: flex-start; width: 100%; }
	.ibec-pf__media { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; }
	.ibec-pf__media .ibec-pf__acts { grid-column: 1 / -1; }
	.ibec-pf__thumb--photo { width: 56px; height: 56px; }
	.ibec-pf__thumb--cover { width: 88px; height: 34px; }
	.ibec-pf__btn { min-height: 44px; }
}


/* v7A.9.21.401 — Autorização de assinatura nas Configurações do Perfil: a lista do portal sem a
   moldura (a seção já é o cartão) e com as cores da seção no claro e no escuro. */
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-signature-consent-box { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-signature-consent-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; margin: 0 0 12px; }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-signature-consent-head h2 { display: none; }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-signature-consent-head p { margin: 0; color: var(--pf-muted); font-size: 14px; }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table { width: 100%; border-collapse: collapse; background: none; color: var(--pf-ink); }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table th,
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table td { padding: 10px 12px; border-bottom: 1px solid var(--pf-line); background: none; color: var(--pf-ink); text-align: left; vertical-align: middle; }
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table th { color: var(--pf-muted); font-size: 12.5px; font-weight: 600; }
/* Alvo de toque de 44px (o sistema de botões fixa 36px com !important). */
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table .etm-front-btn,
.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-portal-filter-chips button { min-height: 44px !important; }
@media (max-width: 860px) {
	.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-signature-consent-box { padding: 0; border-radius: 0; }
	.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table tr { background: var(--pf-card, #fff) !important; border: 1px solid var(--pf-line) !important; box-shadow: none !important; }
	.ibec-pf__sec[data-pf-panel="autorizacao"] .ibec-consent-table td { border-bottom-color: var(--pf-line) !important; color: var(--pf-ink) !important; }
}

/* v7A.9.21.402 — Avisos: interruptor por canal (checkbox nativo, alvo de 44px). */
.ibec-pf__switch { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; cursor: pointer; }
.ibec-pf__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.ibec-pf__switch span { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #c9d3e4; transition: background-color .15s ease; }
.ibec-pf__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); transition: transform .15s ease; }
.ibec-pf__switch input:checked + span { background: #1D4ED8; }
.ibec-pf__switch input:checked + span::after { transform: translateX(18px); }
.ibec-pf__switch input:focus-visible + span { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.ibec-pf__switch input:disabled { cursor: not-allowed; }
.ibec-pf__switch input:disabled + span { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .ibec-pf__switch span, .ibec-pf__switch span::after { transition: none; } }
/* O interruptor fica ao lado do canal também no celular (a linha padrão quebra os botões para baixo). */
.ibec-pf__row[data-ibec-channel-row] { flex-wrap: nowrap; align-items: center; }
.ibec-pf__row[data-ibec-channel-row] .ibec-pf__acts { width: auto; flex: 0 0 auto; }

/* Sobre do /painel (equipe): lista simples de dados. */
.ibec-pf__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.ibec-pf__facts div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ibec-pf__facts dt { color: var(--pf-muted); font-size: 12.5px; }
.ibec-pf__facts dd { margin: 0; color: var(--pf-ink); font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 782px) { .ibec-pf__facts { grid-template-columns: 1fr; } }

/* Sobre: o cartão de dados do portal entra sem moldura e com título no tamanho da seção. */
.ibec-pf__sec[data-pf-panel="sobre"] > :not(.ibec-pf__head) { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.ibec-pf__sec[data-pf-panel="sobre"] > :not(.ibec-pf__head) h2 { font-size: 15px !important; line-height: 1.3 !important; margin: 0 0 4px !important; color: var(--pf-muted) !important; }
.ibec-pf__sec[data-pf-panel="sobre"] > :not(.ibec-pf__head) h3 { font-size: 14.5px !important; }
/* Empresa: a senha (com "não lembro a senha") está na seção Senha. */
.ibec-pf .ibec-company-security { display: none !important; }
