/* TechOps Home 0.19.1 — every rule is scoped to :is(#tph-home, .tph-block) so Divi styles can't leak in or out. */

:is(#tph-home, .tph-block),
.tph-chrome-only {
	--tph-navy: #04234A;
	--tph-mid: #064585;
	--tph-blue: #0867C1;
	--tph-orange: #FA9925;
	--tph-signal: #0E9FEE;
	--tph-ink: #1E2B3F;
	--tph-muted: #4A5A73;
	--tph-line: #D9E2EC;
	--tph-soft: #E5ECF3;
	--tph-tint: #EAF3FC;
	--tph-bg: #F2F5F9;
	--tph-orange-tint: #FDE9CC;
	--tph-head: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	--tph-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

	background: var(--tph-bg);
	color: var(--tph-ink);
	font-family: var(--tph-body);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

:is(#tph-home, .tph-block) *,
:is(#tph-home, .tph-block) *::before,
:is(#tph-home, .tph-block) *::after { box-sizing: border-box; }

:is(#tph-home, .tph-block) [hidden] { display: none !important; }

/* Resets against theme defaults */
:is(#tph-home, .tph-block).tph h1,
:is(#tph-home, .tph-block).tph h2,
:is(#tph-home, .tph-block).tph h3,
:is(#tph-home, .tph-block).tph h4,
:is(#tph-home, .tph-block).tph p { margin: 0; padding: 0; }
:is(#tph-home, .tph-block).tph ul { list-style: none; margin: 0; padding: 0; }
:is(#tph-home, .tph-block).tph li { margin: 0; padding: 0; }
:is(#tph-home, .tph-block).tph a { text-decoration: none; }
:is(#tph-home, .tph-block) .tph-icon { flex: none; display: block; }

:is(#tph-home, .tph-block) a:focus-visible,
:is(#tph-home, .tph-block) input:focus-visible,
:is(#tph-home, .tph-block) button:focus-visible {
	outline: 3px solid var(--tph-signal);
	outline-offset: 2px;
}

:is(#tph-home, .tph-block) .tph-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

:is(#tph-home, .tph-block) .tph-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* Admin note */
:is(#tph-home, .tph-block) .tph-admin-note {
	background: var(--tph-orange-tint);
	color: var(--tph-navy);
	font-size: 15px;
	padding: 10px 0;
}
:is(#tph-home, .tph-block) .tph-admin-note a { color: var(--tph-navy); text-decoration: underline; font-weight: 600; }

/* Type */
:is(#tph-home, .tph-block) .tph-h1 {
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1.02;
	color: #FFFFFF;
}
:is(#tph-home, .tph-block) .tph-h2 {
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.1;
	color: var(--tph-navy);
	text-transform: uppercase;
	letter-spacing: .02em;
}
:is(#tph-home, .tph-block) .tph-h2::before {
	content: "";
	display: block;
	width: 40px; height: 4px;
	margin-bottom: 10px;
	border-radius: 2px;
	background: var(--tph-orange);
}
:is(#tph-home, .tph-block) .tph-h3 {
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.1;
	color: var(--tph-navy);
	text-transform: uppercase;
	letter-spacing: .02em;
}
:is(#tph-home, .tph-block) .tph-h4 {
	font-family: var(--tph-body);
	font-weight: 700;
	font-size: 15px;
	color: var(--tph-muted);
	margin-bottom: 6px;
}

/* Hero */
:is(#tph-home, .tph-block) .tph-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, var(--tph-navy) 0%, var(--tph-blue) 100%);
}
:is(#tph-home, .tph-block) .tph-fibers {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 170px;
	opacity: .5;
	pointer-events: none;
}
:is(#tph-home, .tph-block) .tph-fibers path { fill: none; stroke: var(--tph-orange); stroke-width: 2; }

:is(#tph-home, .tph-block) .tph-hero-inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 56px;
	padding-top: 56px;
	padding-bottom: 72px;
}
:is(#tph-home, .tph-block) .tph-hero-main { flex: 1 1 520px; min-width: 0; }
:is(#tph-home, .tph-block) .tph-lede {
	margin-top: 12px;
	max-width: 520px;
	font-size: 19px;
	color: #FFFFFF;
}

:is(#tph-home, .tph-block) .tph-search {
	position: relative;
	margin-top: 28px;
	max-width: 560px;
}
:is(#tph-home, .tph-block) .tph-search-icon {
	position: absolute;
	left: 18px; top: 50%;
	transform: translateY(-50%);
	color: var(--tph-muted);
	pointer-events: none;
}
:is(#tph-home, .tph-block) .tph-search-input {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 20px 0 50px;
	border: 0;
	border-radius: 12px;
	background: #FFFFFF;
	color: var(--tph-ink);
	font-family: var(--tph-body);
	font-size: 17px;
	box-shadow: none;
}
:is(#tph-home, .tph-block) .tph-search-input::placeholder { color: #5B6B82; opacity: 1; }

:is(#tph-home, .tph-block) .tph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Quick actions */
:is(#tph-home, .tph-block) .tph-quick { flex: 1 1 380px; max-width: 520px; min-width: 0; }
:is(#tph-home, .tph-block) .tph-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
:is(#tph-home, .tph-block) .tph-quick-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 84px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #FFFFFF;
	color: var(--tph-navy);
	transition: box-shadow .15s ease, transform .15s ease;
}
:is(#tph-home, .tph-block) .tph-quick-tile:hover { box-shadow: 0 8px 24px rgba(4, 35, 74, .3); transform: translateY(-2px); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-quick-label {
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}
:is(#tph-home, .tph-block) .tph-tile-icon,
:is(#tph-home, .tph-block) .tph-head-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 10px;
	background: var(--tph-tint);
	color: var(--tph-blue);
}
:is(#tph-home, .tph-block) .tph-head-icon-solid {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--tph-navy);
	color: #FFFFFF;
}

/* Buttons */
:is(#tph-home, .tph-block) .tph-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 17px;
}
:is(#tph-home, .tph-block) .tph-btn-primary { background: var(--tph-orange); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-btn-primary:hover { background: #FFAD4A; color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-btn-ghost { border: 2px solid #FFFFFF; color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }

/* Main layout */
:is(#tph-home, .tph-block) .tph-main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 56px;
}
:is(#tph-home, .tph-block) .tph-col { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
:is(#tph-home, .tph-block) .tph-rail { flex: 1 1 320px; max-width: 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
:is(#tph-home, .tph-block) .tph-rail:empty { display: none; }

/* Cards */
:is(#tph-home, .tph-block) .tph-card {
	background: #FFFFFF;
	border: 1px solid var(--tph-line);
	border-radius: 16px;
	padding: 24px;
}
:is(#tph-home, .tph-block) .tph-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
:is(#tph-home, .tph-block) .tph-card-sub { margin-top: 4px; color: var(--tph-muted); font-size: 16px; }

/* Directory panel: every section in one card, flowing into balanced columns */
:is(#tph-home, .tph-block) .tph-directory { padding: 28px 28px 6px; }
:is(#tph-home, .tph-block) .tph-dir-cols { columns: 250px 3; column-gap: 40px; }
:is(#tph-home, .tph-block) .tph-dir-section {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	display: block;
	margin-bottom: 24px;
}
:is(#tph-home, .tph-block) .tph-dir-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
:is(#tph-home, .tph-block) .tph-head-icon.tph-head-icon-sm { width: 36px; height: 36px; border-radius: 9px; }
:is(#tph-home, .tph-block) .tph-h3.tph-dir-title { font-size: 22px; }

/* Link rows */
:is(#tph-home, .tph-block) .tph-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	border-top: 1px solid var(--tph-soft);
	color: var(--tph-ink);
	font-size: 16px;
	font-weight: 500;
}
:is(#tph-home, .tph-block) .tph-row .tph-icon { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-row:hover { color: var(--tph-blue); }

/* Performance card */
:is(#tph-home, .tph-block) .tph-perf { padding: 28px; }
:is(#tph-home, .tph-block) .tph-perf .tph-card-head { margin-bottom: 20px; align-items: flex-start; }
:is(#tph-home, .tph-block) .tph-perf .tph-h3 { font-size: 30px; }
:is(#tph-home, .tph-block) .tph-perf-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px 28px;
}
:is(#tph-home, .tph-block) .tph-perf-list { display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-perf-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 6px 0;
	border-top: 1px solid var(--tph-soft);
	color: var(--tph-navy);
	font-weight: 600;
	font-size: 17px;
}
:is(#tph-home, .tph-block) .tph-perf-label { flex: 1; }
:is(#tph-home, .tph-block) .tph-perf-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: 8px;
	background: var(--tph-tint);
	color: var(--tph-blue);
}
:is(#tph-home, .tph-block) .tph-perf-link > .tph-icon { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-perf-link:hover { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-perf-link:hover .tph-perf-icon { background: var(--tph-blue); color: #FFFFFF; }

/* Rail */
:is(#tph-home, .tph-block) .tph-rail-card .tph-h3 { margin-bottom: 12px; }
:is(#tph-home, .tph-block) .tph-wait-row {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	border-top: 1px solid var(--tph-soft);
	color: var(--tph-ink);
}
:is(#tph-home, .tph-block) .tph-wait-row:hover .tph-wait-title { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-wait-icon { color: var(--tph-blue); display: flex; }
:is(#tph-home, .tph-block) .tph-wait-text { flex: 1; display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-wait-title { font-weight: 600; }
:is(#tph-home, .tph-block) .tph-wait-sub { font-size: 14px; color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-count {
	min-width: 40px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--tph-orange-tint);
	color: var(--tph-navy);
	font-weight: 700;
	font-size: 15px;
	text-align: center;
}
:is(#tph-home, .tph-block) .tph-quiet { color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-recent-text { display: flex; flex-direction: column; padding: 8px 0; }
:is(#tph-home, .tph-block) .tph-recent-time { font-size: 14px; color: var(--tph-muted); font-weight: 400; }

/* Empty states */
:is(#tph-home, .tph-block) .tph-filter-empty { font-size: 17px; color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-empty-card p { margin-top: 10px; }

/* Small screens */
@media (max-width: 640px) {
	:is(#tph-home, .tph-block) .tph-wrap { padding-left: 18px; padding-right: 18px; }
	:is(#tph-home, .tph-block) .tph-hero-inner { padding-top: 36px; padding-bottom: 56px; gap: 28px; }
	:is(#tph-home, .tph-block) .tph-quick-grid { grid-template-columns: minmax(0, 1fr); }
	:is(#tph-home, .tph-block) .tph-quick-tile { min-height: 64px; }
	:is(#tph-home, .tph-block) .tph-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	:is(#tph-home, .tph-block) .tph-quick-tile { transition: none; }
	:is(#tph-home, .tph-block) .tph-quick-tile:hover { transform: none; }
}

/* ------------------------------------------------------------------ Divi chrome on the home page */
/* [techops_home] adds body.tph-page, which hides Divi's header and footer and lets the page run edge to edge. */
body.tph-page #top-header,
body.tph-page #main-header,
body.tph-page .et-l--header,
body.tph-page #main-footer,
body.tph-page .et-l--footer,
body.tph-chrome #top-header,
body.tph-chrome #main-header,
body.tph-chrome .et-l--header,
body.tph-chrome #main-footer,
body.tph-chrome .et-l--footer { display: none !important; }
body.tph-page #page-container,
body.tph-chrome #page-container { padding-top: 0 !important; margin-top: 0 !important; }
body.tph-page { overflow-x: hidden; }
body.tph-page #main-content,
body.tph-page #main-content .container,
body.tph-page .et_pb_section:has(#tph-home),
body.tph-page .et_pb_row:has(#tph-home) {
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	background: transparent;
}
body.tph-page #main-content .container::before { display: none; }
body.tph-page #sidebar { display: none !important; }
body.tph-page #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
body.tph-page #left-area article,
body.tph-page .et_pb_post { margin: 0 !important; padding: 0 !important; }
body.tph-page .entry-title.main_title { display: none; }
body.tph-page #tph-home {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ------------------------------------------------------------------ Header */
.tph .tph-header {
	position: relative;
	z-index: 50;
	background: #FFFFFF;
	border-bottom: 1px solid var(--tph-line);
	font-family: var(--tph-body);
}
.tph .tph-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	min-height: 84px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.tph .tph-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	margin-right: auto;
}
.tph .tph-brand-logo { display: block; height: 64px; width: auto; }
.tph .tph-brand-rule { display: block; width: 1px; height: 44px; background: var(--tph-line); }
.tph .tph-brand-name {
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--tph-navy);
}
.tph .tph-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tph .tph-nav-item { position: relative; margin: 0; padding: 0; list-style: none; }
.tph .tph-nav-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--tph-navy);
	font-family: var(--tph-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}
.tph .tph-nav-btn:hover,
.tph .tph-nav-btn[aria-expanded="true"] { background: var(--tph-tint); }
.tph .tph-nav-btn[aria-expanded="true"] .tph-caret { transform: rotate(180deg); }
.tph .tph-sub {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #FFFFFF;
	border: 1px solid var(--tph-line);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(4, 35, 74, .16);
}
.tph .tph-sub-end { left: auto; right: 0; }
.tph .tph-sub li { margin: 0; padding: 0; list-style: none; }
.tph .tph-sub a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	color: var(--tph-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.tph .tph-sub a:hover { background: var(--tph-tint); color: var(--tph-blue); }
.tph .tph-nav-user { margin-left: 8px; }
.tph .tph-user-btn { padding-left: 6px; border: 1px solid var(--tph-line); border-radius: 999px; }
.tph .tph-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--tph-blue);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 15px;
}
.tph .tph-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tph-line);
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--tph-navy);
	font-family: var(--tph-body);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.tph .tph-header-login { min-height: 44px; }

/* ------------------------------------------------------------------ Footer */
.tph .tph-footer { background: #FFFFFF; border-top: 1px solid var(--tph-line); font-family: var(--tph-body); }
.tph .tph-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	padding-top: 22px;
	padding-bottom: 22px;
}
.tph .tph-footer .tph-brand-logo { height: 48px; }
.tph .tph-footer .tph-brand-rule { height: 32px; }
.tph .tph-footer .tph-brand-name { font-size: 22px; }
.tph .tph-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.tph .tph-footer-links li { margin: 0; padding: 0; list-style: none; }
.tph .tph-footer-links a { color: var(--tph-blue); font-weight: 600; font-size: 15px; text-decoration: none; }
.tph .tph-footer-links a:hover { color: var(--tph-mid); text-decoration: underline; }
.tph .tph-footer-note { margin: 0; padding: 0; color: var(--tph-muted); font-size: 14px; width: 100%; }

.tph-chrome-only .tph-wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.tph-chrome-only .tph-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tph-chrome-only .tph-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; background: var(--tph-orange); color: var(--tph-navy); }
.tph-chrome-only a:focus-visible,
.tph-chrome-only button:focus-visible { outline: 3px solid var(--tph-signal); outline-offset: 2px; }

/* ------------------------------------------------------------------ Header on smaller screens */
@media (max-width: 1100px) {
	.tph .tph-menu-toggle { display: inline-flex; }
	.tph .tph-nav { display: none; width: 100%; padding-bottom: 8px; }
	.tph .tph-nav.tph-nav-open { display: block; }
	.tph .tph-nav-list { flex-direction: column; align-items: stretch; }
	.tph .tph-nav-btn { width: 100%; justify-content: space-between; }
	.tph .tph-sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
	.tph .tph-nav-user { margin-left: 0; margin-top: 8px; }
	.tph .tph-user-btn { justify-content: flex-start; }
	.tph .tph-user-btn .tph-caret { margin-left: auto; }
}
@media (max-width: 640px) {
	.tph .tph-brand-logo { height: 52px; }
	.tph .tph-brand-name { font-size: 24px; }
	.tph-chrome-only .tph-wrap { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.tph .tph-caret { transition: none; }
}

/* ------------------------------------------------------------------ Announcements */
:is(#tph-home, .tph-block) .tph-ann-list { display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-ann {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 14px 0;
	border-top: 1px solid var(--tph-soft);
}
:is(#tph-home, .tph-block) .tph-ann:last-child { padding-bottom: 0; }
:is(#tph-home, .tph-block) .tph-tag {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: var(--tph-tint);
	color: var(--tph-mid);
}
:is(#tph-home, .tph-block) .tph-tag-warning { background: var(--tph-orange-tint); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-tag-maintenance { background: var(--tph-navy); color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-ann-details { width: 100%; }
:is(#tph-home, .tph-block) .tph-ann-title {
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: var(--tph-navy);
	list-style-position: outside;
}
:is(#tph-home, .tph-block) .tph-ann-title:hover { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-ann-body { margin-top: 8px; font-size: 15px; color: var(--tph-ink); }
:is(#tph-home, .tph-block) .tph-ann-body p { margin: 0 0 8px; padding: 0; }
:is(#tph-home, .tph-block) .tph-ann-body a { color: var(--tph-blue); text-decoration: underline; }
:is(#tph-home, .tph-block) .tph-ann-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 14px;
	color: var(--tph-muted);
}
:is(#tph-home, .tph-block) .tph-ack-btn {
	min-height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 2px solid var(--tph-navy);
	border-radius: 8px;
	background: #FFFFFF;
	color: var(--tph-navy);
	font-family: var(--tph-body);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
:is(#tph-home, .tph-block) .tph-ack-btn:hover { background: var(--tph-navy); color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-ack-btn[disabled] { opacity: .6; cursor: wait; }
:is(#tph-home, .tph-block) .tph-ack-done { color: var(--tph-mid); font-weight: 600; }
:is(#tph-home, .tph-block) .tph-ack-error { color: #A4141B; font-weight: 600; }

/* ------------------------------------------------------------------ Design kit: page band and document lists */
:is(#tph-home, .tph-block) .tph-band-inner { position: relative; padding-top: 40px; padding-bottom: 56px; }
:is(#tph-home, .tph-block) .tph-band-title { font-size: clamp(38px, 4.4vw, 54px); }
:is(#tph-home, .tph-block) .tph-band .tph-search { margin-top: 22px; }
:is(#tph-home, .tph-block) .tph-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
:is(#tph-home, .tph-block) .tph-chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .14);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 600;
}
:is(#tph-home, .tph-block) .tph-chip:hover { background: rgba(255, 255, 255, .26); color: #FFFFFF; }

:is(#tph-home, .tph-block) .tph-kit-body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 36px;
	padding-bottom: 56px;
}
:is(#tph-home, .tph-block) .tph-docs { padding: 24px 28px; scroll-margin-top: 24px; }
:is(#tph-home, .tph-block) .tph-docs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
:is(#tph-home, .tph-block) .tph-docs-title { font-size: 28px; }
:is(#tph-home, .tph-block) .tph-docs-count { font-size: 14px; color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-docs-intro { margin: 0 0 10px; color: var(--tph-muted); }

:is(#tph-home, .tph-block) .tph-doc-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	column-gap: 36px;
}
:is(#tph-home, .tph-block) .tph-doc {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 8px 0;
	border-top: 1px solid var(--tph-soft);
	color: var(--tph-ink);
}
:is(#tph-home, .tph-block) .tph-doc:hover .tph-doc-title { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-doc:hover .tph-doc-action { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-doc-type {
	flex: none;
	min-width: 50px;
	padding: 4px 6px;
	border-radius: 6px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	background: var(--tph-soft);
	color: var(--tph-ink);
}
:is(#tph-home, .tph-block) .tph-doc-type-pdf { background: var(--tph-orange-tint); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-doc-type-word { background: var(--tph-tint); color: var(--tph-mid); }
:is(#tph-home, .tph-block) .tph-doc-type-excel { background: #E3F1EA; color: #1F5E3B; }
:is(#tph-home, .tph-block) .tph-doc-type-app { background: var(--tph-navy); color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-doc-type-link { background: #FFFFFF; color: var(--tph-mid); box-shadow: inset 0 0 0 1px var(--tph-line); }
:is(#tph-home, .tph-block) .tph-doc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
:is(#tph-home, .tph-block) .tph-doc-title { font-size: 16px; font-weight: 600; color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-doc-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-doc-tag { font-weight: 700; color: var(--tph-mid); }
:is(#tph-home, .tph-block) .tph-doc-action { flex: none; color: var(--tph-muted); display: flex; }

:is(#tph-home, .tph-block) .tph-months { display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-month-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	padding: 12px 0;
	border-top: 1px solid var(--tph-soft);
}
:is(#tph-home, .tph-block) .tph-month-year {
	width: 64px;
	font-family: var(--tph-head);
	font-weight: 700;
	font-size: 24px;
	color: var(--tph-navy);
}
:is(#tph-home, .tph-block) .tph-month-list { display: flex; flex-wrap: wrap; gap: 8px; }
:is(#tph-home, .tph-block) .tph-month {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tph-line);
	border-radius: 999px;
	color: var(--tph-navy);
	font-weight: 600;
	font-size: 15px;
}
:is(#tph-home, .tph-block) .tph-month:hover { background: var(--tph-tint); border-color: var(--tph-blue); color: var(--tph-blue); }

@media (max-width: 640px) {
	:is(#tph-home, .tph-block) .tph-doc-list { grid-template-columns: minmax(0, 1fr); }
	:is(#tph-home, .tph-block) .tph-docs { padding: 20px; }
}

/* ------------------------------------------------------------------ Design kit inside Divi modules */
.tph-block.tph-docs-block { background: transparent; }
.tph-block .tph-band-empty { margin-top: 14px; color: #FFFFFF; font-size: 16px; font-weight: 600; }
.tph-block.tph-docs-block .tph-docs { scroll-margin-top: 24px; }

/* Home link and breadcrumb */
:is(#tph-home, .tph-block) .tph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-crumbs a { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
:is(#tph-home, .tph-block) .tph-crumbs a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }

/* Menu button: hamburger when closed, X when open */
.tph .tph-menu-close-icon { display: none; }
.tph .tph-menu-toggle[aria-expanded="true"] .tph-menu-open-icon { display: none; }
.tph .tph-menu-toggle[aria-expanded="true"] .tph-menu-close-icon { display: block; }

/* Phones: quick actions two per row, compact */
@media (max-width: 640px) {
	:is(#tph-home, .tph-block) .tph-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	:is(#tph-home, .tph-block) .tph-quick-tile {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		min-height: 0;
		padding: 12px 14px;
	}
	:is(#tph-home, .tph-block) .tph-tile-icon { width: 36px; height: 36px; border-radius: 9px; }
	:is(#tph-home, .tph-block) .tph-quick-label { font-size: 18px; }
}

/* ------------------------------------------------------------------ Design kit: forms, tasks, steps, callout */
:is(#tph-home, .tph-block) .tph-doc-type-form { background: var(--tph-tint); color: var(--tph-navy); }

:is(#tph-home, .tph-block) .tph-form-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px 0 14px;
	border: 1px solid var(--tph-line);
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--tph-navy);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
:is(#tph-home, .tph-block) .tph-form-btn .tph-icon { color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-form-btn:hover { background: var(--tph-tint); border-color: var(--tph-blue); color: var(--tph-blue); }

:is(#tph-home, .tph-block) .tph-task-list { display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-task {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 12px 0;
	border-top: 1px solid var(--tph-soft);
}
:is(#tph-home, .tph-block) .tph-task-text { flex: 1 1 380px; min-width: 0; font-size: 16px; color: var(--tph-ink); }

:is(#tph-home, .tph-block) .tph-step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-step {
	display: flex;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--tph-soft);
}
:is(#tph-home, .tph-block) .tph-step-num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--tph-navy);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 15px;
}
:is(#tph-home, .tph-block) .tph-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
:is(#tph-home, .tph-block) .tph-step-text { margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
:is(#tph-home, .tph-block) .tph-step-note {
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--tph-orange-tint);
	color: var(--tph-navy);
	font-size: 15px;
}

:is(#tph-home, .tph-block) .tph-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 24px 28px;
	border-radius: 16px;
	background: var(--tph-navy);
	color: #FFFFFF;
}
:is(#tph-home, .tph-block) .tph-callout-text { flex: 1 1 380px; min-width: 0; }
:is(#tph-home, .tph-block) .tph-callout-title { color: #FFFFFF; margin-bottom: 4px; }
:is(#tph-home, .tph-block) .tph-callout p { margin: 0; padding: 0; color: #FFFFFF; font-size: 17px; }

@media (max-width: 640px) {
	:is(#tph-home, .tph-block) .tph-form-btn { white-space: normal; }
	:is(#tph-home, .tph-block) .tph-callout { padding: 20px; }
}

/* Waiting on you: things to act on vs. things to know about */
:is(#tph-home, .tph-block) .tph-count-info { background: var(--tph-soft); color: var(--tph-ink); }

/* "Your tools" heading spans both columns, so the Performance card and the right column line up */
:is(#tph-home, .tph-block) .tph-main { row-gap: 24px; }
:is(#tph-home, .tph-block) .tph-main-heading { flex: 1 1 100%; }

/* Announcement titles: chevron inside the card instead of the browser's triangle */
:is(#tph-home, .tph-block) .tph-ann-title { list-style: none; display: flex; align-items: flex-start; gap: 8px; }
:is(#tph-home, .tph-block) .tph-ann-title::-webkit-details-marker { display: none; }
:is(#tph-home, .tph-block) .tph-ann-title::before {
	content: "";
	flex: none;
	width: 8px; height: 8px;
	margin-top: 7px;
	border-right: 2px solid var(--tph-blue);
	border-bottom: 2px solid var(--tph-blue);
	transform: rotate(-45deg);
	transition: transform .15s ease;
}
:is(#tph-home, .tph-block) .tph-ann-details[open] > .tph-ann-title::before { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
	:is(#tph-home, .tph-block) .tph-ann-title::before { transition: none; }
}

/* Title-only announcements: no chevron, nothing to open */
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-title-plain { cursor: default; margin: 0; }
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-title-plain::before { content: none; }
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-title-plain:hover { color: var(--tph-navy); }

/* Orange accent under "Tech Portal", left-aligned with the text (logo lockup A) */
.tph .tph-brand-word { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.tph .tph-brand-accent { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--tph-orange); }
.tph .tph-footer .tph-brand-word { gap: 5px; }
.tph .tph-footer .tph-brand-accent { width: 32px; height: 3px; }
@media (max-width: 640px) {
	.tph .tph-brand-accent { width: 36px; height: 3px; }
}

/* Footer social badges */
.tph .tph-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.tph .tph-social li { margin: 0; padding: 0; list-style: none; }
.tph .tph-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 0;
	background: var(--tph-mid); /* CUI Mid Blue #064585, as in the brand badges */
	color: #FFFFFF;
	text-decoration: none;
	transition: background .15s ease;
}
.tph .tph-social-link:hover,
.tph .tph-social-link:focus-visible { background: var(--tph-navy); color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .tph .tph-social-link { transition: none; } }
@media (max-width: 640px) { .tph .tph-social { margin-left: 0; } }

/* Divi pages: keep the header (and its dropdowns) above the title band and content below it.
   Divi stacks each section and module separately, so the header's own z-index alone is not enough. */
.et_pb_section:has(.tph-header),
.et_pb_row:has(.tph-header),
.et_pb_module:has(.tph-header) {
	position: relative;
	z-index: 100 !important;
	overflow: visible !important;
}
.tph-chrome-only:has(.tph-header) { position: relative; z-index: 100; }

/* ------------------------------------------------------------------ Launch switch: site-wide look */
/* Pages that get the automatic title band don't also show Divi's page title. */
body.tph-has-band .entry-title.main_title,
body.tph-has-band #left-area > article > .main_title { display: none; }
body.tph-chrome .tph-global-header { position: relative; z-index: 100; }

/* Brand styles for ordinary pages (only while the switch applies to the visitor).
   Headings and links are styled only where people write content themselves - Divi Text, Blurb
   and Toggle modules and plain page content - never inside plugins or the new design's own
   blocks, which set their own colors (for example white text on dark banners). */
/* :where() keeps these rules weak: they replace Divi's default colors and fonts, but any color
   or font set on a specific module in the Divi Builder still wins. */
body.tph-brand :where(#main-content) { font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif; }
body.tph-brand :where(#main-content :is(.et_pb_text, .et_pb_blurb, .et_pb_toggle) :is(h1, h2, h3, h4)),
body.tph-brand :where(#main-content .entry-content > :is(h1, h2, h3, h4)) {
	font-family: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	color: #04234A;
}
body.tph-brand :where(#main-content :is(.et_pb_text, .et_pb_blurb, .et_pb_toggle) a),
body.tph-brand :where(#main-content .entry-content > :is(p, ul, ol) a) { color: #0867C1; }
/* Text on a Divi dark background (Background Layout: dark) stays white. */
body.tph-brand :where(#main-content .et_pb_bg_layout_dark :is(h1, h2, h3, h4, a)) { color: #FFFFFF; }
body.tph-brand #main-content .et_pb_button {
	background-color: #FA9925;
	border: 0;
	border-radius: 10px;
	color: #04234A;
	font-weight: 700;
}
body.tph-brand #main-content .et_pb_button:hover { background-color: #FFAD4A; color: #04234A; }
body.tph-brand .wpforms-container button[type="submit"],
body.tph-brand .wpforms-container .wpforms-submit {
	background-color: #FA9925 !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #04234A !important;
	font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700 !important;
}
body.tph-brand .wpforms-container button[type="submit"]:hover { background-color: #FFAD4A !important; }

/* ------------------------------------------------------------------ Design kit: dashboard card */
:is(#tph-home, .tph-block) .tph-embed { padding: 20px; }
:is(#tph-home, .tph-block) .tph-embed-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 16px;
}
:is(#tph-home, .tph-block) .tph-embed-text { flex: 1 1 320px; min-width: 0; }
:is(#tph-home, .tph-block) .tph-embed-title { font-size: 26px; }
:is(#tph-home, .tph-block) .tph-embed-note { margin: 4px 0 0; padding: 0; color: var(--tph-muted); font-size: 15px; }
:is(#tph-home, .tph-block) .tph-embed-actions { display: flex; flex-wrap: wrap; gap: 8px; }
:is(#tph-home, .tph-block) .tph-embed-actions .tph-form-btn { cursor: pointer; font-family: var(--tph-body); }
:is(#tph-home, .tph-block) .tph-embed-frame {
	position: relative;
	width: 100%;
	border: 1px solid var(--tph-line);
	border-radius: 12px;
	overflow: hidden;
	background: var(--tph-bg);
}
:is(#tph-home, .tph-block) .tph-embed-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
:is(#tph-home, .tph-block) .tph-embed-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tph-muted);
	font-size: 15px;
}
:is(#tph-home, .tph-block) .tph-embed-frame:fullscreen { border-radius: 0; border: 0; background: #FFFFFF; }
@media (max-width: 640px) {
	:is(#tph-home, .tph-block) .tph-embed { padding: 14px; }
	/* On phones a wide report is too short to use, so give it more height. */
	:is(#tph-home, .tph-block) .tph-embed-frame { aspect-ratio: 3 / 4 !important; }
}

/* ------------------------------------------------------------------ Design kit: section titles, action cards */
:is(#tph-home, .tph-block) .tph-block-title { margin-bottom: 6px; }
:is(#tph-home, .tph-block) .tph-block-intro { margin: 0 0 16px; padding: 0; color: var(--tph-muted); font-size: 17px; }
:is(#tph-home, .tph-block) .tph-actions-block { scroll-margin-top: 24px; }
:is(#tph-home, .tph-block) .tph-action-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
:is(#tph-home, .tph-block) .tph-action-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 26px 24px 24px;
	border-top: 4px solid var(--tph-orange);
}
:is(#tph-home, .tph-block) .tph-action-icon {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--tph-navy); color: #FFFFFF;
}
:is(#tph-home, .tph-block) .tph-action-title { font-size: 24px; }
:is(#tph-home, .tph-block) .tph-action-text { margin: 0; padding: 0; flex: 1; color: var(--tph-ink); }
:is(#tph-home, .tph-block) .tph-action-btn { margin-top: 6px; min-height: 46px; }

/* Information cards */
:is(#tph-home, .tph-block) .tph-info { padding: 24px; }
:is(#tph-home, .tph-block) .tph-info-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
:is(#tph-home, .tph-block) .tph-info-text { margin: 0 0 10px; padding: 0; }
:is(#tph-home, .tph-block) .tph-info-facts { margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-fact {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
	padding: 10px 0; border-top: 1px solid var(--tph-soft);
}
:is(#tph-home, .tph-block) .tph-fact dt { margin: 0; color: var(--tph-muted); font-size: 15px; font-weight: 600; }
:is(#tph-home, .tph-block) .tph-fact dd { margin: 0; display: flex; align-items: center; gap: 10px; }
:is(#tph-home, .tph-block) .tph-fact-value { font-size: 18px; font-weight: 700; color: var(--tph-navy); letter-spacing: .02em; }
:is(#tph-home, .tph-block) .tph-copy {
	min-height: 32px; padding: 0 12px; border: 1px solid var(--tph-line); border-radius: 8px;
	background: #FFFFFF; color: var(--tph-blue); font-family: var(--tph-body); font-size: 13px; font-weight: 700; cursor: pointer;
}
:is(#tph-home, .tph-block) .tph-copy:hover { background: var(--tph-tint); }
:is(#tph-home, .tph-block) .tph-info-steps { margin: 0 0 12px 22px; padding: 0; }
:is(#tph-home, .tph-block) .tph-info-steps li { margin: 0 0 6px; padding: 0 0 0 4px; }
:is(#tph-home, .tph-block) .tph-info-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Gallery with tabs */
:is(#tph-home, .tph-block) .tph-gallery { padding: 24px; scroll-margin-top: 24px; }
:is(#tph-home, .tph-block) .tph-gallery-title { margin-bottom: 4px; }
:is(#tph-home, .tph-block) .tph-gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
:is(#tph-home, .tph-block) .tph-gallery-tab {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 14px; border: 1px solid var(--tph-line); border-radius: 999px;
	background: #FFFFFF; color: var(--tph-navy); font-family: var(--tph-body); font-size: 15px; font-weight: 600; cursor: pointer;
}
:is(#tph-home, .tph-block) .tph-gallery-tab[aria-selected="true"] { background: var(--tph-navy); border-color: var(--tph-navy); color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-tab-count { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--tph-orange-tint); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-gallery-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
	list-style: none; margin: 0; padding: 0;
}
:is(#tph-home, .tph-block) .tph-gallery-grid li { margin: 0; padding: 0; }
:is(#tph-home, .tph-block) .tph-gallery-item {
	display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--tph-line); background: var(--tph-bg);
	transition: transform .15s ease, box-shadow .15s ease;
}
:is(#tph-home, .tph-block) .tph-gallery-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(4, 35, 74, .16); }
:is(#tph-home, .tph-block) .tph-gallery-item img { display: block; width: 100%; height: auto; }
:is(#tph-home, .tph-block) .tph-gallery-caption { display: block; margin-top: 6px; font-size: 14px; color: var(--tph-muted); }
.tph-lightbox { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: transparent; overflow: visible; }
.tph-lightbox::backdrop { background: rgba(4, 35, 74, .82); }
.tph-lightbox img { display: block; max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; }
.tph-lightbox-close {
	position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: #FFFFFF; color: #04234A; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Item cards (gift tiers) */
:is(#tph-home, .tph-block) .tph-items { padding: 24px; height: 100%; display: flex; flex-direction: column; }
:is(#tph-home, .tph-block) .tph-items-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
:is(#tph-home, .tph-block) .tph-items-badge {
	display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
	background: var(--tph-orange); color: var(--tph-navy); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
}
:is(#tph-home, .tph-block) .tph-items-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px;
	list-style: none; margin: 0 0 18px; padding: 0; flex: 1;
}
:is(#tph-home, .tph-block) .tph-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin: 0; padding: 0; }
:is(#tph-home, .tph-block) .tph-item-pic {
	display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; padding: 10px;
	border-radius: 12px; background: var(--tph-bg);
}
:is(#tph-home, .tph-block) .tph-item-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
:is(#tph-home, .tph-block) .tph-item-label { font-size: 15px; font-weight: 600; color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-items-btn { align-self: flex-start; }

/* Celebratory title band (style="celebrate") */
:is(#tph-home, .tph-block) .tph-band-celebrate { background: linear-gradient(110deg, #04234A 0%, #064585 55%, #0867C1 100%); }
:is(#tph-home, .tph-block) .tph-band-celebrate .tph-fibers { opacity: .35; }
:is(#tph-home, .tph-block) .tph-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
:is(#tph-home, .tph-block) .tph-band-trophy {
	position: absolute; right: max(32px, calc(50% - 600px)); top: 50%; transform: translateY(-50%) rotate(-8deg);
	color: var(--tph-orange); opacity: .95; pointer-events: none;
}
:is(#tph-home, .tph-block) .tph-band-trophy .tph-icon { width: 120px; height: 120px; stroke-width: 1.4; }
:is(#tph-home, .tph-block) .tph-band-celebrate .tph-band-title::after {
	content: ""; display: block; width: 72px; height: 6px; margin-top: 12px; border-radius: 3px; background: var(--tph-orange);
}
@media (max-width: 900px) {
	:is(#tph-home, .tph-block) .tph-band-trophy { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	:is(#tph-home, .tph-block) .tph-gallery-item { transition: none; }
	:is(#tph-home, .tph-block) .tph-gallery-item:hover { transform: none; }
}

:is(#tph-home, .tph-block) .tph-heading-block { scroll-margin-top: 24px; }
.tph-block.tph-docs-block { margin-bottom: 0; }

/* Cards that are list items: the list-item reset above must not remove their padding. */
:is(#tph-home, .tph-block) .tph-action-grid > li.tph-action-card { padding: 26px 24px 24px; margin: 0; }

/* Action cards: the button sits at the bottom, so cards in a row line up with or without a description. */
:is(#tph-home, .tph-block) .tph-action-btn { margin-top: auto; }
:is(#tph-home, .tph-block) .tph-action-title + .tph-action-btn { margin-top: 8px; }
:is(#tph-home, .tph-block) .tph-action-grid { align-items: stretch; }

/* "Go back" link */
:is(#tph-home, .tph-block) .tph-back {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
	color: var(--tph-blue); font-weight: 700; text-decoration: none;
}
:is(#tph-home, .tph-block) .tph-back:hover { text-decoration: underline; }
:is(#tph-home, .tph-block) .tph-back-arrow { display: inline-flex; transform: rotate(180deg); }

/* Action cards: the current month (highlight="month") */
:is(#tph-home, .tph-block) .tph-action-grid > li.tph-action-current {
	background: var(--tph-navy);
	border-color: var(--tph-navy);
	color: #FFFFFF;
	box-shadow: 0 12px 28px rgba(4, 35, 74, .22);
}
:is(#tph-home, .tph-block) .tph-action-current .tph-action-title { color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-action-current .tph-action-text { color: rgba(255, 255, 255, .88); }
:is(#tph-home, .tph-block) .tph-action-current .tph-action-icon { background: var(--tph-orange); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-action-flag {
	position: absolute; top: 18px; right: 18px;
	padding: 3px 10px; border-radius: 999px;
	background: var(--tph-orange); color: var(--tph-navy);
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}

/* List-item blocks: the reset near the top ("li { margin: 0; padding: 0 }") outranked these,
   which squeezed steps, guide tasks and announcements against their dividers. */
:is(#tph-home, .tph-block) .tph-step-list > li.tph-step { padding: 18px 0; margin: 0; align-items: center; }
:is(#tph-home, .tph-block) .tph-step-list > li.tph-step:first-child { border-top: 0; padding-top: 6px; }
:is(#tph-home, .tph-block) .tph-step-list > li.tph-step:last-child { padding-bottom: 4px; }
:is(#tph-home, .tph-block) li.tph-task { padding: 12px 0; margin: 0; }
:is(#tph-home, .tph-block) li.tph-ann { padding: 14px 0; margin: 0; }
:is(#tph-home, .tph-block) li.tph-ann:last-child { padding-bottom: 0; }

/* Action cards: second button */
:is(#tph-home, .tph-block) .tph-action-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
:is(#tph-home, .tph-block) .tph-action-btns .tph-action-btn { margin-top: 0; }
:is(#tph-home, .tph-block) .tph-action-btn2 { min-height: 46px; }
:is(#tph-home, .tph-block) .tph-action-current .tph-action-btn2 { background: transparent; border-color: rgba(255,255,255,.5); color: #FFFFFF; }
:is(#tph-home, .tph-block) .tph-action-current .tph-action-btn2:hover { background: rgba(255,255,255,.12); }

/* Video cards */
:is(#tph-home, .tph-block) .tph-videos { padding: 24px; scroll-margin-top: 24px; }
:is(#tph-home, .tph-block) .tph-video-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
	list-style: none; margin: 12px 0 0; padding: 0;
}
:is(#tph-home, .tph-block) li.tph-video { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
:is(#tph-home, .tph-block) .tph-video-frame { border-radius: 12px; overflow: hidden; background: #04234A; aspect-ratio: 16 / 9; }
:is(#tph-home, .tph-block) .tph-video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #04234A; }
:is(#tph-home, .tph-block) .tph-video-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
:is(#tph-home, .tph-block) .tph-video-tag {
	padding: 2px 10px; border-radius: 999px; background: var(--tph-tint); color: var(--tph-blue);
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
:is(#tph-home, .tph-block) .tph-video-name { font-family: var(--tph-display); font-size: 21px; font-weight: 700; color: var(--tph-navy); line-height: 1.15; }

/* YouTube in video cards */
:is(#tph-home, .tph-block) .tph-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Course navigation */
:is(#tph-home, .tph-block) .tph-lesson { display: flex; flex-direction: column; gap: 14px; }
:is(#tph-home, .tph-block) .tph-lesson-progress { display: flex; align-items: center; gap: 14px; }
:is(#tph-home, .tph-block) .tph-lesson-count { flex: none; font-size: 14px; font-weight: 700; color: var(--tph-muted); }
:is(#tph-home, .tph-block) .tph-lesson-bar { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--tph-soft); overflow: hidden; }
:is(#tph-home, .tph-block) .tph-lesson-bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--tph-orange); }
:is(#tph-home, .tph-block) .tph-lesson-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
:is(#tph-home, .tph-block) .tph-lesson-next { min-height: 48px; gap: 6px; }

/* Quiz result card */
:is(#tph-home, .tph-block) .tph-result { padding: 36px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
:is(#tph-home, .tph-block) .tph-result-mark { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; }
:is(#tph-home, .tph-block) .tph-result-pass .tph-result-mark { background: var(--tph-orange); color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-result-fail .tph-result-mark { background: var(--tph-tint); color: var(--tph-blue); }
:is(#tph-home, .tph-block) .tph-result-text { margin: 0; padding: 0; max-width: 620px; font-size: 18px; }
:is(#tph-home, .tph-block) .tph-result-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* Lesson card: the lesson's own Divi images fill the card width */
.tph-lesson-card .et_pb_image img { width: 100%; height: auto; border-radius: 10px; }

/* Ultimate Member forms (sign in, register, account, password reset, profile) while the new look applies. */
body.tph-brand .um { font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif; }
body.tph-brand .um input[type="submit"].um-button,
body.tph-brand .um a.um-button,
body.tph-brand .um .um-button:not(.um-alt) { background: #FA9925 !important; border-color: #FA9925 !important; color: #04234A !important; font-weight: 700; border-radius: 10px !important; }
body.tph-brand .um input[type="submit"].um-button:hover,
body.tph-brand .um a.um-button:not(.um-alt):hover { background: #FFAD4A !important; border-color: #FFAD4A !important; }
body.tph-brand .um a.um-button.um-alt,
body.tph-brand .um .um-button.um-alt { background: #FFFFFF !important; border: 1px solid #C9D5E3 !important; color: #04234A !important; border-radius: 10px !important; }
body.tph-brand .um a.um-button.um-alt:hover { border-color: #0867C1 !important; background: #EAF2FB !important; }
body.tph-brand .um a:not(.um-button),
body.tph-brand .um .um-link-alt { color: #0867C1 !important; }
body.tph-brand .um .um-field-label label { color: #04234A; font-weight: 600; }
body.tph-brand .um input[type="text"],
body.tph-brand .um input[type="email"],
body.tph-brand .um input[type="password"],
body.tph-brand .um input[type="tel"],
body.tph-brand .um select,
body.tph-brand .um textarea { border-color: #C9D5E3 !important; border-radius: 8px !important; }
body.tph-brand .um input:focus,
body.tph-brand .um select:focus,
body.tph-brand .um textarea:focus { border-color: #0867C1 !important; box-shadow: 0 0 0 3px rgba(8, 103, 193, .18) !important; outline: none; }
body.tph-brand .um-account-side li a.current,
body.tph-brand .um-account-side li a:hover { background: #EAF2FB !important; color: #0867C1 !important; }
body.tph-brand .um-account-side li a.current .um-account-icon,
body.tph-brand .um-account-side li a.current .um-account-title { color: #0867C1 !important; }

/* "New: update your LinkedIn profile" card under the search box */
#tph-home .tph-promo {
	display: flex; align-items: center; gap: 14px; max-width: 560px; margin-top: 16px; padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; background: rgba(255, 255, 255, .10);
	color: #FFFFFF; text-decoration: none; transition: background .15s ease, border-color .15s ease;
}
#tph-home .tph-promo:hover, #tph-home .tph-promo:focus-visible { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
#tph-home .tph-promo-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #FFFFFF; color: #0867C1; }
#tph-home .tph-promo-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tph-home .tph-promo-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
#tph-home .tph-promo-tag { padding: 1px 8px; border-radius: 999px; background: #FA9925; color: #04234A; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
#tph-home .tph-promo-sub { font-size: 14px; color: rgba(255, 255, 255, .85); }
#tph-home .tph-promo-arrow { margin-left: auto; flex: none; display: flex; opacity: .85; }
@media (prefers-reduced-motion: reduce) { #tph-home .tph-promo { transition: none; } }

/* Announcements with a message: a preview line and a clear Read more / Show less, the whole row clickable */
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	margin: -8px -10px; padding: 8px 10px; border-radius: 10px;
	transition: background-color .15s ease;
}
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary::before { content: none; }
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary:hover,
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary:focus-visible { background: var(--tph-blue-tint, #EAF2FB); color: var(--tph-navy); outline: none; }
:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary:focus-visible { box-shadow: 0 0 0 3px rgba(8, 103, 193, .25); }
:is(#tph-home, .tph-block) .tph-ann-title-text { font-size: 16px; font-weight: 600; color: var(--tph-navy); }
:is(#tph-home, .tph-block) .tph-ann-preview {
	font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--tph-muted, #5B6B80);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
:is(#tph-home, .tph-block) .tph-ann-more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
	font-size: 14px; font-weight: 700; color: var(--tph-blue);
}
:is(#tph-home, .tph-block) .tph-ann-more::after {
	content: ""; width: 7px; height: 7px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .15s ease;
}
:is(#tph-home, .tph-block) .tph-ann-more-close { display: none; }
:is(#tph-home, .tph-block) .tph-ann-details[open] .tph-ann-more-open { display: none; }
:is(#tph-home, .tph-block) .tph-ann-details[open] .tph-ann-more-close { display: inline; }
:is(#tph-home, .tph-block) .tph-ann-details[open] .tph-ann-more::after { transform: rotate(-135deg); margin-top: 3px; }
:is(#tph-home, .tph-block) .tph-ann-details[open] .tph-ann-preview { display: none; }
:is(#tph-home, .tph-block) .tph-ann-details[open] .tph-ann-body { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
	:is(#tph-home, .tph-block) .tph-ann-title.tph-ann-summary,
	:is(#tph-home, .tph-block) .tph-ann-more::after { transition: none; }
}
