/* Planet Harvest global chrome v2 (P0 nav fix, 2026-11-25): header + mega menu, mobile drawer,
 * footer, consent banner, skip link, theme control. Tokens only (--ph-*), light + dark.
 *
 * WHY THE LOCK + HARDENING BLOCKS EXIST: on default-Kadence and legacy pages, three foreign
 * stylesheets reach the chrome: Kadence global/button palette styles (cyan filled buttons),
 * kadence-child legacy tokens.css (redefines --ph-* on :root with a dark palette), and legacy
 * component CSS (black header, faint text). So (1) the brand tokens are re-declared ON the chrome
 * elements (ID-rooted, beats any :root redefinition) in light and in dark, and (2) colour,
 * background, border and shadow on chrome controls are set with !important on ID + class rooted
 * selectors. R-142: every !important rule below is rooted by #masthead / #colophon / #phk-consent
 * plus an element or class, and NO attribute selector appears inside any !important rule. */

/* ================= 1. token lock (light) ================= */
body #masthead, body #colophon, body #phk-consent, body .phc, body .phc-crumbbar, body div.wpforms-container {
	--ph-ground: #F4F6FA; --ph-surface: #FFFFFF; --ph-surface-sunken: #E9EDF4; --ph-surface-inverse: #0E1526;
	--ph-ink: #0E1526; --ph-ink-muted: #465166; --ph-ink-subtle: #5F6A80; --ph-ink-inverse: #F4F6FA;
	--ph-line: #D7DCE6; --ph-line-strong: #7A849A;
	--ph-brand: #2B3FD6; --ph-brand-hover: #2232B0; --ph-on-brand: #FFFFFF; --ph-brand-text: #2B3FD6; --ph-brand-tint: #E6E9FC;
	--ph-beacon: #F2A93B; --ph-beacon-mark: #C9780A; --ph-on-beacon: #0E1526; --ph-beacon-tint: #FDF1DC; --ph-beacon-text: #8A4B00;
	--ph-success: #0B6E85; --ph-success-tint: #E1F3F7; --ph-warning: #8A5A00; --ph-warning-tint: #FFF4D6;
	--ph-danger: #B42318; --ph-danger-tint: #FCE8E6; --ph-focus-ring: #2B3FD6;
	--ph-shadow-1: 0 1px 2px rgba(14,21,38,0.06), 0 0 0 1px rgba(14,21,38,0.06);
	--ph-shadow-2: 0 1px 2px rgba(14,21,38,0.06), 0 8px 20px -6px rgba(43,63,214,0.16), 0 0 0 1px rgba(14,21,38,0.07);
	--ph-shadow-3: 0 2px 4px rgba(14,21,38,0.06), 0 18px 44px -10px rgba(14,21,38,0.24), 0 0 0 1px rgba(14,21,38,0.07);
	--ph-font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--ph-font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--ph-font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--ph-ease-out: cubic-bezier(0.2, 0, 0, 1);
	--ph-content-max: 1200px;
}
/* ================= 1b. token lock (dark: OS setting unless light chosen, or manual dark) ================= */
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) body #masthead, html:not([data-theme="light"]) body #colophon, html:not([data-theme="light"]) body #phk-consent, html:not([data-theme="light"]) body .phc, html:not([data-theme="light"]) body .phc-crumbbar, html:not([data-theme="light"]) body div.wpforms-container {
		--ph-ground: #0A0F1C; --ph-surface: #111829; --ph-surface-sunken: #070B15; --ph-surface-inverse: #E9EDF5;
		--ph-ink: #EDF0F7; --ph-ink-muted: #A8B1C4; --ph-ink-subtle: #8F99AE; --ph-ink-inverse: #0E1526;
		--ph-line: #233049; --ph-line-strong: #66728C;
		--ph-brand: #8B98FF; --ph-brand-hover: #A7B1FF; --ph-on-brand: #0A0F1C; --ph-brand-text: #A3AEFF; --ph-brand-tint: #1A2350;
		--ph-beacon: #F5B54A; --ph-beacon-mark: #F5B54A; --ph-on-beacon: #0E1526; --ph-beacon-tint: #3A2A10; --ph-beacon-text: #F5C26B;
		--ph-success: #5CCBE0; --ph-success-tint: #0B2A33; --ph-warning: #F2C055; --ph-warning-tint: #33270B;
		--ph-danger: #FF8F84; --ph-danger-tint: #3A1512; --ph-focus-ring: #B8C0FF;
		--ph-shadow-1: 0 0 0 1px rgba(237,240,247,0.08), 0 1px 2px rgba(0,0,0,0.4);
		--ph-shadow-2: 0 0 0 1px rgba(237,240,247,0.10), 0 10px 28px -8px rgba(0,0,0,0.65);
		--ph-shadow-3: 0 0 0 1px rgba(237,240,247,0.12), 0 22px 52px -10px rgba(0,0,0,0.75);
	}
}
html[data-theme="dark"] body #masthead, html[data-theme="dark"] body #colophon, html[data-theme="dark"] body #phk-consent, html[data-theme="dark"] body .phc, html[data-theme="dark"] body .phc-crumbbar, html[data-theme="dark"] body div.wpforms-container {
	--ph-ground: #0A0F1C; --ph-surface: #111829; --ph-surface-sunken: #070B15; --ph-surface-inverse: #E9EDF5;
	--ph-ink: #EDF0F7; --ph-ink-muted: #A8B1C4; --ph-ink-subtle: #8F99AE; --ph-ink-inverse: #0E1526;
	--ph-line: #233049; --ph-line-strong: #66728C;
	--ph-brand: #8B98FF; --ph-brand-hover: #A7B1FF; --ph-on-brand: #0A0F1C; --ph-brand-text: #A3AEFF; --ph-brand-tint: #1A2350;
	--ph-beacon: #F5B54A; --ph-beacon-mark: #F5B54A; --ph-on-beacon: #0E1526; --ph-beacon-tint: #3A2A10; --ph-beacon-text: #F5C26B;
	--ph-success: #5CCBE0; --ph-success-tint: #0B2A33; --ph-warning: #F2C055; --ph-warning-tint: #33270B;
	--ph-danger: #FF8F84; --ph-danger-tint: #3A1512; --ph-focus-ring: #B8C0FF;
	--ph-shadow-1: 0 0 0 1px rgba(237,240,247,0.08), 0 1px 2px rgba(0,0,0,0.4);
	--ph-shadow-2: 0 0 0 1px rgba(237,240,247,0.10), 0 10px 28px -8px rgba(0,0,0,0.65);
	--ph-shadow-3: 0 0 0 1px rgba(237,240,247,0.12), 0 22px 52px -10px rgba(0,0,0,0.75);
}
/* Page ground follows the same theme on every template (default Kadence included). */
html body.phk-v2 { background: #F4F6FA; color: #0E1526; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body.phk-v2 { background: #0A0F1C; color: #EDF0F7; } }
html[data-theme="dark"] body.phk-v2 { background: #0A0F1C; color: #EDF0F7; }
/* Kadence global palette reset to brand values (default-template pages and Kadence buttons). */
:root { --global-palette1: #2B3FD6; --global-palette2: #2232B0; --global-palette-btn-bg: #2B3FD6; --global-palette-btn-bg-hover: #2232B0; --global-palette-btn: #FFFFFF; --global-palette-btn-hover: #FFFFFF; }

/* ================= 2. skip link ================= */
body.phk a.skip-link, body.phk a.skip-link.screen-reader-text { position: absolute; left: -9999px; top: 8px; width: auto; height: auto; clip: auto; overflow: visible; }
body.phk a.skip-link:focus, body.phk a.skip-link.screen-reader-text:focus { left: 16px; z-index: 100000; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #FFFFFF; color: #0E1526; border-radius: 10px; box-shadow: 0 2px 4px rgba(14,21,38,.06), 0 18px 44px -10px rgba(14,21,38,.24); font: 500 15px/20px "Instrument Sans", system-ui, sans-serif; text-decoration: none; outline: 2px solid #2B3FD6; outline-offset: 2px; }
.phk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.phk-canvas #inner-wrap, body.phk-canvas .content-area, body.phk-canvas .site-main, body.phk-canvas .entry-content-wrap { margin: 0; padding: 0; max-width: none; }

/* ================= 3. header bar (hardened) ================= */
body #masthead.phk-header { position: sticky; top: 0; z-index: 200; background: var(--ph-surface) !important; color: var(--ph-ink) !important; box-shadow: 0 1px 0 var(--ph-line) !important; border: 0 !important; font-family: var(--ph-font-sans); }
.admin-bar #masthead.phk-header { top: 46px; }
@media (min-width: 783px) { .admin-bar #masthead.phk-header { top: 32px; } }
#masthead .phk-header__bar { display: flex; align-items: center; gap: 12px; min-height: 68px; max-width: var(--ph-content-max); margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
#masthead .phk-i { width: 20px; height: 20px; flex: none; }
/* logo: light/dark wordmark swap tied to the same theme switch as the header colours */
#masthead .phk-logo, #colophon .phk-logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; border-radius: 10px; background: transparent !important; }
#masthead .phk-logo img, #colophon .phk-logo img { display: block; width: 150px; height: auto; opacity: 1 !important; filter: none !important; }
#masthead .phk-logo .phk-logo__d, #colophon .phk-logo .phk-logo__d { display: none; }
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) #masthead .phk-logo .phk-logo__l, html:not([data-theme="light"]) #colophon .phk-logo .phk-logo__l { display: none; }
	html:not([data-theme="light"]) #masthead .phk-logo .phk-logo__d, html:not([data-theme="light"]) #colophon .phk-logo .phk-logo__d { display: block; }
}
html[data-theme="dark"] #masthead .phk-logo .phk-logo__l, html[data-theme="dark"] #colophon .phk-logo .phk-logo__l { display: none; }
html[data-theme="dark"] #masthead .phk-logo .phk-logo__d, html[data-theme="dark"] #colophon .phk-logo .phk-logo__d { display: block; }

/* reset every chrome control against Kadence/legacy button + link styles */
#masthead button.phm-trigger, #masthead button.phm-toggle, #masthead button.phm-theme, #masthead button.phm-search__btn,
#masthead a.phm-util__a, #masthead a.phm-icon, #masthead a.phm-link, #masthead a.phm-tld, #masthead a.phm-more, #masthead a.phm-feature__a, #masthead a.phm-cta {
	-webkit-appearance: none; appearance: none; text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important; border: 0 !important; border-radius: 10px !important; text-decoration: none !important; opacity: 1 !important;
}
#masthead button.phm-trigger, #masthead button.phm-toggle, #masthead button.phm-theme, #masthead a.phm-util__a, #masthead a.phm-icon {
	background: transparent !important; color: var(--ph-ink) !important; box-shadow: none !important;
}

/* desktop nav */
#masthead .phm-mbar { display: none; }
#masthead .phm-drawer { display: flex; align-items: center; flex: 1 1 auto; gap: 8px; min-width: 0; }
#masthead .phm-drawer__search { display: none; }
#masthead .phm { flex: 1 1 auto; min-width: 0; }
#masthead .phm-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
#masthead .phm-item { position: static; margin: 0; }
#masthead .phm-trigger { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; font: 500 15px/20px var(--ph-font-sans); cursor: pointer; white-space: nowrap; transition-property: background-color, color; transition-duration: 140ms; transition-timing-function: var(--ph-ease-out); }
#masthead .phm-trigger .phk-i { width: 16px; height: 16px; color: var(--ph-ink-muted); transition: transform 200ms var(--ph-ease-out); }
#masthead button.phm-trigger:hover { background: var(--ph-surface-sunken) !important; color: var(--ph-ink) !important; }
#masthead button.phm-trigger.is-current { box-shadow: inset 0 -2px 0 var(--ph-brand) !important; border-radius: 10px 10px 0 0 !important; }
#masthead button.phm-trigger.is-open { background: var(--ph-brand-tint) !important; color: var(--ph-ink) !important; }
#masthead .phm-trigger.is-open .phk-i { transform: rotate(180deg); }
#masthead .phm-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ph-surface) !important; color: var(--ph-ink) !important; box-shadow: 0 1px 0 var(--ph-line), var(--ph-shadow-3) !important; border-radius: 0 0 16px 16px; }
#masthead .phm-panel[hidden] { display: none; }
#masthead .phm-panel__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 28px 16px 32px; max-width: var(--ph-content-max); margin-inline: auto; box-sizing: border-box; }
#masthead .phm-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#masthead .phm-col__h { margin: 0 0 4px; padding-left: 8px; font: 500 13px/16px var(--ph-font-mono); letter-spacing: .02em; color: var(--ph-ink-muted) !important; }
#masthead .phm-links, #masthead .phm-tlds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
#masthead a.phm-link { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 8px; background: transparent !important; color: var(--ph-ink) !important; box-shadow: none !important; transition: background-color 140ms var(--ph-ease-out); }
#masthead a.phm-link:hover { background: var(--ph-surface-sunken) !important; }
#masthead a.phm-link.is-current { background: var(--ph-brand-tint) !important; }
#masthead .phm-link__i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ph-brand-tint) !important; color: var(--ph-brand-text) !important; flex: none; }
#masthead .phm-link__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#masthead .phm-link__l { font: 600 15px/20px var(--ph-font-sans); color: var(--ph-ink) !important; }
#masthead .phm-link__d { font: 400 14px/20px var(--ph-font-sans); color: var(--ph-ink-muted) !important; }
#masthead a.phm-tld { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; background: transparent !important; color: var(--ph-ink) !important; box-shadow: none !important; }
#masthead a.phm-tld:hover { background: var(--ph-surface-sunken) !important; }
#masthead .phm-tld__n { font: 500 16px/20px var(--ph-font-mono); }
#masthead .phm-tld__p { font: 400 13px/16px var(--ph-font-mono); color: var(--ph-ink-muted) !important; font-variant-numeric: tabular-nums; text-align: right; }
#masthead a.phm-more, #masthead a.phm-feature__a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; background: transparent !important; color: var(--ph-brand-text) !important; box-shadow: none !important; font: 500 15px/20px var(--ph-font-sans); }
#masthead a.phm-more:hover, #masthead a.phm-feature__a:hover { text-decoration: underline !important; }
#masthead .phm-feature { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--ph-brand-tint) !important; min-width: 0; align-self: start; }
#masthead .phm-feature__h { margin: 0; font: 600 18px/24px var(--ph-font-display); color: var(--ph-ink) !important; letter-spacing: -.01em; }
#masthead .phm-feature__p { margin: 0; font: 400 14px/20px var(--ph-font-sans); color: var(--ph-ink-muted) !important; }
#masthead .phm-search { display: flex; gap: 6px; padding: 4px; margin: 0; background: var(--ph-surface) !important; border-radius: 12px; box-shadow: var(--ph-shadow-1) !important; }
#masthead input.phm-search__in { flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 12px; font: 400 16px/20px var(--ph-font-mono); color: var(--ph-ink) !important; border-radius: 8px; }
#masthead input.phm-search__in::placeholder { color: var(--ph-ink-subtle); opacity: 1; }
#masthead button.phm-search__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; background: var(--ph-brand) !important; color: var(--ph-on-brand) !important; box-shadow: none !important; cursor: pointer; }
#masthead button.phm-search__btn:hover { background: var(--ph-brand-hover) !important; }

/* utility group: Support | Sign in | Cart | [Search domains] */
#masthead .phm-util { display: flex; align-items: center; gap: 2px; flex: none; }
#masthead a.phm-util__a, #masthead button.phm-util__a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; font: 500 15px/20px var(--ph-font-sans); white-space: nowrap; cursor: pointer; }
#masthead a.phm-util__a:hover, #masthead button.phm-util__a:hover, #masthead a.phm-icon:hover { background: var(--ph-surface-sunken) !important; color: var(--ph-ink) !important; }
#masthead a.phm-util__a.is-current { box-shadow: inset 0 -2px 0 var(--ph-brand) !important; }
#masthead .phm-util__a .phk-i { display: none; }
#masthead .phm-util__a.phm-cart .phk-i { display: inline-block; }
#masthead .phm-util .phm-theme--drawer { display: none; }
#masthead .phm-cart { position: relative; }
#masthead .phm-cart__n { position: absolute; top: 4px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ph-brand) !important; color: var(--ph-on-brand) !important; font: 500 11px/18px var(--ph-font-mono); text-align: center; }
#masthead .phm-cart__n[hidden] { display: none; }
#masthead .phm-util .phm-cart__t { margin-left: 2px; }
#masthead a.phm-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-left: 6px; padding: 0 18px; background: var(--ph-brand) !important; color: var(--ph-on-brand) !important; box-shadow: none !important; font: 500 15px/20px var(--ph-font-sans); white-space: nowrap; transition: background-color 140ms var(--ph-ease-out); }
#masthead a.phm-cta:hover { background: var(--ph-brand-hover) !important; color: var(--ph-on-brand) !important; }
#masthead .phm-theme__sun { display: none; }
#masthead .phm-theme__moon { display: inline-flex; }
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) .phm-theme__sun { display: inline-flex; }
	html:not([data-theme="light"]) .phm-theme__moon { display: none; }
}
html[data-theme="dark"] .phm-theme__sun { display: inline-flex; }
html[data-theme="dark"] .phm-theme__moon { display: none; }
#masthead .phm-toggle { display: none; }
#masthead :focus-visible { outline: 2px solid var(--ph-focus-ring) !important; outline-offset: 2px; }

/* narrow desktop (1100-1239): keep everything on one line */
@media (min-width: 1100px) and (max-width: 1239px) {
	#masthead .phm-trigger { padding: 0 9px; }
	#masthead a.phm-util__a { padding: 0 8px; }
	#masthead .phm-util .phm-cart__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	#masthead .phk-logo img { width: 132px; }
}

/* ================= 4. tablet + mobile: icon bar + full-height drawer ================= */
@media (max-width: 1099px) {
	#masthead .phk-header__bar { justify-content: space-between; min-height: 60px; gap: 4px; }
	#masthead .phm-mbar { display: flex; align-items: center; gap: 2px; margin-left: auto; }
	#masthead a.phm-icon, #masthead button.phm-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
	#masthead .phm-icon .phm-cart__n { left: 24px; top: 2px; }
	#masthead .phm-toggle__close { display: none; }
	#masthead .phm-toggle.is-open .phm-toggle__open { display: none; }
	#masthead .phm-toggle.is-open .phm-toggle__close { display: inline-flex; }
	#masthead button.phm-toggle.is-open { background: var(--ph-surface-sunken) !important; }
	#masthead .phm-drawer { display: none; position: fixed; left: 0; right: 0; top: var(--phm-top, 60px); bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ph-surface) !important; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px 32px; box-shadow: inset 0 1px 0 var(--ph-line) !important; }
	#masthead .phm-drawer.is-open { display: flex; }
	#masthead .phm-drawer__search { display: block; padding-bottom: 8px; }
	#masthead .phm { flex: none; }
	#masthead .phm-list { flex-direction: column; align-items: stretch; gap: 0; }
	#masthead .phm-item { border-bottom: 1px solid var(--ph-line); }
	#masthead .phm-trigger { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; font-size: 17px; }
	#masthead .phm-trigger__l { flex: 1 1 auto; text-align: left; }
	#masthead button.phm-trigger:hover { background: transparent !important; }
	#masthead button.phm-trigger.is-current { box-shadow: inset 3px 0 0 var(--ph-brand) !important; border-radius: 0 !important; padding-left: 12px; }
	#masthead button.phm-trigger.is-open { background: transparent !important; }
	#masthead .phm-panel { position: static; box-shadow: none !important; border-radius: 0; background: transparent !important; }
	#masthead .phm-panel__in { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 0 16px; }
	#masthead .phm-feature { padding: 16px; }
	#masthead .phm-util { flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
	#masthead a.phm-util__a, #masthead button.phm-util__a { min-height: 52px; padding: 0 4px; font-size: 17px; gap: 12px; border-bottom: 1px solid var(--ph-line) !important; border-radius: 0 !important; width: 100%; text-align: left; justify-content: flex-start; }
	#masthead .phm-util__a .phk-i { display: inline-block; color: var(--ph-ink-muted); }
	#masthead .phm-util .phm-theme--drawer { display: inline-flex; }
	#masthead .phm-util .phm-cart__n { position: static; margin-left: auto; }
	#masthead a.phm-cta { min-height: 52px; margin: 16px 0 0; font-size: 16px; }
	body.phm-locked { overflow: hidden; }
}
@media (max-width: 1099px) and (min-width: 700px) {
	#masthead .phm-panel__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= 5. footer (hardened) ================= */
body #colophon.phk-footer { background: var(--ph-surface) !important; color: var(--ph-ink-muted) !important; box-shadow: 0 -1px 0 var(--ph-line) !important; border: 0 !important; padding: 56px 0 24px; font: 400 15px/22px var(--ph-font-sans); }
#colophon .phk-container { max-width: var(--ph-content-max); margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
#colophon .phk-footer__top { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#colophon .phk-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#colophon p { margin: 0; color: var(--ph-ink-muted) !important; }
@media (min-width: 1000px) {
	#colophon .phk-footer__top { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); }
	#colophon .phk-footer__brand { grid-column: auto; }
}
#colophon h2.phk-footer__h { font: 600 14px/20px var(--ph-font-sans); color: var(--ph-ink) !important; margin: 0 0 8px; text-transform: none !important; letter-spacing: normal !important; }
#colophon ul { list-style: none; margin: 0; padding: 0; }
#colophon a { color: var(--ph-ink-muted) !important; background: transparent !important; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
#colophon a:hover { color: var(--ph-brand-text) !important; text-decoration: underline; }
#colophon button.phk-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ph-ink-muted) !important; font: 400 15px/20px var(--ph-font-sans); text-align: left; text-transform: none !important; cursor: pointer; }
#colophon button.phk-linkbtn:hover { color: var(--ph-brand-text) !important; text-decoration: underline; }
#colophon button.phk-themebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 14px; border-radius: 10px; border: 0 !important; background: var(--ph-surface-sunken) !important; box-shadow: none !important; color: var(--ph-ink) !important; font: 500 14px/20px var(--ph-font-sans); text-transform: none !important; cursor: pointer; }
#colophon .phk-themebtn .phk-i { width: 18px; height: 18px; }
#colophon .phk-footer__legal { box-shadow: 0 -1px 0 var(--ph-line); border-top: 0; margin-top: 32px; padding-top: 16px; }
#colophon .phk-footer__legal p { font-size: 13px; line-height: 20px; color: var(--ph-ink-subtle) !important; }
#colophon :focus-visible { outline: 2px solid var(--ph-focus-ring) !important; outline-offset: 2px; }

/* ================= 6. breadcrumb bar (canvas pages) ================= */
.phc-crumbbar { background: var(--ph-surface); font-size: 14px; line-height: 20px; }
.phc-crumbbar .phk-crumbs { margin: 0; padding: 4px 0; color: var(--ph-ink-muted); }
.phc-crumbbar .phk-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ph-brand-text); }
.phc-crumbbar .phk-crumbs .separator { margin: 0 8px; color: var(--ph-ink-subtle); }
.phc-crumbbar .phk-crumbs .last { color: var(--ph-ink-muted); }

/* ================= 7. consent banner (hardened: brand tokens, AA, equal weight) ================= */
body #phk-consent.phk-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 760px; margin-inline: auto; background: var(--ph-surface) !important; color: var(--ph-ink) !important; border: 0 !important; border-radius: 16px; box-shadow: var(--ph-shadow-3) !important; font: 400 15px/22px var(--ph-font-sans); opacity: 1 !important; }
body #phk-consent.phk-consent[hidden] { display: none; }
#phk-consent .phk-consent__inner { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
#phk-consent p.phk-consent__text, #phk-consent label.phk-consent__row { margin: 0; color: var(--ph-ink) !important; opacity: 1 !important; }
#phk-consent p.phk-consent__note { margin: 0; font-size: 14px; color: var(--ph-ink-muted) !important; }
#phk-consent .phk-consent__text a { color: var(--ph-brand-text) !important; }
#phk-consent .phk-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#phk-consent button.phk-consent__btn { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 160px; min-height: 44px; padding: 0 18px; border: 0 !important; border-radius: 10px !important; background: var(--ph-brand) !important; color: var(--ph-on-brand) !important; box-shadow: none !important; font: 500 15px/20px var(--ph-font-sans); text-transform: none !important; letter-spacing: normal !important; cursor: pointer; }
#phk-consent button.phk-consent__btn:hover { background: var(--ph-brand-hover) !important; }
#phk-consent button.phk-consent__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 0 !important; border-radius: 10px !important; background: transparent !important; box-shadow: none !important; color: var(--ph-brand-text) !important; font: 500 15px/20px var(--ph-font-sans); text-decoration: underline; text-underline-offset: 3px; text-transform: none !important; cursor: pointer; }
#phk-consent .phk-consent__panel { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; box-shadow: 0 -1px 0 var(--ph-line); }
#phk-consent .phk-consent__panel[hidden] { display: none; }
#phk-consent .phk-consent__row { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; }
#phk-consent .phk-consent__row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ph-brand); flex: none; }
#phk-consent .phk-consent__panel button.phk-consent__btn { flex: 0 0 auto; align-self: flex-start; }
#phk-consent :focus-visible { outline: 2px solid var(--ph-focus-ring) !important; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	#masthead .phm-trigger, #masthead .phm-trigger .phk-i, #masthead a.phm-link, #masthead a.phm-cta { transition: none; }
}
