/* =========================================================================
   Portal do Colaborador e do Gestor — 2.13.0
   Direção visual: "editorial quente". Papel creme, tinta escura, a cor
   primária da marca (vermelho) como protagonista e a secundária (amarelo)
   como luz de destaque. Títulos em serifa (Instrument Serif), texto em
   Plus Jakarta Sans. As cores vêm das Configurações do RH (--pd-red,
   --pd-yellow), injetadas inline por PD_Portal::css_marca().
   ========================================================================= */

@font-face { font-family: "PD Jakarta"; src: url("../fonts/jakarta-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PD Jakarta"; src: url("../fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PD Serif"; src: url("../fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PD Serif"; src: url("../fonts/instrument-serif-latin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------------------------------------------------- */
.pd-app, .pd-auth, .pd-app-lite, .pd-toasts {
	--pd-red: #cf0010;
	--pd-red-dark: #a1000c;
	--pd-red-deep: #5d0007;
	--pd-yellow: #ffc400;
	--pd-ink: #1c1917;
	--pd-ink-2: #3d3733;
	--pd-muted: #6a625c;
	--pd-line: #e9e2db;
	--pd-line-2: #f1ece6;
	--pd-bg: #f7f4ef;
	--pd-paper: #ffffff;
	--pd-paper-2: #fbf9f6;
	--pd-soft: #fff7df;
	--pd-ok: #13804a;
	--pd-ok-bg: #e6f5ec;
	--pd-warn: #8a5a00;
	--pd-warn-bg: #fff3d3;
	--pd-err: #b4161b;
	--pd-err-bg: #fdecec;
	--pd-info: #1d4f8f;
	--pd-info-bg: #e9f0fb;
	--pd-sans: "PD Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pd-serif: "PD Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--pd-r-sm: 10px;
	--pd-r: 16px;
	--pd-r-lg: 22px;
	--pd-sh-1: 0 1px 2px rgba(28, 25, 23, .05);
	--pd-sh-2: 0 1px 2px rgba(28, 25, 23, .04), 0 10px 30px -14px rgba(28, 25, 23, .14);
	--pd-sh-3: 0 24px 60px -24px rgba(28, 25, 23, .35);
	--pd-ring: 0 0 0 3px color-mix(in srgb, var(--pd-yellow) 70%, transparent), 0 0 0 5px color-mix(in srgb, var(--pd-red) 55%, transparent);
	--pd-ease: cubic-bezier(.2, .7, .2, 1);
	--pd-side-w: 276px;
	font-family: var(--pd-sans);
	color: var(--pd-ink);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
.pd-app *, .pd-auth *, .pd-app *::before, .pd-app *::after, .pd-auth *::before, .pd-auth *::after { box-sizing: border-box; }

body.pd-app-body { margin: 0; background: #f7f4ef; }
body.pd-app-body.pd-tela-cheia { min-height: 100vh; }
body.pd-portal-page.pd-app-body { background: #f7f4ef; }

.pd-app .pd-ico, .pd-auth .pd-ico, .pd-app-lite .pd-ico { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.pd-app a, .pd-auth a { color: var(--pd-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pd-app :focus-visible, .pd-auth :focus-visible { outline: none; box-shadow: var(--pd-ring); border-radius: 8px; }
.pd-app [hidden], .pd-auth [hidden], .pd-app-lite [hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- App shell ------------------------------------------------- */
.pd-app {
	display: grid;
	grid-template-columns: var(--pd-side-w) minmax(0, 1fr);
	min-height: 100vh;
	background: var(--pd-bg);
	position: relative;
}
.pd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--pd-ink); color: #fff !important; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.pd-skip:focus { top: 12px; }

/* Menu lateral */
.pd-side {
	position: sticky; top: 0; height: 100vh;
	display: flex; flex-direction: column;
	background:
		radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--pd-red) 38%, transparent) 0%, transparent 55%),
		radial-gradient(80% 40% at 100% 100%, color-mix(in srgb, var(--pd-yellow) 10%, transparent) 0%, transparent 60%),
		#191513;
	color: #d9d1c9;
	padding: 20px 14px 16px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,.15) transparent;
	z-index: 40;
}
.pd-side-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.pd-side-logo { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.pd-side-logo img { width: 38px; height: 38px; object-fit: contain; }
.pd-side-brand-txt { min-width: 0; line-height: 1.25; }
.pd-side-brand-txt strong { display: block; color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-side-brand-txt span { font-size: 12px; color: color-mix(in srgb, var(--pd-yellow) 85%, #fff); letter-spacing: .02em; }
.pd-icon-btn.pd-side-close { display: none; margin-left: auto; color: #fff; }
.pd-icon-btn.pd-side-close:hover { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }

.pd-side-nav { flex: 1 1 auto; }
.pd-side-group { margin-bottom: 14px; }
.pd-side-heading { margin: 0 0 6px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.pd-side ul { list-style: none; margin: 0; padding: 0; }
.pd-side-link {
	position: relative; display: flex; align-items: center; gap: 12px;
	padding: 9px 12px; margin: 1px 0; border-radius: 12px;
	color: #d9d1c9 !important; text-decoration: none !important; font-weight: 550; font-size: 14px;
	transition: background .18s var(--pd-ease), color .18s var(--pd-ease);
}
.pd-side-link .pd-ico { width: 19px; height: 19px; opacity: .8; }
.pd-side-link:hover { background: rgba(255,255,255,.06); color: #fff !important; }
.pd-side-link.is-active { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); color: #fff !important; }
.pd-side-link.is-active .pd-ico { opacity: 1; color: var(--pd-yellow); }
.pd-side-link.is-active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pd-yellow); box-shadow: 0 0 14px color-mix(in srgb, var(--pd-yellow) 70%, transparent); }
.pd-side-link span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-count { font-style: normal; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 800; background: var(--pd-yellow); color: #1c1917; }
.pd-side-foot { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.pd-side-app { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none !important; color: #fff !important; background: linear-gradient(135deg, color-mix(in srgb, var(--pd-red) 85%, #000), var(--pd-red-deep)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pd-side-app .pd-ico { color: var(--pd-yellow); width: 22px; height: 22px; }
.pd-side-app strong { display: block; font-size: 13.5px; }
.pd-side-app small { display: block; font-size: 12px; opacity: .78; }
.pd-side-sair { color: #bfb5ab !important; }

.pd-scrim { display: none; }

/* Coluna principal */
.pd-shell { min-width: 0; display: flex; flex-direction: column; }
.pd-top {
	position: sticky; top: 0; z-index: 30;
	display: flex; align-items: center; gap: 14px;
	min-height: 68px; padding: 12px 32px;
	background: color-mix(in srgb, var(--pd-bg) 82%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--pd-line) 70%, transparent);
}
.pd-icon-btn.pd-menu-btn { display: none; }
.pd-top-crumb { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; color: var(--pd-muted); }
.pd-top-crumb-sep { width: 14px !important; height: 14px !important; opacity: .6; }
.pd-top-crumb-atual { color: var(--pd-ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.pd-icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--pd-ink-2); cursor: pointer; transition: background .15s, border-color .15s, color .15s; padding: 0; }
.pd-icon-btn:hover { background: var(--pd-paper); border-color: var(--pd-line); color: var(--pd-ink); }
.pd-icon-btn-sm { width: 32px; height: 32px; border-radius: 9px; }
.pd-icon-btn-sm .pd-ico { width: 17px; height: 17px; }

.pd-search-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; min-width: 260px; border-radius: 12px; border: 1px solid var(--pd-line); background: var(--pd-paper); color: var(--pd-muted); font: inherit; font-size: 14px; cursor: pointer; box-shadow: var(--pd-sh-1); transition: border-color .15s, box-shadow .15s; }
.pd-search-btn:hover { border-color: color-mix(in srgb, var(--pd-red) 35%, var(--pd-line)); }
.pd-search-btn .pd-ico { width: 18px; height: 18px; }
.pd-search-btn span { flex: 1; text-align: left; }
.pd-app kbd, .pd-auth kbd { font: 600 11px/1 var(--pd-sans); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--pd-line); background: var(--pd-paper-2); color: var(--pd-muted); }

.pd-bell-dot { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--pd-red); color: #fff; font: 800 10.5px/18px var(--pd-sans); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--pd-bg); }
.pd-bell.has-pulse .pd-bell-dot { animation: pd-pulse 2.2s var(--pd-ease) infinite; }

.pd-user-btn { display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; height: 46px; border-radius: 14px; border: 1px solid var(--pd-line); background: var(--pd-paper); cursor: pointer; font: inherit; color: var(--pd-ink); box-shadow: var(--pd-sh-1); }
.pd-user-btn:hover { border-color: color-mix(in srgb, var(--pd-red) 30%, var(--pd-line)); }
.pd-user-txt { display: grid; text-align: left; line-height: 1.15; }
.pd-user-txt strong { font-size: 13.5px; }
.pd-user-txt small { font-size: 11.5px; color: var(--pd-muted); }
.pd-user-chev { width: 16px !important; height: 16px !important; color: var(--pd-muted); }

/* Avatar */
.pd-av { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: inline-grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 13px; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--pd-red), var(--pd-red-deep)); }
.pd-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-av-lg { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; }
.pd-av-xl { width: 112px; height: 112px; border-radius: 30px; font-size: 38px; box-shadow: 0 0 0 5px var(--pd-paper), var(--pd-sh-2); }
.pd-av-rh { background: linear-gradient(135deg, #2b2522, #1a1614); color: var(--pd-yellow); }

/* Popovers (notificações, conta) */
.pd-pop { position: relative; }
.pd-pop-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; width: 380px; max-width: calc(100vw - 24px); background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: var(--pd-r); box-shadow: var(--pd-sh-3); overflow: hidden; transform-origin: top right; animation: pd-pop-in .18s var(--pd-ease); }
.pd-user-panel { width: 280px; padding: 8px; }
.pd-user-card { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--pd-line-2); }
.pd-user-card strong { display: block; font-size: 14px; }
.pd-user-card span { font-size: 12.5px; color: var(--pd-muted); }
.pd-user-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--pd-ink-2) !important; text-decoration: none !important; font-weight: 550; font-size: 14px; }
.pd-user-panel a .pd-ico { width: 18px; height: 18px; color: var(--pd-muted); }
.pd-user-panel a:hover { background: var(--pd-bg); color: var(--pd-ink) !important; }
.pd-user-panel hr { border: 0; border-top: 1px solid var(--pd-line-2); margin: 6px 0; }
.pd-user-sair { color: var(--pd-err) !important; }
.pd-user-sair .pd-ico { color: var(--pd-err) !important; }

.pd-notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--pd-line-2); }
.pd-notif-head strong { font-size: 15px; }
.pd-notif-list { max-height: min(60vh, 460px); overflow-y: auto; padding: 6px; }
.pd-notif-list-flat { max-height: none; padding: 0; margin: -6px; }
.pd-notif-sec { margin: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pd-muted); }
.pd-notif-item { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; color: var(--pd-ink) !important; text-decoration: none !important; transition: background .15s; }
a.pd-notif-item:hover { background: var(--pd-bg); }
.pd-notif-item.is-new { background: color-mix(in srgb, var(--pd-yellow) 9%, transparent); }
.pd-notif-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--pd-bg); color: var(--pd-ink-2); }
.pd-notif-ico .pd-ico { width: 18px; height: 18px; }
.pd-notif-txt { min-width: 0; display: grid; gap: 1px; }
.pd-notif-txt strong { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.pd-notif-txt span { font-size: 13px; color: var(--pd-ink-2); line-height: 1.4; }
.pd-notif-txt small { font-size: 12px; color: var(--pd-muted); }
.pd-notif-dot { position: absolute; right: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--pd-red); }
.pd-notif-vazio { padding: 22px 12px; text-align: center; color: var(--pd-muted); margin: 0; }
.pd-notif-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--pd-line-2); font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
.pd-notif-foot .pd-ico { width: 16px; height: 16px; }
.pd-skel { height: 54px; margin: 6px; border-radius: 12px; background: linear-gradient(90deg, var(--pd-line-2) 0%, var(--pd-paper-2) 50%, var(--pd-line-2) 100%); background-size: 200% 100%; animation: pd-skel 1.2s linear infinite; }

/* Tons por categoria */
.pd-tone-red .pd-notif-ico, .pd-notif-ico.pd-tone-red, .pd-tone-red .pd-task-ico { background: color-mix(in srgb, var(--pd-red) 11%, #fff); color: var(--pd-red); }
.pd-notif-ico.pd-tone-yellow, .pd-tone-yellow .pd-task-ico { background: color-mix(in srgb, var(--pd-yellow) 26%, #fff); color: #7a5300; }
.pd-notif-ico.pd-tone-ink, .pd-tone-ink .pd-task-ico { background: #ece7e2; color: var(--pd-ink); }
.pd-tone-comunicados, .pd-tone-chamados, .pd-tone-atendimento { background: #efe9fb !important; color: #4a3aa7 !important; }
.pd-tone-ferias { background: color-mix(in srgb, var(--pd-yellow) 26%, #fff) !important; color: #7a5300 !important; }
.pd-tone-solicitacoes, .pd-tone-avaliacoes { background: var(--pd-info-bg) !important; color: var(--pd-info) !important; }
.pd-tone-ponto, .pd-tone-holerites { background: var(--pd-ok-bg) !important; color: var(--pd-ok) !important; }
.pd-tone-seguranca, .pd-tone-conta { background: color-mix(in srgb, var(--pd-red) 11%, #fff) !important; color: var(--pd-red) !important; }

/* Conteúdo */
.pd-main { flex: 1 0 auto; outline: none; }
.pd-app .pd-wrap.pd-app-content {
	max-width: 1240px; width: 100%;
	margin: 0 auto !important; padding: 28px 32px 56px;
	animation: pd-fade-up .45s var(--pd-ease) both;
	font-family: var(--pd-sans); color: var(--pd-ink);
}
.pd-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 1240px; width: 100%; margin: 0 auto; padding: 18px 32px 28px; font-size: 13px; color: var(--pd-muted); border-top: 1px solid var(--pd-line-2); }
.pd-foot nav { display: flex; gap: 18px; }
.pd-foot a { color: var(--pd-muted) !important; text-decoration: none; }
.pd-foot a:hover { color: var(--pd-ink) !important; }

/* Cabeçalho de página */
.pd-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 4px 0 24px; }
.pd-page-head-txt { min-width: 0; max-width: 760px; }
.pd-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pd-red); }
.pd-page-title { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.01em; color: var(--pd-ink); }
.pd-page-sub { margin: 10px 0 0; color: var(--pd-muted); font-size: 15.5px; max-width: 64ch; }
.pd-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-weight: 700; font-size: 14px; color: var(--pd-muted) !important; text-decoration: none !important; }
.pd-back:hover { color: var(--pd-ink) !important; }
.pd-back .pd-ico { width: 17px; height: 17px; }

/* ---------- Botões ----------------------------------------------------- */
.pd-app .pd-btn, .pd-auth .pd-btn, .pd-app-lite .pd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 12px;
	border: 1px solid var(--pd-line); background: var(--pd-paper); color: var(--pd-ink) !important;
	font: 700 14px/1.2 var(--pd-sans); letter-spacing: .005em; text-decoration: none !important; cursor: pointer;
	box-shadow: var(--pd-sh-1); transform: none; overflow: visible;
	transition: background .16s var(--pd-ease), border-color .16s, box-shadow .16s, transform .16s var(--pd-ease), color .16s;
	text-transform: none; white-space: nowrap;
}
.pd-app .pd-btn .pd-ico, .pd-auth .pd-btn .pd-ico { width: 18px; height: 18px; }
.pd-app .pd-btn:hover, .pd-auth .pd-btn:hover { border-color: color-mix(in srgb, var(--pd-ink) 22%, var(--pd-line)); background: var(--pd-paper-2); transform: translateY(-1px); }
.pd-app .pd-btn:active, .pd-auth .pd-btn:active { transform: translateY(0); }
.pd-app .pd-btn:disabled, .pd-auth .pd-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pd-app .pd-btn::after, .pd-auth .pd-btn::after { display: none; }
.pd-app .pd-btn-primary, .pd-auth .pd-btn-primary, .pd-app-lite .pd-btn-primary {
	background: linear-gradient(180deg, color-mix(in srgb, var(--pd-red) 92%, #fff) 0%, var(--pd-red) 55%, var(--pd-red-dark) 100%);
	border-color: var(--pd-red-dark); color: #fff !important;
	box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px color-mix(in srgb, var(--pd-red) 80%, transparent);
}
.pd-app .pd-btn-primary:hover, .pd-auth .pd-btn-primary:hover { background: linear-gradient(180deg, var(--pd-red) 0%, var(--pd-red-dark) 100%); border-color: var(--pd-red-dark); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 26px -10px color-mix(in srgb, var(--pd-red) 85%, transparent); }
.pd-app .pd-btn-soft, .pd-auth .pd-btn-soft { background: #f1ebe4; border-color: transparent; box-shadow: none; }
.pd-app .pd-btn-soft:hover, .pd-auth .pd-btn-soft:hover { background: #e9e1d8; border-color: transparent; }
.pd-auth .pd-btn-ghost, .pd-app .pd-btn-ghost { background: transparent; box-shadow: none; }
.pd-app .pd-btn-light { background: #fff; border-color: #fff; color: var(--pd-red-dark) !important; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.pd-app .pd-btn-light:hover { background: #fff; border-color: #fff; }
.pd-app .pd-btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff !important; box-shadow: none; backdrop-filter: blur(6px); }
.pd-app .pd-btn-glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); }
.pd-app .pd-btn-sm, .pd-app .pd-btn-small, .pd-app-lite .pd-btn-small { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.pd-app .pd-btn-lg, .pd-auth .pd-btn-lg { min-height: 50px; font-size: 15.5px; border-radius: 14px; }
.pd-app .pd-btn-block, .pd-auth .pd-btn-block { width: 100%; }
.pd-app .pd-btn-danger { color: var(--pd-err) !important; }
.pd-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.pd-btn.is-loading > * { visibility: hidden; }
.pd-btn.is-loading::before { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-color: rgba(255,255,255,.9) rgba(255,255,255,.9) rgba(255,255,255,.25) rgba(255,255,255,.25); animation: pd-spin .7s linear infinite; }
.pd-btn-soft.is-loading::before, .pd-btn:not(.pd-btn-primary).is-loading::before { border-color: var(--pd-ink) var(--pd-ink) transparent transparent; }
.pd-link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 2px; font: 700 13.5px/1.3 var(--pd-sans); color: var(--pd-red); cursor: pointer; text-decoration: none !important; }
.pd-link-btn .pd-ico { width: 16px; height: 16px; }
.pd-link-btn:hover { text-decoration: underline !important; }
.pd-link-danger { color: var(--pd-err); }
.pd-link-sm { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
.pd-link-sm .pd-ico { width: 15px; height: 15px; transition: transform .15s; }
.pd-link-sm:hover .pd-ico { transform: translateX(3px); }
.pd-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Hero (início) --------------------------------------------- */
.pd-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; align-items: end;
	padding: 34px 36px; margin-bottom: 22px; border-radius: 28px; color: #fff;
	background:
		radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 38%, transparent) 0%, transparent 55%),
		radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, #000 40%, transparent) 0%, transparent 60%),
		linear-gradient(135deg, var(--pd-red) 0%, var(--pd-red-dark) 55%, var(--pd-red-deep) 100%);
	box-shadow: 0 28px 60px -32px color-mix(in srgb, var(--pd-red-deep) 90%, transparent);
}
.pd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(80% 90% at 85% 10%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(80% 90% at 85% 10%, #000 0%, transparent 70%); }
.pd-hero-deco { position: absolute; z-index: -1; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); }
.pd-hero-date { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; }
.pd-hero-date .pd-ico { width: 16px; height: 16px; color: var(--pd-yellow); }
.pd-hero-title { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.015em; color: #fff; }
.pd-hero-title em { font-style: italic; color: var(--pd-yellow); }
.pd-hero-sub { margin: 14px 0 22px; font-size: 16.5px; color: rgba(255,255,255,.88); max-width: 46ch; }
.pd-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-hero-card { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset; }
.pd-hero-card-tit { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pd-hero-card-tit .pd-ico { width: 17px; height: 17px; color: var(--pd-yellow); }
.pd-hero-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.pd-hero-card-link .pd-ico { width: 16px; height: 16px; transition: transform .15s; }
.pd-hero-card-link:hover .pd-ico { transform: translateX(4px); }
.pd-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.pd-hero-stats div { padding: 10px; border-radius: 14px; background: rgba(0,0,0,.14); }
.pd-hero-stats strong { display: block; font-family: var(--pd-serif); font-size: 34px; font-weight: 400; line-height: 1; }
.pd-hero-stats span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.pd-hero-big { margin: 0; font-family: var(--pd-serif); font-size: 40px; line-height: 1; }
.pd-hero-mini { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.pd-ponto-estado { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.pd-ponto-estado i { width: 10px; height: 10px; border-radius: 50%; background: #c9c1b9; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.pd-ponto-estado.is-on i { background: #4ade80; animation: pd-pulse-green 2s infinite; }
.pd-ponto-estado.is-pause i { background: var(--pd-yellow); }
.pd-ponto-estado small { font-size: 13px; font-weight: 500; opacity: .8; }
.pd-ponto-barra { height: 8px; border-radius: 99px; background: rgba(0,0,0,.2); overflow: hidden; }
.pd-ponto-barra span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pd-yellow), #fff3c4); transition: width .8s var(--pd-ease); }
.pd-ponto-num { margin: 8px 0 0; font-size: 13.5px; color: rgba(255,255,255,.85); }
.pd-ponto-num strong { color: #fff; font-size: 15px; }

/* Ações rápidas */
.pd-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.pd-quick-item { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-1); text-decoration: none !important; color: var(--pd-ink) !important; transition: transform .2s var(--pd-ease), box-shadow .2s, border-color .2s; }
.pd-quick-item:hover { transform: translateY(-3px); box-shadow: var(--pd-sh-2); border-color: color-mix(in srgb, var(--pd-red) 30%, var(--pd-line)); }
.pd-quick-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--pd-red) 9%, #fff); color: var(--pd-red); transition: background .2s, color .2s; }
.pd-quick-item:hover .pd-quick-ico { background: var(--pd-red); color: #fff; }
.pd-quick-txt strong { display: block; font-size: 14px; line-height: 1.3; }
.pd-quick-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--pd-muted); line-height: 1.35; }

/* Grade do dashboard */
.pd-dash { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.pd-dash-main, .pd-dash-side, .pd-stack { display: grid; gap: 20px; min-width: 0; }

/* ---------- Painéis ----------------------------------------------------- */
.pd-panel { background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: var(--pd-r-lg); padding: 22px; box-shadow: var(--pd-sh-2); min-width: 0; margin-bottom: 20px; }
.pd-dash .pd-panel, .pd-stack .pd-panel, .pd-grid-2 > .pd-panel { margin-bottom: 0; }
.pd-panel-flush { padding: 8px; }
.pd-panel-flush > .pd-notif-sec { margin-left: 14px; }
.pd-panel-accent { border-top: 4px solid var(--pd-red); }
.pd-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pd-panel-head h2 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.005em; color: var(--pd-ink); font-family: var(--pd-sans); }
.pd-panel-head > .pd-ico { color: var(--pd-muted); width: 20px; height: 20px; }
.pd-panel-head .pd-muted { margin-top: 3px; }
.pd-muted { color: var(--pd-muted); margin: 0; font-size: 14px; }
.pd-small { font-size: 12.5px; margin-top: 10px; }
.pd-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; align-items: start; }
.pd-grid-2-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }

.pd-chip { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 800; font-style: normal; background: var(--pd-line-2); color: var(--pd-ink-2); }
.pd-chip-red { background: var(--pd-red); color: #fff; }
.pd-chip-yellow { background: color-mix(in srgb, var(--pd-yellow) 40%, #fff); color: #6b4800; font-size: 11px; height: 20px; vertical-align: middle; margin-left: 4px; }

/* Lista de tarefas/pendências */
.pd-task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-task { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--pd-paper-2); border: 1px solid var(--pd-line-2); }
.pd-task-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.pd-task-txt { flex: 1 1 auto; min-width: 0; display: grid; }
.pd-task-txt strong { font-size: 14.5px; }
.pd-task-txt small { color: var(--pd-muted); font-size: 13px; }

/* Linhas genéricas */
.pd-rows { list-style: none; margin: 0; padding: 0; }
.pd-rows li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--pd-line-2); }
.pd-rows li:last-child { border-bottom: 0; }
.pd-rows li.is-attn .pd-rows-ico { background: color-mix(in srgb, var(--pd-red) 11%, #fff); color: var(--pd-red); }
.pd-rows-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--pd-bg); color: var(--pd-ink-2); }
.pd-rows-ico .pd-ico { width: 18px; height: 18px; }
.pd-rows-txt { flex: 1 1 auto; min-width: 0; display: grid; }
.pd-rows-txt strong { font-size: 14.5px; }
.pd-rows-txt small { font-size: 13px; color: var(--pd-muted); }
.pd-rows-nota { font-style: italic; }
.pd-rows-compact li { padding: 9px 2px; }

/* Estatísticas */
.pd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-stat { display: block; padding: 16px; border-radius: 16px; background: var(--pd-paper-2); border: 1px solid var(--pd-line-2); text-decoration: none !important; color: var(--pd-ink) !important; transition: border-color .15s, transform .15s; }
.pd-stat:hover { border-color: color-mix(in srgb, var(--pd-red) 35%, var(--pd-line)); transform: translateY(-2px); }
.pd-stat strong { display: block; font-family: var(--pd-serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--pd-red); }
.pd-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--pd-muted); line-height: 1.35; }

/* Holerite (lado) */
.pd-panel-pay { background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 14%, transparent), transparent 60%), var(--pd-paper); }
.pd-pay-comp { margin: 0 0 12px; font-weight: 700; }
.pd-pay-valor { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--pd-bg); margin-bottom: 12px; }
.pd-pay-label { font-size: 12.5px; color: var(--pd-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pd-pay-valor strong { flex: 1; font-family: var(--pd-serif); font-size: 30px; font-weight: 400; letter-spacing: .01em; }
.pd-fer-periodo { margin: 0 0 4px; font-weight: 700; }
.pd-fer-prox { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--pd-yellow) 14%, #fff); }
.pd-fer-cal { flex: 0 0 auto; width: 54px; height: 58px; border-radius: 12px; background: #fff; display: grid; place-items: center; text-transform: uppercase; font-size: 11px; font-weight: 800; color: var(--pd-red); box-shadow: var(--pd-sh-1); line-height: 1; padding-top: 6px; }
.pd-fer-cal b { display: block; font-family: var(--pd-serif); font-weight: 400; font-size: 28px; color: var(--pd-ink); }
.pd-fer-prox strong { display: block; font-size: 14px; }
.pd-fer-prox small { color: var(--pd-ink-2); font-size: 13px; }
.pd-panel-nudge { background: linear-gradient(160deg, #1d1816, #2a221f); color: #efe8e1; border-color: #2a221f; }
.pd-panel-nudge h2 { margin: 12px 0 6px; font-size: 17px; color: #fff; }
.pd-panel-nudge p { margin: 0 0 14px; font-size: 14px; color: #d4cbc2; }
.pd-nudge-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--pd-yellow) 18%, transparent); color: var(--pd-yellow); }
.pd-panel-nudge .pd-btn-soft { background: var(--pd-yellow); color: #1c1917 !important; }
.pd-mural { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-mural li { padding: 12px 14px; border-radius: 14px; background: var(--pd-paper-2); border-left: 3px solid var(--pd-line); }
.pd-mural li.is-destaque { border-left-color: var(--pd-yellow); background: color-mix(in srgb, var(--pd-yellow) 10%, #fff); }
.pd-mural strong { font-size: 14px; }
.pd-mural p { margin: 4px 0; font-size: 13.5px; color: var(--pd-ink-2); }
.pd-mural small { color: var(--pd-muted); font-size: 12px; }

/* Estado vazio */
.pd-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 16px; }
.pd-empty-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--pd-bg); color: var(--pd-muted); margin-bottom: 6px; }
.pd-empty-ico .pd-ico { width: 26px; height: 26px; }
.pd-empty strong { font-size: 15.5px; }
.pd-empty p { margin: 0 0 8px; color: var(--pd-muted); font-size: 14px; max-width: 46ch; }

/* Chips de filtro */
.pd-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.pd-chips-center { justify-content: center; }
.pd-chips a, .pd-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--pd-line); background: var(--pd-paper); color: var(--pd-ink-2) !important; font: 650 13.5px/1.2 var(--pd-sans); text-decoration: none !important; cursor: pointer; transition: all .15s; }
.pd-chips a .pd-ico, .pd-chips button .pd-ico { width: 15px; height: 15px; }
.pd-chips a:hover, .pd-chips button:hover { border-color: var(--pd-ink-2); }
.pd-chips .is-active { background: var(--pd-ink); border-color: var(--pd-ink); color: #fff !important; }
.pd-chips em { font-style: normal; background: var(--pd-red); color: #fff; border-radius: 99px; padding: 0 6px; font-size: 11.5px; }
.pd-pager { display: flex; justify-content: center; gap: 10px; padding: 14px; }

/* ---------- Formulários ------------------------------------------------ */
.pd-form { display: grid; gap: 14px; }
.pd-form + .pd-form { margin-top: 12px; }
.pd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-span-2 { grid-column: 1 / -1; }
.pd-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.pd-form-actions-split { justify-content: space-between; }
.pd-form-inline { grid-template-columns: minmax(0, 220px) auto; align-items: end; }
.pd-input { display: grid; gap: 6px; min-width: 0; }
.pd-input > label, .pd-input-label-row label { font-size: 13px; font-weight: 700; color: var(--pd-ink-2); }
.pd-input-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.pd-input small { color: var(--pd-muted); font-size: 12.5px; }
.pd-app .pd-input input:not([type=checkbox]):not([type=radio]):not([type=file]),
.pd-app .pd-input select, .pd-app .pd-input textarea,
.pd-auth .pd-input input:not([type=checkbox]):not([type=radio]),
.pd-auth .pd-input select, .pd-auth .pd-input textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px;
	border: 1px solid #ddd5cd; background: #fff; color: var(--pd-ink);
	font: 500 15px/1.4 var(--pd-sans); box-shadow: 0 1px 0 rgba(28,25,23,.02) inset; margin: 0;
	transition: border-color .15s, box-shadow .15s;
}
.pd-app .pd-input textarea, .pd-auth .pd-input textarea { min-height: 96px; resize: vertical; }
.pd-app .pd-input input:focus, .pd-app .pd-input select:focus, .pd-app .pd-input textarea:focus,
.pd-auth .pd-input input:focus, .pd-auth .pd-input select:focus, .pd-auth .pd-input textarea:focus { outline: none; border-color: var(--pd-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pd-red) 14%, transparent); }
.pd-input-box { position: relative; display: flex; align-items: center; }
.pd-input-box > .pd-ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--pd-muted); pointer-events: none; }
.pd-input-box > .pd-ico ~ input { padding-left: 42px !important; }
.pd-input-box input { padding-right: 46px !important; }
.pd-input-eye { position: absolute; right: 6px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--pd-muted); display: grid; place-items: center; cursor: pointer; }
.pd-input-eye:hover { background: var(--pd-bg); color: var(--pd-ink); }
.pd-input-eye .pd-ico { width: 18px; height: 18px; }
.pd-capslock { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--pd-warn); font-weight: 600; }
.pd-capslock .pd-ico { width: 15px; height: 15px; }
.pd-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--pd-ink-2); cursor: pointer; line-height: 1.45; }
.pd-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pd-red); flex: 0 0 auto; }
.pd-file { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px dashed #d4cbc2; color: var(--pd-ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; max-width: 100%; }
.pd-file:hover { border-color: var(--pd-red); color: var(--pd-red); }
.pd-file .pd-ico { width: 16px; height: 16px; }
.pd-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-forca { display: grid; gap: 4px; }
.pd-forca span { display: block; height: 6px; border-radius: 99px; background: var(--pd-line-2); position: relative; overflow: hidden; }
.pd-forca span::after { content: ""; position: absolute; inset: 0; width: var(--forca, 0%); background: var(--forca-cor, var(--pd-err)); border-radius: inherit; transition: width .3s var(--pd-ease), background .3s; }
.pd-forca small { font-size: 12px; color: var(--pd-muted); }
.pd-disclosure > summary { cursor: pointer; font-weight: 700; color: var(--pd-red); font-size: 14px; list-style: none; padding: 4px 0; }
.pd-disclosure > summary::-webkit-details-marker { display: none; }
.pd-disclosure[open] > summary { margin-bottom: 12px; }
.pd-email-atual { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--pd-bg); word-break: break-all; }

/* Interruptores */
.pd-switch-list { display: grid; gap: 2px; }
.pd-switch-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--pd-line-2); cursor: pointer; }
.pd-switch-row:last-child { border-bottom: 0; }
.pd-switch-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--pd-bg); color: var(--pd-ink-2); flex: 0 0 auto; }
.pd-switch-ico .pd-ico { width: 18px; height: 18px; }
.pd-switch-txt { flex: 1; display: grid; min-width: 0; }
.pd-switch-txt strong { font-size: 14.5px; }
.pd-switch-txt small { font-size: 13px; color: var(--pd-muted); }
.pd-switch { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 46px; height: 28px; border-radius: 99px; background: #d9d0c7; position: relative; cursor: pointer; transition: background .2s var(--pd-ease); margin: 0; }
.pd-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .22s var(--pd-ease); }
.pd-switch:checked { background: var(--pd-red); }
.pd-switch:checked::after { transform: translateX(18px); }
.pd-switch:disabled { opacity: .55; cursor: not-allowed; }
.pd-switch:focus-visible { box-shadow: var(--pd-ring); }

/* ---------- Badges ----------------------------------------------------- */
.pd-app .pd-badge, .pd-app-lite .pd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font: 700 12px/1.3 var(--pd-sans); white-space: nowrap; background: #efe9e3; color: var(--pd-ink-2); }
.pd-app .pd-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pd-app .pd-badge-pendente { background: var(--pd-warn-bg); color: var(--pd-warn); }
body.pd-portal-page .pd-app .pd-badge-pendente::before { position: static; inset: auto; width: 6px; height: 6px; border: 0; border-radius: 50%; opacity: .8; animation: none; }
.pd-app .pd-badge-andamento { background: var(--pd-info-bg); color: var(--pd-info); }
.pd-app .pd-badge-concluida { background: var(--pd-ok-bg); color: var(--pd-ok); }
.pd-app .pd-badge-encerrada { background: #eeeae6; color: #5c5650; }
.pd-app .pd-badge-erro { background: var(--pd-err-bg); color: var(--pd-err); }
.pd-app .pd-badge-calculo { background: #efeafb; color: #4a3aa7; }
.pd-badge-lg { padding: 7px 14px !important; font-size: 13px !important; }

/* ---------- Avisos ----------------------------------------------------- */
.pd-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; margin: 0 0 16px; }
.pd-alert .pd-ico { width: 19px; height: 19px; margin-top: 1px; }
.pd-alert-erro { background: var(--pd-err-bg); color: var(--pd-err); }
.pd-alert-ok { background: var(--pd-ok-bg); color: var(--pd-ok); }
.pd-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--pd-yellow) 14%, #fff); border: 1px solid color-mix(in srgb, var(--pd-yellow) 40%, #fff); margin: 0 0 20px; color: var(--pd-ink-2); }
.pd-callout .pd-ico { color: #8a5a00; margin-top: 2px; }
.pd-callout p { margin: 0; font-size: 14px; }
.pd-callout-ok { background: var(--pd-ok-bg); border-color: #c8e8d5; }
.pd-callout-ok .pd-ico { color: var(--pd-ok); }

/* Resumo em cartões */
.pd-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.pd-summary-card { padding: 18px; border-radius: 18px; background: var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-1); }
.pd-summary-accent { background: linear-gradient(150deg, color-mix(in srgb, var(--pd-yellow) 22%, #fff), #fff 70%); border-color: color-mix(in srgb, var(--pd-yellow) 35%, var(--pd-line)); }
.pd-summary-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--pd-bg); color: var(--pd-red); margin-bottom: 10px; }
.pd-summary-lbl { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-muted); }
.pd-summary-val { margin: 4px 0 2px; font-family: var(--pd-serif); font-size: 26px; line-height: 1.1; }
.pd-summary-sub { margin: 0; font-size: 13.5px; color: var(--pd-muted); }

/* ---------- Perfil ----------------------------------------------------- */
.pd-profile-hero { display: flex; gap: 28px; align-items: center; padding: 26px; margin-bottom: 20px; border-radius: 26px; background: radial-gradient(70% 140% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 22%, transparent), transparent 60%), radial-gradient(60% 120% at 0% 100%, color-mix(in srgb, var(--pd-red) 10%, transparent), transparent 60%), var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-2); }
.pd-profile-photo { position: relative; flex: 0 0 auto; }
.pd-profile-photo-btn { position: absolute; right: -6px; bottom: -6px; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--pd-ink); color: #fff; cursor: pointer; box-shadow: 0 0 0 4px var(--pd-paper); transition: transform .15s; }
.pd-profile-photo-btn:hover { transform: scale(1.06); background: var(--pd-red); }
.pd-profile-photo-btn .pd-ico { width: 18px; height: 18px; }
.pd-profile-id h2 { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: 34px; line-height: 1.05; }
.pd-profile-id > p { margin: 6px 0 12px; color: var(--pd-muted); }
.pd-profile-meta { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pd-profile-meta li { font-weight: 700; font-size: 14px; }
.pd-profile-meta span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-muted); }
.pd-kv { list-style: none; margin: 0 0 14px; padding: 0; }
.pd-kv li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--pd-line); font-size: 14px; }
.pd-kv li:last-child { border-bottom: 0; }
.pd-kv span { color: var(--pd-muted); }

/* ---------- Segurança -------------------------------------------------- */
.pd-sec-score { display: flex; align-items: center; gap: 22px; padding: 22px 24px; margin-bottom: 20px; border-radius: 22px; background: var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-2); }
.pd-sec-score h2 { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: 32px; line-height: 1; }
.pd-sec-score p { margin: 6px 0 0; color: var(--pd-muted); }
.pd-sec-score .pd-eyebrow { margin: 0 0 4px; }
.pd-sec-ring { --p: 33; --c: var(--pd-err); flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--pd-paper) 76%, transparent 78% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--pd-line-2) 0); color: var(--c); }
.pd-sec-ring .pd-ico { width: 28px; height: 28px; }
.pd-sec-n2 .pd-sec-ring { --c: #c98a00; }
.pd-sec-n3 .pd-sec-ring { --c: var(--pd-ok); }
.pd-method { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: 16px; border: 1px solid var(--pd-line); background: var(--pd-paper-2); }
.pd-method.is-on { border-color: #bfe3cd; background: var(--pd-ok-bg); }
.pd-method-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--pd-ink-2); box-shadow: var(--pd-sh-1); }
.pd-method-ico-plain .pd-ico { width: 22px; height: 22px; }
.pd-method-txt { flex: 1; min-width: 0; display: grid; }
.pd-method-txt strong { font-size: 14.5px; }
.pd-method-txt small { font-size: 13px; color: var(--pd-muted); }
.pd-method-ok { color: var(--pd-ok); width: 24px !important; height: 24px !important; }
.pd-2fa-wizard { margin-top: 14px; padding: 18px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--pd-red) 35%, var(--pd-line)); background: #fff; animation: pd-fade-up .3s var(--pd-ease); }
.pd-steps { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--pd-ink-2); }
.pd-qr-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pd-qr { width: 176px; height: 176px; border-radius: 16px; background: #fff; border: 1px solid var(--pd-line); display: grid; place-items: center; padding: 8px; }
.pd-qr svg, .pd-qr img { width: 100%; height: 100%; }
.pd-qr-key { display: grid; gap: 4px; }
.pd-qr-key span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-muted); }
.pd-qr-key code { font: 700 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; background: var(--pd-bg); padding: 8px 10px; border-radius: 10px; word-break: break-all; }
.pd-backup-box { margin-top: 14px; padding: 18px; border-radius: 16px; background: #1d1816; color: #efe8e1; }
.pd-backup-box p { margin: 0 0 12px; font-size: 14px; }
.pd-backup-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin: 0 0 14px; padding-left: 22px; font: 700 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--pd-yellow); }
.pd-backup-box .pd-btn-soft { background: rgba(255,255,255,.1); color: #fff !important; }
.pd-trust-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--pd-bg); font-size: 13px; color: var(--pd-ink-2); }
.pd-trust-note .pd-ico { width: 17px; height: 17px; color: var(--pd-muted); }
.pd-connect-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.pd-connect-list .pd-method { margin: 0; }

/* Diálogo */
.pd-dialog { border: 0; padding: 0; border-radius: 22px; width: min(440px, calc(100vw - 32px)); box-shadow: var(--pd-sh-3); color: var(--pd-ink); font-family: var(--pd-sans); }
.pd-dialog::backdrop { background: rgba(20, 16, 14, .5); backdrop-filter: blur(3px); }
.pd-dialog form { padding: 24px; }
.pd-dialog h2 { margin: 0 0 4px; font-family: var(--pd-serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.pd-dialog[open] { animation: pd-pop-in .2s var(--pd-ease); }

/* ---------- Privacidade ------------------------------------------------ */
.pd-lgpd-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.pd-lgpd-card { padding: 20px; border-radius: 20px; background: var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-1); }
.pd-lgpd-card span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--pd-red) 9%, #fff); color: var(--pd-red); margin-bottom: 12px; }
.pd-lgpd-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pd-lgpd-card p { margin: 0; font-size: 13.5px; color: var(--pd-muted); }
.pd-prose { font-size: 14.5px; color: var(--pd-ink-2); line-height: 1.65; }
.pd-prose h3 { font-size: 15px; color: var(--pd-ink); margin: 18px 0 6px; }
.pd-prose h3:first-child { margin-top: 0; }
.pd-prose p { margin: 0 0 10px; }

/* ---------- Histórico -------------------------------------------------- */
.pd-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pd-timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--pd-line), var(--pd-line-2)); }
.pd-tl-mes { position: relative; margin: 18px 0 10px; padding-left: 52px; }
.pd-tl-mes:first-child { margin-top: 0; }
.pd-tl-mes span { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--pd-ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.pd-tl-item { position: relative; display: flex; gap: 14px; padding: 8px 0; }
.pd-tl-dot { position: relative; z-index: 1; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--pd-paper); }
.pd-tl-dot .pd-ico { width: 18px; height: 18px; }
.pd-tl-body { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 14px; background: var(--pd-paper-2); border: 1px solid var(--pd-line-2); }
.pd-tl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-tl-top a { color: var(--pd-ink) !important; text-decoration: none !important; }
.pd-tl-top a:hover strong { color: var(--pd-red); }
.pd-tl-top strong { font-size: 14.5px; }
.pd-tl-body small { color: var(--pd-muted); font-size: 13px; }

/* ---------- Ajuda ------------------------------------------------------ */
.pd-help-hero { text-align: center; padding: 34px 20px 28px; margin-bottom: 20px; border-radius: 28px; background: radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--pd-yellow) 26%, transparent), transparent 70%), var(--pd-paper); border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-2); }
.pd-help-hero .pd-page-title { font-size: clamp(36px, 4.4vw, 54px); }
.pd-help-search { position: relative; max-width: 620px; margin: 22px auto 18px; }
.pd-help-search .pd-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--pd-muted); }
.pd-help-search input { width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 18px; border: 1px solid #ddd5cd; background: #fff; font: 500 16px var(--pd-sans); color: var(--pd-ink); box-shadow: var(--pd-sh-2); }
.pd-help-search input:focus { outline: none; border-color: var(--pd-red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pd-red) 12%, transparent), var(--pd-sh-2); }
.pd-faq { display: grid; gap: 10px; margin-bottom: 20px; }
.pd-faq-item { background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: 18px; box-shadow: var(--pd-sh-1); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pd-faq-item[open] { border-color: color-mix(in srgb, var(--pd-red) 30%, var(--pd-line)); box-shadow: var(--pd-sh-2); }
.pd-faq-item summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.pd-faq-item summary::-webkit-details-marker { display: none; }
.pd-faq-cat { grid-column: 1; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-red); }
.pd-faq-item summary strong { grid-column: 1; font-size: 15.5px; }
.pd-faq-chev { grid-column: 2; grid-row: 1 / span 2; color: var(--pd-muted); transition: transform .2s var(--pd-ease); }
.pd-faq-item[open] .pd-faq-chev { transform: rotate(180deg); color: var(--pd-red); }
.pd-faq-body { padding: 0 18px 16px; }
.pd-faq-voto { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--pd-line); font-size: 13px; color: var(--pd-muted); }
.pd-faq-voto button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--pd-line); background: #fff; font: 650 13px var(--pd-sans); color: var(--pd-ink-2); cursor: pointer; }
.pd-faq-voto button .pd-ico { width: 15px; height: 15px; }
.pd-faq-voto button:hover { border-color: var(--pd-ink-2); }
.pd-faq-voto.is-done button { display: none; }
.pd-help-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--pd-red), var(--pd-red-deep)); }
.pd-help-cta h2 { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: 30px; color: #fff; }
.pd-help-cta p { margin: 4px 0 0; opacity: .85; }
.pd-sugestoes { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--pd-yellow) 12%, #fff); font-size: 13.5px; }
.pd-sugestoes p { margin: 0 0 6px; font-weight: 700; }
.pd-sugestoes ul { margin: 0; padding-left: 18px; }

/* ---------- Chamados --------------------------------------------------- */
.pd-tickets { list-style: none; margin: 0; padding: 0; }
.pd-ticket { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; color: var(--pd-ink) !important; text-decoration: none !important; transition: background .15s; }
.pd-ticket:hover { background: var(--pd-bg); }
.pd-ticket.is-attn { background: color-mix(in srgb, var(--pd-yellow) 12%, #fff); }
.pd-ticket-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #efe9fb; color: #4a3aa7; flex: 0 0 auto; }
.pd-ticket-txt { flex: 1; min-width: 0; display: grid; }
.pd-ticket-txt strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-ticket-txt small { color: var(--pd-muted); font-size: 13px; }
.pd-ticket-chev { color: var(--pd-muted); width: 18px !important; height: 18px !important; }
.pd-steps-h { list-style: none; display: flex; gap: 8px; margin: 0 0 18px; padding: 0; counter-reset: s; }
.pd-steps-h li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--pd-paper); border: 1px solid var(--pd-line); font-weight: 700; font-size: 13.5px; color: var(--pd-muted); }
.pd-steps-h li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pd-line-2); font-size: 12px; }
.pd-steps-h li span .pd-ico { width: 15px; height: 15px; }
.pd-steps-h li.is-done { color: var(--pd-ink); border-color: color-mix(in srgb, var(--pd-ok) 30%, var(--pd-line)); }
.pd-steps-h li.is-done span { background: var(--pd-ok); color: #fff; }
.pd-thread { display: grid; gap: 14px; margin-bottom: 18px; }
.pd-msg { display: flex; gap: 12px; align-items: flex-start; max-width: 86%; }
.pd-msg.is-me { margin-left: auto; flex-direction: row-reverse; }
.pd-msg-bubble { padding: 12px 16px; border-radius: 18px; background: var(--pd-bg); border: 1px solid var(--pd-line-2); min-width: 0; }
.pd-msg.is-me .pd-msg-bubble { background: color-mix(in srgb, var(--pd-red) 7%, #fff); border-color: color-mix(in srgb, var(--pd-red) 18%, #fff); border-top-right-radius: 6px; }
.pd-msg.is-rh .pd-msg-bubble { border-top-left-radius: 6px; }
.pd-msg.is-interna .pd-msg-bubble { background: var(--pd-warn-bg); border-style: dashed; }
.pd-msg-bubble header { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 4px; font-size: 13px; }
.pd-msg-bubble time { color: var(--pd-muted); }
.pd-msg-txt { font-size: 14.5px; color: var(--pd-ink-2); overflow-wrap: anywhere; }
.pd-anexo { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--pd-line); font-size: 13px; font-weight: 700; text-decoration: none !important; }
.pd-anexo .pd-ico { width: 15px; height: 15px; }
.pd-reply { padding-top: 16px; border-top: 1px solid var(--pd-line-2); }
.pd-rate { padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--pd-line-2); text-align: center; }
.pd-rate p { margin: 0 0 8px; }
.pd-stars { display: inline-flex; gap: 4px; }
.pd-stars button { width: 42px; height: 42px; border: 0; background: none; color: #d9d0c7; cursor: pointer; border-radius: 10px; transition: color .1s, transform .1s; }
.pd-stars button .pd-ico { width: 30px; height: 30px; fill: currentColor; }
.pd-stars:hover button { color: var(--pd-yellow); }
.pd-stars button:hover ~ button { color: #d9d0c7; }
.pd-stars button:hover { transform: scale(1.12); }

/* ---------- Conteúdo legado dentro do portal (cartões, tabelas, abas) -- */
.pd-app .pd-card { background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: var(--pd-r-lg); padding: 22px; margin-bottom: 20px; box-shadow: var(--pd-sh-2); transform: none !important; }
.pd-app .pd-card:hover { transform: none !important; box-shadow: var(--pd-sh-2); }
.pd-app .pd-card-head h2 { font-size: 16.5px; font-weight: 800; font-family: var(--pd-sans); }
.pd-app .pd-subtle { color: var(--pd-muted); font-size: 13.5px; }
.pd-app .pd-table, .pd-app-lite .pd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: transparent; }
.pd-app .pd-table th { background: var(--pd-paper-2); color: var(--pd-muted); font: 800 11.5px/1.2 var(--pd-sans); letter-spacing: .07em; text-transform: uppercase; padding: 11px 14px; border-bottom: 1px solid var(--pd-line); text-align: left; }
.pd-app .pd-table th:first-child { border-top-left-radius: 12px; }
.pd-app .pd-table th:last-child { border-top-right-radius: 12px; }
.pd-app .pd-table td { padding: 13px 14px; border-bottom: 1px solid var(--pd-line-2); vertical-align: middle; }
.pd-app .pd-table tr:last-child td { border-bottom: 0; }
.pd-app .pd-table tr:hover td { background: var(--pd-paper-2); }
.pd-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--pd-line-2); }
.pd-app .pd-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 5px; margin: 0 0 20px; border: 1px solid var(--pd-line); border-radius: 14px; background: var(--pd-paper); box-shadow: var(--pd-sh-1); width: fit-content; max-width: 100%; }
.pd-app .pd-tabs a, .pd-app .pd-tabs button { border-radius: 10px; padding: 8px 14px; font: 700 13.5px/1.2 var(--pd-sans); color: var(--pd-ink-2); border: 0; }
.pd-app .pd-tabs a:hover { background: var(--pd-bg); }
.pd-app .pd-tabs a.active, .pd-app .pd-tabs button.active { background: var(--pd-ink); color: #fff; }
.pd-app .pd-kpi-row { gap: 12px; }
.pd-app .pd-kpi { border-radius: 16px; border: 1px solid var(--pd-line); border-top: 0; box-shadow: var(--pd-sh-1); position: relative; overflow: hidden; padding: 18px; }
.pd-app .pd-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pd-red); }
.pd-app .pd-kpi.pd-kpi-alt::before { background: var(--pd-yellow); }
.pd-app .pd-kpi strong { font-family: var(--pd-serif); font-weight: 400; font-size: 38px; line-height: 1; }
.pd-app .pd-kpi span { font-size: 13px; }
.pd-app .pd-notice { border-radius: 12px; border-left-width: 4px; background: color-mix(in srgb, var(--pd-yellow) 12%, #fff); font-size: 14px; padding: 12px 16px; }
.pd-app .pd-notice.pd-notice-error { background: var(--pd-err-bg); border-left-color: var(--pd-red); color: var(--pd-err); }
.pd-app .pd-field label { font-size: 13px; color: var(--pd-ink-2); }
.pd-app .pd-field input, .pd-app .pd-field select, .pd-app .pd-field textarea { border-radius: 10px; min-height: 42px; border-color: #ddd5cd; font-family: var(--pd-sans); font-size: 14px; }
.pd-app .pd-field input:focus, .pd-app .pd-field select:focus, .pd-app .pd-field textarea:focus { outline: none; border-color: var(--pd-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pd-red) 14%, transparent); }
.pd-app .pd-save-status { margin: 0; }
.pd-area-embed #pd-meus-holerites > .pd-card-head, .pd-area-embed #pd-epi-sol > .pd-card-head { display: none; }
.pd-area-embed .pd-gt-link-app { display: none; }
.pd-app .pd-log-detalhes summary { cursor: pointer; }
.pd-app .pd-janela-aviso { border-radius: 12px; }
.pd-app .pd-stage { border-radius: 18px; }
.pd-app .pd-recolher-btn { border-radius: 10px; }

/* ---------- Busca (Ctrl K) --------------------------------------------- */
.pd-cmd { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(20, 16, 14, .45); backdrop-filter: blur(4px); }
.pd-cmd[hidden] { display: none; }
.pd-cmd-box { width: min(620px, 100%); background: var(--pd-paper); border-radius: 22px; box-shadow: var(--pd-sh-3); overflow: hidden; animation: pd-pop-in .18s var(--pd-ease); }
.pd-cmd-input { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--pd-line-2); }
.pd-cmd-input .pd-ico { color: var(--pd-muted); }
.pd-cmd-input input { flex: 1; border: 0 !important; outline: none; font: 500 17px var(--pd-sans); background: transparent; color: var(--pd-ink); box-shadow: none !important; padding: 6px 0; }
.pd-cmd-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; }
.pd-cmd-list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--pd-ink) !important; text-decoration: none !important; font-weight: 600; }
.pd-cmd-list a .pd-ico { color: var(--pd-muted); width: 18px; height: 18px; }
.pd-cmd-list a small { margin-left: auto; color: var(--pd-muted); font-weight: 500; font-size: 12.5px; }
.pd-cmd-list a.is-sel, .pd-cmd-list a:hover { background: color-mix(in srgb, var(--pd-red) 8%, #fff); }
.pd-cmd-list a.is-sel .pd-ico { color: var(--pd-red); }
.pd-cmd-dica { margin: 0; padding: 10px 18px; border-top: 1px solid var(--pd-line-2); font-size: 12.5px; color: var(--pd-muted); }

/* ---------- Toasts ----------------------------------------------------- */
.pd-toasts { position: fixed; z-index: 300; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.pd-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #1d1816; color: #f5efe9; box-shadow: var(--pd-sh-3); font: 600 14px/1.45 var(--pd-sans); animation: pd-toast-in .35s var(--pd-ease); }
.pd-toast .pd-ico { width: 20px; height: 20px; margin-top: 1px; color: #4ade80; }
.pd-toast.is-erro .pd-ico { color: #fb7185; }
.pd-toast button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 0 0 0 6px; font-size: 18px; line-height: 1; }
.pd-toast.is-out { animation: pd-toast-out .25s var(--pd-ease) forwards; }

/* ---------- Barra inferior (celular) ---------------------------------- */
.pd-tabbar { display: none; }

/* =========================================================================
   Telas de acesso (login, 2 etapas, recuperar senha, primeiro acesso)
   ========================================================================= */
.pd-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; background: var(--pd-paper); }
.pd-auth.pd-auth-largo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.pd-auth-art {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
	padding: 44px 52px; color: #fff;
	background:
		radial-gradient(70% 50% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 40%, transparent) 0%, transparent 60%),
		radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,.45) 0%, transparent 60%),
		linear-gradient(150deg, var(--pd-red) 0%, var(--pd-red-dark) 50%, var(--pd-red-deep) 100%);
}
.pd-auth-art-top { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; }
.pd-auth-art-top img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.pd-auth-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pd-yellow); }
.pd-auth-art h2 { margin: 0 0 28px; font-family: var(--pd-serif); font-weight: 400; font-size: clamp(44px, 4.6vw, 72px); line-height: .98; letter-spacing: -.02em; color: #fff; max-width: 11ch; }
.pd-auth-art h2 em { color: var(--pd-yellow); }
.pd-auth-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-auth-art li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,.92); }
.pd-auth-art li .pd-ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: rgba(255,255,255,.12); color: var(--pd-yellow); }
.pd-auth-art-foot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.pd-auth-art-foot .pd-ico { width: 17px; height: 17px; }
.pd-auth-orb { position: absolute; z-index: -1; border-radius: 50%; }
.pd-auth-orb-1 { width: 420px; height: 420px; right: -140px; bottom: -120px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025); }
.pd-auth-orb-2 { width: 160px; height: 160px; right: 18%; top: 14%; background: radial-gradient(circle, color-mix(in srgb, var(--pd-yellow) 60%, transparent), transparent 70%); filter: blur(10px); animation: pd-float 9s ease-in-out infinite; }
.pd-auth-grid { position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); }
.pd-auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; background: radial-gradient(60% 40% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 8%, transparent), transparent 70%), var(--pd-paper); }
.pd-auth-card { width: 100%; max-width: 430px; display: grid; gap: 16px; animation: pd-fade-up .5s var(--pd-ease) both; }
.pd-auth-largo .pd-auth-card { max-width: 760px; }
.pd-auth-brand-m { display: none; }
.pd-auth-title { margin: 0; font-family: var(--pd-serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.015em; color: var(--pd-ink); }
.pd-auth-sub { margin: -6px 0 6px; color: var(--pd-muted); font-size: 15.5px; }
.pd-auth-form { display: grid; gap: 16px; }
.pd-auth .pd-field { margin-bottom: 0; }
.pd-auth .pd-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--pd-ink-2); }
.pd-auth .pd-field input, .pd-auth .pd-field select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid #ddd5cd; background: #fff; font: 500 15px var(--pd-sans); color: var(--pd-ink); }
.pd-auth .pd-field input:focus { outline: none; border-color: var(--pd-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pd-red) 14%, transparent); }
.pd-auth form:not(.pd-auth-form) { display: grid; gap: 14px; }
.pd-auth-legal { margin: 26px 0 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--pd-muted); }
.pd-auth-legal a { color: var(--pd-muted) !important; }
.pd-auth-help { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--pd-muted); }
.pd-auth-help .pd-ico { width: 16px; height: 16px; margin-top: 2px; }
.pd-auth-trust { list-style: none; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 0; padding: 0; font-size: 12.5px; color: var(--pd-muted); font-weight: 600; }
.pd-auth-trust li { display: inline-flex; align-items: center; gap: 6px; }
.pd-auth-trust .pd-ico { width: 15px; height: 15px; color: var(--pd-ok); }
.pd-sso { display: grid; gap: 10px; }
.pd-sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid #ddd5cd; background: #fff; color: var(--pd-ink) !important; font: 700 14.5px var(--pd-sans); text-decoration: none !important; box-shadow: var(--pd-sh-1); transition: border-color .15s, transform .15s, box-shadow .15s; }
.pd-sso-btn:hover { border-color: var(--pd-ink-2); transform: translateY(-1px); box-shadow: var(--pd-sh-2); }
.pd-sso-apple { background: #111; border-color: #111; color: #fff !important; }
.pd-divider { display: flex; align-items: center; gap: 12px; color: var(--pd-muted); font-size: 12.5px; font-weight: 600; }
.pd-divider::before, .pd-divider::after { content: ""; flex: 1; height: 1px; background: var(--pd-line); }
.pd-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pd-auth .pd-otp input { min-height: 58px !important; padding: 0 !important; text-align: center; font: 700 24px var(--pd-sans) !important; border-radius: 14px !important; caret-color: var(--pd-red); }
.pd-2fa-hero { display: flex; }
.pd-2fa-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--pd-red); background: color-mix(in srgb, var(--pd-red) 9%, #fff); }
.pd-2fa-ico .pd-ico { width: 28px; height: 28px; }
.pd-2fa-alt { display: grid; justify-items: start; gap: 4px; }
.pd-2fa-alt form { display: block !important; }
.pd-termos-box { max-height: 46vh; overflow-y: auto; padding: 18px 20px; border-radius: 16px; background: var(--pd-paper-2); border: 1px solid var(--pd-line); font-size: 14.5px; line-height: 1.65; color: var(--pd-ink-2); }
.pd-termos-box h3 { font-size: 15px; color: var(--pd-ink); margin: 14px 0 6px; }
.pd-termos-box h3:first-child { margin-top: 0; }
.pd-termos-mais { font-size: 13px; color: var(--pd-muted); }
/* Primeiro acesso (cartão largo) */
.pd-auth .pd-pa-identidade { display: flex; flex-wrap: wrap; gap: 10px 26px; background: var(--pd-paper-2); border: 1px solid var(--pd-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 4px; }
.pd-auth .pd-pa-identidade span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--pd-muted); font-weight: 800; }
.pd-auth .pd-pa-titulo { font-size: 15px; margin: 8px 0 6px; padding-top: 14px; border-top: 1px solid var(--pd-line); }
.pd-auth .pd-pa-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.pd-auth .pd-pa-grade .pd-pa-largo { grid-column: 1 / -1; }
.pd-auth .pd-pa-dica { font-size: 12.5px; color: var(--pd-muted); margin: 0; }

/* ---------- Tela do RH: Portal e Atendimento -------------------------- */
.pd-app-lite .pd-thread { display: grid; gap: 12px; margin: 10px 0 18px; }
.pd-app-lite .pd-msg { display: flex; gap: 10px; max-width: 88%; }
.pd-app-lite .pd-msg.is-me { margin-left: auto; flex-direction: row-reverse; }
.pd-app-lite .pd-msg-bubble { padding: 10px 14px; border-radius: 14px; background: #f5f2ee; border: 1px solid #ece6e0; }
.pd-app-lite .pd-msg.is-me .pd-msg-bubble { background: #fdf1f1; }
.pd-app-lite .pd-msg.is-interna .pd-msg-bubble { background: #fff6dc; border-style: dashed; }
.pd-app-lite .pd-msg-bubble header { display: flex; gap: 12px; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.pd-app-lite .pd-av { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #24232a; color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.pd-app-lite .pd-atd-detalhe { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.pd-app-lite .pd-kv { list-style: none; padding: 0; margin: 0; }
.pd-app-lite .pd-kv li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e6e2df; font-size: 13px; }
.pd-app-lite .pd-kv span { color: #66636b; }
.pd-app-lite .pd-form { display: grid; gap: 10px; }
.pd-app-lite .pd-file { cursor: pointer; font-size: 13px; }
.pd-app-lite h3 { font-size: 15px; margin: 18px 0 4px; }
.pd-app-lite code { background: #f5f2ee; padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.pd-app-lite details.pd-card > summary { cursor: pointer; }
@media (max-width: 900px) { .pd-app-lite .pd-atd-detalhe { grid-template-columns: 1fr; } }

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 1120px) {
	.pd-app { grid-template-columns: minmax(0, 1fr); }
	.pd-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(var(--pd-side-w), 86vw); height: auto; transform: translateX(-102%); visibility: hidden; transition: transform .28s var(--pd-ease), visibility 0s linear .28s; box-shadow: none; z-index: 120; }
	.pd-app.is-menu-open .pd-side { transform: translateX(0); visibility: visible; transition: transform .28s var(--pd-ease); box-shadow: 20px 0 60px -20px rgba(0,0,0,.5); }
	.pd-icon-btn.pd-side-close { display: inline-grid; }
	.pd-scrim { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(20,16,14,.45); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }
	.pd-app.is-menu-open .pd-scrim { opacity: 1; pointer-events: auto; }
	.pd-icon-btn.pd-menu-btn { display: inline-grid; }
	.pd-top { padding: 10px 20px; }
	.pd-app .pd-wrap.pd-app-content { padding: 22px 20px 48px; }
	.pd-foot { padding: 16px 20px 24px; }
	.pd-dash { grid-template-columns: minmax(0, 1fr); }
	.pd-dash-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-search-btn { min-width: 0; }
	.pd-search-btn span, .pd-search-btn kbd { display: none; }
	.pd-search-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 960px) {
	.pd-auth, .pd-auth.pd-auth-largo { grid-template-columns: minmax(0, 1fr); }
	.pd-auth-art { display: none; }
	.pd-auth-main { justify-content: flex-start; padding: 0 20px 32px; background: var(--pd-paper); }
	.pd-auth-main::before { content: ""; display: block; width: calc(100% + 40px); height: 150px; margin: 0 -20px -54px; background: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--pd-yellow) 45%, transparent), transparent 60%), linear-gradient(135deg, var(--pd-red), var(--pd-red-deep)); border-radius: 0 0 32px 32px; }
	.pd-auth-brand-m { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 24px; background: #fff; box-shadow: var(--pd-sh-3); margin-bottom: 4px; }
	.pd-auth-brand-m img { width: 58px; height: 58px; object-fit: contain; }
	.pd-auth .pd-pa-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
	.pd-grid-2, .pd-grid-2-wide { grid-template-columns: minmax(0, 1fr); }
	.pd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-summary, .pd-lgpd-intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.pd-app { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.pd-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 22px; background: rgba(25, 21, 19, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
	.pd-tabbar a, .pd-tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 16px; border: 0; background: none; color: #bfb5ab !important; font: 650 11px/1.2 var(--pd-sans); text-decoration: none !important; cursor: pointer; }
	.pd-tabbar .pd-ico { width: 21px; height: 21px; }
	.pd-tabbar .is-active { color: #fff !important; background: rgba(255,255,255,.1); }
	.pd-tabbar .is-active .pd-ico { color: var(--pd-yellow); }
	.pd-tabbar em { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--pd-red); color: #fff; font: 800 10px/17px var(--pd-sans); font-style: normal; box-shadow: 0 0 0 2px #191513; }
	.pd-toasts { bottom: calc(92px + env(safe-area-inset-bottom)); right: 16px; left: 16px; width: auto; }
	.pd-top { padding: 8px 14px; min-height: 60px; gap: 8px; }
	.pd-user-txt, .pd-user-chev { display: none; }
	.pd-user-btn { padding: 4px; height: 44px; }
	.pd-top-crumb-grupo, .pd-top-crumb .pd-top-crumb-sep { display: none; }
	.pd-app .pd-wrap.pd-app-content { padding: 18px 14px 32px; }
	.pd-foot { padding: 14px 16px 20px; flex-direction: column; align-items: flex-start; }
	.pd-panel, .pd-app .pd-card { padding: 18px 16px; border-radius: 18px; }
	.pd-hero { border-radius: 24px; padding: 24px 20px; gap: 18px; }
	.pd-hero-title { font-size: 42px; }
	.pd-hero-ctas .pd-btn { flex: 1 1 auto; }
	.pd-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pd-quick-item { padding: 14px; }
	.pd-dash-side { grid-template-columns: minmax(0, 1fr); }
	.pd-page-title { font-size: 34px; }
	.pd-page-actions { width: 100%; }
	.pd-page-actions .pd-btn { flex: 1 1 auto; }
	.pd-form-grid { grid-template-columns: minmax(0, 1fr); }
	.pd-form-inline { grid-template-columns: minmax(0, 1fr); }
	.pd-task { flex-wrap: wrap; }
	.pd-task .pd-btn { width: 100%; }
	.pd-rows li { flex-wrap: wrap; }
	.pd-rows li .pd-btn { margin-left: 52px; }
	.pd-profile-hero { flex-direction: column; text-align: center; padding: 24px 18px; }
	.pd-profile-meta { justify-content: center; }
	.pd-sec-score { flex-direction: column; text-align: center; }
	.pd-steps-h li { padding: 8px; font-size: 12px; flex-direction: column; text-align: center; }
	.pd-msg { max-width: 100%; }
	.pd-pop-panel { position: fixed; left: 10px; right: 10px; top: 66px; width: auto; }
	.pd-backup-codes { grid-template-columns: minmax(0, 1fr); }
	/* Tabela que vira cartões no celular */
	.pd-table-cards thead { display: none; }
	.pd-table-cards, .pd-table-cards tbody, .pd-table-cards tr, .pd-table-cards td { display: block; width: 100%; }
	.pd-table-cards tr { padding: 10px 4px; border-bottom: 1px solid var(--pd-line-2); }
	.pd-app .pd-table-cards td { padding: 4px 10px; border: 0; display: flex; justify-content: space-between; gap: 12px; }
	.pd-app .pd-table-cards td::before { content: attr(data-label); color: var(--pd-muted); font-size: 12.5px; font-weight: 700; }
	.pd-table-wrap { border: 0; }
	.pd-auth .pd-pa-grade { grid-template-columns: minmax(0, 1fr); }
	.pd-auth-title { font-size: 34px; }
}

/* Movimento */
@keyframes pd-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pd-pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pd-toast-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pd-toast-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes pd-spin { to { transform: rotate(360deg); } }
@keyframes pd-skel { to { background-position: -200% 0; } }
@keyframes pd-pulse { 0%, 100% { box-shadow: 0 0 0 2px var(--pd-bg), 0 0 0 2px color-mix(in srgb, var(--pd-red) 50%, transparent); } 50% { box-shadow: 0 0 0 2px var(--pd-bg), 0 0 0 7px transparent; } }
@keyframes pd-pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
@keyframes pd-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 18px); } }
@media (prefers-reduced-motion: reduce) {
	.pd-app *, .pd-auth *, .pd-app *::before, .pd-auth *::before { animation: none !important; transition: none !important; }
}
@media print {
	.pd-side, .pd-top, .pd-tabbar, .pd-foot, .pd-toasts { display: none !important; }
	.pd-app { display: block; background: #fff; }
}
.pd-task .pd-btn { text-align: center; flex: 0 0 auto; max-width: 46%; }
@media (max-width: 760px) { .pd-task .pd-btn { max-width: none; } }

/* =========================================================================
   Portal do RH no layout novo (2.13.1): as telas existentes entram no
   conteúdo; o cabeçalho antigo de cada tela dá lugar ao cabeçalho do portal
   e a navegação principal vai para o menu lateral.
   ========================================================================= */
.pd-app .pd-portal-rh { font-family: var(--pd-sans); color: var(--pd-ink); }
.pd-rh-legado .pd-wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; animation: none !important; font-family: var(--pd-sans); }
.pd-rh-legado .pd-topbar, .pd-rh-legado .pd-header, .pd-rh-legado .pd-portal-nav { display: none !important; }
.pd-rh-legado[data-pd-tela="dashboard"] > .pd-wrap > .pd-menu-grupos { display: none; }
.pd-rh-legado .pd-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
.pd-rh-legado .pd-tabs a { white-space: nowrap; }
.pd-rh-legado .pd-menu-grupos a { border-radius: 12px; font-family: var(--pd-sans); }
.pd-rh-legado .pd-menu-grupos a.active { background: var(--pd-ink); border-color: var(--pd-ink); }
.pd-rh-legado .pd-chart-card, .pd-rh-legado .pd-kpi { box-shadow: var(--pd-sh-1); }
.pd-rh-legado .pd-chart-card { border-radius: 18px; border-color: var(--pd-line); }
.pd-rh-legado h2, .pd-rh-legado h3 { font-family: var(--pd-sans); }
.pd-rh-legado .pd-section-title { font-family: var(--pd-serif); font-weight: 400; font-size: 26px; margin-top: 30px; }
.pd-rh-controle-nav { margin-bottom: 6px !important; }
.pd-app .pd-controle-nav { border-radius: 16px !important; border-color: var(--pd-line) !important; box-shadow: var(--pd-sh-1); padding: 12px 14px !important; }
.pd-app .pd-controle-grupos a.active { background: var(--pd-ink) !important; border-color: var(--pd-ink) !important; }
.pd-app .pd-controle-grupos a, .pd-app .pd-controle-itens a { font-family: var(--pd-sans) !important; }
.pd-app-lite { font-family: var(--pd-sans); }
.pd-stats-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-stat-link { display: flex !important; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.pd-stat-link span:last-child { margin: 0; color: var(--pd-ink); font-size: 14px; }
.pd-stat-link:hover .pd-quick-ico { background: var(--pd-red); color: #fff; }
@media (max-width: 760px) { .pd-stats-links { grid-template-columns: minmax(0, 1fr); } }
.pd-app .pd-toolbar select, .pd-app .pd-toolbar input[type=search], .pd-app .pd-toolbar input[type=text], .pd-app .pd-toolbar input[type=date] { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid #ddd5cd; background: #fff; font: 500 14px var(--pd-sans); color: var(--pd-ink); }
.pd-app .pd-toolbar select:focus, .pd-app .pd-toolbar input:focus { outline: none; border-color: var(--pd-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pd-red) 14%, transparent); }

/* 2.13.2 — ajustes de responsividade (celular 320px e tablets) */
.pd-app .pd-menu-grupos { flex-wrap: wrap; gap: 8px; }
.pd-app .pd-menu-grupos a { padding: 9px 18px; font-size: 13.5px; }
.pd-app .pd-card, .pd-app .pd-panel, .pd-app .pd-chart-card { min-width: 0; max-width: 100%; }
.pd-app img, .pd-app canvas, .pd-app iframe { max-width: 100%; }
@media (max-width: 1024px) {
	/* Tabelas largas: rolagem lateral dentro do cartão, sem a página "vazar". */
	.pd-app .pd-table:not(.pd-table-cards) { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.pd-app .pd-table:not(.pd-table-cards) th { white-space: nowrap; }
	.pd-app .pd-chart-grid { grid-template-columns: minmax(0, 1fr); }
	.pd-app .pd-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.pd-app .pd-app-content .pd-btn { white-space: normal; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; line-height: 1.25; }
	.pd-app .pd-toolbar { flex-wrap: wrap; }
	.pd-app .pd-toolbar > * { max-width: 100%; }
	.pd-app .pd-fields { grid-template-columns: minmax(0, 1fr); }
	.pd-app .pd-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-app .pd-kpi strong { font-size: 30px; }
	.pd-app .pd-card-head { flex-wrap: wrap; }
	.pd-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pd-hero-stats strong { font-size: 28px; }
	.pd-hero-stats span { font-size: 11.5px; }
}
@media (max-width: 360px) {
	.pd-quick { grid-template-columns: minmax(0, 1fr); }
	.pd-app .pd-kpi-row { grid-template-columns: minmax(0, 1fr); }
	.pd-hero-title { font-size: 36px; }
	.pd-otp { gap: 5px; }
	.pd-auth .pd-otp input { min-height: 50px !important; font-size: 20px !important; }
	.pd-tabbar span { font-size: 10px; }
}
/* Tablet em pé: menu vira gaveta e a página inicial usa duas colunas no lado. */
@media (min-width: 761px) and (max-width: 1120px) {
	.pd-hero { grid-template-columns: minmax(0, 1fr); }
	.pd-hero-side { max-width: 520px; }
	.pd-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pd-tl-top { min-width: 0; }
.pd-tl-top strong { overflow-wrap: anywhere; }
@media (max-width: 400px) { .pd-app .pd-badge { white-space: normal; } }

/* 2.13.3 — Portarias no portal */
.pd-port-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.pd-port-grid aside { position: sticky; top: 88px; }
.pd-port-papel { max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--pd-line); border-radius: 14px; padding: 28px; }
.pd-port-acoes { position: sticky; bottom: 12px; background: color-mix(in srgb, var(--pd-paper) 92%, transparent); backdrop-filter: blur(8px); padding: 12px; border-radius: 14px; border: 1px solid var(--pd-line); box-shadow: var(--pd-sh-2); justify-content: flex-end; }
.pd-portarias .wp-editor-wrap { border-radius: 12px; overflow: hidden; }
.pd-portarias .wp-editor-container textarea { font-family: var(--pd-sans); }
.pd-port-legado .wrap > h1, .pd-port-assinar .apdig-wrap > h1 { display: none; }
.pd-port-legado .apdig-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 18px; }
.pd-port-legado .apdig-papel { background: #fff; border: 1px solid var(--pd-line); border-radius: 16px; padding: 28px; box-shadow: var(--pd-sh-1); max-height: 75vh; overflow: auto; }
.pd-port-legado .apdig-card { background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--pd-sh-1); }
.pd-port-legado .button, .pd-port-legado input[type=submit] { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--pd-line); background: #fff; font: 700 14px var(--pd-sans); cursor: pointer; text-decoration: none; color: var(--pd-ink); }
.pd-port-legado .button-primary, .pd-port-legado input[type=submit].button-primary { background: var(--pd-red); border-color: var(--pd-red-dark); color: #fff; }
.pd-port-legado .button-hero { min-height: 50px; font-size: 15.5px; width: 100%; justify-content: center; }
.pd-port-legado input[type=password], .pd-port-legado input[type=text], .pd-port-legado input[type=number], .pd-port-legado select, .pd-port-legado textarea { min-height: 40px; padding: 6px 12px; border-radius: 10px; border: 1px solid #ddd5cd; font: 500 14px var(--pd-sans); max-width: 100%; }
.pd-port-legado .apdig-hash { word-break: break-all; font-size: 11px; }
.pd-port-legado .nav-tab-wrapper { display: flex; gap: 4px; flex-wrap: wrap; border: 0; margin: 0 0 16px; padding: 5px; border-radius: 14px; background: var(--pd-paper-2); border: 1px solid var(--pd-line); width: fit-content; max-width: 100%; }
.pd-port-legado .nav-tab { border: 0; background: none; border-radius: 10px; padding: 8px 14px; font: 700 13.5px var(--pd-sans); color: var(--pd-ink-2); text-decoration: none; margin: 0; }
.pd-port-legado .nav-tab-active { background: var(--pd-ink); color: #fff; }
.pd-port-legado .form-table { width: 100%; border-collapse: collapse; }
.pd-port-legado .form-table th { text-align: left; vertical-align: top; width: 240px; padding: 14px 12px 14px 0; font-size: 14px; }
.pd-port-legado .form-table td { padding: 10px 0; }
.pd-port-legado .widefat { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pd-port-legado .widefat th, .pd-port-legado .widefat td { padding: 10px; border-bottom: 1px solid var(--pd-line-2); text-align: left; }
.pd-port-legado .description { color: var(--pd-muted); font-size: 13px; }
@media (max-width: 1024px) { .pd-port-grid, .pd-port-legado .apdig-cols { grid-template-columns: minmax(0, 1fr); } .pd-port-grid aside { position: static; } }
@media (max-width: 760px) { .pd-port-legado .form-table th, .pd-port-legado .form-table td { display: block; width: auto; padding: 6px 0; } .pd-port-papel, .pd-port-legado .apdig-papel { padding: 16px; } }

/* 2.13.4 — botão "vidro" do destaque: imune a estilos de tema/otimizadores e ao :hover genérico. */
.pd-app .pd-hero .pd-btn.pd-btn-glass,
.pd-app .pd-hero a.pd-btn.pd-btn-glass:link,
.pd-app .pd-hero a.pd-btn.pd-btn-glass:visited { background: rgba(0,0,0,.18) !important; background-image: none !important; border: 1px solid rgba(255,255,255,.45) !important; color: #fff !important; box-shadow: none !important; }
.pd-app .pd-hero .pd-btn.pd-btn-glass:hover,
.pd-app .pd-hero .pd-btn.pd-btn-glass:focus-visible { background: rgba(0,0,0,.3) !important; border-color: rgba(255,255,255,.7) !important; color: #fff !important; }
.pd-app .pd-hero .pd-btn.pd-btn-glass span,
.pd-app .pd-hero .pd-btn.pd-btn-glass .pd-ico { color: #fff !important; }
.pd-app .pd-stat-link .pd-quick-ico { flex: 0 0 42px; width: 42px; height: 42px; margin: 0 !important; padding: 0; display: grid !important; place-items: center; font-size: 0; line-height: 0; }
.pd-app .pd-stat-link .pd-quick-ico .pd-ico { width: 20px; height: 20px; margin: 0; }
.pd-app .pd-stat-link span:last-child { line-height: 1.3; }

/* 2.13.4 — listas suspensas (ex.: seleção de empresas) sempre por cima dos cartões seguintes.
   O efeito de "levantar" o cartão no hover criava um contexto de empilhamento que prendia a lista. */
.pd-app .pd-card:has(details[open]),
.pd-app .pd-card:has(.pd-multi-emp[open]),
.pd-app .pd-panel:has(details[open]),
.pd-app form:has(.pd-multi-emp[open]) { position: relative; z-index: 45; transform: none !important; }
.pd-app .pd-card:has(details[open]):hover { transform: none !important; }
.pd-app .pd-multi-emp-lista { z-index: 60; }

/* 2.13.4 — último acesso no destaque e log de acesso do RH */
.pd-hero-last { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.82); }
.pd-hero-last .pd-ico { flex: 0 0 auto; width: 16px; height: 16px; color: var(--pd-yellow); }
.pd-hero-last strong { color: #fff; font-weight: 700; }
.pd-hero-last a { color: #fff !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; margin-left: 4px; white-space: nowrap; }
.pd-app .pd-acc-tabela td { vertical-align: top; }
.pd-acc-pessoa strong { display: block; font-size: 14px; }
.pd-acc-pessoa small { display: block; color: var(--pd-muted); font-size: 12px; overflow-wrap: anywhere; }
.pd-acc-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 420px; }
.pd-acc-lista li { display: grid; grid-template-columns: 128px 132px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 5px 10px; border-radius: 9px; background: var(--pd-paper-2, #f7f3ee); font-size: 12.5px; }
.pd-acc-lista li:first-child { background: color-mix(in srgb, var(--pd-yellow) 18%, #fff); }
.pd-acc-data b { font-weight: 800; }
.pd-acc-ip { font-variant-numeric: tabular-nums; color: var(--pd-ink); }
.pd-acc-det { color: var(--pd-muted); }
.pd-acc-pag { justify-content: center; align-items: center; gap: 12px; }
@media (max-width: 720px) {
	.pd-acc-lista { min-width: 0; }
	.pd-acc-lista li { grid-template-columns: 1fr; gap: 2px; }
	.pd-hero-last { align-items: flex-start; }
}

/* 2.15.6 — Alerta de prazos pendentes (férias) no topo da página inicial. */
.pd-prazos { position: relative; display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 18px 52px 18px 18px; border-radius: var(--pd-r-lg); background: var(--pd-warn-bg); border: 1px solid color-mix(in srgb, var(--pd-yellow) 60%, var(--pd-line)); border-left: 6px solid var(--pd-yellow); color: var(--pd-ink); box-shadow: 0 14px 34px -24px rgba(28, 25, 23, .45); animation: pd-prazos-in .45s var(--pd-ease) both; }
.pd-prazos[hidden] { display: none; }
.pd-prazos.pd-prazos-urgente { background: var(--pd-err-bg); border-color: color-mix(in srgb, var(--pd-red) 30%, var(--pd-line)); border-left-color: var(--pd-red); }
.pd-prazos-ico { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--pd-yellow); color: var(--pd-ink); }
.pd-prazos-urgente .pd-prazos-ico { background: var(--pd-red); color: #fff; animation: pd-prazos-pulso 2.4s ease-out infinite; }
.pd-prazos-ico svg { width: 22px; height: 22px; }
.pd-prazos-corpo { flex: 1; min-width: 0; }
.pd-prazos-cab h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; }
.pd-prazos-cab p { margin: 3px 0 0; font-size: 13.5px; color: var(--pd-muted); }
.pd-prazos-lista { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pd-prazo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 10px 12px; border-radius: var(--pd-r-sm); background: var(--pd-paper); border: 1px solid var(--pd-line); border-left: 4px solid var(--pd-yellow); }
.pd-prazo-red { border-left-color: var(--pd-red); }
.pd-prazo-txt { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-prazo-txt strong { font-size: 13.5px; }
.pd-prazo-quem { color: var(--pd-red-dark); }
.pd-prazo-txt span { font-size: 12.5px; color: var(--pd-muted); line-height: 1.45; }
.pd-prazo-chip { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; background: var(--pd-warn-bg); color: var(--pd-warn) !important; border: 1px solid color-mix(in srgb, var(--pd-yellow) 55%, transparent); }
.pd-prazo-red .pd-prazo-chip { background: var(--pd-err-bg); color: var(--pd-err) !important; border-color: color-mix(in srgb, var(--pd-red) 30%, transparent); }
.pd-prazo-chip:hover { text-decoration: underline; }
.pd-prazos-mais { margin-top: 8px; }
.pd-prazos-mais summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--pd-red-dark); }
.pd-prazos-acoes { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-prazos-fechar { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--pd-line); background: var(--pd-paper); color: var(--pd-muted); cursor: pointer; }
.pd-prazos-fechar:hover { color: var(--pd-ink); }
.pd-prazos-fechar svg { width: 16px; height: 16px; }
.pd-prazos-fechar:focus-visible { outline: none; box-shadow: var(--pd-ring); }
@keyframes pd-prazos-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pd-prazos-pulso { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pd-red) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .pd-prazos, .pd-prazos-urgente .pd-prazos-ico { animation: none; } }
@media (max-width: 600px) { .pd-prazos { flex-direction: column; padding: 16px 48px 16px 16px; } .pd-prazo-chip { white-space: normal; } }

/* 2.15.7 — Foto de perfil obrigatória (pré-análise). */
.pd-foto-gate { display: grid; gap: 14px; margin-bottom: 10px; }
.pd-foto-palco { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.pd-foto-circulo { position: relative; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--pd-soft); border: 3px dashed color-mix(in srgb, var(--pd-red) 35%, var(--pd-line)); flex: 0 0 auto; }
.pd-foto-gate[data-estado="aprovada"] .pd-foto-circulo { border: 3px solid var(--pd-ok); }
.pd-foto-gate[data-estado="recusada"] .pd-foto-circulo { border: 3px solid var(--pd-err); }
.pd-foto-circulo img { width: 100%; height: 100%; object-fit: cover; }
.pd-foto-circulo img[hidden], .pd-foto-vazio[hidden], .pd-foto-giro[hidden] { display: none; }
.pd-foto-vazio svg { width: 64px; height: 64px; color: color-mix(in srgb, var(--pd-red) 45%, var(--pd-muted)); }
.pd-foto-giro { position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.pd-foto-giro::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 4px solid var(--pd-line); border-top-color: var(--pd-red); animation: pd-foto-gira .8s linear infinite; }
@keyframes pd-foto-gira { to { transform: rotate(360deg); } }
.pd-foto-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; min-width: 220px; }
.pd-foto-checks li { display: flex; align-items: center; gap: 8px; color: var(--pd-muted); }
.pd-foto-checks li span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--pd-line); flex: 0 0 auto; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.pd-foto-checks li.ok { color: var(--pd-ink); }
.pd-foto-checks li.ok span { background: var(--pd-ok); border-color: var(--pd-ok); }
.pd-foto-checks li.ok span::after { content: "✓"; }
.pd-foto-checks li.falha { color: var(--pd-err); font-weight: 600; }
.pd-foto-checks li.falha span { background: var(--pd-err); border-color: var(--pd-err); }
.pd-foto-checks li.falha span::after { content: "✕"; }
.pd-foto-checks li.nao-verificado span { border-style: dashed; }
.pd-foto-msg { margin: 0; min-height: 1.2em; font-size: 13.5px; text-align: center; }
.pd-foto-msg.ok { color: var(--pd-ok); font-weight: 600; }
.pd-foto-msg.erro { color: var(--pd-err); font-weight: 600; }
.pd-foto-acoes { display: grid; gap: 8px; }
.pd-foto-acoes[hidden] { display: none; }
.pd-foto-acoes label.pd-btn { cursor: pointer; }
.pd-foto-dicas { font-size: 13px; color: var(--pd-muted); }
.pd-foto-dicas summary { cursor: pointer; font-weight: 600; }
.pd-foto-dicas ul { margin: 6px 0 0 18px; padding: 0; line-height: 1.6; }

/* 2.15.11 — Foto recusada pelo RH */
.pd-foto-recusa { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fdf0f0; border: 1px solid #f3c4c4; color: #8a1c1c; font-size: 14px; line-height: 1.45; }

/* Endomarketing: menu principal e submenus coletivo/individual. */
.pd-side-submenu > summary { cursor:pointer; list-style:none; }
.pd-side-submenu > summary::-webkit-details-marker { display:none; }
.pd-side-submenu > summary::marker { content:""; }
.pd-side-submenu > summary.is-section-active { color:#fff!important; background:rgba(255,255,255,.06); }
.pd-side-submenu .pd-submenu-chevron { width:16px; height:16px; flex:0 0 auto; transition:transform .18s ease; }
.pd-side-submenu[open] > summary .pd-submenu-chevron { transform:rotate(180deg); }
.pd-side .pd-side-children { margin:4px 0 8px 21px; padding-left:9px; border-left:1px solid rgba(255,255,255,.18); }
.pd-side-children .pd-side-link { padding:9px 8px; gap:8px; font-size:12.5px; }
.pd-side-children .pd-side-link span { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.35; }
.pd-side-children .pd-side-link.is-active::before { left:-10px; width:2px; }
.pd-side-submenu > summary:focus-visible { outline:2px solid var(--pd-yellow,#ffc400); outline-offset:2px; }

/* 2.34.3 — menu recolhível no computador, com preferência local. */
/* 2.47.1 — recolhido = barra de ícones (ver bloco 2.47.1 no fim). */
@media screen and (min-width:1121px){.pd-icon-btn.pd-menu-btn{display:inline-grid}.pd-app.is-menu-collapsed>.pd-scrim{display:none}}


/* =========================================================================
   2.47.1 — Menu lateral recolhível.
   1) Seções (Pessoas, Jornada…) abrem e fecham pelo título.
   2) No computador, "Recolher menu" deixa só os ícones (barra de 76px);
      o nome aparece numa dica ao passar o mouse.
   ========================================================================= */
.pd-side-heading { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.pd-side-heading span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-side-heading:hover { color: rgba(255,255,255,.75); background: rgba(255,255,255,.04); }
.pd-side-heading:focus-visible { outline: 2px solid var(--pd-yellow); outline-offset: 1px; }
.pd-side-heading-chev { width: 14px !important; height: 14px !important; flex: 0 0 auto; opacity: 0; transition: transform .18s var(--pd-ease), opacity .15s; }
.pd-side-heading:hover .pd-side-heading-chev, .pd-side-heading:focus-visible .pd-side-heading-chev, .pd-side-group.is-fechado .pd-side-heading-chev { opacity: .8; }
.pd-side-group.is-fechado .pd-side-heading-chev { transform: rotate(-90deg); }
.pd-side-heading-cont { display: none; min-width: 20px; height: 18px; font-size: 10.5px; letter-spacing: 0; }
.pd-side-group.is-fechado .pd-side-heading-cont { display: inline-grid; }
.pd-side-group.is-fechado > ul { display: none; }
.pd-side-group.is-fechado { margin-bottom: 4px; }
.pd-side-group.is-atual > .pd-side-heading { color: rgba(255,255,255,.62); }
button.pd-side-link { width: 100%; border: 0; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.pd-side-recolher { display: none !important; color: #bfb5ab !important; }
.pd-side-recolher .pd-ico { transition: transform .2s var(--pd-ease); }
.pd-side-recolher:focus-visible { outline: 2px solid var(--pd-yellow); outline-offset: -2px; }
.pd-side-dica { position: fixed; z-index: 100060; transform: translateY(-50%); pointer-events: none; background: #1c1917; color: #fff; font: 600 13px/1.2 "PD Jakarta", ui-sans-serif, system-ui, sans-serif; padding: 7px 11px; border-radius: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.55); white-space: nowrap; border: 1px solid rgba(255,255,255,.1); }
.pd-side-dica::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; background: #1c1917; transform: translateY(-50%) rotate(45deg); border-left: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }

@media screen and (min-width: 1121px) {
	.pd-side-recolher { display: flex !important; }
	.pd-app { transition: grid-template-columns .22s var(--pd-ease); }
	.pd-app.is-menu-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
	.pd-app.is-menu-collapsed > .pd-side { padding: 16px 10px; overflow-x: hidden; }
	.pd-app.is-menu-collapsed .pd-side-brand { justify-content: center; padding: 2px 0 14px; }
	.pd-app.is-menu-collapsed .pd-side-brand-txt,
	.pd-app.is-menu-collapsed .pd-side-close,
	.pd-app.is-menu-collapsed .pd-side-link > span,
	.pd-app.is-menu-collapsed .pd-submenu-chevron,
	.pd-app.is-menu-collapsed .pd-side-children,
	.pd-app.is-menu-collapsed .pd-side-app span { display: none !important; }
	.pd-app.is-menu-collapsed .pd-side-logo { width: 42px; height: 42px; border-radius: 12px; }
	/* Seções viram um traço separador; todas aparecem (mesmo as fechadas). */
	.pd-app.is-menu-collapsed .pd-side-group { margin-bottom: 6px; }
	.pd-app.is-menu-collapsed .pd-side-group > ul { display: block; }
	.pd-app.is-menu-collapsed .pd-side-heading { height: 13px; padding: 0; margin: 0 0 4px; justify-content: center; font-size: 0; pointer-events: none; }
	.pd-app.is-menu-collapsed .pd-side-heading > * { display: none !important; }
	.pd-app.is-menu-collapsed .pd-side-heading::after { content: ""; width: 24px; height: 1px; background: rgba(255,255,255,.14); }
	.pd-app.is-menu-collapsed .pd-side-link { justify-content: center; padding: 11px 0; gap: 0; }
	.pd-app.is-menu-collapsed .pd-side-link .pd-ico { width: 21px; height: 21px; }
	.pd-app.is-menu-collapsed .pd-side-link.is-active::before { left: -10px; }
	.pd-app.is-menu-collapsed .pd-side-submenu > summary.is-section-active { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
	.pd-app.is-menu-collapsed .pd-side-submenu > summary.is-section-active .pd-ico { color: var(--pd-yellow); opacity: 1; }
	.pd-app.is-menu-collapsed .pd-side-link .pd-count { position: absolute; top: 4px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 9.5px; box-shadow: 0 0 0 2px #191513; }
	.pd-app.is-menu-collapsed .pd-side-app { justify-content: center; padding: 11px 0; }
	.pd-app.is-menu-collapsed .pd-side-recolher .pd-ico { transform: rotate(180deg); }
}
@media (max-width: 1120px) { .pd-side-dica { display: none; } }
@media (prefers-reduced-motion: reduce) { .pd-app, .pd-side-heading-chev, .pd-side-recolher .pd-ico { transition: none; } }

/* =========================================================================
   2.48.0 — Log de acesso: aparelho, tela, rede e localização (GPS / IP).
   ========================================================================= */
.pd-acc-lista li.pd-acc-item { grid-template-columns: 118px minmax(220px, 1.4fr) minmax(150px, 1fr); grid-template-areas: "data aparelho ip" "local local local" "mais mais mais"; align-items: start; row-gap: 6px; padding: 9px 12px; }
.pd-acc-item .pd-acc-data { grid-area: data; padding-top: 2px; }
.pd-acc-aparelho { grid-area: aparelho; display: flex; gap: 9px; min-width: 0; }
.pd-acc-aparelho strong { display: block; font-size: 13px; color: var(--pd-ink); }
.pd-acc-aparelho small { display: block; color: var(--pd-muted); font-size: 11.5px; line-height: 1.4; }
.pd-acc-ico { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--pd-red); box-shadow: inset 0 0 0 1px var(--pd-line); }
.pd-acc-ico .pd-ico { width: 16px; height: 16px; }
.pd-acc-item .pd-acc-ip { grid-area: ip; overflow-wrap: anywhere; font-size: 12px; padding-top: 2px; }
.pd-acc-ip em { font-style: normal; display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--pd-line); font-size: 10px; font-weight: 800; letter-spacing: .03em; color: var(--pd-muted); vertical-align: 1px; }
.pd-acc-local { grid-area: local; min-width: 0; }
.pd-acc-gps { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 7px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--pd-line); }
.pd-acc-gps > .pd-ico { width: 17px; height: 17px; color: #1d7a46; flex: 0 0 auto; }
.pd-acc-gps.is-aprox > .pd-ico { color: #8a6a00; }
.pd-acc-gps > span { flex: 1 1 200px; min-width: 0; }
.pd-acc-gps b { display: block; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--pd-ink); }
.pd-acc-gps small { display: block; font-size: 11.5px; color: var(--pd-muted); }
.pd-acc-mapa { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 999px; background: var(--pd-ink, #1c1917); color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.pd-acc-mapa:hover { background: var(--pd-red); }
.pd-acc-mapa:focus-visible { outline: 2px solid var(--pd-yellow); outline-offset: 2px; }
.pd-acc-semloc { display: block; font-size: 11.5px; color: var(--pd-muted); font-style: italic; }
.pd-acc-mais { grid-area: mais; font-size: 12px; }
.pd-acc-mais summary { cursor: pointer; color: var(--pd-red-dark, #9c0710); font-weight: 700; width: max-content; }
.pd-acc-mais dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 2px; padding: 10px 12px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--pd-line); }
.pd-acc-mais dt { color: var(--pd-muted); font-weight: 700; }
.pd-acc-mais dd { margin: 0; overflow-wrap: anywhere; }
.pd-acc-ua { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; color: var(--pd-muted); }
.pd-acc-lista { min-width: 560px; }
@media (max-width: 760px) {
	.pd-acc-lista { min-width: 0; }
	.pd-acc-lista li.pd-acc-item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "data" "aparelho" "ip" "local" "mais"; }
	.pd-acc-mais dl { grid-template-columns: minmax(0, 1fr); }
	.pd-acc-mais dt { margin-top: 4px; }
}
@media (max-width: 760px) {
	.pd-app .pd-acc-tabela, .pd-app .pd-acc-tabela tbody, .pd-app .pd-acc-tabela tr, .pd-app .pd-acc-tabela td { display: block; width: auto; }
	.pd-app .pd-acc-tabela thead { display: none; }
	.pd-app .pd-acc-tabela tr { padding: 12px 0; border-bottom: 1px solid var(--pd-line); }
	.pd-app .pd-acc-tabela td { padding: 4px 0; border: 0; }
	.pd-app .pd-acc-tabela td:last-child:not(:empty)::before { content: "Recusados (30 dias): "; font-size: 12px; color: var(--pd-muted); }
	.pd-acc-gps { align-items: flex-start; }
	.pd-acc-mapa { margin-left: 26px; }
}

/* 2.58.5 — iPhone (tela com notch / Dynamic Island, app instalado e Safari
   com a barra translúcida): a página usa viewport-fit=cover, então a barra
   superior ficava escondida embaixo da hora/bateria. Agora ela desce a altura
   da área segura do aparelho (env(safe-area-inset-*) = 0 nos outros). */
.pd-top {
	padding-top: calc(12px + env(safe-area-inset-top, 0px));
	min-height: calc(68px + env(safe-area-inset-top, 0px));
}
.pd-cmd { padding-top: calc(12vh + env(safe-area-inset-top, 0px)); }
@media (max-width: 1120px) {
	.pd-top { padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
	.pd-side { padding-top: calc(20px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding-left: max(14px, env(safe-area-inset-left, 0px)); }
}
@media (max-width: 760px) {
	.pd-top {
		padding-top: calc(8px + env(safe-area-inset-top, 0px));
		padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px));
		min-height: calc(60px + env(safe-area-inset-top, 0px));
		/* Mais opaca no celular: sobre o cartão vermelho do início ela "sumia". */
		background: color-mix(in srgb, var(--pd-bg) 95%, transparent);
	}
	.pd-pop-panel { top: calc(66px + env(safe-area-inset-top, 0px)); }
	.pd-tabbar { left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
}
