/*
 * Goshen Portal Pages. Scoped to .gp so it cannot restyle the theme.
 * Colours are the Goshen values, fixed (1.2.0: they used to follow the Elementor
 * kit, and a reset or new kit, whose defaults are greys, changed the portal).
 * The heading font still follows the site's H1 font, with Lora as fallback.
 */
.gp {
	--gp-navy: #163C74;
	--gp-blue: #1F519C;
	--gp-gold: #E0B630;
	--gp-tint: #F3F8FE;
	--gp-tint-2: #E2EAF3;
	--gp-text: #625A53;
	--gp-border: #DCD7D1;
	--gp-heading-font: var(--e-global-typography-h1-font-family, "Lora"), Georgia, serif;
	--gp-radius: 16px;
	--gp-shadow: 0 1px 2px rgba(22, 60, 116, .06), 0 8px 24px -12px rgba(22, 60, 116, .22);
	box-sizing: border-box;
	color: var(--gp-text);
}
.gp *, .gp *::before, .gp *::after { box-sizing: inherit; }
.gp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
/* Grids respond to the space the section really has (Elementor column, theme content width), not the viewport. */
.gp-section .gp-wrap, .gp-intro .gp-wrap { container-type: inline-size; }
@media (min-width: 768px) { .gp-wrap { padding: 0 32px; } }

.gp-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.gp .gp-icon { width: 1.25em; height: 1.25em; flex: none; }
.gp a:focus-visible { outline: 3px solid var(--gp-blue); outline-offset: 3px; border-radius: 4px; }

/* ---- Page header (hero) ---- */
.gp-hero {
	background: linear-gradient(180deg, var(--gp-tint) 0%, var(--gp-tint-2) 100%);
	border-bottom: 4px solid var(--gp-gold);
	padding: 40px 0 36px;
}
@media (min-width: 768px) { .gp-hero { padding: 64px 0 56px; } }
.gp .gp-hero__title {
	font-family: var(--gp-heading-font);
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
	line-height: 1.15;
	font-weight: 600;
	color: var(--gp-navy);
	margin: 0 0 16px;
	overflow-wrap: break-word;
	/* The site's H1 treatment (design update 2026-11-13: every H1 carries this shadow). */
	text-shadow: -5px 4px 9px rgba(0, 0, 0, 0.25);
}
.gp .gp-hero__lead {
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
	line-height: 1.6;
	max-width: 46rem;
	margin: 0 0 12px;
	color: var(--gp-text);
}
.gp .gp-hero__lead:last-child { margin-bottom: 0; }
.gp .gp-hero__note {
	display: flex; gap: 12px; align-items: flex-start;
	max-width: 46rem; margin: 20px 0 0; padding: 14px 18px;
	background: #fff; border: 1px solid var(--gp-border); border-left: 4px solid var(--gp-blue);
	border-radius: 10px; line-height: 1.55; color: var(--gp-navy);
}
.gp .gp-hero__note .gp-icon { color: var(--gp-blue); margin-top: .15em; }

/* ---- Intro section under the header (Resources, Enrollment) ---- */
.gp-intro { padding: 32px 0 8px; }
.gp .gp-intro__title {
	font-family: var(--gp-heading-font); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
	line-height: 1.25; font-weight: 600; color: var(--gp-navy); margin: 0 0 12px;
}
.gp .gp-intro__text, .gp .gp-intro__extra { max-width: 46rem; line-height: 1.6; margin: 0 0 12px; }
.gp .gp-intro__extra ul { margin: 0; padding-left: 1.25em; }
.gp .gp-intro__extra li { margin: 0 0 6px; }

.gp .gp-steps {
	list-style: none; margin: 8px 0 0; padding: 0;
	display: grid; gap: 16px; grid-template-columns: 1fr;
}
@container (min-width: 600px) { .gp .gp-steps { grid-template-columns: 1fr 1fr; } }
.gp .gp-steps__item {
	display: flex; gap: 16px; align-items: flex-start; margin: 0;
	padding: 20px; background: #fff; border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius); box-shadow: var(--gp-shadow);
}
.gp .gp-steps__num {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 50%; background: var(--gp-navy); color: #fff; font-weight: 700; font-size: 1.125rem;
}
.gp .gp-steps__item p { margin: 0; line-height: 1.6; padding-top: 7px; color: var(--gp-navy); }

/* ---- Card sections ---- */
.gp-section { padding: 32px 0 48px; }
@media (min-width: 768px) { .gp-section { padding: 48px 0 64px; } }

/* Admin Center cards: 1 column, 2 when the section is at least 600px wide */
.gp .gp-cards {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 20px; grid-template-columns: 1fr;
}
@container (min-width: 600px) { .gp .gp-cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.gp .gp-card {
	position: relative; display: flex; flex-direction: column; margin: 0;
	padding: 24px; background: #fff; border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius); box-shadow: var(--gp-shadow);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gp .gp-card:hover { border-color: var(--gp-blue); box-shadow: 0 2px 4px rgba(22, 60, 116, .08), 0 14px 32px -14px rgba(22, 60, 116, .35); transform: translateY(-2px); }
.gp .gp-card:focus-within { outline: 3px solid var(--gp-blue); outline-offset: 3px; }
.gp .gp-card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
	border-radius: 14px; background: var(--gp-tint-2); color: var(--gp-navy);
}
.gp .gp-card__icon .gp-icon { width: 26px; height: 26px; }
.gp .gp-card__title {
	font-family: var(--gp-heading-font); font-size: 1.375rem; line-height: 1.3; font-weight: 600;
	color: var(--gp-navy); margin: 0 0 8px;
}
.gp .gp-card__text { margin: 0 0 20px; line-height: 1.6; flex: 1 1 auto; }
.gp .gp-card__action {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 999px;
	background: var(--gp-navy); color: #fff; font-weight: 600; text-decoration: none; line-height: 1.2;
	transition: background-color .2s ease;
}
.gp .gp-card__action::after { content: ""; position: absolute; inset: 0; border-radius: var(--gp-radius); }
.gp .gp-card__action:hover, .gp .gp-card:hover .gp-card__action { background: var(--gp-blue); color: #fff; }
.gp .gp-card__action:focus-visible { outline-offset: 4px; }
.gp .gp-card__action .gp-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.gp .gp-card:hover .gp-card__action .gp-icon { transform: translateX(3px); }

/* Document cards: stacked when narrow, one row from 600px of section width */
.gp .gp-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.gp .gp-doc {
	display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; margin: 0;
	padding: 22px; background: #fff; border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius); box-shadow: var(--gp-shadow);
}
@container (min-width: 600px) { .gp .gp-doc { grid-template-columns: auto 1fr auto; gap: 16px 22px; align-items: center; padding: 24px 28px; } }
.gp .gp-doc__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--gp-tint-2); color: var(--gp-navy);
}
.gp .gp-doc__icon .gp-icon { width: 26px; height: 26px; }
.gp .gp-doc__body { min-width: 0; }
.gp .gp-doc__title { font-family: var(--gp-heading-font); font-size: 1.25rem; line-height: 1.35; font-weight: 600; margin: 0 0 6px; }
.gp .gp-doc__title a { display: inline-block; padding: 3px 0; color: var(--gp-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.gp .gp-doc__title a:hover { color: var(--gp-blue); text-decoration-thickness: 2px; }
.gp .gp-doc__title .gp-icon { width: .8em; height: .8em; margin-left: .35em; vertical-align: -.05em; }
.gp .gp-doc__text { margin: 0 0 6px; line-height: 1.6; }
.gp .gp-doc__meta { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--gp-navy); letter-spacing: .01em; }
.gp .gp-doc__download { justify-self: stretch; }
@container (min-width: 600px) { .gp .gp-doc__download { justify-self: end; } }

.gp .gp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--gp-gold);
	background: var(--gp-gold); color: var(--gp-navy); font-weight: 700; text-decoration: none; line-height: 1.2;
	white-space: nowrap; transition: background-color .2s ease, border-color .2s ease;
}
.gp .gp-btn:hover { background: #EDCC63; border-color: #EDCC63; color: var(--gp-navy); }
.gp .gp-btn:focus-visible { outline-color: var(--gp-navy); }

/* ---- Video ---- */
.gp-video { padding: 32px 0; }
.gp .gp-video__heading {
	font-family: var(--gp-heading-font); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.25;
	font-weight: 600; color: var(--gp-navy); margin: 0 0 16px;
}
.gp .gp-video__frame {
	position: relative; width: 100%; max-width: 960px; overflow: hidden;
	border-radius: var(--gp-radius); background: #0b1626; box-shadow: var(--gp-shadow);
}
.gp .gp-video__player { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b1626; }
.gp-video--testimonial { background: var(--gp-tint); border-top: 4px solid var(--gp-gold); padding: 40px 0 48px; }
.gp-video--testimonial .gp-video__heading { text-align: center; }
.gp-video--testimonial .gp-video__frame { margin: 0 auto; }

/* ---- Account menu (plugin output) on small screens: keep the dropdown on screen ---- */
@media (max-width: 767px) {
	.cpm-account-menu .cpm-dropdown { max-width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
	.gp *, .gp *::before, .gp *::after { transition: none !important; }
	.gp .gp-card:hover { transform: none; }
}
@media (forced-colors: active) {
	.gp .gp-card, .gp .gp-doc, .gp .gp-steps__item { border-color: CanvasText; }
	.gp .gp-btn, .gp .gp-card__action { border: 2px solid ButtonText; }
}

/* ---- Review feeds on house pages: [goshen_reviews home="..."] (1.1.0) ----
 * Scoped to .gp-reviews so the same plugins elsewhere keep their own look.
 * Matches the house-page sections (Fraunces / Hanken Grotesk, deep green text,
 * soft bordered cards). Nothing here hides ratings, names, dates or source.
 */
.gp-reviews {
	--gr-ink: #12332B;
	--gr-muted: #475569;
	--gr-line: rgba(18, 51, 43, .12);
	--gr-shadow: 0 1px 2px rgba(18, 51, 43, .05), 0 16px 40px -28px rgba(15, 61, 46, .45);
	--gr-radius: 16px;
	--gr-body: "Hanken Grotesk", var(--e-global-typography-text-font-family, "Plus Jakarta Sans"), sans-serif;
	max-width: 1200px;
	margin: 0 auto;
	color: var(--gr-ink);
	font-family: var(--gr-body);
	overflow-wrap: break-word;
}
.gp-reviews a:focus-visible { outline: 3px solid var(--gr-ink); outline-offset: 3px; border-radius: 4px; }

/* Widgets for Google Reviews ([grw id=…]): the plugin forces its styles with !important
 * but reads these custom properties, so the brand values go in through them. */
.gp-reviews--grw .wp-gr {
	--rev-color: #fff;
	--rev-bg: #fff;
	--name-color: var(--gr-ink);
	--head-name-color: var(--gr-ink);
	--text-color: var(--gr-ink);
	font-family: var(--gr-body);
}
.gp-reviews--grw .wp-gr .grw-review-inner { border: 1px solid var(--gr-line); box-shadow: var(--gr-shadow); }

/* WP Review Slider Pro, template 1 ([wprevpro_usetemplate tid="1"]). Font sizes are left
 * to the plugin: the slider measures its height from them. */
.gp-reviews--wprevpro .wprevpro_t1_DIV_2 {
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	box-shadow: var(--gr-shadow);
}
.gp-reviews--wprevpro .wprevpro_t1_P_3 { font-family: var(--gr-body); font-style: normal; color: var(--gr-ink); }
.gp-reviews--wprevpro .wprevpro_t1_SPAN_5 { font-family: var(--gr-body); color: var(--gr-muted); }
.gp-reviews--wprevpro .wprs_rd_more { color: var(--gr-ink); text-decoration: underline; }

/* Trustindex (free Google widget): already card-based; only the width is aligned. */
.gp-reviews--trustindex .ti-widget { max-width: 100%; }

/* 1.4.0 Contrast fixes inside the review feeds on the house pages (WCAG 2.2 AA 1.4.3, text at least 4.5:1).
 * Measured on goshenhomecare.com 2026-11-20. The plugins force their colours, hence !important.
 * Scoped to the house-page feed wrappers (Goshen theme: .gh-review-feed; this plugin: .gp-reviews). */
:is(.gh-review-feed, .gp-reviews) .rpi-stars { color: #A04E00 !important; }                       /* Google Reviews rating "4.8": was #FB8E28, 2.33:1, now 5.9:1 */
:is(.gh-review-feed, .gp-reviews) .ti-read-more-active,
:is(.gh-review-feed, .gp-reviews) .ti-read-more span { opacity: 1 !important; color: #1C3A5E !important; text-decoration: underline; } /* Trustindex "Read more": was black at 50%, 3.9:1 */
:is(.gh-review-feed, .gp-reviews) .wprs_unslider-arrow { opacity: 1 !important; color: #2B2724 !important; }  /* Review Slider Prev/Next: was 60%, 4.07:1 */
:is(.gh-review-feed, .gp-reviews) .ti-date, :is(.gh-review-feed, .gp-reviews) .ti-with-tooltip { color: #595959 !important; } /* Trustindex date: 4.85:1, raised to 6.5:1 for margin */

/* 1.2.0 START */
/* ==========================================================================
 * 1.2.0: portal navigation, Patient Forms page and accordion.
 * Everything is scoped to .gp. Buttons reset the theme's (Astra / Elementor kit)
 * global button styles explicitly, so they look the same under any theme.
 *
 * Quick changes:
 *   colours  → the --gp-* variables at the top of this file (they follow the
 *              Elementor kit colours when the kit is present)
 *   spacing  → .gp-pforms__body (page), .gp-acc (gap between forms),
 *              .gp-acc__trigger (heading padding), .gp-acc__body (form padding)
 *   speed    → --gp-acc-speed below (also DURATION in goshen-portal.js)
 * ========================================================================== */
.gp {
	--gp-ink: #1F2933;
	--gp-gold-soft: #FBF3D9;
	--gp-acc-speed: 350ms;
}
.gp button:focus-visible { outline: 3px solid var(--gp-blue); outline-offset: 3px; }

/* ---- Admin Center navigation ([goshen_portal_nav], Admin Center pages only) ----
 * A compact row of links above the page header. Current page: navy pill with a
 * gold icon. Hover: light tint. Phones: Admin Center on its own row, the four
 * tools in two even columns. */
.gp-pnav { background: #fff; border-bottom: 1px solid var(--gp-tint-2); padding: 10px 0; }
.gp .gp-pnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.gp .gp-pnav__list li { margin: 0; }
.gp .gp-pnav__link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px;
	border: 1px solid transparent; border-radius: 999px; background: transparent;
	color: var(--gp-navy); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.gp .gp-pnav__link .gp-icon { width: 18px; height: 18px; color: var(--gp-blue); transition: color .2s ease; }
.gp .gp-pnav__link:hover { background: var(--gp-tint); border-color: var(--gp-tint-2); color: var(--gp-navy); text-decoration: none; }
.gp .gp-pnav__link[aria-current="page"] { background: var(--gp-navy); border-color: var(--gp-navy); color: #fff; }
.gp .gp-pnav__link[aria-current="page"] .gp-icon { color: var(--gp-gold); }
@media (max-width: 599px) {
	.gp .gp-pnav__list { display: grid; grid-template-columns: 1fr 1fr; }
	.gp .gp-pnav__list li:first-child { grid-column: 1 / -1; }
	.gp .gp-pnav__link { width: 100%; height: 100%; padding: 6px 12px; font-size: .875rem; border-color: var(--gp-tint-2); }
	.gp .gp-pnav__link .gp-icon { width: 16px; height: 16px; }
}
/* Small phones: labels only, so each fits on one line. */
@media (max-width: 400px) {
	.gp .gp-pnav__link { justify-content: center; text-align: center; padding: 6px 8px; }
	.gp .gp-pnav__link .gp-icon { display: none; }
}

/* ---- Patient Forms page ---- */
.gp-pforms__body { padding: 32px 0 56px; }
@media (min-width: 768px) { .gp-pforms__body { padding: 48px 0 72px; } }
.gp-pforms__body .gp-wrap { max-width: 1040px; container-type: inline-size; }

/* Instructions: distinct from the forms, compact, not shouting. */
.gp .gp-pforms__info {
	margin: 0 0 32px; padding: 20px 20px 18px;
	background: var(--gp-tint); border: 1px solid var(--gp-tint-2); border-left: 5px solid var(--gp-gold);
	border-radius: 12px;
}
@media (min-width: 768px) { .gp .gp-pforms__info { padding: 24px 28px 22px; } }
.gp .gp-pforms__info-title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
	font-family: inherit; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; letter-spacing: .01em;
	color: var(--gp-navy); text-shadow: none; text-transform: none;
}
.gp .gp-pforms__info-title .gp-icon { width: 22px; height: 22px; color: var(--gp-blue); }
.gp .gp-pforms__info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@container (min-width: 760px) { .gp .gp-pforms__info-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gp .gp-pforms__info-list li {
	display: flex; gap: 10px; align-items: flex-start; margin: 0;
	font-size: 1rem; line-height: 1.5; color: var(--gp-ink);
}
.gp .gp-pforms__info-list .gp-icon {
	width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
	background: var(--gp-navy); color: #fff; stroke-width: 3;
}

/* ---- Accordion ---- */
.gp .gp-acc { display: grid; gap: 16px; }
.gp .gp-acc__item {
	margin: 0; min-width: 0; background: #fff; border: 1px solid var(--gp-border); border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow); transition: border-color .2s ease, box-shadow .2s ease;
}
.gp .gp-acc__item.is-open { border-color: var(--gp-blue); box-shadow: 0 2px 4px rgba(22, 60, 116, .08), 0 18px 40px -20px rgba(22, 60, 116, .4); }
.gp .gp-acc__heading { margin: 0; padding: 0; font-size: inherit; line-height: inherit; text-shadow: none; }

/* The heading button. Every property the theme may set on buttons is set here. */
.gp .gp-acc__trigger {
	-webkit-appearance: none; appearance: none;
	display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; margin: 0;
	padding: 16px 20px; border: 0; border-radius: var(--gp-radius); box-shadow: none;
	background: transparent; color: var(--gp-navy);
	font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.3; letter-spacing: normal;
	text-align: left; text-transform: none; text-decoration: none; white-space: normal;
	cursor: pointer; scroll-margin-top: 120px; transition: background-color .2s ease;
}
@media (min-width: 768px) { .gp .gp-acc__trigger { gap: 20px; padding: 20px 28px; min-height: 84px; } }
.gp .gp-acc__trigger:hover, .gp .gp-acc__trigger:focus { background: var(--gp-tint); color: var(--gp-navy); box-shadow: none; }
.gp .gp-acc__trigger:focus { outline: none; }
.gp .gp-acc__trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--gp-blue), inset 0 0 0 5px #fff; }
.gp .gp-acc__item.is-open .gp-acc__trigger { border-radius: var(--gp-radius) var(--gp-radius) 0 0; background: var(--gp-tint); }

.gp .gp-acc__num {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--gp-tint-2); color: var(--gp-navy); font-weight: 700; font-size: 1.0625rem;
	transition: background-color .2s ease, color .2s ease;
}
.gp .gp-acc__item.is-open .gp-acc__num { background: var(--gp-navy); color: #fff; }
.gp .gp-acc__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gp .gp-acc__eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gp-text); }
.gp .gp-acc__title {
	font-family: var(--gp-heading-font); font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); font-weight: 600;
	line-height: 1.25; color: var(--gp-navy); overflow-wrap: break-word;
}
.gp .gp-acc__desc { font-size: .9375rem; line-height: 1.45; color: var(--gp-text); }
.gp .gp-acc__icon {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 2px solid var(--gp-navy); color: var(--gp-navy); background: #fff;
	transition: transform var(--gp-acc-speed) ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.gp .gp-acc__icon .gp-icon { width: 20px; height: 20px; stroke-width: 2.5; }
.gp .gp-acc__trigger:hover .gp-acc__icon { background: var(--gp-gold); border-color: var(--gp-gold); color: var(--gp-navy); }
.gp .gp-acc__item.is-open .gp-acc__icon { transform: rotate(180deg); background: var(--gp-navy); border-color: var(--gp-navy); color: #fff; }

/* Panel. Without JavaScript (no .gp-acc--js) every panel is simply open. */
.gp .gp-acc__body { padding: 8px 12px 20px; border-top: 1px solid var(--gp-tint-2); }
@media (min-width: 768px) { .gp .gp-acc__body { padding: 16px 28px 28px; } }
.gp .gp-acc__form { width: 100%; max-width: 100%; }
/* HIPAAtizer sizes the iframe itself (width 100%, height from the form). Only make sure nothing pushes past the panel. */
.gp .gp-acc__form iframe { display: block; max-width: 100%; border: 0; }
.gp .gp-acc__form .hipaa-form-embed { width: 100%; }

/* Closed panels (JavaScript on): zero height but still laid out at full width and
 * still in the page, so the form keeps its size and what was typed. visibility:hidden
 * keeps closed forms out of the Tab order and away from screen readers. */
.gp .gp-acc--js .gp-acc__panel {
	display: grid; grid-template-rows: 0fr; visibility: hidden;
	transition: grid-template-rows var(--gp-acc-speed) ease, visibility 0s linear var(--gp-acc-speed);
}
.gp .gp-acc--js .gp-acc__item.is-open > .gp-acc__panel {
	grid-template-rows: 1fr; visibility: visible;
	transition: grid-template-rows var(--gp-acc-speed) ease, visibility 0s linear 0s;
}
.gp .gp-acc--js .gp-acc__inner { min-height: 0; overflow: hidden; }
/* Switched without animation (a change above the visitor's view, or "Close this form"). */
.gp .gp-acc--js .gp-acc__item.is-instant > .gp-acc__panel,
.gp .gp-acc__item.is-instant .gp-acc__icon { transition: none; }
/* Once open and settled, nothing is clipped (focus rings, the form's own pop-ups). */
.gp .gp-acc--js .gp-acc__item.is-open:not(.is-animating) > .gp-acc__panel > .gp-acc__inner { overflow: visible; }

/* "Close this form" at the end of a long form. Hidden without JavaScript (nothing to close). */
.gp .gp-acc__close-wrap { display: none; margin: 20px 0 0; text-align: center; }
.gp .gp-acc--js .gp-acc__close-wrap { display: block; }
.gp .gp-acc__close {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0;
	padding: 10px 20px; border: 2px solid var(--gp-navy); border-radius: 999px; box-shadow: none;
	background: #fff; color: var(--gp-navy);
	font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: normal; text-transform: none;
	cursor: pointer; transition: background-color .2s ease;
}
.gp .gp-acc__close .gp-icon { width: 18px; height: 18px; }
.gp .gp-acc__close:hover, .gp .gp-acc__close:focus { background: var(--gp-gold-soft); color: var(--gp-navy); border-color: var(--gp-navy); }

.gp .gp-acc__unavailable { margin: 12px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--gp-gold-soft); color: var(--gp-ink); line-height: 1.55; }
.gp .gp-acc__admin-note { margin: 12px 0 0; padding: 12px 16px; border: 2px dashed #A12A1E; border-radius: 10px; color: #A12A1E; line-height: 1.5; }

/* Phones: tighter heading and panel, so the form gets the width. */
@media (max-width: 479px) {
	.gp .gp-acc__trigger { gap: 12px; padding: 14px; }
	.gp .gp-acc__num { width: 32px; height: 32px; font-size: .9375rem; }
	.gp .gp-acc__icon { width: 36px; height: 36px; }
	.gp .gp-acc__body { padding: 4px 4px 16px; }
	.gp-pforms__body .gp-wrap { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.gp .gp-acc--js .gp-acc__panel, .gp .gp-acc--js .gp-acc__item.is-open > .gp-acc__panel { transition: none; }
	.gp .gp-acc__icon { transition: none; }
}
@media (forced-colors: active) {
	.gp .gp-acc__item, .gp .gp-pforms__info, .gp .gp-pnav__link { border-color: CanvasText; }
	.gp .gp-acc__trigger:focus-visible { outline: 3px solid Highlight; }
	.gp .gp-pnav__link[aria-current="page"] { border-width: 3px; }
}
@media print {
	.gp .gp-acc--js .gp-acc__panel { grid-template-rows: 1fr; visibility: visible; }
	.gp-pnav, .gp .gp-acc__close-wrap { display: none; }
}

/* 1.3.0 Course Completion START */
/* ==========================================================================
 * Course Completion page: the Annual Course Completion Report tool
 * ([course_completion_report], its own plugin, not changed) in Goshen colours.
 * Scoped to the Admin Center pages, so the plugin's wp-admin screens keep their look.
 * ========================================================================== */
.gp-portal .accr-wrap.accr-front {
	--accr-primary: #1F519C;
	--accr-primary-dark: #163C74;
	--accr-accent: #E0B630;
	--accr-ink: #1F2933;
	--accr-muted: #5B6670;
	--accr-soft: #F3F8FE;
	--accr-line: #DDE3E8;
	--accr-shadow: 0 1px 2px rgba(22, 60, 116, .06), 0 8px 24px -12px rgba(22, 60, 116, .22);
	box-sizing: border-box; width: 100%; max-width: 1120px; margin: 32px auto 56px; padding: 0 16px;
	font-family: inherit; font-size: 1rem;
}
@media (min-width: 768px) { .gp-portal .accr-wrap.accr-front { margin: 48px auto 72px; padding: 0 32px; } }
/* The Goshen page header already names the page: the tool's own banner is not shown again.
 * It is hidden visually only, so its H2 keeps the heading order (H1 → H2 → the cards' H3) for screen readers. */
body:has(.gp-hero) .accr-front .accr-masthead {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; box-shadow: none;
}
.gp-portal .accr-front .accr-card { border-radius: 16px; }
.gp-portal .accr-front .accr-card h3 {
	font-family: var(--e-global-typography-h1-font-family, "Lora"), Georgia, serif; font-size: 1.375rem; font-weight: 600;
	color: #163C74; border-bottom-color: #E2EAF3; text-shadow: none;
}
.gp-portal .accr-front .accr-field > span, .gp-portal .accr-front .accr-card h4 { color: #163C74; }
.gp-portal .accr-front .accr-field select,
.gp-portal .accr-front .accr-field input[type="text"] { min-height: 44px; border-color: #6E7B88; font-size: 1rem; }
.gp-portal .accr-front .accr-field select:focus,
.gp-portal .accr-front .accr-field input[type="text"]:focus { border-color: #163C74; box-shadow: none; outline: 3px solid #1F519C; outline-offset: 2px; }
.gp-portal .accr-front .accr-radio, .gp-portal .accr-front .accr-toggle { min-height: 44px; }
.gp-portal .accr-front .accr-radio:focus-within, .gp-portal .accr-front .accr-toggle:focus-within { outline: 3px solid #1F519C; outline-offset: 2px; }
/* Buttons: Goshen button style (gold primary with navy label, navy outline secondary), 44px tall. */
.gp-portal .accr-front .accr-btn {
	min-height: 44px; padding: 10px 20px; border: 2px solid #163C74; background: #fff; color: #163C74;
	font-family: inherit; font-size: .9375rem; font-weight: 700; box-shadow: none; text-transform: none; letter-spacing: normal;
}
.gp-portal .accr-front .accr-btn:hover, .gp-portal .accr-front .accr-btn:focus { background: #F3F8FE; color: #163C74; border-color: #163C74; }
.gp-portal .accr-front .accr-btn-primary { background: #E0B630; border-color: #E0B630; color: #163C74; }
.gp-portal .accr-front .accr-btn-primary:hover, .gp-portal .accr-front .accr-btn-primary:focus { background: #EDCC63; border-color: #EDCC63; color: #163C74; }
.gp-portal .accr-front .accr-btn:focus-visible { outline: 3px solid #1F519C; outline-offset: 3px; }
.gp-portal .accr-front .accr-stat-accent { background: #FBF3D9; border-color: #E0B630; }
.gp-portal .accr-front .accr-stat-accent .accr-stat-num { color: #6E500A; }
.gp-portal .accr-front .accr-stat-label { color: #5B6670; font-size: .8125rem; }
.gp-portal .accr-front .accr-preview thead th { background: #163C74; }
.gp-portal .accr-front .accr-preview:focus-visible { outline: 3px solid #1F519C; outline-offset: 2px; }
.gp-portal .accr-front .accr-badge-prog { color: #6E500A; }
.gp-portal .accr-front .accr-field small, .gp-portal .accr-front .accr-muted { color: #5B6670; }
