/* Predawn HR — visual system matched to Predawn Apply Form.
 * Styling only: no form names, actions, values, data flow or JavaScript hooks changed.
 */
#pd-dashboard,
.pd-auth {
	--navy: #0d1b2a;
	--navy2: #152536;
	--navy3: #1e3347;
	--gold: #e8912a;
	--gold2: #f5a93e;
	--white: #ffffff;
	--text: #1a2940;
	--text2: #4a6278;
	--muted: #8a9bac;
	--line: #dde4ea;
	--panel: #f4f7fa;
	--card: #ffffff;
	--red: #e84242;
	--green: #22c55e;
	--radius: 12px;
	--rsm: 8px;
	font-family: "Open Sans", sans-serif;
	color: var(--text);
}
#pd-dashboard *, #pd-dashboard *::before, #pd-dashboard *::after,
.pd-auth *, .pd-auth *::before, .pd-auth *::after { box-sizing: border-box; }

/* Layout */
.pd-wrap { width: 100%; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.pd-auth { width: min(100%, 520px); margin: 40px auto; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Hero-style portal header */
.pd-topbar {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	padding: 34px 38px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--navy3) 100%);
	box-shadow: 0 12px 32px rgba(13,27,42,.16);
}
.pd-topbar::before,
.pd-topbar::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.pd-topbar::before { width: 220px; height: 220px; top: -78px; right: -56px; border: 1px solid rgba(232,145,42,.15); }
.pd-topbar::after { width: 112px; height: 112px; top: -18px; right: 12px; border: 1px solid rgba(232,145,42,.25); }
.pd-topbar > * { position: relative; z-index: 1; }
.pd-topbar .pd-eyebrow { color: var(--gold); background: rgba(232,145,42,.12); border: 1px solid rgba(232,145,42,.3); border-radius: 30px; padding: 5px 14px; margin-bottom: 10px; }
.pd-topbar .pd-h1 { color: var(--white); font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.5px; }
.pd-signout {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid rgba(232,145,42,.38);
	border-radius: var(--rsm);
	background: rgba(255,255,255,.05);
	color: var(--white);
	font-family: "Raleway", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .2s;
}
.pd-signout:hover { color: var(--white); background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }

/* Typography */
.pd-eyebrow { display: inline-block; margin: 0 0 4px; color: var(--gold); font-family: "Raleway", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.pd-h1, .pd-h2 { font-family: "Raleway", sans-serif; color: var(--navy); }
.pd-h1 { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.5px; }
.pd-h2 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.1px; }
.pd-muted { color: var(--muted); font-size: 12px; line-height: 1.6; }
.pd-hint { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.pd-mini { color: var(--muted); font-size: 11px; line-height: 1.55; }
.pd-mini--warn { color: #9a6700; font-weight: 600; }

/* Cards */
.pd-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: 0 1px 2px rgba(13,27,42,.02);
	transition: border-color .2s, box-shadow .2s, transform .2s;
	overflow: hidden;
}
.pd-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2), transparent); }
.pd-card:hover { border-color: #c8d4de; box-shadow: 0 4px 28px rgba(13,27,42,.08); }
.pd-auth .pd-card { padding: 32px; box-shadow: 0 12px 40px rgba(13,27,42,.10); }
.pd-auth .pd-h2 { margin-bottom: 16px; font-size: 22px; font-weight: 800; }
.pd-section-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--panel); }
.pd-section-head .pd-muted { margin-top: 2px; font-size: 11px; line-height: 1.6; }
.pd-modal-box > .pd-h2 { font-size: 22px; font-weight: 800; }
.pd-icon-tile { width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy3)); color: var(--gold); font-size: 19px; box-shadow: 0 4px 12px rgba(13,27,42,.2); }

/* Forms */
.pd-label { display: block; margin: 15px 0 6px; color: var(--text2); font-family: "Raleway", sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; line-height: 1.4; text-transform: uppercase; }
.pd-label .pd-muted { font-family: "Open Sans", sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.pd-input {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 11px 15px;
	border: 1.5px solid var(--line);
	border-radius: var(--rsm);
	outline: none;
	background: var(--panel);
	color: var(--text);
	font-family: "Open Sans", sans-serif;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
	transition: all .2s;
}
.pd-input:hover { border-color: #b0bec8; background: #eef2f6; }
.pd-input:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(232,145,42,.12); }
select.pd-input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8912a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.pd-input { min-height: 96px; resize: vertical; line-height: 1.65; }
input[type="file"].pd-input { padding: 9px 12px; background: var(--white); color: var(--text2); font-size: 12px; }
input[type="file"].pd-input::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 0; border-radius: 6px; background: var(--navy); color: var(--white); font-family: "Raleway", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; cursor: pointer; }
.pd-input[readonly] { background: #f5f6f8; color: var(--muted); cursor: not-allowed; }
.pd-check { display: flex; align-items: center; gap: 8px; margin: 13px 0; color: var(--text2); font-size: 12px; }
.pd-check input { accent-color: var(--gold); }
.pd-resend { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pd-resend summary { cursor: pointer; color: var(--gold); font-family: "Raleway", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.pd-resend .pd-btn { margin-top: 12px; }
.pd-total { margin-top: 12px; padding: 12px 14px; border-radius: var(--rsm); background: linear-gradient(135deg, var(--navy), var(--navy3)); color: var(--white); font-size: 13px; }
.pd-total strong { color: var(--gold); font-family: "Raleway", sans-serif; font-size: 17px; }

/* Buttons */
.pd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 43px;
	margin-top: 18px;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--rsm);
	font-family: "Raleway", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: all .2s;
}
.pd-btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--white); box-shadow: 0 4px 16px rgba(232,145,42,.30); }
.pd-btn--gold:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,145,42,.40); }
.pd-btn--navy { background: linear-gradient(135deg, var(--navy), var(--navy3)); color: var(--white); box-shadow: 0 4px 14px rgba(13,27,42,.18); }
.pd-btn--navy:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,27,42,.25); }
.pd-btn--ghost { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); }
.pd-btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: #fef9f3; }
.pd-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Statistics */
.pd-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pd-stats--inline { grid-template-columns: repeat(4, 1fr); }
.pd-stat { position: relative; overflow: hidden; padding: 19px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; transition: all .2s; }
.pd-stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2), transparent); }
.pd-stat:hover { border-color: #c8d4de; box-shadow: 0 4px 20px rgba(13,27,42,.07); }
.pd-stat--gold { border-color: var(--navy); background: linear-gradient(135deg, var(--navy), var(--navy3)); }
.pd-stat--gold::before { background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.pd-stat-num { display: block; color: var(--navy); font-family: "Raleway", sans-serif; font-size: 26px; font-weight: 800; line-height: 1; }
.pd-stat-label { display: block; margin-top: 6px; color: var(--muted); font-family: "Raleway", sans-serif; font-size: 9.5px; font-weight: 600; letter-spacing: .65px; line-height: 1.35; text-transform: uppercase; }
.pd-stat--gold .pd-stat-num { color: var(--gold); }
.pd-stat--gold .pd-stat-label { color: rgba(255,255,255,.55); }

/* Attendance and status */
.pd-att-state p { margin: 4px 0; color: var(--text); font-size: 14px; }
.pd-att-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pd-att-buttons .pd-btn { margin-top: 0; }
.pd-att-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pd-direct-status { margin: 3px 0 0; color: var(--navy); font-size: 12px; font-weight: 700; }
.pd-direct-status--err { color: var(--red); }
.pd-done { color: #166534; font-size: 12px; font-weight: 700; }
.pd-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-family: "Raleway", sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.pd-badge--ok, .pd-badge--approved { background: #f0fdf4; color: #166534; }
.pd-badge--late, .pd-badge--denied, .pd-badge--rejected { background: #fff1f2; color: #be123c; }
.pd-badge--pending { background: #fff7ed; color: #9a3412; }

/* Tables */
.pd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.pd-table th { padding: 10px; border-bottom: 2px solid var(--line); color: var(--muted); font-family: "Raleway", sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .7px; text-align: left; text-transform: uppercase; }
.pd-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text2); vertical-align: middle; }
.pd-table tbody tr:hover td { background: #fafcfd; }

/* Notices */
.pd-flash { margin-bottom: 18px; padding: 14px 18px; border-radius: var(--rsm); font-size: 13px; line-height: 1.55; }
.pd-flash--success { border: 1.5px solid #86efac; background: #f0fdf4; color: #166534; }
.pd-flash--error { border: 1.5px solid #fdba74; background: #fff7ed; color: #9a3412; }
.pd-offday, .pd-spot-banner { border-radius: var(--radius); }
.pd-offday { margin-bottom: 16px; padding: 14px 16px; border: 1px solid #f3d6ab; background: #fef9f3; }
.pd-offday strong { display: block; margin-bottom: 3px; color: var(--navy); font-family: "Raleway", sans-serif; font-size: 14px; }
.pd-offday span { color: #715a36; font-size: 12px; line-height: 1.55; }
.pd-spot-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0; padding: 17px 20px; border: 1px solid rgba(232,145,42,.35); background: #fef9f3; box-shadow: 0 5px 18px rgba(232,145,42,.12); }
.pd-spot-banner .pd-spot-text { display: flex; flex-direction: column; gap: 3px; }
.pd-spot-banner .pd-spot-text strong { color: var(--navy); font-family: "Raleway", sans-serif; font-size: 14px; }
.pd-spot-banner .pd-spot-text span { max-width: 620px; color: var(--text2); font-size: 12px; line-height: 1.55; }
.pd-spot-banner .pd-btn { margin-top: 0; white-space: nowrap; }
.pd-flow-note { margin: 12px 0; padding: 12px 14px; border: 1px solid #d7e8c3; border-radius: var(--rsm); background: #f4faed; color: #3f5a1c; font-size: 12px; line-height: 1.55; }

/* Shift, feedback and holidays */
.pd-shift-current { margin: 0 0 12px; color: var(--text2); font-size: 13px; }
.pd-shift-form { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.pd-shift-form .pd-input { flex: 1; min-width: 220px; }
.pd-shift-form .pd-btn { margin-top: 0; white-space: nowrap; }
.pd-feedback { display: flex; flex-direction: column; gap: 12px; }
.pd-feedback-item { padding: 15px 17px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--rsm); background: var(--white); }
.pd-feedback-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.pd-feedback-date { color: var(--navy); font-family: "Raleway", sans-serif; font-size: 12px; font-weight: 700; }
.pd-feedback-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.pd-feedback-comment { margin: 4px 0; color: var(--text); font-size: 13px; line-height: 1.6; }
.pd-feedback-scope { margin-top: 9px; padding: 9px 12px; border-radius: var(--rsm); background: var(--panel); color: var(--text2); font-size: 12px; }
.pd-scope-label { display: block; margin-bottom: 2px; color: var(--gold); font-family: "Raleway", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.pd-holidays { list-style: none; margin: 0; padding: 0; }
.pd-holidays li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text2); font-size: 12.5px; }
.pd-holidays li:last-child { border-bottom: 0; }
.pd-holidays .pd-hol-date { color: var(--gold); font-family: "Raleway", sans-serif; font-size: 11px; font-weight: 700; }


/* Employee portal tabs — follows the step-navigation style of Predawn Apply Form. */
.pd-tabs-shell {
	position: relative;
	z-index: 5;
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 5px 22px rgba(13,27,42,.06);
	overflow: hidden;
}
.pd-tabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(232,145,42,.45) transparent;
}
.pd-tabs::-webkit-scrollbar { height: 5px; }
.pd-tabs::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(232,145,42,.45); }
html body #pd-dashboard button.pd-tab-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	min-height: 78px;
	margin: 0 !important;
	padding: 14px 12px 16px !important;
	border: 0 !important;
	border-right: 1px solid var(--line) !important;
	border-radius: 0 !important;
	outline: 0;
	background: var(--white) !important;
	box-shadow: none !important;
	color: var(--text2) !important;
	font-family: "Raleway", Arial, Helvetica, sans-serif !important;
	text-align: left;
	text-transform: none !important;
	cursor: pointer;
	transition: background .2s, color .2s;
}
html body #pd-dashboard button.pd-tab-button:last-child { border-right: 0 !important; }
html body #pd-dashboard button.pd-tab-button::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: transparent;
	transition: background .2s;
}
html body #pd-dashboard button.pd-tab-button:hover,
html body #pd-dashboard button.pd-tab-button:focus-visible {
	background: #fef9f3 !important;
	color: var(--navy) !important;
}
html body #pd-dashboard button.pd-tab-button:focus-visible { box-shadow: inset 0 0 0 2px rgba(232,145,42,.45) !important; }
html body #pd-dashboard button.pd-tab-button.is-active {
	background: linear-gradient(180deg, #fff 0%, #fffaf4 100%) !important;
	color: var(--navy) !important;
}
html body #pd-dashboard button.pd-tab-button.is-active::after { background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.pd-tab-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border: 1px solid #d9e2ea;
	border-radius: 50%;
	background: #f4f7fa;
	color: var(--muted);
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	transition: all .2s;
}
.pd-tab-button.is-active .pd-tab-index {
	border-color: var(--gold);
	background: linear-gradient(135deg, var(--gold), var(--gold2));
	color: var(--white);
	box-shadow: 0 4px 12px rgba(232,145,42,.28);
}
.pd-tab-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.pd-tab-label {
	overflow: hidden;
	color: inherit;
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pd-tab-meta {
	overflow: hidden;
	color: var(--muted);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 9.5px;
	font-weight: 400;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pd-tab-panel { display: none; width: 100%; flex-direction: column; gap: 18px; }
.pd-tab-panel.is-active { display: flex; animation: pdTabIn .22s ease-out; }
@keyframes pdTabIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.pd-grid--tab { align-items: stretch; }
.pd-grid--tab > .pd-card { min-width: 0; }

/* Dashboard quick actions. */
.pd-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html body #pd-dashboard button.pd-quick-action {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	width: 100%;
	min-height: 72px;
	margin: 0 !important;
	padding: 13px 14px !important;
	border: 1px solid var(--line) !important;
	border-radius: var(--rsm) !important;
	outline: 0;
	background: var(--panel) !important;
	box-shadow: none !important;
	color: var(--navy) !important;
	font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
	text-align: left;
	text-transform: none !important;
	cursor: pointer;
	transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
html body #pd-dashboard button.pd-quick-action:hover,
html body #pd-dashboard button.pd-quick-action:focus-visible {
	border-color: rgba(232,145,42,.55) !important;
	background: #fffaf4 !important;
	box-shadow: 0 6px 18px rgba(13,27,42,.07) !important;
	transform: translateY(-1px);
}
.pd-quick-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--navy), var(--navy3));
	color: var(--gold);
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 800;
}
.pd-quick-action strong { display: block; color: var(--navy); font-family: "Raleway", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; line-height: 1.3; }
.pd-quick-action small { display: block; margin-top: 2px; color: var(--muted); font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 9.5px; font-weight: 400; line-height: 1.35; }
.pd-quick-arrow { color: var(--gold); font-size: 17px; line-height: 1; }

/* Camera and geolocation */
.pd-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(13,27,42,.78); backdrop-filter: blur(3px); }
.pd-modal.is-open { display: flex; }
.pd-modal-box { position: relative; width: min(100%, 470px); padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: center; box-shadow: 0 24px 70px rgba(13,27,42,.30); overflow: hidden; }
.pd-modal-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2), transparent); }
#pd-video, #pd-preview { width: 100%; max-height: 340px; margin: 14px 0; border-radius: var(--radius); background: #000; object-fit: cover; }
.pd-modal-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.pd-modal-actions .pd-btn { margin-top: 4px; }
.pd-geo { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--rsm); background: var(--panel); color: var(--text2); font-size: 12px; }
.pd-geo--ok { border-color: #86efac; background: #f0fdf4; color: #166534; }
.pd-geo--err { border-color: #fda4af; background: #fff1f2; color: #9f1239; }
.pd-geo--wait { border-color: #fdba74; background: #fff7ed; color: #9a3412; }
.pd-geo-retry { margin-left: 8px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pd-face-status { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--rsm); background: var(--panel); color: var(--text2); font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 600; line-height: 1.45; }
.pd-face-status--ok { border-color: #86efac; background: #f0fdf4; color: #166534; }
.pd-face-status--err { border-color: #fda4af; background: #fff1f2; color: #9f1239; }
.pd-face-status--wait { border-color: #fdba74; background: #fff7ed; color: #9a3412; }

/* Keep portal full-width inside common builders. */
#pd-dashboard { width: 100%; }
.elementor-container:has(#pd-dashboard),
.elementor-column:has(#pd-dashboard),
.elementor-widget:has(#pd-dashboard),
.elementor-widget-container:has(#pd-dashboard),
.wp-block-column:has(#pd-dashboard),
.entry-content:has(#pd-dashboard) > * :is(.elementor-column) {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

@media (max-width: 760px) {
	.pd-topbar { align-items: flex-start; padding: 28px 24px; }
	.pd-topbar .pd-h1 { font-size: 28px; }
	.pd-grid, .pd-row { grid-template-columns: 1fr; }
	.pd-stats, .pd-stats--inline { grid-template-columns: repeat(2, 1fr); }
	.pd-card { padding: 22px; }
}
@media (max-width: 520px) {
	.pd-topbar { flex-direction: column; }
	.pd-signout { align-self: flex-start; }
	.pd-stats, .pd-stats--inline { grid-template-columns: 1fr 1fr; gap: 10px; }
	.pd-stat { padding: 16px 10px; }
	.pd-stat-num { font-size: 24px; }
	.pd-card, .pd-auth .pd-card, .pd-modal-box { padding: 20px; }
	.pd-section-head { align-items: flex-start; }
	.pd-feedback-head { align-items: flex-start; flex-direction: column; }
	.pd-table { min-width: 520px; }
	.pd-card:has(.pd-table) { overflow-x: auto; }
}


@media (max-width: 900px) {
	.pd-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(142px, 1fr); }
	html body #pd-dashboard button.pd-tab-button { min-height: 72px; }
	.pd-quick-actions { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	html body #pd-dashboard button.pd-tab-button { min-height: 66px; padding: 11px 10px 13px !important; }
	.pd-tab-index { width: 25px; height: 25px; flex-basis: 25px; }
	.pd-tab-meta { display: none; }
	.pd-tab-label { font-size: 10.5px; }
	.pd-tabs { grid-auto-columns: minmax(128px, 1fr); }
	.pd-quick-action small { font-size: 9px; }
}

/* --------------------------------------------------------------------------
 * Final heading lock — match Predawn Apply Form typography exactly.
 * The active website theme assigns Fraunces and oversized values to h1/h2
 * with high specificity. These portal-scoped rules intentionally win without
 * affecting any heading outside Predawn HR.
 * -------------------------------------------------------------------------- */
html body #pd-dashboard h1.pd-h1,
html body #pd-dashboard h2.pd-h2,
html body .pd-auth h1.pd-h1,
html body .pd-auth h2.pd-h2,
html body .pd-modal h2.pd-h2,
html body .pd-modal h3.pd-h2 {
	font-family: "Raleway", Arial, Helvetica, sans-serif !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
}

/* Apply Form hero title: Raleway 38 / 800. */
html body #pd-dashboard .pd-topbar h1.pd-h1 {
	margin: 0 !important;
	font-family: "Raleway", Arial, Helvetica, sans-serif !important;
	font-size: 38px !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.5px !important;
}

/* Apply Form card title: Raleway 15 / 700. */
html body #pd-dashboard h2.pd-h2 {
	margin: 0 !important;
	font-family: "Raleway", Arial, Helvetica, sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.1px !important;
}

/* Apply Form success/auth title scale: Raleway 22 / 800. */
html body .pd-auth h2.pd-h2,
html body .pd-modal h2.pd-h2,
html body .pd-modal h3.pd-h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.2px !important;
}

@media (max-width: 760px) {
	html body #pd-dashboard .pd-topbar h1.pd-h1 {
		font-size: 28px !important;
	}
}

/* One-time gender/account privacy setup */
.pd-account-meta {
	display: block;
	margin-top: 8px;
	color: rgba(255,255,255,.68);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1.4;
}
.pd-account-meta strong { color: var(--gold2); font-weight: 600; }
.pd-gender-box { width: min(100%, 520px); text-align: left; }
.pd-gender-box > .pd-h2 { margin-top: 5px !important; }
.pd-gender-options { display: grid; gap: 11px; margin: 18px 0 12px; }
.pd-gender-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 15px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--panel);
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.pd-gender-option:hover,
.pd-gender-option:has(input:checked) {
	border-color: rgba(232,145,42,.65);
	background: #fffaf4;
	box-shadow: 0 5px 16px rgba(13,27,42,.07);
}
.pd-gender-option input {
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--gold);
	flex: 0 0 auto;
}
.pd-gender-option span { display: block; }
.pd-gender-option strong {
	display: block;
	color: var(--navy);
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}
.pd-gender-option small {
	display: block;
	margin-top: 3px;
	color: var(--text2);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}
.pd-gender-status {
	min-height: 20px;
	margin: 8px 0 0;
	color: #166534;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
}
.pd-gender-status.is-error { color: #9f1239; }
.pd-gender-box .pd-modal-actions { margin-top: 8px; }
.pd-gender-box > .pd-mini { display: block; margin: 12px 0 0; text-align: center; }
