/* =================================================================================================
   coast/00-tokens.css — "Coast", Alex HealthPlus's own visual language (docs/design-coast.md).
   Owner: FOUNDATION. Loaded after alex.css (bundled into alex-coast.css), so equal-specificity rules
   here win. alex.css is never edited; this file re-points its tokens and restyles the shared
   primitives so every untouched page already speaks Coast.

   Contents
     1. Coast tokens (light / explicit dark / system dark)
     2. Legacy alex.css tokens re-pointed to Coast
     3. Base (page, type, focus, selection, scrollbars, links)
     4. Utilities for page agents (.cx-*)
     5. Shared primitives restyled (.btn, .chip, .badge, .pill, .inp/.field, .sec, .sec-wash,
        .eyebrow/.h-sec, .crumbs, .pager, .reveal)
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. COAST TOKENS
   ------------------------------------------------------------------------------------------------- */
:root{
	/* Brand family (spec §1). */
	--c-navy-900:#061A33;
	--c-navy-800:#0A2F63;
	--c-navy-700:#0F3C74;
	--c-brand:#134A8E;
	--c-brand-hover:#0F3C74;
	--c-sea:#2E9BD6;
	--c-sea-hi:#4FB6E8;
	--c-sky:#86CDEF;
	--c-foam:#E3F2FC;
	--c-foam-2:#F0F7FD;
	--c-ink-deep:#04202F;           /* text ON sea */
	--c-ok:#0E765D;
	--c-ok-bg:#E2F5F0;

	/* Surfaces + text (light). */
	--c-page:#F7FAFD;
	--c-card:#FFFFFF;
	--c-raised:#FFFFFF;
	--c-ink:#0B1B2E;
	--c-body:#33475C;
	--c-muted:#5A6D80;
	--c-line:#E1E9F2;
	--c-line-2:#EEF3F9;
	--c-field-line:#6C849F;         /* 3:1 control edge (WCAG 1.4.11) */

	/* Navy surfaces (header, bands, dock, intro panels). */
	--c-head:#061A33;               /* header bar + mega intro (= browser theme-color, parts-header.php) */
	--c-band:#061A33;               /* .cx-band, page heads, footer strip */
	--c-band-2:#0A2F63;             /* hover / secondary navy */
	--c-on-band:#FFFFFF;            /* headings on navy */
	--c-on-band-2:#C9DBEE;          /* body copy on navy (11.9:1) */
	--c-on-band-3:#9DB6CF;          /* muted on navy (7.9:1) */
	--c-on-band-line:rgba(134,205,239,.18);
	--c-foot:#E3F2FC;               /* light foam footer */
	--cx-dock-bg:#061A33;           /* floating dock + doctor-page call capsule */

	/* Semantic aliases page agents should use. */
	--cx-link:#134A8E;
	--cx-link-hover:#0A2F63;
	--cx-eyebrow:#134A8E;           /* eyebrow TEXT on light (AA); the wave mark is sea */
	--cx-primary-bg:#134A8E;        /* .btn-primary / .cx-pill--brand */
	--cx-primary-ink:#FFFFFF;
	--cx-primary-hover:#0F3C74;
	--cx-chip-bg:#E3F2FC;
	--cx-chip-ink:#0A2F63;
	--cx-chip-on-bg:#134A8E;
	--cx-chip-on-ink:#FFFFFF;
	--cx-focus:#2E9BD6;

	/* Geometry. */
	--cx-r-card:24px;
	--cx-r-ctl:14px;                /* inputs */
	--cx-r-sheet:28px;
	--cx-r-tile:20px;
	--cx-r-arch:999px 999px 20px 20px;
	--cx-r-pill:999px;

	/* Elevation. Cards are borderless in light (shadow), bordered in dark (--cx-card-border). */
	--cx-shadow-card:0 1px 2px rgba(6,26,51,.06),0 12px 32px rgba(6,26,51,.08);
	--cx-shadow-hover:0 2px 4px rgba(6,26,51,.07),0 18px 44px rgba(6,26,51,.13);
	--cx-shadow-pop:0 4px 12px rgba(6,26,51,.10),0 28px 64px rgba(6,26,51,.20);
	--cx-shadow-dock:0 10px 30px rgba(4,14,27,.30),0 2px 6px rgba(4,14,27,.20);
	--cx-card-border:transparent;

	/* Type (Almarai 400/700 only). */
	--cx-font:"Almarai",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--cx-fs-display:clamp(2rem,1.2rem + 3.4vw,3.5rem);
	--cx-fs-h2:clamp(1.6rem,1.15rem + 1.9vw,2.5rem);
	--cx-fs-h3:clamp(1.15rem,1rem + .5vw,1.4rem);
	--cx-fs-lead:clamp(1rem,.94rem + .3vw,1.15rem);
	--cx-lh-tight:1.15;

	/* Motion (spec §4). */
	--cx-ease:cubic-bezier(.2,.8,.2,1);
	--cx-dur:200ms;
	--cx-dur-sheet:280ms;

	/* Layout. */
	--cx-wrap:1200px;
	--cx-gutter:clamp(16px,3vw,24px);
	--cx-sec-y:clamp(48px,7vw,96px);
	--cx-head-h:72px;               /* mirrored into --nav-h below; 64px under 900px */
	--cx-dock-h:64px;               /* the floating capsule's own height */
	--cx-dock-gap:12px;             /* its inset from the screen edges */
	/* What a fixed bottom element / the last thing on a page must clear while the dock is on
	   screen. 0px at ≥900px (no dock), so `padding-bottom:var(--cx-dock-space)` is always safe. */
	--cx-dock-space:0px;
	--cx-callbar-h:70px;            /* doctor-page mobile call bar (owner: doctor page agent) */

	/* z-index map (see coast-foundation-api.md). */
	--cx-z-sticky:40;               /* listing search bar */
	--cx-z-head:50;
	--cx-z-dock:55;
	--cx-z-callbar:60;
	--cx-z-pwa:70;
	--cx-z-toast:80;
	--cx-z-consent:90;
	--cx-z-sheet:95;
	--cx-z-skip:100;

	/* Wave artwork (masks; paint with background-color). No external request: inline data URIs. */
	--cx-wave-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1.2 4.6c2.4-3 4.8-3 7.2 0s4.8 3 7.2 0 4.8-3 7.2 0' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
	--cx-wave-line:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 8'%3E%3Cpath d='M0 4.5c4-3.6 8-3.6 12 0s8 3.6 12 0 8-3.6 12 0 8 3.6 12 0' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
	--cx-wave-edge-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30C120 12 240 8 360 20s240 34 360 30 240-34 360-36 240 18 360 24v18H0z'/%3E%3C/svg%3E");
	--cx-wave-edge-t:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 26C120 44 240 48 360 36s240-34 360-30 240 34 360 36 240-18 360-24V0H0z'/%3E%3C/svg%3E");
	--cx-wave-h:clamp(26px,4vw,56px);
	/* Icon duotone (parts-helpers.php sprite): the soft second tone inside every glyph. */
	--gi-duo:var(--c-sea);
	--gi-duo-o:.24;
}
@media (max-width:899px){
	:root{
		--cx-head-h:64px;
		--cx-dock-space:calc(var(--cx-dock-h) + var(--cx-dock-gap) * 2 + env(safe-area-inset-bottom));
	}
}

/* Dark — explicit toggle. Written twice (toggle + system) like alex.css: change both together.
   Navy in dark: the HEADER keeps the deepest navy (#040E1B — it is browser chrome, and it is the
   dark theme-color in parts-header.php + assets/js/alex.js). Every BAND (home hero, areas band, page
   heads, doctor/branch band, listing/search heads, blog masthead, footer strip) is a lifted, bluer
   deep-sea surface #0B2548 — 1.23:1 against the page #06121F, so the band and its wave edge read
   as a distinct surface instead of dissolving (it used to be #040E1B, darker than the page). Text
   on it stays AA+: on-band-2 10.8:1, on-band-3 7.3:1, sky 8.7:1, sea 4.9:1. */
:root[data-theme="dark"]{
	--c-brand:#6FB4EE; --c-brand-hover:#8CC4F2;
	--c-foam:#0F2740; --c-foam-2:#0B2036;
	--c-ok:#4ADE80; --c-ok-bg:#123227;
	--c-page:#06121F; --c-card:#0C1D31; --c-raised:#112842;
	--c-ink:#EAF2FA; --c-body:#C3D3E3; --c-muted:#91A7BD;
	--c-line:#1C3550; --c-line-2:#132840; --c-field-line:#547596;
	--c-head:#040E1B; --c-band:#0B2548; --c-band-2:#12305A;
	--c-foot:#0A1B2E;
	--cx-dock-bg:#102E55;
	--cx-link:#6FB4EE; --cx-link-hover:#9CCEF5;
	--cx-eyebrow:#86CDEF;
	--cx-primary-bg:#4FB6E8; --cx-primary-ink:#04202F; --cx-primary-hover:#6FC3EE;
	--cx-chip-bg:#0F2740; --cx-chip-ink:#C9E4F7; --cx-chip-on-bg:#4FB6E8; --cx-chip-on-ink:#04202F;
	--cx-focus:#4FB6E8;
	--cx-shadow-card:0 1px 2px rgba(0,0,0,.35);
	--cx-shadow-hover:0 2px 6px rgba(0,0,0,.4),0 16px 40px rgba(0,0,0,.45);
	--cx-shadow-pop:0 4px 12px rgba(0,0,0,.45),0 28px 64px rgba(0,0,0,.6);
	--cx-shadow-dock:0 10px 30px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.4);
	--cx-card-border:#213E5E;
}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]){
		--c-brand:#6FB4EE; --c-brand-hover:#8CC4F2;
		--c-foam:#0F2740; --c-foam-2:#0B2036;
		--c-ok:#4ADE80; --c-ok-bg:#123227;
		--c-page:#06121F; --c-card:#0C1D31; --c-raised:#112842;
		--c-ink:#EAF2FA; --c-body:#C3D3E3; --c-muted:#91A7BD;
		--c-line:#1C3550; --c-line-2:#132840; --c-field-line:#547596;
		--c-head:#040E1B; --c-band:#0B2548; --c-band-2:#12305A;
		--c-foot:#0A1B2E;
		--cx-dock-bg:#102E55;
		--cx-link:#6FB4EE; --cx-link-hover:#9CCEF5;
		--cx-eyebrow:#86CDEF;
		--cx-primary-bg:#4FB6E8; --cx-primary-ink:#04202F; --cx-primary-hover:#6FC3EE;
		--cx-chip-bg:#0F2740; --cx-chip-ink:#C9E4F7; --cx-chip-on-bg:#4FB6E8; --cx-chip-on-ink:#04202F;
		--cx-focus:#4FB6E8;
		--cx-shadow-card:0 1px 2px rgba(0,0,0,.35);
		--cx-shadow-hover:0 2px 6px rgba(0,0,0,.4),0 16px 40px rgba(0,0,0,.45);
		--cx-shadow-pop:0 4px 12px rgba(0,0,0,.45),0 28px 64px rgba(0,0,0,.6);
		--cx-shadow-dock:0 10px 30px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.4);
		--cx-card-border:#213E5E;
	}
}

/* -------------------------------------------------------------------------------------------------
   2. LEGACY alex.css TOKENS → COAST
   Every existing component reads these, so re-pointing them moves the whole site toward Coast
   before any page agent touches a template. Values that alex.css documents as contrast-critical
   (--field-line, --muted, --ok, tier ramps, danger/conf ramps) are kept or kept at ≥ their ratio.
   ------------------------------------------------------------------------------------------------- */
:root{
	--brand:#134A8E; --brand-600:#0F3C74; --brand-700:#0A2F63; --brand-50:#EDF5FC; --brand-100:#CDE4F6;
	--gold:#2E9BD6; --gold-ink:#04202F;          /* the sea CTA surface (name kept by contract) */
	--ink:var(--c-ink); --body:var(--c-body); --muted:var(--c-muted);
	--line:var(--c-line); --line-2:var(--c-line-2);
	--bg:var(--c-page); --card:var(--c-card);
	--foam:var(--c-foam);
	/* The single card CTA is flat brand now — the deep→bright gradient slab is a sibling signature. */
	--cta:#134A8E; --cta-2:#134A8E; --cta-ink:#FFFFFF; --cta-glow:rgba(19,74,142,.22);
	--radius:24px; --radius-sm:16px; --radius-lg:32px; --radius-ctl:14px; --radius-xs:10px;
	--shadow:var(--cx-shadow-card);
	--shadow-sm:0 1px 2px rgba(6,26,51,.08);
	--shadow-md:var(--cx-shadow-hover);
	--card-line:var(--cx-card-border);
	--wrap:var(--cx-wrap);
	--nav-h:var(--cx-head-h);
	--sans:var(--cx-font);
	--nav-bg:var(--c-head);
	/* Footer is LIGHT foam now (spec §3.10). */
	--foot-bg:var(--c-foot); --foot-ink:var(--c-body); --foot-hi:var(--c-ink);
	--foot-muted:var(--c-body); --foot-dim:var(--c-muted); --foot-line:#C6DDF0;
	/* PWA bar / toast sit above the dock (alex.css reads --botnav-h). */
	--botnav-h:0px;
}
@media (max-width:899px){
	:root{ --botnav-h:calc(var(--cx-dock-h) + var(--cx-dock-gap)); }
}
:root[data-theme="dark"]{
	--brand:#6FB4EE; --brand-600:#5AA6E8; --brand-700:#8CC4F2; --brand-50:#0E2238; --brand-100:#16324F;
	--gold:#4FB6E8; --gold-ink:#04202F;
	--cta:#4FB6E8; --cta-2:#4FB6E8; --cta-ink:#04202F; --cta-glow:rgba(79,182,232,.26);
	--shadow-sm:0 1px 3px rgba(0,0,0,.4);
	--foot-line:#1C3550;
}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]){
		--brand:#6FB4EE; --brand-600:#5AA6E8; --brand-700:#8CC4F2; --brand-50:#0E2238; --brand-100:#16324F;
		--gold:#4FB6E8; --gold-ink:#04202F;
		--cta:#4FB6E8; --cta-2:#4FB6E8; --cta-ink:#04202F; --cta-glow:rgba(79,182,232,.26);
		--shadow-sm:0 1px 3px rgba(0,0,0,.4);
		--foot-line:#1C3550;
	}
}

/* -------------------------------------------------------------------------------------------------
   3. BASE
   ------------------------------------------------------------------------------------------------- */
html{scroll-padding-top:calc(var(--cx-head-h) + 12px);scrollbar-color:#9DB3C9 transparent}
:root[data-theme="dark"]{scrollbar-color:#2C4A69 transparent}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){scrollbar-color:#2C4A69 transparent}}
body{background:var(--c-page);color:var(--c-body);font-family:var(--cx-font);font-size:16px;line-height:1.75}
h1,h2,h3,h4{color:var(--c-ink)}
::selection{background:#86CDEF;color:#04202F}
:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
	.cx-card--link,.cx-pill,.cx-chip,.cx-more::after,.cx-tram-stop>a,.btn,.chip,.pager .page-numbers{transition:none}
	.cx-card--link:hover{transform:none}
	.alex-anim .reveal{transform:none}
}
/* WebKit scrollbars — slim and cool, never the default grey slab. */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#B8CADC;border-radius:999px;border:3px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-track{background:transparent}
:root[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#2C4A69;background-clip:padding-box}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) ::-webkit-scrollbar-thumb{background:#2C4A69;background-clip:padding-box}}
[dir="ltr"] .cx-dir{transform:scaleX(-1)}

/* -------------------------------------------------------------------------------------------------
   4. UTILITIES  (.cx-*)  — documented in coast-foundation-api.md
   ------------------------------------------------------------------------------------------------- */

/* Layout ---------------------------------------------------------------------------------------- */
.cx-wrap{max-width:var(--cx-wrap);margin-inline:auto;padding-inline:var(--cx-gutter)}
.cx-sec{padding-block:var(--cx-sec-y)}
.cx-sec--tight{padding-block:clamp(32px,4.5vw,56px)}
.cx-stack{display:flex;flex-direction:column;gap:var(--cx-gap,16px)}
.cx-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cx-gap,12px)}
.cx-grid{display:grid;gap:var(--cx-gap,clamp(14px,2vw,24px));grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){
	.cx-grid--2,.cx-grid--3,.cx-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px){
	.cx-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
	.cx-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.cx-grid--auto{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--cx-min,240px)),1fr))}
/* Horizontal snap rail (mobile carousels). Children get a fixed basis via --cx-item. */
.cx-rail{display:grid;grid-auto-flow:column;grid-auto-columns:var(--cx-item,min(78%,280px));gap:var(--cx-gap,14px);
	overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
	padding-block:4px 10px;padding-inline:var(--cx-gutter);margin-inline:calc(var(--cx-gutter) * -1);
	scroll-padding-inline:var(--cx-gutter)}
.cx-rail::-webkit-scrollbar{display:none}
.cx-rail>*{scroll-snap-align:start}

/* Type ------------------------------------------------------------------------------------------ */
.cx-display{font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);color:var(--c-ink);font-weight:700;text-align:start;margin:0;text-wrap:balance}
.cx-h2{font-size:var(--cx-fs-h2);line-height:1.18;color:var(--c-ink);font-weight:700;text-align:start;margin:0;text-wrap:balance}
.cx-h3{font-size:var(--cx-fs-h3);line-height:1.3;color:var(--c-ink);font-weight:700;margin:0}
.cx-lead{font-size:var(--cx-fs-lead);color:var(--c-body);line-height:1.75;max-width:62ch;margin:0;text-wrap:pretty}
.cx-muted{color:var(--c-muted)}
.cx-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}

/* Eyebrow: small label + 24px sea wave mark on the start side. */
.cx-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 .6rem;color:var(--cx-eyebrow);
	font-size:.88rem;font-weight:700;line-height:1.4;letter-spacing:0}
.cx-eyebrow::before{content:"";flex:0 0 24px;width:24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}

/* Inline wave divider. <span class="cx-wave" aria-hidden="true"></span> */
.cx-wave{display:block;width:48px;height:8px;background:var(--c-sea);margin-block:12px;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.cx-wave--wide{width:100%;opacity:.5}
.cx-wave--sky{background:var(--c-sky)}

/* Section head: one row — text block on the start side, "view all" at the far end. */
.cx-sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
	gap:12px 28px;margin-bottom:clamp(20px,3vw,36px);text-align:start}
.cx-sec-head-txt{flex:1 1 420px;min-width:0}
.cx-sec-head .cx-h2,.cx-sec-head h2{font-size:var(--cx-fs-h2);line-height:1.18;margin:0}
.cx-sec-head .cx-lead{margin-top:.6rem}
.cx-more{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:0 .2rem;flex:0 0 auto;
	color:var(--cx-link);font-weight:700;font-size:.95rem;text-decoration:none;white-space:nowrap}
.cx-more .gi,.cx-more svg{width:18px;height:18px}
.cx-more::after{content:"";width:18px;height:18px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	transition:transform var(--cx-dur) var(--cx-ease)}
[dir="ltr"] .cx-more::after{transform:scaleX(-1)}
.cx-more:hover{color:var(--cx-link-hover)}
.cx-more:hover::after{transform:translateX(-3px)}
[dir="ltr"] .cx-more:hover::after{transform:scaleX(-1) translateX(-3px)}
.cx-more.no-arrow::after{display:none}
/* Links in running copy. */
.cx-link{color:var(--cx-link);font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.25em}
.cx-link:hover{color:var(--cx-link-hover);text-decoration-thickness:2.5px}

/* Navy band with wave edges. Set --cx-band-prev / --cx-band-next to the colour of the section
   above / below if it is not the page colour (e.g. var(--c-foot)). */
.cx-band{position:relative;background:var(--c-band);color:var(--c-on-band-2);isolation:isolate}
.cx-band h1,.cx-band h2,.cx-band h3,.cx-band h4,.cx-band .cx-display,.cx-band .cx-h2,.cx-band .cx-h3{color:var(--c-on-band)}
.cx-band .cx-lead,.cx-band p{color:var(--c-on-band-2)}
.cx-band .cx-muted{color:var(--c-on-band-3)}
.cx-band .cx-eyebrow{color:var(--c-sky)}
.cx-band .cx-eyebrow::before,.cx-band .cx-wave{background:var(--c-sky)}
.cx-band .cx-more,.cx-band .cx-link{color:var(--c-sky)}
.cx-band .cx-more:hover,.cx-band .cx-link:hover{color:#fff}
.cx-band :focus-visible{outline-color:var(--c-sea-hi)}
.cx-band--wave-top{padding-top:calc(var(--cx-sec-y) + var(--cx-wave-h) * .5)}
.cx-band--wave-bottom{padding-bottom:calc(var(--cx-sec-y) + var(--cx-wave-h) * .5)}
.cx-band--wave-top::before,.cx-band--wave-bottom::after{content:"";position:absolute;inset-inline:0;height:var(--cx-wave-h);
	pointer-events:none;z-index:-1}
.cx-band--wave-top::before{top:-1px;background:var(--cx-band-prev,var(--c-page));
	-webkit-mask:var(--cx-wave-edge-t) center/100% 100% no-repeat;mask:var(--cx-wave-edge-t) center/100% 100% no-repeat}
.cx-band--wave-bottom::after{bottom:-1px;background:var(--cx-band-next,var(--c-page));
	-webkit-mask:var(--cx-wave-edge-b) center/100% 100% no-repeat;mask:var(--cx-wave-edge-b) center/100% 100% no-repeat}
/* Dark: a faint sea glow rises from each wave edge, so the edge reads as a lit waterline rather than
   a seam between two near-blacks. Inset shadow = no extra layer, nothing to animate, and it survives
   page files that replace the band's `background`. Inside a navy band, cards / fields / popovers
   lift ABOVE the band (the base dark card #0C1D31 is darker than the band and would read as a hole). */
:root[data-theme="dark"] .cx-band--wave-bottom{box-shadow:inset 0 calc(-1 * var(--cx-wave-h) - 8px) 48px -28px rgba(46,155,214,.30)}
:root[data-theme="dark"] .cx-band--wave-top{box-shadow:inset 0 calc(var(--cx-wave-h) + 8px) 48px -28px rgba(46,155,214,.22)}
:root[data-theme="dark"] .cx-band--wave-top.cx-band--wave-bottom{box-shadow:inset 0 calc(var(--cx-wave-h) + 8px) 48px -28px rgba(46,155,214,.22),inset 0 calc(-1 * var(--cx-wave-h) - 8px) 48px -28px rgba(46,155,214,.30)}
:root[data-theme="dark"] .cx-band--foam{box-shadow:none}
:root[data-theme="dark"] :is(.cx-band:not(.cx-band--foam),.hero.cx-hero,.cx-card--navy){
	--c-card:#0F2C52; --c-raised:#15375F; --c-foam:#143862; --c-foam-2:#11315A;
	--c-line:#25496F; --c-line-2:#1C3D63; --c-field-line:#6286AC; --cx-card-border:#2A5179;
	--cx-chip-bg:#143862; --brand-50:#143862; --brand-100:#1B4370}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-band--wave-bottom{box-shadow:inset 0 calc(-1 * var(--cx-wave-h) - 8px) 48px -28px rgba(46,155,214,.30)}
	:root:not([data-theme="light"]) .cx-band--wave-top{box-shadow:inset 0 calc(var(--cx-wave-h) + 8px) 48px -28px rgba(46,155,214,.22)}
	:root:not([data-theme="light"]) .cx-band--wave-top.cx-band--wave-bottom{box-shadow:inset 0 calc(var(--cx-wave-h) + 8px) 48px -28px rgba(46,155,214,.22),inset 0 calc(-1 * var(--cx-wave-h) - 8px) 48px -28px rgba(46,155,214,.30)}
	:root:not([data-theme="light"]) .cx-band--foam{box-shadow:none}
	:root:not([data-theme="light"]) :is(.cx-band:not(.cx-band--foam),.hero.cx-hero,.cx-card--navy){
		--c-card:#0F2C52; --c-raised:#15375F; --c-foam:#143862; --c-foam-2:#11315A;
		--c-line:#25496F; --c-line-2:#1C3D63; --c-field-line:#6286AC; --cx-card-border:#2A5179;
		--cx-chip-bg:#143862; --brand-50:#143862; --brand-100:#1B4370}
}
/* alex.css paints a dark text scrim behind .hero--full .hero-content (it was for the retired city
   panorama). Its radial is clipped by the box, so on the lifted dark band it shows as a hard-edged
   dark rectangle behind the Coast hero copy. The Coast hero has no scene behind its copy: drop it. */
:root[data-theme="dark"] .hero.cx-hero .hero-content.cx-hero-copy{background:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hero.cx-hero .hero-content.cx-hero-copy{background:none}}
/* A band that is a soft foam wash instead of navy (same edges). */
.cx-band--foam{background:var(--c-foam);color:var(--c-body)}
.cx-band--foam h1,.cx-band--foam h2,.cx-band--foam h3,.cx-band--foam .cx-h2{color:var(--c-ink)}
.cx-band--foam .cx-lead,.cx-band--foam p{color:var(--c-body)}
.cx-band--foam .cx-eyebrow{color:var(--cx-eyebrow)}
.cx-band--foam .cx-eyebrow::before{background:var(--c-sea)}
.cx-band--foam .cx-more,.cx-band--foam .cx-link{color:var(--cx-link)}

/* Arch frame — the Alexandrian window. Put an <img> (or initials) inside. */
.cx-arch{position:relative;display:block;overflow:hidden;border-radius:var(--cx-r-arch);background:var(--c-foam);
	aspect-ratio:var(--cx-arch-ratio,4/5);isolation:isolate}
.cx-arch>img{width:100%;height:100%;object-fit:cover;display:block}
.cx-arch--ring{box-shadow:0 0 0 3px var(--c-card),0 0 0 5px var(--c-sky)}
.cx-arch--sm{width:72px}
.cx-arch--md{width:112px}
.cx-arch--lg{width:clamp(150px,22vw,220px)}

/* Card. */
.cx-card{position:relative;background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:var(--cx-r-card);
	box-shadow:var(--cx-shadow-card);padding:var(--cx-card-pad,clamp(18px,2.4vw,28px));color:var(--c-body)}
.cx-card--flat{box-shadow:none;border-color:var(--c-line)}
.cx-card--foam{background:var(--c-foam);box-shadow:none;border-color:transparent}
.cx-card--link{transition:transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-card--link:hover{transform:translateY(-2px);box-shadow:var(--cx-shadow-hover)}
.cx-card--navy{background:var(--c-band);color:var(--c-on-band-2);border-color:var(--c-on-band-line)}
.cx-card--navy h2,.cx-card--navy h3{color:#fff}

/* Pill buttons. Base + variants; works on <a> and <button>. */
.cx-pill{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:0 1.45rem;
	border-radius:var(--cx-r-pill);border:1.5px solid transparent;font:inherit;font-weight:700;font-size:.95rem;line-height:1.2;
	text-decoration:none;white-space:nowrap;cursor:pointer;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-pill:active{transform:translateY(1px)}
.cx-pill .gi,.cx-pill svg{width:18px;height:18px;flex:0 0 auto}
.cx-pill--brand{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.cx-pill--brand:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink)}
.cx-pill--sea{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-pill--sea:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}
.cx-pill--ghost{background:transparent;color:var(--cx-link);border-color:var(--c-field-line)}
.cx-pill--ghost:hover{border-color:var(--cx-link);background:var(--brand-50)}
.cx-pill--light{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(201,219,238,.45)}
.cx-pill--light:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}
.cx-pill--white{background:#fff;color:#061A33}
.cx-pill--white:hover{background:var(--c-foam);color:#061A33}
.cx-pill--sm{min-height:44px;padding:0 1.05rem;font-size:.88rem}
.cx-pill--lg{min-height:56px;padding:0 1.9rem;font-size:1.02rem}
.cx-pill--block{display:flex;width:100%}

/* Round icon button (44×44). */
.cx-icon-btn{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%}

/* Chips. .is-on / [aria-pressed="true"] / [aria-current] mark the selected one. */
.cx-chip{display:inline-flex;align-items:center;gap:.4rem;min-height:40px;padding:0 1rem;border-radius:var(--cx-r-pill);
	background:var(--cx-chip-bg);color:var(--cx-chip-ink);border:1px solid transparent;font-weight:700;font-size:.88rem;
	text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.cx-chip:hover{border-color:var(--cx-link)}
.cx-chip.is-on,.cx-chip[aria-pressed="true"],.cx-chip[aria-current]{background:var(--cx-chip-on-bg);color:var(--cx-chip-on-ink)}
.cx-chip-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;
	background:rgba(19,74,142,.12);font-size:.75rem}
.cx-chip.is-on .cx-chip-n,.cx-chip[aria-current] .cx-chip-n{background:rgba(255,255,255,.22)}
.cx-band .cx-chip{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(201,219,238,.28)}
.cx-band .cx-chip:hover{border-color:#fff}
.cx-band .cx-chip.is-on,.cx-band .cx-chip[aria-current]{background:var(--c-sea);color:var(--c-ink-deep)}

/* Tram line — places / steps / timelines. Vertical by default; .cx-tram--h is a horizontal rail.
   <ol class="cx-tram"><li class="cx-tram-stop"><a href="…"><span class="cx-tram-name">…</span>
   <span class="cx-tram-n">12</span></a></li>…</ol> (the <a> is optional — a <div> works too) */
.cx-tram{--cx-dot:14px;--cx-rail:3px;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;counter-reset:cx-tram}
.cx-tram-stop{position:relative;padding-inline-start:calc(var(--cx-dot) + 18px);min-width:0;counter-increment:cx-tram}
.cx-tram-stop::before{content:"";position:absolute;inset-inline-start:0;top:calc(var(--cx-tram-dot-y,22px) - var(--cx-dot) / 2);
	width:var(--cx-dot);height:var(--cx-dot);border-radius:50%;background:var(--c-card);border:3px solid var(--c-sea);box-sizing:border-box;z-index:1}
.cx-tram-stop::after{content:"";position:absolute;inset-inline-start:calc((var(--cx-dot) - var(--cx-rail)) / 2);
	top:var(--cx-tram-dot-y,22px);bottom:calc(-1 * var(--cx-tram-dot-y,22px));width:var(--cx-rail);background:var(--c-sea);opacity:.55;border-radius:3px}
.cx-tram-stop:last-child::after{display:none}
.cx-tram-stop>a,.cx-tram-stop>.cx-tram-body{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;
	padding:10px 14px;border-radius:16px;color:var(--c-ink);text-decoration:none;font-weight:700;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-tram-stop>a:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-tram-stop>a:hover~*,.cx-tram-stop:hover::before{border-color:var(--c-brand)}
.cx-tram-stop:hover::before{background:var(--c-sea)}
.cx-tram-name{min-width:0}
.cx-tram-n{flex:0 0 auto;font-size:.8rem;font-weight:700;color:var(--c-muted);background:var(--c-foam);padding:2px 10px;border-radius:999px}
.cx-tram-num::before{content:counter(cx-tram)}
.cx-tram--steps .cx-tram-stop::before{content:counter(cx-tram);--cx-dot:32px;display:grid;place-items:center;
	font-size:.85rem;font-weight:700;color:var(--c-brand);border-width:2px}
.cx-tram--steps{--cx-dot:32px}
.cx-tram--steps .cx-tram-stop{padding-block:6px 22px}
/* Horizontal tram (snap rail on mobile, wraps nowhere): the rail runs through the dots. */
.cx-tram--h{flex-direction:row;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-block:6px 10px;gap:0}
.cx-tram--h::-webkit-scrollbar{display:none}
.cx-tram--h .cx-tram-stop{flex:0 0 auto;padding-inline-start:0;padding-top:calc(var(--cx-dot) + 14px);min-width:var(--cx-tram-w,132px);scroll-snap-align:start}
.cx-tram--h .cx-tram-stop::before{top:0;inset-inline-start:12px}
.cx-tram--h .cx-tram-stop::after{top:calc((var(--cx-dot) - var(--cx-rail)) / 2);bottom:auto;inset-inline-start:12px;inset-inline-end:-12px;width:auto;height:var(--cx-rail)}
.cx-tram--h .cx-tram-stop:last-child::after{display:none}
.cx-tram--h .cx-tram-stop>a,.cx-tram--h .cx-tram-stop>.cx-tram-body{flex-direction:column;align-items:flex-start;gap:4px;padding:6px 12px}
.cx-band .cx-tram-stop::before{background:var(--c-band);border-color:var(--c-sky)}
.cx-band .cx-tram-stop::after{background:var(--c-sky)}
.cx-band .cx-tram-stop>a,.cx-band .cx-tram-stop>.cx-tram-body{color:#fff}
.cx-band .cx-tram-stop>a:hover{background:rgba(255,255,255,.07);color:#fff}
.cx-band .cx-tram-n{background:rgba(255,255,255,.1);color:var(--c-on-band-2)}

/* Wave-mark list bullets. */
.cx-ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.cx-ticks>li{position:relative;padding-inline-start:34px}
.cx-ticks>li::before{content:"";position:absolute;inset-inline-start:0;top:.6em;width:22px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}

/* -------------------------------------------------------------------------------------------------
   5. SHARED PRIMITIVES (existing classes) → COAST
   ------------------------------------------------------------------------------------------------- */
.wrap{max-width:var(--cx-wrap);padding-inline:var(--cx-gutter)}
.sec{padding-block:clamp(44px,6.5vw,88px)}

/* Section headings: start-aligned, larger, tighter; eyebrow gets the wave mark. */
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--cx-eyebrow);font-size:.88rem;font-weight:700;margin-bottom:.6rem}
.eyebrow::before{content:"";flex:0 0 24px;width:24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.h-sec{font-size:var(--cx-fs-h2);line-height:1.18;text-align:start;margin-bottom:.55rem;text-wrap:balance}
.sub-sec{color:var(--c-muted);text-align:start;max-width:62ch;font-size:1.02rem}
/* .sec-wash was a foam panel with a waterline (the siblings' rhythm); in Coast the head of a
   section is plain and START-aligned — eyebrow, H2, lead — never centred. */
.sec-wash,.sec-wash--center,.sec-wash--list{background:none;border:0;border-radius:0;padding:0;text-align:start;
	margin-bottom:clamp(20px,3vw,36px)}
.sec-wash .eyebrow{color:var(--cx-eyebrow)}
.sec-wash .sub-sec,.sec-wash--center .sub-sec{color:var(--c-body);margin-inline:0}
.sec-wash--list{margin-bottom:clamp(14px,2vw,22px)}

/* Buttons. */
.btn{min-height:48px;padding:0 1.45rem;border-radius:999px;border:1.5px solid transparent;font-weight:700;font-size:.95rem;line-height:1.2;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.btn .gi,.btn>svg{width:18px;height:18px;flex:0 0 auto}
/* On a solid fill the duotone follows the ink, so the glyph never shows a sea blot on a sea button. */
.btn-primary,.cx-pill--brand,.chip.on,.is-on>.gi,.cx-icon-btn{--gi-duo:currentColor;--gi-duo-o:.2}
.btn-primary{background:var(--cx-primary-bg);color:var(--cx-primary-ink);box-shadow:none;filter:none}
.btn-primary:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink);filter:none}
.btn-ghost{background:transparent;color:var(--cx-link);border-color:var(--c-field-line)}
.btn-ghost:hover{border-color:var(--cx-link);color:var(--cx-link);background:var(--brand-50)}
.btn-sm{min-height:44px;padding:0 1.05rem;font-size:.88rem}
.btn-block{display:flex;width:100%}
/* On navy surfaces the primary action is the sea pill with deep ink. */
.cx-band .btn-primary,.cx-on-navy .btn-primary,.cx-card--navy .btn-primary{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-band .btn-primary:hover,.cx-on-navy .btn-primary:hover,.cx-card--navy .btn-primary:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}

/* Chips / tags / badges / pills. */
.chip{display:inline-flex;align-items:center;min-height:40px;background:var(--cx-chip-bg);border:1px solid transparent;color:var(--cx-chip-ink);
	padding:0 1rem;font-weight:700;font-size:.88rem;transition:border-color var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.chip:hover{background:var(--cx-chip-bg);border-color:var(--cx-link);color:var(--cx-link)}
.chip.on{background:var(--cx-chip-on-bg);color:var(--cx-chip-on-ink);border-color:transparent}
.tag{background:var(--c-foam);color:var(--cx-chip-ink);border-radius:999px}
.badge{border-radius:999px;padding:.22rem .7rem;font-size:.76rem}
.badge-verify{background:var(--c-foam);color:var(--c-brand)}
:root[data-theme="dark"] .badge-verify{background:#0F2740;color:#9CCEF5}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .badge-verify{background:#0F2740;color:#9CCEF5}}
.pill{border-radius:999px}

/* Form controls. 14px radius, card surface, sea focus ring.
   Touch floor: a bare .inp is ~41px (alex.css .7rem padding + .95rem text), so it gets a 44px minimum.
   .field already carries min-height:52px in alex.css at the same specificity, so it is floored with a
   zero-specificity :where() that can only ever RAISE a box nobody sized; it never undercuts 52px or the
   label-group .field on /claim/. Page rules that size a control on purpose (textarea.inp 64px,
   .cx-form-pg … .inp 52px, the dashed file input's min-height:auto) are more specific and still win. */
.inp,.field{border-radius:var(--cx-r-ctl);background:var(--c-card);border-color:var(--c-field-line)}
.inp,:where(.field){min-height:44px}
.inp:hover{border-color:var(--cx-link)}
.inp:focus,.field:focus-within{border-color:var(--c-brand);background:var(--c-card);box-shadow:0 0 0 4px rgba(46,155,214,.22)}
.inp::placeholder,.field input::placeholder{color:var(--c-muted)}

/* Breadcrumbs: a quiet start-aligned trail with wave-dot separators. */
.crumbs{font-size:.85rem;color:var(--c-muted);margin-bottom:1.1rem}
.crumbs a{color:var(--cx-link);font-weight:700;text-decoration:none;border-radius:6px}
.crumbs a:hover{text-decoration:underline;text-underline-offset:.25em}
.crumb-sep{color:var(--c-sea);opacity:1}
.crumb-cur{color:var(--c-body)}
/* Each "›" is drawn at the START of the crumb it leads to, not at the end of the one before it, so
   a trail that wraps (a long one unfolded on a phone, or any trail in a narrow column) never ends
   a line on a dangling separator. Crumbs::render() prints the separator after each link, so that
   span steps aside and every crumb but the first draws its own; --cx-crumb-sep(-o) carries the
   separator colour each surface gives .crumb-sep (bands: 30-search, 40-doctor, 50-blog, 60-pages). */
.crumbs .crumb-sep{display:none}
.crumbs .crumb-item:not(:first-child)::before{content:"›";flex:0 0 auto;color:var(--cx-crumb-sep,var(--c-sea));opacity:var(--cx-crumb-sep-o,1)}
.cx-srch-hero .crumbs,.cx-lst-hero .crumbs{--cx-crumb-sep:var(--c-sea-hi)}
.cx-blog-mast .crumbs,.cx-art-mast .crumbs,.cx-pg-head .crumbs{--cx-crumb-sep:var(--c-sky);--cx-crumb-sep-o:.8}
/* The fold (Crumbs::render() + alex.js): "…" exists only on deep trails and only shows on a phone. */
.crumbs .crumb-gap{display:none}
.crumb-more{position:relative;display:inline-grid;place-items:center;min-width:32px;height:24px;padding:0 8px;margin:0;border-radius:999px;
	border:1px solid color-mix(in srgb,currentColor 50%,transparent);background:transparent;color:inherit;font:inherit;font-weight:800;
	line-height:1;cursor:pointer;transition:background-color var(--cx-dur) var(--cx-ease)}
.crumb-more::after{content:"";position:absolute;inset:-10px -6px}
.crumb-more:hover{background:color-mix(in srgb,currentColor 14%,transparent)}
.crumb-more:focus-visible{outline:2px solid var(--cx-focus);outline-offset:2px}
@media (max-width:480px){
	/* ONE line on a phone: the links keep their size, the current page shrinks with an ellipsis
	   (the H1 right under it carries the full name), so nothing wraps into a dangling "›". */
	.crumbs .crumbs-list{flex-wrap:nowrap;min-width:0;overflow:hidden;padding:3px;margin:-3px}
	.crumbs .crumbs-list>li{flex:0 0 auto;white-space:nowrap}
	.crumbs .crumbs-list>li:last-child{flex:0 1 auto;min-width:0}
	.crumbs .crumbs-list>li:last-child>.crumb-cur{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
	.crumbs.is-folded .crumb-mid{display:none}
	.crumbs.is-folded .crumb-gap{display:flex}
	/* Unfolded on request: the whole trail, wrapping again. */
	.crumbs--long:not(.is-folded) .crumbs-list{flex-wrap:wrap;overflow:visible}
	.crumbs--long:not(.is-folded) .crumbs-list>li{flex-shrink:1;white-space:normal}
}

/* Pagination: pill numbers, brand current. */
.pager{gap:.5rem;margin-top:2rem}
.pager .page-numbers{border-radius:999px;border:1.5px solid var(--c-line);background:var(--c-card);color:var(--c-ink);
	transition:border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.pager .page-numbers:hover{border-color:var(--cx-link);color:var(--cx-link)}
.pager .page-numbers.current{background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink)}
:root[data-theme="dark"] .pager .page-numbers.current{color:var(--cx-primary-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .pager .page-numbers.current{color:var(--cx-primary-ink)}}
.pager .dots{border-color:transparent;background:none}

/* Reveal: calmer — shorter travel, shorter time (no layout shift: transform/opacity only). */
.reveal{transition:opacity .45s var(--cx-ease),transform .45s var(--cx-ease)}
.alex-anim .reveal{transform:translateY(10px)}
.alex-anim .reveal.in{transform:none}

/* Skip link — on top of the navy header, sea with deep ink. */
.skip-link:focus{background:var(--c-sea);color:var(--c-ink-deep);z-index:var(--cx-z-skip);border-radius:999px}
/* =================================================================================================
   coast/10-shell.css — the global shell in the Coast language. Owner: FOUNDATION.
     1. Header: solid navy bar, light logo, wave-underlined links, compact icon controls, sea CTA
     2. Mega menu: one composition per group (map panel, departure board, contents page, ticket, card)
     3. Mobile menu: bottom sheet — search, your-stop rail, clinic card, section tiles, view row
     4. Dock: three slots — a Browse chooser, the search capsule in the centre, Where to? (the sheet)
     5. Footer: light foam with a wave top edge, brand statement, columns, navy bottom strip
     6. Notice strip, notifications panel, consent bar, PWA bar — re-seated around the dock
   Markup lives in templates/parts-header.php and parts-footer.php.
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. HEADER
   ------------------------------------------------------------------------------------------------- */
.nav{background:var(--c-head);border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none;color:#fff;
	box-shadow:inset 0 -1px 0 transparent;transition:box-shadow .24s var(--cx-ease)}
:root[data-theme="dark"] .nav{box-shadow:inset 0 -1px 0 var(--c-on-band-line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nav{box-shadow:inset 0 -1px 0 var(--c-on-band-line)}}
.nav.scrolled{box-shadow:inset 0 -1px 0 var(--c-on-band-line),0 12px 32px rgba(4,14,27,.28)}
.nav-in{max-width:var(--cx-wrap);height:var(--cx-head-h);gap:clamp(10px,1.4vw,20px);
	padding-inline:max(var(--cx-gutter),env(safe-area-inset-left)) max(var(--cx-gutter),env(safe-area-inset-right))}
.nav :focus-visible{outline-color:var(--c-sea-hi)}

/* Logo: the light-wordmark (dark-theme) lockup on navy in BOTH themes. */
.nav .brand{border-radius:12px}
.nav .brand .brand-logo--light{display:none}
.nav .brand .brand-logo--dark{display:block}
.nav .brand-logo{height:42px;max-width:min(50vw,240px)}
@media (max-width:899px){.nav .brand-logo{height:38px}}
@media (max-width:360px){.nav .brand-logo{height:34px}}

/* Primary links: white on navy; the current group is marked by a short sea WAVE, not a pill. */
.nav-links{gap:2px;margin-inline-start:clamp(6px,2vw,30px)}
.nav-links .nav-top{min-height:44px;padding:0 .85rem;border-radius:12px;background:none;color:var(--c-on-band-2);
	font-weight:700;font-size:.95rem;transition:color var(--cx-dur) var(--cx-ease)}
.nav-links .nav-top:hover,.nav-links .nav-top.is-on,.nav-links .nav-item.is-open .nav-top{background:none;color:#fff}
.nav .nav-links .nav-top::after{content:"";display:block;position:absolute;inset-inline:0;left:0;right:0;margin:0 auto;bottom:3px;
	width:24px;height:8px;border-radius:0;background:var(--c-sea);transform:translateY(3px);opacity:0;
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat;
	transition:opacity var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.nav .nav-links .nav-top.is-on::after{opacity:1;transform:none;background:var(--c-sea)}
.nav .nav-links .nav-top:hover::after,.nav .nav-links .nav-item.is-open .nav-top::after{opacity:.75;transform:none;background:var(--c-sky)}
.nav .nav-links .nav-top.is-on:hover::after{background:var(--c-sea)}
.nav .nav-links a.nav-top.is-on::after{margin-top:0;height:8px}
.nav .nav-chev{opacity:.7;width:13px;height:13px}
/* The group mark is a small plus that turns into a cross while its panel is open (siblings: chevron). */
.nav .nav-item .nav-chev,.drawer .dr-top .nav-chev{transition:transform var(--cx-dur) var(--cx-ease)}
.nav .nav-item.is-open .nav-chev,.drawer .dr-group[open]>.dr-top .nav-chev{transform:rotate(45deg)}
@media (prefers-reduced-motion:reduce){.nav .nav-item .nav-chev,.drawer .dr-top .nav-chev{transition:none}}

/* Help: a round "?" in the end cluster (same mega widget as the link row; ≥1100px only — below
   that the bottom sheet carries the group). */
.nav .cx-help-item{display:flex}
.nav .cx-help-item .cx-help-btn{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
	border-radius:50%;border:1px solid var(--c-on-band-line);background:rgba(255,255,255,.04);color:#fff;line-height:0;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.nav .cx-help-item .cx-help-btn .gi{width:22px;height:22px}
.nav .cx-help-item .cx-help-btn:hover,.nav .cx-help-item.is-open .cx-help-btn{background:rgba(255,255,255,.12);border-color:var(--c-sky);color:#fff}
.nav .cx-help-item .cx-help-btn.is-on{border-color:var(--c-sea);box-shadow:inset 0 0 0 1px var(--c-sea)}
.nav .cx-help-item .cx-help-btn::after{display:none}
@media (max-width:1099px){.nav .cx-help-item{display:none}}
@media (min-width:1100px) and (max-width:1279px){.nav-links .nav-top{padding:0 .55rem;font-size:.9rem}}

/* End cluster (parts-header.php): clinic-portal pill first, then the round "?" help, the bell, and
   ONE "view" control in the corner that opens a popover holding language + light together.
   (Siblings: EN chip + theme slider + doctors pill side by side in the corner.) */
.nav-right{gap:8px}
.nav .notif-btn,.nav .nav-burger,.nav .cx-view-btn{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;
	padding:0;border-radius:50%;border:1px solid var(--c-on-band-line);background:rgba(255,255,255,.04);color:#fff;
	font-weight:700;font-size:.9rem;line-height:1;cursor:pointer;transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.nav .notif-btn:hover,.nav .nav-burger:hover,.nav .cx-view-btn:hover,.nav .cx-view.is-open .cx-view-btn{background:rgba(255,255,255,.12);border-color:var(--c-sky);color:#fff}
.nav .notif-btn .gi,.nav .nav-burger svg{width:21px;height:21px;vertical-align:0}
.nav .notif-dot{top:7px;inset-inline-end:7px;border-color:var(--c-head);background:#F87171}
.nav .nav-burger{display:none}
@media (max-width:1099px){.nav .nav-burger{display:inline-grid}}

/* The view control: a capsule with a globe and the CURRENT language's letter on it. */
.cx-view{position:relative;display:flex}
.nav .cx-view-btn{display:inline-flex;align-items:center;gap:6px;width:auto;padding:0 12px 0 10px;border-radius:999px}
.nav .cx-view-btn .gi{width:20px;height:20px;color:var(--c-sky)}
.cx-view-code{font-size:.85rem;font-weight:800;letter-spacing:.02em}
.cx-view-pop{position:absolute;z-index:70;top:calc(100% + 12px);inset-inline-end:0;width:min(272px,calc(100vw - 32px));
	padding:14px;border:1px solid var(--c-line);border-radius:22px;background:var(--c-card);color:var(--c-ink);
	box-shadow:var(--cx-shadow-pop);display:grid;gap:8px;animation:cxMegaIn .18s var(--cx-ease)}
.cx-view-pop[hidden]{display:none}
.cx-view-pop::before{content:"";position:absolute;top:-7px;inset-inline-end:22px;width:12px;height:12px;background:inherit;
	border:1px solid var(--c-line);border-right:0;border-bottom:0;transform:rotate(45deg)}
.cx-view-h{margin:4px 4px 0;font-size:.78rem;font-weight:700;color:var(--c-muted)}
.cx-view-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:var(--c-foam)}
.cx-view-cur,.nav .cx-view-seg .lang-tog{display:grid;place-items:center;min-height:40px;padding:0 .8rem;border-radius:999px;border:0;
	font-weight:700;font-size:.9rem;line-height:1.2}
.cx-view-cur{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.nav .cx-view-seg .lang-tog{background:none;color:var(--cx-link);min-width:0;width:auto;height:auto}
.nav .cx-view-seg .lang-tog:hover{background:var(--c-card);color:var(--cx-link-hover)}
/* Light: "Day ◯— Night" — a labelled sliding switch, the knob is a small sun/moon disc. */
.nav .cx-view-theme{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:4px 14px;
	border:0;border-radius:999px;background:var(--c-foam);color:var(--c-body);cursor:pointer;line-height:1.2;font:inherit;font-weight:700;font-size:.88rem}
.cx-view-day,.cx-view-night{display:inline-flex;align-items:center;gap:6px;transition:color var(--cx-dur) var(--cx-ease)}
.cx-view-day .gi,.cx-view-night .gi{width:18px;height:18px}
.nav .cx-view-theme .cx-view-day{color:var(--c-ink)}
.nav .cx-view-theme.is-dark .cx-view-day{color:var(--c-muted)}
.nav .cx-view-theme .cx-view-night{color:var(--c-muted)}
.nav .cx-view-theme.is-dark .cx-view-night{color:var(--c-ink)}
.nav .cx-view-theme .tt-track{position:relative;direction:ltr;width:46px;height:26px;flex:0 0 auto;border-radius:999px;
	background:var(--c-sky);border:0;box-shadow:inset 0 0 0 1px rgba(6,26,51,.08)}
.nav .cx-view-theme .tt-knob{display:block;position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;
	background:#fff;box-shadow:0 1px 4px rgba(6,26,51,.3);transition:transform .3s var(--cx-ease)}
.nav .cx-view-theme.is-dark .tt-track{background:var(--c-navy-800)}
.nav .cx-view-theme.is-dark .tt-knob{transform:translateX(20px);background:var(--c-sky)}
[dir="rtl"] .nav .cx-view-theme .tt-knob{left:auto;right:3px}
[dir="rtl"] .nav .cx-view-theme.is-dark .tt-knob{transform:translateX(-20px)}
.nav .cx-view-theme:hover .tt-track{box-shadow:inset 0 0 0 2px var(--c-sea)}
.nav .cx-view-theme:focus-visible{outline:2px solid var(--cx-focus);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.cx-view-pop{animation:none}.nav .cx-view-theme .tt-knob{transition:none}}
/* The portal pill: label + arch glyph, sea on navy. */
.nav .cx-head-portal span{white-space:nowrap}

.nav .btn-primary{background:var(--c-sea);color:var(--c-ink-deep)}
.nav .btn-primary:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}
.nav .cx-head-cta{gap:.45rem;padding:0 1.15rem 0 1.25rem}
.nav .cx-head-cta .gi{width:18px;height:18px}
.nav-logout{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:0 .8rem;border-radius:999px;
	color:var(--c-on-band-2);font-weight:700;font-size:.85rem}
.nav-logout .gi{width:17px;height:17px}
.nav-logout:hover{color:#fff;background:rgba(255,255,255,.08)}
/* alex.css hides sign-out under 1100px (the sheet carries it); keep that. */
@media (max-width:1099px){.nav .nav-logout{display:none}}

/* Notifications panel (opens from the bell). */
.nav .notif-panel{top:calc(100% + 12px);width:min(330px,calc(100vw - 32px));border:1px solid var(--c-line);
	border-radius:20px;background:var(--c-card);box-shadow:var(--cx-shadow-pop);padding:6px}
.nav .notif-item{border-radius:14px;border-bottom:0;color:var(--c-ink)}
.nav .notif-item:hover{background:var(--c-foam)}
.nav .notif-empty{color:var(--c-muted)}

/* -------------------------------------------------------------------------------------------------
   2. MEGA MENU — every group draws its own composition (parts-header.php): a TOP row, then the
      columns tagged .cx-mc--{role}. find = the "map panel" (sea band with the district line, a row
      of arch tiles, a strip of other ways in); areas = a navy departure board; blog = a contents
      page; doctors = a clinic ticket + two lists; help = a compact card under the "?" button.
   ------------------------------------------------------------------------------------------------- */
.nav .mega{padding-inline:var(--cx-gutter)}
.nav .mega-in{display:grid;gap:0;justify-content:stretch;max-width:var(--cx-wrap);margin:0 auto;padding:0;
	background:var(--c-card);border:0;border-radius:0 0 26px 26px;box-shadow:var(--cx-shadow-pop);
	overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;max-height:calc(100dvh - var(--nav-h) - 24px);animation:cxMegaIn .2s var(--cx-ease)}
@keyframes cxMegaIn{from{opacity:0;clip-path:inset(0 0 100% 0 round 0 0 26px 26px)}to{opacity:1;clip-path:inset(0 0 0 0 round 0 0 26px 26px)}}
@media (prefers-reduced-motion:reduce){.nav .mega-in{animation:none}}
:root[data-theme="dark"] .nav .mega-in{border:1px solid var(--c-line);border-top:0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nav .mega-in{border:1px solid var(--c-line);border-top:0}}
:root:not([data-theme="dark"]) .nav .mega-in{box-shadow:var(--cx-shadow-pop),0 0 0 1px rgba(134,205,239,.35)}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .nav .mega-in{box-shadow:var(--cx-shadow-pop)}}
.nav .mega .btn{padding:0 1.2rem;border-radius:var(--cx-r-pill)}

/* Shared parts. alex.css draws every column as a soft card and the CTA as a side card — reset both. */
.nav .mega-col{flex:none;max-width:none;min-width:0;margin:0;padding:22px 26px;background:none;border:0;border-radius:0}
.nav .mega-in .mega-cta{flex:none;align-self:stretch;margin:0;background:none;border:0;border-radius:0}
.nav .mega-in.has-cta .mega-cta{margin-inline-start:0}
.nav .cx-mega-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;min-width:0;padding:18px 26px}
.nav .cx-mega-k{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--cx-eyebrow);font-weight:800;font-size:.8rem}
.nav .cx-mega-k::before{content:"";width:22px;height:8px;flex:0 0 22px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.nav .cx-mega-x{flex:1 1 260px;margin:0;color:var(--c-body);font-size:.92rem;line-height:1.6}
.nav .cx-mega-go{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:0 .9rem;border-radius:var(--cx-r-pill);
	border:1px solid var(--c-line);color:var(--cx-link);font-weight:700;font-size:.88rem}
.nav .cx-mega-go .gi{width:17px;height:17px}
.nav .cx-mega-go:hover{border-color:var(--cx-link);background:var(--c-foam-2)}
.nav .mega-head{display:flex;align-items:center;gap:8px;margin:0 0 .7rem;padding:0;color:var(--c-muted);
	font-size:.8rem;font-weight:700;letter-spacing:0;text-transform:none}
.nav .mega-list{gap:2px}
.nav .mega-list a{position:relative;padding:.5rem .6rem;border-radius:12px;color:var(--c-ink);font-weight:700;font-size:.93rem;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.nav .mega-list a:hover,.nav .mega-list a:focus-visible{background:var(--c-foam);color:var(--cx-link)}
.nav .mega-list a em{font-weight:400;color:var(--c-muted);font-size:.8rem}
.nav .mega-more{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;margin-top:.3rem;padding:0 .6rem;border-radius:12px;
	color:var(--cx-link);font-weight:700;font-size:.85rem}
.nav .mega-more:hover{background:var(--c-foam);text-decoration:none}
/* U+203A is not bidi-mirrored: in RTL it pointed backwards. Flip it so it points to the inline end. */
[dir="rtl"] .nav .mega-more span[aria-hidden],[dir="rtl"] .drawer .dr-more span[aria-hidden]{display:inline-block;transform:scaleX(-1)}
.drawer .dr-more span[aria-hidden]{margin-inline-start:.35em}
/* Inline link runs (the map panel's strip, the journal's footnote): every link carries its OWN
   leading mark, so a wrapped row never starts with an orphaned separator. */
.nav .cx-mc--ways .mega-list a::before,.nav .cx-mc--trust .mega-list a::before{content:"";flex:0 0 auto;width:6px;height:6px;margin-inline-end:8px;
	border-radius:50%;background:var(--c-sea)}

/* ---- find: the MAP PANEL ---- */
.nav .cx-mega--find .mega-in{grid-template-columns:minmax(0,1fr);background:var(--c-card)}
.nav .cx-mega--find .cx-mega-top{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"k btn" "t btn" "x btn";
	gap:2px 24px;padding:22px 28px 6px;background:var(--c-band);color:var(--c-on-band-2)}
.nav .cx-mega--find .cx-mega-top .cx-mega-k{grid-area:k;color:var(--c-sky)}
.nav .cx-mega--find .cx-mega-top .cx-mega-k::before{background:var(--c-sky)}
.nav .cx-mega--find .mega-cta-t{grid-area:t;margin:2px 0 0;color:#fff;font-size:1.28rem;font-weight:800;line-height:1.3}
.nav .cx-mega--find .mega-cta-x{grid-area:x;max-width:72ch;margin:2px 0 0;color:var(--c-on-band-2);font-size:.86rem;line-height:1.6}
.nav .cx-mega--find .cx-mega-top .btn{grid-area:btn;align-self:center;gap:.5rem;min-height:46px}
.nav .cx-mega--find .cx-mega-top .btn .gi{width:18px;height:18px}
/* The district line runs across the sea band. */
.nav .cx-mc--line{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h more" "l l";align-items:center;
	padding:14px 28px 18px;background:var(--c-band);color:var(--c-on-band-2)}
.nav .cx-mc--line>.mega-head{grid-area:h;margin:0;color:var(--c-on-band-3)}
.nav .cx-mc--line>.mega-more{grid-area:more;margin:0;color:var(--c-sky)}
.nav .cx-mc--line>.mega-more:hover{background:rgba(255,255,255,.08);color:#fff}
.nav .cx-mega-list--line{grid-area:l;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;margin:8px 0 0}
.nav .cx-mega-list--line li{position:relative}
.nav .cx-mega-list--line li::before{content:"";position:absolute;top:22px;inset-inline-start:50%;width:100%;height:3px;border-radius:3px;background:var(--c-sky);opacity:.45}
.nav .cx-mega-list--line li:last-child::before{display:none}
.nav .cx-mega-list--line a{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:44px;padding:14px 4px 8px;text-align:center;
	color:#fff;font-size:.9rem;line-height:1.35;background:none}
.nav .cx-mega-list--line a::before{content:"";position:relative;z-index:1;width:18px;height:18px;border-radius:50%;box-sizing:border-box;
	background:var(--c-band);border:3px solid var(--c-sky);transition:transform var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.nav .cx-mega-list--line a:hover,.nav .cx-mega-list--line a:focus-visible{background:rgba(255,255,255,.07);color:#fff}
.nav .cx-mega-list--line a:hover::before,.nav .cx-mega-list--line a:focus-visible::before{background:var(--c-sea);border-color:var(--c-sea);transform:scale(1.18)}
.nav .cx-mega--find :focus-visible{outline-color:var(--c-sea-hi)}
/* Specialties as one row of arch tiles. */
.nav .cx-mega--find .cx-mc--tiles{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h more" "l l";align-items:center;padding:18px 28px 20px}
.nav .cx-mega--find .cx-mc--tiles>.mega-head{grid-area:h;margin:0}
.nav .cx-mega--find .cx-mc--tiles>.mega-more{grid-area:more;margin:0}
.nav .cx-mega-list--tiles{grid-area:l;display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px;margin-top:10px}
.nav .cx-mega-list--tiles a{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-height:86px;height:100%;
	padding:28px 8px 12px;text-align:center;font-size:.85rem;line-height:1.35;color:var(--c-ink);background:var(--c-foam-2);
	border:1px solid var(--c-line);border-radius:999px 999px 16px 16px / 44px 44px 16px 16px}
.nav .cx-mega-list--tiles a::before{content:"";position:absolute;top:14px;left:0;right:0;margin:0 auto;width:22px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.nav .cx-mega-list--tiles a:hover,.nav .cx-mega-list--tiles a:focus-visible{background:var(--c-brand);border-color:var(--c-brand);color:#fff}
.nav .cx-mega-list--tiles a:hover::before,.nav .cx-mega-list--tiles a:focus-visible::before{background:var(--c-sky)}
:root[data-theme="dark"] .nav .cx-mega-list--tiles a{background:var(--c-raised)}
:root[data-theme="dark"] .nav .cx-mega-list--tiles a:hover,:root[data-theme="dark"] .nav .cx-mega-list--tiles a:focus-visible{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .nav .cx-mega-list--tiles a{background:var(--c-raised)}
	:root:not([data-theme="light"]) .nav .cx-mega-list--tiles a:hover,:root:not([data-theme="light"]) .nav .cx-mega-list--tiles a:focus-visible{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
}
/* The other ways in: one footer strip of small text links. */
.nav .cx-mc--ways{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;padding:10px 28px 12px;background:var(--c-foam-2);border-top:1px solid var(--c-line-2)}
.nav .cx-mc--ways>.mega-head{margin:0;color:var(--c-muted)}
.nav .cx-mc--ways .mega-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 14px}
.nav .cx-mc--ways .mega-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:.88rem;color:var(--cx-link)}
.nav .cx-mc--ways .mega-list a:hover{background:none;text-decoration:underline;text-underline-offset:.25em}
.nav .cx-mc--ways .mega-list a span{display:inline}
.nav .cx-mc--ways .mega-list a em{display:none}

/* ---- areas: a navy DEPARTURE BOARD of numbered stops ---- */
.nav .cx-mega--areas .mega-in{grid-template-columns:minmax(0,1fr);background:var(--c-band);color:var(--c-on-band-2)}
.nav .cx-mega--areas .cx-mega-top{border-bottom:1px solid var(--c-on-band-line);padding:18px 28px}
.nav .cx-mega--areas .cx-mega-k{color:var(--c-sky)}
.nav .cx-mega--areas .cx-mega-k::before{background:var(--c-sky)}
.nav .cx-mega--areas .cx-mega-x{color:var(--c-on-band-2)}
.nav .cx-mega--areas .cx-mega-go{border-color:var(--c-on-band-line);color:#fff}
.nav .cx-mega--areas .cx-mega-go:hover{background:rgba(255,255,255,.08);border-color:var(--c-sky)}
.nav .cx-mega--areas .cx-mc--board{padding:16px 28px 18px}
.nav .cx-mega--areas .cx-mc--board>.mega-head{color:var(--c-on-band-3)}
.nav .cx-mega-list--tram{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 14px;counter-reset:cx-stop}
.nav .cx-mega-list--tram li{counter-increment:cx-stop}
.nav .cx-mega-list--tram a{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 12px;border-radius:12px;color:#fff;font-size:.95rem;
	background:rgba(255,255,255,.04);border:1px solid var(--c-on-band-line)}
.nav .cx-mega-list--tram a::before{content:counter(cx-stop,decimal-leading-zero);flex:0 0 auto;display:inline-grid;place-items:center;min-width:32px;height:26px;
	border-radius:7px;background:var(--c-sea);color:var(--c-ink-deep);font-size:.78rem;font-weight:800;font-variant-numeric:tabular-nums;direction:ltr}
.nav .cx-mega-list--tram a:hover,.nav .cx-mega-list--tram a:focus-visible{background:rgba(255,255,255,.1);border-color:var(--c-sky);color:#fff}
.nav .cx-mega--areas .mega-more{color:var(--c-sky);margin-top:10px}
.nav .cx-mega--areas .mega-more:hover{background:rgba(255,255,255,.08);color:#fff}
.nav .cx-mega--areas :focus-visible{outline-color:var(--c-sea-hi)}

/* ---- blog: a CONTENTS PAGE ---- */
.nav .cx-mega--blog .mega-in{grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);grid-template-areas:"top top" "lead topics" "trust trust"}
.nav .cx-mega--blog .cx-mega-top{grid-area:top;border-bottom:1px solid var(--c-line-2)}
.nav .cx-mega--blog .cx-mc--lead{grid-area:lead}
.nav .cx-mega--blog .cx-mc--topics{grid-area:topics;border-inline-start:1px solid var(--c-line-2)}
.nav .cx-mega--blog .cx-mc--trust{grid-area:trust}
.nav .cx-mc--lead .mega-list a{display:flex;flex-direction:column;gap:6px;min-height:150px;justify-content:flex-end;padding:18px;border-radius:20px;
	background:var(--c-band);color:#fff;font-size:1.15rem;line-height:1.35}
.nav .cx-mc--lead .mega-list a em{color:var(--c-on-band-2);font-size:.82rem}
.nav .cx-mc--lead .mega-list a:hover,.nav .cx-mc--lead .mega-list a:focus-visible{background:var(--c-band-2);color:#fff}
.nav .cx-mc--lead .mega-list a::before{content:"";width:36px;height:42px;margin-bottom:auto;border-radius:var(--cx-r-arch);border:2px solid var(--c-sky);opacity:.8}
.nav .cx-mc--topics .mega-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;counter-reset:cx-topic}
.nav .cx-mc--topics .mega-list li{counter-increment:cx-topic}
.nav .cx-mc--topics .mega-list a{display:flex;align-items:baseline;gap:12px;min-height:46px;border-bottom:1px dashed var(--c-line);border-radius:10px 10px 0 0}
.nav .cx-mc--topics .mega-list a::before{content:counter(cx-topic);flex:0 0 1.4em;color:var(--c-sea);font-weight:800;font-size:1.05rem;font-variant-numeric:tabular-nums}
.nav .cx-mc--trust{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;padding:10px 26px 12px;background:var(--c-foam-2)}
.nav .cx-mc--trust>.mega-head{margin:0}
.nav .cx-mc--trust .mega-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 12px}
.nav .cx-mc--trust .mega-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:.85rem;color:var(--c-body);font-weight:600}
.nav .cx-mc--trust .mega-list a span{display:inline}

/* ---- doctors: a CLINIC TICKET, then the three DOORS in, then the questions asked before joining ----
   (siblings: two equal link lists beside a side card). The doors are arch tiles, each with its
   question over its action; the questions run as one row of answer chips. */
.nav .cx-mega--doctors .mega-in{grid-template-columns:minmax(250px,320px) minmax(0,1fr);grid-template-areas:"top doors" "top facts";align-items:stretch;padding:16px;column-gap:8px}
.nav .cx-mega--doctors .cx-mega-top{grid-area:top;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px 22px 24px;
	border-radius:20px;background:linear-gradient(160deg,var(--c-sea),var(--c-brand));color:#fff;overflow:hidden}
.nav .cx-mega--doctors .cx-mega-k,.nav .cx-mega--doctors .cx-mega-x{color:#fff}
.nav .cx-mega--doctors .cx-mega-k::before{background:#fff}
.nav .cx-mega--doctors .mega-cta-t{margin:0;color:#fff;font-size:1.15rem;font-weight:800;line-height:1.35}
/* The ticket's tear line sits between the pitch and the button. */
.nav .cx-mega--doctors .mega-cta-x,.nav .cx-mega--doctors .cx-mega-x{align-self:stretch;margin:0 0 16px;padding-bottom:16px;border-bottom:2px dashed rgba(255,255,255,.4);
	color:rgba(255,255,255,.92);font-size:.85rem;line-height:1.65}
.nav .cx-mega--doctors .cx-mega-top .btn,.nav .cx-mega--doctors .cx-mega-go{margin-top:auto;background:#fff;color:var(--c-ink-deep);border:0;gap:.45rem;min-height:46px}
.nav .cx-mega--doctors .cx-mega-top .btn:hover,.nav .cx-mega--doctors .cx-mega-go:hover{background:var(--c-foam);color:var(--c-ink-deep)}
.nav .cx-mega--doctors .cx-mega-top .btn .gi{width:18px;height:18px}
:root[data-theme="dark"] .nav .cx-mega--doctors .cx-mega-top{background:linear-gradient(160deg,#15507F,var(--c-band-2))}
/* Dark: the ticket's button is the dark PRIMARY (sea on deep ink), like every other dark primary. */
:root[data-theme="dark"] .nav .cx-mega--doctors .cx-mega-top .btn,:root[data-theme="dark"] .nav .cx-mega--doctors .cx-mega-go{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
:root[data-theme="dark"] .nav .cx-mega--doctors .cx-mega-top .btn:hover,:root[data-theme="dark"] .nav .cx-mega--doctors .cx-mega-go:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .nav .cx-mega--doctors .cx-mega-top{background:linear-gradient(160deg,#15507F,var(--c-band-2))}
	:root:not([data-theme="light"]) .nav .cx-mega--doctors .cx-mega-top .btn,:root:not([data-theme="light"]) .nav .cx-mega--doctors .cx-mega-go{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
	:root:not([data-theme="light"]) .nav .cx-mega--doctors .cx-mega-top .btn:hover,:root:not([data-theme="light"]) .nav .cx-mega--doctors .cx-mega-go:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink)}
}
.nav .cx-mega--doctors .cx-mega-top :focus-visible{outline-color:#fff}
/* The doors. */
.nav .cx-mega--doctors .cx-mc--doors{grid-area:doors;padding:14px 18px 12px}
.nav .cx-mc--doors .mega-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.nav .cx-mc--doors .mega-list a{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:3px;height:100%;min-height:118px;padding:40px 16px 14px;
	background:var(--c-foam-2);border:1px solid var(--c-line);border-radius:50% 50% 16px 16px / 34px 34px 16px 16px;font-size:1rem;line-height:1.3}
.nav .cx-mc--doors .mega-list a::before{content:"";position:absolute;top:14px;inset-inline-start:16px;width:16px;height:20px;box-sizing:border-box;
	border:2px solid var(--c-sea);border-bottom:0;border-radius:999px 999px 0 0}
.nav .cx-mc--doors .mega-list a em{order:-1;font-style:normal;font-weight:700;font-size:.78rem;color:var(--c-muted)}
.nav .cx-mc--doors .mega-list a:hover,.nav .cx-mc--doors .mega-list a:focus-visible{background:var(--c-brand);border-color:var(--c-brand);color:#fff}
.nav .cx-mc--doors .mega-list a:hover em,.nav .cx-mc--doors .mega-list a:focus-visible em{color:rgba(255,255,255,.85)}
.nav .cx-mc--doors .mega-list a:hover::before,.nav .cx-mc--doors .mega-list a:focus-visible::before{border-color:var(--c-sky)}
:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a{background:var(--c-raised)}
:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:hover,:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:focus-visible{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:hover em,:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:focus-visible em{color:var(--c-ink-deep)}
:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:hover::before,:root[data-theme="dark"] .nav .cx-mc--doors .mega-list a:focus-visible::before{border-color:var(--c-ink-deep)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a{background:var(--c-raised)}
	:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:hover,:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:focus-visible{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
	:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:hover em,:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:focus-visible em{color:var(--c-ink-deep)}
	:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:hover::before,:root:not([data-theme="light"]) .nav .cx-mc--doors .mega-list a:focus-visible::before{border-color:var(--c-ink-deep)}
}
/* The questions before joining: one row of answer chips under the doors. */
.nav .cx-mega--doctors .cx-mc--facts{grid-area:facts;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 18px;padding:14px 0 6px;border-top:1px dashed var(--c-line)}
.nav .cx-mc--facts>.mega-head{margin:0;flex:0 0 100%}
.nav .cx-mc--facts .mega-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
.nav .cx-mc--facts .mega-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--c-line);border-radius:999px;
	color:var(--cx-link);font-size:.86rem}
.nav .cx-mc--facts .mega-list a:hover,.nav .cx-mc--facts .mega-list a:focus-visible{border-color:var(--cx-link);background:var(--c-foam)}
.nav .cx-mc--facts .mega-list a span{display:inline}

/* ---- help: a compact card under the "?" button — the things a reader came to DO as action tiles,
   then "our rules" as one line and "about us" beside it (siblings: three equal columns). ---- */
.nav .cx-mega--help .mega-in{max-width:min(860px,100%);margin-inline:auto max(0px,calc((100% - var(--cx-wrap)) / 2));border-radius:0 0 22px 22px;
	grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:"top top" "act act" "rules about"}
.nav .cx-mega--help .cx-mega-top{grid-area:top;padding:14px 22px;background:var(--c-foam-2);border-bottom:1px solid var(--c-line-2)}
.nav .cx-mega--help .cx-mega-x{flex-basis:200px;font-size:.86rem}
.nav .cx-mega--help .mega-list a{font-size:.88rem;padding:.45rem .5rem}
.nav .cx-mega--help .cx-mc--act{grid-area:act;padding:16px 18px 14px}
.nav .cx-mc--act .mega-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.nav .cx-mega--help .cx-mc--act .mega-list a{display:flex;flex-direction:column;align-items:flex-start;gap:4px;height:100%;min-height:96px;padding:34px 14px 12px;
	border-radius:18px;background:var(--c-foam-2);border:1px solid var(--c-line-2);font-size:.93rem;line-height:1.35}
.nav .cx-mc--act .mega-list a::before{content:"";position:absolute;top:16px;inset-inline-start:14px;width:22px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.nav .cx-mc--act .mega-list a em{font-size:.78rem;line-height:1.45}
.nav .cx-mc--act .mega-list a:hover,.nav .cx-mc--act .mega-list a:focus-visible{background:var(--c-foam);border-color:var(--cx-link);color:var(--cx-link)}
:root[data-theme="dark"] .nav .cx-mc--act .mega-list a{background:var(--c-raised);border-color:var(--c-line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nav .cx-mc--act .mega-list a{background:var(--c-raised);border-color:var(--c-line)}}
.nav .cx-mega--help .cx-mc--rules{grid-area:rules;padding:12px 18px 16px;border-top:1px solid var(--c-line-2)}
.nav .cx-mc--rules .mega-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 6px}
.nav .cx-mega--help .cx-mc--rules .mega-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--c-body);font-weight:600;font-size:.86rem}
.nav .cx-mc--rules .mega-list a::before{content:"";flex:0 0 auto;width:6px;height:6px;margin-inline-end:8px;border-radius:50%;background:var(--c-sea)}
.nav .cx-mc--rules .mega-list a span{display:inline}
.nav .cx-mega--help .cx-mc--about{grid-area:about;padding:12px 18px 16px;border-top:1px solid var(--c-line-2);border-inline-start:1px solid var(--c-line-2);background:var(--c-foam-2)}
.nav .cx-mega--help .cx-mc--about .mega-list a{min-height:40px;font-size:.86rem}
@media (prefers-reduced-motion:reduce){.nav .cx-mega-list--line a::before{transition:none}}

/* -------------------------------------------------------------------------------------------------
   3. MOBILE MENU — the drawer is a BOTTOM SHEET now (siblings: side drawer).
   ------------------------------------------------------------------------------------------------- */
.drawer{z-index:var(--cx-z-sheet);transition:visibility 0s linear var(--cx-dur-sheet)}
.drawer.open{transition-delay:0s}
.drawer-bg{background:rgba(4,14,27,.56);transition:opacity var(--cx-dur-sheet) var(--cx-ease)}
.drawer .drawer-panel{top:auto;bottom:0;inset-inline:0;left:0;right:0;margin-inline:auto;width:100%;max-width:640px;
	height:auto;max-height:calc(100dvh - 40px);padding:0 14px calc(18px + env(safe-area-inset-bottom));gap:4px;
	background:var(--c-card);border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;box-shadow:0 -24px 60px rgba(4,14,27,.35);
	transform:translateY(100%);transition:transform var(--cx-dur-sheet) var(--cx-ease);overscroll-behavior:contain}
[dir="ltr"] .drawer .drawer-panel{transform:translateY(100%)}
.drawer.open .drawer-panel,[dir="ltr"] .drawer.open .drawer-panel{transform:translateY(0)}
@media (prefers-reduced-motion:reduce){.drawer,.drawer .drawer-panel,.drawer-bg{transition:none}}
:root[data-theme="dark"] .drawer .drawer-panel{border:1px solid var(--c-line);border-bottom:0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .drawer .drawer-panel{border:1px solid var(--c-line);border-bottom:0}}

.cx-sheet-top{position:sticky;top:0;z-index:2;margin-inline:-14px;padding:10px 14px 8px;background:var(--c-card);
	border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0}
.cx-sheet-handle{display:block;width:44px;height:5px;margin:0 auto 10px;border-radius:999px;background:var(--c-line)}
:root[data-theme="dark"] .cx-sheet-handle{background:#2C4A69}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-sheet-handle{background:#2C4A69}}
.cx-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cx-sheet-title{display:inline-flex;align-items:center;gap:10px;margin:0;color:var(--c-ink);font-weight:700;font-size:1.15rem}
.cx-sheet-title .gi{width:24px;height:24px;color:var(--c-sea)}
.drawer .drawer-close{align-self:auto;display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;
	background:var(--c-foam);color:var(--c-ink);font-size:1.6rem;line-height:1;cursor:pointer}
.drawer .drawer-close:hover{background:var(--brand-100)}

.drawer .dr-group{border:0;border-radius:20px;transition:background-color var(--cx-dur) var(--cx-ease)}
.drawer .dr-group[open]{background:var(--c-foam-2)}
.drawer-panel>a.dr-top{border-bottom:0}
.drawer .dr-top{min-height:58px;padding:.55rem .6rem;border-radius:20px;color:var(--c-ink);font-weight:700;font-size:1rem}
.drawer .dr-top:hover{background:var(--c-foam-2)}
/* Dark: foam-2 (#0B2036) is within a hair of the sheet's card (#0C1D31) — an open group and the
   hovered row step up to the raised surface instead, so the expanded group reads as one block. */
:root[data-theme="dark"] .drawer .dr-group[open],:root[data-theme="dark"] .drawer .dr-top:hover{background:var(--c-raised)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .drawer .dr-group[open],:root:not([data-theme="light"]) .drawer .dr-top:hover{background:var(--c-raised)}}
.drawer .dr-top.is-on{color:var(--cx-link)}
.cx-dr-l{display:inline-flex;align-items:center;gap:12px;min-width:0}
/* Arch-topped icon tiles: the Alexandrian window, small. */
.cx-dr-ic{display:inline-grid;place-items:center;flex:0 0 auto;width:42px;height:46px;border-radius:999px 999px 10px 10px;
	background:var(--c-foam);color:var(--c-brand)}
.cx-dr-ic .gi{width:20px;height:20px;margin-top:3px}
.drawer .dr-top.is-on .cx-dr-ic,.drawer .dr-group[open]>.dr-top .cx-dr-ic{background:var(--c-brand);color:#fff}
:root[data-theme="dark"] .drawer .dr-top.is-on .cx-dr-ic,:root[data-theme="dark"] .drawer .dr-group[open]>.dr-top .cx-dr-ic{color:#04202F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .drawer .dr-top.is-on .cx-dr-ic,:root:not([data-theme="light"]) .drawer .dr-group[open]>.dr-top .cx-dr-ic{color:#04202F}}
.drawer .dr-top .nav-chev{width:16px;height:16px;color:var(--c-muted)}

/* Sub-links ride a tram line that drops from the group's icon. */
.drawer .dr-body{position:relative;padding:0 .6rem .7rem;margin-inline-start:0}
.drawer .dr-body::before{content:"";position:absolute;inset-inline-start:calc(.6rem + 19px);top:0;bottom:1.2rem;width:2px;
	background:var(--c-sea);opacity:.35;border-radius:2px}
.drawer .dr-body a{position:relative;min-height:44px;padding-block:.55rem;padding-inline:calc(40px + 12px) .6rem;border-radius:14px;
	color:var(--c-body);font-weight:700;font-size:.93rem}
.drawer .dr-body a::before{content:"";position:absolute;inset-inline-start:calc(20px - 4px);top:50%;width:10px;height:10px;margin-top:-5px;
	border-radius:50%;background:var(--c-card);border:2px solid var(--c-sea);box-sizing:border-box}
.drawer .dr-body a:hover{background:var(--c-card);color:var(--cx-link)}
.drawer .dr-body a:hover::before{background:var(--c-sea)}
.drawer .dr-head{margin:.8rem 0 .25rem;padding-inline-start:calc(40px + 12px);font-size:.78rem;font-weight:700;letter-spacing:0;
	text-transform:none;color:var(--c-muted)}
.drawer .dr-head:first-child{margin-top:.2rem}
.drawer .dr-more{color:var(--cx-link)!important}

/* The groups as a three-up grid of small ARCH tiles, icon over name (siblings: a vertical list of
   rows). An open group spans the full width at the top of the grid. */
.cx-sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:2px}
.cx-sheet-grid>.dr-group{min-width:0;background:var(--c-foam-2);border:1px solid var(--c-line-2);border-radius:20px}
.cx-sheet-grid>.dr-group[open]{grid-column:1/-1;order:-1}
.cx-sheet-grid>.dr-group>.dr-top{position:relative;border-radius:19px}
.cx-sheet-grid>.dr-group:not([open])>.dr-top{flex-direction:column;align-items:center;justify-content:center;gap:0;
	min-height:100px;padding:12px 6px 10px;text-align:center}
.cx-sheet-grid>.dr-group:not([open])>.dr-top .cx-dr-l{flex-direction:column;align-items:center;gap:8px}
.cx-sheet-grid>.dr-group:not([open])>.dr-top .cx-dr-ic{width:40px;height:46px}
.cx-sheet-grid>.dr-group:not([open])>.dr-top .cx-dr-name{font-size:.86rem;line-height:1.3}
.cx-sheet-grid>.dr-group:not([open])>.dr-top .nav-chev{position:absolute;top:9px;inset-inline-end:9px;width:12px;height:12px}
.cx-sheet-grid>.dr-group:not([open])>.dr-top:hover{background:var(--c-foam)}
.cx-sheet-grid>.dr-group[open]{border-color:transparent}
.cx-sheet-grid>.dr-group[open]>.dr-top{min-height:64px}
:root[data-theme="dark"] .cx-sheet-grid>.dr-group{background:var(--c-raised);border-color:var(--c-line)}
:root[data-theme="dark"] .cx-sheet-grid>.dr-group:not([open]) .cx-dr-ic{background:rgba(79,182,232,.16);color:var(--c-sea-hi)}
:root[data-theme="dark"] .cx-sheet-grid>.dr-group:not([open])>.dr-top:hover{background:#163252}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-sheet-grid>.dr-group{background:var(--c-raised);border-color:var(--c-line)}
	:root:not([data-theme="light"]) .cx-sheet-grid>.dr-group:not([open]) .cx-dr-ic{background:rgba(79,182,232,.16);color:var(--c-sea-hi)}
	:root:not([data-theme="light"]) .cx-sheet-grid>.dr-group:not([open])>.dr-top:hover{background:#163252}
}

/* Sheet order (parts-header.php): search → "your stop" rail → clinic card → sections → view row. */
.drawer .drawer-panel>*{flex:0 0 auto}
.cx-sheet-search{display:flex;align-items:center;gap:8px;margin:4px 0 6px;padding:5px;padding-inline-start:14px;border-radius:18px;
	background:var(--c-foam-2);border:1.5px solid var(--c-field-line)}
.cx-sheet-search:focus-within{border-color:var(--c-sea);box-shadow:0 0 0 3px rgba(46,155,214,.25)}
.cx-sheet-search>.gi{width:22px;height:22px;flex:0 0 22px;color:var(--c-sea)}
.cx-sheet-search input{flex:1 1 auto;min-width:0;min-height:46px;padding:0;border:0;outline:0;background:transparent;color:var(--c-ink);font:inherit;font-size:16px}
.cx-sheet-search input::placeholder{color:var(--c-muted)}
.cx-sheet-go{display:inline-grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:0;border-radius:14px;
	background:var(--cx-primary-bg);color:var(--cx-primary-ink);cursor:pointer}
.cx-sheet-go .gi{width:20px;height:20px}
[dir="ltr"] .cx-sheet-go .cx-dir{transform:scaleX(-1)}
.cx-sheet-go:focus-visible,.cx-sheet-search input:focus-visible{outline:none}
.cx-sheet-go:focus-visible{box-shadow:0 0 0 3px var(--cx-focus)}
.cx-sheet-k{display:flex;align-items:center;gap:8px;margin:12px 4px 6px;color:var(--c-muted);font-size:.8rem;font-weight:700}
.cx-sheet-k::before{content:"";width:20px;height:7px;flex:0 0 20px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
/* "Get off at your stop": a swipe rail of stations on one line. */
.cx-sheet-rail{display:flex;list-style:none;margin:0 -14px;padding:2px 14px 4px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;scroll-padding-inline:14px}
.cx-sheet-rail::-webkit-scrollbar{display:none}
.cx-sheet-rail li{position:relative;flex:0 0 auto;margin:0}
.cx-sheet-rail li::after{content:"";position:absolute;top:13px;inset-inline-start:50%;width:100%;height:3px;border-radius:3px;background:var(--c-sea);opacity:.4}
.cx-sheet-rail li:last-child::after{display:none}
.cx-sheet-rail a{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:78px;min-height:58px;padding:6px 8px 4px;
	border-radius:12px;color:var(--c-ink);font-weight:700;font-size:.86rem;white-space:nowrap;text-align:center}
.cx-sheet-rail a::before{content:"";width:16px;height:16px;border-radius:50%;box-sizing:border-box;background:var(--c-card);border:3px solid var(--c-sea)}
.cx-sheet-rail a:hover,.cx-sheet-rail a:focus-visible{background:var(--c-foam-2);color:var(--cx-link)}
.cx-sheet-rail .cx-sheet-rail-all a{color:var(--cx-link)}
.cx-sheet-rail .cx-sheet-rail-all a::before{border-radius:5px;background:var(--c-band);border-color:var(--c-band)}
:root[data-theme="dark"] .cx-sheet-rail .cx-sheet-rail-all a::before{background:var(--c-sky);border-color:var(--c-sky)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-sheet-rail .cx-sheet-rail-all a::before{background:var(--c-sky);border-color:var(--c-sky)}}
/* Phones: a swipe rail clipped mid-name ("المعمورة" cut at the edge) reads as broken, so up to 639px
   the stations WRAP into a grid instead — three a row up to 420px, four above — each row its own
   short line (the segment leaving a row's last station is dropped). "All Alexandria" takes a row. */
@media (max-width:639px){
	.cx-sheet-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:6px;margin:0;padding:2px 0 4px;overflow:visible}
	.cx-sheet-rail a{min-width:0;padding-inline:2px;white-space:normal;line-height:1.3}
	.cx-sheet-rail li:nth-child(4n)::after,.cx-sheet-rail li:nth-last-child(2)::after{display:none}
	.cx-sheet-rail .cx-sheet-rail-all{grid-column:1/-1}
	.cx-sheet-rail .cx-sheet-rail-all a{flex-direction:row;justify-content:center;gap:10px;min-height:44px;padding:4px 12px;border-radius:var(--cx-r-pill);background:var(--c-foam-2)}
	.cx-sheet-rail .cx-sheet-rail-all a:hover{background:var(--c-foam)}
}
@media (max-width:420px){
	.cx-sheet-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
	.cx-sheet-rail li:nth-child(4n)::after{display:block}
	.cx-sheet-rail li:nth-child(3n)::after,.cx-sheet-rail li:nth-last-child(2)::after{display:none}
}
/* The clinic card, inline in the middle of the sheet. */
.drawer .dr-foot.cx-sheet-clinic{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;margin:10px 0 4px;padding:14px;
	border:0;border-radius:20px;background:var(--c-band);color:var(--c-on-band-2)}
.cx-sheet-clinic-t{grid-column:1/-1;margin:0;color:#fff;font-weight:800;font-size:1rem}
.drawer .cx-sheet-clinic .btn{min-height:46px;padding:6px 1rem;font-size:.92rem;line-height:1.25;white-space:normal;text-align:center;background:var(--c-sea);color:var(--c-ink-deep)}
.drawer .cx-sheet-clinic .btn:hover{background:var(--c-sea-hi)}
.drawer .cx-sheet-clinic .dr-quiet{justify-content:center;gap:.4rem;min-height:46px;padding:0 .9rem;border:1px solid var(--c-on-band-line);border-radius:var(--cx-r-pill);
	color:#fff;font-size:.86rem;background:transparent;white-space:nowrap}
.drawer .cx-sheet-clinic .dr-quiet .gi{width:18px;height:18px;color:var(--c-sky)}
.drawer .cx-sheet-clinic .dr-quiet:hover{border-color:var(--c-sky);background:rgba(255,255,255,.08);color:#fff}
.drawer .cx-sheet-clinic :focus-visible{outline-color:var(--c-sea-hi)}
/* The view row: language + a small day/night switch. */
.cx-sheet-view{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--c-line)}
.drawer .cx-sheet-view .dr-quiet{gap:.5rem;min-height:44px;padding:0 .9rem;border:1px solid var(--c-line);border-radius:var(--cx-r-pill);color:var(--c-ink);font-size:.88rem}
.drawer .cx-sheet-view .dr-quiet .gi{width:18px;height:18px;color:var(--c-brand)}
.drawer .cx-sheet-view .dr-quiet:hover{border-color:var(--cx-link);color:var(--cx-link);background:var(--c-foam-2)}
.cx-sheet-theme{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--c-line);border-radius:var(--cx-r-pill);
	background:transparent;color:var(--c-muted);cursor:pointer}
.cx-sheet-theme .gi{width:17px;height:17px}
.cx-sheet-theme .cx-view-day{color:var(--c-ink)}
.cx-sheet-theme.is-dark .cx-view-day{color:var(--c-muted)}
.cx-sheet-theme.is-dark .cx-view-night{color:var(--c-ink)}
.cx-sheet-theme .tt-track{position:relative;direction:ltr;width:40px;height:22px;border-radius:999px;background:var(--c-sky)}
.cx-sheet-theme .tt-knob{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(6,26,51,.3);transition:transform .25s var(--cx-ease)}
.cx-sheet-theme.is-dark .tt-track{background:var(--c-navy-800)}
.cx-sheet-theme.is-dark .tt-knob{transform:translateX(18px);background:var(--c-sky)}
[dir="rtl"] .cx-sheet-theme .tt-knob{left:auto;right:3px}
[dir="rtl"] .cx-sheet-theme.is-dark .tt-knob{transform:translateX(-18px)}
@media (prefers-reduced-motion:reduce){.cx-sheet-theme .tt-knob{transition:none}}
.cx-sheet-k--secs{margin-top:14px}

/* -------------------------------------------------------------------------------------------------
   4. DOCK — three slots (parts-footer.php): a "Browse" chooser, the search as a wide centre capsule,
      and "Where to?" (the sheet). Siblings: a flat four-tab bar. The header burger hides while the
      dock (which opens the same sheet) is on screen.
   ------------------------------------------------------------------------------------------------- */
@media (max-width:899px){
	.botnav.cx-dock{display:grid;grid-template-columns:minmax(64px,.9fr) minmax(0,2fr) minmax(64px,.9fr);align-items:center;gap:4px;
		position:fixed;inset-inline:var(--cx-dock-gap);bottom:calc(var(--cx-dock-gap) + env(safe-area-inset-bottom));
		max-width:520px;margin-inline:auto;height:var(--cx-dock-h);padding:0 6px;
		background:var(--cx-dock-bg);border:1px solid var(--c-on-band-line);border-radius:22px;box-shadow:var(--cx-shadow-dock);
		-webkit-backdrop-filter:none;backdrop-filter:none;z-index:var(--cx-z-dock)}
	.botnav .cx-dock-i{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
		min-width:44px;min-height:54px;padding:0 4px;margin:0;border:0;border-radius:16px;background:none;list-style:none;
		color:var(--c-on-band-3);font:inherit;font-size:.7rem;font-weight:700;line-height:1.2;cursor:pointer;
		transition:color var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
	.botnav .cx-dock-i::-webkit-details-marker{display:none}
	.botnav .cx-dock-i svg{width:22px;height:22px;flex:0 0 auto}
	.botnav .cx-dock-t{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
	.botnav .cx-dock-i:hover,.botnav .cx-dock-i.on{color:#fff}
	.botnav .cx-dock-i.on:not(.cx-dock-find)::after{content:"";position:absolute;bottom:2px;left:0;right:0;margin:0 auto;width:16px;height:6px;background:var(--c-sea);
		-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
	.botnav .cx-dock-i:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:-3px}
	.botnav .cx-dock-i:active{transform:scale(.96)}
	/* Centre: the search as a wide sea capsule with its label beside the glyph. */
	.botnav .cx-dock-find{flex-direction:row;gap:8px;min-height:46px;padding:0 14px;border-radius:14px;background:var(--c-sea);color:var(--c-ink-deep);font-size:.88rem}
	.botnav .cx-dock-find svg{width:21px;height:21px}
	.botnav .cx-dock-find:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}
	.botnav .cx-dock-find.on{background:#fff;color:var(--c-ink-deep);box-shadow:inset 0 0 0 2px var(--c-sea)}
	.botnav .cx-dock-menu[aria-expanded="true"],.botnav .cx-dock-pick[open]>.cx-dock-i{color:#fff;background:rgba(255,255,255,.08)}
	/* The chooser: a small card that rises from the dock. */
	.botnav .cx-dock-pick{position:static;display:flex;min-width:0}
	.botnav .cx-dock-pick>.cx-dock-i{flex:1 1 auto}
	.botnav .cx-dock-pick-pop{position:absolute;bottom:calc(100% + 10px);inset-inline-start:0;width:min(280px,calc(100vw - 2 * var(--cx-dock-gap)));padding:8px;
		border-radius:20px;background:var(--c-card);border:1px solid var(--c-line);box-shadow:var(--cx-shadow-pop);animation:cxPickIn .18s var(--cx-ease)}
	@keyframes cxPickIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
	.botnav .cx-dock-pick-h{margin:6px 10px 6px;color:var(--c-muted);font-size:.78rem;font-weight:700}
	.botnav .cx-dock-pick-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
	.botnav .cx-dock-pick-list a{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:50px;padding:4px 10px;
		border-radius:14px;color:var(--c-ink);font-size:.95rem;font-weight:700}
	.botnav .cx-dock-pick-list a:hover{background:var(--c-foam-2);color:var(--cx-link)}
	.botnav .cx-dock-pick-list a.on{background:var(--c-foam);color:var(--cx-link)}
	.botnav .cx-dock-pick-list a:focus-visible{outline:3px solid var(--cx-focus);outline-offset:-3px}
	.botnav .cx-dock-pick-ic{display:inline-grid;place-items:center;flex:0 0 auto;width:36px;height:40px;border-radius:999px 999px 9px 9px;background:var(--c-foam);color:var(--c-brand)}
	.botnav .cx-dock-pick-ic svg{width:19px;height:19px}

	/* The header burger is redundant while the dock (with its sheet slot) is visible. Where the
	   doctor-page call bar replaces the dock (≤760px, alex.css), the burger comes back. */
	.nav .nav-burger{display:none}

	/* The page's end reserve moves from <body> into the navy footer strip, so the dock floats over
	   navy instead of over a band of empty page colour. */
	body{padding-bottom:0}
}
@media (max-width:760px){
	body:has(.mobile-callbar) .nav .nav-burger{display:inline-grid}
	body:has(.mobile-callbar){padding-bottom:0}
}
@media (prefers-reduced-motion:reduce){.botnav .cx-dock-i{transition:none}.botnav .cx-dock-i:active{transform:none}.botnav .cx-dock-pick-pop{animation:none}}

/* -------------------------------------------------------------------------------------------------
   5. FOOTER — light foam, wave top edge, statement, columns, navy strip.
   ------------------------------------------------------------------------------------------------- */
.footer{position:relative;margin-top:calc(var(--cx-wave-h) + clamp(16px,2.5vw,32px));padding-block:clamp(30px,4.5vw,56px) 0;
	background:var(--c-foot);color:var(--c-body);border-top:0}
.cx-foot-wave{position:absolute;inset-inline:0;bottom:calc(100% - 1px);display:block;width:100%;height:var(--cx-wave-h);
	color:var(--c-foot);pointer-events:none}
.cx-foot-wave-b{fill:var(--c-sky);opacity:.45}
/* Dark: the back wave is a faint sea waterline, so the footer's edge reads against the dark page. */
:root[data-theme="dark"] .cx-foot-wave-b{fill:var(--c-sea);opacity:.32}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-foot-wave-b{fill:var(--c-sea);opacity:.32}}
.footer .wrap{gap:0}
.footer a{color:var(--c-body)}
.footer a:hover{color:var(--cx-link)}
.footer .brand{display:inline-flex;border-radius:12px}
.footer .brand-logo{height:56px;max-width:min(60vw,240px)}
.cx-foot-statement{margin:16px 0 0;color:var(--c-ink);font-weight:700;font-size:clamp(1.5rem,1.05rem + 1.9vw,2.5rem);line-height:1.22;
	max-width:20ch;text-wrap:balance}
.cx-foot-statement::after{content:"";display:block;width:48px;height:8px;margin-top:14px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.footer .foot-tag{margin-top:14px;max-width:46ch;color:var(--c-body);font-size:.95rem;line-height:1.8}

/* Column heads: a sea wave mark + the group name. The accordion is gone at every width
   (.cx-foot--flat, see parts-footer.php), so the heading is a heading again: no chevron, no pointer.
   Specificity note: alex.css's mobile accordion rules are `.footer .wrap > div:not(:first-child) …`
   (0,3,x) — everything below is scoped `.footer.cx-foot--flat` to beat them in one step. */
.footer.cx-foot--flat .wrap>div:not(:first-child){background:none;border:0;border-radius:0;padding:0}
.footer.cx-foot--flat h5,.footer.cx-foot--flat .wrap>div:not(:first-child) h5{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:0;margin:0 0 .9rem;padding:0;cursor:default;
	color:var(--c-ink);font-size:1rem;font-weight:700}
.footer.cx-foot--flat h5::before{content:"";width:24px;height:8px;flex:0 0 24px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.footer.cx-foot--flat .wrap>div:not(:first-child) h5::after,.footer.cx-foot--flat h5::after{content:none;display:none}
.footer.cx-foot--flat .foot-acc{cursor:default}
.footer .foot-acc:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.footer.cx-foot--flat .cx-foot-col>a,.footer.cx-foot--flat .wrap>div:not(:first-child)>a{display:flex;align-items:center}

/* Plain link lists (around the directory, clinics, transparency): quiet rows. */
.footer.cx-foot--flat .wrap>.cx-foot-col>a{gap:8px;min-height:40px;padding:.3rem 0;font-size:.93rem;line-height:1.45;transition:color var(--cx-dur) var(--cx-ease)}
.footer{--cx-foot-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
	--cx-foot-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.6 6v5.4c0 4.6 3.2 8.4 7.4 9.6 4.2-1.2 7.4-5 7.4-9.6V6z'/%3E%3Cpath d='M8.8 12.2c1.1.7 1.9 1.5 2.5 2.6 1.4-2.6 2.8-4.2 4.6-5.4'/%3E%3C/svg%3E")}

/* Grid items must be allowed to shrink, or the tram rail widens its column (and the page). */
.footer.cx-foot--flat .wrap>div{min-width:0}

/* 1. THE CITY — a full-width card: the districts as one tram line, the governorates riding under it. */
.footer.cx-foot--flat .wrap>div.cx-foot-city{display:block;padding:22px clamp(18px,2.4vw,30px) 18px;border-radius:var(--cx-r-card);
	background:var(--c-card);box-shadow:var(--cx-shadow-card);border:1px solid var(--cx-card-border)}
.footer.cx-foot--flat .wrap>.cx-foot-city>h5{margin-bottom:.4rem}
.cx-foot-rail{display:flex;overflow-x:auto;scrollbar-width:none;padding:8px 2px 4px;scroll-padding-inline:2px}
.cx-foot-rail::-webkit-scrollbar{display:none}
.footer .cx-foot-rail>.cx-foot-stop{position:relative;flex:1 0 auto;min-width:92px;display:flex;flex-direction:column;align-items:center;gap:10px;
	min-height:64px;padding:4px 10px 6px;text-align:center;white-space:nowrap;font-size:.92rem;font-weight:700;color:var(--c-ink)}
.footer .cx-foot-rail>.cx-foot-stop::before{content:"";position:relative;z-index:1;width:16px;height:16px;flex:0 0 16px;border-radius:50%;box-sizing:border-box;
	background:var(--c-card);border:3px solid var(--c-sea);transition:background-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.footer .cx-foot-rail>.cx-foot-stop::after{content:"";position:absolute;top:10.5px;inset-inline-start:50%;width:100%;height:3px;border-radius:3px;background:var(--c-sea);opacity:.45}
.footer .cx-foot-rail>.cx-foot-stop:last-child::after{display:none}
.footer .cx-foot-rail>.cx-foot-stop:hover{color:var(--cx-link)}
.footer .cx-foot-rail>.cx-foot-stop:hover::before{background:var(--c-sea);transform:scale(1.15)}
.cx-foot-regs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:14px;border-top:1px dashed var(--foot-line)}
.footer .cx-foot-regs>.cx-foot-reg{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 14px;border-radius:var(--cx-r-pill);
	background:var(--c-foam-2);color:var(--c-ink);font-size:.88rem;font-weight:700;transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.footer .cx-foot-regs>.cx-foot-reg .gi{width:18px;height:18px;color:var(--c-sea)}
.footer .cx-foot-regs>.cx-foot-reg--home{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.footer .cx-foot-regs>.cx-foot-reg--home .gi{color:currentColor;--gi-duo:currentColor}
.footer .cx-foot-regs>.cx-foot-reg:hover{background:var(--c-brand);color:#fff}
.footer .cx-foot-regs>.cx-foot-reg:hover .gi{color:currentColor}
@media (prefers-reduced-motion:reduce){.footer .cx-foot-rail>.cx-foot-stop::before{transition:none}}
/* Phones: the city line wraps into rows of three stations instead of clipping the last one mid-name
   (each row its own line; the segment leaving a row's last station is dropped). */
@media (max-width:559px){
	.cx-foot-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px;overflow:visible;padding-inline:0}
	.footer.cx-foot--flat .cx-foot-rail>.cx-foot-stop{min-width:0;padding-inline:2px;white-space:normal;line-height:1.3}
	.footer.cx-foot--flat .cx-foot-rail>.cx-foot-stop:nth-child(3n)::after{display:none}
}

/* Long lists fold: the first stations / chips, then "show all". alex.js adds .foot-clip; the folded
   links are hidden by CSS only (still in the HTML, and not focusable while hidden). */
.footer .foot-more-btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;margin-top:10px;padding:0 16px;border:1px solid var(--foot-line);
	border-radius:var(--cx-r-pill);background:none;color:var(--cx-link);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.footer .foot-more-btn::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.footer .foot-more-btn[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.footer .foot-more-btn:hover{background:var(--c-brand);border-color:var(--c-brand);color:#fff}
.footer .foot-more-btn[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.footer .foot-more-btn{transition:none}}
@media (max-width:559px){
	.footer .cx-foot-rail.foot-clip:not(.is-open)>.cx-foot-stop:nth-child(n+16){display:none}
}
@media (min-width:560px){.footer .cx-foot-city>.foot-more-btn{display:none}}
@media (min-width:900px){
	.footer.cx-foot--flat .cx-foot-col--chips.foot-clip:not(.is-open)>a:not(.cx-foot-more-l):nth-of-type(n+15){display:none}
	.footer.cx-foot--flat .cx-foot-col--chips>.foot-more-btn{flex:0 0 auto;margin-top:0}
}
@media (max-width:899px){.footer .cx-foot-col--chips>.foot-more-btn{display:none}}

/* 2a. Specialties: a chip cloud, then the two search doors as text links. */
.footer.cx-foot--flat .cx-foot-col--chips{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px}
.footer.cx-foot--flat .cx-foot-col--chips>h5{flex:0 0 100%}
.footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l){min-height:40px;padding:0 14px;border-radius:var(--cx-r-pill);background:var(--c-card);
	border:1px solid var(--foot-line);color:var(--c-ink);font-size:.88rem;font-weight:700;line-height:1.2;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l):hover{background:var(--c-brand);border-color:var(--c-brand);color:#fff}
.footer.cx-foot--flat .wrap>.cx-foot-col--chips>.cx-foot-more-l{flex:0 0 100%;min-height:36px;padding:0;color:var(--cx-link);font-weight:700;font-size:.9rem}
.footer.cx-foot--flat .wrap>.cx-foot-col--chips>.cx-foot-more-l:first-of-type{margin-top:6px}
.footer.cx-foot--flat .wrap>.cx-foot-col--chips>.cx-foot-more-l::after{content:"";width:14px;height:14px;flex:0 0 14px;margin-inline-start:6px;background:currentColor;
	-webkit-mask:var(--cx-foot-arrow) center/100% 100% no-repeat;mask:var(--cx-foot-arrow) center/100% 100% no-repeat}
[dir="ltr"] .footer.cx-foot--flat .wrap>.cx-foot-col--chips>.cx-foot-more-l::after{transform:scaleX(-1)}
:root[data-theme="dark"] .footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l){background:var(--c-raised);border-color:var(--c-line)}
:root[data-theme="dark"] .footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l):hover{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l){background:var(--c-raised);border-color:var(--c-line)}
	:root:not([data-theme="light"]) .footer.cx-foot--flat .wrap>.cx-foot-col--chips>a:not(.cx-foot-more-l):hover{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
}

/* 2b. Transparency: a navy card with a shield head and checked rows. */
.footer.cx-foot--flat .wrap>div.cx-foot-trust{align-self:start;padding:20px 22px 14px;border-radius:var(--cx-r-card);background:var(--c-band);color:var(--c-on-band-2)}
.footer.cx-foot--flat .wrap>div.cx-foot-trust>h5{color:#fff}
.footer.cx-foot--flat .wrap>.cx-foot-trust>h5::before{width:20px;height:20px;flex-basis:20px;background:var(--c-sky);
	-webkit-mask:var(--cx-foot-shield) center/100% 100% no-repeat;mask:var(--cx-foot-shield) center/100% 100% no-repeat}
.footer.cx-foot--flat .wrap>.cx-foot-trust>a{color:var(--c-on-band-2);border-top:1px solid var(--c-on-band-line);min-height:42px}
.footer.cx-foot--flat .wrap>.cx-foot-trust>a:hover{color:#fff}
.footer.cx-foot--flat .wrap>.cx-foot-trust :focus-visible{outline-color:var(--c-sea-hi)}

/* 2c. For clinics: the join action as a pill, then the quieter rows. */
.footer.cx-foot--flat .wrap>.cx-foot-clinics>.cx-foot-join{justify-content:center;gap:8px;min-height:46px;margin-bottom:6px;padding:6px 14px;font-size:.88rem;line-height:1.3;text-align:center;border-radius:var(--cx-r-pill);
	background:var(--c-sea);color:var(--c-ink-deep);font-weight:700}
.footer.cx-foot--flat .wrap>.cx-foot-clinics>.cx-foot-join .gi{width:18px;height:18px;--gi-duo:currentColor}
.footer.cx-foot--flat .wrap>.cx-foot-clinics>.cx-foot-join:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}

@media (min-width:900px){
	.footer .wrap{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,.8fr);gap:40px clamp(26px,3vw,48px)}
	.footer .wrap>.cx-foot-brand{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
		grid-template-areas:"logo tag" "stmt tag";gap:6px 56px;align-items:end;padding-bottom:36px;border-bottom:1px solid var(--foot-line)}
	.cx-foot-brand>.brand{grid-area:logo;align-self:start}
	.cx-foot-brand>.cx-foot-statement{grid-area:stmt}
	.cx-foot-brand>.foot-tag{grid-area:tag;align-self:end;margin:0}
	.footer.cx-foot--flat .wrap>div.cx-foot-city{grid-column:1/-1}
	.footer.cx-foot--flat .wrap>.cx-foot-around>a:hover,.footer.cx-foot--flat .wrap>.cx-foot-clinics>a:not(.cx-foot-join):hover{text-decoration:underline;text-underline-offset:.25em}
}
@media (max-width:899px){
	.footer .wrap>div:first-child{padding-bottom:30px}
	.footer.cx-foot--flat .wrap{gap:30px}
	/* The city card bleeds to the gutters so the tram line has the whole width to run. */
	.footer.cx-foot--flat .wrap>div.cx-foot-city{margin-inline:calc(-1 * var(--cx-gutter) + 6px);padding-inline:16px}
	.footer .cx-foot-rail>.cx-foot-stop{min-width:84px;min-height:64px}
	.footer .cx-foot-regs>.cx-foot-reg{min-height:44px}
	/* Two-column grids for the plain lists. */
	.footer.cx-foot--flat .wrap>.cx-foot-around,.footer.cx-foot--flat .wrap>.cx-foot-clinics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
	.footer.cx-foot--flat .wrap>.cx-foot-around>h5,.footer.cx-foot--flat .wrap>.cx-foot-clinics>h5,.footer.cx-foot--flat .wrap>.cx-foot-clinics>.cx-foot-join{grid-column:1/-1}
	.footer.cx-foot--flat .wrap>.cx-foot-around>a,.footer.cx-foot--flat .wrap>.cx-foot-clinics>a:not(.cx-foot-join){min-height:44px;border-bottom:1px solid var(--foot-line)}
	.footer.cx-foot--flat .wrap>.cx-foot-trust>a{min-height:44px}
	.footer.cx-foot--flat .wrap>.cx-foot-col--chips>a{min-height:44px}
	/* A long specialty list becomes a three-row swipe rail that bleeds to the gutters. */
	.footer.cx-foot--flat .cx-foot-col--chips:has(>a:nth-of-type(14)){display:grid;grid-template-rows:auto auto auto;grid-auto-flow:column;grid-auto-columns:max-content;
		overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--cx-gutter));padding-inline:var(--cx-gutter);scroll-padding-inline:var(--cx-gutter)}
	.footer.cx-foot--flat .cx-foot-col--chips:has(>a:nth-of-type(14))>h5{grid-row:1;grid-column:1/span 40;position:sticky;inset-inline-start:0}
	.footer.cx-foot--flat .cx-foot-col--chips::-webkit-scrollbar{display:none}
}

/* Thin navy strip: ©, place, social, back to top — then the legal pages as one inline row. */
.footer .foot-bottom{display:flex;flex-direction:column;gap:10px;
	margin-top:clamp(34px,4.5vw,56px);padding:14px max(var(--cx-gutter),calc((100% - var(--cx-wrap)) / 2 + var(--cx-gutter))) 18px;
	background:var(--c-band);color:var(--c-on-band-2);border-top:0;text-align:start;font-size:.85rem}
.cx-foot-strip-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.cx-foot-strip-row>.cx-foot-top{margin-inline-start:auto}
.cx-foot-place{display:inline-flex;align-items:center;gap:7px;color:var(--c-sky);font-weight:700}
.cx-foot-place .gi{width:18px;height:18px}
.footer .cx-foot-top{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;
	border:1px solid var(--c-on-band-line);color:#fff;font-weight:700}
.footer .cx-foot-top .gi{width:16px;height:16px}
.footer .cx-foot-top:hover{background:rgba(255,255,255,.1);color:#fff}
.footer .foot-bottom :focus-visible{outline-color:var(--c-sea-hi)}
/* Social: icon-only circles (the anchors keep their aria-label; the visible label is screen-reader text). */
.footer .foot-bottom .foot-social{margin:0}
.footer .foot-bottom .foot-social-h,.footer .foot-bottom .foot-social-t{position:absolute;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}
.footer .foot-bottom .foot-social-list{gap:8px}
.footer .foot-bottom .foot-social-a{display:inline-grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;
	border:1px solid var(--c-on-band-line);background:rgba(255,255,255,.04);color:#fff}
.footer .foot-bottom .foot-social-a svg{width:20px;height:20px}
/* Legal: one inline row of small links separated by sea dots. */
.footer .foot-bottom .cx-foot-legal{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;padding-top:10px;border-top:1px solid var(--c-on-band-line)}
.footer.cx-foot--flat .foot-bottom .cx-foot-legal>h5{display:inline-flex;margin:0;margin-inline-end:4px;color:var(--c-sky);font-size:.78rem;font-weight:700}
.footer.cx-foot--flat .foot-bottom .cx-foot-legal>h5::before{width:16px;height:6px;flex-basis:16px;background:var(--c-sky)}
/* Every link carries its OWN leading buoy (not a separator between two links), so a wrapped row can
   never start with an orphaned dot. */
.footer .foot-bottom .cx-foot-legal>a::before{content:"";flex:0 0 auto;width:5px;height:5px;margin-inline-end:7px;border-radius:50%;background:var(--c-sea)}
.footer .foot-bottom .cx-foot-legal>a{display:inline-flex;align-items:center;min-height:36px;padding:0;color:var(--c-on-band-2);font-size:.82rem;line-height:1.3}
.footer .foot-bottom .cx-foot-legal>a:hover{color:#fff;text-decoration:underline;text-underline-offset:.25em}
/* Phones: row 1 = © + social, row 2 = place + back to top. */
@media (max-width:560px){
	.cx-foot-strip-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
	.cx-foot-strip-row>.cx-foot-copy{order:1}
	.cx-foot-strip-row>.foot-social{order:2}
	.cx-foot-strip-row>.cx-foot-place{order:3}
	.cx-foot-strip-row>.cx-foot-top{order:4;margin:0}
}
@media (max-width:899px){.footer .foot-bottom .cx-foot-legal>a{min-height:44px}}
/* End reserve (see §4): content in the strip stays above the floating dock / call bar. */
@media (max-width:899px){.footer .foot-bottom{padding-bottom:calc(14px + var(--cx-dock-space))}}
@media (max-width:760px){body:has(.mobile-callbar) .footer .foot-bottom{padding-bottom:calc(14px + var(--cx-callbar-h) + env(safe-area-inset-bottom))}}

/* -------------------------------------------------------------------------------------------------
   6. NOTICE STRIP · CONSENT · PWA — re-seated around the dock.
   ------------------------------------------------------------------------------------------------- */
.gnotice{border-block-end:0}
.gnotice-in{max-width:var(--cx-wrap);padding:.5rem var(--cx-gutter)}
.gnotice-cta{min-height:44px;padding:0 1.1rem}
.gnotice--info{background:var(--c-foam);color:var(--c-navy-800)}
.gnotice--promo{background:var(--c-foam);color:var(--c-navy-800)}
:root[data-theme="dark"] .gnotice--info,:root[data-theme="dark"] .gnotice--promo{background:#0F2740;color:#C9E4F7}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gnotice--info,:root:not([data-theme="light"]) .gnotice--promo{background:#0F2740;color:#C9E4F7}}

/* Consent: a floating card that sits ABOVE the dock (or the call bar) instead of covering it.
   Coast anatomy (Consent::render()): a lighthouse window, the question, and the two answers
   stacked on the end side as twin tiles — identical in size, weight and colour, "No" first —
   with "let me choose" unfolding underneath as three small purpose cards. (Siblings: a full-width
   bar, text over a row of two outline buttons and an underlined preferences link.) */
.alex-cc{inset-inline:12px;bottom:calc(16px + env(safe-area-inset-bottom));max-width:960px;margin-inline:auto;
	background:var(--c-card);border:1px solid var(--c-line);border-radius:24px;box-shadow:var(--cx-shadow-pop);
	transform:translateY(calc(100% + 40px));overflow:hidden}
.alex-cc.is-in{transform:translateY(0)}
.alex-cc.cx-cc::before{content:"";position:absolute;top:0;inset-inline:0;height:5px;background:var(--c-sea);opacity:.9}
.alex-cc-in{padding:0;max-height:min(66vh,560px)}
.cx-cc .alex-cc-in{max-width:none}
.cx-cc-main{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(210px,280px);grid-template-areas:"mark copy side";align-items:center;gap:14px 22px;padding:22px 22px 18px}
.cx-cc-mark{grid-area:mark;align-self:start;display:grid;place-items:center;width:52px;height:62px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sky)}
.cx-cc-mark .gi{width:28px;height:28px;margin-top:4px;--gi-duo:var(--c-sea)}
:root[data-theme="dark"] .cx-cc-mark{background:rgba(79,182,232,.16);color:var(--c-sea-hi)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-cc-mark{background:rgba(79,182,232,.16);color:var(--c-sea-hi)}}
.cx-cc-copy{grid-area:copy;min-width:0}
.alex-cc-t{margin:0 0 6px;color:var(--c-ink);font-size:1.06rem;font-weight:800}
.alex-cc-d{margin:0 0 8px;color:var(--c-body);font-size:.88rem;line-height:1.7}
.alex-cc-links{margin:0;font-size:.82rem}
.alex-cc-links a{color:var(--cx-link);text-underline-offset:.2em}
.alex-cc-links span[aria-hidden]{color:var(--c-sea)}
.cx-cc-side{grid-area:side;display:grid;gap:2px;min-width:0}
/* The twin answers: the SAME rule for both. */
.cx-cc .alex-cc-act{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;max-width:none}
.alex-cc-b{min-height:48px;padding:6px 18px;border-radius:16px;border:1.5px solid var(--cx-link);background:var(--c-foam-2);color:var(--cx-link);
	font-weight:800;font-size:.92rem;line-height:1.3;transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.alex-cc-b:hover{background:var(--cx-link);border-color:var(--cx-link);color:var(--c-card)}
.alex-cc-b:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-cc .alex-cc-more{margin:0;text-align:center}
.alex-cc-link{min-height:44px;padding:0 8px;color:var(--cx-link);font-weight:700;text-underline-offset:.25em}
.alex-cc-link:focus-visible{outline:3px solid var(--cx-focus);outline-offset:0;border-radius:10px}
/* "Let me choose": three purpose cards. */
.cx-cc .alex-cc-prefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:16px 22px 20px;border-top:1px dashed var(--c-line);background:var(--c-foam-2)}
.cx-cc .alex-cc-prefs[hidden]{display:none}
.cx-cc-row{padding:12px 14px;border-radius:16px;background:var(--c-card);border:1px solid var(--c-line)}
.cx-cc-row strong{color:var(--c-ink);font-size:.92rem}
.cx-cc .alex-cc-row p{margin:6px 0 0;color:var(--c-muted);font-size:.8rem;line-height:1.6}
.alex-cc-always{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--c-foam);color:var(--cx-link);font-size:.74rem;font-weight:800;white-space:nowrap}
.alex-cc-sw input:checked + .alex-cc-sw-t{background:var(--c-sea)}
.alex-cc-sw input:focus-visible + .alex-cc-sw-t{outline:3px solid var(--cx-focus)}
.cx-cc .alex-cc-act-2{grid-column:1/-1;display:flex;justify-content:flex-end;max-width:none}
.cx-cc .alex-cc-act-2 .alex-cc-b{flex:0 1 260px;background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink);filter:none}
.cx-cc .alex-cc-act-2 .alex-cc-b:hover{background:var(--cx-primary-hover);border-color:var(--cx-primary-hover);color:var(--cx-primary-ink);filter:none}
:root[data-theme="dark"] .cx-cc .alex-cc-prefs{background:var(--c-page)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-cc .alex-cc-prefs{background:var(--c-page)}}
@media (max-width:759px){
	.cx-cc-main{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"mark copy" "side side";gap:12px 14px;padding:20px 16px 12px}
	.cx-cc-mark{width:44px;height:52px}
	.cx-cc-mark .gi{width:24px;height:24px}
	.cx-cc .alex-cc-act{grid-template-columns:repeat(2,minmax(0,1fr))}
	.alex-cc-b{padding-inline:10px}
	.cx-cc .alex-cc-prefs{grid-template-columns:minmax(0,1fr);padding:14px 16px 16px}
	.cx-cc .alex-cc-act-2 .alex-cc-b{flex:1 1 auto}
}
/* The save row rides the bottom edge of the panel's own scroller (.alex-cc-in), so "keep these
   choices" is in reach the moment the cards open, however short the screen. It is the last
   child of .alex-cc-prefs, so it sticks only while the cards are open, and it bleeds to the
   panel edges over the cards scrolling under it. */
.cx-cc .alex-cc-act-2{position:sticky;bottom:0;z-index:1;margin:2px -22px -20px;padding:12px 22px 20px;background:var(--c-foam-2);
	box-shadow:0 -1px 0 var(--c-line),0 -14px 18px -14px rgba(8,30,55,.22)}
:root[data-theme="dark"] .cx-cc .alex-cc-act-2{background:var(--c-page)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-cc .alex-cc-act-2{background:var(--c-page)}}
@media (max-width:759px){
	.cx-cc .alex-cc-act-2{margin:2px -16px -16px;padding:12px 16px 16px}
}
@media (max-width:899px){
	.alex-cc{bottom:calc(var(--cx-dock-h) + var(--cx-dock-gap) * 2 + env(safe-area-inset-bottom))}
	/* "Let me choose" open: the choice is the only thing on screen that asks for a tap, so the
	   dock steps away and the panel takes the room it left. Closing the cards brings both back. */
	body:has(.alex-cc.is-in .alex-cc-prefs:not([hidden])) .cx-dock{visibility:hidden;opacity:0}
	body:not(:has(.mobile-callbar)) .alex-cc.is-in:has(.alex-cc-prefs:not([hidden])){bottom:calc(12px + env(safe-area-inset-bottom))}
	.alex-cc:has(.alex-cc-prefs:not([hidden])) .alex-cc-in{max-height:min(calc(100dvh - 96px),720px)}
}
@media (max-width:760px){
	body:has(.mobile-callbar) .alex-cc{bottom:calc(var(--cx-callbar-h) + 12px + env(safe-area-inset-bottom))}
	/* A doctor's call bar stays (it is the page's main action); the panel keeps clear of it. */
	body:has(.mobile-callbar) .alex-cc:has(.alex-cc-prefs:not([hidden])) .alex-cc-in{max-height:min(calc(100dvh - var(--cx-callbar-h) - 96px),720px)}
}

/* PWA install bar / toast: already offset by --botnav-h (set in 00-tokens) — Coast surface only. */
.alex-pwa-bar{border-radius:22px;border-color:var(--c-line);box-shadow:var(--cx-shadow-pop)}
.alex-pwa-yes{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.alex-pwa-toast{background:var(--c-band);border-radius:16px}
/* =================================================================================================
   coast/20-home.css — HOME PAGE (templates/home.php + parts-hero-scene.php).  Owner: HOME agent.
   Spec: docs/design-coast.md §3.3–3.10. Uses foundation tokens only (coast/00-tokens.css).

   Page order (home.php): hero → #areas → #featured → #specialties → #trust → #for-doctors → #faq.

     1. Hero — navy split hero, three short facts (the lead), quick line, wave edge, line art
     2. Section heads on this page (each section composes its own head; shared bits only)
     3. Specialties — foam band, arch tiles (colonnade on desktop, snap rail on phones)
     4. Areas — "on the corniche": a light section, the tram line over a sea wave
     5. Featured doctors — paid tag + heading, lead ticket + ticket list, "everyone" link under
     6. Trust — "our word to you": one pledge card, numbered promises, corrections foot
     7. FAQ — the last stop: a sign, a heading, a narrow numbered column
     8. For doctors — navy panel, lighthouse arch on the start side
     9. Reduced motion

   STACKING (hero): nothing here may give .hero / .hero-grid / .hero-console a z-index,
   isolation, transform, filter or opacity < 1 — the search combobox and its dialog live inside
   the console and must paint above the sticky header / dock exactly as before.
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. HERO
   ------------------------------------------------------------------------------------------------- */
.hero.cx-hero{
	/* Height of the light "tail" at the bottom of the hero on a phone: the strip below the wave that
	   the search card hangs into and the quick rail sits on. 0 on desktop. */
	--cx-hero-tail:0px;
	--cx-hero-glow-x:85%;
	position:relative;
	color:var(--c-on-band-2);
	background:
		linear-gradient(to bottom,transparent calc(100% - var(--cx-hero-tail)),var(--c-page) calc(100% - var(--cx-hero-tail))),
		radial-gradient(760px 520px at var(--cx-hero-glow-x) -12%,rgba(46,155,214,.30),transparent 62%),
		radial-gradient(900px 600px at calc(100% - var(--cx-hero-glow-x)) 115%,rgba(15,60,116,.85),transparent 70%),
		var(--c-band);
	padding-top:clamp(36px,5.6vw,84px);
	padding-bottom:calc(var(--cx-wave-h) + clamp(40px,5.4vw,80px));
}
[dir="rtl"] .hero.cx-hero{--cx-hero-glow-x:15%}
/* The wave edge. ::before (not ::after) because it must paint BEFORE the grid in tree order: on a
   phone the search card hangs over it. */
.hero.cx-hero::before{content:"";position:absolute;inset-inline:0;bottom:calc(var(--cx-hero-tail) - 1px);height:var(--cx-wave-h);
	background:var(--c-page);pointer-events:none;
	-webkit-mask:var(--cx-wave-edge-b) center/100% 100% no-repeat;mask:var(--cx-wave-edge-b) center/100% 100% no-repeat}

/* Line art (parts-hero-scene.php). Positioned, z-index:auto, before the grid in the DOM. */
.cx-hero-art{position:absolute;inset:0;pointer-events:none;overflow:hidden;contain:paint}
.cx-hero-swell{position:absolute;left:0;width:200%;height:clamp(54px,7vw,110px);
	bottom:calc(var(--cx-hero-tail) + var(--cx-wave-h) * .55);color:var(--c-sky);opacity:.2;
	animation:cxHeroSwell 70s linear infinite}
.cx-swell{fill:none;stroke:currentColor;stroke-width:2;vector-effect:non-scaling-stroke}
.cx-swell-2{opacity:.75}
.cx-swell-3{opacity:.5}
@keyframes cxHeroSwell{to{transform:translateX(-50%)}}
.cx-hero-lh{position:absolute;width:clamp(120px,13vw,190px);height:auto;aspect-ratio:220/320;color:var(--c-sky);opacity:.16;
	bottom:calc(var(--cx-hero-tail) + var(--cx-wave-h) * .7);
	inset-inline-start:max(-36px,calc((100% - var(--cx-wrap)) / 2 - 150px))}
[dir="rtl"] .cx-hero-lh{transform:scaleX(-1)}
.cx-hero-lh path,.cx-hero-lh circle{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cx-lh-beam path{stroke-width:1.5;stroke-dasharray:3 7}

/* Grid. Mobile first: copy → quick line → console. The quick line stays on the navy, under the
   three facts — never as a chip row under the search card (that slot is the siblings'). */
.cx-hero .cx-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "quick" "panel";align-items:start}
.cx-hero .hero-content.cx-hero-copy{grid-area:copy;max-width:none;margin:0;text-align:start;background:none}
.cx-hero .hero-console.cx-hero-panel{grid-area:panel;max-width:720px;margin:clamp(20px,4vw,32px) 0 0;width:100%}
.cx-hero .cx-hero-quick{grid-area:quick;min-width:0;margin-top:16px}

/* Copy on navy. */
.cx-hero .cx-hero-copy .eyebrow{color:var(--c-sky);font-size:.9rem;margin-bottom:.9rem}
.cx-hero .cx-hero-copy .eyebrow::before{background:var(--c-sky)}
.cx-hero .cx-hero-h1{color:var(--c-on-band);font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);font-weight:700;
	text-align:start;margin:0;max-width:20ch;text-wrap:balance}

/* The lead, as three short facts stacked under the H1: a sky line glyph in a small arch, then one
   sentence. A sea rule runs down the start edge, joining the three like stops on one line. */
.cx-hero-facts{position:relative;list-style:none;margin:clamp(18px,2.6vw,28px) 0 0;padding:0;
	display:flex;flex-direction:column;gap:10px;max-width:560px}
.cx-hero-facts::before{content:"";position:absolute;inset-inline-start:17px;top:18px;bottom:18px;width:2px;border-radius:2px;
	background:linear-gradient(to bottom,var(--c-sea),rgba(46,155,214,.25))}
.cx-hero-fact{position:relative;display:flex;align-items:center;gap:14px;min-width:0;
	color:var(--c-on-band);font-size:var(--cx-fs-lead);font-weight:400;line-height:1.55}
.cx-hero-fact-ic{display:grid;place-items:center;width:36px;height:40px;flex:0 0 auto;border-radius:999px 999px 10px 10px;
	background:var(--c-band);color:var(--c-sky);box-shadow:inset 0 0 0 1.5px rgba(134,205,239,.45)}
.cx-hero-fact-ic svg{width:20px;height:20px}
.cx-hero-fact:first-child .cx-hero-fact-t{font-weight:700}

/* "Skip the search": the busiest specialties as ONE LINE OF TEXT LINKS on the navy, each preceded
   by a small sea station dot — not pills. The .quick-rail/.hero-rail/.qchip classes stay (the
   analytics facet-click delegation selects a.qchip); only their look changes here. */
.cx-hero-quick-h{display:flex;align-items:center;gap:8px;margin:0;font-size:.8rem;font-weight:700;line-height:1.4;color:var(--c-sky)}
.cx-hero-quick-h::before{content:"";flex:0 0 20px;width:20px;height:7px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-hero .cx-hero-quick .quick-rail.hero-rail{margin:0;padding-block:0 2px;gap:0 4px}
.cx-hero .cx-hero-quick .hero-rail .qchip{position:relative;min-height:44px;gap:0;padding:0 10px;padding-inline-start:16px;margin:0;
	border:0;border-radius:10px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;
	color:var(--c-on-band);font-size:.94rem;font-weight:700;text-decoration:underline;text-decoration-color:rgba(134,205,239,.4);
	text-decoration-thickness:1.5px;text-underline-offset:.4em;
	transition:color var(--cx-dur) var(--cx-ease),text-decoration-color var(--cx-dur) var(--cx-ease)}
.cx-hero .cx-hero-quick .hero-rail .qchip::before{content:"";position:absolute;inset-inline-start:2px;top:calc(50% - 3px);width:6px;height:6px;
	border-radius:50%;background:var(--c-sea)}
.cx-hero .cx-hero-quick .hero-rail .qchip:hover{background:none;border:0;color:#fff;text-decoration-color:var(--c-sea-hi)}
.cx-hero .cx-hero-quick .hero-rail .qchip:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:0}

/* Phones and tablets: the console hangs over the wave into the light tail.
   tail = hero bottom padding 24 + 120 of card (the quick line is above the card, on the navy). */
@media (max-width:979.98px){
	.hero.cx-hero{--cx-hero-tail:144px;padding-top:clamp(24px,5vw,40px);padding-bottom:24px}
	.cx-hero-swell{bottom:calc(var(--cx-hero-tail) + 150px);opacity:.14}
	.cx-hero-lh{width:96px;top:clamp(14px,3vw,24px);bottom:auto;inset-inline-start:auto;inset-inline-end:-6px;opacity:.13}
	[dir="rtl"] .cx-hero-lh{transform:none}
	[dir="ltr"] .cx-hero-lh{transform:scaleX(-1)}
	.cx-hero .cx-hero-h1{max-width:18ch;padding-inline-end:56px}
}
@media (max-width:600px){
	/* Compact on phones so the search card starts as high as possible. */
	.cx-hero-facts{gap:6px;margin-top:14px}
	.cx-hero-facts::before{inset-inline-start:14px}
	.cx-hero-fact{font-size:.92rem;gap:10px;line-height:1.45}
	.cx-hero-fact-ic{width:30px;height:32px}
	.cx-hero-fact-ic svg{width:17px;height:17px}
}

/* Desktop: two columns — copy + facts + quick rail on the start side, console on the end side. */
@media (min-width:980px){
	.cx-hero .cx-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,min(520px,46%));
		grid-template-areas:"copy panel" "quick panel";grid-template-rows:auto 1fr;column-gap:clamp(40px,5vw,80px)}
	.cx-hero .hero-console.cx-hero-panel{margin:0;max-width:none;align-self:center}
	.cx-hero .cx-hero-quick{margin-top:clamp(18px,2.2vw,26px);align-self:start;display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:10px}
	.cx-hero-quick-h{min-height:44px}
	/* At most eight links: on a desktop they wrap instead of hiding behind a scroll fade. */
	.cx-hero .cx-hero-quick .quick-rail{flex:1 1 300px;flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}
}

/* -------------------------------------------------------------------------------------------------
   2. SECTION HEADS — no shared "eyebrow / heading / sub / view-all" row on this page: each section
   composes its own head (styled in its own block below). Only the common margin lives here.
   ------------------------------------------------------------------------------------------------- */
.cx-coast-head,.cx-feat-head,.cx-specs-head{margin-bottom:clamp(20px,3vw,34px)}
.cx-coast-head .h-sec,.cx-feat-head .h-sec,.cx-specs-head .h-sec{margin:0}

/* -------------------------------------------------------------------------------------------------
   3. SPECIALTIES — foam band, arch tiles; the last arch is the "every specialty" stop
   ------------------------------------------------------------------------------------------------- */
.sec.cx-home-specs{padding-block:calc(var(--cx-sec-y) + var(--cx-wave-h) * .5)}
/* Centred head over the colonnade: the only centred head on the page. */
.cx-specs-head{text-align:center}
.cx-specs-head .eyebrow{justify-content:center}
.cx-specs-head .h-sec{text-align:center}
.cx-specs-head .sub-sec{margin:.7rem auto 0;max-width:56ch;color:var(--c-body)}
.cx-home-specs .ax-spec-grid.cx-arches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));
	gap:clamp(14px,2vw,22px);padding-top:6px}
.cx-home-specs .ax-spec-card.cx-arch-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
	min-height:0;padding:10px 10px 16px;border-radius:var(--cx-r-arch);background:var(--c-card);
	border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);color:var(--c-ink);text-decoration:none;
	transition:transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-home-specs .ax-spec-card.cx-arch-tile:hover{transform:translateY(-4px);box-shadow:var(--cx-shadow-hover)}
.cx-home-specs .ax-spec-card.cx-arch-tile:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
/* The window: an arch inside the arch. */
.cx-home-specs .cx-arch-tile .ax-spec-ic{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1/1.02;margin-bottom:6px;
	border:0;box-shadow:none;border-radius:999px 999px 14px 14px;color:var(--c-brand);
	background:radial-gradient(120% 90% at 50% 100%,rgba(46,155,214,.20),transparent 70%),var(--c-foam);
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-home-specs .cx-arch-tile .ax-spec-ic svg{width:38%;height:38%}
.cx-home-specs .cx-arch-tile:hover .ax-spec-ic{background:var(--c-brand);color:#fff}
.cx-home-specs .cx-arch-tile .ax-spec-n{padding-inline:4px;font-size:1rem;line-height:1.4;color:var(--c-ink)}
.cx-home-specs .cx-arch-tile .ax-spec-c{margin:0 4px;padding:0;background:none;color:var(--c-muted);font-size:.8rem;font-weight:400}
.cx-home-specs .cx-arch-tile .ax-spec-c b{color:var(--c-brand)}
.cx-arch-go{display:none}
/* The closing stop: an empty arch outline with the link inside. */
.cx-arch-all{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:180px;padding:18px 12px;
	border-radius:var(--cx-r-arch);border:2px dashed var(--c-sea);color:var(--cx-link);font-weight:700;text-align:center;text-decoration:none;
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-arch-all .gi{width:22px;height:22px}
.cx-arch-all:hover{background:var(--c-card);color:var(--cx-link-hover)}
.cx-arch-all:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
/* Phones: a horizontal snap rail of arches bleeding to the gutters. */
@media (max-width:759.98px){
	.cx-home-specs .ax-spec-grid.cx-arches{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,38%);
		gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
		margin-inline:calc(var(--cx-gutter) * -1);padding:6px var(--cx-gutter) 14px;scroll-padding-inline:var(--cx-gutter)}
	.cx-home-specs .ax-spec-grid.cx-arches::-webkit-scrollbar{display:none}
	.cx-home-specs .ax-spec-card.cx-arch-tile,.cx-arch-all{scroll-snap-align:start}
	.cx-specs-head,.cx-specs-head .h-sec{text-align:start}
	.cx-specs-head .eyebrow{justify-content:flex-start}
	.cx-specs-head .sub-sec{margin-inline:0}
}

/* -------------------------------------------------------------------------------------------------
   4. AREAS — "on the corniche": light section, the line of stations, the sea under it
   ------------------------------------------------------------------------------------------------- */
.sec.cx-home-coast{padding-top:clamp(36px,5vw,64px)}
/* Head: eyebrow and heading on the start side, the "every district" link beside the heading. */
.cx-coast-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"eb eb" "h more";align-items:end;gap:4px 24px}
.cx-coast-head .eyebrow{grid-area:eb}
.cx-coast-head .h-sec{grid-area:h}
.cx-coast-head .cx-more{grid-area:more}
@media (max-width:640px){
	.cx-coast-head{grid-template-columns:minmax(0,1fr);grid-template-areas:"eb" "h" "more";gap:4px}
	.cx-coast-head .cx-more{justify-self:start}
}
.cx-coast-ends{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 10px;
	font-size:.78rem;font-weight:700;color:var(--c-muted)}
.cx-coast-end{display:inline-flex;align-items:center;gap:8px}
.cx-coast-end::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c-sea)}
.cx-coast-end--e{flex-direction:row-reverse}

.cx-home-coast .ax-coast.cx-tramline{position:relative;padding:clamp(16px,2.4vw,24px) clamp(16px,2.4vw,28px) 0;border-radius:var(--cx-r-card);
	background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);overflow:hidden}
.cx-home-coast .ax-coast.cx-tramline::after{display:none}
.cx-home-coast .ax-coast-track.cx-tramline-track{display:flex;gap:0;padding-block:6px 10px;border-radius:12px}
.cx-home-coast .ax-coast-track.cx-tramline-track:focus-visible{outline:3px solid var(--cx-focus);outline-offset:4px}
.cx-home-coast .ax-coast-chip.cx-stn{--cx-stn-dot:18px;position:relative;flex:1 0 clamp(108px,11vw,140px);display:flex;flex-direction:column;align-items:flex-start;
	gap:2px;min-height:0;padding:calc(var(--cx-stn-dot) + 12px) 0 10px;padding-inline:0 12px;border:0;border-radius:12px;
	background:none;box-shadow:none;color:var(--c-ink);white-space:normal;
	transition:color var(--cx-dur) var(--cx-ease)}
.cx-home-coast .ax-coast-chip.cx-stn::before{content:"";position:absolute;top:6px;inset-inline-start:0;width:var(--cx-stn-dot);height:var(--cx-stn-dot);
	box-sizing:border-box;border-radius:50%;background:var(--c-card);border:3px solid var(--c-brand);z-index:1;
	transition:background-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.cx-home-coast .ax-coast-chip.cx-stn::after{content:"";position:absolute;top:calc(6px + var(--cx-stn-dot) / 2 - 2px);height:4px;
	inset-inline-start:calc(var(--cx-stn-dot) - 2px);inset-inline-end:-2px;border-radius:4px;background:var(--c-sea);opacity:.6}
.cx-home-coast .ax-coast-chip.cx-stn:last-child::after{display:none}
.cx-home-coast .ax-coast-chip.cx-stn:hover{background:none;border:0;color:var(--cx-link)}
.cx-home-coast .ax-coast-chip.cx-stn:hover::before{background:var(--c-sea);transform:scale(1.15)}
.cx-home-coast .ax-coast-chip.cx-stn:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-stn-name{font-size:1rem;font-weight:700;line-height:1.4}
.cx-home-coast .ax-coast-chip.cx-stn:hover .cx-stn-name{text-decoration:underline;text-underline-offset:.3em;text-decoration-color:var(--c-sea)}
.cx-home-coast .ax-coast-chip small.cx-stn-n{color:var(--c-muted);font-size:.8rem;font-weight:400}
/* The water: a band of sea waves along the foot of the card, the side the coast faces. */
.cx-coast-sea{display:block;height:26px;margin:6px calc(clamp(16px,2.4vw,28px) * -1) 0;
	background:linear-gradient(to bottom,transparent 0 9px,var(--c-foam) 9px)}
.cx-coast-sea::before{content:"";display:block;height:10px;background:var(--c-sea);opacity:.5;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}

/* Phones: the line runs DOWN the card — every district visible, the Agami end at the top. */
@media (max-width:639.98px){
	.cx-coast-ends{display:none}
	.cx-home-coast .ax-coast-track.cx-tramline-track{flex-direction:column;overflow:visible;-webkit-mask-image:none;mask-image:none}
	.cx-home-coast .ax-coast-chip.cx-stn{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;
		min-height:48px;padding:6px 0;padding-inline:calc(var(--cx-stn-dot) + 14px) 2px}
	.cx-home-coast .ax-coast-chip.cx-stn::before{top:calc(50% - var(--cx-stn-dot) / 2)}
	.cx-home-coast .ax-coast-chip.cx-stn::after{top:calc(50% + var(--cx-stn-dot) / 2 - 2px);bottom:calc(-50% + var(--cx-stn-dot) / 2 - 2px);height:auto;
		width:4px;inset-inline-start:calc(var(--cx-stn-dot) / 2 - 2px);inset-inline-end:auto}
	.cx-home-coast .ax-coast-chip small.cx-stn-n{flex:0 0 auto;padding:2px 10px;border-radius:999px;background:var(--c-foam);color:var(--c-body)}
}

/* The neighbouring governorates. */
.cx-coast-next{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:clamp(16px,2.4vw,24px)}
.cx-home-coast .cx-coast-next .alex-sub-h{margin:0;color:var(--c-muted);font-size:.92rem}
.cx-home-coast .cx-coast-next .chips{display:flex;flex-wrap:wrap;gap:10px}
.cx-home-coast .cx-coast-next .chip.cx-chip{min-height:44px;gap:8px}
.cx-home-coast .cx-coast-next .cx-chip-n{font-weight:700}

/* -------------------------------------------------------------------------------------------------
   5. FEATURED DOCTORS — paid tag + heading, tickets
   ------------------------------------------------------------------------------------------------- */
/* Head: a "paid" tag, the heading that says who paid, one plain note. The "everyone" link sits
   UNDER the list, as the way out of the paid order. */
.cx-paid-tag{display:inline-flex;align-items:center;gap:6px;min-height:26px;margin:0 0 10px;padding:0 12px;border-radius:999px;
	background:var(--c-ink);color:var(--c-page);font-size:.78rem;font-weight:700;letter-spacing:.02em}
/* Dark: --c-ink flips to near-white, which turned the tag into a glaring white pill. A sea-tinted
   deep tag with sky text instead (9:1). */
:root[data-theme="dark"] .cx-paid-tag{background:var(--c-foam);color:var(--c-sky);box-shadow:inset 0 0 0 1px var(--cx-card-border)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-paid-tag{background:var(--c-foam);color:var(--c-sky);box-shadow:inset 0 0 0 1px var(--cx-card-border)}}
.cx-feat-note{margin:.6rem 0 0;max-width:62ch;color:var(--c-muted);font-size:.92rem;line-height:1.7}
.cx-feat-all{margin:clamp(14px,2vw,20px) 0 0;text-align:end}

.cx-home-feat .ax-feat.cx-feat{display:flex;flex-direction:column;align-items:stretch;gap:clamp(14px,2vw,20px)}

/* Lead ticket. */
/* Tickets are cut, not painted: the notches are holes in a MASKED plate (each half of a ticket is
   its own plate, cut at the perforation), so whatever is behind the section — page, gradient, a
   neighbouring card — shows through, and nothing pokes out past the card edge. Box-shadow would be
   clipped by the mask, so the card casts a drop-shadow FILTER that follows the cut outline; in dark
   the 1px card edge is drawn the same way so it runs round the notches too. */
.cx-home-feat{--cx-tk-f:drop-shadow(0 1px 1px rgba(6,26,51,.07)) drop-shadow(0 10px 14px rgba(6,26,51,.08));
	--cx-tk-f-hover:drop-shadow(0 2px 2px rgba(6,26,51,.08)) drop-shadow(0 16px 20px rgba(6,26,51,.13));
	--cx-tkm-f:var(--cx-tk-f);--cx-tkm-f-hover:var(--cx-tk-f-hover)}
/* Stacked mini tickets (one or two columns) sit notch-over-notch. With the full 10px/14px cast, the
   upper card's shadow filled the gap AND both notch holes, so hole + gap + hole read as one grey
   "peanut". Light only: a shorter, softer cast (plus the wider row gap below) leaves the gap at the
   section colour, so each notch keeps just a faint rim of its own. Dark keeps its edge-drawn filter
   (the dark rules below re-point --cx-tkm-f and out-rank this one). */
@media (max-width:1079.98px){.cx-home-feat{
	--cx-tkm-f:drop-shadow(0 1px 1px rgba(6,26,51,.07)) drop-shadow(0 4px 8px rgba(6,26,51,.06));
	--cx-tkm-f-hover:drop-shadow(0 2px 2px rgba(6,26,51,.08)) drop-shadow(0 8px 12px rgba(6,26,51,.1))}}
:root[data-theme="dark"] .cx-home-feat{
	--cx-tk-f:drop-shadow(1px 0 0 var(--cx-card-border)) drop-shadow(-1px 0 0 var(--cx-card-border)) drop-shadow(0 1px 0 var(--cx-card-border)) drop-shadow(0 -1px 0 var(--cx-card-border)) drop-shadow(0 2px 3px rgba(0,0,0,.4));
	--cx-tk-f-hover:drop-shadow(1px 0 0 #2C5378) drop-shadow(-1px 0 0 #2C5378) drop-shadow(0 1px 0 #2C5378) drop-shadow(0 -1px 0 #2C5378) drop-shadow(0 12px 18px rgba(0,0,0,.45));
	--cx-tkm-f:var(--cx-tk-f);--cx-tkm-f-hover:var(--cx-tk-f-hover)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-home-feat{
	--cx-tk-f:drop-shadow(1px 0 0 var(--cx-card-border)) drop-shadow(-1px 0 0 var(--cx-card-border)) drop-shadow(0 1px 0 var(--cx-card-border)) drop-shadow(0 -1px 0 var(--cx-card-border)) drop-shadow(0 2px 3px rgba(0,0,0,.4));
	--cx-tk-f-hover:drop-shadow(1px 0 0 #2C5378) drop-shadow(-1px 0 0 #2C5378) drop-shadow(0 1px 0 #2C5378) drop-shadow(0 -1px 0 #2C5378) drop-shadow(0 12px 18px rgba(0,0,0,.45));
	--cx-tkm-f:var(--cx-tk-f);--cx-tkm-f-hover:var(--cx-tk-f-hover)}}
.cx-home-feat .ax-feat-lead.cx-ticket{--nr:12px;--ov:8px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;height:auto;padding:0;
	border-radius:var(--cx-r-card);background:none;border:0;box-shadow:none;filter:var(--cx-tk-f)}
/* The two plates. The main one runs --ov under the stub so no hairline shows at the seam; both are cut
   by a notch centred on the perforation (halves trick: each mask layer covers half the plate and
   carries one notch, so no mask-composite is needed). */
.cx-home-feat .cx-ticket .cx-ticket-main,.cx-home-feat .cx-ticket .cx-ticket-stub{position:relative}
.cx-home-feat .cx-ticket .cx-ticket-main::before,.cx-home-feat .cx-ticket .cx-ticket-stub::before{content:"";position:absolute;inset:0;z-index:-1;
	background:var(--c-card);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.cx-home-feat .cx-ticket .cx-ticket-main::before{inset-inline-end:calc(var(--ov) * -1);border-start-start-radius:var(--cx-r-card);border-end-start-radius:var(--cx-r-card);
	--nx:var(--ov);
	-webkit-mask-image:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px));
	mask-image:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px));
	-webkit-mask-size:100% 50.5%;mask-size:100% 50.5%;-webkit-mask-position:0 0,0 100%;mask-position:0 0,0 100%}
[dir="ltr"] .cx-home-feat .cx-ticket .cx-ticket-main::before{--nx:calc(100% - var(--ov))}
.cx-home-feat .cx-ticket .cx-ticket-stub::before{border-start-end-radius:var(--cx-r-card);border-end-end-radius:var(--cx-r-card);
	background:repeating-linear-gradient(180deg,var(--c-line) 0 7px,transparent 7px 13px) right 0 top 0/2px 100% no-repeat,var(--c-card);
	--nx:100%;
	-webkit-mask-image:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px));
	mask-image:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px));
	-webkit-mask-size:100% 50.5%;mask-size:100% 50.5%;-webkit-mask-position:0 0,0 100%;mask-position:0 0,0 100%}
[dir="ltr"] .cx-home-feat .cx-ticket .cx-ticket-stub::before{--nx:0%;background:repeating-linear-gradient(180deg,var(--c-line) 0 7px,transparent 7px 13px) left 0 top 0/2px 100% no-repeat,var(--c-card)}
.cx-ticket-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(18px,3vw,36px);
	padding:clamp(18px,2.6vw,30px);padding-inline-end:clamp(18px,2.4vw,28px);min-width:0}
.cx-home-feat .ax-feat-lead-head.cx-ticket-id{display:flex;align-items:center;gap:clamp(16px,2.4vw,26px);min-width:0}
.cx-home-feat .ax-feat-ava.cx-ticket-ava{flex:0 0 auto;width:clamp(92px,10vw,124px);height:auto;aspect-ratio:4/5;border-radius:var(--cx-r-arch);
	object-fit:cover;background:var(--c-foam);box-shadow:0 0 0 3px var(--c-card),0 0 0 5px var(--c-sky)}
.cx-ticket-who{min-width:0}
.cx-home-feat .cx-ticket .ax-feat-name{font-size:clamp(1.2rem,1rem + .8vw,1.55rem);line-height:1.3;margin:0}
.cx-home-feat .cx-ticket .ax-feat-name a{color:var(--c-ink);text-decoration:none;border-radius:6px}
.cx-home-feat .cx-ticket .ax-feat-name a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.25em}
.cx-home-feat .ax-feat-meta.cx-ticket-spec{margin:6px 0 0;display:block}
.cx-home-feat .cx-ticket-spec span{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;
	background:var(--c-foam);color:var(--c-brand);font-size:.84rem;font-weight:700}
.cx-home-feat .cx-ticket .ax-feat-pitch{margin:12px 0 0;color:var(--c-body);font-size:.96rem;line-height:1.75;max-width:52ch}
/* The fee / years column. */
.cx-home-feat .ax-feat-meta.cx-ticket-facts{display:flex;flex-direction:column;gap:14px;min-width:180px;margin:0;
	padding-inline-start:clamp(18px,2.4vw,30px);border-inline-start:1px solid var(--c-line)}
.cx-ticket-fact{display:grid;grid-template-columns:36px minmax(0,auto);column-gap:10px;align-items:center;
	font-size:.8rem;line-height:1.35;color:var(--c-muted)}
.cx-ticket-fact .gi{grid-row:span 2;width:36px;height:36px;padding:8px;box-sizing:border-box;border-radius:50%;
	background:var(--c-foam);color:var(--c-brand)}
.cx-home-feat .cx-ticket-fact b{color:var(--c-ink);font-size:.95rem}
/* The stub: perforation + notches + the one action. */
/* The perforation is painted INTO the masked stub plate (below), not drawn as a border, so the notch
   cuts it too instead of a dash crossing the hole. */
.cx-ticket-stub{position:relative;display:flex;align-items:center;justify-content:center;
	padding:clamp(18px,2.6vw,30px)}
.cx-home-feat .btn.btn-cta.cx-ticket-cta{margin:0;align-self:center;gap:.6rem;min-height:52px;padding:0 1.5rem;border-radius:999px;background:var(--cx-primary-bg);
	color:var(--cx-primary-ink);border:0;box-shadow:none;filter:none;white-space:nowrap}
.cx-home-feat .btn.btn-cta.cx-ticket-cta:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink);filter:none}
.cx-home-feat .btn.btn-cta.cx-ticket-cta:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-ticket-cta .gi{width:18px;height:18px;transition:transform var(--cx-dur) var(--cx-ease)}
.cx-ticket-cta:hover .gi{transform:translateX(-3px)}
[dir="ltr"] .cx-ticket-cta:hover .gi{transform:scaleX(-1) translateX(-3px)}

/* Mini tickets. */
.cx-home-feat .ax-feat-list.cx-feat-list{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,1.6vw,16px)}
/* One masked plate (::before) per mini ticket; the stub has a FIXED size (--go across, --goh tall in
   the stand-up layout) so the plate knows where the perforation is. */
.cx-home-feat .ax-feat-row.cx-ticket-mini{--nr:9px;--go:74px;--goh:58px;position:relative;display:flex;align-items:center;gap:14px;min-height:96px;
	padding:12px 0;padding-inline-start:14px;border-radius:20px;background:none;border:0;
	box-shadow:none;filter:var(--cx-tkm-f);color:var(--c-ink);text-decoration:none;
	transition:transform var(--cx-dur) var(--cx-ease),filter var(--cx-dur) var(--cx-ease)}
.cx-home-feat .ax-feat-row.cx-ticket-mini:hover{transform:translateY(-2px);box-shadow:none;filter:var(--cx-tkm-f-hover)}
.cx-home-feat .ax-feat-row.cx-ticket-mini::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;
	background:repeating-linear-gradient(180deg,var(--c-line) 0 7px,transparent 7px 13px) left calc(var(--go) - 2px) top 0/2px 100% no-repeat,var(--c-card);
	--nx:calc(var(--go) - 1px);
	-webkit-mask:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 0/100% 50.5% no-repeat,
		radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 100%/100% 50.5% no-repeat;
	mask:radial-gradient(circle at var(--nx) 0,transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 0/100% 50.5% no-repeat,
		radial-gradient(circle at var(--nx) 100%,transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 100%/100% 50.5% no-repeat}
[dir="ltr"] .cx-home-feat .ax-feat-row.cx-ticket-mini::before{--nx:calc(100% - var(--go) + 1px);
	background:repeating-linear-gradient(180deg,var(--c-line) 0 7px,transparent 7px 13px) right calc(var(--go) - 2px) top 0/2px 100% no-repeat,var(--c-card)}
.cx-home-feat .ax-feat-row.cx-ticket-mini:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-home-feat .cx-ticket-mini .ax-feat-row-ava{width:58px;height:auto;aspect-ratio:4/5;border-radius:var(--cx-r-arch);object-fit:cover;
	background:var(--c-foam)}
.cx-home-feat .cx-ticket-mini .ax-feat-row-t{flex:1 1 auto;gap:4px}
.cx-home-feat .cx-ticket-mini .ax-feat-row-t strong{color:var(--c-ink);font-size:1rem}
.cx-home-feat .cx-ticket-mini .ax-feat-row-t span{color:var(--c-muted);font-size:.86rem}
/* Name and specialty·district WRAP (up to two lines each) at every width instead of the one-line
   ellipsis alex.css gives them: a doctor's name cut to "Dr. Noha El-Iskand…" is the one thing
   this card exists to show. */
.cx-home-feat .cx-ticket-mini .ax-feat-row-t strong,.cx-home-feat .cx-ticket-mini .ax-feat-row-t span{white-space:normal;overflow:hidden;
	text-overflow:clip;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.cx-home-feat .cx-ticket-mini .ax-feat-row-t strong{line-height:1.35}
.cx-ticket-mini-go{position:relative;box-sizing:border-box;flex:0 0 var(--go,74px);width:var(--go,74px);align-self:stretch;display:grid;place-items:center;margin-block:-12px;
	padding-inline:0}
.cx-home-feat .cx-ticket-mini .ax-feat-row-go{margin:0;width:40px;height:40px;padding:11px;box-sizing:border-box;border-radius:50%;
	background:var(--c-foam);color:var(--c-brand);transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.cx-home-feat .cx-ticket-mini:hover .ax-feat-row-go{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}

/* Small phones: a slimmer stub so the name keeps the width (the whole card is the link; the arrow
   is decoration, so it has no tap-target floor of its own). */
@media (max-width:399.98px){
	.cx-home-feat .ax-feat-row.cx-ticket-mini{--go:56px;gap:12px;padding-inline-start:12px}
	.cx-home-feat .cx-ticket-mini .ax-feat-row-go{width:34px;height:34px;padding:9px}
}
/* Stacked rows: a gap wide enough that the two notch holes facing each other read as two cuts, not
   one blob (see --cx-tkm-f above). */
@media (max-width:1079.98px){
	.cx-home-feat .ax-feat-list.cx-feat-list{row-gap:18px}
}
@media (min-width:720px){
	.cx-home-feat .ax-feat-list.cx-feat-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Wide: the mini tickets go four across and stand up — portrait + name on top, the perforation
   and the arrow stub along the bottom — so a 570px-wide row no longer has a 300px hole in the
   middle. Fewer than four doctors simply share the row (auto-fit). */
@media (min-width:1080px){
	.cx-home-feat .ax-feat-list.cx-feat-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
	.cx-home-feat .ax-feat-list.cx-feat-list>li{display:flex}
	.cx-home-feat .ax-feat-row.cx-ticket-mini{flex:1 1 auto;display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:1fr auto;
		align-items:center;column-gap:14px;min-height:0;padding:18px 18px 0}
	.cx-home-feat .cx-ticket-mini .ax-feat-row-ava{align-self:start}
	.cx-home-feat .cx-ticket-mini .ax-feat-row-t{align-self:center;min-width:0}
	.cx-ticket-mini-go{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;width:auto;height:var(--goh);margin:16px -18px 0;padding:0 12px;
		border:0}
	/* Stand-up: the perforation runs across, --goh above the bottom edge; notches at both sides. */
	.cx-home-feat .ax-feat-row.cx-ticket-mini::before,[dir="ltr"] .cx-home-feat .ax-feat-row.cx-ticket-mini::before{--ny:calc(100% - var(--goh) + 1px);
		background:repeating-linear-gradient(90deg,var(--c-line) 0 7px,transparent 7px 13px) left 0 bottom calc(var(--goh) - 2px)/100% 2px no-repeat,var(--c-card);
		-webkit-mask:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 0/50.5% 100% no-repeat,
			radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)) 100% 0/50.5% 100% no-repeat;
		mask:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)) 0 0/50.5% 100% no-repeat,
			radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)) 100% 0/50.5% 100% no-repeat}
}
/* Narrow: the lead ticket stacks; facts become a compact row; the stub runs across. */
@media (max-width:859.98px){
	.cx-home-feat .ax-feat-lead.cx-ticket{grid-template-columns:minmax(0,1fr)}
	.cx-ticket-main{grid-template-columns:minmax(0,1fr);gap:16px}
	.cx-home-feat .ax-feat-meta.cx-ticket-facts{flex-direction:row;flex-wrap:wrap;gap:12px 18px;min-width:0;
		padding-inline-start:0;padding-top:14px;border-inline-start:0;border-top:1px solid var(--c-line)}
	.cx-ticket-stub{justify-content:flex-start;padding-block:16px 18px}
	/* Stacked: the main plate runs --ov down under the stub; the perforation runs across. */
	.cx-home-feat .cx-ticket .cx-ticket-main::before,[dir="ltr"] .cx-home-feat .cx-ticket .cx-ticket-main::before{inset:0 0 calc(var(--ov) * -1);
		border-radius:var(--cx-r-card) var(--cx-r-card) 0 0;--ny:calc(100% - var(--ov));
		-webkit-mask-image:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px));
		mask-image:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px));
		-webkit-mask-size:50.5% 100%;mask-size:50.5% 100%;-webkit-mask-position:0 0,100% 0;mask-position:0 0,100% 0}
	.cx-home-feat .cx-ticket .cx-ticket-stub::before,[dir="ltr"] .cx-home-feat .cx-ticket .cx-ticket-stub::before{border-radius:0 0 var(--cx-r-card) var(--cx-r-card);--ny:1px;
		background:repeating-linear-gradient(90deg,var(--c-line) 0 7px,transparent 7px 13px) left 0 top 0/100% 2px no-repeat,var(--c-card);
		-webkit-mask-image:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px));
		mask-image:radial-gradient(circle at 0 var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px)),radial-gradient(circle at 100% var(--ny),transparent var(--nr),#000 calc(var(--nr) + .5px));
		-webkit-mask-size:50.5% 100%;mask-size:50.5% 100%;-webkit-mask-position:0 0,100% 0;mask-position:0 0,100% 0}
}
@media (max-width:480px){
	.cx-home-feat .ax-feat-lead-head.cx-ticket-id{align-items:flex-start}
	.cx-home-feat .ax-feat-ava.cx-ticket-ava{width:84px}
	.cx-ticket-fact{grid-template-columns:32px minmax(0,auto)}
	.cx-ticket-fact .gi{width:32px;height:32px;padding:7px}
}

/* -------------------------------------------------------------------------------------------------
   6. TRUST — "our word to you": one pledge card
   ------------------------------------------------------------------------------------------------- */
.cx-pledge{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,3vw,28px);
	padding:clamp(22px,4vw,48px);border-radius:var(--cx-r-card);background:var(--c-card);border:1px solid var(--cx-card-border);
	box-shadow:var(--cx-shadow-card);border-inline-start:6px solid var(--c-sea)}
.cx-pledge-head .h-sec{margin:0;font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight)}
.cx-pledge-sub{margin:.7rem 0 0;color:var(--c-muted);font-size:.98rem;line-height:1.7;max-width:34ch}
.cx-pledge-list{list-style:none;margin:0;padding:0;counter-reset:cxp;display:flex;flex-direction:column}
.cx-pledge-i{position:relative;counter-increment:cxp;padding:16px 0;padding-inline-start:56px;border-top:1px solid var(--c-line)}
.cx-pledge-i:first-child{border-top:0;padding-top:0}
.cx-pledge-i::before{content:counter(cxp);position:absolute;inset-inline-start:0;top:14px;display:grid;place-items:center;width:40px;height:44px;
	border-radius:999px 999px 10px 10px;background:var(--c-foam);color:var(--c-brand);font-size:1.15rem;font-weight:700}
.cx-pledge-i:first-child::before{top:-2px}
.cx-pledge-say{margin:0;color:var(--c-ink);font-size:var(--cx-fs-h3);font-weight:700;line-height:1.45}
.cx-pledge-why{margin:.4rem 0 0;color:var(--c-body);font-size:.96rem;line-height:1.8;max-width:60ch}
.cx-pledge-i .trust-note{margin:.2rem 0 0}
.cx-pledge-i .trust-note a{display:inline-flex;align-items:center;min-height:44px;color:var(--cx-link);font-weight:700;font-size:.9rem;
	text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.3em}
.cx-pledge-i .trust-note a:hover{color:var(--cx-link-hover)}
/* The corrections foot: dashed tear line, then one sentence ending on the link. */
.cx-home-trust .alex-corr.cx-pledge-foot{margin:0;padding-top:16px;border-top:2px dashed var(--c-line);color:var(--c-body);font-size:.94rem;line-height:1.8}
.cx-home-trust .alex-corr.cx-pledge-foot a{color:var(--cx-link);font-weight:700;padding-block:6px;display:inline-block}
@media (max-width:479.98px){
	.cx-pledge-i{padding-inline-start:46px}
	.cx-pledge-i::before{width:34px;height:38px;font-size:1rem}
}
@media (min-width:900px){
	.cx-pledge{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);column-gap:clamp(36px,5vw,72px)}
	.cx-pledge-head{position:sticky;top:calc(var(--nav-h,72px) + 24px);align-self:start}
	.cx-home-trust .alex-corr.cx-pledge-foot{grid-column:2}
}

/* -------------------------------------------------------------------------------------------------
   7. FAQ — the last stop: a station sign, a heading, one narrow numbered column
   ------------------------------------------------------------------------------------------------- */
.sec.cx-home-faq{padding-bottom:clamp(56px,8vw,112px)}
.cx-home-faq .cx-faq-wrap{max-width:820px}
.cx-home-faq .cx-faq-head{margin-bottom:clamp(18px,2.6vw,28px)}
.cx-faq-sign{margin:0 0 12px}
.cx-faq-sign span{display:inline-flex;align-items:center;gap:10px;min-height:34px;padding:0 16px 0 12px;border-radius:8px;
	background:var(--c-brand);color:#fff;font-size:.86rem;font-weight:700}
.cx-faq-sign span::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--c-card);box-shadow:0 0 0 3px var(--c-sea)}
.cx-home-faq .cx-faq-head .h-sec{margin:0}
.cx-home-faq .ax-faq.cx-faq-list{display:flex;flex-direction:column;gap:0;counter-reset:cxq;border-top:2px solid var(--c-ink)}
.cx-home-faq .ax-faq-i{position:relative;counter-increment:cxq;padding-inline:0;border:0;border-bottom:1px solid var(--c-line);border-radius:0;
	background:none;box-shadow:none}
.cx-home-faq .ax-faq-i>summary{min-height:64px;gap:14px;padding-block:14px;font-size:1.04rem;color:var(--c-ink)}
.cx-home-faq .ax-faq-i>summary::before{content:counter(cxq,decimal-leading-zero);flex:0 0 auto;min-width:2ch;color:var(--c-sea);font-weight:700;font-size:.9rem}
.cx-home-faq .ax-faq-i>summary:hover{color:var(--cx-link)}
.cx-home-faq .ax-faq-i>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:6px}
.cx-home-faq .ax-faq-i>summary::after{width:28px;height:28px;flex:0 0 28px;margin:0;margin-inline-start:auto;border:0;border-radius:50%;
	background-color:transparent;box-shadow:inset 0 0 0 1.5px var(--c-line);
	background-image:linear-gradient(var(--c-brand),var(--c-brand)),linear-gradient(var(--c-brand),var(--c-brand));
	background-size:10px 2px,2px 10px;background-position:center;background-repeat:no-repeat;
	transform:none;transition:transform var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-home-faq .ax-faq-i[open]>summary::after{transform:rotate(45deg);margin:0;margin-inline-start:auto;background-color:var(--c-foam);box-shadow:none}
.cx-home-faq .ax-faq-a{padding-bottom:20px;padding-inline-start:calc(2ch + 14px);color:var(--c-body);font-size:.97rem;line-height:1.85;max-width:64ch}

/* -------------------------------------------------------------------------------------------------
   8. FOR DOCTORS — navy panel, the lighthouse arch on the START side, a four-line offer
   ------------------------------------------------------------------------------------------------- */
.cx-home-docs .ax-docs-cta.cx-docs-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;
	gap:28px;padding:clamp(28px,5vw,60px);border-radius:32px 32px 32px 8px;
	background:
		radial-gradient(620px 380px at var(--cx-docs-glow,10%) 100%,rgba(46,155,214,.30),transparent 65%),
		var(--c-band);
	color:var(--c-on-band-2);box-shadow:var(--cx-shadow-pop)}
[dir="rtl"] .cx-home-docs .ax-docs-cta.cx-docs-panel{--cx-docs-glow:90%;border-radius:32px 32px 8px 32px}
:root[data-theme="dark"] .cx-home-docs .ax-docs-cta.cx-docs-panel{border:1px solid var(--c-on-band-line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-home-docs .ax-docs-cta.cx-docs-panel{border:1px solid var(--c-on-band-line)}}
.cx-home-docs .ax-docs-cta-t{flex:none;min-width:0}
.cx-home-docs .ax-docs-cta .cx-eyebrow{color:var(--c-sky)}
.cx-home-docs .ax-docs-cta .cx-eyebrow::before{background:var(--c-sky)}
.cx-home-docs .ax-docs-cta h2{color:var(--c-on-band);font-size:var(--cx-fs-h2);line-height:1.18;margin:0;text-wrap:balance}
/* The offer: four lines in a 2×2 grid, each on a hairline, no paragraph above them. */
.cx-docs-offer{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0 28px}
.cx-docs-offer>li{display:flex;align-items:center;gap:10px;min-height:46px;padding-block:8px;border-top:1px solid var(--c-on-band-line);
	color:var(--c-on-band);font-weight:700;font-size:.95rem;line-height:1.5}
.cx-docs-offer>li::before{content:"";flex:0 0 18px;width:18px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-docs-offer>li:last-child{font-weight:400;color:var(--c-on-band-2)}
@media (min-width:640px){.cx-docs-offer{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-home-docs .ax-docs-cta .btn.cx-pill.cx-docs-go{margin-top:26px;gap:.6rem;min-height:56px;padding:0 1.9rem;border:0;border-radius:999px;
	background:var(--c-sea);color:var(--c-ink-deep);font-size:1.02rem}
.cx-home-docs .ax-docs-cta .btn.cx-pill.cx-docs-go:hover{background:var(--c-sea-hi);color:var(--c-ink-deep);filter:none}
.cx-home-docs .ax-docs-cta .btn.cx-pill.cx-docs-go:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cx-docs-go .gi{transition:transform var(--cx-dur) var(--cx-ease)}
.cx-docs-go:hover .gi{transform:translateX(-3px)}
[dir="ltr"] .cx-docs-go:hover .gi{transform:scaleX(-1) translateX(-3px)}
/* The arch window with the lighthouse — first in the panel, so on the start side. */
.cx-docs-art{display:none}
@media (min-width:860px){
	.cx-home-docs .ax-docs-cta.cx-docs-panel{grid-template-columns:auto minmax(0,1fr);gap:clamp(36px,5vw,72px)}
	.cx-docs-art{position:relative;display:block;width:180px;height:230px;margin-inline-start:clamp(0px,1.5vw,18px)}
	.cx-docs-arch{position:absolute;inset:0;display:grid;place-items:center;border-radius:var(--cx-r-arch);
		background:linear-gradient(180deg,rgba(134,205,239,.16),rgba(134,205,239,.04));box-shadow:inset 0 0 0 2px rgba(134,205,239,.35);color:var(--c-sky)}
	.cx-docs-arch--back{inset:-18px -34px 28px 34px;background:none;box-shadow:inset 0 0 0 1.5px rgba(134,205,239,.18)}
	[dir="rtl"] .cx-docs-arch--back{inset:-18px 34px 28px -34px}
	.cx-docs-arch .gi{width:80px;height:80px}
}

/* -------------------------------------------------------------------------------------------------
   9. REDUCED MOTION
   ------------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
	.cx-hero-swell{animation:none}
	.cx-home-specs .ax-spec-card.cx-arch-tile,.cx-home-feat .ax-feat-row.cx-ticket-mini,.cx-home-faq .ax-faq-i>summary::after,
	.cx-home-coast .ax-coast-chip.cx-stn::before,.cx-arch-go,.cx-arch-all,.cx-ticket-cta .gi,.cx-docs-go .gi{transition:none}
	.cx-home-specs .ax-spec-card.cx-arch-tile:hover,.cx-home-feat .ax-feat-row.cx-ticket-mini:hover{transform:none}
	.cx-home-coast .ax-coast-chip.cx-stn:hover::before{transform:none}
}
/* Forced colours: the cut tickets have no painted box of their own (masked plates + drop-shadow
   outline), so give them a real system-colour border there. */
@media (forced-colors:active){
	.cx-home-feat .ax-feat-lead.cx-ticket,.cx-home-feat .ax-feat-row.cx-ticket-mini{border:1px solid CanvasText;filter:none}
}
/* =================================================================================================
   coast/30-search.css — the search form (hero card, /search/ console, listing bar + sheet), the
   searchable picker, the symptom wizard, the validation popup, the /search/ page and every
   listing (archive-doctors.php). Owner: SEARCH agent. Tokens come from 00-tokens.css.

   Specificity: alex.css styles this component with (0,1,0)–(0,3,1) selectors, several inside
   media queries. Everything here is scoped under `.cx-sf` (the form), `.cx-lst` (a listing),
   `.cx-srch` (/search/) or the dialog's own class, so it wins without !important except where
   alex.css itself used !important (the desktop dialog unwinding).

   Contents
     1. Form primitives: field tiles (caption inside the control), icons, chevrons, inputs
     2. Hero card: mode switch, sections, gender pills, submit
     3. /search/ console (page variant) + the /search/ page
     4. Listing bar (navy band) — desktop row, phone summary, change-search sheet
     5. Picker (popover / bottom sheet)
     6. Symptom wizard + validation popup
     7. Listing page: navy head band, toolbar, filter rail / bottom sheet, chips, list, pager,
        empty state, fallback, trailing content
     8. Dark-only adjustments, reduced motion, forced colours
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. FORM PRIMITIVES
   ------------------------------------------------------------------------------------------------- */
.cx-sf{--cx-tile-h:62px;--cx-tile-ico:36px;--cx-tile-pad:12px;
	--cx-tile-start:calc(var(--cx-tile-pad) + var(--cx-tile-ico) + 10px);
	--axp-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	font-family:var(--cx-font);color:var(--c-body)}
.cx-sf .axp-hs-num{display:none}

/* The field: a tile. Its <label> is a caption INSIDE the control's top edge — the siblings put
   a numbered label above a plain box; Coast reads as one object per answer. The caption is
   pointer-transparent, so a tap on it lands on the control under it (the picker's button or
   the native select / input) exactly as a click on a <label for> would. */
.cx-sf .axp-hs-fld{position:relative;gap:6px}
.cx-sf .axp-hs-fld>.axp-hs-l{position:absolute;z-index:2;top:10px;inset-inline-start:var(--cx-tile-start);
	inset-inline-end:42px;display:block;margin:0;pointer-events:none;
	font-size:.74rem;font-weight:700;line-height:1.25;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-sf .axp-hs-fld--q>.axp-hs-l{inset-inline-end:58px}
.cx-sf .cx-fld--plain>.axp-hs-l{inset-inline-start:16px}
.cx-sf .axp-hs-req{color:#B42318;margin-inline-start:1px}
.cx-sf .axp-hs-opt{font-weight:400;font-size:.72rem;color:var(--c-muted);margin-inline-start:2px}
/* The icon: a foam disc at the start of the tile. */
.cx-sf .axp-hs-ico{box-sizing:content-box;width:20px;height:20px;padding:8px;inset-inline-start:var(--cx-tile-pad);
	border-radius:50%;background:var(--c-foam);color:var(--c-brand);z-index:1;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-sf .axp-hs-selwrap:focus-within .axp-hs-ico,.cx-sf .axp-hs-inwrap:focus-within .axp-hs-ico,
.cx-sf .axp-hs-selwrap:has(.axp-pk-btn[aria-expanded="true"]) .axp-hs-ico{background:var(--c-sea);color:var(--c-ink-deep)}

/* The controls the tile wraps: the picker's button, the native select (no-JS) and text input. */
.cx-sf .axp-hs-selwrap select,.cx-sf .axp-hs-inwrap input,.cx-sf .axp-pk-btn{
	min-height:var(--cx-tile-h);border-radius:var(--cx-r-ctl);border:1px solid var(--c-field-line);
	background:var(--c-card);color:var(--c-ink);font-family:inherit;font-size:16px;
	padding-inline-start:var(--cx-tile-start);padding-inline-end:42px;
	transition:border-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-sf .axp-hs-selwrap select{padding-top:22px;padding-bottom:6px;font-weight:700}
.cx-sf .axp-hs-inwrap input{padding-top:22px;padding-bottom:6px;font-weight:700}
.cx-sf .axp-hs-inwrap input::placeholder{font-weight:400;color:var(--c-muted)}
/* dir="auto" field: symmetric physical inset while an end button is showing (see alex.css). */
.cx-sf .axp-hs-inwrap.has-end input{padding-left:var(--cx-tile-start);padding-right:var(--cx-tile-start)}
.cx-sf .axp-pk-btn{padding-top:24px;padding-bottom:7px;justify-content:center}
.cx-sf .cx-fld--plain .axp-pk-btn,.cx-sf .cx-fld--plain select{padding-inline-start:16px}
.cx-sf .axp-pk-v{font-weight:700;font-size:1rem;line-height:1.35}
.cx-sf .axp-pk-btn.is-ph .axp-pk-v{font-weight:400;color:var(--c-muted)}
.cx-sf .axp-pk-btn:not(:disabled):hover,.cx-sf .axp-hs-selwrap select:not(:disabled):hover,
.cx-sf .axp-hs-inwrap input:hover{border-color:var(--cx-link)}
.cx-sf .axp-pk-btn[aria-expanded="true"]{border-color:var(--c-brand);box-shadow:0 0 0 4px rgba(46,155,214,.22)}
.cx-sf .axp-pk-btn:focus-visible,.cx-sf .axp-hs-selwrap select:focus-visible,.cx-sf .axp-hs-inwrap input:focus-visible{
	outline:3px solid var(--cx-focus);outline-offset:2px;border-color:var(--c-brand)}
.cx-sf .axp-hs-inwrap input:focus{border-color:var(--c-brand);box-shadow:0 0 0 4px rgba(46,155,214,.18)}
.cx-sf .axp-pk-btn:disabled,.cx-sf .axp-hs-selwrap select:disabled{background:var(--c-foam-2);opacity:.9}
.cx-sf .axp-pk-btn[aria-invalid="true"],.cx-sf .axp-pk-btn[aria-invalid="true"]:not(:disabled):hover,
.cx-sf .axp-pk-btn[aria-invalid="true"]:focus-visible,.cx-sf select[aria-invalid="true"]{
	border-color:#B42318;background:#FFF5F5;box-shadow:0 0 0 1px #B42318}
.cx-sf .axp-hs-err{font-size:.8rem;color:#B42318;padding-inline-start:4px}
.cx-sf .axp-hs-err::before{background:#B42318}

/* The chevron: a small disc at the end, turning when the picker is open. */
.cx-sf .axp-hs-selwrap::after{inset-inline-end:14px;width:14px;height:14px;background-color:var(--c-muted);
	-webkit-mask:var(--axp-chev) center/14px 14px no-repeat;mask:var(--axp-chev) center/14px 14px no-repeat;
	transition:transform var(--cx-dur) var(--cx-ease)}
.cx-sf .axp-hs-selwrap:hover::after{background-color:var(--cx-link)}
.cx-sf .axp-hs-selwrap:has(.axp-pk-btn[aria-expanded="true"])::after{transform:rotate(180deg);background-color:var(--cx-link)}

/* Clear / microphone: a round button at the end of the text tile. */
.cx-sf .axp-hs-mic,.cx-sf .axp-hs-clear{inset-inline-end:10px;width:40px;height:40px;border-radius:50%;
	border:0;background:var(--c-foam);color:var(--c-brand)}
.cx-sf .axp-hs-mic:hover,.cx-sf .axp-hs-clear:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-sf .axp-hs-mic:focus-visible,.cx-sf .axp-hs-clear:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf .axp-hs-mic.is-rec{background:#C0392B;color:#fff}

/* Gender: separate pills under a caption (the siblings' joined black segment bar is gone). Once
   alex-search-form.js has run (`.cx-seg2`), "any" is the state of having chosen neither, so only
   the two real choices are drawn — a second press on the chosen one turns it off. */
.axp-hs-seg.cx-seg2 input[value=""],.axp-hs-seg.cx-seg2 input[value=""] + label{display:none}
.cx-sf .axp-hs-gender{gap:8px}
.cx-sf .axp-hs-gender>legend.axp-hs-l{position:static;float:inline-start;width:100%;inset:auto;pointer-events:auto;
	font-size:.8rem;color:var(--c-ink);padding:0;margin:0}
.cx-sf .axp-hs-seg{display:flex;flex-wrap:wrap;gap:8px;border:0;border-radius:0;background:transparent;overflow:visible}
.cx-sf .axp-hs-seg label{flex:1 1 0;min-width:72px;min-height:46px;padding:0 14px;border-radius:999px;
	border:1px solid var(--c-field-line);background:var(--c-card);color:var(--c-body);font-size:.92rem;font-weight:700;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.cx-sf .axp-hs-seg label + input + label{border-inline-start:1px solid var(--c-field-line)}
.cx-sf .axp-hs-seg label:hover{border-color:var(--cx-link);color:var(--cx-link)}
.cx-sf .axp-hs-seg input:checked + label{background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.cx-sf .axp-hs-seg input:checked + label::before{content:"";width:14px;height:14px;margin-inline-end:6px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.cx-sf .axp-hs-seg input:focus-visible + label{outline:3px solid var(--cx-focus);outline-offset:2px}

/* "More details — optional": a quiet wave-marked caption, not a numbered dashed divider. */
.cx-sf .axp-hs-sep{gap:10px;margin:4px 0 0;font-size:.82rem;color:var(--c-ink)}
.cx-sf .axp-hs-sep::before{content:"";flex:0 0 22px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-sf .axp-hs-sep::after{border-top:1px solid var(--c-line)}

/* The doctor-name suggestions. */
.cx-sf .axp-hs-list{border-radius:18px;border:1px solid var(--c-line);background:var(--c-card);padding:6px;
	box-shadow:var(--cx-shadow-pop)}
.cx-sf .axp-hs-list li{border-radius:12px;color:var(--c-ink)}
.cx-sf .axp-hs-list li:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-sf .axp-hs-list li.is-on{background:var(--c-foam);color:var(--cx-link);border-inline-start:3px solid var(--c-sea)}
.cx-sf .axp-hs-s-k{background:var(--c-foam);color:var(--cx-chip-ink)}
.cx-sf .axp-hs-list li.is-on .axp-hs-s-k{background:var(--c-card)}

/* The "unwell but not sure who to see?" helper: a speech bubble — one tucked corner and a small
   tail at the start — that the patient answers, not the siblings' dashed AI box with a sparkle tile. */
.cx-sf .axp-hs-ai{position:relative;min-height:58px;padding:10px 12px;gap:12px;border:0;border-radius:20px;border-start-start-radius:6px;
	background:var(--c-foam);box-shadow:none;margin-top:8px}
.cx-sf .axp-hs-ai::before{content:"";position:absolute;top:-7px;inset-inline-start:0;width:16px;height:8px;background:var(--c-foam);
	clip-path:polygon(0 100%,0 0,100% 100%)}
[dir="rtl"] .cx-sf .axp-hs-ai::before{clip-path:polygon(100% 100%,100% 0,0 100%)}
.cx-sf .axp-hs-ai:hover{border:0;box-shadow:inset 0 0 0 1px var(--c-sea);background:var(--c-foam)}
.cx-sf .axp-hs-ai:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf .axp-hs-ai-ic{width:40px;height:44px;border-radius:var(--cx-r-arch);background:var(--c-card);color:var(--c-brand);box-shadow:none}
.cx-sf .axp-hs-ai-t b{font-size:.92rem;color:var(--c-ink)}
.cx-sf .axp-hs-ai-t span{font-size:.78rem;color:var(--c-body);line-height:1.5}
.cx-sf .axp-hs-ai-go{width:44px;height:44px;border:0;border-radius:999px;background:var(--c-sea);color:var(--c-ink-deep);box-shadow:none}

/* Submit: a full pill. Brand on a light card; sea with deep ink on navy (bar). */
.cx-sf .axp-hs-go{position:relative;min-height:54px;padding-inline:28px;border-radius:999px;border:0;
	background:var(--cx-primary-bg);color:var(--cx-primary-ink);font-family:inherit;font-weight:700;font-size:1.02rem;
	box-shadow:0 8px 20px rgba(19,74,142,.22);filter:none;
	transition:background-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-sf .axp-hs-go:hover{background:var(--cx-primary-hover);filter:none}
.cx-sf .axp-hs-go:active{transform:translateY(1px)}
.cx-sf .axp-hs-go:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-sf .axp-hs-go svg{flex:0 0 auto}

/* Hint / advanced link. */
.cx-sf .axp-hs-more{color:var(--cx-link);font-weight:700;text-decoration:none;gap:.45rem}
.cx-sf .axp-hs-more:hover{color:var(--cx-link-hover);text-decoration:underline;text-underline-offset:.25em}
.cx-sf .axp-hs-hint{color:var(--c-muted);font-size:.82rem}

/* -------------------------------------------------------------------------------------------------
   2. HERO CARD (home) — a white floating card, self-contained so the home band only places it.
      Inside it: two text tabs, the question as a SENTENCE (stepped card under 760px), and a
      closing row — preferences (if you like) · more detail · a round sea submit.
   ------------------------------------------------------------------------------------------------- */
.cx-sf--hero{gap:18px;min-width:280px;padding:clamp(18px,2.6vw,28px);border-radius:28px;background:var(--c-card);
	border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop);text-align:start;container-type:inline-size}

/* The two ways in, as TEXT TABS on a hairline ("by specialty" | "by symptoms"), the current one
   underlined in sea. Shown only once the script has revealed the in-form helper — the condition
   under which the wizard can open. Where it shows, that helper steps aside (the tab, the picker's
   footer and the validation popup are its entry points); where :has() is unsupported, the helper
   stays and the tabs stay hidden. */
.cx-sf-mode{display:none}
.cx-sf--hero:has(.axp-hs-ai:not([hidden])) .cx-sf-mode{display:flex;align-items:stretch;gap:clamp(16px,4cqi,28px);
	margin-top:-6px;border-bottom:1px solid var(--c-line)}
.cx-sf--hero:has(.axp-hs-ai:not([hidden]))>.axp-hs-ai{display:none}
.cx-sf-mode-i{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:46px;min-width:0;padding:0 2px;margin:0;
	border:0;border-radius:0;background:transparent;color:var(--c-muted);font:inherit;font-size:.92rem;font-weight:700;line-height:1.25}
.cx-sf-mode-i.is-on{color:var(--c-ink)}
.cx-sf-mode-i.is-on::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--c-sea)}
.cx-sf-mode-ai{cursor:pointer;transition:color var(--cx-dur) var(--cx-ease)}
.cx-sf-mode-ai:hover{color:var(--cx-link)}
.cx-sf-mode-ai:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:8px}
.cx-sf-mode-mic{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--c-foam);color:var(--c-brand)}
.cx-sf-mode-ai:hover .cx-sf-mode-mic{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-sf-mode-mic svg{width:14px;height:14px}

/* Visually hidden, still in the accessibility tree. */
.cx-sf .cx-sf-sep-sr{position:absolute!important;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* -------------------------------------------------------------------------------------------------
   2a. THE SENTENCE — shared by the hero and the listing's editor.
       Phones (< 760px): a stepped card. Each question is a stop on a dashed sea tram line — a ring
       that fills once answered — with its own one-line caption and ONE tappable value row.
       Wider: one sentence, the pickers sitting in it as underlined words.
   ------------------------------------------------------------------------------------------------- */
.cx-sf .cx-sn{display:flex;flex-direction:column;gap:0;min-width:0}
.cx-sf .cx-sn-step{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 8px;min-width:0;
	padding-inline-start:34px;padding-bottom:16px}
/* The station ring, and the dashed line down to the next stop. */
.cx-sf .cx-sn-step::before,.cx-sf .cx-sf-prefs::before{content:"";position:absolute;z-index:1;top:1px;inset-inline-start:2px;width:18px;height:18px;
	box-sizing:border-box;border-radius:50%;border:3px solid var(--c-sea);background:var(--c-card);
	transition:background-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-sf .cx-sn-step::after{content:"";position:absolute;top:22px;bottom:-2px;inset-inline-start:10px;width:2px;
	background:linear-gradient(var(--c-sea) 55%,transparent 0) 0 0/2px 8px repeat-y;opacity:.7}
.cx-sf .cx-sn-step--what:has(.axp-hs-fld--spec :is(.axp-pk-btn:not(.is-ph),select:valid))::before,
.cx-sf .cx-sn-step--where:has(.axp-hs-fld--area :is(.axp-pk-btn:not(.is-ph),select:valid))::before{background:var(--c-sea);box-shadow:inset 0 0 0 3px var(--c-card)}
.cx-sf .cx-sn-cap{flex:1 0 100%;margin:0 0 8px;font-size:.86rem;font-weight:700;line-height:1.35;color:var(--c-ink)}
.cx-sf .cx-sn-w{display:none}
.cx-sf .cx-sn .axp-hs-fld{flex:1 1 100%;gap:0}
/* Labels name the controls for assistive tech (the picker makes them the button's name); the
   caption or the sentence words carry them visually. */
.cx-sf .cx-sn .axp-hs-fld>.axp-hs-l{position:absolute;width:1px;height:1px;inset:auto;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);
	clip-path:inset(50%);white-space:nowrap}
.cx-sf .cx-sn .axp-pk-k{display:none}
.cx-sf .cx-sn :is(.axp-pk-btn,.axp-hs-selwrap select){min-height:56px;padding-block:8px;padding-inline:16px 40px;border:1px solid transparent;
	border-radius:16px;background:var(--c-foam-2);color:var(--c-ink);font-size:1.04rem;font-weight:700;box-shadow:none}
.cx-sf .cx-sn .axp-pk-btn{justify-content:center}
.cx-sf .cx-sn .axp-pk-v{font-size:1.04rem;font-weight:700}
.cx-sf .cx-sn .axp-pk-btn.is-ph .axp-pk-v{font-weight:400;color:var(--c-muted)}
.cx-sf .cx-sn :is(.axp-pk-btn,.axp-hs-selwrap select):not(:disabled):hover{border-color:var(--c-sea);background:var(--c-foam)}
.cx-sf .cx-sn .axp-pk-btn[aria-expanded="true"]{border-color:var(--c-sea);background:var(--c-foam);box-shadow:none}
.cx-sf .cx-sn .axp-hs-selwrap::after{inset-inline-end:16px;background-color:var(--c-brand)}
/* The governorate: a small underlined word under the district row ("Governorate: Alexandria ▾"). */
.cx-sf .cx-sn .axp-hs-fld--gov{flex:0 1 auto;flex-direction:row;align-items:center;gap:6px;margin-top:6px}
.cx-sf .cx-sn .axp-hs-fld--gov>.axp-hs-l{position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;
	font-size:.8rem;font-weight:700;color:var(--c-muted)}
.cx-sf .cx-sn .axp-hs-fld--gov>.axp-hs-l::after{content:":"}
.cx-sf .cx-sn .axp-hs-fld--gov :is(.axp-pk-btn,.axp-hs-selwrap select){width:auto;min-height:40px;padding:4px 22px 4px 2px;padding-inline:2px 22px;
	border:0;border-bottom:2px dashed var(--c-sea);border-radius:0;background:transparent;font-size:.92rem}
.cx-sf .cx-sn .axp-hs-fld--gov .axp-pk-v{font-size:.92rem;color:var(--cx-link)}
.cx-sf .cx-sn .axp-hs-fld--gov :is(.axp-pk-btn,.axp-hs-selwrap select):not(:disabled):hover{background:transparent;border-bottom-style:solid;border-color:var(--c-sea)}
.cx-sf .cx-sn .axp-hs-fld--gov .axp-hs-selwrap::after{inset-inline-end:2px;width:12px;height:12px;-webkit-mask-size:12px 12px;mask-size:12px 12px}
.cx-sf .cx-sn .axp-hs-err{margin-top:6px}

/* The preferences disclosure: the last stop on the line, a ring that is never filled. */
.cx-sf .cx-sf-prefs{position:relative;display:block;min-width:0;margin:0;padding:0;padding-inline-start:34px;border:0}
.cx-sf .cx-sf-prefs::before{border-style:dashed;border-width:2px}
.cx-sf .cx-sf-prefs>summary{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:44px;margin-top:-13px;list-style:none;cursor:pointer;
	font-size:.92rem;font-weight:700;color:var(--c-ink);border-radius:10px}
.cx-sf .cx-sf-prefs>summary::-webkit-details-marker{display:none}
.cx-sf .cx-sf-prefs>summary:hover{color:var(--cx-link)}
.cx-sf .cx-sf-prefs>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf .cx-sf-prefs-ic{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--c-foam);color:var(--c-brand);
	transition:transform var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-sf .cx-sf-prefs[open] .cx-sf-prefs-ic{transform:rotate(45deg);background:var(--c-sea);color:var(--c-ink-deep)}
.cx-sf .cx-sf-prefs .axp-hs-opt,.cx-sf .cx-sn .axp-hs-opt{font-size:.82rem;font-weight:400;color:var(--c-muted);margin:0}
.cx-sf .cx-sf-prefs .cx-opt-strong{font-weight:700;color:var(--c-body)}
.cx-sf .cx-sf-prefs-b{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:10px 0 4px}
.cx-sf .cx-sf-prefs .axp-hs-fld>.axp-hs-l,.cx-sf .cx-sf-prefs .axp-hs-gender>legend.axp-hs-l{position:static;width:auto;height:auto;inset:auto;overflow:visible;
	clip:auto;clip-path:none;white-space:normal;pointer-events:auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0 0 8px;padding:0;
	font-size:.86rem;font-weight:700;line-height:1.4;color:var(--c-ink)}
.cx-sf .cx-sf-prefs .axp-hs-gender{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 12px}
.cx-sf .cx-sf-prefs .axp-hs-gender>legend.axp-hs-l{float:inline-start;width:100%;margin:0}
.cx-sf .cx-sf-prefs .axp-hs-seg{flex-wrap:nowrap;gap:8px}
.cx-sf .cx-sf-prefs .axp-hs-seg label{flex:0 1 auto;min-width:0;min-height:44px;padding:0 18px;border-radius:12px;font-size:.9rem}
.cx-sf .cx-sf-prefs .axp-hs-inwrap input{min-height:52px;padding-block:0;padding-inline:16px;border-radius:14px;background:var(--c-foam-2);
	border-color:transparent;font-weight:700}
.cx-sf .cx-sf-prefs .axp-hs-inwrap input:hover{border-color:var(--c-sea)}
.cx-sf .cx-sf-prefs .axp-hs-inwrap input:focus{background:var(--c-card)}
.cx-sf .cx-sf-prefs .axp-hs-inwrap.has-end input{padding-left:56px;padding-right:56px}

/* The closing row: preferences · more detail · submit, in reading order, wrapping as needed. */
.cx-sf-act{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;min-width:0}
.cx-sf-act>.cx-sf-prefs{flex:1 1 100%}
.cx-sf-act>.axp-hs-foot{flex:0 1 auto;justify-content:flex-start;margin:0}
.cx-sf .axp-hs-more{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.88rem}
.cx-sf .axp-hs-more svg{flex:0 0 auto;color:var(--c-brand)}
.cx-sf-act>.cx-sf-go{flex:1 1 100%;margin-top:6px}
.cx-sf .cx-sf-go{min-height:58px;padding-inline:28px 62px;font-size:1.06rem}
.cx-sf-go-arrow{position:absolute;inset-inline-end:7px;top:50%;margin-top:-22px;display:grid;place-items:center;
	width:44px;height:44px;border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep);
	transition:transform var(--cx-dur) var(--cx-ease)}
.cx-sf-go-arrow svg{width:20px;height:20px}
[dir="ltr"] .cx-sf-go-arrow svg{transform:scaleX(-1)}
.cx-sf .axp-hs-go:hover .cx-sf-go-arrow{transform:translateX(-3px)}
[dir="ltr"] .cx-sf .axp-hs-go:hover .cx-sf-go-arrow{transform:translateX(3px)}

/* ---- 760px and wider: the sentence ------------------------------------------------------------ */
@media (min-width:760px){
	.cx-sf .cx-sn{gap:10px}
	.cx-sf .cx-sn-step{flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding:0;
		font-size:clamp(1.3rem,1rem + .9vw,1.62rem);font-weight:700;line-height:1.5;color:var(--c-ink)}
	.cx-sf .cx-sn-step::before,.cx-sf .cx-sn-step::after{display:none}
	.cx-sf .cx-sn-cap{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	.cx-sf .cx-sn-step--what>.cx-sn-cap{display:none}
	.cx-sf .cx-sn-w{display:inline}
	.cx-sf .cx-sn-w--comma{margin-inline-start:-10px}
	/* The comma belongs to the district word, not to the gap after its chevron: once a district
	   is chosen it is drawn right after the word (inside the token, in sentence ink) and the
	   free-standing one — which sat after the chevron and read as "Agami ⌄ ," — steps aside. */
	.cx-sf .cx-sn .axp-hs-fld--area .axp-pk-btn:not(.is-ph) .axp-pk-v::after{content:",";color:var(--c-ink);font-weight:700}
	[dir="rtl"] .cx-sf .cx-sn .axp-hs-fld--area .axp-pk-btn:not(.is-ph) .axp-pk-v::after{content:"،"}
	.cx-sf .cx-sn-step--where:has(.axp-hs-fld--area .axp-pk-btn:not(.is-ph)) .cx-sn-w--comma{display:none}
	.cx-sf .cx-sn .axp-hs-fld,.cx-sf .cx-sn .axp-hs-fld--gov{position:relative;display:inline-flex;flex:0 1 auto;flex-direction:column;max-width:100%;min-width:0;margin:0}
	.cx-sf .cx-sn .axp-hs-fld--gov>.axp-hs-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	.cx-sf .cx-sn .axp-hs-selwrap{display:inline-flex;max-width:100%}
	/* The token: an underlined word in the sentence, sea dashes under it, chevron at its end. */
	.cx-sf .cx-sn :is(.axp-pk-btn,.axp-hs-selwrap select),.cx-sf .cx-sn .axp-hs-fld--gov :is(.axp-pk-btn,.axp-hs-selwrap select){
		width:auto;max-width:100%;min-height:0;padding:0 0 3px;padding-inline:2px 26px;border:0;border-bottom:3px dashed var(--c-sea);border-radius:4px 4px 0 0;
		background:transparent;font-size:inherit;line-height:1.4;color:var(--cx-link)}
	.cx-sf .cx-sn .axp-pk-v,.cx-sf .cx-sn .axp-hs-fld--gov .axp-pk-v{font-size:inherit;font-weight:800;color:var(--cx-link)}
	.cx-sf .cx-sn .axp-pk-btn.is-ph .axp-pk-v{font-weight:700;color:var(--c-muted)}
	.cx-sf .cx-sn .axp-hs-fld--gov .axp-pk-v,.cx-sf .cx-sn .axp-hs-fld--gov select{font-size:.86em}
	.cx-sf .cx-sn :is(.axp-pk-btn,.axp-hs-selwrap select):not(:disabled):hover,
	.cx-sf .cx-sn .axp-pk-btn[aria-expanded="true"]{border-bottom-style:solid;border-color:var(--c-sea);background:var(--c-foam);box-shadow:none}
	.cx-sf .cx-sn .axp-hs-selwrap::after,.cx-sf .cx-sn .axp-hs-fld--gov .axp-hs-selwrap::after{inset-inline-end:3px;top:auto;bottom:calc(.7em - 4px);width:16px;height:16px;
		background-color:var(--c-sea);-webkit-mask-size:16px 16px;mask-size:16px 16px}
	.cx-sf .cx-sn :is(.axp-pk-btn,select):focus-visible{outline:3px solid var(--cx-focus);outline-offset:4px;border-radius:6px}
	/* An unanswered required word, after a submit: red dashes, a pale wash, and the error as a
	   small tag under the word rather than a line that would break the sentence. */
	.cx-sf .cx-sn .axp-pk-btn[aria-invalid="true"],.cx-sf .cx-sn .axp-pk-btn[aria-invalid="true"]:not(:disabled):hover,
	.cx-sf .cx-sn .axp-pk-btn[aria-invalid="true"]:focus-visible,.cx-sf .cx-sn select[aria-invalid="true"]{
		border-bottom:3px solid #B42318;background:#FFF5F5;box-shadow:none}
	.cx-sf .cx-sn .axp-hs-err{position:absolute;z-index:3;top:100%;inset-inline-start:0;margin:6px 0 0;padding:3px 10px;border-radius:999px;
		background:#FFF5F5;white-space:nowrap;font-size:.74rem;line-height:1.4;box-shadow:0 4px 12px rgba(6,26,51,.12)}
	.cx-sf .cx-sn .axp-hs-err::before{display:none}
	.cx-sf .cx-sn-step--where{margin-bottom:6px}
	.cx-sf .cx-sn-step:has(.axp-hs-fld.is-invalid){margin-bottom:26px}

	/* The closing row on one line: preferences and "more detail" at the start, the round sea
	   submit at the end. An open disclosure takes the whole row; the rest wrap under it. */
	.cx-sf-act{gap:4px 22px;padding-top:16px;border-top:1px solid var(--c-line)}
	.cx-sf-act>.cx-sf-prefs{flex:0 1 auto}
	.cx-sf .cx-sf-prefs{padding-inline-start:0}
	.cx-sf .cx-sf-prefs::before{display:none}
	.cx-sf .cx-sf-prefs>summary{margin-top:0}
	.cx-sf-act>.cx-sf-prefs[open]{flex-basis:100%}
	.cx-sf-act>.cx-sf-prefs[open] .cx-sf-prefs-b{gap:16px;padding:12px 0 8px}
	.cx-sf .cx-sf-prefs .axp-hs-gender{flex-wrap:nowrap}
	.cx-sf .cx-sf-prefs .axp-hs-gender>legend.axp-hs-l{float:none;width:auto;flex:1 1 auto}
	.cx-sf-act>.cx-sf-go{flex:0 0 auto;width:64px;height:64px;min-height:0;margin:0;margin-inline-start:auto;padding:0;border-radius:50%;
		background:var(--c-sea);color:var(--c-ink-deep);box-shadow:0 10px 24px rgba(46,155,214,.35)}
	.cx-sf-act>.cx-sf-go:hover{background:var(--c-sea-hi)}
	.cx-sf-act>.cx-sf-go .axp-hs-go-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	.cx-sf-act>.cx-sf-go .cx-sf-go-arrow{position:static;margin:0;width:auto;height:auto;background:transparent;color:inherit}
	.cx-sf-act>.cx-sf-go .cx-sf-go-arrow svg{width:26px;height:26px}
}

/* -------------------------------------------------------------------------------------------------
   3. /search/ — the console (page variant) and the page around it
   ------------------------------------------------------------------------------------------------- */
.cx-srch.sec-search{padding-top:0;padding-bottom:var(--cx-sec-y)}
.cx-srch-hero{--cx-band-next:var(--c-page);padding-block:clamp(14px,2.4vw,22px) calc(var(--cx-wave-h) + clamp(84px,9vw,112px))}
.cx-srch-hero .wrap{position:relative}
.cx-srch-hero::before{content:"";position:absolute;z-index:-1;inset-block:0;inset-inline-end:0;width:min(46vw,560px);pointer-events:none;
	background:radial-gradient(60% 70% at 70% 30%,rgba(46,155,214,.22),transparent 70%)}
.cx-srch-head.sec-wash{margin:0;max-width:760px}
.cx-srch-head .h-sec{font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);color:var(--c-on-band);margin:0 0 .7rem}
.cx-srch-head .sub-sec{color:var(--c-on-band-2);font-size:var(--cx-fs-lead);line-height:1.75;max-width:60ch;margin:0}
.cx-srch-head .eyebrow{color:var(--c-sky)}
.cx-srch-head .eyebrow::before{background:var(--c-sky)}

/* Crumbs on any navy band of this file (search + listings). */
.cx-srch-hero .crumbs,.cx-lst-hero .crumbs{color:var(--c-on-band-3);margin-bottom:clamp(14px,2vw,22px)}
.cx-srch-hero .crumbs a,.cx-lst-hero .crumbs a{color:var(--c-sky)}
.cx-srch-hero .crumbs a:hover,.cx-lst-hero .crumbs a:hover{color:#fff}
.cx-srch-hero .crumb-sep,.cx-lst-hero .crumb-sep{color:var(--c-sea-hi)}
.cx-srch-hero .crumb-cur,.cx-lst-hero .crumb-cur{color:var(--c-on-band-2)}

/* The console rises over the band's wave. */
.cx-srch-panel.search-panel{position:relative;z-index:2;margin-top:calc(-1 * clamp(84px,9vw,112px));padding:clamp(12px,2.8vw,28px);
	border-radius:28px;border:1px solid var(--cx-card-border);background:var(--c-card);box-shadow:var(--cx-shadow-pop)}
/* The console: three themed cards — WHAT · WHERE side by side on a wide screen, EXTRAS under
   them across the full width (gender, then the refiners revealed on demand, the "when" flags and
   the submit). Tree order of the controls is unchanged. */
.cx-sf--page{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;container-type:inline-size}
@media (min-width:900px){
	.cx-sf--page{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:stretch}
	.cx-sf--page>.cx-pg-extra,.cx-sf--page>.axp-hs-hint{grid-column:1/-1}
}
.cx-sf--page .cx-pg-card{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0;padding:clamp(12px,2vw,18px);
	border-radius:22px;background:var(--c-foam-2);border:1px solid var(--c-line)}
.cx-sf--page .cx-pg-what{background:var(--c-band);border-color:transparent}
.cx-sf--page .cx-pg-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0;font-size:.84rem;line-height:1.4;color:var(--c-muted)}
.cx-sf--page .cx-pg-h b{font-size:1.2rem;line-height:1.2;color:var(--c-ink)}
.cx-sf--page .cx-pg-what .cx-pg-h{color:var(--c-on-band-2)}
.cx-sf--page .cx-pg-what .cx-pg-h b{color:var(--c-on-band)}
.cx-sf--page .axp-hs-bar.cx-pg-what,.cx-sf--page .axp-hs-row.cx-pg-where{display:flex;grid-template-columns:none}
.cx-sf--page .axp-hs-fld--q .axp-hs-inwrap input{min-height:66px;font-size:17px}
.cx-sf--page .cx-pg-what .axp-hs-fld--q>.axp-hs-l{color:var(--c-muted)}
.cx-sf--page .axp-hs-ai--page{margin-top:10px}
.cx-sf--page .cx-pg-what .axp-hs-ai{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px var(--c-on-band-line)}
.cx-sf--page .cx-pg-what .axp-hs-ai::before{background:rgba(255,255,255,.08)}
/* The sparkle arch inside the navy card: one navy-on-navy token in BOTH themes (it was --c-card —
   white in light, navy in dark). */
.cx-sf--page .cx-pg-what .axp-hs-ai-ic{background:var(--c-band-2);color:var(--c-sea-hi);box-shadow:inset 0 0 0 1px var(--c-on-band-line)}
.cx-sf--page .cx-pg-what .axp-hs-ai-t b{color:var(--c-on-band)}
.cx-sf--page .cx-pg-what .axp-hs-ai-t span{color:var(--c-on-band-2)}
.cx-sf--page .cx-pg-what .axp-hs-ai:hover{box-shadow:inset 0 0 0 1px var(--c-sea)}
/* The extras card is a plain block: as a flex column it left the refiner cards (size containers
   inside the fieldset) laid out at zero width in Chromium. */
.cx-sf--page .cx-pg-card.cx-pg-extra{display:block}
.cx-sf--page .cx-pg-extra>.cx-pg-h{margin-bottom:12px}
.cx-sf--page .cx-pg-extra>.axp-hs-gender{padding-bottom:4px;margin-bottom:14px}
/* PHONE: the three cards read as STEP CARDS on one coast line — a station arch before each question
   (filled sea with a tick once that step is answered), a dashed sea link between the cards, and
   the "where" card folded to a one-line summary + "change" once a district is chosen (.is-folded
   and .cx-pg-sum come from alex-search-form.js; the selects stay in the form and still submit).
   Wider screens keep the side-by-side console and never show the summary. */
.cx-pg-sum{display:none}
@media (max-width:719px){
	.cx-sf--page{gap:20px}
	.cx-sf--page .cx-pg-card{position:relative}
	.cx-sf--page .cx-pg-card+.cx-pg-card::before{content:"";position:absolute;bottom:calc(100% + 1px);inset-inline-start:22px;width:2px;height:20px;
		background:linear-gradient(var(--c-sea) 55%,transparent 0) 0 0/2px 7px repeat-y;opacity:.75;pointer-events:none}
	.cx-sf--page .cx-pg-h::before{content:"";align-self:center;flex:0 0 22px;width:22px;height:26px;margin-inline-end:2px;box-sizing:border-box;
		border-radius:999px 999px 7px 7px;border:2px solid var(--c-field-line);background:var(--c-card) center/14px no-repeat}
	.cx-sf--page .cx-pg-what .cx-pg-h::before{border-color:var(--c-on-band-3);background-color:var(--c-band)}
	.cx-sf--page .cx-pg-what:has(#hs-q:not(:placeholder-shown)) .cx-pg-h::before,
	.cx-sf--page .cx-pg-where:has(#hs-area option:checked:not([value=""])) .cx-pg-h::before,
	.cx-sf--page .cx-pg-where.is-folded .cx-pg-h::before,
	.cx-sf--page .cx-pg-extra:has(:is(input[name="gender"]:not([value=""]),.axp-hs-check input):checked) .cx-pg-h::before{
		border-color:var(--c-sea);background-color:var(--c-sea);
		background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304202F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
	/* "Where?", answered: the question, then "العجمي، الإسكندرية" and a change pill. */
	.cx-sf--page .cx-pg-where.is-folded{gap:8px}
	.cx-sf--page .cx-pg-where.is-folded>.axp-hs-fld{display:none}
	.cx-sf--page .cx-pg-sum:not([hidden]){display:flex;align-items:center;gap:12px;min-width:0;padding:8px 8px 8px 14px;padding-inline:14px 8px;
		border-radius:18px;background:var(--c-card);border:1px solid var(--c-line)}
	.cx-sf--page .cx-pg-sum-v{flex:1 1 auto;min-width:0;margin:0;font-size:1.04rem;font-weight:800;line-height:1.35;color:var(--c-ink);overflow-wrap:anywhere}
	.cx-sf--page .cx-pg-sum-edit{flex:0 0 auto;min-height:44px;min-width:44px;margin:0;padding:0 18px;border:1px solid var(--c-field-line);border-radius:999px;
		background:var(--c-foam-2);color:var(--cx-link);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
	.cx-sf--page .cx-pg-sum-edit:hover{border-color:var(--c-sea);background:var(--c-foam)}
	.cx-sf--page .cx-pg-sum-edit:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
}
@media (max-width:719px) and (forced-colors:active){
	.cx-sf--page .cx-pg-h::before{forced-color-adjust:none;border-color:CanvasText;background-color:Canvas}
}
/* "Narrow the results" sits inside the extras card — no second panel. */
.cx-sf--page .axp-hs-adv{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.cx-sf--page .axp-hs-adv-l{float:inline-start;width:100%;display:flex;align-items:center;gap:10px;padding:0;margin:4px 0 12px;
	font-size:1rem;font-weight:700;color:var(--c-ink)}
.cx-sf--page .axp-hs-adv-l::before{content:"";flex:0 0 24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
/* On demand (alex-search-form.js adds .cx-rf-js): folded fields, the "+ add" row, the × on a field. */
.cx-sf--page [data-rf][hidden],.cx-sf--page .cx-rf-g[hidden],.cx-sf--page .cx-rf-add[hidden],.cx-sf--page .cx-rf-chip[hidden]{display:none}
.cx-sf--page .cx-rf-add{clear:both;display:flex;flex-direction:column;gap:10px;margin:12px 0 0;padding:12px 14px 14px;border-radius:20px;
	border:1px dashed var(--c-field-line);background:var(--c-card)}
.cx-sf--page.cx-rf-js .cx-rf-grid:not(:has(.cx-rf-g:not([hidden])))+.cx-rf-add{margin-top:0}
.cx-sf--page .cx-rf-add-h{margin:0;font-size:.86rem;font-weight:700;color:var(--c-ink)}
.cx-sf--page .cx-rf-add-l{display:flex;flex-wrap:wrap;gap:8px}
.cx-sf--page .cx-rf-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 14px 0 8px;padding-inline:8px 14px;
	border:1px solid var(--c-line);border-radius:999px;background:var(--c-foam-2);color:var(--cx-link);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.cx-sf--page .cx-rf-chip:hover{border-color:var(--c-sea);background:var(--c-foam)}
.cx-sf--page .cx-rf-chip:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf--page .cx-rf-chip-p{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep);font-size:1.05rem;line-height:1}
.cx-sf--page .cx-rf-x{position:absolute;z-index:3;top:50%;inset-inline-end:8px;display:grid;place-items:center;width:36px;height:36px;margin:-18px 0 0;padding:0;
	border:0;border-radius:50%;background:var(--c-foam);color:var(--c-brand);cursor:pointer}
.cx-sf--page .cx-rf-x:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-sf--page .cx-rf-x:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf--page.cx-rf-js [data-rf] .axp-hs-selwrap::after{display:none}
.cx-sf--page.cx-rf-js .cx-rf-g [data-rf] :is(.axp-pk-btn,.axp-hs-selwrap select){padding-inline-end:52px}
/* The refiners, grouped by the question each answers (who / what for / how much / who first /
   when). Each group is a white card holding a settings-style LIST: on a narrow group the caption
   sits over the value (full width, so nothing is cut); from 460px of group width the caption is
   at the start and the value at the end of one row. Values wrap to a second line instead of
   ending in an ellipsis. */
.cx-sf--page .cx-rf-grid.axp-hs-grid{clear:both;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0}
.cx-sf--page .cx-rf-g{margin:0;padding:4px 6px 6px;border-radius:20px;background:var(--c-card);
	border:1px solid var(--c-line);min-width:0}
.cx-sf--page .cx-rf-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0;padding:10px 10px 8px;
	font-size:.82rem;line-height:1.4;color:var(--c-muted)}
.cx-sf--page .cx-rf-h b{font-size:1.06rem;line-height:1.2;color:var(--c-ink)}
.cx-sf--page .cx-rf-list{display:flex;flex-direction:column}
.cx-sf--page .cx-rf-list>.axp-hs-fld{position:relative}
.cx-sf--page .cx-rf-list>.axp-hs-fld:not([hidden])~.axp-hs-fld::before{content:"";position:absolute;z-index:1;top:0;inset-inline:10px;height:1px;background:var(--c-line-2);pointer-events:none}
.cx-sf--page .cx-rf-g .axp-hs-ico{display:none}
.cx-sf--page .cx-rf-g .axp-hs-fld>.axp-hs-l{top:9px;inset-inline-start:12px;inset-inline-end:36px;font-size:.76rem}
.cx-sf--page .cx-rf-g :is(.axp-pk-btn,.axp-hs-selwrap select){min-height:58px;border:0;border-radius:14px;background:transparent;
	padding-inline-start:12px;padding-inline-end:36px;padding-top:26px;padding-bottom:8px}
.cx-sf--page .cx-rf-g .axp-pk-v{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-size:.98rem;line-height:1.35}
.cx-sf--page .cx-rf-g .axp-hs-selwrap::after{inset-inline-end:12px}
.cx-sf--page .cx-rf-g :is(.axp-pk-btn,.axp-hs-selwrap select):not(:disabled):hover{background:var(--c-foam-2)}
.cx-sf--page .cx-rf-g .axp-pk-btn[aria-expanded="true"]{background:var(--c-foam);box-shadow:none}
.cx-sf--page .cx-rf-g :is(.axp-pk-btn,.axp-hs-selwrap select):focus-visible{outline-offset:-3px}
/* (A media query, not a container query: a size container here was left at zero width by Chromium
   when the on-demand script folded its siblings.) */
@media (min-width:600px){
	.cx-sf--page .cx-rf-g .axp-hs-fld>.axp-hs-l{top:50%;transform:translateY(-50%);inset-inline-end:auto;max-width:40%;
		white-space:normal;overflow:visible;font-size:.88rem;color:var(--c-body)}
	.cx-sf--page .cx-rf-g :is(.axp-pk-btn,.axp-hs-selwrap select){min-height:54px;padding-block:8px;padding-inline-start:44%}
	.cx-sf--page .cx-rf-g .axp-pk-v{text-align:end}
	.cx-sf--page .cx-rf-g .axp-hs-selwrap select{text-align:end;text-align-last:end}
}
/* "When?" — the three flags, a group card of its own under the four. */
.cx-sf--page .axp-hs-checks.cx-rf-g{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:4px 10px 12px}
.cx-sf--page .axp-hs-checks.cx-rf-g>.cx-rf-h{flex:1 0 100%;padding-inline:0}
/* The three flags: toggle pills with their own box (still real, focusable checkboxes). */
.cx-sf--page .axp-hs-checks{gap:8px;margin-top:14px}
.cx-sf--page .axp-hs-check{gap:10px;min-height:46px;padding:0 16px 0 14px;border-radius:999px;border:1px solid var(--c-field-line);
	background:var(--c-card);color:var(--c-body);font-size:.92rem;font-weight:700;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-sf--page .axp-hs-check:hover{border-color:var(--cx-link);color:var(--cx-link)}
.cx-sf--page .axp-hs-check input{-webkit-appearance:none;appearance:none;margin:0;width:20px;height:20px;flex:0 0 20px;border-radius:6px;
	border:2px solid var(--c-field-line);background:var(--c-card) center/14px 14px no-repeat;cursor:pointer}
.cx-sf--page .axp-hs-check input:checked{border-color:var(--c-sea);background-color:var(--c-sea);
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304202F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.cx-sf--page .axp-hs-check input:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-sf--page .axp-hs-check:has(input:checked){border-color:var(--c-sea);background:var(--c-foam);color:var(--cx-chip-ink)}
.cx-sf--page .axp-hs-adv-act{margin-top:18px;gap:10px 18px}
.cx-sf--page .axp-hs-adv-act .axp-hs-go{flex:1 1 240px;min-height:56px}
.cx-sf--page .axp-hs-reset{color:var(--cx-link);font-weight:700;text-decoration:none;min-height:44px;padding-inline:6px}
.cx-sf--page .axp-hs-reset:hover{text-decoration:underline;text-underline-offset:.25em}
.cx-sf--page .axp-hs-hint{margin:0;padding-inline:4px;line-height:1.7}

/* Browse blocks under the console. */
.cx-srch .search-browse{margin-top:clamp(36px,5vw,64px);display:flex;flex-direction:column;gap:clamp(36px,5vw,64px)}
.cx-srch .hub-area.cx-srch-areas{margin:0!important;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
.cx-srch .cx-sec-head.hub-area-head{margin-bottom:clamp(18px,2.6vw,28px)}
.cx-srch .cx-sec-head .hub-area-h{font-size:var(--cx-fs-h2);line-height:1.18;color:var(--c-ink)}
.cx-srch .cx-sec-head .hub-n.cx-more{text-decoration:none;color:var(--cx-link)}
.cx-srch .cx-sec-head .hub-n.cx-more:hover{color:var(--cx-link-hover)}

/* Specialties as arch tiles (Alexandrian windows) — a snap rail on phones, a grid on desktop.
   Same window language as the home page's specialty rail, so the two read as one product. */
.cx-srch .cx-srch-specs{display:grid;gap:12px;grid-auto-flow:column;grid-auto-columns:minmax(142px,40%);grid-template-columns:none;
	overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
	padding:6px var(--cx-gutter) 14px;margin-inline:calc(var(--cx-gutter) * -1);scroll-padding-inline:var(--cx-gutter)}
.cx-srch .cx-srch-specs::-webkit-scrollbar{display:none}
@media (min-width:760px){
	.cx-srch .cx-srch-specs{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));
		gap:clamp(14px,2vw,22px);overflow:visible;padding:6px 0 0;margin:0}
}
.cx-srch .cx-srch-spec.ax-spec-card{position:relative;scroll-snap-align:start;align-items:flex-start;gap:6px;min-height:0;
	padding:12px 12px 18px;border-radius:var(--cx-r-arch);background:var(--c-card);border:1px solid var(--cx-card-border);
	box-shadow:var(--cx-shadow-card);color:var(--c-ink);text-decoration:none;
	transition:transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-srch .cx-srch-spec.ax-spec-card:hover{transform:translateY(-3px);box-shadow:var(--cx-shadow-hover)}
.cx-srch .cx-srch-spec.ax-spec-card:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-srch .cx-srch-spec-ic.ax-spec-ic{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1/1.02;margin-bottom:8px;border:0;box-shadow:none;
	border-radius:999px 999px 14px 14px;color:var(--c-brand);
	background:radial-gradient(120% 90% at 50% 100%,rgba(46,155,214,.20),transparent 70%),var(--c-foam);
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-srch .cx-srch-spec-ic.ax-spec-ic svg{width:38%;height:38%}
.cx-srch .cx-srch-spec:hover .cx-srch-spec-ic.ax-spec-ic{background:var(--c-brand);color:#fff}
.cx-srch .cx-srch-spec .ax-spec-n{padding-inline:6px;font-size:1.02rem;line-height:1.4;color:var(--c-ink)}
.cx-srch .cx-srch-spec .ax-spec-c{margin:0 6px;padding:3px 10px;border-radius:999px;background:var(--c-foam);color:var(--c-body);
	font-size:.8rem;font-weight:400}
.cx-srch .cx-srch-spec .ax-spec-c b{color:var(--c-brand);margin-inline-end:.2em}

/* Areas as a tram line — stations down the page on phones, one line across it from 760px. */
.cx-srch .search-gov-l{display:flex;align-items:center;gap:10px;margin:18px 0 8px;font-size:.95rem;font-weight:700;color:var(--c-ink)}
.cx-srch .search-gov-l::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--c-sea);box-shadow:0 0 0 4px var(--c-foam)}
.cx-srch .cx-srch-tram.chips{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;margin:0;padding:0}
.cx-srch .cx-srch-tram .cx-tram-stop{--cx-tram-dot-y:26px}
.cx-srch .cx-srch-tram .cx-tram-stop>a.chip{display:flex;justify-content:space-between;width:100%;min-height:52px;padding:10px 14px;
	border:0;border-radius:16px;background:transparent;color:var(--c-ink);font-size:.98rem}
.cx-srch .cx-srch-tram .cx-tram-stop>a.chip:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-srch .cx-srch-tram .cx-tram-stop>a.chip:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-srch .cx-srch-tram .chip-n.cx-tram-n{margin:0;min-width:0;font-size:.8rem;padding:2px 10px;background:var(--c-foam);color:var(--cx-chip-ink)}
@media (min-width:760px){
	.cx-srch .cx-srch-tram.chips{flex-direction:row;overflow-x:auto;scrollbar-width:none;padding-block:6px 6px}
	.cx-srch .cx-srch-tram.chips::-webkit-scrollbar{display:none}
	.cx-srch .cx-srch-tram .cx-tram-stop{flex:1 0 118px;padding-inline-start:0;padding-top:calc(var(--cx-dot) + 10px)}
	.cx-srch .cx-srch-tram .cx-tram-stop::before{top:0;inset-inline-start:16px}
	.cx-srch .cx-srch-tram .cx-tram-stop::after{top:calc((var(--cx-dot) - var(--cx-rail)) / 2);bottom:auto;inset-inline-start:16px;inset-inline-end:-16px;
		width:auto;height:var(--cx-rail)}
	.cx-srch .cx-srch-tram .cx-tram-stop>a.chip{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;padding:8px 10px}
}

/* -------------------------------------------------------------------------------------------------
   4. LISTING BAR — the sticky line on navy (the band continues into the listing head). At EVERY
      width the bar is the question as one sentence — «جلدية · كل الإسكندرية ✎» — and the whole line
      opens the editor: a bottom sheet on a phone, a panel dropping from the top on anything wider.
   ------------------------------------------------------------------------------------------------- */
.cx-lst-sb.search-bar{z-index:var(--cx-z-sticky);background:var(--c-band);border-bottom:0;border-top:1px solid var(--c-on-band-line);
	box-shadow:0 10px 24px -18px rgba(4,14,27,.6);padding-block:10px}
.cx-lst-sb .search-bar-in{max-width:var(--cx-wrap)}
.cx-sf--bar{--cx-tile-h:56px}

.cx-sf--bar .axp-sb-sum{display:flex;align-items:center;min-height:52px;padding:4px;padding-inline-start:14px;gap:12px;border:1px solid var(--c-on-band-line);border-radius:999px;
	background:rgba(255,255,255,.05);color:var(--c-on-band);box-shadow:none;text-decoration:none}
.cx-sf--bar .axp-sb-sum:hover{background:rgba(255,255,255,.09);border-color:rgba(134,205,239,.45)}
.cx-sf--bar .axp-sb-sum:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:3px}
.cx-sf--bar .axp-sb-sum-ic{display:grid;place-items:center;width:auto;height:auto;border-radius:0;background:none;color:var(--c-sea-hi)}
.cx-sf--bar .axp-sb-sum-t{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px}
.cx-sf--bar .axp-sb-sum-t b{font-size:1rem;color:var(--c-on-band);max-width:100%}
.cx-sf--bar .axp-sb-sum-t span{font-size:.9rem;color:var(--c-sky);max-width:100%}
.cx-sf--bar .axp-sb-sum-t span::before{content:"·";margin-inline-end:10px;color:var(--c-on-band-3)}
/* "✎ Edit": a sea pill at the end of the line (the pencil alone on the narrowest phones). */
.cx-sf--bar .axp-sb-sum-cta{position:relative;gap:6px;min-height:44px;padding:0 16px;justify-content:center;border-radius:999px;
	background:var(--c-sea);color:var(--c-ink-deep);box-shadow:none;font-size:.88rem;font-weight:700}
.cx-sf--bar .axp-sb-sum-cta svg{width:18px;height:18px}
.cx-sf--bar .axp-sb-sum:hover .axp-sb-sum-cta{background:var(--c-sea-hi)}
@media (max-width:479px){
	.cx-sf--bar .axp-sb-sum-ic{display:none}
	.cx-sf--bar .axp-sb-sum{padding-inline-start:16px}
	.cx-sf--bar .axp-sb-sum-cta{width:44px;padding:0}
	.cx-sf--bar .axp-sb-sum-cta .cx-sb-cta-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}
/* From 760px the line is a COMPACT sentence chip at the start of the band, not a full-width row. */
@media (min-width:760px){
	.cx-sf--bar .axp-sb-sum{display:inline-flex;width:auto;max-width:100%;min-height:50px}
	.cx-sf--bar .axp-sb-sum-t{flex:0 1 auto}
	.cx-sf--bar .axp-sb-sum-t b{font-size:1.04rem}
}

/* The editor (phones: a bottom sheet). */
.cx-sf--bar .axp-cs[open],.cx-sf--bar .axp-cs:target{border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;background:var(--c-card);
	box-shadow:0 -12px 48px rgba(4,14,27,.35)}
.cx-sf--bar .axp-cs::backdrop{background:rgba(4,14,27,.55)}
.cx-sf--bar .axp-cs-head{padding-block:22px 12px;padding-inline:20px 12px;border-bottom:1px solid var(--c-line)}
.cx-sf--bar .axp-cs-head .axp-pk-grab{top:8px;width:44px;height:5px;margin-left:-22px;border-radius:5px;background:var(--c-line)}
.cx-sf--bar .axp-cs-t{font-size:1.15rem;color:var(--c-ink)}
.cx-sf--bar .axp-cs-t:focus,.cx-sf--bar .axp-cs-t:focus-visible{outline:0}
.cx-sf--bar .axp-cs-x{border-radius:50%;background:var(--c-foam);color:var(--c-brand)}
.cx-sf--bar .axp-cs-x:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-sf--bar .axp-cs-body{padding:18px 20px;gap:14px}
.cx-sf--bar .axp-cs-body>.axp-hs-ai{margin:0}
.cx-sf--bar .axp-cs-foot{padding:12px 20px;padding-bottom:calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--c-line);background:var(--c-card)}
.cx-sf--bar .axp-cs-foot .cx-sf-go{width:100%}

/* 720px and wider: a panel that drops from under the header, the sentence inside it. */
@media (min-width:720px){
	.cx-sf--bar .axp-cs[open],.cx-sf--bar .axp-cs:target{position:fixed;inset:calc(var(--cx-head-h) + 12px) 0 auto 0;margin:0 auto;
		width:min(780px,calc(100% - 48px));height:auto;max-height:calc(100dvh - var(--cx-head-h) - 32px);display:flex;flex-direction:column;
		gap:0;padding:0;border-radius:var(--cx-r-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop);
		animation:cx-drop .2s var(--cx-ease)}
	.cx-sf--bar .axp-cs-head .axp-pk-grab{display:none}
	.cx-sf--bar .axp-cs-head{padding:16px 24px 12px}
	.cx-sf--bar .axp-cs-body{padding:22px 28px 18px;gap:16px}
	.cx-sf--bar .axp-cs-foot{display:flex;justify-content:flex-end;padding:14px 24px}
	.cx-sf--bar .axp-cs-foot .cx-sf-go{width:auto;min-width:220px}
}
/* No-JS (:target) editor: the dimmed page is a spread shadow, not alex.css's ::before layer — a
   fixed dialog is its own stacking context, so a z-index:-1 child painted OVER its background. */
.cx-sf--bar .axp-cs:target:not([open])::before{content:none}
.cx-sf--bar .axp-cs:target:not([open]){box-shadow:0 0 0 100vmax rgba(4,14,27,.55)}
@keyframes cx-drop{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* alex.css turns the editor into an always-visible row of fields from 1024px. Coast keeps the
   summary line there too, so every one of those rules is unwound here (several were !important). */
@media (min-width:1024px){
	.cx-lst-sb.search-bar{padding-block:12px}
	.cx-sf--bar .axp-cs:not([open]):not(:target){display:none!important}
	.cx-sf--bar .axp-cs[open],.cx-sf--bar .axp-cs:target{display:flex!important}
	.cx-sf--bar .axp-cs::backdrop{background:rgba(4,14,27,.55)}
	.cx-sf--bar .axp-cs-head{display:flex}
	.cx-sf--bar .axp-cs-body{display:flex;flex-direction:column;overflow-y:auto}
	.cx-sf--bar .axp-cs .axp-cs-what{display:flex}
	.cx-sf--bar .axp-cs .axp-hs-ai:not([hidden]){display:flex!important}
	.cx-sf--bar .axp-cs .axp-hs-fld--q{display:flex!important}
	.cx-sf--bar .axp-cs .axp-hs-err:not([hidden]){display:flex!important}
	.cx-sf--bar .axp-cs .cx-sn .axp-pk-k{display:none}
	.cx-sf--bar .axp-cs-foot{border-top:1px solid var(--c-line);background:var(--c-card)}
	.cx-sf--bar .axp-cs-foot .axp-hs-go{height:auto;min-height:58px}
	.search-bar:has(.axp-cs:target){z-index:95}
}

/* -------------------------------------------------------------------------------------------------
   5. PICKER — Coast anatomy (alex-picker.js builds it):
      head  : back control · eyebrow + title · "N in the list" tally
      list  : rows = [arch mark] name / "N doctors" in words under it. Districts run WEST → EAST
              down a coast line (two end captions); other long lists are A–Z with a letter per run.
      foot  : the "tell us what hurts" helper as a quiet text link
      search: LAST — on a phone pinned to the bottom of a full-height "tide" panel (thumb reach);
              on a wide screen a filter strip at the popover's foot, with keyboard hints under it.
   ------------------------------------------------------------------------------------------------- */
.axp-pk{--axp-chev:none;font-family:var(--cx-font);color:var(--c-ink)}
.axp-pk::backdrop{background:rgba(4,14,27,.5)}
.axp-pk.is-pop::backdrop{background:rgba(4,14,27,.12)}
.axp-pk-in{border:1px solid var(--cx-card-border);border-radius:var(--cx-r-card);background:var(--c-card);box-shadow:var(--cx-shadow-pop)}

/* Head: a navy strip with a wave edge — the panel reads as a page of its own, not a drop-down. */
.axp-pk .axp-pk-head{position:relative;display:flex;align-items:center;gap:12px;padding:14px 14px 20px;background:var(--c-band);color:var(--c-on-band)}
.axp-pk .axp-pk-head::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:12px;background:var(--c-card);
	-webkit-mask:var(--cx-wave-edge-b) center/100% 100% no-repeat;mask:var(--cx-wave-edge-b) center/100% 100% no-repeat;pointer-events:none}
.axp-pk .axp-pk-grab{display:none}
.axp-pk-tt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.axp-pk-ey{display:flex;align-items:center;gap:8px;margin:0;font-size:.74rem;font-weight:700;color:var(--c-sky);letter-spacing:.01em}
.axp-pk-ey::before{content:"";flex:0 0 20px;height:7px;background:var(--c-sea-hi);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.axp-pk .axp-pk-t{margin:0;font-size:1.22rem;line-height:1.3;color:var(--c-on-band)}
.axp-pk-tally{flex:0 0 auto;padding:4px 12px;border-radius:999px;border:1px solid var(--c-on-band-line);color:var(--c-on-band-2);font-size:.78rem;font-weight:700;white-space:nowrap}
.axp-pk .axp-pk-x{order:-1;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;
	background:rgba(255,255,255,.08);color:#fff;border:1px solid var(--c-on-band-line)}
.axp-pk .axp-pk-x:hover{background:var(--c-sea);color:var(--c-ink-deep);border-color:var(--c-sea)}
.axp-pk .axp-pk-x:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:2px}
.axp-pk-x>span{display:grid;place-items:center}
.axp-pk.is-sheet .axp-pk-x-x,.axp-pk.is-pop .axp-pk-x-back{display:none}

/* The list. */
.axp-pk .axp-pk-list{position:relative;padding:8px 12px 12px}
.axp-pk .axp-pk-o{position:relative;display:flex;align-items:center;gap:14px;min-height:54px;padding:6px 10px;border:0;border-radius:16px;
	color:var(--c-ink);transition:background-color var(--cx-dur) var(--cx-ease)}
.axp-pk .axp-pk-o+.axp-pk-o::before{content:"";position:absolute;top:0;inset-inline:56px 10px;height:1px;background:var(--c-line-2)}
.axp-pk .axp-pk-o[hidden],.axp-pk .axp-pk-grp[hidden],.axp-pk .axp-pk-lh[hidden]{display:none}
.axp-pk .axp-pk-o:hover{background:var(--c-foam-2)}
.axp-pk .axp-pk-o:hover::before,.axp-pk .axp-pk-o:hover+.axp-pk-o::before,
.axp-pk .axp-pk-o.is-act::before,.axp-pk .axp-pk-o.is-act+.axp-pk-o::before{opacity:0}
/* Keyboard / pointer focus: a sea ring inside the row — no side bar. */
.axp-pk .axp-pk-o.is-act{background:var(--c-foam-2);box-shadow:inset 0 0 0 2px var(--c-sea);border-inline-start:0;padding-inline-start:10px}
.axp-pk-ot{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:start;white-space:normal;overflow:visible}
.axp-pk-nm{display:block;font-size:1rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.axp-pk .axp-pk-on{display:block;min-width:0;padding:0;text-align:start;border-radius:0;background:none;color:var(--c-muted);font-size:.8rem;font-weight:400;line-height:1.35}
/* The mark: a small arch window at the start. Empty outline at rest; a sea arch with a check when
   it is the current value. */
.axp-pk .axp-pk-ck{flex:0 0 28px;display:grid;place-items:center;width:28px;height:34px;border-radius:999px 999px 9px 9px;
	border:2px solid var(--c-line);background:var(--c-card);color:transparent;visibility:visible;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.axp-pk .axp-pk-o:hover .axp-pk-ck{border-color:var(--c-sea)}
.axp-pk .axp-pk-o.is-cur{color:var(--c-ink)}
.axp-pk .axp-pk-o.is-cur .axp-pk-ck{border-color:var(--c-sea);background:var(--c-sea);color:var(--c-ink-deep)}
.axp-pk .axp-pk-o.is-cur .axp-pk-nm{color:var(--cx-link)}

/* A–Z: a quiet sea letter at the head of each run. */
.axp-pk-lh{display:flex;align-items:center;gap:10px;margin:6px 4px 0;padding-inline-start:6px;font-size:.78rem;font-weight:800;color:var(--cx-eyebrow)}
.axp-pk-lh::after{content:"";flex:1 1 auto;height:1px;background:var(--c-line)}
.axp-pk-list>.axp-pk-lh:first-child{margin-top:2px}
.axp-pk-list.is-q .axp-pk-lh{display:none}
/* The coast: the arches become stations on a dashed sea line running west → east. */
.axp-pk-list.is-coast .axp-pk-o::after{content:"";position:absolute;inset-inline-start:24px;top:0;bottom:0;width:2px;z-index:0;
	background:linear-gradient(var(--c-sea) 55%,transparent 0) 0 0/2px 8px repeat-y;opacity:.55}
.axp-pk-list.is-coast .axp-pk-ck{position:relative;z-index:1;flex:0 0 22px;width:22px;height:22px;border-radius:50%;margin-inline:3px}
.axp-pk-list.is-coast .axp-pk-o.is-cur .axp-pk-ck{flex-basis:28px;width:28px;height:34px;margin-inline:0;border-radius:999px 999px 9px 9px}
.axp-pk-list.is-coast .axp-pk-o+.axp-pk-o::before{inset-inline-start:56px}
.axp-pk-end{margin:6px 4px;font-size:.76rem;color:var(--c-muted);font-weight:700}
.axp-pk-end::after{display:none}
.axp-pk-end::before{content:"";flex:0 0 22px;height:7px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.axp-pk-list.is-q .axp-pk-o::after{display:none}
.axp-pk .axp-pk-grp.is-solo>.axp-pk-gh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.axp-pk .axp-pk-gh{background:var(--c-card);color:var(--cx-eyebrow);font-size:.76rem;padding:12px 8px 6px}

.axp-pk .axp-pk-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 24px;color:var(--c-body);font-size:.92rem;line-height:1.7}
.axp-pk .axp-pk-empty::before{content:"";width:44px;height:52px;border-radius:var(--cx-r-arch);background:var(--c-foam)}
.axp-pk .axp-pk-empty[hidden]{display:none}

/* The helper: a text link with a sparkle, not a dashed box. */
.axp-pk .axp-pk-foot{border-top:0;padding:2px 14px 6px}
.axp-pk .axp-pk-ai{min-height:44px;width:auto;padding:6px 4px;gap:8px;border:0;border-radius:10px;background:transparent;
	color:var(--cx-link);font-weight:700;font-size:.88rem;text-decoration:underline;text-decoration-color:rgba(46,155,214,.5);text-underline-offset:.3em}
.axp-pk .axp-pk-ai:hover{background:transparent;color:var(--cx-link-hover,var(--cx-link));text-decoration-color:currentColor}
.axp-pk .axp-pk-ai svg{width:18px;height:18px;color:var(--c-sea)}
.axp-pk .axp-pk-ai:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}

/* The filter box: a foot strip. */
.axp-pk .axp-pk-search{position:relative;margin:0;padding:10px 14px 12px;border-top:1px solid var(--c-line);background:var(--c-foam-2)}
.axp-pk .axp-pk-search svg{inset-inline-start:30px;color:var(--c-brand)}
.axp-pk .axp-pk-q{min-height:50px;border-radius:999px;border:1px solid var(--c-field-line);background:var(--c-card);color:var(--c-ink);padding-inline:46px 16px}
.axp-pk .axp-pk-q:focus-visible{outline:3px solid var(--cx-focus);outline-offset:1px;border-color:var(--c-brand)}
.axp-pk-keys{display:none;margin:0;padding:0 16px 10px;background:var(--c-foam-2);color:var(--c-muted);font-size:.74rem;font-weight:700;text-align:center;unicode-bidi:plaintext}
.axp-pk .axp-pk-search[hidden]{display:none}

/* PHONE: a tide panel rising from the sea. A short list (governorate, gender…) is a sheet only as
   tall as its rows, capped at 88dvh, with rounded shoulders; a long, searchable list (.is-long,
   set by the script) takes the full height so the filter box sits at the bottom, just above the
   keyboard (--pk-kb / --pk-vh come from the script). */
.axp-pk.is-sheet{inset:auto 0 var(--pk-kb,0px) 0;height:auto;max-height:min(88dvh,var(--pk-vh,100dvh));animation:cx-pk-tide var(--cx-dur-sheet) var(--cx-ease)}
.axp-pk.is-sheet .axp-pk-in{border:0;border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;box-shadow:none;padding-bottom:0}
.axp-pk.is-sheet:not(.is-long) .axp-pk-list{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.axp-pk.is-sheet:not(.is-long) .axp-pk-foot:not([hidden]){padding-bottom:calc(6px + env(safe-area-inset-bottom))}
.axp-pk.is-sheet:not(.is-long) .axp-pk-list:has(+.axp-pk-empty[hidden]+.axp-pk-foot:not([hidden])){padding-bottom:12px}
.axp-pk.is-sheet.is-long{height:var(--pk-vh,100dvh);max-height:none}
.axp-pk.is-sheet.is-long .axp-pk-in{border-radius:0}
.axp-pk.is-sheet.is-long .axp-pk-head{padding-top:calc(14px + env(safe-area-inset-top))}
.axp-pk.is-sheet .axp-pk-search{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.axp-pk.is-sheet .axp-pk-foot{border-top:1px solid var(--c-line-2)}
.axp-pk.is-sheet .axp-pk-list.is-q{display:flex;flex-direction:column}
.axp-pk.is-sheet .axp-pk-list.is-q>*{flex:none}
/* Filtering on a phone: the matches pool at the BOTTOM of the panel, next to the box being typed in. */
.axp-pk.is-sheet .axp-pk-list.is-q::before{content:"";flex:1 1 auto}
@keyframes cx-pk-tide{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

/* WIDE: a popover card with the same head, compact, and the keyboard hints under the filter. */
.axp-pk.is-pop .axp-pk-head{display:flex;padding:12px 14px 18px}
.axp-pk.is-pop .axp-pk-x{width:36px;height:36px;min-width:36px;min-height:36px;flex-basis:36px;order:2}
.axp-pk.is-pop .axp-pk-t{font-size:1.02rem}
.axp-pk.is-pop .axp-pk-ey{display:none}
.axp-pk.is-pop .axp-pk-search{margin:0}
.axp-pk.is-pop .axp-pk-keys{display:block}
.axp-pk.is-pop .axp-pk-search[hidden]+.axp-pk-keys{padding-top:10px;border-top:1px solid var(--c-line)}
.axp-pk.is-pop .axp-pk-o{min-height:52px}
/* Squeezed between the field and the window edge (.is-tight, alex-picker.js): rows first. */
.axp-pk.is-pop.is-tight .axp-pk-keys{display:none}
.axp-pk.is-pop.is-tight .axp-pk-head{padding:8px 12px 14px}
.axp-pk.is-pop.is-tight .axp-pk-search{padding-block:8px}
.axp-pk.is-pop.is-tight .axp-pk-search[hidden]+.axp-pk-keys{display:none}

/* -------------------------------------------------------------------------------------------------
   6. SYMPTOM WIZARD + VALIDATION POPUP
   ------------------------------------------------------------------------------------------------- */
.axp-ai{font-family:var(--cx-font)}
.axp-ai::backdrop,.axp-vd::backdrop{background:rgba(4,14,27,.58)}
.axp-ai-in{position:relative;overflow:hidden;border-radius:var(--cx-r-card);background:var(--c-card);box-shadow:var(--cx-shadow-pop);border:1px solid var(--cx-card-border)}

/* ---- head: tide-line progress on the top edge · back (step 2) · question · voice language · close */
.axp-ai .axp-ai-head{position:relative;display:flex;align-items:center;gap:10px;padding:20px 14px 12px;background:var(--c-card);
	border-bottom:1px solid var(--c-line);color:var(--c-ink)}
.cx-ai-grab{display:none;position:absolute;top:10px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:5px;background:var(--c-line)}
.axp-ai .axp-ai-prog{position:absolute;top:0;inset-inline:0;display:flex;gap:4px;height:5px;margin:0}
.axp-ai .axp-ai-dot{flex:1 1 0;width:auto;height:5px;min-width:0;border:0;border-radius:0;background:var(--c-line);color:transparent;font-size:0;box-shadow:none;
	transition:background-color var(--cx-dur-sheet) var(--cx-ease)}
.axp-ai .axp-ai-dot.is-on,.axp-ai .axp-ai-dot.is-done{background:var(--c-sea);box-shadow:none}
.axp-ai .axp-ai-line{display:none}
.axp-ai .axp-ai-titles{flex:1 1 auto;min-width:0;order:0}
.axp-ai .axp-ai-t{margin:0;color:var(--c-ink);font-size:clamp(1.15rem,1rem + .8vw,1.4rem);line-height:1.25}
.axp-ai .axp-ai-t:focus,.axp-ai .axp-ai-t:focus-visible{outline:0}
.axp-ai .axp-ai-back{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 10px;padding-inline:10px 14px;margin:0;
	border:0;border-radius:999px;background:var(--c-foam);color:var(--cx-link);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.axp-ai .axp-ai-back::before{content:"";width:18px;height:18px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
[dir="ltr"] .axp-ai .axp-ai-back::before,.axp-ai[dir="ltr"] .axp-ai-back::before{transform:scaleX(-1)}
.axp-ai .axp-ai-back:hover{background:var(--c-sea);color:var(--c-ink-deep)}
/* On step 1 "later" only repeats the close button. */
.axp-ai[data-step="1"] .axp-ai-back{display:none}
.axp-ai .axp-ai-vlang{flex:0 0 auto;display:inline-flex;align-self:center;padding:3px;border:1px solid var(--c-line);border-radius:999px;background:var(--c-foam-2)}
.axp-ai .axp-ai-vlang label{min-height:38px;min-width:40px;justify-content:center;padding:0 10px;border-radius:999px;color:var(--c-body);font-size:.8rem;font-weight:800}
.axp-ai .axp-ai-vlang input:checked+label{background:var(--c-sea);color:var(--c-ink-deep)}
.axp-ai .axp-ai-vlang input:focus-visible+label{outline:3px solid var(--cx-focus);outline-offset:-2px}
.axp-ai:has(#hs-ai-voice[hidden]) .axp-ai-vlang,.axp-ai[data-step="2"] .axp-ai-vlang{display:none}
.axp-ai .axp-ai-x{flex:0 0 44px;border-radius:50%;color:var(--c-brand);background:var(--c-foam)}
.axp-ai .axp-ai-x:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.axp-ai .axp-ai-x:focus-visible,.axp-ai .axp-ai-back:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}

/* ---- body */
.axp-ai .axp-ai-body{padding:18px 18px 0;background:var(--c-page)}
.axp-ai .axp-ai-pane{gap:14px;padding-bottom:18px}

/* The conversation: our opening line, then the answer as the reply. */
.cx-ai-thread{display:flex;flex-direction:column;gap:12px}
.cx-ai-bub{display:flex;align-items:flex-end;gap:10px;margin:0;max-width:92%}
.cx-ai-bub>span:last-child{padding:12px 16px;border-radius:20px;border-end-start-radius:6px;background:var(--c-card);border:1px solid var(--c-line);
	color:var(--c-ink);font-size:.95rem;line-height:1.7}
.cx-ai-bub-who{flex:0 0 36px;display:grid;place-items:center;width:36px;height:42px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sea-hi)}
.cx-ai-bub-who svg{width:18px;height:18px}
.axp-ai .axp-ai-out{gap:10px;padding-inline-start:46px}
.axp-ai .axp-ai-rh{margin:2px 0 0;font-size:.98rem;color:var(--c-ink)}
.axp-ai .axp-ai-rsub{margin:-6px 0 0;font-size:.8rem;color:var(--c-muted)}
/* The suggested specialties: ARCH TILES, two to a row, the likelihood in the arch. */
.axp-ai .axp-ai-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px 10px;padding-top:12px}
.axp-ai .axp-ai-opt{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:46px 12px 14px;margin:0;
	border:1px solid var(--c-line);border-radius:90px 90px 18px 18px / 60px 60px 18px 18px;background:var(--c-card);text-align:center;cursor:pointer;
	box-shadow:none;transition:border-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.axp-ai .axp-ai-opt:hover{border-color:var(--c-sea)}
.axp-ai .axp-ai-opt:has(input:checked){border-color:var(--c-sea);background:var(--c-foam);box-shadow:0 0 0 2px var(--c-sea)}
.axp-ai .axp-ai-opt:has(input:focus-visible){outline:3px solid var(--cx-focus);outline-offset:3px}
.axp-ai .axp-ai-opt input{position:absolute;top:16px;left:50%;margin:0 0 0 -11px;width:22px;height:22px;-webkit-appearance:none;appearance:none;
	border:2px solid var(--c-field-line);border-radius:50%;background:var(--c-card) center/14px 14px no-repeat;cursor:pointer}
.axp-ai .axp-ai-opt input:checked{border-color:var(--c-sea);background-color:var(--c-sea);
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304202F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.axp-ai .axp-ai-opt input:focus-visible{outline:0}
.axp-ai .axp-ai-opt-b{align-items:center;gap:6px}
.axp-ai .axp-ai-opt-top{flex-direction:column-reverse;align-items:center;gap:2px}
.axp-ai .axp-ai-opt-n{font-size:.98rem;line-height:1.35;color:var(--c-ink)}
.axp-ai .axp-ai-pct{font-size:1.5rem;line-height:1.1;font-weight:800;color:var(--cx-link)}
.axp-ai .axp-ai-bar{width:100%;height:5px;border:0;background:var(--c-foam-2)}
.axp-ai .axp-ai-bar i{background:var(--c-sea)}
.axp-ai .axp-ai-why{font-size:.76rem}
.axp-ai .axp-ai-cn{font-size:.74rem;color:var(--c-muted)}
.axp-ai .axp-ai-best{top:-11px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;border:0;background:var(--c-band);color:var(--c-sea-hi);font-size:.72rem;font-weight:700;padding:2px 10px}
.axp-ai .axp-ai-alert{border-radius:18px;border-end-start-radius:6px}
.axp-ai .axp-ai-alert--warn{background:var(--c-card);color:var(--c-ink);border:1px solid var(--c-line);border-inline-start:4px solid var(--c-sea)}
.axp-ai .axp-ai-alert--info{background:var(--c-card);color:var(--c-ink);border:1px solid var(--c-line)}
.axp-ai .axp-ai-retry{border-radius:999px;border-color:var(--c-field-line);background:var(--c-card);color:var(--cx-link)}
.axp-ai .axp-ai-retry:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.axp-ai .axp-ai-sk{border-radius:60px 60px 16px 16px;background:linear-gradient(90deg,var(--c-foam-2) 0%,var(--c-foam) 50%,var(--c-foam-2) 100%);background-size:200% 100%}
.axp-ai .axp-ai-load p{color:var(--c-body)}

/* Suggestion bubbles: quick replies on the patient's side of the thread. */
.axp-ai .axp-ai-ex{justify-content:flex-end;gap:8px}
.axp-ai .axp-ai-chip{min-height:44px;padding:8px 14px;border:1px solid var(--c-sea);border-radius:18px;border-end-end-radius:6px;
	background:var(--c-card);color:var(--cx-chip-ink);font-size:.86rem;font-weight:700;text-align:start}
.axp-ai .axp-ai-chip:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.axp-ai .axp-ai-chip:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}

/* The composer — pinned to the foot of the scroll box while the thread grows above it. */
.cx-ai-comp{position:sticky;bottom:0;z-index:2;display:flex;flex-direction:column;gap:4px;padding:8px 10px 10px;
	border:1px solid var(--c-field-line);border-radius:24px;background:var(--c-card);
	--cx-comp-ring:0 0 0 14px var(--c-page);--cx-comp-lift:0 -10px 24px -8px rgba(4,14,27,.12);box-shadow:var(--cx-comp-lift),var(--cx-comp-ring)}
/* The page-coloured ring (14px = the gap around the composer) is opaque, so whatever scrolls under a
   pinned composer is cut cleanly at the gap, never seen through its rounded corners. Pinned with
   the thread under it (.cx-ai-stuck, alex-search-form.js), a sea-floor fade above it as well. */
.cx-ai-stuck .cx-ai-comp{--cx-comp-lift:0 -30px 16px -10px var(--c-page)}
.cx-ai-comp:focus-within{border-color:var(--c-sea);box-shadow:0 0 0 3px rgba(46,155,214,.3),var(--cx-comp-lift),var(--cx-comp-ring)}
/* Keyboard focus on anything above a pinned composer stops clear of it (WCAG 2.4.11). */
.axp-ai :is(.axp-ai-chip,.axp-ai-opt,.axp-ai-retry,.axp-ai-out a,.axp-ai-out button){scroll-margin-block-end:200px}
.cx-ai-comp:has(textarea[aria-invalid="true"]){border-color:#B42318}
.axp-ai .cx-ai-comp .axp-ai-l{padding:2px 8px 0;font-size:.74rem;font-weight:700;color:var(--c-muted)}
.axp-ai .axp-ai-ta{position:relative;padding-bottom:8px}
.axp-ai .axp-ai-ta textarea{min-height:58px;max-height:30vh;padding:4px 8px;border:0;border-radius:0;background:transparent;color:var(--c-ink);resize:none;box-shadow:none}
.axp-ai .axp-ai-ta textarea:hover{border:0}
.axp-ai .axp-ai-ta textarea:focus,.axp-ai .axp-ai-ta textarea:focus-visible{outline:0;border:0;box-shadow:none}
.axp-ai .axp-ai-ta textarea[aria-invalid="true"],.axp-ai .axp-ai-ta textarea[aria-invalid="true"]:hover{border:0;box-shadow:none}
/* The 300-character limit as a tide line under the text; the number itself surfaces near the end. */
.axp-ai .axp-ai-cnt{position:absolute;inset-inline:8px;bottom:0;height:3px;border-radius:3px;background:var(--c-line-2);font-size:0;color:transparent}
.axp-ai .axp-ai-cnt::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:calc(var(--fill,0) * 100%);border-radius:inherit;background:var(--c-sea);
	transition:width var(--cx-dur) var(--cx-ease)}
.axp-ai .axp-ai-cnt.is-near::before{background:var(--c-sea)}
.axp-ai .axp-ai-cnt.is-max::before{background:#B54708}
/* "60 characters left": words only in the last 60, on their own line above the tide line. */
.axp-ai .axp-ai-cnt bdi{position:absolute;bottom:7px;inset-inline-end:0;font-size:.74rem;line-height:1.3;color:var(--c-muted);font-weight:700;white-space:nowrap}
.axp-ai .axp-ai-cnt bdi:empty{display:none}
.axp-ai .axp-ai-cnt.is-max bdi{color:#B54708}
.axp-ai .axp-ai-ta:has(.axp-ai-cnt.is-near){padding-bottom:28px}
:root[data-theme="dark"] .axp-ai .axp-ai-cnt.is-max bdi{color:#FDB022}
:root[data-theme="dark"] .axp-ai .axp-ai-cnt.is-max::before{background:#FDB022}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .axp-ai .axp-ai-cnt.is-max bdi{color:#FDB022}
	:root:not([data-theme="light"]) .axp-ai .axp-ai-cnt.is-max::before{background:#FDB022}
}
.cx-ai-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.axp-ai .axp-ai-voice{flex:1 1 auto;min-width:0;display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:transparent;text-align:start}
.axp-ai .axp-ai-voice[hidden]{display:none}
.axp-ai .axp-ai-voice.is-rec{box-shadow:none}
.axp-ai .axp-ai-mic{flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;background:var(--c-foam);color:var(--c-brand);box-shadow:none}
.axp-ai .axp-ai-mic svg{width:20px;height:20px}
.axp-ai .axp-ai-mic:hover{transform:none;background:var(--c-sea);color:var(--c-ink-deep)}
.axp-ai .axp-ai-mic:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.axp-ai .axp-ai-mic.is-rec{background:#C0392B;color:#fff}
.axp-ai .axp-ai-vtxt{flex:1 1 auto;min-width:0;display:block}
.axp-ai .axp-ai-vs{margin:0;color:var(--c-muted);font-size:.78rem;font-weight:700;line-height:1.35}
.axp-ai .axp-ai-vs.is-err{color:#B42318}
.axp-ai .axp-ai-go{flex:0 0 auto;width:auto;min-height:44px;padding:0 16px 0 14px;padding-inline:14px 16px;margin-inline-start:auto;gap:8px;border-radius:999px;
	background:var(--cx-primary-bg);color:var(--cx-primary-ink);font-size:.9rem;font-weight:700}
.axp-ai .axp-ai-go svg{width:18px;height:18px}
.axp-ai .axp-ai-go:hover{background:var(--cx-primary-hover);filter:none}
.axp-ai .axp-ai-go:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.axp-ai .axp-ai-err{padding-inline:8px}
.axp-ai .axp-ai-novoice{padding-inline:8px}

/* "Already know?" — a quiet row after the composer. */
.axp-ai .axp-ai-manual{padding-top:12px;border-top:1px dashed var(--c-line)}
.axp-ai .axp-ai-ml{color:var(--c-ink);font-size:.86rem}
.axp-ai .axp-ai-safe{display:flex;gap:8px;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;color:var(--c-muted);font-size:.78rem;line-height:1.6}
.axp-ai .axp-ai-safe svg{flex:0 0 16px;width:16px;height:16px;color:var(--c-brand)}

/* ---- step 2: the confirmation card, then the place */
.cx-ai-card{display:flex;align-items:center;gap:14px;padding:14px;border-radius:var(--cx-r-card);border:1px solid var(--c-sea);background:var(--c-foam)}
.cx-ai-card-arch{flex:0 0 52px;display:grid;place-items:center;width:52px;height:62px;border-radius:var(--cx-r-arch);background:var(--c-sea);color:var(--c-ink-deep)}
.cx-ai-card-arch .axp-hs-ico{position:static;width:24px;height:24px;padding:0;background:none;color:inherit;transform:none}
.cx-ai-card-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.axp-ai .cx-ai-card .axp-ai-chosen-l{font-size:.76rem;font-weight:700;color:var(--c-muted)}
.axp-ai .cx-ai-card b{font-size:1.15rem;line-height:1.3;color:var(--c-ink)}
.axp-ai .cx-ai-card .axp-ai-link{flex:0 0 auto;min-height:44px;padding:0 14px;border:1px solid var(--c-field-line);border-radius:999px;background:var(--c-card);
	color:var(--cx-link);font-weight:700;text-decoration:none}
.axp-ai .cx-ai-card .axp-ai-link:hover{border-color:var(--cx-link)}
.axp-ai .axp-ai-link:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-ai-where{display:flex;align-items:center;gap:8px;margin:4px 0 -4px;font-size:.86rem;font-weight:700;color:var(--c-ink)}
.cx-ai-where::before{content:"";flex:0 0 22px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}

/* ---- foot: one wide bar. With more to read below the fold (.cx-ai-more, alex-search-form.js), the
   last visible line fades into it instead of being sliced by its top edge. */
.axp-ai .axp-ai-foot::before{content:"";position:absolute;bottom:100%;inset-inline:0;height:40px;margin-bottom:1px;pointer-events:none;
	background:linear-gradient(to bottom,transparent,var(--c-page) 85%);opacity:0;transition:opacity var(--cx-dur) var(--cx-ease)}
.axp-ai.cx-ai-more .axp-ai-foot::before{opacity:1}
.axp-ai .axp-ai-foot{position:relative;display:flex;padding:12px 16px;padding-bottom:calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--c-line);background:var(--c-card)}
.axp-ai .axp-ai-next{flex:1 1 100%;width:100%;min-height:56px;justify-content:space-between;padding-inline:24px 8px;border-radius:999px;
	background:var(--cx-primary-bg);color:var(--cx-primary-ink);font-size:1.02rem}
.axp-ai .axp-ai-next .axp-hs-arrow{width:40px;height:40px;padding:10px;border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep)}
[dir="ltr"] .axp-ai .axp-ai-next .axp-hs-arrow{transform:scaleX(-1)}
.axp-ai .axp-ai-next:hover{background:var(--cx-primary-hover);filter:none}
.axp-ai .axp-ai-next:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}

/* The wizard's own place fields use the tile language too (they live outside the form). */
.axp-ai .axp-hs-fld{position:relative;gap:6px}
.axp-ai .axp-hs-fld>.axp-hs-l{position:absolute;z-index:2;top:10px;inset-inline-start:58px;inset-inline-end:42px;margin:0;pointer-events:none;
	font-size:.74rem;font-weight:700;color:var(--c-muted);white-space:nowrap;overflow:hidden;display:flex;align-items:center;gap:4px}
.axp-ai .axp-hs-num{display:none}
.axp-ai .axp-hs-selwrap .axp-hs-ico{box-sizing:content-box;width:20px;height:20px;padding:8px;inset-inline-start:12px;border-radius:50%;background:var(--c-foam);color:var(--c-brand);z-index:1}
.axp-ai .axp-pk-btn,.axp-ai .axp-hs-selwrap select{min-height:62px;border-radius:var(--cx-r-ctl);border-color:var(--c-field-line);background:var(--c-card);
	padding-inline-start:58px;padding-inline-end:42px}
.axp-ai .axp-hs-fld .axp-pk-btn{padding-top:24px;padding-bottom:7px}
.axp-ai .axp-ai-manual .axp-pk-btn{padding-block:6px}
.axp-ai .axp-pk-v{font-weight:700}
.axp-ai .axp-pk-btn.is-ph .axp-pk-v{font-weight:400}
.axp-ai .axp-pk-btn:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.axp-ai .axp-hs-seg{display:flex;gap:8px;border:0;background:transparent;overflow:visible}
.axp-ai .axp-hs-seg label{flex:1 1 0;min-height:46px;border-radius:999px;border:1px solid var(--c-field-line);background:var(--c-card);color:var(--c-body);font-weight:700}
.axp-ai .axp-hs-seg label + input + label{border-inline-start:1px solid var(--c-field-line)}
.axp-ai .axp-hs-seg input:checked + label{background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.axp-ai .axp-hs-seg input:focus-visible + label{outline:3px solid var(--cx-focus);outline-offset:2px}
.axp-ai .axp-hs-sep{font-size:.82rem;color:var(--c-ink)}
.axp-ai .axp-hs-sep::after{border-top:1px solid var(--c-line)}
/* Phones: a sheet rising to just under the top edge. */
@media (max-width:719px){
	.axp-ai,.axp-ai[open]{inset:auto 0 0 0;top:auto;margin:0;width:100%;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}
	.axp-ai-in{border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;border:0;border-top:1px solid var(--cx-card-border)}
	.axp-ai .axp-ai-head{padding:24px 12px 10px}
	.cx-ai-grab{display:block}
	.axp-ai .axp-ai-prog{inset-inline:28px;top:auto;bottom:-3px;height:5px;border-radius:5px;overflow:hidden}
	.axp-ai .axp-ai-body{padding:16px 14px 0}
	.axp-ai .axp-ai-out{padding-inline-start:0}
	.cx-ai-bub{max-width:100%}
}
@media (prefers-reduced-motion:reduce){.axp-ai .axp-ai-dot,.axp-ai .axp-ai-cnt::before,.axp-ai .axp-ai-opt{transition:none}}
@media (forced-colors:active){.axp-ai .axp-ai-opt input{-webkit-appearance:auto;appearance:auto}.axp-ai .axp-ai-dot.is-on,.axp-ai .axp-ai-dot.is-done{background:Highlight}}

/* Validation popup: a Coast card; the fixes are pills. */
.axp-vd{font-family:var(--cx-font)}
.axp-vd-in{border-radius:var(--cx-r-card);background:var(--c-card);box-shadow:var(--cx-shadow-pop);border:1px solid var(--cx-card-border);
	padding:24px 22px 20px;align-items:stretch;text-align:start}
.axp-vd-ic{width:56px;height:64px;border-radius:var(--cx-r-arch);background:var(--c-foam);color:var(--c-brand);align-self:flex-start}
.axp-vd-t{font-size:1.2rem;color:var(--c-ink);text-align:start}
.axp-vd-fix{min-height:54px;border-radius:999px;border:1px solid rgba(180,35,24,.35);background:#FFF5F5;color:#8A1C14}
.axp-vd-fix:hover{border-color:#B42318}
.axp-vd-fix .axp-hs-num{background:#B42318;color:#fff}
.axp-vd-ok{min-height:52px;border-radius:999px;background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.axp-vd-ok:focus-visible,.axp-vd-fix:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.axp-vd-alt a{color:var(--cx-link)}
@media (max-width:719px){
	.axp-vd-in{border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0}
}

/* -------------------------------------------------------------------------------------------------
   7. LISTING PAGE
   ------------------------------------------------------------------------------------------------- */
/* The head: ONE navy block in three strips — [eyebrow · H1 · "N doctors on this list"], the
   sticky question line, [match note · lede] ending in a wave. The trail and the share chip are at
   the END of the list (.cx-lst-end). */
.cx-lst-hero{--cx-band-next:var(--c-page)}
.cx-lst-top{padding-block:clamp(16px,2.4vw,28px) 6px}
.cx-lst-top::before{content:"";position:absolute;z-index:-1;inset-block:0;inset-inline-end:0;width:min(46vw,520px);pointer-events:none;
	background:radial-gradient(60% 80% at 60% 20%,rgba(46,155,214,.2),transparent 72%)}
.cx-lst-hero .sec-wash--list{margin:0}
.cx-lst-hero .results-head{margin:0;display:block}
.cx-lst-hero .results-head-t{max-width:820px}
.cx-lst-hero .eyebrow{color:var(--c-sky)}
.cx-lst-hero .eyebrow::before{background:var(--c-sky)}
.cx-lst-hero .results-head .h-sec{font-size:clamp(1.6rem,1.1rem + 2.2vw,2.6rem);line-height:var(--cx-lh-tight);color:var(--c-on-band);margin:0 0 .5rem}
/* The count: a quiet line under the H1 — the number in sea, the words in light navy ink. */
.cx-lst-top .cx-lst-count{display:inline-flex;align-items:baseline;gap:6px;margin:0;color:var(--c-on-band-2);font-size:.95rem}
.cx-lst-top .cx-lst-count strong{font-size:1.35rem;line-height:1;color:var(--c-sea-hi);font-variant-numeric:tabular-nums}
.cx-lst-lede{padding-block:4px calc(var(--cx-wave-h) * .5 + clamp(18px,2.6vw,34px))}
.cx-lst-lede .wrap{display:flex;flex-direction:column;gap:10px}
.cx-lst-lede .wrap:empty{display:none}
.cx-lst-hero .sub-sec{color:var(--c-on-band-2);font-size:1rem;line-height:1.75;max-width:66ch;margin:0}
.cx-lst-hero .match-note{margin:0;background:rgba(255,255,255,.07);border:1px solid var(--c-on-band-line);color:var(--c-on-band-2);border-radius:14px}
.cx-lst-hero .match-note a{color:var(--c-sky)}
/* The question line sits INSIDE the navy block — no seam above it. */
.cx-lst-top+.cx-lst-sb.search-bar{border-top:0;box-shadow:none}

.cx-lst.sec-results{padding-top:clamp(8px,1.6vw,18px)}
/* Anchors and focus jumps must clear the header AND the sticky search bar on listings. */
html:has(.cx-lst-sb){scroll-padding-top:calc(var(--cx-head-h) + 96px)}

/* The toolbar — refine · who first. Wide screens: a slim row at the end of the line above the
   list. Phones and tablets: a floating TIDE BAR at the bottom of the screen, two halves, riding
   just above the dock. */
.cx-lst .cx-lst-tool{display:flex;align-items:center;justify-content:flex-end;gap:10px 14px;margin:0 0 12px}
.cx-lst .cx-lst-sort{display:flex;align-items:center;gap:8px;margin:0}
.cx-lst .cx-lst-sort .sort-select{font-size:.88rem;color:var(--c-ink);font-weight:800;white-space:nowrap}
.cx-lst .cx-lst-sort select{min-height:44px;max-width:none;border-radius:999px;border:1px solid var(--c-field-line);background-color:var(--c-card);
	color:var(--c-ink);font-family:inherit;font-size:.92rem;font-weight:700;-webkit-appearance:none;appearance:none;cursor:pointer;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A8E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-size:18px 18px}
[dir="rtl"] .cx-lst .cx-lst-sort select{background-position:right 12px center;padding-right:38px;padding-left:16px}
[dir="ltr"] .cx-lst .cx-lst-sort select{background-position:left 12px center;padding-left:38px;padding-right:16px}
.cx-lst .cx-lst-sort select:hover{border-color:var(--cx-link)}
.cx-lst .cx-lst-sort select:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-lst .sort-go{border-radius:999px}

@media (max-width:1023px){
	.cx-lst .cx-lst-tool.cx-tidebar{position:fixed;z-index:calc(var(--cx-z-dock) - 1);inset-inline:var(--cx-dock-gap);margin:0 auto;max-width:520px;
		bottom:max(calc(var(--cx-dock-space) - var(--cx-dock-gap) + 8px),calc(12px + env(safe-area-inset-bottom)));
		display:flex;align-items:stretch;justify-content:stretch;gap:0;min-height:56px;padding:5px;
		border-radius:999px;border:1px solid var(--cx-card-border);background:var(--c-card);box-shadow:var(--cx-shadow-dock)}
	.cx-lst .cx-tidebar>*{flex:1 1 0;min-width:0}
	.cx-lst .cx-tidebar .ax-sheet-open{justify-content:center;min-height:46px;margin:0;border-radius:999px}
	.cx-lst .cx-tidebar .cx-lst-sort{position:relative;justify-content:center;gap:0}
	.cx-lst .cx-tidebar .ax-sheet-open+.cx-lst-sort::before{content:"";position:absolute;inset-inline-start:0;top:10px;bottom:10px;width:1px;background:var(--c-line)}
	.cx-lst .cx-tidebar .cx-lst-sort .sort-select{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	.cx-lst .cx-tidebar .cx-lst-sort select{flex:1 1 auto;width:100%;min-width:0;min-height:46px;border:0;border-radius:999px;background-color:transparent;
		text-overflow:ellipsis;font-size:.88rem;color:var(--cx-link)}
	.cx-lst .cx-tidebar .cx-lst-sort select:hover{background-color:var(--c-foam-2)}
	.cx-lst .cx-tidebar .sort-go{flex:0 0 auto;min-height:44px;margin-inline-start:4px}
	.cx-lst .cx-lst-tool.cx-tidebar{transition:transform var(--cx-dur-sheet) var(--cx-ease),opacity var(--cx-dur-sheet) var(--cx-ease),visibility 0s}
	.cx-lst .cx-lst-tool.cx-tidebar.is-away:not(:focus-within){transform:translateY(140%);opacity:0;visibility:hidden;
		transition:transform var(--cx-dur-sheet) var(--cx-ease),opacity var(--cx-dur-sheet) var(--cx-ease),visibility 0s var(--cx-dur-sheet)}
	/* Room under the list so the bar never sits on the last card or the pager. */
	.cx-lst .cx-lst-results{padding-bottom:76px}
	.cx-lst .cx-lst-end{margin-top:0}
}
/* The narrowest phones: two equal halves cut English "Directory order" to "Directory or…". Refine
   takes only the width its label needs and the sort half gets the rest, with a tighter icon gap. */
@media (max-width:374px){
	.cx-lst .cx-lst-tool.cx-tidebar{flex-wrap:nowrap}
	.cx-lst .cx-tidebar .ax-sheet-open{flex:0 0 auto;padding-inline:14px 16px}
	[dir="rtl"] .cx-lst .cx-tidebar .cx-lst-sort select{background-position:right 10px center;padding-right:34px;padding-left:10px}
	[dir="ltr"] .cx-lst .cx-tidebar .cx-lst-sort select{background-position:left 10px center;padding-left:34px;padding-right:10px}
}

/* The list's closing line: "useful list? send it" + share, then the trail. */
.cx-lst .cx-lst-end{display:flex;flex-direction:column;gap:14px;margin-top:clamp(24px,3vw,36px);padding:16px 18px;border-radius:var(--cx-r-card);
	border:1px dashed var(--c-field-line);background:var(--c-card)}
.cx-lst .cx-lst-end-share{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.cx-lst .cx-lst-end-l{font-weight:700;color:var(--c-ink);font-size:.95rem}
.cx-lst .cx-lst-end .share-chip{min-height:44px;border-radius:999px;border:1px solid var(--c-sea);background:var(--c-foam);color:var(--cx-chip-ink)}
.cx-lst .cx-lst-end .share-chip:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-lst .cx-lst-end .crumbs{margin:0;padding-top:12px;border-top:1px solid var(--c-line);color:var(--c-muted);font-size:.84rem}
.cx-lst .cx-lst-end .crumbs a{color:var(--cx-link)}
.cx-lst .cx-lst-end .crumb-sep{color:var(--c-sea)}
.cx-lst .cx-lst-end .crumb-cur{color:var(--c-body)}

/* The filter opener (phones/tablets). */
.cx-lst .ax-sheet-open{position:relative;min-height:44px;padding-inline:16px 18px;border-radius:999px;border:0;background:var(--cx-primary-bg);color:var(--cx-primary-ink);
	box-shadow:none;font-size:.9rem;font-weight:800;text-decoration:none}
.cx-lst .ax-sheet-open:hover{background:var(--cx-primary-hover)}
.cx-lst .ax-sheet-open svg{color:currentColor}
/* The number of refinements in play: a small sea arch hanging off the label, not a round badge. */
.cx-lst .ax-sheet-n{min-width:22px;height:24px;padding:0 6px;border-radius:999px 999px 6px 6px;background:var(--c-sea);color:var(--c-ink-deep);font-size:.76rem;line-height:24px}

/* Quick toggles: "TIDE SWITCHES" — one continuous foam strip; each refinement a segment with a
   small switch at its start that floods sea-blue when on. Still links (aria-current when on). On a
   phone the strip scrolls sideways under a soft fade at its end. */
.cx-lst .quick-rail.cx-qsw{display:flex;flex-wrap:nowrap;gap:0;margin:0;padding:4px;border-radius:999px;background:var(--c-foam-2);
	border:1px solid var(--c-line);overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;max-width:100%;width:fit-content}
.cx-lst .quick-rail.cx-qsw::-webkit-scrollbar{display:none}
.cx-lst .cx-qsw .qchip.cx-qsw-i{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;min-height:44px;margin:0;
	padding-inline:10px 14px;border:0;border-radius:999px;background:transparent;color:var(--c-body);font-size:.86rem;font-weight:700;
	white-space:nowrap;text-decoration:none;box-shadow:none;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-lst .cx-qsw .qchip.cx-qsw-i::before,.cx-lst .cx-qsw .qchip.cx-qsw-i::after{content:none}
.cx-lst .cx-qsw .qchip.cx-qsw-i+.qchip.cx-qsw-i{margin-inline-start:2px}
.cx-lst .cx-qsw .qchip.cx-qsw-i+.qchip.cx-qsw-i:not(.is-on)::before{content:"";position:absolute;inset-inline-start:-2px;top:12px;bottom:12px;width:1px;background:var(--c-line)}
.cx-lst .cx-qsw .qchip.is-on+.qchip.cx-qsw-i::before{content:none}
/* The switch: a 26×14 track with a knob that slides to the far end. */
.cx-lst .cx-qsw-tg{position:relative;flex:0 0 26px;width:26px;height:14px;border-radius:999px;background:var(--c-field-line);
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-lst .cx-qsw-tg::after{content:"";position:absolute;top:2px;inset-inline-start:2px;width:10px;height:10px;border-radius:50%;background:#fff;
	box-shadow:0 1px 2px rgba(6,26,51,.3);transition:inset-inline-start var(--cx-dur) var(--cx-ease)}
.cx-lst .cx-qsw .qchip.cx-qsw-i:hover{background:var(--c-card);color:var(--cx-link)}
.cx-lst .cx-qsw .qchip.cx-qsw-i.is-on{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-lst .cx-qsw .qchip.is-on .cx-qsw-tg{background:var(--c-ink-deep)}
.cx-lst .cx-qsw .qchip.is-on .cx-qsw-tg::after{inset-inline-start:14px;background:var(--c-sea-hi)}
.cx-lst .cx-qsw .qchip.cx-qsw-i:focus-visible{outline:3px solid var(--cx-focus);outline-offset:-3px}
@media (min-width:1024px){
	.cx-lst .quick-rail.cx-qsw{flex-wrap:wrap;overflow:visible;border-radius:24px}
}
/* Narrower than the desktop rail: the strip WRAPS into a board of switches (rows that fill the width)
   instead of scrolling sideways under a fade — a switch cut in half at the edge read as a broken
   control. The hairline dividers give way to small gaps, since a row can now start anywhere. */
@media (max-width:1023px){
	.cx-lst .quick-rail.cx-qsw{width:auto;flex-wrap:wrap;gap:4px;overflow:visible;border-radius:22px;-webkit-mask-image:none;mask-image:none}
	.cx-lst .cx-qsw .qchip.cx-qsw-i{flex:1 1 auto;min-width:0}
	.cx-lst .cx-qsw .qchip.cx-qsw-i+.qchip.cx-qsw-i{margin-inline-start:0}
	.cx-lst .cx-qsw .qchip.cx-qsw-i+.qchip.cx-qsw-i:not(.is-on)::before{content:none}
	.cx-lst .cx-qsw .qchip.cx-qsw-i:not(.is-on){background:var(--c-card)}
	.cx-lst .cx-qsw .qchip.cx-qsw-i:not(.is-on):hover{background:var(--c-foam)}
}
/* A phone: an even two-column board (three rows for the six switches), a long label on two lines. */
@media (max-width:599px){
	.cx-lst .quick-rail.cx-qsw{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
	.cx-lst .cx-qsw .qchip.cx-qsw-i{white-space:normal;line-height:1.3;padding-block:6px;padding-inline:10px 8px}
	.cx-lst .cx-qsw .qchip.cx-qsw-i:last-child:nth-child(odd){grid-column:1/-1}
}

/* The fee and rating groups as a RAIL: the stops sit on one track (a slider you tap), the chosen
   stop a filled sea knob; the labels under the stops. Same links, same values. */
.cx-lst .fopts.cx-frail{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0;padding:6px 0 4px}
.cx-lst .fopts.cx-frail::before{content:"";position:absolute;top:27px;inset-inline:10%;height:4px;border-radius:4px;background:var(--c-line)}
.cx-lst .fopts.cx-frail>li{flex:1 1 0;min-width:0;display:flex}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;
	min-height:64px;padding:12px 2px 6px;border-radius:12px;background:transparent;color:var(--c-body);font-size:.8rem;font-weight:700;text-align:center}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i .fopt-box{display:block;position:relative;z-index:1;width:18px;height:18px;border-radius:50%;border:3px solid var(--c-field-line);
	background:var(--c-card);box-sizing:border-box;background-image:none}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i .fopt-label{flex:0 0 auto;white-space:nowrap}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i .fopt-label svg{width:12px;height:12px;vertical-align:-1px;color:var(--c-brand)}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i:hover .fopt-box{border-color:var(--c-sea)}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i.is-on{color:var(--cx-link)}
.cx-lst .fopts.cx-frail .fopt.cx-frail-i.is-on .fopt-box{width:24px;height:24px;margin-top:-3px;margin-bottom:-3px;border:4px solid var(--c-card);background:var(--c-sea);
	background-image:none;box-shadow:0 0 0 2px var(--c-sea)}
.cx-lst .cx-frail-u{margin:0 0 12px;font-size:.76rem;color:var(--c-muted);text-align:center}

.cx-lst .cx-lst-filters{position:relative;margin-bottom:12px}

/* Phones/tablets: the filter dialog is a Coast BOTTOM sheet (was a slide-over from the side). */
@media (max-width:1023px){
	.cx-lst .ax-sheet[open],.cx-lst .ax-sheet:target{align-items:flex-end;justify-content:center}
	.cx-lst .ax-sheet::backdrop{background:rgba(4,14,27,.55)}
	.cx-lst .ax-sheet-panel,[dir="ltr"] .cx-lst .ax-sheet-panel{width:100%;height:auto;max-height:min(88dvh,calc(100dvh - 40px));
		border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;background:var(--c-card);box-shadow:0 -12px 48px rgba(4,14,27,.35);
		animation:cx-sheet-up var(--cx-dur-sheet) var(--cx-ease)}
	.cx-lst .ax-sheet-head{position:relative;padding:24px 20px 12px;border-bottom:1px solid var(--c-line)}
	@media (min-width:720px){
		.cx-lst .ax-sheet-panel,[dir="ltr"] .cx-lst .ax-sheet-panel{width:min(100%,680px)}
	}
	.cx-lst .ax-sheet-head::before{content:"";position:absolute;top:9px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:5px;background:var(--c-line)}
	.cx-lst .ax-sheet-head h2{font-size:1.18rem;color:var(--c-ink)}
	.cx-lst .ax-sheet-x{border-radius:50%;background:var(--c-foam);color:var(--c-brand);font-size:1.5rem}
	.cx-lst .ax-sheet-x:hover{background:var(--c-sea);color:var(--c-ink-deep)}
	.cx-lst .ax-sheet-body{padding:6px 20px 16px}
	.cx-lst .ax-sheet-foot{padding:12px 20px;padding-bottom:calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--c-line);background:var(--c-card)}
	.cx-lst .ax-sheet-foot .btn{min-height:52px}
	/* Inside the sheet each facet group is a section with chip options. */
	.cx-lst .ax-sheet-body>.fgroup{border-bottom:1px solid var(--c-line-2)}
	.cx-lst .ax-sheet-body .fopts{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 14px}
	.cx-lst .ax-sheet-body .fopts>li{display:flex}
	.cx-lst .ax-sheet-body .fopts.has-more>li.fopt-extra{display:none}
	.cx-lst .ax-sheet-body .fopts-toggle:checked+.fopts>li.fopt-extra{display:flex}
	.cx-lst .ax-sheet-body .fopt{min-height:44px;padding:0 14px;gap:8px;border-radius:999px;background:var(--cx-chip-bg);color:var(--cx-chip-ink);font-weight:700;font-size:.88rem}
	.cx-lst .ax-sheet-body .fopt:hover{background:var(--cx-chip-bg);box-shadow:inset 0 0 0 1px var(--cx-link);color:var(--cx-link)}
	.cx-lst .ax-sheet-body .fopt-box{display:none}
	.cx-lst .ax-sheet-body .fopt-label{flex:0 1 auto}
	.cx-lst .ax-sheet-body .fopt.is-on{background:var(--cx-chip-on-bg);color:var(--cx-chip-on-ink)}
	.cx-lst .ax-sheet-body .fopt.is-on .fopt-n{color:inherit;opacity:.85}
	.cx-lst .ax-sheet-body .fopt-more{min-height:44px;padding:0 6px}
}
@keyframes cx-sheet-up{from{transform:translateY(100%)}to{transform:none}}

/* The facet group's summary and options (both layouts). */
.cx-lst .fgroup>summary{color:var(--c-ink);font-size:.95rem}
.cx-lst .fgroup>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:12px}
.cx-lst .fgroup-on{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-lst .fopt{border-radius:12px}
.cx-lst .fopt:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-lst .fopt-n{color:var(--c-muted)}
.cx-lst .fopt-more{color:var(--cx-link);text-decoration:none}
.cx-lst .fopt-more:hover{text-decoration:underline;text-underline-offset:.25em}

/* Desktop: the filter panel is a RAIL of facet pills; each opens its options as a panel under the
   rail (alex-search.js keeps it to one at a time). */
@media (min-width:1024px){
	.cx-lst .cx-lst-filters{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
	.cx-lst .ax-sheet,.cx-lst .ax-sheet[open],.cx-lst .ax-sheet:not([open]){position:relative;margin:0}
	.cx-lst .ax-sheet-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:8px 16px;width:100%;padding:0;border:0;border-radius:0;
		background:transparent;box-shadow:none}
	.cx-lst .ax-sheet-body{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;columns:auto;padding:0;overflow:visible}
	.cx-lst .ax-sheet-body>.fgroup{position:static;margin:0;border:0;break-inside:auto}
	.cx-lst .ax-sheet-body>.fgroup>summary{min-height:44px;padding-inline:16px 14px;gap:8px;border-radius:999px;
		border:1px solid var(--c-field-line);background:var(--c-card);font-size:.9rem;
		transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
	.cx-lst .ax-sheet-body>.fgroup>summary:hover{border-color:var(--cx-link);color:var(--cx-link)}
	.cx-lst .ax-sheet-body>.fgroup>summary::after{margin-inline-start:2px}
	.cx-lst .ax-sheet-body>.fgroup:has(.fgroup-on)>summary{border-color:var(--c-sea);background:var(--c-foam)}
	.cx-lst .ax-sheet-body>.fgroup[open]>summary{background:var(--cx-chip-on-bg);border-color:transparent;color:var(--cx-chip-on-ink)}
	.cx-lst .ax-sheet-body>.fgroup[open]>summary::after{border-color:currentColor}
	/* The options panel: anchored to the rail, full width, a grid of option rows. */
	.cx-lst .ax-sheet-body>.fgroup>.fopts{position:absolute;z-index:30;top:calc(100% + 10px);inset-inline:0;
		display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:2px 18px;align-content:start;
		max-height:min(56vh,440px);overflow-y:auto;overscroll-behavior:contain;padding:14px 16px;
		border-radius:var(--cx-r-card);border:1px solid var(--cx-card-border);background:var(--c-card);box-shadow:var(--cx-shadow-pop);
		animation:cx-pop-in .16s var(--cx-ease)}
	.cx-lst .ax-sheet-body>.fgroup>.fopts>li:has(.fopt-more){grid-column:1/-1}
	/* The two rails drop down as a slider-width panel, not a full-width grid. */
	.cx-lst .ax-sheet-body>.fgroup:is(.cx-fg--fee,.cx-fg--rating){position:relative}
	.cx-lst .ax-sheet-body>.fgroup>.fopts.cx-frail{display:flex;width:min(480px,calc(100vw - 48px));inset-inline-end:auto;padding:14px 18px 8px}
	.cx-lst .ax-sheet-body>.fgroup>.fopts.cx-frail::before{top:35px}
	.cx-lst .ax-sheet-body>.fgroup>.cx-frail-u{display:none}
	.cx-lst .fopt{min-height:46px;padding-inline:10px;color:var(--c-body)}
	.cx-lst .ax-sheet-body .fopt-label{flex:0 1 auto}
	.cx-lst .ax-sheet-body .fopt-n{min-width:24px;padding:0 8px;border-radius:999px;background:var(--c-foam);color:var(--cx-chip-ink);
		font-size:.76rem;font-weight:700;line-height:1.7;text-align:center}
	.cx-lst .fopt:hover{background:var(--c-foam);color:var(--cx-link)}
	.cx-lst .fopt-box{border-radius:6px;border-color:var(--c-field-line)}
	.cx-lst .fopt.is-on{color:var(--cx-link)}
	.cx-lst .fopt.is-on .fopt-box{background-color:var(--c-sea);border-color:var(--c-sea);
		background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304202F' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
	.cx-lst .ax-sheet-foot{flex:0 0 auto;display:flex;gap:8px;padding:0;border:0;background:transparent;margin-inline-start:auto}
	.cx-lst .ax-sheet-foot .btn{min-height:44px;padding-inline:16px;font-size:.88rem;flex:0 0 auto}
	/* The sheet's "see N results" link closes the PHONE sheet; on the always-open desktop rail it
	   has nothing to close and only repeated the count beside the pills. */
	.cx-lst .ax-sheet-foot .btn-primary[data-close-filters]{display:none}
	.cx-lst .quick-rail{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}
	.cx-lst .quick-rail:not(:focus-within){-webkit-mask-image:none;mask-image:none}
}
@keyframes cx-pop-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* Applied filters: removable foam chips with a round ×. */
.cx-lst .active-filters{align-items:center;gap:8px;margin:0 0 16px}
.cx-lst .chip-active{min-height:44px;gap:8px;padding-inline:14px 6px;border:1px solid var(--c-sea);border-radius:999px;background:var(--c-foam);
	color:var(--cx-chip-ink);font-size:.86rem;font-weight:700}
.cx-lst .chip-active:hover{background:var(--c-foam);border-color:var(--cx-link)}
.cx-lst .chip-active:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-lst .chip-x{width:28px;height:28px;background:var(--c-card);color:var(--c-brand);font-size:1rem}
.cx-lst .chip-active:hover .chip-x{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-lst .chip-clear{min-height:44px;color:var(--cx-link);text-decoration:none;font-weight:700}
.cx-lst .chip-clear:hover{text-decoration:underline;text-underline-offset:.25em}

/* The list: ONE column of ticket cards (the card itself lives in 40-doctor.css §6b). Every .ax-grid —
   the results and the zero-result .fb-cards — is a single column and a size container, so the card
   switches between its compact and ticket anatomy on its OWN width, not the viewport's. */
.ax-grid{grid-template-columns:minmax(0,1fr);container:axg / inline-size}
.cx-lst .ax-grid{grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.8vw,18px)}
.ax-grid.fb-cards{gap:14px}

/* Pagination: one white capsule of round numbers. */
.cx-lst .cx-lst-pager.pager{width:fit-content;max-width:100%;margin:clamp(24px,3vw,36px) auto 0;padding:6px;gap:4px;border-radius:999px;
	background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card)}
.cx-lst .cx-lst-pager .page-numbers{min-width:44px;min-height:44px;border:0;border-radius:999px;background:transparent}
.cx-lst .cx-lst-pager .page-numbers:hover{background:var(--c-foam)}
.cx-lst .cx-lst-pager .page-numbers.current{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.cx-lst .cx-lst-pager .page-numbers:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}

/* Empty state: start-aligned, an arch with the search glyph, pill actions. */
.cx-lst .empty-state{position:relative;text-align:start;border-radius:var(--cx-r-card);border:1px solid var(--cx-card-border);background:var(--c-card);
	box-shadow:var(--cx-shadow-card);padding:clamp(20px,3vw,32px);padding-inline-start:calc(clamp(20px,3vw,32px) + 84px);min-height:132px}
.cx-lst .empty-state::before{content:"";position:absolute;top:clamp(20px,3vw,32px);inset-inline-start:clamp(20px,3vw,32px);width:64px;height:78px;
	border-radius:var(--cx-r-arch);background:var(--c-foam)}
.cx-lst .empty-state::after{content:"";position:absolute;top:calc(clamp(20px,3vw,32px) + 27px);inset-inline-start:calc(clamp(20px,3vw,32px) + 18px);
	width:28px;height:28px;background:var(--c-brand);
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat}
.cx-lst .empty-state h2{font-size:1.25rem;color:var(--c-ink);margin:0 0 .3rem}
.cx-lst .empty-lead{color:var(--c-body)}
.cx-lst .empty-relax,.cx-lst .empty-help{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px}
.cx-lst .empty-help{border-top:1px solid var(--c-line)}
.cx-lst .empty-state .chips{justify-content:flex-start}
.cx-lst .empty-suggest a{color:var(--cx-link)}
@media (max-width:519px){
	.cx-lst .empty-state{padding-inline-start:clamp(20px,3vw,32px);padding-top:calc(clamp(20px,3vw,32px) + 92px)}
}

/* Zero-result fallback: each nearby area is a station card. */
.cx-lst .fb-block{margin-top:clamp(24px,3vw,36px)}
.cx-lst .fb-h{font-size:var(--cx-fs-h3);color:var(--c-ink)}
.cx-lst .fb-lead{color:var(--c-body)}
.cx-lst .fb-group{position:relative;border-radius:var(--cx-r-card);border:1px solid var(--cx-card-border);background:var(--c-foam-2);box-shadow:none;
	padding:clamp(14px,2.4vw,22px)}
.cx-lst .fb-group-head{align-items:center}
.cx-lst .fb-area{display:flex;align-items:center;gap:10px}
.cx-lst .fb-area::before{content:"";flex:0 0 14px;width:14px;height:14px;border-radius:50%;border:3px solid var(--c-sea);background:var(--c-card);box-sizing:border-box}
.cx-lst .fb-area a{color:var(--c-ink)}
.cx-lst .fb-area a:hover{color:var(--cx-link)}
.cx-lst .fb-km{background:var(--c-card);border:0;color:var(--cx-chip-ink);padding:.2rem .7rem}
.cx-lst .fb-count{color:var(--c-muted)}

/* Trailing content. */
.cx-lst .cx-lst-intro.ax-panel{margin-top:clamp(32px,4vw,56px);max-width:none;border-radius:var(--cx-r-card);border:0;background:var(--c-foam);
	box-shadow:none;color:var(--c-body);padding:clamp(20px,3vw,36px);position:relative;overflow:hidden}
.cx-lst .cx-lst-intro.ax-panel::after{content:"";position:absolute;inset-inline:0;bottom:0;height:10px;background:var(--c-sea);opacity:.35;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.cx-lst .cx-lst-intro p{max-width:72ch}
.cx-lst .h-sub{display:flex;align-items:center;gap:10px;font-size:var(--cx-fs-h3);color:var(--c-ink);margin-bottom:1rem}
.cx-lst .h-sub::before{content:"";flex:0 0 24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-lst .cx-lst-mesh{margin-top:clamp(32px,4vw,56px)}
.cx-lst .cx-lst-mesh .chips{gap:8px}
.cx-lst .cx-lst-mesh .chip{min-height:44px}
/* "People also looked for": tram stations — a sea station ring at the start of each stop, on a
   dashed ticket edge, not the siblings' plain chips. */
.cx-lst .cx-lst-stations .chip{gap:10px;padding-inline:12px 16px;border:1px dashed var(--c-field-line);background:var(--c-card);color:var(--c-ink)}
.cx-lst .cx-lst-stations .chip::before{content:"";flex:0 0 12px;width:12px;height:12px;border-radius:50%;border:3px solid var(--c-sea);
	background:var(--c-card);box-sizing:border-box}
.cx-lst .cx-lst-stations .chip:hover{border-style:solid;border-color:var(--c-sea);background:var(--c-foam);color:var(--cx-link)}
.cx-lst .cx-lst-stations .chip:hover::before{background:var(--c-sea)}
.cx-lst .cx-lst-faq{margin-top:clamp(32px,4vw,56px)}
.cx-lst .cx-lst-faq .ax-faq-i{border-radius:20px;border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card)}
.cx-lst .cx-lst-faq .ax-faq-i>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:12px}
@media (min-width:960px){
	.cx-lst .cx-lst-faq{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:40px;align-items:start}
	.cx-lst .cx-lst-faq>.h-sub{position:sticky;top:calc(var(--nav-h) + 110px);font-size:var(--cx-fs-h2);line-height:1.18;flex-direction:column;align-items:flex-start}
}

/* -------------------------------------------------------------------------------------------------
   8. DARK, MOTION, FORCED COLOURS
   ------------------------------------------------------------------------------------------------- */
:root[data-theme="dark"] .cx-sf .axp-pk-btn[aria-invalid="true"],:root[data-theme="dark"] .cx-sf select[aria-invalid="true"]{background:#2A1416;border-color:#F97066;box-shadow:0 0 0 1px #F97066}
:root[data-theme="dark"] .cx-sf .axp-hs-err{color:#FDA29B}
:root[data-theme="dark"] .cx-sf .axp-hs-err::before{background:#FDA29B}
:root[data-theme="dark"] .cx-sf .axp-hs-req{color:#FDA29B}
:root[data-theme="dark"] .axp-vd-fix{background:#2A1416;color:#FECDCA;border-color:rgba(249,112,102,.45)}
:root[data-theme="dark"] .cx-lst .cx-lst-sort select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FB4EE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .cx-sf--page .axp-hs-check:has(input:checked){color:var(--c-ink)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-sf .axp-pk-btn[aria-invalid="true"],:root:not([data-theme="light"]) .cx-sf select[aria-invalid="true"]{background:#2A1416;border-color:#F97066;box-shadow:0 0 0 1px #F97066}
	:root:not([data-theme="light"]) .cx-sf .axp-hs-err{color:#FDA29B}
	:root:not([data-theme="light"]) .cx-sf .axp-hs-err::before{background:#FDA29B}
	:root:not([data-theme="light"]) .cx-sf .axp-hs-req{color:#FDA29B}
	:root:not([data-theme="light"]) .axp-vd-fix{background:#2A1416;color:#FECDCA;border-color:rgba(249,112,102,.45)}
	:root:not([data-theme="light"]) .cx-lst .cx-lst-sort select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FB4EE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E")}
	:root:not([data-theme="light"]) .cx-sf--page .axp-hs-check:has(input:checked){color:var(--c-ink)}
}

/* The sentence's invalid word and its error tag, in dark. */
@media (min-width:760px){
	:root[data-theme="dark"] .cx-sf .cx-sn .axp-pk-btn[aria-invalid="true"],:root[data-theme="dark"] .cx-sf .cx-sn select[aria-invalid="true"]{
		background:rgba(249,112,102,.12);border-bottom-color:#F97066;box-shadow:none}
	:root[data-theme="dark"] .cx-sf .cx-sn .axp-hs-err{background:#2A1416;box-shadow:none}
}
@media (min-width:760px) and (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-sf .cx-sn .axp-pk-btn[aria-invalid="true"],:root:not([data-theme="light"]) .cx-sf .cx-sn select[aria-invalid="true"]{
		background:rgba(249,112,102,.12);border-bottom-color:#F97066;box-shadow:none}
	:root:not([data-theme="light"]) .cx-sf .cx-sn .axp-hs-err{background:#2A1416;box-shadow:none}
}
@media (prefers-reduced-motion:reduce){
	.cx-sf .axp-hs-ico,.cx-sf .axp-hs-selwrap::after,.cx-sf .axp-pk-btn,.cx-sf .axp-hs-go,.cx-sf-go-arrow,.cx-sf .axp-hs-seg label,
	.cx-sf-mode-ai,.cx-srch .cx-srch-spec.ax-spec-card,.cx-lst .quick-rail .qchip,.cx-lst .ax-sheet-body>.fgroup>summary,
	.cx-sf .cx-sf-prefs-ic,.cx-sf .cx-sn-step::before,.cx-lst .cx-qsw-tg,.cx-lst .cx-qsw-tg::after,
	.cx-sf--page .axp-hs-check,.cx-lst .quick-rail .qchip::before,.cx-lst .quick-rail .qchip::after{transition:none}
	.cx-sf .axp-hs-go:hover .cx-sf-go-arrow,[dir="ltr"] .cx-sf .axp-hs-go:hover .cx-sf-go-arrow,
	.cx-srch .cx-srch-spec.ax-spec-card:hover{transform:none}
	.cx-lst .ax-sheet-panel,[dir="ltr"] .cx-lst .ax-sheet-panel,.cx-lst .ax-sheet-body>.fgroup>.fopts,
	.cx-sf--bar .axp-cs[open],.cx-sf--bar .axp-cs:target{animation:none}
	.axp-pk.is-sheet,.axp-pk .axp-pk-o,.axp-pk .axp-pk-ck,.cx-lst .cx-lst-tool.cx-tidebar{animation:none;transition:none}
}
@media (forced-colors:active){
	.cx-sf-mode-i.is-on,.cx-lst .ax-sheet-body>.fgroup[open]>summary,.cx-lst .quick-rail .qchip.is-on,
	.cx-lst .fopts.cx-frail .fopt.is-on{outline:2px solid Highlight;outline-offset:-2px}
	.cx-sf .cx-sn .axp-pk-btn,.cx-sf .cx-sn select{border-bottom:2px solid CanvasText}
	.cx-sf .axp-hs-seg input:checked + label{outline:2px solid Highlight;outline-offset:-2px}
	.cx-sf--page .axp-hs-check input{-webkit-appearance:auto;appearance:auto}
}
.cx-lst .empty-near{justify-content:flex-start;gap:10px}
/* =================================================================================================
   coast/40-doctor.css — doctor profile, branch page, the doctor "ticket" card, the share sheet,
   gallery/lightbox and the floating call capsule. Owner: DOCTOR PAGE agent.
   Templates: single-doctor.php, single-branch.php, parts-components.php, parts-share.php.
   Uses the foundation tokens only (00-tokens.css); never redefines them.

     1. Identity band (navy, arch portrait, facts ledger)
     2. Profile layout: reading column + sticky contact card (overlaps the band ≥1100px)
     3. Section rail + reading sections (about, credentials, clinics on a tram line, hours, map)
     4. Reviews (score, dimension bars, review cards, form)
     5. Contact card, claim note, callback, trust box, FAQ (two columns), related
     6. Doctor card → horizontal "ticket" (container query) / compact stub card
     7. Branch page
     8. Floating call capsule (≤760px)
     9. Share sheet + QR, gallery mosaic, lightbox
    10. Dark theme specifics, reduced motion
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. IDENTITY BAND
   ------------------------------------------------------------------------------------------------- */
.cx-doc-band,.cx-br-band{padding-top:clamp(14px,2vw,22px);padding-bottom:calc(clamp(34px,4vw,56px) + var(--cx-wave-h) * .6);overflow:hidden}
/* A faint line-art arch on the far side of the band — the Alexandrian window, decoration only. */
.cx-doc-band::before,.cx-br-band::before{content:"";position:absolute;z-index:-1;pointer-events:none;
	inset-inline-end:-60px;top:28px;width:min(46vw,520px);aspect-ratio:4/5;border-radius:999px 999px 0 0;
	border:2px solid rgba(134,205,239,.10);box-shadow:inset 0 0 0 26px rgba(134,205,239,.025),0 0 0 26px rgba(134,205,239,.03)}
.cx-doc-band .crumbs,.cx-br-band .crumbs{margin-bottom:clamp(14px,2.4vw,26px);color:var(--c-on-band-3)}
.cx-doc-band .crumbs a,.cx-br-band .crumbs a{color:var(--c-sky)}
.cx-doc-band .crumbs a:hover,.cx-br-band .crumbs a:hover{color:#fff}
.cx-doc-band .crumb-sep,.cx-br-band .crumb-sep{color:var(--c-sea)}
.cx-doc-band .crumb-cur,.cx-br-band .crumb-cur{color:var(--c-on-band-2)}

/* The hero keeps .profile-hero (alex-analytics reads it) but drops the white card. */
.cx-doc-band .profile-hero.cx-doc-hero{background:none;border:0;box-shadow:none;border-radius:0;padding:0;
	display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:0 16px;color:var(--c-on-band-2)}
.cx-doc-hero>.cx-doc-id{display:contents}
.cx-doc-hero .cx-doc-portrait{grid-column:1;grid-row:1}
.cx-doc-hero .cx-doc-head{grid-column:2;grid-row:1;min-width:0}
.cx-doc-hero .cx-doc-id>:not(.cx-doc-head),.cx-doc-hero>.share-chip{grid-column:1/-1}

/* Arch portrait with a sky "doorway" outline offset behind it. */
.cx-doc-portrait{position:relative;width:100%;align-self:start}
.cx-doc-arch{position:relative;display:block;width:100%;aspect-ratio:4/5;border-radius:var(--cx-r-arch);overflow:hidden;
	background:var(--c-band-2);box-shadow:0 0 0 3px var(--c-band),0 0 0 5px rgba(134,205,239,.55)}
.cx-doc-portrait::before{content:"";position:absolute;inset:0;transform:translate(-9px,9px);border-radius:var(--cx-r-arch);
	border:1.5px solid rgba(134,205,239,.35);pointer-events:none}
[dir="ltr"] .cx-doc-portrait::before{transform:translate(9px,9px)}
.cx-doc-hero .cx-doc-arch .doc-ava{display:block;width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover;background:var(--c-band-2)}
.cx-doc-seal{position:absolute;inset-inline-end:-6px;bottom:6px;z-index:1;display:grid;place-items:center;width:30px;height:30px;
	border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep);box-shadow:0 0 0 3px var(--c-band)}
.cx-doc-seal svg{width:20px;height:20px}
.cx-doc-seal{background:var(--c-band);color:var(--c-sea)}
.cx-doc-seal .cx-g-knock{stroke:var(--c-band)}

.cx-doc-band .cx-doc-kicker{display:flex;align-items:center;gap:10px;margin:0 0 .35rem;color:var(--c-sky);font-size:.9rem;font-weight:700;line-height:1.5}
.cx-doc-band .cx-doc-kicker::before{content:"";flex:0 0 24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-doc-band .profile-hero h1.cx-doc-name{color:#fff;font-size:clamp(1.7rem,1.15rem + 2.6vw,3.1rem);line-height:var(--cx-lh-tight);margin:0;text-wrap:balance}
/* Badges: the tier is an ARCH MEDALLION (a filled metal arch + its word on a squared plaque),
   "verified" is a bare wave-tick mark with its word — two different shapes, no matching pills. */
.cx-doc-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:.8rem}
.cx-medal.tier-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px 0 8px;border-radius:8px 8px 4px 4px;
	font-size:.78rem;font-weight:700;letter-spacing:0;line-height:1.2;border-width:1px;border-style:solid}
.cx-medal.tier-badge::before{content:none}
.cx-medal .cx-medal-arch{flex:0 0 auto;width:15px;height:19px;margin-top:-3px;filter:drop-shadow(0 1px 0 rgba(0,0,0,.18))}
.cx-medal.tier-badge--gold .cx-medal-arch{color:var(--tier-gold)}
.cx-medal.tier-badge--silver .cx-medal-arch{color:var(--tier-silver)}
.cx-medal.tier-badge--bronze .cx-medal-arch{color:var(--tier-bronze)}
.cx-wavecheck.badge-verify{display:inline-flex;align-items:center;gap:6px;padding:0;background:none!important;border:0;border-radius:0;
	font-size:.86rem;font-weight:700;color:var(--c-ok)}
.cx-wavecheck.badge-verify svg{flex:0 0 auto;width:22px;height:22px}
.cx-doc-band .cx-wavecheck.badge-verify{color:var(--c-sky)}
.cx-doc-band .cx-wavecheck.badge-verify svg{color:var(--c-sea-hi)}

.cx-doc-band .hero-pitch{max-width:60ch;margin:1.1rem 0 0;padding:.15rem 0;padding-inline-start:16px;background:none;border:0;
	border-inline-start:3px solid var(--c-sea);border-radius:0;color:#fff;font-size:clamp(1rem,.95rem + .3vw,1.15rem);font-weight:400;line-height:1.7}
.cx-doc-band .hero-pitch svg{display:none}

/* Facts ledger: value over label, hairline dividers — a quay of numbers, not chips. */
.cx-doc-band .cx-doc-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:1.2rem;
	background:var(--c-on-band-line);border:1px solid var(--c-on-band-line);border-radius:20px;overflow:hidden}
.cx-doc-band .cx-fact{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;
	padding:12px 14px;margin:0;background:var(--c-band);border:0;border-radius:0;color:var(--c-on-band-2);white-space:normal;font-size:.8rem;font-weight:400}
.cx-doc-band .cx-fact svg{grid-row:1/3;width:20px;height:20px;color:var(--c-sky)}
.cx-doc-band .cx-fact .cx-fact-v{order:-1;grid-column:2;color:#fff;font-size:1.15rem;font-weight:700;line-height:1.25}
.cx-doc-band .cx-fact .cx-fact-l{grid-column:2;color:var(--c-on-band-3);font-size:.78rem;font-weight:400;line-height:1.35;opacity:1}
.cx-doc-band .cx-fact.rating svg{color:var(--c-sea-hi)}
.cx-doc-band .cx-doc-chips{margin-top:1rem!important;gap:8px}
.cx-doc-band .cx-doc-chips .tag{display:inline-flex;align-items:center;min-height:32px;padding:0 .85rem;background:rgba(255,255,255,.06);
	color:var(--c-on-band-2);border:1px solid var(--c-on-band-line)!important;font-weight:700;font-size:.8rem}
/* Social proof: a tide-pulse mark beside the line, set as a quiet caption under the chips. */
.cx-pulse.social-proof{display:flex;align-items:center;gap:10px;width:fit-content;margin:1rem 0 0;font-size:.88rem;font-weight:700;line-height:1.5}
.cx-pulse .cx-pulse-ic{flex:0 0 auto;width:30px;height:30px;padding:5px;border-radius:50%;box-sizing:border-box}
.cx-doc-band .cx-pulse.social-proof{color:var(--c-on-band-2)}
.cx-doc-band .cx-pulse .cx-pulse-ic{background:rgba(46,155,214,.18);color:var(--c-sea-hi)}
.cx-doc-band .cx-lang::before{content:"";width:6px;height:6px;margin-inline-end:7px;border-radius:50%;background:var(--c-sea)}
.cx-doc-band .profile-hero>.share-chip{justify-self:start;margin-inline-start:0;margin-top:1.1rem;background:rgba(255,255,255,.06);color:#fff;border-color:rgba(201,219,238,.45)}
.cx-doc-band .profile-hero>.share-chip:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}

@media (min-width:560px){
	.cx-doc-band .profile-hero.cx-doc-hero{grid-template-columns:128px minmax(0,1fr);gap:0 24px}
	.cx-doc-band .cx-doc-ledger{display:flex;flex-wrap:wrap;width:fit-content;max-width:100%}
	.cx-doc-band .cx-fact{flex:1 1 auto;padding:12px 20px}
}
@media (min-width:900px){
	.cx-doc-band .profile-hero.cx-doc-hero{grid-template-columns:clamp(170px,17vw,220px) minmax(0,1fr);
		grid-template-rows:auto auto auto auto auto 1fr;align-items:start;gap:0 clamp(28px,3.4vw,48px)}
	.cx-doc-hero .cx-doc-portrait{grid-row:1/-1}
	.cx-doc-hero .cx-doc-head{align-self:end;padding-top:6px}
	.cx-doc-hero .cx-doc-id>:not(.cx-doc-head),.cx-doc-hero>.share-chip{grid-column:2}
	.cx-doc-band .profile-hero h1.cx-doc-name{font-size:var(--cx-fs-display)}
}
/* Desktop: the contact card rises into the band from the end side, so the identity keeps clear. */
@media (min-width:1100px){
	.cx-doc-band .profile-hero.cx-doc-hero{max-width:calc(100% - 400px);min-height:calc(clamp(170px,17vw,220px) * 1.25)}
	.cx-doc-band{padding-bottom:calc(64px + var(--cx-wave-h) * .6)}
	.cx-doc-band::before{inset-inline-end:auto;inset-inline-start:52%}
}

/* -------------------------------------------------------------------------------------------------
   2. PROFILE LAYOUT
   ------------------------------------------------------------------------------------------------- */
.cx-doc-page{padding-bottom:clamp(40px,6vw,80px)}
.cx-doc-page .profile-cols.cx-doc-cols{margin-top:0;gap:28px}
/* Phones/tablets: the reading column (about, then clinics) leads, the contact card follows it in DOM
   order — the floating dock + sheet is the contact surface there — so visual and focus order match. */
@media (min-width:900px){
	.cx-doc-page .profile-cols.cx-doc-cols{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
}
@media (min-width:1100px){
	.cx-doc-page .profile-cols.cx-doc-cols{grid-template-columns:minmax(0,1fr) 360px;gap:40px}
	/* The aside is the sticky element (alex.css); pulling it up lets the card overlap the band. */
	.cx-doc-page .profile-cols>aside.cx-doc-aside{margin-top:calc(-1 * (clamp(170px,17vw,220px) * 1.25 + 64px + 20px));
		position:sticky;top:calc(var(--nav-h) + 16px);z-index:2;padding:4px;margin-inline:-4px;scrollbar-width:thin}
}

/* -------------------------------------------------------------------------------------------------
   3. SECTION RAIL + READING SECTIONS
   ------------------------------------------------------------------------------------------------- */
.cx-doc-tabs{position:sticky;top:var(--nav-h);z-index:30;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;
	margin-inline:calc(var(--cx-gutter) * -1);padding:10px var(--cx-gutter);background:var(--c-page);
	border-bottom:1px solid var(--c-line);overscroll-behavior-x:contain}
.cx-doc-tabs::-webkit-scrollbar{display:none}
.cx-doc-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border-radius:999px;
	color:var(--c-body);font-weight:700;font-size:.9rem;text-decoration:none;white-space:nowrap;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-doc-tabs a:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-doc-tabs a:first-child{margin-inline-start:-1rem}
/* Page map: each stop is an icon over its label, a small sea tick under the active one. */
.cx-stops{gap:2px}
.cx-stops a{flex-direction:column;justify-content:center;gap:3px;min-height:56px;padding:4px 14px;border-radius:16px;font-size:.8rem;line-height:1.2}
.cx-stops a svg{width:20px;height:20px;color:var(--c-sea)}
.cx-stops a:first-child{margin-inline-start:-14px}
.cx-stops a:focus-visible{outline:3px solid var(--cx-focus);outline-offset:-3px}
@media (min-width:900px){.cx-stops a{flex-direction:row;gap:8px;min-height:48px;font-size:.88rem}}
@media (min-width:900px){.cx-doc-tabs{margin-inline:0;padding-inline:0}}
.cx-doc-page [id^="cx-"]{scroll-margin-top:calc(var(--nav-h) + 88px)}

.cx-doc-main>.pause-note{margin-top:20px}
.cx-doc-page .pause-note,.cx-br-page .pause-note{border-radius:20px;padding:16px 18px}
/* Sections read as chapters on the page, not as a stack of white boxes. */
.cx-doc-page .panel.cx-doc-sec{background:none;border:0;box-shadow:none;border-radius:0;padding:clamp(26px,3.4vw,40px) 0 0;color:var(--c-body)}
.cx-doc-page .panel.cx-doc-sec+.panel.cx-doc-sec{margin-top:clamp(26px,3.4vw,40px);border-top:1px solid var(--c-line)}
.cx-doc-page .cx-doc-sec>.panel-h{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 1.1rem;
	font-size:clamp(1.35rem,1.1rem + 1vw,1.85rem);line-height:1.2;color:var(--c-ink)}
.cx-doc-page .cx-doc-sec>.panel-h::before{content:"";flex:0 0 28px;height:9px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-doc-prose{font-size:1.04rem;line-height:1.95;color:var(--c-body);max-width:68ch}
.cx-doc-prose p+p{margin-top:.9rem}

/* Credentials as labelled tiles. */
.cx-doc-page .cred-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;font-size:.95rem}
@media (min-width:640px){.cx-doc-page .cred-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-doc-page .cred-list li{display:block;padding:14px 16px;background:var(--c-card);border:1px solid var(--cx-card-border);
	border-radius:18px;box-shadow:0 1px 2px rgba(6,26,51,.05);color:var(--c-ink);font-weight:700;line-height:1.6}
.cx-doc-page .cred-list li b{display:block;margin-bottom:2px;color:var(--c-muted);font-size:.78rem;font-weight:700}
.cx-doc-page .cred-list .badge-verify{padding:.1rem .4rem;vertical-align:middle}
.cx-doc-taxrow{align-items:center}
.cx-doc-taxrow>b{color:var(--c-ink);margin-inline-end:4px}
.cx-doc-page .tag-link{min-height:44px;padding:0 .9rem}
.cx-doc-page .tag-link:hover{background:var(--cx-chip-on-bg);color:var(--cx-chip-on-ink)}
.cx-doc-page .social-link{border-radius:999px;padding:0 1rem;background:var(--c-foam);color:var(--cx-chip-ink)}
.cx-doc-page .social-link svg{width:15px;height:15px}

/* Clinics: each branch is a station on a tram line. */
.cx-doc-branches{position:relative;padding-inline-start:30px}
@media (max-width:559px){
	.cx-doc-branches{padding-inline-start:22px}
	.cx-doc-branches .cx-branch::before{inset-inline-start:-22px;width:14px;height:14px}
	.cx-doc-branches .cx-branch:not(:last-child)::after{inset-inline-start:-17.5px}
}
/* Each clinic is an open STATION on the line — no card shell: the name sits at the station dot,
   today's hours read like a timetable line, and only the week table and the map are framed. */
.cx-doc-page .branch.cx-branch{position:relative;container-type:inline-size;margin:0;padding:0 0 clamp(26px,3.4vw,36px);
	background:none;border:0;border-radius:0;box-shadow:none}
.cx-doc-page .branch.cx-branch:last-child{padding-bottom:0}
.cx-branch::before{content:"";position:absolute;inset-inline-start:-30px;top:4px;width:16px;height:16px;border-radius:50%;
	background:var(--c-page);border:3px solid var(--c-sea);box-sizing:border-box;z-index:1}
.cx-branch.is-open::before{background:var(--c-sea);box-shadow:0 0 0 4px rgba(46,155,214,.22)}
.cx-branch:not(:last-child)::after{content:"";position:absolute;inset-inline-start:-24.5px;top:22px;bottom:-6px;width:3px;
	border-radius:3px;background:var(--c-sea);opacity:.45}
.cx-branch .branch-h{display:block;margin:0;font-size:clamp(1.15rem,1.05rem + .5vw,1.35rem);line-height:1.35}
.cx-branch .branch-h a{color:var(--c-ink);text-decoration:none}
.cx-branch .branch-h a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.25em}
.cx-branch .cx-branch-addr{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:.45rem;color:var(--c-body);font-size:.92rem}
.cx-branch .cx-branch-addr>span{flex:0 1 auto;min-width:0;margin-inline-end:6px}
.cx-branch .cx-branch-addr svg{flex:0 0 auto;width:17px;height:17px;color:var(--c-sea)}
.cx-branch .cx-branch-addr a{color:var(--cx-link)!important;font-weight:700!important}
/* Tide status line (shared with the sheet and the branch page): a drawn wave in the state
   colour, the state in bold, then today's hours or the after-hours note. */
.cx-tide{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;margin:0 0 .35rem;padding:0;background:none!important;border:0;border-radius:0;
	font-size:.86rem;font-weight:400;line-height:1.5;color:var(--c-muted)}
.cx-tide .cx-g-tide{flex:0 0 auto;width:26px;height:11px}
.cx-tide>b{font-weight:700}
.cx-tide.is-open{color:var(--c-ok)}
.cx-tide.is-shut>b{color:var(--c-ink)}
.cx-tide.is-shut .cx-g-tide{color:var(--c-field-line)}
.cx-tide.is-paused{color:var(--c-muted)}
.cx-tide.is-paused .cx-g-tide{stroke-dasharray:3 3}
.cx-tide-t{flex:1 0 100%;padding-inline-start:34px;color:var(--c-body)}
/* Chevron row: the clinic's own page, as the card's last line. */
.cx-chev{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:12px;padding:0 4px;
	border-top:1px solid var(--c-line);color:var(--cx-link);font-weight:700;font-size:.92rem;text-decoration:none}
.cx-chev svg{flex:0 0 auto;width:20px;height:20px;transition:transform var(--cx-dur) var(--cx-ease)}
[dir="ltr"] .cx-chev svg{transform:scaleX(-1)}
.cx-chev:hover{color:var(--cx-link-hover)}
.cx-chev:hover svg{transform:translateX(-3px)}
[dir="ltr"] .cx-chev:hover svg{transform:scaleX(-1) translateX(-3px)}
.cx-chev:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:10px}
.cx-branch-today{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:.35rem 0 0;color:var(--c-muted);font-size:.9rem}
.cx-branch-today svg{flex:0 0 auto;width:17px;height:17px;color:var(--c-sea)}
.cx-branch-today b{color:var(--c-muted);font-weight:700}
.cx-branch-today>span{color:var(--c-ink);font-weight:700}
.cx-branch .doc-tags{margin-top:.7rem!important}
.cx-branch .cx-branch-facts .tag-soft{background:var(--c-foam-2)}
.cx-branch-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px}
.cx-branch-grid:empty{display:none}
@container (min-width:620px){
	.cx-branch-grid:has(>.hours):has(>.map-embed){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
}
.cx-branch-after{position:relative;padding-inline-start:18px;color:var(--c-muted)!important;font-size:.9rem}
.cx-branch-after::before{content:"";position:absolute;inset-inline-start:2px;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--c-field-line)}
/* The week table is the framed timetable of the station. */
.cx-doc-page .cx-branch .hours.cx-hours{padding:6px;background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:18px;box-shadow:0 1px 2px rgba(6,26,51,.05)}

/* Hours: a week of rows; today is marked with a sea station dot. */
.cx-doc-page .hours.cx-hours,.cx-br-page .hours.cx-hours{margin:0;border-collapse:separate;border-spacing:0;font-size:.92rem}
.cx-hours tr>*{padding:.55rem .75rem;border-bottom:1px dashed var(--c-line)}
.cx-hours tr:last-child>*{border-bottom:0}
.cx-hours th,.cx-hours td:first-child{position:relative;color:var(--c-muted);font-weight:700;width:112px}
.cx-hours td:last-child{color:var(--c-ink);font-weight:700;text-align:end}
.cx-hours tr.cx-today>*{background:var(--c-foam);border-bottom-color:transparent;color:var(--c-ink)}
.cx-hours tr.cx-today>:first-child{border-start-start-radius:12px;border-end-start-radius:12px;padding-inline-start:1.65rem}
.cx-hours tr.cx-today>:last-child{border-start-end-radius:12px;border-end-end-radius:12px}
.cx-hours tr.cx-today>:first-child::before{content:"";position:absolute;inset-inline-start:.7rem;top:50%;width:8px;height:8px;
	margin-top:-4px;border-radius:50%;background:var(--c-sea);box-shadow:0 0 0 3px rgba(46,155,214,.25)}

/* Map */
.map-embed.cx-map{margin:0;border-radius:20px;overflow:hidden;background:var(--c-foam);border:1px solid var(--c-line)}
.map-embed.cx-map iframe{display:block;border-radius:0}
.map-embed.cx-map .map-open{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 1rem;
	background:var(--c-card);color:var(--cx-link);font-weight:700;border-top:1px solid var(--c-line)}
.map-embed.cx-map .map-open:hover{background:var(--c-foam)}

/* Contact actions under a station: pills sized to their label, never a full-width slab. */
.cx-doc-page .cx-branch .contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding-top:0;border-top:0}
.cx-doc-page .cx-branch .contact-actions>.btn{flex:0 1 auto;min-height:48px;padding-inline:22px}
.cx-doc-page .cx-branch .contact-actions>.alex-reveal-slot{flex:1 1 100%}
.cx-doc-page .btn-cta,.cx-br-page .btn-cta{background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink);box-shadow:none;filter:none}
.cx-doc-page .btn-cta:hover,.cx-br-page .btn-cta:hover{background:var(--cx-primary-hover);border-color:var(--cx-primary-hover);color:var(--cx-primary-ink);filter:none}
.cx-doc-page .btn-cta:focus-visible,.cx-br-page .btn-cta:focus-visible{outline:3px solid var(--cx-focus)}
/* Revealed numbers as TILES: the number is the call/WhatsApp link (caption over a large figure);
   WhatsApp-on-the-same-line and copy are round icon buttons on the tile's end. */
.alex-reveal-slot.is-open{gap:10px}
.rv-row.cx-tile{display:flex;align-items:stretch;flex-wrap:nowrap;gap:0;padding:0;overflow:hidden;
	border-radius:20px;background:var(--c-foam-2);border:1.5px solid var(--c-line)}
.cx-tile .cx-tile-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;
	min-height:68px;margin:0;padding:10px 16px;border:0;border-radius:0;background:none;color:var(--c-ink);text-decoration:none;box-shadow:none;filter:none;
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-tile .cx-tile-main:hover{background:var(--c-foam);color:var(--c-ink)}
.cx-tile .cx-tile-main:focus-visible{outline:3px solid var(--cx-focus);outline-offset:-3px;border-radius:20px}
.cx-tile .cx-tile-k{display:inline-flex;align-items:center;gap:6px;color:var(--cx-link);font-size:.78rem;font-weight:700}
.cx-tile .cx-tile-k svg{width:16px;height:16px}
.cx-tile--wa .cx-tile-k{color:#0E7A3E}
.cx-tile .rv-num{min-width:0;font-size:clamp(1.3rem,1.15rem + .6vw,1.55rem);font-weight:700;letter-spacing:.03em;line-height:1.2;color:var(--c-ink);
	user-select:text;-webkit-user-select:text}
.cx-tile .cx-tile-acts{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:0 10px}
.cx-tile .cx-tile-ic{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border-radius:50%;
	border:1px solid var(--c-line);background:var(--c-card);color:var(--c-brand);cursor:pointer;font-size:0}
.cx-tile .cx-tile-ic svg{width:20px;height:20px}
.cx-tile .cx-tile-wa{background:#25d366;border-color:#25d366;color:#06301a}
.cx-tile .cx-tile-wa:hover{background:#3ddc78;color:#06301a}
.cx-tile .rv-copy:hover{border-color:var(--c-brand);color:var(--c-brand)}
.cx-tile .rv-copy.is-ok{border-color:var(--c-ok);color:var(--c-ok);background:var(--c-ok-bg)}
.cx-tile .cx-tile-ic:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
@media (max-width:359px){.cx-tile .cx-tile-main{padding-inline:12px}.cx-tile .cx-tile-acts{padding:0 8px;gap:4px}}

/* -------------------------------------------------------------------------------------------------
   4. REVIEWS
   ------------------------------------------------------------------------------------------------- */
.cx-doc-page .panel-h>span{font-size:.95rem!important}
.cx-rev-sum{display:flex;flex-wrap:wrap;align-items:center;gap:18px 32px;margin-bottom:20px;padding:20px 22px;
	border-radius:var(--cx-r-card);background:var(--c-foam)}
.cx-rev-score{display:grid;justify-items:start;gap:4px}
.cx-rev-score b{font-size:3rem;line-height:1;color:var(--c-ink)}
.cx-rev-score small{color:var(--c-muted);font-weight:700}
.cx-rev-stars{--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.5.8-4.8 4.5 1.3 6.5L12 17.2l-5.9 3.2 1.3-6.5L2.6 9.4l6.5-.8z'/%3E%3C/svg%3E");
	display:block;width:110px;height:20px;background:linear-gradient(90deg,var(--c-brand) calc(var(--v,0) / 5 * 100%),var(--c-line) 0);
	-webkit-mask:var(--star) 0 0/22px 20px repeat-x;mask:var(--star) 0 0/22px 20px repeat-x}
[dir="rtl"] .cx-rev-stars{background:linear-gradient(270deg,var(--c-brand) calc(var(--v,0) / 5 * 100%),var(--c-line) 0)}
.cx-rev-sum .rev-dims{flex:1 1 220px;display:grid;gap:10px;margin:0!important;font-size:.88rem;color:var(--c-body)}
.cx-rev-sum .rev-dims>span{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:8px;row-gap:6px}
.cx-rev-sum .rev-dims>span svg{width:15px;height:15px;color:var(--c-sea)}
.cx-rev-sum .rev-dims>span b{grid-column:3;grid-row:1;color:var(--c-ink)}
.cx-rev-sum .rev-dims>span::after{content:"";grid-column:1/-1;height:6px;border-radius:6px;
	background:linear-gradient(90deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-card) 0)}
[dir="rtl"] .cx-rev-sum .rev-dims>span::after{background:linear-gradient(270deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-card) 0)}
.cx-rev-empty{padding:16px 18px;border-radius:18px;border:1.5px dashed var(--c-line);color:var(--c-muted)!important}

#cx-reviews #alex-reviews-list{display:grid;gap:12px}
#cx-reviews .review{padding:16px 18px;border:1px solid var(--cx-card-border);border-radius:20px;background:var(--c-card);box-shadow:0 1px 2px rgba(6,26,51,.05),0 6px 18px rgba(6,26,51,.05)}
#cx-reviews .review .who{gap:8px 10px;color:var(--c-ink)}
#cx-reviews .review .who>bdi:first-child,#cx-reviews .review .who{font-size:1rem}
#cx-reviews .review .rating{display:inline-flex;align-items:center;gap:4px;padding:.1rem .55rem;border-radius:999px;background:var(--c-band);color:#fff;font-size:.78rem}
#cx-reviews .review .rating svg{width:13px;height:13px;color:var(--c-sky)}
#cx-reviews .review .verified-badge{padding:.12rem .55rem;border-radius:999px;background:var(--c-ok-bg);color:var(--c-ok);font-weight:700}
#cx-reviews .review .verified-badge svg{width:13px;height:13px}
#cx-reviews .review>p{color:var(--c-body);line-height:1.8}
#cx-reviews .review-reply{margin-top:.7rem;padding:10px 14px;border-radius:0 14px 14px 0;background:var(--c-foam-2);border-inline-start:3px solid var(--c-sea)}
[dir="rtl"] #cx-reviews .review-reply{border-radius:14px 0 0 14px}
#cx-reviews .review-reply b{color:var(--cx-link)}
#cx-reviews .helpful-btn{margin-top:.6rem;padding:0 .9rem;font-weight:700}
#cx-reviews #alex-more-reviews{margin-top:14px!important}

/* "Write a review" pill (a <details> summary) that unfolds the form. */
.cx-rev-write{margin:0 0 20px}
.cx-rev-write>summary{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:999px;list-style:none;cursor:pointer;
	background:var(--cx-primary-bg);color:var(--cx-primary-ink);font-weight:700;font-size:.95rem;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-rev-write>summary::-webkit-details-marker{display:none}
.cx-rev-write>summary:hover{background:var(--cx-primary-hover)}
.cx-rev-write>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-rev-write>summary svg{width:18px;height:18px}
.cx-rev-write>summary::after{content:"";width:7px;height:7px;margin-inline-start:2px;border:solid currentColor;border-width:0 2px 2px 0;
	transform:translateY(-2px) rotate(45deg);transition:transform var(--cx-dur) var(--cx-ease)}
.cx-rev-write[open]>summary{background:var(--c-foam);color:var(--cx-link)}
.cx-rev-write[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.cx-rev-empty{margin-bottom:14px}
/* Review form */
.cx-doc-page .cx-rev-write .review-form.cx-review-form{margin-top:14px}
.cx-doc-page .review-form.cx-review-form{margin-top:22px;padding:clamp(18px,2.6vw,26px);border:1px solid var(--c-line);border-radius:var(--cx-r-card);background:var(--c-foam-2)}
.cx-review-form h4{font-size:1.15rem!important;margin-bottom:.4rem!important}
.cx-review-form .stars{gap:2px}
.cx-review-form .star{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0;font-size:1.6rem;border-radius:12px}
.cx-review-form .star:focus-visible{outline:3px solid var(--cx-focus);outline-offset:0}
.cx-review-form .stars:hover .star,.cx-review-form .star.on{color:var(--c-brand)}
.cx-review-form .rev-dim-inputs{padding:12px 14px;border-radius:18px;background:var(--c-card);border:1px solid var(--c-line);gap:.2rem}
.cx-review-form .rev-dim-label{color:var(--c-ink)}
.cx-review-form .stars-sm .star{font-size:1rem;min-width:40px;min-height:44px}
.cx-review-form .inp{display:block;width:100%;min-height:44px;margin-bottom:10px!important}
.cx-callback .inp{min-height:44px}
/* Wide column: name + email share a row. */
@media (min-width:1100px){
	.cx-doc-page .review-form.cx-review-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;align-items:start}
	.cx-review-form>*{grid-column:1/-1}
	.cx-review-form>#alex-rv-name{grid-column:1}
	.cx-review-form>#alex-rv-email{grid-column:2}
	.cx-review-form>button[type="submit"]{justify-self:start}
}
.cx-review-form button[type="submit"]{min-width:160px}
.cx-review-form .trust-note{margin-top:.6rem}

/* -------------------------------------------------------------------------------------------------
   5. CONTACT CARD · CLAIM · CALLBACK · TRUST · FAQ · RELATED
   ------------------------------------------------------------------------------------------------- */
.cx-doc-page .panel.cx-contact-card{padding:0;overflow:hidden;border-radius:var(--cx-r-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop)}
.cx-contact-head{position:relative;display:flex;align-items:flex-start;gap:12px;padding:20px 22px calc(18px + 14px);background:var(--c-band);color:#fff}
.cx-contact-head::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:16px;background:var(--c-card);
	-webkit-mask:var(--cx-wave-edge-b) center/100% 100% no-repeat;mask:var(--cx-wave-edge-b) center/100% 100% no-repeat}
.cx-contact-ic{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep)}
.cx-contact-ic svg{width:20px;height:20px}
.cx-contact-ic{margin-top:-2px}
.cx-contact-ht{min-width:0}
.cx-doc-page .cx-contact-head .panel-h{margin:0;color:#fff;font-size:1.3rem;line-height:1.3}
.cx-doc-page .cx-contact-head .cx-contact-sub{margin:.3rem 0 0;color:var(--c-on-band-2);font-size:.86rem;line-height:1.6}
.cx-contact-body{padding:8px 22px 22px}
.cx-contact-body>.doc-meta{color:var(--c-body);font-size:.95rem}
.cx-contact-card .contact-actions{grid-template-columns:minmax(0,1fr);margin-top:0}
.cx-contact-card .alex-reveal{min-height:52px;width:100%}
/* The fee as one large figure on a ledger line, a dashed tear line under it. */
.cx-doc-page .cx-contact-card .cx-contact-fee{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 12px;
	margin:4px 0 16px;padding:0 0 14px;border-radius:0;background:none;border-bottom:2px dashed var(--c-line);color:var(--c-ink);font-size:1rem;font-weight:400}
.cx-fee-l{display:inline-flex;align-items:center;gap:8px;color:var(--c-muted);font-size:.9rem;font-weight:700}
.cx-fee-l svg{width:18px;height:18px;color:var(--c-sea)}
.cx-fee-v{color:var(--c-ink);font-size:clamp(1.55rem,1.3rem + .8vw,1.95rem);font-weight:700;line-height:1.15}
/* Desktop share row: a foam foot of the card, label on its own line, the networks as small
   monochrome arch tiles (not a row of coloured circles). */
.cx-doc-page .cx-contact-card .post-share--doc{flex-wrap:wrap;gap:8px;margin:18px -22px -22px;padding:14px 22px 18px;border-top:0;background:var(--c-foam-2)}
.cx-contact-card .post-share--doc .post-share-lbl{flex:1 0 100%;margin:0;color:var(--c-muted);font-size:.82rem}
.cx-contact-card .post-share--doc .post-share-b{width:44px;height:50px;border-radius:var(--cx-r-arch);border:1px solid var(--c-line);background:var(--c-card);color:var(--c-brand)}
.cx-contact-card .post-share--doc .post-share-b svg{width:19px;height:19px}
.cx-contact-card .post-share--doc .post-share-whatsapp{color:#128C4A}
.cx-contact-card .post-share--doc .post-share-b:hover{border-color:var(--c-brand);background:var(--c-foam);color:var(--c-brand)}

/* "Is this your page?" — one compact card: an arch key mark, a line of copy, ONE primary
   action, and the two other destinations as quiet text links under it. */
.cx-doc-page .own-note.cx-own{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start;margin-top:14px!important;
	padding:18px 20px;border:1px dashed var(--c-field-line);border-radius:var(--cx-r-card);background:var(--c-card);box-shadow:none}
.cx-own-mark{display:grid;place-items:center;width:44px;height:52px;border-radius:var(--cx-r-arch);background:var(--c-foam);color:var(--c-brand)}
.cx-own-mark svg{width:24px;height:24px}
.cx-doc-page .cx-own .own-h{margin:2px 0 .25rem;color:var(--c-ink);font-size:1rem;font-weight:700}
.cx-doc-page .cx-own .own-b{color:var(--c-muted);font-size:.84rem;line-height:1.7}
.cx-doc-page .cx-own .cx-own-go{display:inline-flex;min-height:44px;margin-top:.75rem;padding:0 18px;font-size:.88rem}
.cx-doc-page .cx-own .cx-own-more{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:.35rem 0 0;color:var(--c-muted);font-size:.84rem}
.cx-doc-page .cx-own .cx-own-more a{display:inline-flex;align-items:center;min-height:44px;color:var(--cx-link);font-weight:700;text-decoration:underline;
	text-decoration-color:color-mix(in srgb,currentColor 35%,transparent);text-underline-offset:.3em}
.cx-doc-page .cx-own .cx-own-more a:hover{text-decoration-color:currentColor}

.cx-doc-page .panel.cx-callback{border-radius:var(--cx-r-card);padding:20px}
.cx-callback #alex-callback-form{display:grid;gap:10px}
.cx-callback .pause-note.cb-notice{border-inline-start-color:var(--c-sea);border-radius:14px;background:var(--c-foam-2)}

/* Trust colophon: hairlines above and below, no tinted box. */
.cx-doc-trust{display:flex;gap:16px;align-items:flex-start;margin-top:clamp(36px,5vw,56px);padding:clamp(18px,2.6vw,26px) 0;
	border-block:1px solid var(--c-line);border-radius:0;background:none;color:var(--c-body);font-size:.92rem;line-height:1.8}
.cx-doc-trust-ic{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border-radius:999px 999px 14px 14px;background:var(--c-band);color:var(--c-sky)}
.cx-doc-trust-ic svg{width:22px;height:22px}
.cx-doc-trust-t{min-width:0;flex:1}
.cx-doc-trust-h{display:flex;width:fit-content;align-items:center;gap:6px;margin-bottom:6px;padding:2px 12px;border-radius:999px;background:var(--c-foam);color:var(--cx-link)}
.cx-doc-trust-h svg{width:16px;height:16px;color:var(--c-sea)}
.cx-doc-trust-b{color:var(--c-ink)}
.cx-doc-trust .trust-note{margin-top:.5rem}
.cx-doc-trust .trust-note a{color:var(--cx-link)}

.cx-doc-faq{margin-top:clamp(44px,6vw,80px);display:grid;gap:16px}
.cx-doc-faq-head .h-sec{margin-bottom:.6rem!important}
.cx-doc-faq-list details.panel{margin-top:10px!important;padding:0;border-radius:18px;border:1px solid var(--cx-card-border);box-shadow:0 1px 2px rgba(6,26,51,.05),0 8px 22px rgba(6,26,51,.06)}
.cx-doc-faq-list details.panel:first-child{margin-top:0!important}
.cx-doc-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:14px 20px;list-style:none;border-radius:18px}
.cx-doc-faq-list summary::-webkit-details-marker{display:none}
.cx-doc-faq-list summary::after{content:"";flex:0 0 32px;height:32px;border-radius:50%;background-color:var(--c-foam);
	background-image:linear-gradient(var(--c-brand),var(--c-brand)),linear-gradient(var(--c-brand),var(--c-brand));
	background-size:12px 2px,2px 12px;background-position:center;background-repeat:no-repeat;transition:transform var(--cx-dur) var(--cx-ease)}
.cx-doc-faq-list details[open] summary::after{background-size:12px 2px,0 0;background-color:var(--c-sea)}
.cx-doc-faq-list details>p{margin:0!important;padding:0 20px 18px;line-height:1.85}
@media (min-width:900px){
	.cx-doc-faq{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start}
	.cx-doc-faq-head{position:sticky;top:calc(var(--nav-h) + 24px)}
}

.cx-doc-articles{margin-top:clamp(44px,6vw,80px)}
.cx-doc-related{margin-top:clamp(44px,6vw,80px)}
.cx-doc-related .cx-sec-head{margin-bottom:18px}
.cx-doc-related .h-sec{margin-bottom:0!important}

/* -------------------------------------------------------------------------------------------------
   6. DOCTOR CARD — compact "stub" card by default, horizontal "ticket" in a wide container.
   alex_doctor_card() markup is untouched: .doc-card-main and .doc-where become display:contents
   so their children are placed directly on the card's grid. The card's ::after is the perforation.
   ------------------------------------------------------------------------------------------------- */
.cx-tickets{container:cxt / inline-size;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.cx-tickets>.doc-card{content-visibility:visible}
/* Cut, not painted — same construction as the listing ticket (6b): two masked plates either side of
   the perforation track, the outline and shadow as drop-shadow filters on the card, the tier metal
   painted into the plates' inline-start edge (the .tier-ribbon element stays in the markup, hidden,
   because an unmasked strip would cross the notch). */
.doc-card{--pad:18px;--notch:11px;--bw:1px;--edge:transparent;--ol:var(--cx-card-border);
	--perf:color-mix(in srgb,var(--c-field-line) 55%,transparent);
	--sh:drop-shadow(0 1px 1px rgba(6,26,51,.07)) drop-shadow(0 10px 14px rgba(6,26,51,.08));
	--sh-hover:drop-shadow(0 2px 2px rgba(6,26,51,.08)) drop-shadow(0 16px 20px rgba(6,26,51,.13));
	--edge-img:linear-gradient(to right,var(--edge) 0 6px,transparent 6px);
	display:grid;grid-template-columns:78px minmax(0,1fr) auto;grid-template-rows:auto auto auto auto auto 14px auto;
	grid-template-areas:"flags flags flags" "ava body body" "pitch pitch pitch" "stats stats stats" "place place badge" "perf perf perf" "cta cta cta";
	align-items:start;gap:12px 14px;padding:var(--pad);border-radius:var(--cx-r-card);border:var(--bw) solid transparent;
	background:none;box-shadow:none;overflow:visible;contain-intrinsic-size:auto 360px;
	filter:drop-shadow(1px 0 0 var(--ol)) drop-shadow(-1px 0 0 var(--ol)) drop-shadow(0 1px 0 var(--ol)) drop-shadow(0 -1px 0 var(--ol)) var(--sh);
	transition:filter var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
[dir="rtl"] .doc-card{--edge-img:linear-gradient(to left,var(--edge) 0 6px,transparent 6px)}
.doc-card:has(>.tier-ribbon){padding-top:var(--pad)}
.doc-card:hover{box-shadow:none;filter:drop-shadow(1px 0 0 var(--ol)) drop-shadow(-1px 0 0 var(--ol)) drop-shadow(0 1px 0 var(--ol)) drop-shadow(0 -1px 0 var(--ol)) var(--sh-hover)}
.doc-card::before,.doc-card::after{content:"";z-index:-1;pointer-events:none;align-self:stretch;--out:calc(var(--pad) * -1 - var(--bw))}
.doc-card::before{grid-column:1/-1;grid-row:1/perf-end;margin:var(--out) var(--out) 7px;
	border-radius:var(--cx-r-card) var(--cx-r-card) 0 0;background:var(--edge-img),var(--c-card);
	-webkit-mask:radial-gradient(circle at 0 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat;
	mask:radial-gradient(circle at 0 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat}
.doc-card>.doc-card-main,.doc-card>.doc-where{display:contents}
.doc-card .doc-flags{grid-area:flags}
.doc-card .doc-ava-col{grid-area:ava;width:auto;align-self:start}
.doc-card .doc-body{grid-area:body;align-self:center;padding:0}
.doc-card .doc-pitch{grid-area:pitch}
.doc-card .doc-stats{grid-area:stats}
.doc-card .doc-place{grid-area:place;align-self:center}
.doc-card .doc-where>.badge{grid-area:badge;align-self:center;justify-self:end}
.doc-card .doc-cta{grid-area:cta}
.doc-card::after{grid-column:1/-1;grid-row:perf-start/-1;margin:7px var(--out) var(--out);
	border-radius:0 0 var(--cx-r-card) var(--cx-r-card);
	background:repeating-linear-gradient(90deg,var(--perf) 0 7px,transparent 7px 13px) 0 0/100% 2px no-repeat,var(--edge-img),var(--c-card);
	-webkit-mask:radial-gradient(circle at 0 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat;
	mask:radial-gradient(circle at 0 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat}
/* Placement when a block is absent: never leave a hole. */
.doc-card:not(:has(.doc-where>.badge)) .doc-place{grid-column:1/-1}

/* Paid tiers: a vertical metal edge on the inline-start side (painted into the plates) + the tier
   metal as the cut outline. alex.css's tier border/glow box-shadows are neutralised (the card has no
   painted box any more); the gold glow moves into the drop-shadow. */
.doc-card .tier-ribbon{display:none}
.doc-card.doc-card--gold,.doc-card.doc-card--silver,.doc-card.doc-card--bronze{--bw:1.5px;border-color:transparent;box-shadow:none}
.doc-card.doc-card--gold{--edge:var(--tier-gold);--ol:var(--tier-gold);
	--sh:drop-shadow(0 0 2px var(--tier-gold-glow)) drop-shadow(0 10px 14px rgba(6,26,51,.08));
	--sh-hover:drop-shadow(0 0 2px var(--tier-gold-glow)) drop-shadow(0 16px 22px var(--tier-gold-glow))}
.doc-card.doc-card--gold:hover{box-shadow:none}
.doc-card.doc-card--silver{--edge:var(--tier-silver);--ol:var(--tier-silver)}
.doc-card.doc-card--bronze{--edge:var(--tier-bronze);--ol:var(--tier-bronze)}
.doc-card.doc-card--gold:hover{transform:translateY(-2px)}
.doc-card .doc-flags{gap:6px}
.doc-card.is-featured{--ol:var(--c-brand);border-color:transparent;box-shadow:none}
.doc-card .badge-feat{display:inline-flex;align-items:center;gap:4px;background:var(--c-band);color:#fff;border:0;font-weight:700}
.doc-card .badge-feat svg{width:12px;height:12px;color:var(--c-sky)}

/* Arch avatar + rating chip. */
.doc-card .doc-ava-link{border-radius:var(--cx-r-arch);overflow:hidden;box-shadow:0 0 0 3px var(--c-card),0 0 0 4.5px var(--c-sky)}
.doc-card .doc-ava{width:78px;height:auto;aspect-ratio:4/5;border-radius:var(--cx-r-arch)}
.doc-card .doc-ava-ph,:root[data-theme="dark"] .doc-card .doc-ava-ph{color:var(--c-brand);background:var(--c-foam);font-size:1.9rem}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .doc-card .doc-ava-ph{color:var(--c-brand);background:var(--c-foam)}}
.doc-card .doc-rate{margin-top:-12px;background:var(--c-band);color:#fff;border:2px solid var(--c-card);box-shadow:none;font-size:.74rem}
.doc-card .doc-rate svg{color:var(--c-sky)}
.doc-card .doc-rate--new{margin-top:-12px;background:var(--c-foam);color:var(--c-brand);border-color:var(--c-card)}

.doc-card .doc-name{font-size:1.08rem}
.doc-card .doc-name a:hover{color:var(--cx-link)}
.doc-card .doc-verify{color:var(--c-sea)}
.doc-card .doc-sub{color:var(--cx-link)}
.doc-card .doc-pitch{margin:0;padding:0;padding-inline-start:12px;background:none;border:0;border-inline-start:3px solid var(--c-sea);border-radius:0;
	color:var(--c-body);font-weight:400;font-size:.9rem}
.doc-card .doc-pitch svg{display:none}
/* Band open/closed chip → #cx-clinics. */
.cx-doc-open{margin:.6rem 0 0}
.cx-doc-open .badge{text-decoration:none;min-height:32px;padding:.3rem .8rem}
.cx-doc-open .badge:hover,.cx-doc-open .badge:focus-visible{text-decoration:underline}
/* Bio excerpt (default card text, IndexRepo::card_text()): same quiet rule, long Latin names may wrap. */
.doc-card .doc-pitch--bio,.ax-grid .ax-doc .ax-doc-pitch--bio{overflow-wrap:anywhere}
/* Compact facts: three foam pills. */
.doc-card .doc-stats{display:flex;flex-wrap:wrap;gap:6px;background:none;border:0;border-radius:0;overflow:visible}
.doc-card .doc-stats li{flex:0 1 auto;flex-direction:row;justify-content:flex-start;gap:6px;padding:6px 10px;border-radius:999px;background:var(--c-foam);text-align:start}
.doc-card .doc-stats svg{width:15px;height:15px;color:var(--c-brand)}
.doc-card .doc-stats b{font-size:.84rem}
.doc-card .doc-stats span{font-size:.72rem;color:var(--c-muted)}
.doc-card .doc-place svg{color:var(--c-sea)}
/* The stub action: a text row with the arrow in a navy disc — not a slab. */
.doc-card .doc-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;margin:0;padding:4px;
	padding-inline-start:16px;border-radius:999px;background:var(--c-foam-2);border:1.5px solid var(--c-line);color:var(--cx-link);box-shadow:none;filter:none;font-size:.92rem}
.doc-card .doc-cta:hover{background:var(--c-foam);border-color:var(--cx-link);color:var(--cx-link);filter:none}
.doc-card .doc-cta .doc-cta-arrow{box-sizing:content-box;width:18px;height:18px;padding:12px;border-radius:50%;background:var(--c-band);color:#fff}
.doc-card:hover .doc-cta-arrow{background:var(--c-brand)}

/* Ticket ≥ 700px of card width. */
@container cxt (min-width:700px){
	.doc-card{--pad:22px;--stub:min(240px,26%);grid-template-columns:112px minmax(0,1fr) minmax(150px,190px) calc(var(--notch) * 2) var(--stub);
		grid-template-rows:auto auto 1fr auto;
		grid-template-areas:"ava flags stats perf cta" "ava body stats perf cta" "ava pitch stats perf cta" "ava place badge perf cta";
		column-gap:22px;row-gap:8px}
	.doc-card .doc-ava{width:112px}
	.doc-card .doc-body{align-self:start}
	.doc-card .doc-pitch{align-self:start;margin-top:4px}
	.doc-card .doc-place{align-self:end}
	.doc-card .doc-where>.badge{justify-self:start;align-self:end}
	.doc-card:not(:has(.doc-where>.badge)) .doc-place{grid-column:2}
	.doc-card::before{grid-row:1/-1;grid-column:1/perf-end;margin:var(--out);margin-inline-end:var(--notch);
		border-radius:0;border-start-start-radius:var(--cx-r-card);border-end-start-radius:var(--cx-r-card);
		--nx:100%;
		-webkit-mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat;
		mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat}
	[dir="rtl"] .doc-card::before{--nx:0%}
	.doc-card::after{grid-row:1/-1;grid-column:perf-start/-1;margin:var(--out);margin-inline-start:var(--notch);
		border-radius:0;border-start-end-radius:var(--cx-r-card);border-end-end-radius:var(--cx-r-card);
		--nx:0%;background:repeating-linear-gradient(180deg,var(--perf) 0 7px,transparent 7px 13px) left 0 top 0/2px 100% no-repeat,var(--c-card);
		-webkit-mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat;
		mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat}
	[dir="rtl"] .doc-card::after{--nx:100%;background:repeating-linear-gradient(180deg,var(--perf) 0 7px,transparent 7px 13px) right 0 top 0/2px 100% no-repeat,var(--c-card)}
	/* Facts as a vertical list in their own column. */
	.doc-card .doc-stats{grid-row:1/4;flex-direction:column;flex-wrap:nowrap;gap:10px;align-self:start;padding-top:4px}
	.doc-card .doc-stats li{flex:0 0 auto;display:grid;grid-template-columns:20px 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:0;
		padding:0;background:none;border-radius:0}
	.doc-card .doc-stats li svg{grid-row:1/3;align-self:center;width:18px;height:18px;color:var(--c-sea)}
	.doc-card .doc-stats li b{font-size:.95rem;line-height:1.3}
	.doc-card .doc-stats li span{line-height:1.3}
	/* Stub: the action centred on its own side of the perforation. */
	.doc-card .doc-cta{align-self:center;flex-direction:column-reverse;justify-content:center;gap:10px;min-height:0;height:auto;
		padding:18px 14px;border-radius:22px;text-align:center;white-space:normal;line-height:1.45}
	.doc-card .doc-cta>span{overflow:visible;white-space:normal}
	.doc-card .doc-cta .doc-cta-arrow{padding:14px}
}

/* -------------------------------------------------------------------------------------------------
   6b. LISTING CARD (.ax-doc, alex_ax_doctor_card()) — the same ticket language as the home featured
   ticket and the related-doctors .doc-card. Compact ticket by default (arch + identity row, facts
   strip, perforation, foam pill action); full ticket at ≥ 900px of LIST width (arch | identity |
   facts column | perforation | pill stub); a middle step at 640–899px keeps the facts under the
   identity so the name never gets squeezed. .ax-doc-head is display:contents so the portrait and
   the identity block sit directly on the card's grid. ::after is the perforation, ::before the
   tier edge. Scoped `.ax-grid .ax-doc` to beat alex.css's (0,1,1)/(0,2,0) card rules.
   ------------------------------------------------------------------------------------------------- */
/* The ticket is CUT, not painted: the card itself has no background, border or box-shadow. Two
   plates (::before = the main part, ::after = the stub) sit on the card's grid either side of the
   perforation track and are masked with a notch where they meet the card edge, so whatever is behind
   the list shows through the bite and nothing pokes past the card. The outline (card border / tier
   metal) and the shadow are drop-shadow FILTERS on the card, so they follow the cut shape. */
.ax-grid .ax-doc{--pad:18px;--notch:11px;--edge:transparent;--bw:1px;--ol:var(--cx-card-border);
	--perf:color-mix(in srgb,var(--c-field-line) 55%,transparent);
	--sh:drop-shadow(0 1px 1px rgba(6,26,51,.07)) drop-shadow(0 10px 14px rgba(6,26,51,.08));
	--sh-hover:drop-shadow(0 2px 2px rgba(6,26,51,.08)) drop-shadow(0 16px 20px rgba(6,26,51,.13));
	--edge-img:linear-gradient(to right,var(--edge) 0 6px,transparent 6px);
	display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto auto auto 44px auto;
	grid-template-areas:"flags flags" "ava id" "where where" "pitch pitch" "facts facts" "perf perf" "cta cta";
	align-items:start;column-gap:14px;row-gap:0;padding:var(--pad);border-radius:var(--cx-r-card);
	border:var(--bw) solid transparent;background:none;box-shadow:none;
	filter:drop-shadow(1px 0 0 var(--ol)) drop-shadow(-1px 0 0 var(--ol)) drop-shadow(0 1px 0 var(--ol)) drop-shadow(0 -1px 0 var(--ol)) var(--sh);
	contain-intrinsic-size:auto 430px;
	transition:filter var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
[dir="rtl"] .ax-grid .ax-doc{--edge-img:linear-gradient(to left,var(--edge) 0 6px,transparent 6px)}
.ax-grid .ax-doc:hover{box-shadow:none;filter:drop-shadow(1px 0 0 var(--ol)) drop-shadow(-1px 0 0 var(--ol)) drop-shadow(0 1px 0 var(--ol)) drop-shadow(0 -1px 0 var(--ol)) var(--sh-hover);transform:translateY(-2px)}
.ax-grid .ax-doc>.ax-doc-head{display:contents}
.ax-grid .ax-doc .ax-doc-flags{grid-area:flags;gap:6px;margin-bottom:12px}
.ax-grid .ax-doc .ax-doc-ava{grid-area:ava}
.ax-grid .ax-doc .ax-doc-t{grid-area:id;align-self:center;gap:6px}
.ax-grid .ax-doc .ax-doc-where{grid-area:where;margin:12px 0 0}
.ax-grid .ax-doc .ax-doc-pitch{grid-area:pitch}
.ax-grid .ax-doc .ax-doc-line{grid-area:facts}
.ax-grid .ax-doc .ax-doc-acts{grid-area:cta}

/* The plates. Compact ticket: the perforation runs ACROSS the middle of the 44px "perf" row; the main
   plate stops there, the stub plate starts there and carries the dashed line along its top edge.
   Each plate reaches out over the padding and the (transparent) border to the card's outer edge. */
.ax-grid .ax-doc::before,.ax-grid .ax-doc::after{content:"";z-index:-1;pointer-events:none;align-self:stretch;
	--out:calc(var(--pad) * -1 - var(--bw))}
.ax-grid .ax-doc::before{grid-column:1/-1;grid-row:1/perf-end;margin:var(--out) var(--out) 22px;
	border-radius:var(--cx-r-card) var(--cx-r-card) 0 0;background:var(--edge-img),var(--c-card);
	-webkit-mask:radial-gradient(circle at 0 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat;
	mask:radial-gradient(circle at 0 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat}
.ax-grid .ax-doc::after{grid-column:1/-1;grid-row:perf-start/-1;margin:22px var(--out) var(--out);
	border-radius:0 0 var(--cx-r-card) var(--cx-r-card);
	background:repeating-linear-gradient(90deg,var(--perf) 0 7px,transparent 7px 13px) 0 0/100% 2px no-repeat,var(--edge-img),var(--c-card);
	-webkit-mask:radial-gradient(circle at 0 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat;
	mask:radial-gradient(circle at 0 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/50.5% 100% no-repeat,
		radial-gradient(circle at 100% 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 100% 0/50.5% 100% no-repeat}

/* Paid tiers: a metal edge on the inline-start side (painted into the plates, so it follows the card's
   curve), the tier metal as the cut outline, and the tier badge kept first in the flag row.
   Sponsored stays a navy label (no terracotta). */
.ax-grid .ax-doc:has(.tier-badge){--bw:1.5px}
.ax-grid .ax-doc:has(.tier-badge--gold){--edge:var(--tier-gold);--ol:var(--tier-gold);
	--sh:drop-shadow(0 0 2px var(--tier-gold-glow)) drop-shadow(0 10px 14px rgba(6,26,51,.08));
	--sh-hover:drop-shadow(0 0 2px var(--tier-gold-glow)) drop-shadow(0 16px 22px var(--tier-gold-glow))}
.ax-grid .ax-doc:has(.tier-badge--silver){--edge:var(--tier-silver);--ol:var(--tier-silver)}
.ax-grid .ax-doc:has(.tier-badge--bronze){--edge:var(--tier-bronze);--ol:var(--tier-bronze)}
/* Tier PLAQUE on cards (here and .doc-card): the profile medallion's anatomy without touching the
   card markup — a squared plaque with a small arch window drawn in the tier metal, instead of
   alex.css's "◆" bullet pill. Each tier keeps its own metal, ground and word. */
.ax-grid .ax-doc .tier-badge,.doc-card .tier-badge{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0;padding-inline:7px 10px;
	border-radius:7px 7px 3px 3px;font-size:.74rem;font-weight:700;letter-spacing:0;line-height:1.2;border-width:1px;border-style:solid}
.ax-grid .ax-doc .tier-badge::before,.doc-card .tier-badge::before{content:"";flex:0 0 auto;width:11px;height:14px;margin-top:-2px;font-size:0;background:currentColor;
	-webkit-mask:var(--cx-tier-arch) center/contain no-repeat;mask:var(--cx-tier-arch) center/contain no-repeat}
.ax-grid .ax-doc .tier-badge,.doc-card .tier-badge{--cx-tier-arch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath fill-rule='evenodd' d='M8 1.2a6.8 6.8 0 0 1 6.8 6.8v10.8H1.2V8A6.8 6.8 0 0 1 8 1.2zM5 17V9a3 3 0 0 1 6 0v8z'/%3E%3C/svg%3E")}
.ax-grid .ax-doc .tier-badge--gold::before,.doc-card .tier-badge--gold::before{background:var(--tier-gold)}
.ax-grid .ax-doc .tier-badge--silver::before,.doc-card .tier-badge--silver::before{background:var(--tier-silver)}
.ax-grid .ax-doc .tier-badge--bronze::before,.doc-card .tier-badge--bronze::before{background:var(--tier-bronze)}
.ax-grid .ax-doc .badge-feat{display:inline-flex;align-items:center;gap:5px;background:var(--c-band);color:#fff;border:0;font-weight:700}
.ax-grid .ax-doc .badge-feat svg{width:12px;height:12px;color:var(--c-sky)}

/* Arch portrait (photo or the initial placeholder). */
.ax-grid .ax-doc .ax-doc-ava{width:76px;height:auto;aspect-ratio:4/5;border-radius:var(--cx-r-arch);object-fit:cover;
	box-shadow:0 0 0 3px var(--c-card),0 0 0 4.5px var(--c-sky)}
.ax-grid .ax-doc .ax-doc-ava-ph{font-size:2rem}

/* Identity. */
.ax-grid .ax-doc .ax-doc-name{font-size:clamp(1.06rem,1rem + .4vw,1.24rem);line-height:1.35;color:var(--c-ink);margin:0}
.ax-grid .ax-doc .ax-doc-name a{color:var(--c-ink);text-decoration:none;border-radius:6px}
.ax-grid .ax-doc .ax-doc-name a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.25em}
.ax-grid .ax-doc .doc-verify{display:inline-flex;color:var(--c-sea)}
.ax-grid .ax-doc .doc-verify svg{width:18px;height:18px}
.ax-grid .ax-doc .ax-doc-chip{min-height:28px;padding:0 12px;background:var(--c-foam);color:var(--c-brand);font-size:.82rem}
.ax-grid .ax-doc .ax-doc-sub{font-size:.86rem;color:var(--cx-link)}
.ax-grid .ax-doc .ax-doc-where{font-size:.86rem;color:var(--c-muted);line-height:1.6}
.ax-grid .ax-doc .ax-doc-where svg{color:var(--c-sea)}
.ax-grid .ax-doc .ax-doc-pitch{margin:10px 0 0;padding-inline-start:12px;border-inline-start:3px solid var(--c-sea);
	color:var(--c-body);font-size:.9rem;line-height:1.7;
	display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* Facts: label above value, the glyph in a foam disc (the home ticket's .cx-ticket-fact). Compact
   ticket: a foam strip of up to four cells. */
.ax-grid .ax-doc .ax-doc-line{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,100px),1fr));align-items:stretch;gap:12px;
	margin-top:14px;padding:12px 14px;border:0;border-radius:18px;background:var(--c-foam-2);color:var(--c-body)}
.ax-grid .ax-doc .ax-doc-line>.ax-doc-fact{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;
	column-gap:10px;align-items:center;min-width:0}
.ax-grid .ax-doc .ax-doc-fact>.gi{grid-row:1/3;box-sizing:border-box;width:32px;height:32px;padding:7px;border-radius:50%;
	background:var(--c-card);color:var(--c-brand)}
.ax-grid .ax-doc .ax-doc-fact-l{grid-column:2;font-size:.74rem;font-weight:400;line-height:1.3;color:var(--c-muted)}
.ax-grid .ax-doc .ax-doc-fact-v{grid-column:2;font-size:.9rem;font-weight:700;line-height:1.35;color:var(--c-ink);min-width:0}
.ax-grid .ax-doc .ax-doc-fact-v b{color:inherit}
.ax-grid .ax-doc .ax-doc-line .is-open .ax-doc-fact-v{color:var(--c-ok)}
.ax-grid .ax-doc .ax-doc-line .is-open>.gi{color:var(--c-ok)}
.ax-grid .ax-doc .ax-doc-fact--rate>.gi{color:var(--c-sea)}

/* Compact action: a foam pill, label at the start and the arrow in a navy disc at the end. */
.ax-grid .ax-doc .ax-doc-acts{display:flex;grid-template-columns:none;margin:0}
.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;
	margin:0;padding:4px;padding-inline-start:18px;border-radius:999px;background:var(--c-foam-2);border:1.5px solid var(--c-line);
	color:var(--cx-link);box-shadow:none;filter:none;font-size:.92rem;font-weight:700;line-height:1.35;text-align:start;white-space:normal;
	transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover{background:var(--c-foam);border-color:var(--cx-link);color:var(--cx-link);filter:none}
.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.ax-grid .ax-doc .ax-doc-go{flex:0 0 auto;box-sizing:content-box;width:18px;height:18px;padding:12px;border-radius:50%;
	background:var(--c-band);color:#fff;transition:background-color var(--cx-dur) var(--cx-ease)}
.ax-grid .ax-doc:hover .ax-doc-go{background:var(--c-brand)}

/* Middle step: the stub moves to the side; facts stay under the identity as one row. */
@container axg (min-width:640px){
	.ax-grid .ax-doc{--pad:22px;grid-template-columns:96px minmax(0,1fr) calc(var(--notch) * 2) minmax(0,200px);
		grid-template-rows:auto auto auto auto 1fr;
		grid-template-areas:"ava flags perf cta" "ava id perf cta" "ava where perf cta" "ava pitch perf cta" "ava facts perf cta";
		column-gap:20px;contain-intrinsic-size:auto 315px}
	.ax-grid .ax-doc .ax-doc-ava{width:96px;align-self:start}
	.ax-grid .ax-doc .ax-doc-t{align-self:start}
	.ax-grid .ax-doc .ax-doc-flags{margin-bottom:10px}
	.ax-grid .ax-doc .ax-doc-line{align-self:end;display:flex;flex-wrap:wrap;gap:12px 22px;padding:14px 0 0;margin-top:14px;
		border-top:1px solid var(--c-line);border-radius:0;background:none}
	.ax-grid .ax-doc .ax-doc-fact>.gi{background:var(--c-foam)}
	/* Side stub: the perforation runs DOWN the middle of the perf column, notched top and bottom.
	   The main plate carries the tier edge; the stub plate carries the dashed line on its start edge. */
	.ax-grid .ax-doc::before{grid-row:1/-1;grid-column:1/perf-end;margin:var(--out);margin-inline-end:calc(var(--notch));
		border-radius:0;border-start-start-radius:var(--cx-r-card);border-end-start-radius:var(--cx-r-card);
		--nx:100%;background:var(--edge-img),var(--c-card);
		-webkit-mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat;
		mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat}
	[dir="rtl"] .ax-grid .ax-doc::before{--nx:0%}
	.ax-grid .ax-doc::after{grid-row:1/-1;grid-column:perf-start/-1;margin:var(--out);margin-inline-start:calc(var(--notch));
		border-radius:0;border-start-end-radius:var(--cx-r-card);border-end-end-radius:var(--cx-r-card);
		--nx:0%;background:repeating-linear-gradient(180deg,var(--perf) 0 7px,transparent 7px 13px) left 0 top 0/2px 100% no-repeat,var(--c-card);
		-webkit-mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat;
		mask:radial-gradient(circle at var(--nx) 0,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 0/100% 50.5% no-repeat,
			radial-gradient(circle at var(--nx) 100%,transparent var(--notch),#000 calc(var(--notch) + .5px)) 0 100%/100% 50.5% no-repeat}
	[dir="rtl"] .ax-grid .ax-doc::after{--nx:100%;background:repeating-linear-gradient(180deg,var(--perf) 0 7px,transparent 7px 13px) right 0 top 0/2px 100% no-repeat,var(--c-card)}
	/* Stub: the label is kept, as a solid brand pill. */
	.ax-grid .ax-doc .ax-doc-acts{align-self:center;justify-content:center}
	.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta{justify-content:center;gap:10px;width:auto;min-height:52px;padding:10px 20px;
		background:var(--cx-primary-bg);border-color:var(--cx-primary-bg);color:var(--cx-primary-ink);text-align:center}
	.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover{background:var(--cx-primary-hover);border-color:var(--cx-primary-hover);color:var(--cx-primary-ink)}
	.ax-grid .ax-doc .ax-doc-go{width:18px;height:18px;padding:0;background:none;color:currentColor;transition:transform var(--cx-dur) var(--cx-ease)}
	.ax-grid .ax-doc:hover .ax-doc-go{background:none}
	.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover .ax-doc-go{transform:translateX(-3px)}
	[dir="ltr"] .ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover .ax-doc-go{transform:scaleX(-1) translateX(-3px)}
}
/* Full ticket: arch | identity | facts column | perforation | stub. */
@container axg (min-width:900px){
	.ax-grid .ax-doc{grid-template-columns:112px minmax(0,1fr) minmax(170px,210px) calc(var(--notch) * 2) minmax(0,236px);
		grid-template-rows:auto auto auto 1fr;
		grid-template-areas:"ava flags facts perf cta" "ava id facts perf cta" "ava where facts perf cta" "ava pitch facts perf cta";
		column-gap:24px;contain-intrinsic-size:auto 245px}
	.ax-grid .ax-doc .ax-doc-ava{width:112px}
	.ax-grid .ax-doc .ax-doc-pitch{max-width:62ch}
	.ax-grid .ax-doc .ax-doc-line{grid-row:1/-1;align-self:center;flex-direction:column;flex-wrap:nowrap;gap:14px;margin:0;padding:4px 0;
		padding-inline-start:24px;border-top:0;border-inline-start:1px solid var(--c-line)}
	.ax-grid .ax-doc .ax-doc-line>.ax-doc-fact{grid-template-columns:36px minmax(0,1fr)}
	.ax-grid .ax-doc .ax-doc-fact>.gi{width:36px;height:36px;padding:8px}
}
/* Wide list: room for the label on one line. */
@container axg (min-width:1080px){
	.ax-grid .ax-doc{grid-template-columns:112px minmax(0,1fr) minmax(180px,230px) calc(var(--notch) * 2) minmax(0,290px)}
	.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta{padding-inline:24px;white-space:nowrap}
}

/* Dark: the arrow disc and the sponsored label need a lift off the dark card. */
:root[data-theme="dark"] .ax-grid .ax-doc{--sh:drop-shadow(0 1px 2px rgba(0,0,0,.35));--sh-hover:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
:root[data-theme="dark"] .ax-grid .ax-doc .ax-doc-go{background:var(--c-sea);color:var(--c-ink-deep)}
:root[data-theme="dark"] .ax-grid .ax-doc .badge-feat{background:#16324F;box-shadow:inset 0 0 0 1px rgba(134,205,239,.4)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .ax-grid .ax-doc{--sh:drop-shadow(0 1px 2px rgba(0,0,0,.35));--sh-hover:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
	:root:not([data-theme="light"]) .ax-grid .ax-doc .ax-doc-go{background:var(--c-sea);color:var(--c-ink-deep)}
	:root:not([data-theme="light"]) .ax-grid .ax-doc .badge-feat{background:#16324F;box-shadow:inset 0 0 0 1px rgba(134,205,239,.4)}
}
@container axg (min-width:640px){
	:root[data-theme="dark"] .ax-grid .ax-doc .ax-doc-go{background:none;color:currentColor}
}
@media (prefers-color-scheme:dark){
	@container axg (min-width:640px){
		:root:not([data-theme="light"]) .ax-grid .ax-doc .ax-doc-go{background:none;color:currentColor}
	}
}

@media (prefers-reduced-motion:reduce){
	.ax-grid .ax-doc,.ax-grid .ax-doc .ax-doc-go,.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta{transition:none}
	.ax-grid .ax-doc:hover,.ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover .ax-doc-go{transform:none}
	[dir="ltr"] .ax-grid .ax-doc .ax-doc-acts .btn.btn-cta:hover .ax-doc-go{transform:scaleX(-1)}
}
@media (forced-colors:active){
	.ax-grid .ax-doc,.ax-grid .ax-doc[class],.doc-card,.doc-card[class]{border:1px solid CanvasText;filter:none}
	.ax-grid .ax-doc::before,.ax-grid .ax-doc::after,.doc-card::before,.doc-card::after{display:none}
}

/* -------------------------------------------------------------------------------------------------
   7. BRANCH PAGE
   ------------------------------------------------------------------------------------------------- */
.cx-br-band .branch-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:14px;padding:0 1rem;border-radius:999px;
	background:rgba(255,255,255,.07);border:1px solid var(--c-on-band-line);color:#fff;font-size:.88rem;text-decoration:none}
.cx-br-band .branch-back:hover{background:rgba(255,255,255,.14);text-decoration:none;color:#fff}
/* "Back" points to the inline START. gi-arrow points to the inline end in RTL, so it is mirrored
   in RTL and left as drawn in LTR (alex.css mirrored it the other way round). */
.cx-br-band .branch-back-arrow{color:var(--c-sky);transform:scaleX(-1)}
html[dir="ltr"] .cx-br-band .branch-back-arrow{transform:none}
.cx-br-hero{display:flex;gap:clamp(16px,2.6vw,28px);align-items:flex-start}
.cx-br-mark{display:grid;place-items:center;flex:0 0 auto;width:clamp(64px,8vw,96px);aspect-ratio:4/5;overflow:hidden;border-radius:var(--cx-r-arch);
	background:linear-gradient(180deg,rgba(46,155,214,.28),rgba(46,155,214,.06));border:1.5px solid rgba(134,205,239,.45);color:var(--c-sky)}
/* svg.gi has no viewBox ratio of its own: height:auto fell back to 150px and stretched the arch. */
.cx-br-mark svg{width:42%;height:auto;aspect-ratio:1}
.cx-br-hero-t{min-width:0;flex:1}
/* Phones: the arch sits beside the title (not alone on a row above it); lede and share run full width. */
@media (max-width:559px){
	.cx-br-hero{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px 14px}
	.cx-br-hero-t{display:contents}
	.cx-br-mark{grid-column:1;grid-row:1;width:52px}
	.cx-br-band h1.cx-br-title{grid-column:2;grid-row:1}
	.cx-br-hero-t>:not(.cx-br-title){grid-column:1/-1;justify-self:start;margin-top:0}
}
@media (min-width:900px){.cx-br-hero{max-width:calc(100% - 372px)}}
@media (min-width:1100px){.cx-br-hero{max-width:calc(100% - 420px)}}
.cx-br-band h1.cx-br-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0;color:#fff;
	font-size:clamp(1.7rem,1.15rem + 2.6vw,3rem);line-height:var(--cx-lh-tight)}
.cx-br-band h1 .badge{font-size:.8rem}
.cx-br-band .cx-tide{margin:.7rem 0 0;color:var(--c-on-band-2);font-size:.92rem}
.cx-br-band .cx-tide.is-open,.cx-br-band .cx-tide.is-open .cx-g-tide{color:#7EE2B8}
.cx-br-band .cx-tide.is-shut>b{color:#fff}
.cx-br-band .cx-tide.is-shut .cx-g-tide{color:var(--c-sky)}
.cx-br-band .cx-tide-t{color:var(--c-on-band-2)}
.cx-br-band .branch-lede{margin-top:.9rem;color:var(--c-on-band-2);font-size:1.02rem;max-width:64ch}
.cx-br-band .share-chip{margin-top:1.1rem;background:rgba(255,255,255,.06);color:#fff;border-color:rgba(201,219,238,.45)}
.cx-br-band .share-chip:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}

.cx-br-page{padding-bottom:clamp(40px,6vw,80px)}
.cx-br-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
@media (min-width:900px){.cx-br-cols{grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}}
@media (min-width:1100px){.cx-br-cols{grid-template-columns:minmax(0,1fr) 380px;gap:40px}}
.cx-br-page .panel.cx-br-main{border-radius:var(--cx-r-card);padding:clamp(18px,2.8vw,30px)}
.cx-br-page .branch-addr{margin-top:0;padding:14px 16px;border-radius:16px;background:var(--c-foam-2);color:var(--c-ink);font-weight:700}
.cx-br-page .branch-addr svg{color:var(--c-sea)}
.cx-br-page .branch-chips .chip{min-height:36px;gap:6px}
.cx-br-page .cx-br-contact .contact-actions{margin-top:0}
.cx-br-page .map-embed.cx-map{margin-top:18px}
.cx-br-page .cx-br-h{display:flex;align-items:center;gap:12px;margin:26px 0 10px;font-size:1.3rem}
.cx-br-page .cx-br-h::before{content:"";flex:0 0 26px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
@media (min-width:900px){.cx-br-side{position:sticky;top:calc(var(--nav-h) + 16px);margin-top:-110px;z-index:2}}
.cx-br-page .branch-doc{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:16px;margin:0;padding:18px;
	border-radius:var(--cx-r-card);background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop);text-decoration:none}
.cx-br-page .branch-doc:hover{border-color:var(--c-brand)}
.cx-br-page .branch-doc-ava{width:88px;height:auto;aspect-ratio:4/5;border-radius:var(--cx-r-arch);object-fit:cover;
	box-shadow:0 0 0 3px var(--c-card),0 0 0 4.5px var(--c-sky)}
.cx-br-page .branch-doc-t strong{font-size:1.1rem}
.cx-br-page .branch-doc-go{display:inline-flex;align-items:center;gap:6px;margin-top:.5rem;color:var(--cx-link)}
.cx-br-page .branch-doc-go::after{content:"";width:16px;height:16px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}
[dir="ltr"] .cx-br-page .branch-doc-go::after{transform:scaleX(-1)}
/* Other locations: tram stations. */
.cx-br-page .panel.cx-br-sibs{border-radius:var(--cx-r-card);padding:20px}
.cx-br-sibs .branch-sibs{gap:0}
.cx-br-sibs .branch-sib{position:relative;padding:10px 12px;padding-inline-start:34px;border:0;border-radius:14px;background:none;min-height:44px}
.cx-br-sibs .branch-sib:hover{background:var(--c-foam)}
.cx-br-sibs .branch-sib::before{content:"";position:absolute;inset-inline-start:8px;top:16px;width:14px;height:14px;border-radius:50%;
	background:var(--c-card);border:3px solid var(--c-sea);box-sizing:border-box;z-index:1}
.cx-br-sibs .branch-sib:not(:last-child)::after{content:"";position:absolute;inset-inline-start:13.5px;top:30px;bottom:-16px;width:3px;background:var(--c-sea);opacity:.45;border-radius:3px}
.cx-br-page .hub-back .btn{width:100%}

/* -------------------------------------------------------------------------------------------------
   8. FLOATING CALL CAPSULE (doctor + branch pages, ≤760px; z 60 per the foundation map)
   ------------------------------------------------------------------------------------------------- */
@media (max-width:760px){
	body:has(.mobile-callbar){--cx-callbar-h:88px}
	.mobile-callbar.cx-capsule{inset-inline:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:var(--cx-z-callbar);
		align-items:center;gap:6px;height:64px;padding:6px;border:0;border-radius:999px;background:var(--cx-dock-bg);box-shadow:var(--cx-shadow-dock)}
	.mobile-callbar.cx-capsule .btn{position:relative;flex:1 1 0;min-width:0;height:52px;min-height:52px;padding:0 1rem;border-radius:999px;font-size:.95rem;gap:.45rem;
		white-space:nowrap;line-height:1.15;text-align:center}
	.mobile-callbar.cx-capsule .btn>svg{flex:0 0 auto;width:18px;height:18px}
	.mobile-callbar.cx-capsule .btn>span:not(.cx-sr){min-width:0;overflow:hidden;text-overflow:ellipsis}
	/* The "talk to the clinic" dock: a read-only fee/status readout on the start side and ONE
	   sea action on the end side — not a row of call / WhatsApp / share buttons. */
	.mobile-callbar.cx-reach-dock{gap:10px;padding-inline-start:20px}
	.cx-reach-dock .cx-dock-info{flex:0 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;margin:0;line-height:1.2;color:#fff}
	.cx-reach-dock .cx-dock-info small{color:var(--c-on-band-3);font-size:.72rem;font-weight:700}
	.cx-reach-dock .cx-dock-info b{font-size:1.08rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.cx-reach-dock .cx-dock-info b.cx-dock-st{font-size:.92rem;color:var(--c-on-band-2)}
	.cx-reach-dock .cx-dock-info b.cx-dock-st.is-open{color:#7EE2B8}
	.mobile-callbar.cx-capsule .cx-cap-call{flex:0 1 auto;margin-inline-start:auto;padding:0 22px}
	.mobile-callbar.cx-capsule .btn-primary{background:var(--c-sea);color:var(--c-ink-deep)}
	.mobile-callbar.cx-capsule .btn-primary:hover{background:var(--c-sea-hi)}
	.mobile-callbar.cx-capsule .btn-wa{background:#25d366;color:#06301a}
	.mobile-callbar.cx-capsule .btn-wa:hover{background:#3ddc78}
	.mobile-callbar.cx-capsule .callbar-share{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.08);
		border:1px solid rgba(201,219,238,.3);color:#fff}
	.mobile-callbar.cx-capsule .callbar-share:hover{background:rgba(255,255,255,.16);border-color:#fff}
	.mobile-callbar.cx-capsule .share-chip{flex:1;height:52px;min-height:52px;background:rgba(255,255,255,.08);border-color:rgba(201,219,238,.4);color:#fff}
	.mobile-callbar.cx-capsule :focus-visible{outline-color:var(--c-sea-hi)}
	/* Branch page variant: the share is a labelled chip — keep it icon-sized so the two CTAs breathe. */
	.mobile-callbar.cx-capsule .share-chip.callbar-share{flex:0 0 52px;width:52px;padding:0}
	.mobile-callbar.cx-capsule .share-chip.callbar-share>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	@media (max-width:374px){.mobile-callbar.cx-capsule .btn{font-size:.9rem;padding:0 .8rem}}
}

/* "Talk to the clinic" bottom sheet (<dialog id="cx-reach">): a card per clinic. */
dialog.cx-reach{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:min(88vh,88dvh);margin:0;padding:0;border:0;
	border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;background:var(--c-page);color:var(--c-body);box-shadow:var(--cx-shadow-pop);overflow:auto;overscroll-behavior:contain}
dialog.cx-reach::backdrop{background:rgba(4,14,27,.6)}
dialog.cx-reach[open]{animation:cx-reach-in var(--cx-dur-sheet) var(--cx-ease)}
@keyframes cx-reach-in{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
.cx-reach-in{display:flex;flex-direction:column;gap:12px;padding:0 16px calc(18px + env(safe-area-inset-bottom))}
.cx-reach .cx-sheet-grip{margin:10px auto 0}
.cx-reach-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:4px 4px 0}
.cx-reach-head h2{margin:0;color:var(--c-ink);font-size:1.3rem;line-height:1.3}
.cx-reach-head p{margin:.25rem 0 0;color:var(--c-muted);font-size:.86rem;line-height:1.6}
.cx-reach-x{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:var(--c-foam);color:var(--c-ink);cursor:pointer}
.cx-reach-x svg{width:18px;height:18px}
.cx-reach-x:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-reach-list{display:grid;gap:12px}
.cx-reach-card{padding:16px 16px 4px;border-radius:var(--cx-r-card);background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card)}
.cx-reach-name{margin:0;color:var(--c-ink);font-size:1.12rem;line-height:1.35}
.cx-reach-addr{display:flex;align-items:flex-start;gap:6px;margin:.3rem 0 .5rem;color:var(--c-muted);font-size:.86rem;line-height:1.5}
.cx-reach-addr svg{flex:0 0 auto;width:16px;height:16px;margin-top:2px;color:var(--c-sea)}
.cx-reach-card .cx-tide{margin-bottom:.2rem}
.cx-reach-card .contact-actions{display:block;margin-top:10px}
.cx-reach-card .alex-reveal{width:100%;min-height:52px;border-radius:999px}
.cx-reach-card .alex-reveal-slot.is-open{margin-top:0}
.cx-reach-card .pause-note{margin-top:8px}
.cx-reach-card:not(:has(.cx-chev)){padding-bottom:16px}
.cx-reach-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 6px 0;color:var(--c-muted);font-size:.86rem;font-weight:700}
.cx-reach-foot .callbar-share{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--c-foam);color:var(--c-brand)}
.cx-reach-foot .callbar-share svg{width:20px;height:20px}
@media (min-width:761px){dialog.cx-reach{inset:0;margin:auto;max-width:480px;border-radius:var(--cx-r-sheet)}.cx-reach .cx-sheet-grip{display:none}}
@media (prefers-reduced-motion:reduce){dialog.cx-reach[open]{animation:none}.cx-chev svg{transition:none}}

/* -------------------------------------------------------------------------------------------------
   9. SHARE SHEET + QR · GALLERY · LIGHTBOX
   ------------------------------------------------------------------------------------------------- */
.shsheet.cx-sheet[open],.shsheet.cx-sheet:target{border-radius:var(--cx-r-sheet) var(--cx-r-sheet) 0 0;background:var(--c-card);box-shadow:var(--cx-shadow-pop)}
.shsheet.cx-sheet::backdrop{background:rgba(4,14,27,.6)}
.cx-sheet-grip{display:block;flex:0 0 auto;width:44px;height:5px;margin:10px auto 0;border-radius:999px;background:var(--c-line)}
.cx-sheet .shsheet-head{border-bottom:0;padding:10px 20px 4px}
.cx-sheet .shsheet-head h2{display:flex;align-items:center;gap:10px;font-size:1.25rem}
.cx-sheet-ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--c-foam);color:var(--c-brand)}
.cx-sheet-ic svg{width:18px;height:18px}
.cx-sheet .cx-sheet-x{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:var(--c-foam);color:var(--c-ink);cursor:pointer}
.cx-sheet .cx-sheet-x:hover{background:var(--c-line)}
.cx-sheet .cx-sheet-x svg{width:18px;height:18px}
.cx-sheet .shsheet-body{padding:6px 20px calc(22px + env(safe-area-inset-bottom))}
.cx-sheet .shsheet-sub{color:var(--c-body);font-weight:700}
.cx-sheet .shsheet-grid{gap:14px 8px}
.cx-sheet .shnet{min-height:0;padding:4px 2px;border:0;background:none;color:var(--c-body);font-size:.74rem;gap:8px}
.cx-sheet .shnet svg{box-sizing:content-box;width:24px;height:24px;padding:15px;border-radius:50%;background:var(--c-foam);color:var(--c-brand);
	transition:transform var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-sheet .shnet:hover{color:var(--c-ink);background:none}
.cx-sheet .shnet:hover svg{transform:translateY(-2px)}
.cx-sheet .shnet--whatsapp,.cx-sheet .shnet--whatsapp:hover{background:none;color:var(--c-body)}
.cx-sheet .shnet--whatsapp svg{background:#25d366;color:#06301a}
.cx-sheet .shnet--facebook svg{color:#1877f2}
.cx-sheet .shnet--telegram svg{color:#1a8ad1}
.cx-sheet .shnet:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:16px}
/* Coast "send" anatomy (parts-share.php): message preview → one row of ways → QR behind a toggle. */
.cx-send-k{margin:0 0 8px;color:var(--c-muted);font-size:.8rem;font-weight:700;line-height:1.4}
.cx-send-card{margin:4px 0 18px}
.cx-send-bubble{position:relative;padding:12px 14px 24px;border-radius:20px;border-start-end-radius:6px;
	background:var(--c-foam);border:1px solid rgba(46,155,214,.22)}
.cx-sheet .cx-send-t.shsheet-sub{margin:0 0 4px;color:var(--c-ink);font-size:.95rem;font-weight:700;line-height:1.55;
	display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.cx-send .cx-send-url{display:block;margin:0}
.cx-send .cx-send-url .inp{display:block;width:100%;min-height:26px;height:26px;padding:0;border:0;border-radius:4px;background:none;box-shadow:none;
	color:var(--cx-link);font-size:.84rem;text-decoration:underline;text-underline-offset:.2em;text-overflow:ellipsis}
.cx-send .cx-send-url .inp:focus{background:none;box-shadow:none;outline:2px solid var(--cx-focus);outline-offset:2px}
.cx-send-tick{position:absolute;inset-inline-end:12px;bottom:7px;display:flex;color:var(--c-sea)}
:root[data-theme="dark"] .cx-send-bubble{background:var(--c-raised);border-color:var(--cx-card-border)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-send-bubble{background:var(--c-raised);border-color:var(--cx-card-border)}}
/* One row, scrolled sideways on a phone; fades only inside the side padding, so at rest no channel is
   faded and a half-scrolled one is the hint that more follow. */
.cx-send .shsheet-grid.cx-send-row{display:flex;gap:4px;margin-inline:-20px;padding:2px 20px 6px;overflow-x:auto;overscroll-behavior-x:contain;
	scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:20px;
	-webkit-mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);
	mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent)}
.cx-send .cx-send-row::-webkit-scrollbar{display:none}
.cx-send .cx-send-row:focus-within{-webkit-mask-image:none;mask-image:none}
.cx-send .cx-send-row>.shnet{flex:1 0 auto;min-width:62px;padding-inline:2px;align-content:start;scroll-snap-align:start}
.cx-send .cx-send-row>.shnet[hidden]{display:none}
/* The whole label, never an ellipsis ("Text message" used to read "Text messa…" at 390px): the
   channel is as wide as its name, and the row scrolls instead. */
.cx-send .cx-send-row>.shnet>span:not(.sr-only){max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap;text-align:center;line-height:1.3}
.cx-sheet .shnet--copy svg{background:var(--c-band);color:#fff}
.cx-sheet .shnet--copy.is-done svg{background:var(--c-ok-bg);color:var(--c-ok)}
:root[data-theme="dark"] .cx-sheet .shnet--copy:not(.is-done) svg{background:var(--c-sea-hi);color:var(--c-ink-deep)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-sheet .shnet--copy:not(.is-done) svg{background:var(--c-sea-hi);color:var(--c-ink-deep)}}
/* QR behind its own toggle (desktop only — the encoder is never fetched below 1024px). */
.cx-send-qr{display:none;margin-top:12px;padding-top:6px;border-top:1px solid var(--c-line)}
.cx-send-qr>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 4px;border-radius:12px;cursor:pointer;list-style:none;
	color:var(--cx-link);font-size:.9rem;font-weight:700}
.cx-send-qr>summary::-webkit-details-marker{display:none}
.cx-send-qr>summary:hover{color:var(--cx-link-hover)}
.cx-send-qr>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-send-qr>summary .gi{width:22px;height:22px}
.cx-send-qr>summary .cx-send-qr-chev{width:16px;height:16px;margin-inline-start:auto;transition:transform var(--cx-dur) var(--cx-ease)}
.cx-send-qr[open]>summary .cx-send-qr-chev{transform:rotate(180deg)}
.cx-send .cx-send-qr .shsheet-qr{display:block;margin:6px 0 4px}
@media (min-width:1024px){.cx-send-qr{display:block}}
.cx-send-qr:has(.shsheet-qr[style*="none"]){display:none}
/* The send glyph is drawn for Arabic (flying to the reading end); English mirrors it. */
[dir="ltr"] .cx-send-ic{transform:scaleX(-1)}
.cx-sheet .shsheet-qr{padding:16px;border-radius:20px;background:var(--c-foam-2);border:1px solid var(--c-line)}
.cx-sheet .shsheet-qr canvas{border:0;border-radius:16px;box-shadow:0 0 0 1px var(--c-line)}
.cx-sheet .shsheet-qr figcaption{color:var(--c-body);font-weight:700}
@media (min-width:1024px){
	.shsheet.cx-sheet[open],.shsheet.cx-sheet:target{border-radius:var(--cx-r-sheet);max-width:480px}
	.cx-sheet-grip{display:none}
	.cx-sheet .shsheet-head{padding-top:18px}
}

/* Gallery: a mosaic — the first photo is the hero tile. */
.cx-doc-page .gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:118px;gap:10px;margin-top:1.2rem}
@media (min-width:640px){.cx-doc-page .gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:130px}}
.cx-doc-page .gallery-item{border-radius:18px;height:100%}
.cx-doc-page .gallery-item:first-child{grid-column:span 2;border-radius:24px}
/* Mobile (2 columns): the lead photo is a wide strip; an odd one out at the end spans the row. */
.cx-doc-page .gallery-item:last-child:nth-child(2n){grid-column:span 2}
@media (min-width:640px){
	.cx-doc-page .gallery-item:first-child{grid-row:span 2}
	.cx-doc-page .gallery-item:last-child:nth-child(2n){grid-column:auto}
	/* After the 2×2 lead tile, rows hold four photos; stretch whatever is left over to fill its row. */
	.cx-doc-page .gallery-item:nth-child(n+6):last-child:nth-child(4n+2){grid-column:span 4}
	.cx-doc-page .gallery-item:nth-child(n+6):nth-last-child(2):nth-child(4n+2),
	.cx-doc-page .gallery-item:nth-child(n+6):last-child:nth-child(4n+3){grid-column:span 2}
	.cx-doc-page .gallery-item:nth-child(n+6):last-child:nth-child(4n){grid-column:span 2}
	.cx-doc-page .gallery-item:nth-child(2):last-child{grid-column:span 2;grid-row:span 2}
	.cx-doc-page .gallery-item:nth-child(3):last-child,.cx-doc-page .gallery-item:nth-child(4):last-child{grid-column:span 2}
}
.cx-doc-page .gallery img{width:100%;height:100%;border:0;border-radius:inherit}
.cx-doc-page .gallery-zoom{background:var(--c-band);color:#fff;border-radius:50%}
.cx-doc-page .gallery-item:focus-visible{outline:3px solid var(--cx-focus)}

.lb::backdrop{background:rgba(4,14,27,.94)}
.lb .lb-btn{background:rgba(134,205,239,.14);color:#fff}
.lb .lb-btn:hover{background:var(--c-sea);color:var(--c-ink-deep)}
.lb .lb-btn:focus-visible{outline:3px solid var(--c-sea-hi)}
.lb .lb-img{border-radius:18px}
.lb .lb-thumb{border-radius:10px}
.lb .lb-thumb.is-cur{border-color:var(--c-sea-hi)}

/* -------------------------------------------------------------------------------------------------
   10. DARK THEME SPECIFICS · REDUCED MOTION
   ------------------------------------------------------------------------------------------------- */
:root[data-theme="dark"] .cx-doc-page .cred-list li,:root[data-theme="dark"] #cx-reviews .review{box-shadow:none}
:root[data-theme="dark"] .cx-doc-page .branch.cx-branch{box-shadow:none}
:root[data-theme="dark"] .doc-card{--sh:drop-shadow(0 1px 2px rgba(0,0,0,.35));--sh-hover:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
:root[data-theme="dark"] .cx-doc-faq-list details.panel{box-shadow:none}
:root[data-theme="dark"] .cx-rev-sum .rev-dims>span::after{background:linear-gradient(90deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-line) 0)}
:root[data-theme="dark"][dir="rtl"] .cx-rev-sum .rev-dims>span::after{background:linear-gradient(270deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-line) 0)}
:root[data-theme="dark"] .doc-card .doc-cta .doc-cta-arrow{background:var(--c-sea);color:var(--c-ink-deep)}
:root[data-theme="dark"] .cx-doc-trust-ic{background:var(--c-raised)}
:root[data-theme="dark"] .cx-contact-head{background:#0A2340}
:root[data-theme="dark"] .cx-doc-page .cx-doc-aside .own-note.cx-claim-stub,:root[data-theme="dark"] .cx-doc-aside .cx-contact-card:has(+ .cx-claim-stub){box-shadow:none}
:root[data-theme="dark"] .cx-contact-card .post-share--doc .post-share-whatsapp{color:#4ADE80}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-doc-page .cred-list li,:root:not([data-theme="light"]) #cx-reviews .review{box-shadow:none}
	:root:not([data-theme="light"]) .cx-doc-page .branch.cx-branch{box-shadow:none}
	:root:not([data-theme="light"]) .doc-card{--sh:drop-shadow(0 1px 2px rgba(0,0,0,.35));--sh-hover:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
	:root:not([data-theme="light"]) .cx-doc-faq-list details.panel{box-shadow:none}
	:root:not([data-theme="light"]) .cx-rev-sum .rev-dims>span::after{background:linear-gradient(90deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-line) 0)}
	:root:not([data-theme="light"])[dir="rtl"] .cx-rev-sum .rev-dims>span::after{background:linear-gradient(270deg,var(--c-sea) calc(var(--v,0) / 5 * 100%),var(--c-line) 0)}
	:root:not([data-theme="light"]) .doc-card .doc-cta .doc-cta-arrow{background:var(--c-sea);color:var(--c-ink-deep)}
	:root:not([data-theme="light"]) .cx-doc-trust-ic{background:var(--c-raised)}
	:root:not([data-theme="light"]) .cx-contact-head{background:#0A2340}
	:root:not([data-theme="light"]) .cx-doc-page .cx-doc-aside .own-note.cx-claim-stub,:root:not([data-theme="light"]) .cx-doc-aside .cx-contact-card:has(+ .cx-claim-stub){box-shadow:none}
	:root:not([data-theme="light"]) .cx-contact-card .post-share--doc .post-share-whatsapp{color:#4ADE80}
}
:root[data-theme="dark"] .cx-tile--wa .cx-tile-k{color:#4ADE80}
:root[data-theme="dark"] .cx-reach-card,:root[data-theme="dark"] dialog.cx-reach{box-shadow:none}
:root[data-theme="dark"] dialog.cx-reach{border-top:1px solid var(--cx-card-border)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-tile--wa .cx-tile-k{color:#4ADE80}
	:root:not([data-theme="light"]) .cx-reach-card,:root:not([data-theme="light"]) dialog.cx-reach{box-shadow:none}
	:root:not([data-theme="light"]) dialog.cx-reach{border-top:1px solid var(--cx-card-border)}
}
@media (prefers-reduced-motion:reduce){
	.cx-doc-tabs a,.cx-sheet .shnet svg,.cx-doc-faq-list summary::after,.cx-rev-write>summary,.cx-rev-write>summary::after,.cx-branch .cx-branch-addr a.cx-branch-go{transition:none}
	.cx-sheet .shnet:hover svg{transform:none}
	.doc-card:hover,.doc-card.doc-card--gold:hover{transform:none}
}
/* =================================================================================================
   coast/50-blog.css — the health journal (blog hub, topic + author archives, article page).
   Owner: BLOG. Templates: blog.php, blog-taxonomy.php, blog-author.php, single-post.php,
   parts-article.php, parts-share.php. Tokens and utilities come from 00-tokens.css.

   Skeleton (Alex's own, not the sibling directory's):
   · Hub = a MAGAZINE: navy masthead ending in a tide TAB BAR of shelves (a shelf's size drawn as
     tide-mark dots, never a number or a bubble) → the cover story laid across the page → "wave of
     the week" (most read) as a TIDE TABLE: heading + key beside a ruled list whose gauge bars ebb
     with the rank (no numerals) → an INDEX of arch-window rows with the directory card set into it
     like a house ad → arch-door pagination ("newer / older").
   · Article = tide-line progress → masthead with title, a newspaper dateline, the doctors'
     signatures and ONE "send it" (felucca) opener → cover window → [desktop side dock | reading
     column under ONE sticky chapter rail (every width) | the 30-second brief as a pencilled MARGIN
     NOTE, sticky beside the text — a paper slip above the text on phones] → the tail, across the
     reading + margin columns: readers' questions as a CONVERSATION THREAD (question bubble → reply
     bubble on the far side) → the CREDITS LEDGER (navy log head; signed / fine print & review /
     sources / pass it on, labels on the start side) → more reading as a sideways RAIL → the
     directory as a full-width navy HARBOUR BAND headed by the article's own specialty.

   Specificity: alex.css styles this namespace with single classes and a few (0,3,x)/(0,4,0) dark
   overrides on .post-cta; every rule below is scoped (.cx-*) so it wins without !important.

   Contents
     1. Masthead band (hub, topic, author)
     2. Tide tab bar (shelves)
     3. Hub: wave of the week, cover story, index rows, house ad, arch-door pager
     4. Article card (shared: hub, archives, related, doctor-profile / listing strips)
     5. Article page: tide progress, masthead, dateline, signatures, send opener, cover
     6. Reading layout: grid, side dock, margin note, chapter rail, prose, pull quote
     7. Tail: conversation thread (FAQ), credits ledger (author, fine print, sources, pass it on)
     8. Author box + directory harbour band
     9. Related rail + strips
    10. Cover art
    11. Dark-theme specifics, reduced motion
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   1. MASTHEAD BAND
   ------------------------------------------------------------------------------------------------- */
.cx-blog-mast{overflow:hidden;padding-top:clamp(18px,2.6vw,32px);
	padding-bottom:calc(clamp(30px,4.4vw,60px) + var(--cx-wave-h) * .6)}
.cx-blog-mast-in{position:relative}
/* Subtle sea glow behind the title — a single radial, no image. */
.cx-blog-mast::before{content:"";position:absolute;z-index:-1;inset-block-start:-30%;inset-inline-end:-10%;
	width:min(70vw,760px);aspect-ratio:1;border-radius:50%;pointer-events:none;
	background:radial-gradient(closest-side,rgba(46,155,214,.22),rgba(46,155,214,0))}

/* Breadcrumbs on navy (blog masthead + article masthead). */
.cx-blog-mast .crumbs,.cx-art-mast .crumbs{color:var(--c-on-band-3);margin-bottom:clamp(14px,2.4vw,28px)}
/* 44px tap targets, same as the static pages' crumbs (.cx-pg-head); row-gap 0 keeps a wrapped trail compact. */
.cx-blog-mast .crumbs a,.cx-art-mast .crumbs a{color:var(--c-sky);display:inline-flex;align-items:center;min-height:44px}
.cx-blog-mast .crumbs-list,.cx-art-mast .crumbs-list{row-gap:0}
.cx-blog-mast .crumbs a:hover,.cx-art-mast .crumbs a:hover{color:#fff}
.cx-blog-mast .crumb-sep,.cx-art-mast .crumb-sep{color:var(--c-sky);opacity:.8}
.cx-blog-mast .crumb-cur,.cx-art-mast .crumb-cur{color:var(--c-on-band-2)}

.cx-blog-mast-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:end}
.cx-blog-mast .post-hub-head{max-width:none;margin:0;min-width:0}
.cx-blog-mast .cx-blog-title{font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);color:var(--c-on-band);
	margin:0 0 .75rem;text-wrap:balance;text-align:start;letter-spacing:0}
.cx-blog-mast .cx-blog-lead{font-size:var(--cx-fs-lead);line-height:1.75;color:var(--c-on-band-2);max-width:56ch;margin:0}
.cx-blog-mast .post-eyebrow{margin-bottom:.8rem}

/* Count chip ("Articles: 12" / author count + profile link). */
.cx-blog-mast .cx-blog-count{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.1rem;
	padding:.35rem 1rem;min-height:40px;border-radius:var(--cx-r-pill);background:rgba(255,255,255,.07);
	border:1px solid var(--c-on-band-line);color:var(--c-on-band-2);font-size:.9rem;font-weight:700}
.cx-blog-mast .cx-blog-count .gi,.cx-blog-mast .cx-blog-count svg{width:18px;height:18px;color:var(--c-sky)}
.cx-blog-count-n{display:inline-flex;align-items:center;gap:.45rem}
.cx-blog-count-sep{color:var(--c-sky);opacity:.7}
.cx-blog-mast .cx-blog-count-link{display:inline-flex;align-items:center;min-height:44px;margin-block:-6px;
	color:var(--c-sky);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.3em}
.cx-blog-mast .cx-blog-count-link:hover{color:#fff}

/* Line-art lighthouse (decorative). Small watermark on phones, full art on desktop. */
.cx-blog-art{color:var(--c-sky);pointer-events:none;position:absolute;z-index:-1;
	inset-inline-end:-24px;inset-block-start:34px;width:150px;opacity:.16}
.cx-blog-art svg{display:block;width:100%;height:auto}
.cx-blog-art-beam{color:var(--c-sea);stroke:var(--c-sea)}
.cx-blog-art-wave{animation:cx-blog-drift 9s ease-in-out infinite alternate}
.cx-blog-art-wave--2{animation-duration:12s;opacity:.6}
@keyframes cx-blog-drift{from{transform:translateX(-8px)}to{transform:translateX(8px)}}
@media (min-width:900px){
	.cx-blog-mast-grid{grid-template-columns:minmax(0,1fr) auto}
	.cx-blog-art{position:static;width:clamp(230px,24vw,300px);opacity:.95;margin-block-end:-12px}
}

/* Topic page: the specialty card floats on the navy as a white card. */
.cx-blog-mast-aside.post-aside{width:100%;max-width:380px;min-width:0}
.cx-blog-mast .cx-blog-spec.panel{position:relative;background:var(--c-card);border:1px solid var(--cx-card-border);
	border-radius:var(--cx-r-card);box-shadow:var(--cx-shadow-pop);padding:clamp(20px,2.4vw,26px);color:var(--c-body)}
.cx-blog-spec-ic{display:grid;place-items:center;width:52px;height:62px;border-radius:var(--cx-r-arch);
	background:var(--c-foam);color:var(--c-brand);margin-bottom:.9rem}
.cx-blog-spec-ic svg{width:24px;height:24px}
.cx-blog-mast .cx-blog-spec h2{color:var(--c-ink);font-size:1.2rem;line-height:1.35;margin:0 0 .35rem}
.cx-blog-mast .cx-blog-spec p{color:var(--c-body);font-size:.95rem;line-height:1.7;margin:0 0 1rem}
.cx-blog-mast .cx-blog-spec .btn-primary{background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.cx-blog-mast .cx-blog-spec .btn-primary:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink)}
.cx-blog-mast .cx-blog-spec .btn-primary:focus-visible{outline-color:var(--cx-focus)}
@media (max-width:899px){
	.cx-blog-mast-aside.post-aside{max-width:none}
	.cx-blog-mast .cx-blog-spec.panel{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center}
	.cx-blog-spec-ic{grid-row:1 / span 2;width:46px;height:56px;margin:0;align-self:start}
	.cx-blog-mast .cx-blog-spec h2{font-size:1.08rem}
	.cx-blog-mast .cx-blog-spec p{font-size:.9rem;margin-bottom:.8rem}
	.cx-blog-mast .cx-blog-spec .btn{grid-column:1 / -1}
}

/* Author page: arch portrait beside the name. */
.cx-blog-author-head.post-author-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:clamp(18px,3vw,36px);margin:0}
.cx-blog-author-arch.cx-arch{width:clamp(108px,14vw,156px);flex:0 0 auto;background:var(--c-band-2);
	box-shadow:0 0 0 3px var(--c-band),0 0 0 5px var(--c-sky)}
.cx-blog-author-arch .post-author-ava{width:100%;height:100%;border-radius:0;object-fit:cover;background:transparent}
.cx-blog-author-txt{flex:1 1 280px;min-width:0}

/* -------------------------------------------------------------------------------------------------
   2. TIDE TAB BAR — text tabs on one sea rule; the open shelf rides a wave underline.
   ------------------------------------------------------------------------------------------------- */
.cx-blog-mast .cx-tabs.post-topics{position:relative;flex-wrap:nowrap;scroll-snap-type:none;gap:clamp(2px,1.2vw,14px);
	margin:clamp(26px,3.4vw,40px) 0 0;padding:0;box-shadow:inset 0 -1px 0 var(--c-on-band-line)}
.cx-blog-mast .cx-tabs .cx-topic.qchip{position:relative;flex:0 0 auto;display:inline-flex;align-items:baseline;gap:.35rem;
	min-height:50px;padding:14px 8px 16px;background:none;border:0;border-radius:0;box-shadow:none;
	color:var(--c-on-band-2);font-size:.95rem;font-weight:700;white-space:nowrap;
	transition:color var(--cx-dur) var(--cx-ease)}
.cx-blog-mast .cx-tabs .cx-topic.qchip{align-items:center}
/* A shelf's size as tide marks: one dot per piece (capped at 5, --cx-n from the markup); the exact
   count is the tab's tooltip and sr-only text. */
.cx-blog-mast .cx-tabs .cx-topic.qchip small.cx-topic-n{display:inline-block;flex:0 0 auto;margin:0;opacity:.7;
	width:calc(var(--cx-n,1) * 7px - 1px);height:6px;font-size:0;
	background:radial-gradient(circle,var(--c-sky) 0 2.1px,transparent 2.6px) 0 50%/7px 6px repeat-x}
.cx-blog-mast .cx-tabs .cx-topic.qchip::after{content:"";position:absolute;inset-inline:4px;bottom:0;height:8px;background:var(--c-sky);
	opacity:0;transform:translateY(4px);transition:opacity var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease);
	-webkit-mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x}
.cx-blog-mast .cx-tabs .cx-topic.qchip:hover{background:none;color:#fff}
.cx-blog-mast .cx-tabs .cx-topic.qchip:hover::after{opacity:.45;transform:none}
.cx-blog-mast .cx-tabs .cx-topic.qchip.is-on{background:none;color:#fff}
.cx-blog-mast .cx-tabs .cx-topic.qchip.is-on::after{opacity:1;transform:none}
.cx-blog-mast .cx-tabs .cx-topic.qchip.is-on small.cx-topic-n,.cx-blog-mast .cx-tabs .cx-topic.qchip:hover small.cx-topic-n{opacity:1}
.cx-blog-mast .cx-tabs .cx-topic.qchip:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:-4px;border-radius:10px}
@media (min-width:1100px){
	.cx-blog-mast .cx-tabs.post-topics{-webkit-mask-image:none;mask-image:none}
}
/* Edge fades, only on the ends that actually hide tabs. The inline script after the bar (blog.php,
   blog-taxonomy.php) scrolls the open shelf into view and sets .cx-ov (measured) + .cx-ov-s / .cx-ov-e
   (more tabs past the start / end). Without it, alex.css's end-only fade stays. */
.cx-blog-mast .cx-tabs.post-topics.cx-ov{--cx-fs:#000;--cx-fe:#000;
	-webkit-mask-image:linear-gradient(to left,var(--cx-fs),#000 36px,#000 calc(100% - 36px),var(--cx-fe));
	mask-image:linear-gradient(to left,var(--cx-fs),#000 36px,#000 calc(100% - 36px),var(--cx-fe))}
[dir="ltr"] .cx-blog-mast .cx-tabs.post-topics.cx-ov{
	-webkit-mask-image:linear-gradient(to right,var(--cx-fs),#000 36px,#000 calc(100% - 36px),var(--cx-fe));
	mask-image:linear-gradient(to right,var(--cx-fs),#000 36px,#000 calc(100% - 36px),var(--cx-fe))}
.cx-blog-mast .cx-tabs.post-topics.cx-ov-s{--cx-fs:transparent}
.cx-blog-mast .cx-tabs.post-topics.cx-ov-e{--cx-fe:transparent}
.cx-blog-mast .cx-tabs.post-topics.cx-ov:focus-within{-webkit-mask-image:none;mask-image:none}

/* -------------------------------------------------------------------------------------------------
   3. HUB
   ------------------------------------------------------------------------------------------------- */
.sec-blog.cx-blog{padding-top:clamp(28px,4vw,52px)}

/* Wave of the week as a TIDE TABLE: the heading + a gauge key on the start side, a ruled list on
   the other; each row's gauge bar ebbs with its rank (CSS, by position). No numerals on screen —
   the <ol> carries the order for screen readers. */
.cx-tide-table.cx-blog-week{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:14px clamp(28px,4vw,56px);min-width:0;
	margin:0 0 clamp(44px,6vw,80px);padding:clamp(20px,3vw,34px);border-radius:var(--cx-r-card);
	background:var(--c-foam-2);border:1px solid var(--c-line)}
@media (min-width:900px){.cx-tide-table.cx-blog-week{grid-template-columns:minmax(210px,290px) minmax(0,1fr);align-items:start}}
.cx-blog-week-head{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;margin:0}
.cx-blog-week-head .h-sub{display:flex;align-items:center;gap:12px;margin:0;color:var(--c-ink);
	font-size:clamp(1.3rem,1.1rem + .8vw,1.7rem);line-height:1.2}
.cx-blog-week-head .h-sub::before{content:"";flex:0 0 30px;width:30px;height:10px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-blog-week-head p{margin:0;color:var(--c-muted);font-size:.92rem;line-height:1.6}
.cx-blog-week-head .cx-tide-key{display:inline-flex;align-items:center;gap:10px;margin-top:.5rem;font-size:.8rem;color:var(--c-muted)}
.cx-tide-key-bar{flex:0 0 auto;width:46px;height:8px;background:linear-gradient(90deg,var(--c-sea) 0 70%,var(--c-line) 70%);
	-webkit-mask:var(--cx-wave-line) 0 50%/24px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/24px 8px repeat-x}
[dir="rtl"] .cx-tide-key-bar{background:linear-gradient(270deg,var(--c-sea) 0 70%,var(--c-line) 70%)}

.cx-mini-wave.post-mini-list{display:block;margin:0;padding:0;list-style:none;border-top:2px solid var(--c-sea)}
.cx-mini-wave .cx-mini.post-mini{position:relative;display:grid;grid-template-columns:clamp(56px,9vw,96px) minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,22px);
	margin:0;padding:12px 6px;border:0;border-bottom:1px solid var(--c-line);border-radius:0;background:none;
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-mini-wave .post-mini-n{display:none}
/* The gauge: a faint wave track with the sea fill drawn to the row's share of the top read. */
.cx-mini-gauge{position:relative;display:block;height:10px;--cx-g:100%;
	background:var(--c-line);-webkit-mask:var(--cx-wave-line) 0 50%/24px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/24px 8px repeat-x}
.cx-mini-gauge::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:var(--cx-g);background:var(--c-sea);
	transition:width .6s var(--cx-ease)}
.cx-mini-wave .cx-mini:nth-child(2) .cx-mini-gauge{--cx-g:80%}
.cx-mini-wave .cx-mini:nth-child(3) .cx-mini-gauge{--cx-g:62%}
.cx-mini-wave .cx-mini:nth-child(4) .cx-mini-gauge{--cx-g:46%}
.cx-mini-wave .cx-mini:nth-child(n+5) .cx-mini-gauge{--cx-g:30%}
.cx-mini-wave .post-mini a{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 18px;min-height:44px;align-content:center;
	color:var(--c-ink);font-size:.98rem;font-weight:400;line-height:1.55}
.cx-mini-wave .post-mini a bdi{flex:1 1 260px;min-width:0}
.cx-mini-wave .post-mini a::after{content:"";position:absolute;inset:0}
.cx-mini-wave .post-mini small{flex:0 0 auto;margin:0;padding:0;color:var(--c-muted);font-size:.8rem;white-space:nowrap}
.cx-mini-wave .cx-mini.post-mini:hover{background:var(--c-card)}
.cx-mini-wave .post-mini a:hover{color:var(--cx-link)}
.cx-mini-wave .cx-mini:first-child a{font-weight:700;font-size:1.04rem}
.cx-mini-wave .cx-mini:first-child .cx-mini-gauge::before{background:var(--c-brand)}
@supports selector(:has(a)){
	.cx-mini-wave .post-mini a:focus-visible{outline:none}
	.cx-mini-wave .cx-mini.post-mini:has(a:focus-visible){outline:3px solid var(--cx-focus);outline-offset:2px;border-radius:10px}
}
.cx-blog-more.cx-blog-week{margin:clamp(48px,6vw,84px) 0 0}

/* Cover story: the pick laid ACROSS the page — a tall arch window beside a big headline. */
.cx-blog-feature.post-hero{margin:0 0 clamp(44px,6vw,80px);min-width:0}
.cx-blog-feature .post-eyebrow{display:inline-flex;font-size:.88rem;margin:0 0 .9rem}
.cx-blog-feature .post-card.post-card--wide{flex-direction:column;align-items:stretch}
.cx-blog-feature .post-card--wide .post-card-media{flex:none;aspect-ratio:1200/630}
.cx-blog-feature .post-card--wide .post-card-body{padding:clamp(16px,2vw,22px) clamp(8px,1.4vw,16px) 10px;justify-content:flex-start}
.cx-blog-feature .post-card--wide .post-card-title{font-size:clamp(1.45rem,1.05rem + 1.5vw,2.3rem);line-height:1.28;text-wrap:balance}
.cx-blog-feature .post-card--wide .post-card-ex{font-size:clamp(1rem,.95rem + .2vw,1.12rem);line-height:1.8;-webkit-line-clamp:3}
@media (min-width:900px){
	.cx-blog-feature .post-card.post-card--wide{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;
		gap:clamp(24px,3.4vw,52px);padding:14px;padding-inline-end:clamp(20px,3vw,44px)}
	.cx-blog-feature .post-card--wide .post-card-media{aspect-ratio:auto;height:100%;min-height:clamp(340px,32vw,420px);
		border-radius:50% 50% 18px 18px / 26% 26% 18px 18px}
	.cx-blog-feature .post-card--wide .post-card-body{padding:clamp(18px,2vw,26px) 0}
	.cx-blog-feature .post-card--wide .post-card-ex{-webkit-line-clamp:4}
}

/* The index: latest pieces as rows — an arch window at the start, the words beside it. */
.post-cols.cx-blog-latest{grid-template-columns:minmax(0,1fr)}
.cx-blog-latest .cx-sec-head{margin-bottom:clamp(8px,1.4vw,14px)}
.cx-blog-latest .cx-sec-head .h-sub{font-size:var(--cx-fs-h2);line-height:1.18;margin:0}
.g-post.cx-blog-index{grid-template-columns:minmax(0,1fr);gap:0 clamp(28px,4vw,56px)}
@media (min-width:900px){.g-post.cx-blog-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-blog-index>.post-card.cx-post-card{display:grid;grid-template-columns:clamp(92px,27%,170px) minmax(0,1fr);align-items:start;
	gap:clamp(14px,2vw,24px);padding:clamp(18px,2.2vw,26px) 0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;
	border-bottom:1px solid var(--c-line)}
.cx-blog-index>.post-card.cx-post-card:hover{transform:none;box-shadow:none}
.cx-blog-index .cx-post-card .post-card-media{aspect-ratio:4/5;border-radius:999px 999px 14px 14px;box-shadow:var(--cx-shadow-card)}
.cx-blog-index .cx-post-card--art .post-card-media{border-radius:999px 999px 14px 14px}
.cx-blog-index .cx-post-go{display:none}
.cx-blog-index .cx-cover-sun{left:50%;top:18%;width:46%}
.cx-blog-index .cx-post-card .post-card-body{padding:2px 0 0;gap:.3rem}
.cx-blog-index .cx-post-card .post-card-title{font-size:clamp(1.04rem,.98rem + .35vw,1.25rem);line-height:1.5}
.cx-blog-index .cx-post-card .post-card-title a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.25em}
.cx-blog-index .cx-post-card .post-card-ex{-webkit-line-clamp:2;font-size:.92rem}
.cx-blog-index .cx-post-card .post-card-foot{border-top:0;padding-top:.35rem}
@supports selector(:has(a)){
	.cx-blog-index>.post-card.cx-post-card:has(.post-card-title a:focus-visible){outline-offset:6px;border-radius:12px}
}
@media (max-width:479px){
	.cx-blog-index>.post-card.cx-post-card{grid-template-columns:96px minmax(0,1fr)}
	.cx-blog-index .cx-post-card .post-card-ex{display:none}
	.cx-blog-index .cx-post-card .post-badge-rev{margin-inline-start:0}
}

.cx-blog .post-empty.panel{background:var(--c-foam);border:0;box-shadow:none;border-radius:var(--cx-r-card);color:var(--c-body);padding:clamp(28px,4vw,44px) 20px}

/* House ad: the directory card set into the index, across both columns. */
.cx-blog-cta.panel{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:center;
	margin-block:clamp(22px,3vw,34px);padding:clamp(22px,3vw,34px);padding-bottom:calc(clamp(22px,3vw,34px) + 10px);
	background:var(--c-band);border:1px solid transparent;border-radius:var(--cx-r-card);box-shadow:none;color:var(--c-on-band-2)}
.cx-blog-index>.cx-blog-cta{grid-column:1 / -1}
.cx-blog-cta.panel::after{content:"";position:absolute;inset-inline:0;bottom:6px;height:10px;opacity:.3;background:var(--c-sky);pointer-events:none;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.cx-blog-cta-ic{display:grid;place-items:center;width:56px;height:68px;border-radius:var(--cx-r-arch);
	background:rgba(134,205,239,.12);border:1.5px solid rgba(134,205,239,.4);color:var(--c-sky)}
.cx-blog-cta-ic svg{width:26px;height:26px}
.cx-blog-cta .h-sub{color:#fff;font-size:clamp(1.2rem,1.05rem + .7vw,1.55rem);line-height:1.3;margin:0 0 .35rem}
.cx-blog-cta.post-rail p{color:var(--c-on-band-2);font-size:.98rem;line-height:1.75;margin:0;max-width:60ch}
.cx-blog-cta .btn-block{width:100%}
.cx-blog-cta .btn-primary{background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep)}
.cx-blog-cta .btn-primary:hover{background:var(--c-sea-hi);border-color:var(--c-sea-hi);color:var(--c-ink-deep)}
.cx-blog-cta :focus-visible{outline-color:var(--c-sea-hi)}
@media (min-width:760px){
	.cx-blog-cta.panel{grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(18px,2.6vw,30px)}
	.cx-blog-cta .btn-block{width:auto;min-height:52px;padding-inline:1.8rem}
}
.cx-blog-latest .pager~.cx-blog-cta{margin-top:clamp(36px,5vw,60px)}

/* Arch-door pagination on a sea sill: page numbers are doors, newer/older are plain words. */
.cx-blog .pager.cx-pager{position:relative;align-items:flex-end;justify-content:flex-start;gap:8px;
	margin-top:clamp(30px,4vw,48px);padding-top:6px;border-bottom:2px solid var(--c-sea)}
.cx-pager .cx-pager-of{order:9;margin-inline-start:auto;align-self:center;padding-bottom:6px;color:var(--c-muted);font-size:.85rem}
.cx-blog .cx-pager .page-numbers{min-width:46px;min-height:52px;padding:6px 12px 0;border:1.5px solid var(--c-line);border-bottom:0;
	border-radius:999px 999px 0 0;background:var(--c-card);color:var(--c-ink);font-weight:700;font-variant-numeric:tabular-nums}
.cx-blog .cx-pager .page-numbers:hover{border-color:var(--c-sea);color:var(--cx-link)}
.cx-blog .cx-pager .page-numbers.current{min-height:60px;background:var(--c-band);border-color:var(--c-band);color:#fff}
/* Dark: the navy door would vanish into the dark band, and 00-tokens' dark `.pager .current` (0,5,0)
   would paint deep ink on it (1.1:1). The open door turns sea with deep ink instead (7.3:1). */
:root[data-theme="dark"] .cx-blog .cx-pager .page-numbers.current{background:var(--c-sea-hi);border-color:var(--c-sea-hi);color:var(--c-ink-deep)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-blog .cx-pager .page-numbers.current{background:var(--c-sea-hi);border-color:var(--c-sea-hi);color:var(--c-ink-deep)}}
.cx-blog .cx-pager .prev.page-numbers,.cx-blog .cx-pager .next.page-numbers{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;min-height:44px;padding:0 6px;margin-bottom:4px;
	border:0;background:none;color:var(--cx-link);text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1.5px}
.cx-blog .cx-pager .prev.page-numbers:hover,.cx-blog .cx-pager .next.page-numbers:hover{color:var(--cx-link-hover);text-decoration-thickness:2.5px}
.cx-blog .cx-pager .dots{min-height:44px;border:0;background:none;color:var(--c-muted)}

/* -------------------------------------------------------------------------------------------------
   4. ARTICLE CARD — the cover sits in an arch window inset in the card.
   The covers carry their own typeset title, so the arch is ELLIPTICAL (radius 50% wide, ~26% tall):
   a true 999px arch on a 16:9 frame would eat the corners and the words in them.
   ------------------------------------------------------------------------------------------------- */
.post-card.cx-post-card{position:relative;background:var(--c-card);border:1px solid var(--cx-card-border);
	border-radius:var(--cx-r-card);box-shadow:var(--cx-shadow-card);padding:10px;overflow:hidden;
	transition:transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease);
	/* alex.css skips off-screen cards (content-visibility:auto, 360px placeholder). Coast cards are
	   taller than that guess, so the page height jumped as they resolved; a page holds ≤12 cards. */
	content-visibility:visible}
.post-card.cx-post-card:hover{transform:translateY(-3px);box-shadow:var(--cx-shadow-hover)}
.cx-post-card .post-card-media{position:relative;display:block;aspect-ratio:1200/630;overflow:hidden;isolation:isolate;
	border-radius:50% 50% 16px 16px / 26% 26% 16px 16px;background:var(--c-navy-900)}
.cx-post-card .post-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--cx-ease)}
.cx-post-card:hover .post-card-media img{transform:scale(1.04)}

/* "Read" arrow badge on the cover — decorative (the media link is aria-hidden). */
/* Physical left on purpose: every cover prints the Arabic brand line bottom-RIGHT, in both languages. */
.cx-post-go{position:absolute;left:12px;bottom:12px;z-index:1;display:grid;place-items:center;width:40px;height:40px;
	border-radius:50%;background:var(--c-sea);color:var(--c-ink-deep);box-shadow:0 4px 14px rgba(4,14,27,.35);
	transition:transform var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-post-go svg{width:18px;height:18px}
.cx-post-card:hover .cx-post-go{background:var(--c-sea-hi);transform:translateX(-3px)}
[dir="ltr"] .cx-post-card:hover .cx-post-go{transform:translateX(3px)}

/* No cover: a navy window with a lighthouse and a wave, hue nudged per article within the blues. */
.cx-post-card .post-card-ph{position:relative;color:var(--c-sky);
	background:linear-gradient(165deg,hsl(calc(205 + var(--ph-h,0) / 18) 72% 22%),var(--c-navy-900) 75%)}
.cx-post-card .post-card-ph::after{content:"";position:absolute;inset-inline:0;bottom:18%;height:10px;background:var(--c-sky);opacity:.35;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.cx-post-card .post-card-ph-ic{width:46px;height:46px;opacity:.85}

.cx-post-card .post-card-body{padding:14px 10px 6px;gap:.4rem}
/* The topic link reads as an eyebrow (wave + label), not a pill; 44px tall hit area. */
.cx-post-card .post-pill.cx-post-topic{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;align-self:flex-start;
	min-height:44px;margin-block:-8px -6px;padding:0;background:none;border:0;border-radius:6px;
	color:var(--cx-eyebrow);font-size:.82rem;font-weight:700;line-height:1.4}
.cx-post-card .post-pill.cx-post-topic::before{content:"";flex:0 0 20px;width:20px;height:7px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-post-card .post-pill.cx-post-topic:hover{background:none;color:var(--cx-link-hover);text-decoration:underline;text-underline-offset:.3em}
.cx-post-card .post-card-title{font-size:clamp(1.06rem,1rem + .25vw,1.18rem);line-height:1.5;color:var(--c-ink);text-wrap:pretty}
.cx-post-card .post-card-title a{color:inherit;padding-block:2px}
/* The whole card is one target (title link stretched over it); the topic link sits above it. */
.cx-post-card .post-card-title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.cx-post-card .post-card-title a:hover{color:var(--cx-link)}
@supports selector(:has(a)){
	.cx-post-card .post-card-title a:focus-visible{outline:none}
	.post-card.cx-post-card:has(.post-card-title a:focus-visible){outline:3px solid var(--cx-focus);outline-offset:3px}
}
.cx-post-card .post-card-ex{color:var(--c-body);font-size:.93rem;line-height:1.75;
	display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cx-post-card .post-card-foot{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--c-line-2);
	gap:.35rem .5rem;font-size:.8rem;color:var(--c-muted)}
.cx-post-card .post-badge-rev{margin-inline-start:auto;color:var(--c-ok)}
.cx-post-card .post-card-foot>span:has(+ .post-badge-rev)::after{content:none}

/* Wide card outside the hub pick (fallback): keep the arch on top. */
.post-card.cx-post-card--wide{flex-direction:column}

/* -------------------------------------------------------------------------------------------------
   5. ARTICLE PAGE — tide progress, masthead, dateline, signatures, send opener, cover
   ------------------------------------------------------------------------------------------------- */
/* Reading progress as a TIDE LINE: the fill is a wave that creeps across under the header. */
.post-progress.cx-tide{height:8px;background:none}
.post-progress.cx-tide::before{content:"";position:absolute;inset:0;background:var(--c-sea);opacity:.14;
	-webkit-mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x}
.post-progress.cx-tide>span{position:relative;background:var(--c-sea);border-radius:0;
	-webkit-mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/36px 8px repeat-x}

.sec-article.cx-article{padding-top:0}
.cx-art-mast{overflow:hidden;padding-top:clamp(18px,2.6vw,32px);
	padding-bottom:calc(clamp(30px,4.4vw,56px) + var(--cx-wave-h) * .6)}
.cx-art-mast--cover{padding-bottom:calc(clamp(96px,14vw,190px) + var(--cx-wave-h) * .6)}
.cx-art-mast::before{content:"";position:absolute;z-index:-1;inset-block-start:-40%;inset-inline-start:-14%;
	width:min(80vw,820px);aspect-ratio:1;border-radius:50%;pointer-events:none;
	background:radial-gradient(closest-side,rgba(46,155,214,.2),rgba(46,155,214,0))}

.cx-art-mast-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(40px,5vw,56px) clamp(28px,4vw,64px);align-items:start}
.cx-art-head.post-head{max-width:880px;margin:0;min-width:0}
.cx-art-head .post-h1{font-size:clamp(1.85rem,1.15rem + 2.9vw,3.25rem);line-height:1.2;color:var(--c-on-band);
	margin:clamp(4px,1vw,10px) 0 clamp(16px,2.2vw,24px);text-wrap:balance;letter-spacing:0}

/* Dateline: one ruled line of small text, separated by little waves — no icons, no pills. */
.cx-art-dateline.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem 0;margin:0;padding:.55rem 0;
	border-block:1px solid var(--c-on-band-line);color:var(--c-on-band-2);font-size:.9rem;line-height:1.6}
.cx-art-dateline.post-meta>span{display:inline-flex;align-items:center;gap:.35rem}
.cx-art-dateline.post-meta>span:not(:last-child)::after{content:"";width:14px;height:6px;margin-inline:.7rem;opacity:.8;background:var(--c-sky);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-art-dateline .post-pill.cx-art-shelf{display:inline-flex;align-items:center;align-self:auto;min-height:44px;margin-block:-10px;padding:0;
	background:none;border:0;border-radius:4px;color:#fff;font-size:inherit;font-weight:700;
	text-decoration:underline;text-decoration-color:var(--c-sea);text-decoration-thickness:2px;text-underline-offset:.35em}
.cx-art-dateline .post-pill.cx-art-shelf:hover{background:none;color:var(--c-sky)}

/* Signatures + the one send opener. */
.cx-art-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 24px;margin-top:clamp(18px,2.4vw,26px)}
.cx-art-sign{display:flex;flex-wrap:wrap;gap:14px 26px;min-width:0}
.cx-art-sign .post-by{display:inline-flex;align-items:center;gap:10px}
.cx-art-sign .post-by .cx-by-ava{width:38px;height:48px;border-radius:var(--cx-r-arch);object-fit:cover;background:var(--c-band-2);
	box-shadow:0 0 0 2px var(--c-sky)}
.cx-art-sign .post-by-t{display:flex;flex-direction:column;align-items:flex-start;color:var(--c-on-band-3);font-size:.78rem;line-height:1.3}
.cx-art-sign .post-by-t a{display:inline-flex;align-items:center;min-height:30px;color:#fff;font-size:.95rem;font-weight:700}
.cx-art-sign .post-by-t a:hover{color:var(--c-sky);text-decoration:underline;text-underline-offset:.3em}

.cx-sail{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:0 1.35rem;
	border-radius:var(--cx-r-pill);background:var(--c-sea);color:var(--c-ink-deep);font-size:.95rem;font-weight:700;line-height:1.2;
	text-decoration:none;transition:background-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.cx-sail .cx-sail-ic{width:22px;height:22px;transition:transform .35s var(--cx-ease)}
.cx-sail:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}
.cx-sail:hover .cx-sail-ic{transform:translateY(-2px) rotate(-8deg)}
.cx-sail:active{transform:scale(.97)}
.cx-sail:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-band .cx-sail:focus-visible{outline-color:var(--c-sea-hi)}
.cx-sail--icon{width:48px;padding:0}

.cx-copy{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:0 1.1rem;
	border:1.5px solid var(--c-line);border-radius:var(--cx-r-pill);background:var(--c-card);color:var(--c-ink);
	font:inherit;font-size:.92rem;font-weight:700;cursor:pointer;transition:border-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-copy .gi,.cx-copy svg{width:18px;height:18px}
.cx-copy:hover{border-color:var(--cx-link);color:var(--cx-link)}
.cx-copy.is-done{border-color:var(--c-ok);color:var(--c-ok)}
.cx-copy:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.cx-copy--icon{width:48px;padding:0}

/* Cover: pulled up over the wave, framed in an elliptical arch. */
.cx-art-wrap{position:relative}
.cx-art-cover.post-hero-img{position:relative;z-index:1;margin:calc(-1 * clamp(84px,12.5vw,170px)) auto clamp(28px,4vw,52px);
	max-width:980px;border-radius:50% 50% 24px 24px / 22% 22% 24px 24px;overflow:hidden;
	background:var(--c-navy-900);box-shadow:var(--cx-shadow-pop);border:6px solid var(--c-card)}
.cx-art-cover img{display:block;width:100%;height:auto}

/* -------------------------------------------------------------------------------------------------
   6. READING LAYOUT — grid, side dock, margin note, chapter rail, prose, pull quote
   ------------------------------------------------------------------------------------------------- */
/* The grid. Row 1: [dock | reading | margin]; row 2: the tail across reading + margin. In the DOM
   the margin precedes the reading column, so on one column (phones, tablets) the brief comes first. */
.cx-art-cols.post-cols--article{gap:clamp(18px,3vw,28px) clamp(28px,4vw,56px)}
.cx-art-tail{min-width:0}
@media (min-width:1024px){
	.cx-art-cols.post-cols--article{grid-template-columns:minmax(0,800px) minmax(220px,260px);justify-content:space-between;row-gap:0}
	.cx-art-cols .post-main{grid-column:1;grid-row:1}
	.cx-art-cols .cx-art-margin{grid-column:2;grid-row:1}
	.cx-art-cols .cx-art-tail{grid-column:1 / -1;grid-row:2}
}
@media (min-width:1180px){
	.cx-art-cols.post-cols--article{grid-template-columns:52px minmax(0,780px) minmax(220px,260px);column-gap:clamp(28px,3vw,48px)}
	.cx-art-cols .cx-art-dock{grid-column:1;grid-row:1 / span 2}
	.cx-art-cols .post-main{grid-column:2}
	.cx-art-cols .cx-art-margin{grid-column:3}
	.cx-art-cols .cx-art-tail{grid-column:2 / -1}
}
.cx-article .post-main{min-width:0}

/* Side dock: a slim navy capsule that rides beside the text (desktop only). */
.cx-art-dock{display:none}
@media (min-width:1180px){
	.cx-art-dock{display:block}
	.cx-art-dock-in{position:sticky;top:calc(var(--nav-h) + 32px);display:flex;flex-direction:column;align-items:center;gap:10px;
		padding:10px 0 14px;border-radius:999px;background:var(--cx-dock-bg);box-shadow:var(--cx-shadow-card)}
	.cx-art-dock-in::after{content:"";width:8px;height:30px;margin-top:2px;background:var(--c-sky);opacity:.5;
		-webkit-mask:var(--cx-wave-line) 50% 0/8px 24px repeat-y;mask:var(--cx-wave-line) 50% 0/8px 24px repeat-y}
	.cx-art-dock .cx-sail--icon,.cx-art-dock .cx-copy--icon{width:44px;min-height:44px;height:44px}
	.cx-art-dock .cx-copy--icon{background:transparent;border-color:rgba(134,205,239,.35);color:#fff}
	.cx-art-dock .cx-copy--icon:hover{border-color:#fff;color:#fff}
	.cx-art-dock .cx-copy--icon.is-done{border-color:#4ADE80;color:#4ADE80}
	.cx-art-dock :focus-visible{outline-color:var(--c-sea-hi)}
}

/* The margin: the one chapter rail serves every width, so the desktop chapter list is retired. */
.cx-art-margin .post-toc-desktop{display:none}
.cx-art-margin.post-aside{gap:0}
.cx-art-margin .post-sticky{position:static}

/* The 30-second brief as a MARGIN NOTE: a pencil tag, a squiggled rule down its start edge, short
   lines with tide marks. On phones it is a paper slip above the text; on desktop it rides, sticky,
   in the margin beside the reading column. */
.cx-art-note.post-takeaways{position:relative;max-width:none;margin:0 0 clamp(6px,1.4vw,10px);padding:14px 16px 16px;padding-inline-start:30px;
	background:var(--c-foam-2);color:var(--c-body);border:1px solid var(--c-line);border-radius:6px 18px 18px 18px;box-shadow:none}
[dir="rtl"] .cx-art-note.post-takeaways{border-radius:18px 6px 18px 18px}
.cx-art-note.post-takeaways::before{content:"";position:absolute;inset-block:16px;inset-inline-start:10px;width:8px;background:var(--c-sea);opacity:.85;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 24'%3E%3Cpath d='M4 0c-3.4 4-3.4 8 0 12s3.4 8 0 12' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") 50% 0/8px 20px repeat-y;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 24'%3E%3Cpath d='M4 0c-3.4 4-3.4 8 0 12s3.4 8 0 12' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") 50% 0/8px 20px repeat-y}
.cx-art-note-tag{display:inline-flex;align-items:center;gap:6px;margin:0 0 .3rem;color:var(--cx-eyebrow);font-size:.76rem;font-weight:700;letter-spacing:.02em}
.cx-art-note-tag svg{width:15px;height:15px;color:var(--c-sea)}
.cx-art-note.post-takeaways h2{margin:0 0 .65rem;color:var(--c-ink);font-size:1rem;line-height:1.4}
.cx-art-note.post-takeaways ul{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}
.cx-art-note li{position:relative;display:block;padding-inline-start:20px;color:var(--c-body);font-size:.92rem;line-height:1.7}
.cx-art-note li::before{content:"";position:absolute;inset-inline-start:0;top:.72em;width:12px;height:5px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
@media (min-width:1024px){
	.cx-art-margin .post-sticky{position:sticky;top:calc(var(--nav-h) + 76px)}
	.cx-art-note.post-takeaways{margin:6px 0 0;padding:2px 0 4px;padding-inline-start:22px;background:none;border:0;border-radius:0}
	[dir="rtl"] .cx-art-note.post-takeaways{border-radius:0}
	.cx-art-note.post-takeaways::before{inset-block:4px;inset-inline-start:0}
	.cx-art-note li{font-size:.88rem;color:var(--c-muted)}
}

/* Chapters: the headings are numbered chapters (CSS counters, no markup numbers). */
.cx-toc-chapters.post-toc-list{counter-reset:cx-ch;margin:.2rem 0 0}
.cx-toc-chapters>li:not(.post-toc-l3){counter-increment:cx-ch}
.cx-toc-chapters.post-toc-list a{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;gap:6px;min-height:44px;
	padding:.6rem 0;border-inline-start:0;border-bottom:1px solid var(--c-line-2);color:var(--c-body);font-size:.92rem;line-height:1.5}
.cx-toc-chapters>li:not(.post-toc-l3)>a::before{content:counter(cx-ch,decimal-leading-zero);color:var(--c-sea);font-size:.8rem;font-weight:700;
	font-variant-numeric:tabular-nums}
.cx-toc-chapters .post-toc-l3>a::before{content:""}
.cx-toc-chapters .post-toc-l3>a{padding-block:.4rem;color:var(--c-muted);font-size:.85rem}
.cx-toc-chapters.post-toc-list a:hover{color:var(--cx-link)}
.cx-toc-chapters.post-toc-list a.is-cur{color:var(--c-ink);font-weight:700;border-bottom-color:var(--c-sea)}
.cx-toc-chapters.post-toc-list a.is-cur::before{color:var(--c-brand)}

.cx-art-body.post-body :is(h2,h3)[id]{scroll-margin-top:calc(var(--nav-h) + 24px)}
/* Every width: the chapters are ONE sticky sideways rail under the header while the body is on
   screen (the sticky range is .cx-art-read: chapter rail + body). */
.cx-art-read .post-toc-mobile.cx-chapters{display:block}
@media all{
	.post-toc-mobile.cx-chapters{position:sticky;top:var(--nav-h);z-index:30;margin:0 calc(-1 * var(--cx-gutter)) clamp(18px,4vw,26px);
		padding:0 var(--cx-gutter);background:var(--c-page);box-shadow:0 1px 0 var(--c-line),0 8px 18px -14px rgba(6,26,51,.35)}
	.cx-chapters .cx-toc.post-toc{margin:0}
	.cx-chapters .cx-toc .post-toc-d{position:relative;min-height:58px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
	.cx-chapters .cx-toc .post-toc-d>summary{position:absolute;z-index:1;inset-block:0;inset-inline-start:0;min-height:0;padding-inline-end:12px;
		background:var(--c-page);color:var(--cx-eyebrow);font-size:.82rem;font-weight:700;gap:8px}
	.cx-chapters .cx-toc .post-toc-d>summary::after{width:7px;height:7px;margin-inline-start:2px}
	.cx-chapters .cx-toc-chapters.post-toc-list{display:flex;gap:8px;margin:0;padding:7px 0;padding-inline-start:84px;
		overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
	.cx-chapters .cx-toc-chapters.post-toc-list::-webkit-scrollbar{display:none}
	.cx-chapters .cx-toc-chapters>li{flex:0 0 auto}
	.cx-chapters .cx-toc-chapters>.post-toc-l3{display:none}
	.cx-chapters .cx-toc-chapters.post-toc-list a{display:inline-flex;align-items:center;gap:8px;max-width:min(72vw,320px);min-height:44px;
		padding:0 14px;border:1px solid var(--c-line);border-radius:var(--cx-r-pill);background:var(--c-card);font-size:.86rem;white-space:nowrap}
	.cx-chapters .cx-toc-chapters.post-toc-list a.is-cur{background:var(--c-band);border-color:var(--c-band);color:#fff}
	.cx-chapters .cx-toc-chapters.post-toc-list a.is-cur::before{color:var(--c-sky)}
	.cx-chapters .cx-toc-chapters.post-toc-list a{overflow:hidden;text-overflow:ellipsis}
	.cx-art-body.post-body :is(h2,h3)[id]{scroll-margin-top:calc(var(--nav-h) + 74px)}
}

/* Prose. Scoped to the article (.cx-art-body) so static pages that borrow .post-body keep theirs. */
.cx-art-body.post-body{max-width:68ch;font-family:var(--cx-font);font-size:clamp(1.03rem,1rem + .2vw,1.1rem);line-height:1.8;color:var(--c-body)}
.cx-art-body.post-body>p:first-child{font-size:1.1em;color:var(--c-ink);line-height:1.75}
.cx-art-body.post-body p{margin-block:0 1.2em}
.cx-art-body.post-body h2{font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem);line-height:1.3;color:var(--c-ink);margin-block:2.1em .6em;text-wrap:balance}
.cx-art-body.post-body h2::before{content:"";display:block;width:36px;height:9px;margin-bottom:.75rem;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-art-body.post-body h3{font-size:clamp(1.12rem,1rem + .45vw,1.32rem);line-height:1.45;color:var(--c-ink);margin-block:1.7em .45em}
.cx-art-body.post-body a{color:var(--cx-link);text-decoration-thickness:1.5px;text-underline-offset:.25em}
.cx-art-body.post-body a:hover{color:var(--cx-link-hover);text-decoration-thickness:2.5px}
.cx-art-body.post-body strong,.cx-art-body.post-body b{color:var(--c-ink)}
.cx-art-body.post-body ul{list-style:none;padding-inline-start:0}
.cx-art-body.post-body ul>li{position:relative;padding-inline-start:32px;margin-block:.55em}
.cx-art-body.post-body ul>li::before{content:"";position:absolute;inset-inline-start:2px;top:.8em;width:20px;height:7px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-art-body.post-body ol{list-style:none;padding-inline-start:0;counter-reset:cx-art-ol}
.cx-art-body.post-body ol>li{position:relative;padding-inline-start:44px;margin-block:.7em;counter-increment:cx-art-ol;min-height:30px}
.cx-art-body.post-body ol>li::before{content:counter(cx-art-ol);position:absolute;inset-inline-start:0;top:.15em;width:30px;height:30px;border-radius:50%;
	display:grid;place-items:center;background:var(--c-foam);color:var(--c-brand);font-size:.85rem;font-weight:700;line-height:1}
.cx-art-body.post-body li::marker{content:none}
.cx-art-body.post-body li>ul,.cx-art-body.post-body li>ol{margin-block:.4em}
.cx-art-body.post-body blockquote{position:relative;margin-block:1.9em;padding:1.3rem 1.4rem 1.2rem;padding-inline-start:3.4rem;
	background:var(--c-foam);border:0;border-radius:22px;color:var(--c-ink);font-size:1.05em;line-height:1.75}
.cx-art-body.post-body blockquote::before{content:"";position:absolute;inset-inline-start:1.1rem;top:1.35rem;width:26px;height:22px;background:var(--c-sea);
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cpath d='M0 22V12C0 5 4 1 11 0l1 3c-4 1-6 4-6 8h5v11zm15 0V12c0-7 4-11 11-12l1 3c-4 1-6 4-6 8h5v11z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cpath d='M0 22V12C0 5 4 1 11 0l1 3c-4 1-6 4-6 8h5v11zm15 0V12c0-7 4-11 11-12l1 3c-4 1-6 4-6 8h5v11z'/%3E%3C/svg%3E") center/contain no-repeat}
.cx-art-body.post-body img{border-radius:18px}
.cx-art-body.post-body figcaption{color:var(--c-muted)}
.cx-art-body.post-body hr{height:10px;border:0;background:var(--c-sea);opacity:.45;margin-block:2.4em;
	-webkit-mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 0 50%/48px 8px repeat-x}
.cx-art-body.post-body mark{background:var(--c-foam);color:var(--c-ink)}
.cx-art-body .post-scroll{border-radius:18px;border-color:var(--c-line);background:var(--c-card)}
.cx-art-body .post-scroll th{background:var(--c-foam);color:var(--c-ink)}

/* Pull quote: no box — a centred line of large type between a quote mark and a wave rule. The
   "send this line" link (added by Blog::pull_quote_share) is a small outlined pill under it. */
.cx-art-body.post-body .post-pull{position:relative;margin-block:2.6em;padding:2.6rem .5rem 1.6rem;background:none;border:0;border-radius:0;
	color:var(--c-ink);font-size:clamp(1.2rem,1.05rem + .75vw,1.55rem);font-weight:700;line-height:1.6;text-align:center;text-wrap:balance}
.cx-art-body.post-body .post-pull::before{top:0;left:50%;inset-inline-start:auto;transform:translateX(-50%);width:34px;height:28px;background:var(--c-sea)}
.cx-art-body.post-body .post-pull::after{content:"";position:absolute;inset-inline:18%;bottom:0;height:10px;background:var(--c-sea);opacity:.45;
	-webkit-mask:var(--cx-wave-line) 50% 50%/48px 8px repeat-x;mask:var(--cx-wave-line) 50% 50%/48px 8px repeat-x}
.cx-art-body.post-body .post-pull p{margin:0;color:inherit;font-size:inherit;line-height:inherit}
.cx-art-body.post-body .post-pull-share{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;margin-top:1rem;padding:0 1rem;
	border:1.5px solid var(--c-line);border-radius:var(--cx-r-pill);color:var(--cx-link);font-size:.84rem;font-weight:700;text-decoration:none}
.cx-art-body.post-body .post-pull-share svg{width:17px;height:17px;color:#1a9e4b}
.cx-art-body.post-body .post-pull-share:hover{border-color:var(--cx-link);color:var(--cx-link-hover);text-decoration:none}

/* -------------------------------------------------------------------------------------------------
   7. TAIL — conversation thread (FAQ), credits ledger (author, fine print, sources, pass it on)
   ------------------------------------------------------------------------------------------------- */
/* The readers' questions as a THREAD: a "?" avatar and the question in a reader's bubble on the start
   side; opening it lands the answer as a navy reply bubble on the far side. Same <details>/<summary>. */
.cx-art-thread.post-faq{max-width:800px;margin-block:clamp(44px,5.4vw,68px) 0}
.cx-art-thread .cx-art-faq-head{margin-bottom:clamp(16px,2vw,22px)}
.cx-art-thread .cx-eyebrow{margin-bottom:.4rem}
.cx-art-thread .h-sub{font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem);line-height:1.25;margin:0}
.cx-art-thread-sub{margin:.4rem 0 0;color:var(--c-muted);font-size:.9rem}
.cx-art-thread .cx-art-faq-list{display:grid;gap:14px;border:0}
.cx-art-faq-i.panel{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.cx-art-faq-i>summary{display:flex;align-items:flex-start;gap:10px;max-width:min(620px,100%);min-height:44px;padding:0;list-style:none;cursor:pointer;
	color:var(--c-ink);font-size:1rem;font-weight:700;line-height:1.6}
.cx-art-faq-i>summary::-webkit-details-marker{display:none}
.cx-art-faq-i>summary::before,.cx-art-faq-i>summary::after{content:none;display:none}
.cx-art-q-ava{flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;margin-top:4px;border-radius:50%;
	background:var(--c-foam);color:var(--c-brand);font-size:1.05rem;font-weight:700;line-height:1}
.cx-art-q-t{min-width:0;padding:11px 16px;border:1.5px solid var(--c-line);border-radius:18px;border-start-start-radius:4px;background:var(--c-card);
	transition:border-color var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-art-q-hint{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;gap:6px;color:var(--cx-link);font-size:.78rem;font-weight:700}
.cx-art-q-hint::after{content:"";width:7px;height:7px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.cx-art-faq-i>summary:hover .cx-art-q-t{border-color:var(--c-sea)}
.cx-art-faq-i>summary:focus-visible{outline:none}
.cx-art-faq-i>summary:focus-visible .cx-art-q-t{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-art-faq-i[open]>summary .cx-art-q-t{background:var(--c-foam);border-color:transparent}
.cx-art-faq-i[open]>summary .cx-art-q-hint{visibility:hidden}
.cx-art-faq-i[open]>summary .cx-art-q-ava{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-art-faq-i>p{width:fit-content;max-width:min(620px,88%);margin:10px 0 4px;margin-inline-start:auto;padding:13px 18px;
	border:0;border-radius:18px;border-end-end-radius:4px;background:var(--c-band);color:var(--c-on-band-2);line-height:1.85;
	animation:cx-reply .32s var(--cx-ease) both}
@keyframes cx-reply{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (max-width:520px){
	.cx-art-q-hint{display:none}
	.cx-art-faq-i>p{max-width:92%}
}

/* The CREDITS LEDGER: a navy log head, then one row per credit with the label on the start side. */
.cx-art-credits{margin-block:clamp(40px,5vw,64px) 0;overflow:hidden;background:var(--c-card);border:1px solid var(--cx-card-border);
	border-radius:var(--cx-r-card);box-shadow:var(--cx-shadow-card)}
.cx-art-credits-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 18px;
	padding:clamp(18px,2.4vw,24px) clamp(18px,2.8vw,32px);background:var(--c-band);color:var(--c-on-band-2)}
.cx-art-credits-head .h-sub{margin:0;color:var(--c-on-band);font-size:clamp(1.2rem,1.05rem + .7vw,1.55rem);line-height:1.3}
.cx-art-credits-head .cx-eyebrow{order:2;margin:0;color:var(--c-sky)}
.cx-art-credits-head .cx-eyebrow::before{background:var(--c-sky)}
.cx-cr-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px 28px;padding:clamp(16px,2.2vw,24px) clamp(18px,2.8vw,32px);border-top:1px solid var(--c-line)}
.cx-art-credits-head+.cx-cr-row{border-top:0}
@media (min-width:760px){.cx-cr-row{grid-template-columns:150px minmax(0,1fr);align-items:start}}
.cx-cr-l{display:flex;align-items:center;gap:8px;margin:0;padding-top:.15rem;color:var(--cx-eyebrow);font-size:.8rem;font-weight:700;letter-spacing:.03em}
.cx-cr-l::before{content:"";flex:0 0 14px;width:14px;height:6px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-cr-v{min-width:0}

/* Signed: the author box, flattened into its row. */
.cx-art-credits .cx-author.post-author.panel{max-width:none;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}

/* Fine print & review: the review stamp beside the disclaimer. */
.cx-art-disclaimer.post-disclaimer{position:relative;max-width:none;margin:0;padding:2px 0 4px;padding-inline-start:62px;background:none;border:0;border-radius:0;
	color:var(--c-muted);font-size:.88rem;line-height:1.8;min-height:50px}
.cx-art-disclaimer.post-disclaimer::before{content:"";position:absolute;inset-inline-start:0;top:2px;width:46px;height:46px;border-radius:50%;
	border:1.5px dashed var(--c-sea);background:var(--c-foam) center/22px 22px no-repeat;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A8E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12 2.2 2.2 4.4-4.4'/%3E%3C/svg%3E");
	transform:rotate(-10deg)}
.cx-art-disclaimer a{color:var(--cx-link);font-weight:700;text-decoration:underline;text-underline-offset:.25em}
.cx-art-disclaimer strong{color:var(--c-ink)}

/* Sources: the references drawer, open by default in the ledger. */
.cx-art-sources.post-sources{max-width:none;margin:0;padding:0;border:0;font-size:.9rem}
.cx-art-src-d>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:44px;padding:0 0 6px;list-style:none;cursor:pointer;
	border-bottom:1px solid var(--c-line)}
.cx-art-src-d>summary::-webkit-details-marker{display:none}
.cx-art-src-d>summary .h-sub{margin:0;color:var(--c-ink);font-size:1rem;line-height:1.4}
.cx-art-src-n{display:inline-flex;align-items:center;gap:8px;margin-inline-start:auto;padding:0 12px;min-height:32px;border-radius:var(--cx-r-pill);
	background:var(--c-foam);color:var(--c-brand);font-size:.8rem;font-weight:700}
.cx-art-src-n::after{content:"";width:7px;height:7px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
	transform:rotate(45deg);transition:transform var(--cx-dur) var(--cx-ease)}
.cx-art-src-d[open] .cx-art-src-n::after{margin-top:3px;transform:rotate(-135deg)}
.cx-art-src-d>summary:hover .h-sub{color:var(--cx-link)}
.cx-art-src-d>summary:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px;border-radius:8px}
.cx-art-sources ol{list-style:none;margin:.7rem 0 0;padding:0;counter-reset:cx-src;display:grid;gap:.3rem}
.cx-art-sources li{position:relative;counter-increment:cx-src;padding-inline-start:34px;color:var(--c-body);line-height:1.7}
.cx-art-sources li::before{content:"[" counter(cx-src) "]";position:absolute;inset-inline-start:0;top:0;color:var(--c-brand);font-size:.85rem;font-weight:700;
	font-variant-numeric:tabular-nums}
.cx-art-sources a{color:var(--cx-link);text-decoration-thickness:1.5px}

/* Pass it on: the # tags and send + copy, as the ledger's last row. */
.cx-art-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px 20px;align-items:center}
.cx-art-card-h{margin:0 0 .2rem;color:var(--c-ink);font-size:clamp(1.02rem,.98rem + .25vw,1.15rem);line-height:1.4}
.cx-art-tags.post-tags{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;margin:0;max-width:none}
.cx-art-tags-l{color:var(--c-muted);font-size:.86rem}
.cx-art-tags .tag-link{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;border-radius:4px;
	color:var(--cx-link);font-size:.95rem;font-weight:700}
.cx-art-tags .tag-link::before{content:"#";margin-inline-end:.1rem;color:var(--c-sea)}
.cx-art-tags .tag-link:hover{background:none;color:var(--cx-link-hover);text-decoration:underline;text-underline-offset:.3em}
.cx-art-card-acts{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:420px){.cx-art-card-acts>*{flex:1 1 auto}}
@media (min-width:900px){.cx-art-card{grid-template-columns:minmax(0,1fr) auto}}

/* -------------------------------------------------------------------------------------------------
   8. AUTHOR BOX + DIRECTORY HARBOUR BAND
   ------------------------------------------------------------------------------------------------- */
.cx-author.post-author.panel{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(16px,2.4vw,26px);align-items:start;
	max-width:820px;margin-block:clamp(28px,4vw,44px);padding:clamp(20px,2.6vw,28px);
	background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:var(--cx-r-card);box-shadow:var(--cx-shadow-card)}
.cx-author-arch.cx-arch{width:clamp(84px,10vw,108px);flex:0 0 auto}
.cx-author-arch .post-author-ava{width:100%;height:100%;border-radius:0;object-fit:cover}
.cx-author .post-author-body{min-width:0}
.cx-author .post-author-role{margin:0 0 .3rem;font-size:.84rem;color:var(--cx-eyebrow)}
.cx-author .post-author-name{display:flex;align-items:center;gap:8px;font-size:clamp(1.15rem,1.05rem + .5vw,1.4rem);margin:0 0 .2rem}
.cx-author .post-author-name a{color:var(--c-ink);display:inline-flex;align-items:center;min-height:44px;margin-block:-8px}
.cx-author .post-author-name a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.25em}
.cx-author-verify{width:20px;height:20px;color:var(--c-sea);flex:0 0 auto}
.cx-author .post-author-spec{color:var(--c-brand);font-weight:700;font-size:.92rem}
.cx-author .post-author-bio{color:var(--c-body);line-height:1.8}
.cx-author .post-author-cta{gap:.55rem;margin-top:1rem}
@media (max-width:520px){
	.cx-author.post-author.panel{grid-template-columns:minmax(0,1fr)}
	.cx-author .post-author-cta>.btn{flex:1 1 auto}
}
.cx-blog--author .cx-author{margin-top:clamp(40px,6vw,72px)}

/* The directory as the article's last word: a full-width navy HARBOUR BAND (wave edges top and
   bottom), headed by a beacon tag naming the article's own specialty, the button on the far side. */
.cx-art-harbour.cx-band{margin-top:clamp(56px,7vw,96px);padding-block:calc(clamp(40px,5vw,64px) + var(--cx-wave-h) * .5)}
/* The band is the article's last block: the section's own bottom padding would only widen the gap
   between its wave and the footer's. */
.sec-article.cx-article:has(>.cx-art-harbour){padding-bottom:0}
.cx-dir-cta--band.cx-dir-cta.post-cta.cx-on-navy{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:22px 48px;align-items:end;
	max-width:none;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:var(--c-on-band-2)}
@media (min-width:820px){.cx-dir-cta--band.cx-dir-cta.post-cta.cx-on-navy{grid-template-columns:minmax(0,1fr) auto}}
.cx-dir-cta-txt{min-width:0}
.cx-dir-cta--band .cx-dir-cta-tag{display:inline-flex;align-items:center;gap:10px;max-width:100%;margin:0 0 1rem;padding:5px 16px 5px 5px;
	border:1px solid rgba(134,205,239,.32);border-radius:var(--cx-r-pill);background:rgba(134,205,239,.10);
	color:var(--c-sky);font-size:.88rem;font-weight:700;line-height:1.4}
[dir="rtl"] .cx-dir-cta--band .cx-dir-cta-tag{padding:5px 5px 5px 16px}
.cx-dir-cta--band .cx-dir-cta-ic{flex:0 0 32px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
	background:var(--c-sea);color:var(--c-ink-deep)}
.cx-dir-cta--band .cx-dir-cta-ic svg{width:18px;height:18px}
.cx-dir-cta--band.cx-dir-cta.post-cta.cx-on-navy h3{margin:0 0 .5rem;color:var(--c-on-band);font-size:var(--cx-fs-h2);line-height:1.2;text-wrap:balance}
.cx-dir-cta--band.cx-dir-cta.post-cta.cx-on-navy p{max-width:60ch;margin:0;color:var(--c-on-band-2);font-size:var(--cx-fs-lead);line-height:1.75}
.cx-dir-cta--band.cx-dir-cta.post-cta.cx-on-navy .cx-dir-cta-tag{color:var(--c-sky);font-size:.88rem;line-height:1.4;margin:0 0 1rem}
.cx-dir-cta--band.cx-dir-cta.post-cta .btn.btn-primary{min-height:56px;padding-inline:2rem;justify-self:start;
	background:var(--c-sea);border-color:var(--c-sea);color:var(--c-ink-deep);font-size:1.02rem}
.cx-dir-cta--band.cx-dir-cta.post-cta .btn.btn-primary:hover{background:var(--c-sea-hi);border-color:var(--c-sea-hi);color:var(--c-ink-deep)}
.cx-dir-cta--band.cx-dir-cta.post-cta .btn.btn-primary:focus-visible{outline:3px solid var(--c-sea-hi);outline-offset:3px}
@media (max-width:819px){.cx-dir-cta--band.cx-dir-cta.post-cta .btn.btn-primary{width:100%;justify-content:center}}

/* -------------------------------------------------------------------------------------------------
   9. RELATED RAIL, STRIPS
   ------------------------------------------------------------------------------------------------- */
.cx-art-related.post-related{position:relative;margin-top:clamp(44px,5.4vw,68px)}
.cx-art-related .cx-sec-head .h-sec{margin:0}
/* More reading as a sideways RAIL of narrow cards — a visible thin tide scrollbar so a mouse can
   ride it too; the cards' own links take keyboard focus and scroll themselves into view. */
.cx-art-rail .g-post.cx-art-rail-track{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:min(78%,290px);gap:clamp(14px,1.8vw,22px);
	overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--cx-gutter);
	margin-inline:calc(-1 * var(--cx-gutter));padding:6px var(--cx-gutter) 18px;
	scrollbar-width:thin;scrollbar-color:var(--c-sea) var(--c-line)}
.cx-art-rail .cx-art-rail-track>.post-card{scroll-snap-align:start}
.cx-art-rail .cx-art-rail-track .post-card-ex{-webkit-line-clamp:2}
/* Desktop: wide postcards — a tall arch window beside the words — so the rail still runs past the
   column's edge and reads as a rail, not a three-up grid. */
@media (min-width:1024px){
	.cx-art-rail .g-post.cx-art-rail-track{grid-auto-columns:430px;margin-inline:0;padding-inline:0;scroll-padding-inline:0}
	.cx-art-rail .cx-art-rail-track>.post-card.cx-post-card{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:stretch;gap:6px}
	.cx-art-rail .cx-art-rail-track .post-card-media{aspect-ratio:auto;height:100%;min-height:190px;border-radius:999px 999px 14px 14px}
	.cx-art-rail .cx-art-rail-track .cx-post-go{display:none}
	.cx-art-rail .cx-art-rail-track .cx-cover-sun{left:50%;top:18%;width:46%}
	.cx-art-rail .cx-art-rail-track .post-card-body{padding:8px 12px 4px}
}
.cx-post-strip .g-post{gap:clamp(16px,2.2vw,28px)}
@media (min-width:640px){.cx-post-strip .g-post{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.cx-post-strip .g-post{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cx-post-strip .results-head.cx-sec-head{align-items:flex-end}
.cx-post-strip .results-head.cx-sec-head .h-sec{margin:0}

/* -------------------------------------------------------------------------------------------------
   10. COVER ART — the Coast window that replaces the generated title cards on screen
   (alex_cx_cover_art(): topic glyph as a setting sun, swells, glints, the lighthouse on its rock).
   Physical `left` for the sun on purpose: the SVG scene is not mirrored, and the sun must stay on
   the opposite side to the lighthouse in both directions.
   ------------------------------------------------------------------------------------------------- */
.cx-post-card .post-card-ph.cx-post-ph{position:absolute;inset:0;display:block;background:var(--c-navy-900)}
.cx-cover{position:absolute;inset:0;display:block;overflow:hidden;--cx-cv-sy:33%;--cx-cv-sw:19%;
	background:
		radial-gradient(42% 60% at var(--cx-cv-sx) 64%,hsl(var(--cx-cv-h) 85% 62% / .42),hsl(var(--cx-cv-h) 85% 62% / 0) 70%),
		linear-gradient(180deg,hsl(var(--cx-cv-h) 64% 13%) 0%,hsl(var(--cx-cv-h) 62% 22%) 52%,hsl(var(--cx-cv-h) 66% 31%) 66%,#061A33 100%)}
.cx-cover--pano{--cx-cv-sy:27%;--cx-cv-sw:12%}
.cx-cover-sun{position:absolute;left:var(--cx-cv-sx);top:var(--cx-cv-sy);width:var(--cx-cv-sw);aspect-ratio:1;transform:translateX(-50%);
	display:grid;place-items:center;border-radius:50%;color:var(--c-ink-deep);
	background:radial-gradient(circle at 50% 38%,#D4EEFA 0,var(--c-sea-hi) 58%,var(--c-sea) 100%);
	box-shadow:0 0 0 8px hsl(var(--cx-cv-h) 80% 62% / .16),0 0 54px 12px rgba(79,182,232,.32)}
.cx-post-card .cx-cover-sun .post-card-ph-ic,.cx-cover-glyph{width:44%;height:44%;opacity:1}
.cx-cover-sea{position:absolute;inset:0;display:block;width:100%;height:100%}
.cx-cover-stars{fill:#fff;opacity:.5}
.cx-cover-s1{fill:var(--c-sky);opacity:.22}
.cx-cover-s2{fill:hsl(var(--cx-cv-h) 66% 20%);opacity:.94}
.cx-cover-s3{fill:#061A33;opacity:.92}
.cx-cover-glint{fill:none;stroke:#D4EEFA;stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.55}
.cx-cover-lh path{fill:none;stroke:var(--c-sky);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.cx-cover-lh .cx-cover-lh-rock{fill:#061A33}
.cx-cover-lh .cx-cover-lh-beam{stroke:var(--c-sea-hi);opacity:.55}
.cx-cover--pano .cx-cover-lh path{stroke-width:2}
/* The cover frame no longer carries baked text, so the arch can be a true Alexandrian arch. */
.cx-post-card--art .post-card-media{border-radius:50% 50% 16px 16px / 34% 34% 16px 16px}
.cx-art-cover--art.post-hero-img{aspect-ratio:1200/480}
.cx-art-cover--art .cx-cover{position:absolute;inset:0}

/* -------------------------------------------------------------------------------------------------
   11. DARK + MOTION
   ------------------------------------------------------------------------------------------------- */
:root[data-theme="dark"] .cx-blog-cta.panel,:root[data-theme="dark"] .cx-art-dock-in{border:1px solid var(--c-line)}
:root[data-theme="dark"] .cx-art-cover.post-hero-img{border-color:var(--c-card)}
:root[data-theme="dark"] .cx-post-card .post-pill.cx-post-topic{color:var(--c-sky)}
:root[data-theme="dark"] .cx-art-faq-i>p{box-shadow:inset 0 0 0 1px var(--c-line)}
:root[data-theme="dark"] .cx-art-credits{border-color:var(--c-line)}
:root[data-theme="dark"] .cx-art-disclaimer.post-disclaimer::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FB4EE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12 2.2 2.2 4.4-4.4'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .cx-art-body.post-body .post-pull-share svg{color:#4ADE80}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-blog-cta.panel,:root:not([data-theme="light"]) .cx-art-dock-in{border:1px solid var(--c-line)}
	:root:not([data-theme="light"]) .cx-post-card .post-pill.cx-post-topic{color:var(--c-sky)}
	:root:not([data-theme="light"]) .cx-art-faq-i>p{box-shadow:inset 0 0 0 1px var(--c-line)}
	:root:not([data-theme="light"]) .cx-art-credits{border-color:var(--c-line)}
	:root:not([data-theme="light"]) .cx-art-disclaimer.post-disclaimer::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FB4EE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12 2.2 2.2 4.4-4.4'/%3E%3C/svg%3E")}
	:root:not([data-theme="light"]) .cx-art-body.post-body .post-pull-share svg{color:#4ADE80}
}
@media (prefers-reduced-motion:reduce){
	.cx-blog-art-wave,.cx-art-faq-i>p{animation:none}
	.post-card.cx-post-card,.cx-post-card .post-card-media img,.cx-post-go,.cx-art-q-t,.cx-sail,.cx-sail .cx-sail-ic,.cx-copy,
	.cx-mini-wave .cx-mini.post-mini,.cx-mini-gauge::before,.cx-blog-mast .cx-tabs .cx-topic.qchip::after,.cx-art-src-n::after{transition:none}
	.post-card.cx-post-card:hover,.cx-post-card:hover .post-card-media img,.cx-post-card:hover .cx-post-go,.cx-sail:hover .cx-sail-ic{transform:none}
}
/* =================================================================================================
   coast/60-pages.css — every other public page in the "Coast" language (docs/design-coast.md).
   Owner: PAGES agent. Templates: static-page.php (+ page-pricing.php body), specialties.php,
   areas.php, contact.php, claim.php, doctor-terms.php, 404.php, offline.php, app.php,
   checkout.php, checkout-return.php.

   Contents
     0. Page-local artwork (masks)
     1. Page head band  (.cx-pg-head)  — shared by every page in this file
     2. Static pages: layout, "On this page" aside, Coast prose, steps / Q&A, FAQ band, related
     3. Pricing (page-pricing.php fragment)
     4. Specialties directory (arch tiles)
     5. Areas directory (tram line of stations)
     6. Forms: contact + claim
     7. 404 + offline (lighthouse empty states)
     8. App landing
     9. Checkout + checkout return
   ================================================================================================= */

/* -------------------------------------------------------------------------------------------------
   0. ARTWORK — single-colour line art used as masks, painted with background-color.
   ------------------------------------------------------------------------------------------------- */
body{
	--pg-lighthouse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M28 246V122a102 102 0 0 1 204 0v124'/%3E%3Cpath d='M50 246V126a80 80 0 0 1 160 0v120' stroke-width='1.4' opacity='.6'/%3E%3Cpath d='M113 230l6-104h22l6 104z'/%3E%3Cpath d='M117 126V104h26v22'/%3E%3Cpath d='M112 104l18-16 18 16z'/%3E%3Cpath d='M116 160h28M114 196h32'/%3E%3Cpath d='M150 110l52-16M150 116l52 14M110 110l-52-16M110 116l-52 14' stroke-width='1.6' opacity='.7'/%3E%3Cpath d='M14 234c12-8 24-8 36 0s24 8 36 0 24-8 36 0 24 8 36 0 24-8 36 0 24 8 36 0 24-8 26-4'/%3E%3Cpath d='M34 250c12-8 24-8 36 0s24 8 36 0 24-8 36 0 24 8 36 0 24-8 36 0' stroke-width='1.6' opacity='.6'/%3E%3C/svg%3E");
	--pg-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
	--pg-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------------------------------
   1. PAGE HEAD BAND — navy, wave bottom edge, breadcrumb + eyebrow + title + lead + meta, and a
      line-art arch-and-lighthouse on the end side (desktop). Start-aligned, never centred.
   ------------------------------------------------------------------------------------------------- */
.cx-pg-head{
	padding-top:clamp(20px,3vw,40px);
	padding-bottom:calc(clamp(44px,6vw,80px) + var(--cx-wave-h) * .5);
	overflow:hidden;
	background:
		radial-gradient(120% 140% at 100% 0%,rgba(46,155,214,.20),transparent 55%),
		var(--c-band);
}
[dir="rtl"] .cx-pg-head{
	background:
		radial-gradient(120% 140% at 0% 0%,rgba(46,155,214,.20),transparent 55%),
		var(--c-band);
}
.cx-pg-head-in{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:24px}
.cx-pg-head-txt{min-width:0;max-width:780px}
.cx-pg-deco{display:none}
@media (min-width:900px){
	.cx-pg-head-in{grid-template-columns:minmax(0,1fr) clamp(180px,20vw,250px)}
	.cx-pg-deco{display:block;width:100%;aspect-ratio:1;background:var(--c-sky);opacity:.5;
		-webkit-mask:var(--pg-lighthouse) center/contain no-repeat;mask:var(--pg-lighthouse) center/contain no-repeat}
}
/* Breadcrumb ON navy. */
.cx-pg-head .crumbs{color:var(--c-on-band-3);margin-bottom:clamp(14px,2.4vw,26px)}
.cx-pg-head .crumbs a{color:var(--c-sky);display:inline-flex;align-items:center;min-height:44px}
.cx-pg-head .crumbs-list{row-gap:0}
.cx-pg-head .crumbs a:hover{color:#fff}
.cx-pg-head .crumb-sep{color:var(--c-sky);opacity:.8}
.cx-pg-head .crumb-cur{color:var(--c-on-band-2)}
/* Title. `.post-h1`/`.h-sec` keep their classes; the band decides the look. */
.cx-pg-head .cx-pg-h1,
.cx-pg-head h1{font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);color:var(--c-on-band);
	font-weight:700;margin:0;text-align:start;text-wrap:balance}
.cx-pg-head .cx-pg-lead,
.cx-pg-head .cx-lead{margin-top:clamp(12px,1.6vw,18px);color:var(--c-on-band-2);max-width:62ch}
.cx-pg-head .cx-lead strong{color:#fff}
.cx-pg-meta{margin-top:clamp(14px,2vw,22px);display:flex;flex-wrap:wrap;gap:8px}
.cx-pg-stamp,.cx-pg-tag{display:inline-flex;align-items:center;gap:.45rem;min-height:36px;padding:0 .95rem;
	border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--c-on-band-line);
	color:var(--c-on-band-2);font-size:.85rem;font-weight:700;line-height:1.3}
.cx-pg-stamp .gi,.cx-pg-tag .gi{width:16px;height:16px;color:var(--c-sky);flex:0 0 auto}
.cx-pg-stamp .alex-ltr,.cx-pg-stamp bdi{color:#fff}
.cx-pg-sos{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(16px,2.4vw,24px)}
.cx-pg-head :focus-visible{outline-color:var(--c-sea-hi)}
@media (max-width:559px){
	.cx-pg-sos .cx-pill{flex:1 1 100%}
}

/* -------------------------------------------------------------------------------------------------
   2. STATIC PAGES
   ------------------------------------------------------------------------------------------------- */
.cx-pg{display:block}
.cx-pg-body.sec{padding-block:clamp(28px,4vw,56px) clamp(36px,5vw,72px)}
.cx-pg-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,4vw,56px);align-items:start}
@media (min-width:1000px){
	.cx-pg-layout--toc{grid-template-columns:260px minmax(0,1fr)}
}
.cx-pg-main{min-width:0}

/* "On this page": a short tram line of the page's own H2s. Desktop aside; mobile disclosure. */
.cx-pg-aside{display:none}
@media (min-width:1000px){
	.cx-pg-aside{display:block;position:sticky;top:calc(var(--nav-h) + 24px);
		max-height:calc(100vh - var(--nav-h) - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:4px}
	.cx-pg-toc-m{display:none}
}
.cx-pg-toc-h{display:flex;align-items:center;gap:10px;font-size:.82rem;font-weight:700;color:var(--cx-eyebrow);margin:0 0 .6rem}
.cx-pg-toc-h::before{content:"";flex:0 0 24px;width:24px;height:8px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-pg-toc-l{list-style:none;margin:0;padding:0;position:relative}
.cx-pg-toc-l::before{content:"";position:absolute;inset-block:22px;inset-inline-start:6px;width:2px;border-radius:2px;
	background:var(--c-sea);opacity:.45}
.cx-pg-toc-l li{margin:0;position:relative}
.cx-pg-toc-l a{position:relative;display:flex;align-items:center;min-height:44px;padding:6px 12px;padding-inline-start:30px;
	border-radius:14px;color:var(--c-body);font-size:.9rem;line-height:1.45;font-weight:400;text-decoration:none;
	transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-pg-toc-l a::before{content:"";position:absolute;inset-inline-start:1px;top:50%;width:12px;height:12px;margin-top:-6px;
	border-radius:50%;background:var(--c-page);border:2.5px solid var(--c-sea);box-sizing:border-box;
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-pg-toc-l a:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-pg-toc-l a:hover::before{background:var(--c-sea)}
.cx-pg-help{margin-top:18px;padding:16px 18px;border-radius:20px;background:var(--c-foam)}
.cx-pg-help-h{margin:0 0 .2rem;font-weight:700;color:var(--c-ink);font-size:.92rem}
.cx-pg-help .cx-more{min-height:44px;font-size:.9rem}
/* Mobile disclosure. */
.cx-pg-toc-m{margin-bottom:clamp(18px,3vw,28px);background:var(--c-card);border:1px solid var(--cx-card-border);
	border-radius:20px;box-shadow:var(--cx-shadow-card)}
.cx-pg-toc-m>summary{list-style:none;display:flex;align-items:center;gap:.6rem;min-height:52px;padding:0 18px;cursor:pointer;
	font-weight:700;color:var(--c-ink);border-radius:20px}
.cx-pg-toc-m>summary::-webkit-details-marker{display:none}
.cx-pg-toc-m>summary .gi{width:20px;height:20px;color:var(--c-sea)}
.cx-pg-toc-m>summary::after{content:"";margin-inline-start:auto;width:18px;height:18px;background:var(--c-muted);
	-webkit-mask:var(--pg-chev) center/contain no-repeat;mask:var(--pg-chev) center/contain no-repeat;transition:transform var(--cx-dur) var(--cx-ease)}
.cx-pg-toc-m[open]>summary::after{transform:rotate(180deg)}
.cx-pg-toc-m .cx-pg-toc-l{padding:0 12px 12px}
.cx-pg-toc-m .cx-pg-toc-l::before{inset-inline-start:18px}
.cx-pg-toc-m .cx-pg-toc-l a::before{inset-inline-start:13px}
.cx-pg-toc-m .cx-pg-toc-l a{padding-inline-start:42px}

.cx-pg-note.pause-note{margin:0 0 clamp(18px,3vw,28px);border-radius:16px;border-color:var(--c-line);background:var(--c-card);
	border-inline-start:4px solid var(--c-sea);color:var(--c-body)}

/* Coast prose — scoped to .cx-pg so it beats alex.css's `.post-body x` (0,1,1). */
.cx-pg .post-body{max-width:72ch;font-size:1.0625rem;line-height:1.95;color:var(--c-body)}
.cx-pg--wide .post-body{max-width:none}
.cx-pg .post-body>p:first-child{font-size:clamp(1.06rem,1rem + .3vw,1.2rem);color:var(--c-ink);line-height:1.85}
.cx-pg .post-body h2{font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem);line-height:1.3;margin-block:2.1em .55em;color:var(--c-ink);text-wrap:balance}
.cx-pg .post-body h2::before{content:"";display:block;width:36px;height:9px;margin-bottom:.8rem;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-pg .post-body>h2:first-child,.cx-pg .post-body>:first-child h2:first-child{margin-top:0}
.cx-pg .post-body h3{font-size:clamp(1.1rem,1rem + .4vw,1.3rem);line-height:1.45;color:var(--c-ink);margin-block:1.6em .45em}
.cx-pg .post-body a{color:var(--cx-link);text-decoration-thickness:1.5px;text-underline-offset:.25em}
.cx-pg .post-body a:hover{color:var(--cx-link-hover);text-decoration-thickness:2.5px}
.cx-pg .post-body strong,.cx-pg .post-body b{color:var(--c-ink)}
/* Lists: wave-mark bullets; numbered lists as foam station numbers. */
.cx-pg .post-body ul{list-style:none;padding-inline-start:0}
.cx-pg .post-body ul>li{position:relative;padding-inline-start:32px;margin-block:.55em}
.cx-pg .post-body ul>li::before{content:"";position:absolute;inset-inline-start:2px;top:.82em;width:20px;height:7px;background:var(--c-sea);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-pg .post-body ol{list-style:none;padding-inline-start:0;counter-reset:cx-ol}
.cx-pg .post-body ol>li{position:relative;padding-inline-start:44px;margin-block:.7em;counter-increment:cx-ol;min-height:30px}
.cx-pg .post-body ol>li::before{content:counter(cx-ol);position:absolute;inset-inline-start:0;top:.2em;width:30px;height:30px;border-radius:50%;
	display:grid;place-items:center;background:var(--c-foam);color:var(--c-brand);font-weight:700;font-size:.85rem;line-height:1}
.cx-pg .post-body li::marker{content:none}
.cx-pg .post-body blockquote{background:var(--c-foam);border:0;border-inline-start:4px solid var(--c-sea);border-radius:18px;color:var(--c-ink)}
.cx-pg .post-scroll{border-radius:18px;border-color:var(--c-line);background:var(--c-card)}
.cx-pg .post-scroll th{background:var(--c-foam);color:var(--c-ink)}

/* H3 runs, wrapped by the template. Plain by default… */
.cx-pg-steps{margin-block:1em 1.4em}
.cx-pg-step>h3:first-child{margin-top:1.4em}
/* …a tram line on "How it works" (spec §8)… */
.cx-pg--how-it-works .cx-pg-steps{counter-reset:cx-step;margin-block:1.3em 1.8em}
.cx-pg--how-it-works .cx-pg-step{position:relative;padding-inline-start:58px;padding-bottom:1.2em;counter-increment:cx-step}
.cx-pg--how-it-works .cx-pg-step::before{content:counter(cx-step);position:absolute;inset-inline-start:0;top:0;z-index:1;
	width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--c-card);
	border:2.5px solid var(--c-sea);color:var(--c-brand);font-weight:700;font-size:.95rem;line-height:1;box-sizing:border-box}
.cx-pg--how-it-works .cx-pg-step::after{content:"";position:absolute;inset-inline-start:18px;top:38px;bottom:0;width:2.5px;
	border-radius:2px;background:var(--c-sea);opacity:.45}
.cx-pg--how-it-works .cx-pg-step:last-child::after{display:none}
.cx-pg--how-it-works .cx-pg-step>h3:first-child{margin-top:.25em}
.cx-pg--how-it-works .cx-pg-step>:last-child{margin-bottom:0}
/* …and question cards on the FAQ page. */
.cx-pg--faq .cx-pg-steps{display:grid;gap:12px;margin-block:1em 1.6em}
.cx-pg--faq .cx-pg-step{background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:20px;
	box-shadow:var(--cx-shadow-card);padding:clamp(16px,2.4vw,22px) clamp(18px,2.6vw,26px)}
.cx-pg--faq .cx-pg-step>h3:first-child{margin-top:0;font-size:1.08rem;display:flex;gap:12px;align-items:flex-start}
.cx-pg--faq .cx-pg-step>h3:first-child::before{content:"";flex:0 0 auto;width:28px;height:34px;margin-top:-2px;border-radius:var(--cx-r-arch);
	background:var(--c-foam);box-shadow:inset 0 0 0 2px var(--c-sea)}
.cx-pg--faq .cx-pg-step>:last-child{margin-bottom:0}
@media (min-width:560px){.cx-pg--faq .cx-pg-step>p,.cx-pg--faq .cx-pg-step>ul,.cx-pg--faq .cx-pg-step>ol{padding-inline-start:40px}}
/* Sitemap: a plain station list. The page name + path is a real link (static-page.php turns the
   written "/ar/x/ — Name:" into one); the description stays prose. No raised card: only the link
   itself looks — and is — tappable. */
.cx-pg--sitemap .post-body ul>li.cx-sm-li{margin-block:.9em;line-height:1.8}
.cx-pg--sitemap .post-body ul>li.cx-sm-li::before{top:1.05em}
.cx-pg--sitemap .post-body a.cx-sm-a{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .55rem;min-height:44px;padding-block:.35rem;
	font-weight:700;color:var(--cx-link);text-decoration:none;vertical-align:baseline}
.cx-pg--sitemap .post-body a.cx-sm-a .cx-sm-t{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.25em}
.cx-pg--sitemap .post-body a.cx-sm-a:hover .cx-sm-t{color:var(--cx-link-hover);text-decoration-thickness:2.5px}
.cx-pg--sitemap .post-body .cx-sm-p{font-size:.78rem;font-weight:400;color:var(--c-muted);background:var(--c-foam);border-radius:999px;padding:.05rem .6rem;
	line-height:1.6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;unicode-bidi:isolate}
/* FAQ: the rail lists the questions under their group. */
.cx-pg-toc-l li.cx-pg-toc-q a{min-height:40px;padding-block:5px;font-size:.84rem;color:var(--c-muted)}
.cx-pg-toc-l li.cx-pg-toc-q a::before{width:8px;height:8px;margin-top:-4px;inset-inline-start:3px;border-width:2px;background:var(--c-page)}
.cx-pg--faq .cx-pg-toc-l li:not(.cx-pg-toc-q) a{font-weight:700;color:var(--c-ink)}
.cx-pg-toc-m .cx-pg-toc-l li.cx-pg-toc-q a::before{inset-inline-start:15px}
.cx-pg-toc-l li.cx-pg-toc-q a:hover{color:var(--cx-link)}
.cx-pg--faq .cx-pg-step>h3:first-child{scroll-margin-top:calc(var(--nav-h) + 20px)}
/* Emergency: list items read as an alert checklist. */
.cx-pg--emergency .post-body>ul{background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);
	border-radius:20px;padding:12px 18px;border-inline-start:4px solid var(--c-sea)}

/* FAQ band: two columns on desktop — sticky head + lead on the start side, accordion at the end. */
.cx-pg-faq{padding-block:calc(var(--cx-sec-y) + var(--cx-wave-h) * .5)}
.cx-pg-faq-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start}
@media (min-width:900px){
	.cx-pg-faq-in{grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr)}
	.cx-pg-faq-head{position:sticky;top:calc(var(--nav-h) + 28px)}
}
.cx-pg-faq-head .cx-h2{margin:0}
.cx-pg-faq-head .cx-lead{margin-top:.7rem}
.cx-pg-faq-list{display:flex;flex-direction:column;gap:10px;min-width:0}
.cx-pg .cx-pg-q.fgroup{background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:20px;box-shadow:var(--cx-shadow-card)}
.cx-pg .cx-pg-q>summary{min-height:60px;padding:14px 18px;gap:14px;font-size:1rem;line-height:1.55;color:var(--c-ink);border-radius:20px}
.cx-pg .cx-pg-q>summary::after{width:32px;height:32px;flex:0 0 32px;margin:0;margin-inline-start:auto;border:0;border-radius:50%;transform:none;
	background-color:var(--c-foam);
	background-image:linear-gradient(var(--c-brand),var(--c-brand)),linear-gradient(var(--c-brand),var(--c-brand));
	background-size:12px 2.4px,2.4px 12px;background-position:center;background-repeat:no-repeat;
	transition:background-color var(--cx-dur) var(--cx-ease),background-size var(--cx-dur) var(--cx-ease)}
.cx-pg .cx-pg-q[open]>summary::after{transform:none;margin:0;margin-inline-start:auto;background-color:var(--c-sea);
	background-image:linear-gradient(var(--c-ink-deep),var(--c-ink-deep)),linear-gradient(var(--c-ink-deep),var(--c-ink-deep));
	background-size:12px 2.4px,2.4px 0}
.cx-pg .cx-pg-q>p{margin:0;padding:0 18px 18px;color:var(--c-body);line-height:1.85}

/* Related pages: a grid of link cards under a small arch icon. */
.cx-pg-rel-wrap{padding-block:clamp(32px,5vw,64px) clamp(40px,6vw,80px)}
.cx-pg .cx-pg-rel.panel{background:none;border:0;box-shadow:none;padding:0;margin:0}
.cx-pg-rel-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.cx-pg-rel-head h2{margin:0;font-size:var(--cx-fs-h3);line-height:1.3;color:var(--c-ink)}
.cx-pg-rel-ic{flex:0 0 auto;display:grid;place-items:center;width:44px;height:54px;border-radius:var(--cx-r-arch);
	background:var(--c-band);color:var(--c-sky)}
.cx-pg-rel-ic .gi{width:24px;height:24px}
.cx-pg .cx-pg-rel .cx-pg-rel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:10px;
	overflow:visible;padding:0;margin:0;-webkit-mask-image:none;mask-image:none}
.cx-pg .cx-pg-rel .cx-pg-rel-a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:0 18px;
	border-radius:18px;background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);
	color:var(--c-ink);font-size:.95rem;font-weight:700;white-space:normal;line-height:1.35;
	transition:transform var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-pg .cx-pg-rel .cx-pg-rel-a{padding:10px 14px;min-height:56px;font-size:.9rem}
@media (min-width:700px){.cx-pg .cx-pg-rel .cx-pg-rel-list{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.cx-pg .cx-pg-rel .cx-pg-rel-a{padding:10px 18px;font-size:.95rem}}
.cx-pg .cx-pg-rel .cx-pg-rel-a::after{content:"";flex:0 0 18px;width:18px;height:18px;background:var(--c-sea);
	-webkit-mask:var(--pg-arrow) center/contain no-repeat;mask:var(--pg-arrow) center/contain no-repeat}
[dir="ltr"] .cx-pg .cx-pg-rel .cx-pg-rel-a::after{transform:scaleX(-1)}
.cx-pg .cx-pg-rel .cx-pg-rel-a:hover{transform:translateY(-2px);box-shadow:var(--cx-shadow-hover);color:var(--cx-link);border-color:var(--cx-card-border)}
@media (prefers-reduced-motion:reduce){
	.cx-pg .cx-pg-rel .cx-pg-rel-a,.cx-pg-toc-l a,.cx-pg .cx-pg-q>summary::after{transition:none}
	.cx-pg .cx-pg-rel .cx-pg-rel-a:hover{transform:none}
}
.cx-pg-faq.post-faq{margin-block:0}

/* -------------------------------------------------------------------------------------------------
   3. PRICING — the page-pricing.php fragment inside .cx-pg--pricing .post-body. Its own inline
      <style> sits later in the document at (0,2,0), so every rule here is scoped one level deeper.
      Plan cards are Alexandrian windows: an elliptical arch top traced by a line in the tier's
      own colour (tier colours stay distinct), the top plan as a navy card with the sea CTA.
   ------------------------------------------------------------------------------------------------- */
.cx-pg--pricing .cx-pg-layout{max-width:var(--cx-wrap)}
.cx-pg--pricing .post-body .alex-pricing>p:first-child{font-size:clamp(1.04rem,1rem + .25vw,1.16rem);color:var(--c-ink);max-width:72ch}
.cx-pg .post-body .pl-note{border-radius:16px;border:1px solid var(--c-line);border-inline-start:4px solid var(--c-sea);
	background:var(--c-card);color:var(--c-body);box-shadow:var(--cx-shadow-card);padding:14px 18px}
.cx-pg .post-body .pl-note a{color:var(--cx-link);font-weight:700}
/* Cycle toggle: a navy-on-foam segmented capsule. */
.cx-pg .post-body .pl-toggle{gap:14px;margin-block:1.6em 1.8em}
.cx-pg .post-body .pl-seg{background:var(--c-foam);border:0;padding:5px;gap:4px}
.cx-pg .post-body .pl-seg a{min-height:44px;padding-inline:22px;color:var(--c-brand);font-weight:700;text-decoration:none}
.cx-pg .post-body .pl-seg a:hover{color:var(--cx-link-hover)}
.cx-pg .post-body .pl-seg a[aria-current]{background:var(--c-band);color:#fff;box-shadow:0 6px 16px rgba(6,26,51,.22)}
.cx-pg .post-body .pl-save{display:inline-flex;align-items:center;gap:.35rem;min-height:34px;padding:0 .9rem;border-radius:999px;
	background:var(--c-ok-bg);color:var(--c-ok);font-size:.86rem;font-weight:700}
/* Grid: 1 → 2 → 4. */
.cx-pg .post-body .pl-grid{gap:clamp(14px,1.6vw,20px);margin-block:1.2em 2.4em;align-items:stretch}
@media (min-width:1100px){.cx-pg .post-body .pl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cx-pg .post-body .pl-card{--pl-tier:var(--c-sea);--pl-arch:64px;
	border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);background:var(--c-card);
	border-radius:50% 50% 24px 24px / var(--pl-arch) var(--pl-arch) 24px 24px;
	padding:calc(var(--pl-arch) + 6px) clamp(18px,1.8vw,24px) clamp(20px,2vw,26px)}
.cx-pg .post-body .pl-card::before{content:"";position:absolute;inset:10px 10px auto;height:calc(var(--pl-arch) + 6px);pointer-events:none;
	border:2px solid var(--pl-tier);border-bottom:0;border-radius:50% 50% 0 0 / var(--pl-arch) var(--pl-arch) 0 0;opacity:.9}
.cx-pg .post-body .pl-card::after{content:"";position:absolute;top:26px;inset-inline-start:50%;width:14px;height:14px;margin-inline-start:-7px;
	border-radius:50%;background:var(--pl-tier);box-shadow:0 0 0 5px var(--c-card)}
.cx-pg .post-body .pl-card--bronze{--pl-tier:var(--tier-bronze);border-color:var(--cx-card-border)}
.cx-pg .post-body .pl-card--silver{--pl-tier:var(--tier-silver);border-color:var(--cx-card-border)}
.cx-pg .post-body .pl-card--gold{--pl-tier:var(--tier-gold);background:var(--c-band);border-color:var(--c-on-band-line);
	box-shadow:0 2px 6px rgba(6,26,51,.12),0 24px 48px rgba(6,26,51,.22);color:var(--c-on-band-2)}
.cx-pg .post-body .pl-card--gold::after{box-shadow:0 0 0 5px var(--c-band)}
.cx-pg .post-body .pl-card--current{box-shadow:0 0 0 2px var(--c-ok),var(--cx-shadow-card)}
.cx-pg .post-body .pl-head{gap:.5rem .6rem;margin-bottom:.2rem}
.cx-pg .post-body .pl-name{font-size:1.3rem;font-weight:700;color:var(--c-ink);margin:0}
.cx-pg .post-body .pl-card--gold .pl-name{color:#fff}
.cx-pg .post-body .pl-flag{min-height:26px;padding:0 .7rem;font-weight:700;font-size:.75rem}
.cx-pg .post-body .pl-flag--gold{background:var(--c-sea);color:var(--c-ink-deep);border:0}
.cx-pg .post-body .pl-flag--current{background:var(--c-ok-bg);color:var(--c-ok)}
.cx-pg .post-body .pl-price{margin-block:.55rem .2rem}
.cx-pg .post-body .pl-price b{font-size:clamp(1.9rem,1.5rem + 1.2vw,2.4rem);font-weight:700;color:var(--c-brand);line-height:1.15}
.cx-pg .post-body .pl-card--gold .pl-price b{color:#fff}
.cx-pg .post-body .pl-per{color:var(--c-muted);font-weight:400}
.cx-pg .post-body .pl-card--gold .pl-per,.cx-pg .post-body .pl-card--gold .pl-sub{color:var(--c-on-band-3)}
.cx-pg .post-body .pl-sub{color:var(--c-muted);font-size:.86rem;min-height:2.8em;line-height:1.55}
.cx-pg .post-body .pl-sub b{color:var(--c-ok)}
.cx-pg .post-body .pl-card--gold .pl-sub b{color:#7EE2C0}
.cx-pg .post-body .pl-feats{margin:1rem 0 1.3rem;padding:0;border-top:1px dashed var(--c-line)}
.cx-pg .post-body .pl-card--gold .pl-feats{border-top-color:var(--c-on-band-line)}
.cx-pg .post-body .pl-feats li{padding:.6rem 0;padding-inline-start:0;margin:0;border-bottom:1px solid var(--c-line-2);align-items:center;gap:.6rem;line-height:1.45}
.cx-pg .post-body .pl-feats li::before{content:none}
.cx-pg .post-body .pl-card--gold .pl-feats li{border-bottom-color:var(--c-on-band-line);color:var(--c-on-band-2)}
.cx-pg .post-body .pl-ic{display:inline-grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;
	background:var(--c-ok-bg);color:var(--c-ok);font-size:.72rem;line-height:1}
.cx-pg .post-body .pl-feats .pl-off .pl-ic{background:var(--c-line-2);color:var(--c-muted)}
.cx-pg .post-body .pl-card--gold .pl-ic{background:rgba(46,155,214,.22);color:var(--c-sky)}
.cx-pg .post-body .pl-val{font-weight:700;color:var(--c-ink)}
.cx-pg .post-body .pl-card--gold .pl-val{color:#fff}
.cx-pg .post-body .pl-card--gold .pl-off,.cx-pg .post-body .pl-card--gold .pl-off .pl-val{color:var(--c-on-band-3)}
.cx-pg .post-body .pl-cta .btn{min-height:50px;border-radius:999px}
.cx-pg .post-body .pl-card--gold .pl-cta .btn-primary{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-pg .post-body .pl-card--gold .pl-cta .btn-primary:hover{background:var(--c-sea-hi);color:var(--c-ink-deep)}
.cx-pg .post-body .pl-card--gold .pl-cta .btn-ghost{color:#fff;border-color:rgba(201,219,238,.5);background:transparent}
.cx-pg .post-body .pl-card--gold .pl-cta .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.cx-pg .post-body .pl-card--gold :focus-visible{outline-color:var(--c-sea-hi)}
/* Compare table: a clean card, sticky first column on small screens. */
.cx-pg--pricing .post-body .post-scroll{border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);border-radius:20px;background:var(--c-card)}
.cx-pg--pricing .post-body .post-scroll th,.cx-pg--pricing .post-body .post-scroll td{padding:.85rem 1rem;border-bottom-color:var(--c-line-2)}
.cx-pg--pricing .post-body .post-scroll thead th{background:var(--c-band);color:#fff;font-size:.9rem}
.cx-pg--pricing .post-body .post-scroll tbody th{background:var(--c-foam-2);color:var(--c-ink);white-space:normal;min-width:10rem}
.cx-pg--pricing .post-body .post-scroll tbody tr:nth-child(even) td{background:var(--c-foam-2)}
/* Small screens: the plan columns run past the edge. Say so (hint + edge fade), keep the feature
   column pinned while the plans scroll, and keep every value on one line. */
.cx-pl-cmp{position:relative;margin-block:1.2em 2.2em}
.cx-pg--pricing .post-body .cx-pl-cmp .post-scroll{margin-block:0}
.cx-pl-swipe{display:none}
@media (max-width:759px){
	.cx-pg .post-body .cx-pl-swipe{display:flex;align-items:center;gap:8px;height:28px;margin:0 0 8px;font-size:.84rem;font-weight:700;color:var(--cx-eyebrow);line-height:1}
	.cx-pl-swipe .gi{width:18px;height:18px;color:var(--c-sea);animation:cx-pl-nudge 2.4s var(--cx-ease) infinite}
	.cx-pl-cmp::after{content:"";position:absolute;top:36px;bottom:1px;inset-inline-end:1px;width:28px;pointer-events:none;z-index:3;
		border-start-end-radius:19px;border-end-end-radius:19px}
	[dir="rtl"] .cx-pl-cmp::after{background:linear-gradient(to right,var(--c-card) 15%,rgba(255,255,255,0))}
	[dir="ltr"] .cx-pl-cmp::after{background:linear-gradient(to left,var(--c-card) 15%,rgba(255,255,255,0))}
	.cx-pg--pricing .post-body .cx-pl-cmp td{white-space:nowrap}
	.cx-pg--pricing .post-body .cx-pl-cmp tr>:last-child{padding-inline-end:2.2rem}
	.cx-pg--pricing .post-body .cx-pl-cmp tbody th,.cx-pg--pricing .post-body .cx-pl-cmp thead th:first-child{position:sticky;inset-inline-start:0;z-index:1;
		min-width:8.5rem;max-width:10rem;font-size:.84rem;line-height:1.45}
	.cx-pg--pricing .post-body .cx-pl-cmp thead th:first-child{z-index:2}
	[dir="rtl"] .cx-pg--pricing .post-body .cx-pl-cmp tbody th,[dir="rtl"] .cx-pg--pricing .post-body .cx-pl-cmp thead th:first-child{box-shadow:inset -1px 0 0 var(--c-line),-6px 0 10px -6px rgba(6,26,51,.18)}
	[dir="ltr"] .cx-pg--pricing .post-body .cx-pl-cmp tbody th,[dir="ltr"] .cx-pg--pricing .post-body .cx-pl-cmp thead th:first-child{box-shadow:inset 1px 0 0 var(--c-line),6px 0 10px -6px rgba(6,26,51,.18)}
}
@keyframes cx-pl-nudge{0%,60%,100%{transform:translateX(0)}30%{transform:translateX(-4px)}}
[dir="ltr"] .cx-pl-swipe .gi{animation-name:cx-pl-nudge-ltr}
@keyframes cx-pl-nudge-ltr{0%,60%,100%{transform:scaleX(-1) translateX(0)}30%{transform:scaleX(-1) translateX(-4px)}}
@media (prefers-reduced-motion:reduce){.cx-pl-swipe .gi{animation:none}}
/* Ranking disclosure: a navy card whose ordered list is a tram line. */
.cx-pg .post-body .pl-rank{background:var(--c-band);color:var(--c-on-band-2);border:1px solid var(--c-on-band-line);border-radius:24px;
	padding:clamp(20px,3vw,36px);margin-block:2.4em}
.cx-pg .post-body .pl-rank h2{color:#fff;font-size:clamp(1.25rem,1.05rem + .8vw,1.6rem);margin-block:0 .7em}
.cx-pg .post-body .pl-rank h2::before{background:var(--c-sky)}
.cx-pg .post-body .pl-rank p{color:var(--c-on-band-2)}
.cx-pg .post-body .pl-rank strong{color:#fff}
.cx-pg .post-body .pl-rank ol{margin-block:1.2em}
.cx-pg .post-body .pl-rank ol>li{padding-inline-start:52px;padding-bottom:.9em;margin:0;color:#fff}
.cx-pg .post-body .pl-rank ol>li::before{width:34px;height:34px;top:0;background:var(--c-band);border:2.5px solid var(--c-sky);color:var(--c-sky);box-sizing:border-box;z-index:1}
.cx-pg .post-body .pl-rank ol>li::after{content:"";position:absolute;inset-inline-start:16px;top:34px;bottom:0;width:2px;background:var(--c-sky);opacity:.45}
.cx-pg .post-body .pl-rank ol>li:last-child::after{display:none}
.cx-pg .post-body .pl-rank :focus-visible{outline-color:var(--c-sea-hi)}

/* -------------------------------------------------------------------------------------------------
   4. DIRECTORY HUBS — shared by /specialties and /areas (.cx-hub)
   ------------------------------------------------------------------------------------------------- */
.cx-hub.sec{padding:0}
.cx-hub>.cx-pg-head .wrap{padding-inline:var(--cx-gutter)}
.cx-hub .hub-head{margin-bottom:0}
.cx-hub .cx-pg-head .hub-lede{font-size:var(--cx-fs-lead);line-height:1.75}
.cx-hub-body{padding-block:clamp(28px,4vw,56px) clamp(12px,2vw,24px)}
/* Jump bar on navy: translucent pills with a pin. */
.cx-hub .cx-pg-head .spec-jump{margin:clamp(18px,2.6vw,28px) 0 0;padding:0;background:none;border:0;box-shadow:none;gap:10px 12px}
.cx-hub .cx-pg-head .spec-jump-l{color:var(--c-on-band-3);font-size:.85rem}
.cx-hub .cx-pg-head .spec-jump .chip{min-height:44px;gap:.45rem;padding:0 1.05rem;background:rgba(255,255,255,.07);color:#fff;
	border:1px solid rgba(201,219,238,.3)}
.cx-hub .cx-pg-head .spec-jump .chip:hover{border-color:#fff;background:rgba(255,255,255,.12);color:#fff}
.cx-hub .cx-pg-head .spec-jump .chip .gi{width:16px;height:16px;color:var(--c-sky)}
.cx-hub .cx-pg-head .spec-jump .chip .chip-n{background:var(--c-sea);color:var(--c-ink-deep);margin:0;min-width:24px;padding:0 .45rem;line-height:22px}
.cx-hub .cx-pg-head .spec-jump .chip-quiet{opacity:1;background:transparent;border-style:dashed}
/* A hub section: no card — a head row, then content. */
.cx-hub .hub-area.cx-hub-sec{background:none;border:0;box-shadow:none;padding:0;margin:0 0 clamp(36px,5vw,64px);border-radius:0}
.cx-hub .cx-hub-sec .hub-area-head{margin-bottom:clamp(16px,2.4vw,28px);align-items:flex-end}
.cx-hub .hub-area-h.cx-h2{font-size:var(--cx-fs-h2);line-height:1.18}
.cx-hub .hub-area-h a{color:var(--c-ink);text-decoration:none}
.cx-hub .hub-area-h a:hover{color:var(--cx-link);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:2px}
.cx-hub .cx-sec-head .hub-n{display:block;margin-top:.55rem;font-size:.92rem;color:var(--c-muted);white-space:normal}
.cx-hub .hub-more.cx-more{margin:0;font-size:.95rem;color:var(--cx-link)}
.cx-hub .hub-more .hub-more-arrow{width:18px;height:18px;transition:transform var(--cx-dur) var(--cx-ease)}
.cx-hub .hub-more:hover .hub-more-arrow{transform:translateX(-3px)}
[dir="ltr"] .cx-hub .hub-more:hover .hub-more-arrow{transform:scaleX(-1) translateX(-3px)}
.cx-hub .hub-empty{padding:2rem 0;font-size:1.05rem}
/* Chips inside hubs: Coast foam pills with count bubbles. */
.cx-hub .hub-chips{gap:8px;margin-top:0}
.cx-hub .hub-chips .chip{min-height:44px;gap:.4rem}
.cx-hub .chip-n{margin:0;min-width:22px;height:22px;line-height:22px;padding:0 .4rem;border-radius:999px;background:rgba(19,74,142,.12);color:var(--c-brand);font-size:.74rem}
:root[data-theme="dark"] .cx-hub .chip-n{background:rgba(111,180,238,.16);color:var(--c-brand)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-hub .chip-n{background:rgba(111,180,238,.16);color:var(--c-brand)}}
.cx-hub .chip-quiet{opacity:1;background:transparent;border:1px dashed var(--c-field-line);color:var(--c-muted)}
.cx-hub .chip-quiet:hover{border-style:solid;color:var(--cx-link)}
/* "Browse the other way" strip. */
.cx-hub-back.hub-back{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:clamp(28px,4vw,48px) 0 clamp(40px,6vw,80px);
	padding:clamp(16px,2.4vw,22px) clamp(18px,2.6vw,26px);border-radius:24px;background:var(--c-foam)}
.cx-hub-back-ic{display:grid;place-items:center;width:46px;height:56px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sky);flex:0 0 auto}
.cx-hub-back-ic .gi{width:24px;height:24px}
.cx-hub-back-t{flex:1 1 220px;font-weight:700;color:var(--c-ink);font-size:1.05rem}
.cx-hub-back .btn{background:var(--c-card)}

/* -------------------------------------------------------------------------------------------------
   4b. SPECIALTIES — the INDEX first (arch tiles in the head band), then per governorate one ROW per
       specialty: its name on the start side, the districts it is found in as a tram line of
       stations. Governorates are tabs. (templates/specialties.php)
   ------------------------------------------------------------------------------------------------- */
.cx-sp .cx-pg-head{padding-bottom:calc(clamp(36px,5vw,64px) + var(--cx-wave-h) * .5)}
/* "Start from the district instead" — a quiet line under the lead. */
.cx-sp .hub-back.cx-sp-flip{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:clamp(14px,2vw,20px) 0 0;padding:0;background:none}
.cx-sp-flip-t{color:var(--c-on-band-3);font-size:.92rem}
.cx-sp-flip-a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:var(--cx-r-pill);
	border:1px solid rgba(201,219,238,.35);color:#fff;font-weight:700;font-size:.9rem}
.cx-sp-flip-a .gi{width:18px;height:18px;color:var(--c-sky)}
.cx-sp-flip-a:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff}
/* The index: arch tiles on the navy band, each with a small "which stops?" anchor under it. */
.cx-sp .hub-area.spec-all.cx-sp-all{margin:clamp(22px,3vw,34px) auto 0;padding:0 var(--cx-gutter);background:none;border:0;box-shadow:none;border-radius:0}
.cx-sp-all-h{display:flex;align-items:center;gap:10px;margin:0 0 14px;color:var(--c-sky);font-size:.95rem;font-weight:700}
.cx-sp-all-h::before{content:"";width:24px;height:8px;flex:0 0 24px;background:var(--c-sky);
	-webkit-mask:var(--cx-wave-mark) center/100% 100% no-repeat;mask:var(--cx-wave-mark) center/100% 100% no-repeat}
.cx-sp .cx-sp-index{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:12px;list-style:none;margin:0;padding:0}
@media (min-width:760px){.cx-sp .cx-sp-index{grid-template-columns:repeat(auto-fill,minmax(176px,1fr))}}
@media (max-width:559px){.cx-sp .cx-sp-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.cx-sp-ix{display:flex;flex-direction:column;min-width:0;margin:0}
.cx-sp .cx-sp-all .cx-sp-mini.chip{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:.35rem;flex:1 1 auto;
	min-height:128px;margin:0;padding:52px 14px 14px;white-space:normal;text-align:start;font-size:.95rem;line-height:1.35;
	background:rgba(255,255,255,.05);border:1px solid rgba(134,205,239,.24);border-bottom:0;color:#fff;
	border-radius:50% 50% 0 0 / 34px 34px 0 0;transition:background-color var(--cx-dur) var(--cx-ease),border-color var(--cx-dur) var(--cx-ease)}
.cx-sp .cx-sp-all .cx-sp-mini.chip:hover{background:rgba(255,255,255,.1);border-color:var(--c-sky);color:#fff}
.cx-sp-mini-ic{position:absolute;top:16px;inset-inline-start:14px;display:grid;place-items:center;width:30px;height:36px;border-radius:var(--cx-r-arch);
	background:rgba(134,205,239,.16);color:var(--c-sky)}
.cx-sp-mini-ic svg{width:17px;height:17px}
.cx-sp-mini-t{font-weight:700}
.cx-sp .cx-sp-all .cx-sp-mini .chip-n{height:auto;min-height:22px;padding:0 .55rem;background:var(--c-sea);color:var(--c-ink-deep);font-size:.74rem;line-height:22px}
.cx-sp-ix-where{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;border-radius:0 0 16px 16px;
	background:rgba(134,205,239,.14);border:1px solid rgba(134,205,239,.24);border-top:1px dashed rgba(134,205,239,.35);
	color:var(--c-sky);font-size:.82rem;font-weight:700}
.cx-sp-ix-where::after{content:"";width:12px;height:12px;background:currentColor;
	-webkit-mask:var(--pg-arrow) center/contain no-repeat;mask:var(--pg-arrow) center/contain no-repeat;transform:rotate(-90deg)}
.cx-sp-ix-where:hover{background:rgba(134,205,239,.24);color:#fff}
.cx-sp-ix:not(:has(.cx-sp-ix-where)) .cx-sp-mini.chip{border-bottom:1px solid rgba(134,205,239,.24);border-radius:50% 50% 16px 16px / 34px 34px 16px 16px}
.cx-sp .cx-pg-head :focus-visible{outline-color:var(--c-sea-hi)}
/* Governorate tabs. */
.cx-sp .spec-jump.cx-sp-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 clamp(20px,3vw,32px);padding:6px;border:0;border-radius:18px;
	background:var(--c-foam);box-shadow:none;width:fit-content;max-width:100%}
.cx-sp-tab{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:0 1rem;border-radius:13px;color:var(--c-ink);font-weight:700;font-size:.92rem}
.cx-sp-tab .gi{width:16px;height:16px;color:var(--c-sea)}
.cx-sp-tab:first-child{background:var(--c-card);box-shadow:var(--cx-shadow-card)}
.cx-sp-tab:hover{background:var(--c-card);color:var(--cx-link)}
.cx-sp-tab--up{color:var(--cx-link);font-weight:600}
/* One governorate: a head row, then the lines. */
.cx-sp .cx-sp-gov{scroll-margin-top:calc(var(--nav-h) + 14px)}
.cx-sp .spec-grid.cx-sp-lines{display:block;list-style:none;margin:0;padding:0;border-radius:var(--cx-r-card);background:var(--c-card);
	border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);overflow:hidden}
.cx-sp .spec-block.cx-sp-line{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:clamp(16px,2vw,22px) clamp(16px,2.4vw,26px);
	background:none;border:0;border-radius:0;scroll-margin-top:calc(var(--nav-h) + 14px);transition:background-color .6s var(--cx-ease)}
.cx-sp .spec-block.cx-sp-line+.cx-sp-line{border-top:1px solid var(--c-line)}
@media (min-width:860px){.cx-sp .spec-block.cx-sp-line{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:center;gap:20px 34px}}
.cx-sp .cx-sp-line:target{background:var(--c-foam-2);box-shadow:inset 4px 0 0 var(--c-sea)}
[dir="rtl"] .cx-sp .cx-sp-line:target{box-shadow:inset -4px 0 0 var(--c-sea)}
.cx-sp-line-h{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 14px;min-width:0}
.cx-sp-line .cx-sp-ic{display:grid;place-items:center;width:44px;height:52px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sky)}
.cx-sp-line .cx-sp-ic svg{width:22px;height:22px}
.cx-sp .cx-sp-line .spec-block-h{margin:0;font-size:1.1rem}
.cx-sp .cx-sp-line .spec-block-h a{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:44px;justify-content:center;color:var(--c-ink)}
.cx-sp .cx-sp-line .spec-block-h a:hover .spec-block-name{color:var(--cx-link);text-decoration:underline;text-underline-offset:.2em}
.cx-sp .cx-sp-line .spec-block-n{padding:0;border:0;background:none;color:var(--c-muted);font-size:.82rem;font-weight:700}
.cx-sp-subs{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin:0;font-size:.84rem;color:var(--c-muted)}
.cx-sp-subs-l{font-weight:700}
.cx-sp-subs a.chip-sub{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;background:none;border:0;color:var(--cx-link);font-weight:700}
.cx-sp-subs a.chip-sub::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--c-sea)}
.cx-sp-subs a.chip-sub:hover{text-decoration:underline;text-underline-offset:.2em}
@media (max-width:859px){.cx-sp-subs{min-height:0}}
@media (max-width:559px){.cx-sp-subs a.chip-sub{min-height:44px}}
/* The tram line of districts for one specialty. */
.cx-sp-tram{display:flex;list-style:none;margin:0;padding:4px 0 2px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.cx-sp-tram::-webkit-scrollbar{display:none}
.cx-sp-tram li{position:relative;flex:1 0 96px;max-width:170px;margin:0}
.cx-sp-tram li::after{content:"";position:absolute;top:13px;inset-inline-start:50%;width:100%;height:3px;border-radius:3px;background:var(--c-sea);opacity:.45}
.cx-sp-tram li:last-child::after{display:none}
.cx-sp-tram a{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:72px;padding:4px 6px 6px;border-radius:12px;
	color:var(--c-ink);font-weight:700;font-size:.88rem;text-align:center;line-height:1.3}
.cx-sp-tram a::before{content:"";width:18px;height:18px;flex:0 0 18px;border-radius:50%;box-sizing:border-box;background:var(--c-card);border:3px solid var(--c-sea);
	transition:background-color var(--cx-dur) var(--cx-ease),transform var(--cx-dur) var(--cx-ease)}
.cx-sp-tram a:hover{background:var(--c-foam-2);color:var(--cx-link)}
.cx-sp-tram a:hover::before{background:var(--c-sea);transform:scale(1.15)}
.cx-sp-tram .chip-n{display:inline-block;height:auto;min-height:20px;line-height:20px}
.cx-sp-tram .cx-sp-stop--more a{color:var(--c-muted);font-weight:600}
.cx-sp-tram .cx-sp-stop--more a::before{border-style:dashed;border-color:var(--c-field-line)}
@media (max-width:859px){.cx-sp-tram{margin-inline:calc(-1 * clamp(16px,2.4vw,26px));padding-inline:clamp(10px,2vw,20px)}.cx-sp-tram li{flex:0 0 96px}}
@media (prefers-reduced-motion:reduce){.cx-sp-tram a::before,.cx-sp .spec-block.cx-sp-line{transition:none}}

/* Specialties: each governorate's numbers as three small tide gauges (templates/specialties.php). */
.cx-hub .cx-sec-head .hub-n.cx-gauges{display:flex;flex-wrap:wrap;gap:10px;margin:.8rem 0 0;padding:0;white-space:normal}
.cx-gauge{position:relative;display:flex;flex-direction:column-reverse;justify-content:center;gap:3px;min-width:100px;min-height:58px;
	padding:8px 14px;padding-inline-start:36px;border-radius:16px;background:var(--c-card);box-shadow:var(--cx-shadow-card);border:1px solid var(--cx-card-border)}
.cx-gauge-l{margin:0;font-size:.8rem;font-weight:700;color:var(--c-muted);line-height:1.2}
.cx-gauge-n{margin:0;font-size:1.35rem;font-weight:800;color:var(--c-ink);line-height:1}
.cx-gauge-tube{position:absolute;inset-inline-start:12px;top:9px;bottom:9px;display:block;width:12px;border-radius:999px;overflow:hidden;
	background:var(--c-foam);box-shadow:inset 0 0 0 1.5px var(--c-line)}
.cx-gauge-water{position:absolute;inset-inline:0;bottom:0;height:var(--lvl,50%);background:linear-gradient(to top,var(--c-brand),var(--c-sea))}
.cx-gauge-water::before{content:"";position:absolute;inset-inline:0;top:-2px;height:4px;border-radius:50%;background:var(--c-sky)}

/* -------------------------------------------------------------------------------------------------
   5. AREAS — a tram line of stations (spec §7). Index: one line per governorate, laid out in
      columns on wide screens. Governorate view: one long route, each station an area with the
      specialties it really has.
   ------------------------------------------------------------------------------------------------- */
.cx-ar .hub-grid.cx-ar-grid{display:block}
.cx-ar .hub-card.cx-ar-gov{background:none;border:0;box-shadow:none;padding:0;border-radius:0}
/* The line: chips become stations. */
.cx-ar .cx-ar-line.chips{display:block;margin:0;padding:clamp(14px,2vw,22px) clamp(14px,2.4vw,26px);gap:0;
	background:var(--c-card);border:1px solid var(--cx-card-border);border-radius:24px;box-shadow:var(--cx-shadow-card);--cx-tram-dot-y:26px}
@media (min-width:700px){.cx-ar .cx-ar-line.chips{columns:2;column-gap:clamp(24px,4vw,56px)}}
@media (min-width:1100px){.cx-ar .cx-ar-line.chips{columns:3}}
.cx-ar .cx-ar-line .cx-tram-stop{break-inside:avoid;padding-block:2px}
.cx-ar .cx-ar-line .cx-tram-stop>a.chip{display:flex;width:100%;min-height:48px;padding:8px 12px;border-radius:14px;background:none;border:0;
	justify-content:space-between;color:var(--c-ink);font-size:.98rem;white-space:normal;line-height:1.4}
.cx-ar .cx-ar-line .cx-tram-stop>a.chip:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-ar .cx-ar-line .cx-tram-stop>a .chip-n{min-width:28px;height:26px;line-height:26px;font-size:.8rem}
.cx-ar .cx-ar-stop--quiet::before{border-style:dashed;border-color:var(--c-field-line);background:var(--c-card)}
.cx-ar .cx-ar-line .cx-ar-stop--quiet>a.chip{color:var(--c-muted);font-weight:400}
.cx-ar-soon{flex:0 0 auto;font-size:.75rem;font-weight:700;color:var(--c-muted);border:1px dashed var(--c-field-line);border-radius:999px;padding:0 .55rem;line-height:22px}
/* Governorate view: one long route. */
.cx-ar-route.cx-tram{--cx-tram-dot-y:30px;--cx-dot:18px;margin-bottom:clamp(28px,4vw,48px)}
.cx-ar-route>.cx-tram-stop{padding-inline-start:calc(var(--cx-dot) + 22px);padding-bottom:14px}
.cx-ar-route>.cx-tram-stop::before{border-width:4px}
.cx-ar-route>.cx-tram-stop::after{width:4px;inset-inline-start:7px;opacity:.5}
.cx-ar .hub-area.cx-ar-station{margin:0;background:var(--c-card);border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);
	border-radius:22px;padding:clamp(14px,2vw,20px) clamp(16px,2.4vw,24px)}
.cx-ar .cx-ar-station .hub-area-head{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;margin-bottom:.8rem}
.cx-ar .cx-ar-station .hub-area-h{font-size:clamp(1.12rem,1rem + .4vw,1.3rem);line-height:1.35}
.cx-ar .cx-ar-station .hub-area-h a{display:inline-flex;align-items:center;min-height:36px}
.cx-ar .cx-ar-station .hub-n{display:inline-flex;align-items:center;min-height:28px;padding:0 .75rem;border-radius:999px;background:var(--c-foam);
	color:var(--c-brand);font-size:.8rem;font-weight:700}
.cx-ar .cx-ar-station .hub-chips{margin:0}
/* Areas still waiting for a doctor: a dashed "future stops" panel. */
.cx-ar .hub-area.hub-area-thin.cx-ar-future{position:relative;margin:0 0 clamp(28px,4vw,48px);padding:clamp(18px,2.6vw,26px);
	padding-inline-start:calc(clamp(18px,2.6vw,26px) + 54px);border-radius:24px;border:2px dashed var(--c-field-line);background:transparent;box-shadow:none}
.cx-ar-future-ic{position:absolute;top:clamp(18px,2.6vw,26px);inset-inline-start:clamp(18px,2.6vw,26px);display:grid;place-items:center;width:40px;height:48px;
	border-radius:var(--cx-r-arch);background:var(--c-foam);color:var(--c-brand)}
.cx-ar-future-ic .gi{width:20px;height:20px}
.cx-ar .cx-ar-future .hub-area-h{font-size:var(--cx-fs-h3);margin-bottom:.35rem}
.cx-ar .cx-ar-future .hub-note{color:var(--c-body);font-size:.95rem;margin-bottom:.9rem}
/* Whole-governorate specialties: a foam panel. */
.cx-ar .hub-area.cx-ar-all{margin:0;padding:clamp(20px,3vw,32px);border-radius:24px;background:var(--c-foam);border:0;box-shadow:none}
.cx-ar .cx-ar-all .hub-area-h{font-size:var(--cx-fs-h3);margin-bottom:1rem}
.cx-ar .cx-ar-all .chip{background:var(--c-card)}
.cx-ar .cx-ar-all .chip:hover{border-color:var(--cx-link)}
.cx-ar-split{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start;margin-bottom:clamp(8px,2vw,16px)}
@media (min-width:1000px){
	.cx-ar-split{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
	.cx-ar-side{position:sticky;top:calc(var(--nav-h) + 24px)}
}
.cx-ar-side{display:flex;flex-direction:column;gap:clamp(16px,2.4vw,24px);min-width:0}
.cx-ar-side>.hub-area{margin:0!important}
.cx-ar-route.cx-tram{margin-bottom:0}

/* -------------------------------------------------------------------------------------------------
   6. FORMS — contact + claim. A white form card that rises over the head band's wave, with a navy
      side card (desktop) — never the plain centred form of the siblings.
   ------------------------------------------------------------------------------------------------- */
.cx-form-pg.sec{padding:0}
.cx-form-pg .cx-pg-head{padding-bottom:calc(clamp(72px,9vw,120px) + var(--cx-wave-h) * .5)}
.cx-form-pg .cx-pg-head .sub-sec{color:var(--c-on-band-2);font-size:var(--cx-fs-lead)}
.cx-form-body{position:relative;z-index:1;margin-top:calc(clamp(-96px,-8vw,-56px));padding-bottom:clamp(40px,6vw,88px)}
.cx-form-pg .cx-form-cols.profile-cols{margin-top:0;gap:clamp(16px,2.4vw,28px)}
@media (min-width:900px){
	.cx-form-pg .cx-form-cols.profile-cols{grid-template-columns:minmax(0,1fr) 360px}
	.cx-form-pg .cx-form-cols>aside{position:sticky;top:calc(var(--nav-h) + 20px)}
}
.cx-form-pg .panel.cx-form-card{border-radius:28px;border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop);
	padding:clamp(20px,3.4vw,40px)}
.cx-form-card-head{display:flex;align-items:center;gap:14px;margin-bottom:clamp(16px,2.4vw,24px)}
.cx-form-card-ic{flex:0 0 auto;display:grid;place-items:center;width:46px;height:56px;border-radius:var(--cx-r-arch);background:var(--c-foam);color:var(--c-brand)}
.cx-form-card-ic .gi{width:22px;height:22px}
.cx-form-card-h{margin:0;font-size:var(--cx-fs-h3);color:var(--c-ink)}
/* Labels and controls. */
.cx-form-pg .alex-form{gap:18px}
.cx-form-pg .alex-label,.cx-form-pg .lbl{font-size:.9rem;font-weight:700;color:var(--c-ink)}
.cx-form-pg .alex-label em{color:var(--err-ink)}
.cx-form-pg .alex-form .inp{min-height:52px;padding:.8rem 1rem;font-size:1rem;background:var(--c-card);border:1px solid var(--c-field-line);border-radius:14px}
/* A <select class="inp"> must still read as a picker: the shorthand above (and .inp in 00-tokens) wipes
   alex.css's chevron, so it is redrawn here — theme-aware (--c-muted), on the inline-end side, with
   room reserved for it. (0,3,1) also beats `.inp:focus{background:…}` so it survives focus. */
.cx-form-pg .alex-form select.inp{cursor:pointer;padding-inline-end:2.75rem;
	background-image:linear-gradient(45deg,transparent 50%,var(--c-muted) 50%),linear-gradient(135deg,var(--c-muted) 50%,transparent 50%);
	background-repeat:no-repeat;background-size:6px 6px,6px 6px}
[dir="rtl"] .cx-form-pg .alex-form select.inp{background-position:18px calc(50% + 1px),24px calc(50% + 1px);padding-left:2.75rem;padding-right:1rem}
[dir="ltr"] .cx-form-pg .alex-form select.inp{background-position:calc(100% - 24px) calc(50% + 1px),calc(100% - 18px) calc(50% + 1px);padding-right:2.75rem;padding-left:1rem}
.cx-form-pg .alex-form select.inp:hover{background-image:linear-gradient(45deg,transparent 50%,var(--cx-link) 50%),linear-gradient(135deg,var(--cx-link) 50%,transparent 50%)}
.cx-form-pg .alex-form .inp:focus-visible{outline:3px solid var(--cx-focus);outline-offset:1px}
.cx-form-pg .alex-form textarea.inp{min-height:150px;line-height:1.7}
.cx-form-pg .alex-form .inp:focus{border-color:var(--c-brand);box-shadow:0 0 0 4px rgba(46,155,214,.22)}
.cx-form-pg .alex-form input[type="file"].inp{min-height:auto;padding:.7rem;border-style:dashed;background:var(--c-foam-2);cursor:pointer}
.cx-form-pg .alex-form input[type="file"].inp::file-selector-button{font:inherit;font-weight:700;font-size:.88rem;min-height:40px;padding:0 1rem;margin-inline-end:.8rem;
	border:0;border-radius:999px;background:var(--cx-primary-bg);color:var(--cx-primary-ink);cursor:pointer}
.cx-form-hint{margin:-.4rem 0 .2rem;padding:10px 14px;border-radius:14px;background:var(--c-foam);color:var(--c-body);font-size:.88rem;line-height:1.65}
.cx-form-hint a{color:var(--cx-link);font-weight:700}
.cx-form-msg:not(:empty){padding:10px 14px;border-radius:14px;background:var(--c-foam-2);font-weight:700}
.cx-form-pg .cx-form-submit.btn{min-height:56px;padding:0 2rem;font-size:1.02rem;gap:.6rem;align-self:flex-start}
.cx-form-pg .cx-form-submit .gi{width:20px;height:20px}
@media (max-width:559px){.cx-form-pg .cx-form-submit.btn{align-self:stretch;width:100%}}

/* Contact (templates/contact.php): quick-answer doors above a single wide two-half card, then a
   footnote. The doors row sits on the band's wave; the card follows. */
.cx-ct-body{display:flex;flex-direction:column;gap:clamp(16px,2.4vw,26px)}
.cx-ct-first{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:clamp(14px,2vw,18px);border-radius:24px;background:var(--c-card);
	border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-pop)}
@media (min-width:760px){.cx-ct-first{grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center}}
.cx-ct-first-h{margin:0;padding-inline:6px 10px;font-size:.85rem;font-weight:800;color:var(--cx-eyebrow);white-space:nowrap}
.cx-ct-door{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 12px;border-radius:18px;background:var(--c-foam-2);color:var(--c-ink);text-decoration:none;
	transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-ct-door:hover{background:var(--c-foam);color:var(--cx-link)}
.cx-ct-door-ic{flex:0 0 auto;display:grid;place-items:center;width:40px;height:48px;border-radius:var(--cx-r-arch);background:var(--c-card);color:var(--c-brand)}
.cx-ct-door-ic .gi{width:20px;height:20px}
.cx-ct-door-t{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.35}
.cx-ct-door-t strong{font-size:.93rem}
.cx-ct-door-t span{font-size:.8rem;color:var(--c-muted)}
/* The card: say (start) | reply-to (end), a dashed seam between them. */
.cx-form-pg .panel.cx-ct-card{padding:0;overflow:hidden}
.cx-ct-form.alex-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
@media (min-width:900px){.cx-ct-form.alex-form{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
.cx-ct-half{display:flex;flex-direction:column;gap:18px;min-width:0;padding:clamp(20px,3.2vw,36px)}
.cx-ct-half--back{background:var(--c-foam-2);border-top:1.5px dashed var(--c-line)}
@media (min-width:900px){.cx-ct-half--back{border-top:0;border-inline-start:1.5px dashed var(--c-line)}}
.cx-ct-step{display:flex;align-items:center;gap:12px;margin:0;font-size:var(--cx-fs-h3);font-weight:700;color:var(--c-ink)}
.cx-ct-n{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--c-band);color:var(--c-sky)}
.cx-ct-n .gi{width:21px;height:21px;--gi-duo:currentColor}
/* Topic chips: a real radio group; the dot inside each chip fills when chosen. */
.cx-ct-topics{margin:0;padding:0;border:0;min-width:0}
.cx-ct-topics>legend{padding:0;margin:0 0 10px;font-size:.9rem;font-weight:700;color:var(--c-ink)}
.cx-ct-chips{display:flex;flex-wrap:wrap;gap:8px}
.cx-ct-chip{position:relative;display:inline-flex;cursor:pointer}
.cx-ct-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cx-ct-chip span{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;border-radius:999px;border:1.5px solid var(--c-line);
	background:var(--c-card);color:var(--c-body);font-weight:700;font-size:.9rem;transition:border-color var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
[dir="rtl"] .cx-ct-chip span{padding:0 12px 0 16px}
.cx-ct-chip span::before{content:"";width:14px;height:14px;flex:0 0 14px;border-radius:50%;box-sizing:border-box;border:2px solid var(--c-field-line);background:transparent;
	transition:border-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease)}
.cx-ct-chip:hover span{border-color:var(--c-sea)}
.cx-ct-chip input:checked+span{border-color:var(--c-brand);background:var(--cx-chip-on-bg);color:var(--cx-chip-on-ink)}
.cx-ct-chip input:checked+span::before{border-color:currentColor;box-shadow:inset 0 0 0 3px var(--cx-chip-on-bg),inset 0 0 0 8px currentColor}
.cx-ct-chip input:focus-visible+span{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-ct-or{margin:-6px 0 0;font-size:.82rem;line-height:1.6;color:var(--c-muted)}
.cx-ct-half--back .cx-form-submit.btn{align-self:stretch;width:100%}
.cx-form-pg .cx-ct-half--back .inp{background:var(--c-card)}
/* Footnote: who reads it. */
.cx-ct-who{display:flex;align-items:flex-start;gap:14px;max-width:820px;padding:4px 6px;color:var(--c-body)}
.cx-ct-who-ic{flex:0 0 auto;display:grid;place-items:center;width:44px;height:52px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sky)}
.cx-ct-who-ic .gi{width:22px;height:22px}
.cx-ct-who p{margin:0;font-size:.93rem;line-height:1.8}
.cx-ct-who strong{color:var(--c-ink);margin-inline-end:4px}
.cx-ct-who-note{display:block;margin-top:4px;font-size:.84rem;color:var(--c-muted)}

/* Claim: a single, wider form card with numbered steps. */
.cx-cl-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,2.4vw,28px);align-items:start}
@media (min-width:1000px){.cx-cl-cols{grid-template-columns:minmax(0,1fr) 340px}.cx-cl-aside{position:sticky;top:calc(var(--nav-h) + 20px)}}
.cx-cl-next{background:var(--c-band);color:var(--c-on-band-2);border-radius:28px;padding:clamp(22px,3vw,30px);border:1px solid var(--c-on-band-line);box-shadow:var(--cx-shadow-card)}
.cx-cl-next .cx-eyebrow{color:var(--c-sky)}
.cx-cl-next .cx-eyebrow::before{background:var(--c-sky)}
.cx-cl-next-h{margin:0 0 18px;color:#fff;font-size:var(--cx-fs-h3)}
.cx-cl-tram .cx-tram-stop::before{background:var(--c-band);border-color:var(--c-sky);color:var(--c-sky)}
.cx-cl-tram .cx-tram-stop::after{background:var(--c-sky)}
.cx-cl-tram .cx-tram-stop>.cx-tram-body{display:block;min-height:0;padding:4px 0 0;color:var(--c-on-band-2);font-weight:400;line-height:1.7}
@media (min-width:1000px){.cx-cl-aside{order:0}}
.cx-cl .cx-pg-note{margin-bottom:16px}
.cx-cl .cx-pg-head .hub-lede strong{color:#fff}
.cx-cl-view.cx-pill{min-height:44px}
.cx-cl-step{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:0;font-size:1.08rem!important;font-weight:700;color:var(--c-ink)!important}
.cx-cl-n{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--c-band);color:var(--c-sky);font-size:.9rem;line-height:1}
.cx-cl .rq-types{margin-bottom:clamp(20px,3vw,30px)}
.cx-cl .rq-type{border-radius:20px;border:1.5px solid var(--c-line);background:var(--c-card);padding:16px 18px;margin-bottom:10px;gap:14px;
	transition:border-color var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-cl .rq-type:hover{border-color:var(--c-sea)}
.cx-cl .rq-type input{width:22px;height:22px;margin-top:.1rem;accent-color:var(--c-brand)}
.cx-cl .rq-type:has(input:checked){border-color:var(--c-brand);background:var(--c-foam-2);box-shadow:0 0 0 1px var(--c-brand)}
.cx-cl .rq-type:has(input:focus-visible){outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-cl .rq-type strong{font-size:1rem;color:var(--c-ink)}
.cx-cl .rq-type em{color:var(--c-muted);font-size:.88rem}
/* The `.field` labels here were inheriting the search field's flex ROW (label, input and hint
   squeezed side by side). In Coast they stack: label, control, hint. */
.cx-cl .alex-form label.field{display:flex;flex-direction:column;align-items:stretch;gap:.45rem;min-height:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.cx-cl .alex-form label.field:focus-within{box-shadow:none;background:none;border:0}
.cx-cl .alex-form label.field .inp{width:100%}
.cx-cl .alex-form .hint{color:var(--c-muted);font-size:.85rem;line-height:1.6}
.cx-cl .alex-form .opt{color:var(--c-muted);font-weight:400}
.cx-cl .cx-cl-grid.grid2{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0}
@media (min-width:640px){.cx-cl .cx-cl-grid.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-cl .cx-form-submit.btn-cta{width:100%;align-self:stretch;border-radius:999px;background:var(--cx-primary-bg);color:var(--cx-primary-ink);filter:none}
.cx-cl .cx-form-submit.btn-cta:hover{background:var(--cx-primary-hover);color:var(--cx-primary-ink);filter:none}
.cx-cl .cx-form-foot{margin:4px 0 0;padding:12px 14px;border-radius:14px;background:var(--c-foam-2)}
.cx-cl-else{margin-top:18px;color:var(--c-body)}
/* Doctor terms: the short version as a foam call-out, acceptance state as a pill. */
.cx-pg-summary.lede{margin:0 0 clamp(18px,3vw,28px);padding:clamp(16px,2.4vw,22px) clamp(18px,2.6vw,26px);border-radius:20px;background:var(--c-foam);
	color:var(--c-ink);font-weight:700;font-size:1.05rem;line-height:1.8;max-width:72ch;border-inline-start:4px solid var(--c-sea)}
.cx-pg-accepted.post-meta{display:inline-flex;align-items:center;gap:.5rem;min-height:40px;padding:0 1rem;margin:0 0 clamp(18px,3vw,28px);
	border-radius:999px;background:var(--c-ok-bg);color:var(--c-ok);font-weight:700}
.cx-pg-accepted .gi{width:18px;height:18px}
.cx-pg-accept.pause-note strong{color:var(--c-ink)}
.cx-pg-accept.pause-note p{color:var(--c-body)}

/* -------------------------------------------------------------------------------------------------
   7. 404 + OFFLINE — friendly lighthouse empty states. A navy band: the message and the search on
      the start side, a drawn lighthouse in an Alexandrian window on the end side.
   ------------------------------------------------------------------------------------------------- */
.cx-empty.sec,.cx-empty{padding:0;display:block}
.cx-empty-band{padding-top:clamp(28px,5vw,64px);padding-bottom:calc(clamp(48px,7vw,96px) + var(--cx-wave-h) * .5);overflow:hidden;
	background:radial-gradient(90% 120% at 50% 0%,rgba(46,155,214,.16),transparent 60%),var(--c-band)}
.cx-empty-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:center}
@media (min-width:860px){.cx-empty-in{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}
.cx-empty-txt{min-width:0;max-width:640px;text-align:start}

.cx-empty .cx-empty-band h1,.cx-empty .cx-empty-band .h-sec{color:#fff;font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);margin:0 0 .7rem;text-align:start}
.cx-empty .cx-empty-band .sub-sec,.cx-empty .cx-empty-band .cx-lead{color:var(--c-on-band-2);max-width:56ch;margin:0;font-size:var(--cx-fs-lead)}
/* The search: a white capsule floating on navy. */

/* Lighthouse art. */
.cx-empty-art{display:flex;justify-content:center;min-width:0}
.cx-lh{width:min(100%,340px);height:auto;overflow:visible}
@media (max-width:859px){.cx-empty-art{order:-1;justify-content:flex-start}.cx-lh{width:min(58vw,220px)}}
.cx-lh-win{stroke:var(--c-sky);stroke-width:2.4;fill:rgba(134,205,239,.06)}
.cx-lh-win2{stroke:var(--c-sky);stroke-width:1.4;opacity:.45}
.cx-lh-beam path{fill:var(--c-sea);opacity:.28}
.cx-lh-beam{transform-origin:160px 99px;animation:cx-lh-pulse 4.5s ease-in-out infinite}
@keyframes cx-lh-pulse{0%,100%{opacity:.55}50%{opacity:1}}
.cx-lh-roof{fill:#fff}
.cx-lh-lamp{fill:#FFE08A;stroke:#fff;stroke-width:2}
.cx-lh-lamp--off{fill:var(--c-band-2);stroke:var(--c-sky)}
.cx-lh-gal{stroke:#fff;stroke-width:3;stroke-linecap:round}
.cx-lh-tower{fill:#F4F9FE}
.cx-lh-band{fill:var(--c-sea)}
.cx-lh-door{fill:var(--c-band)}
.cx-lh-rock{stroke:var(--c-on-band-3);stroke-width:2.4;stroke-linecap:round}
.cx-lh-wave{stroke:var(--c-sky);stroke-width:2.4;stroke-linecap:round}
.cx-lh-wave2{opacity:.5}
@media (prefers-reduced-motion:reduce){.cx-lh-beam{animation:none}}

/* Offline specifics (the box keeps its alex.css classes). */
.cx-offline .alex-offline-box{max-width:600px;text-align:start;color:var(--c-on-band-2)}
.cx-offline-ic{display:grid;place-items:center;width:84px;height:100px;margin-bottom:18px;border-radius:var(--cx-r-arch);background:rgba(134,205,239,.12);color:var(--c-sky)}
.cx-offline .alex-offline-box .cx-offline-ic svg{width:44px;height:44px;margin:0;color:var(--c-sky)}
.cx-offline.alex-offline h1{color:#fff;font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);margin:0 0 .7rem}
.cx-offline .alex-offline-lead{color:var(--c-on-band-2);font-size:var(--cx-fs-lead)}
.cx-offline .alex-offline-note{color:var(--c-on-band-3);opacity:1}
.cx-offline .alex-offline-act{justify-content:flex-start;margin-top:26px}
.cx-offline .alex-offline-act .btn-ghost{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(201,219,238,.45);min-height:56px}
.cx-offline .alex-offline-act .btn-ghost:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}
.cx-offline .alex-offline-emg{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:28px;padding:14px 16px;border:1px solid var(--c-on-band-line);
	border-radius:20px;background:rgba(255,255,255,.04);color:var(--c-on-band-2)}
.cx-offline-emg-l{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#fff}
.cx-offline-emg-l .gi{width:18px;height:18px;color:var(--c-sky)}
.cx-offline .alex-offline-emg a{display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border-radius:999px;background:var(--c-sea);color:var(--c-ink-deep);
	text-decoration:none;font-weight:700}
.cx-offline .alex-offline-emg a:hover{background:var(--c-sea-hi)}
.cx-offline .alex-offline-emg>span[aria-hidden]{display:none}
.cx-empty-band :focus-visible{outline-color:var(--c-sea-hi)}

/* -------------------------------------------------------------------------------------------------
   7b. 404 — "lost at sea" (templates/404.php). A night-sea band with the lighthouse at the start and
       the question + search beside it; under the waves, the way back as two numbered tram lines
       (ordered lists with a rail on the start side), then a quiet run of specialties to board at.
       The offline page keeps §7.
   ------------------------------------------------------------------------------------------------- */
.cx-lost.sec,.cx-lost{padding:0;display:block}
.cx-lost-sea{padding-top:clamp(28px,5vw,64px);overflow:hidden;
	background:radial-gradient(60% 90% at 22% 18%,rgba(134,205,239,.14),transparent 60%),
		radial-gradient(1.4px 1.4px at 12% 20%,rgba(255,255,255,.7),transparent 2px),radial-gradient(1.2px 1.2px at 38% 12%,rgba(255,255,255,.55),transparent 2px),
		radial-gradient(1.4px 1.4px at 64% 26%,rgba(255,255,255,.5),transparent 2px),radial-gradient(1.2px 1.2px at 86% 10%,rgba(255,255,255,.6),transparent 2px),
		var(--c-band)}
.cx-lost-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,3vw,40px);align-items:center}
@media (min-width:860px){.cx-lost-in{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}
.cx-lost-art{display:flex;justify-content:center;min-width:0}
.cx-lost-lh{width:min(100%,380px)}
@media (max-width:859px){.cx-lost-art{justify-content:center}.cx-lost-lh{width:min(64vw,230px)}}
.cx-lost-moon{fill:var(--c-sky);opacity:.85}
.cx-lost-boat{fill:var(--c-on-band-3);opacity:.8}
.cx-lost-beam path{fill:var(--c-sky);opacity:.2}
.cx-lost-beam{transform-origin:160px 99px;animation:cx-lost-sweep 7s ease-in-out infinite}
@keyframes cx-lost-sweep{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
@media (prefers-reduced-motion:reduce){.cx-lost-beam{animation:none}}
.cx-lost-txt{min-width:0;max-width:640px}
@media (max-width:859px){.cx-lost-txt{text-align:center;margin-inline:auto}}
.cx-lost-code{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:6px 14px 6px 6px;border-radius:999px;
	background:rgba(134,205,239,.12);border:1px solid var(--c-on-band-line);color:var(--c-on-band-2);font-size:.88rem;font-weight:700}
[dir="rtl"] .cx-lost-code{padding:6px 6px 6px 14px}
.cx-lost-num{display:inline-grid;place-items:center;min-width:52px;height:30px;padding:0 10px;border-radius:999px;background:var(--c-sea);color:var(--c-ink-deep);font-weight:800;letter-spacing:.04em}
.cx-lost .cx-lost-sea h1{margin:0 0 .6rem;color:#fff;font-size:clamp(2.3rem,1.4rem + 3.8vw,4.2rem);line-height:1.08}
.cx-lost .cx-lost-sea .cx-lead{max-width:52ch;margin:0;color:var(--c-on-band-2);font-size:var(--cx-fs-lead);line-height:1.75}
@media (max-width:859px){.cx-lost .cx-lost-sea .cx-lead{margin-inline:auto}}
/* The search: a white capsule; the lighthouse glyph marks the field, the button points onward. */
.cx-lost-search.sb-form{display:flex;align-items:center;gap:6px;max-width:580px;margin:clamp(20px,3vw,30px) 0 0;padding:6px;border-radius:22px;background:var(--c-card);
	box-shadow:0 0 0 6px rgba(134,205,239,.14),0 22px 44px rgba(0,0,0,.3)}
@media (max-width:859px){.cx-lost-search.sb-form{margin-inline:auto}}
.cx-lost-search .sb-field{flex:1 1 auto;display:flex;align-items:center;gap:10px;min-height:54px;border:0;background:transparent;border-radius:16px;padding-inline:14px 6px;box-shadow:none}
.cx-lost-search .sb-field:focus-within{box-shadow:none;background:transparent}
.cx-lost-search .sb-field .gi{width:22px;height:22px;flex:0 0 22px;color:var(--c-sea)}
.cx-lost-search .sb-field input{flex:1 1 auto;min-width:0;font-size:16px;color:var(--c-ink);background:transparent;border:0;outline:0}
.cx-lost-search .sb-go.btn{min-height:54px;padding-inline:1.2rem;border-radius:16px;gap:8px;background:var(--cx-primary-bg);color:var(--cx-primary-ink)}
.cx-lost-search .sb-go.btn:hover{background:var(--cx-primary-hover)}
[dir="ltr"] .cx-lost-search .sb-go .cx-dir{transform:scaleX(-1)}
.cx-lost-search:focus-within{box-shadow:0 0 0 3px var(--c-sea-hi),0 22px 44px rgba(0,0,0,.3)}
@media (max-width:420px){.cx-lost-search .sb-go span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.cx-lost-search .sb-go.btn{padding-inline:1rem}}
/* Specialties to board at: the LAST thing on the page, a quiet run of links under the two lines.
   Every link carries its own leading buoy (not a separator), so a wrapped row never starts with an
   orphaned dot. */
.cx-lost-try{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;margin:clamp(18px,2.6vw,28px) 0 0;padding:14px 18px;border-radius:20px;
	background:var(--c-foam-2);border:1px dashed var(--c-line);color:var(--c-muted);font-size:.92rem}
.cx-lost-try-l{flex:0 0 100%;margin:0 0 2px;font-weight:700;color:var(--c-ink)}
@media (min-width:760px){.cx-lost-try-l{flex:0 0 auto;margin:0}}
.cx-lost-try a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--cx-link);font-weight:700}
.cx-lost-try a::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;box-sizing:border-box;border:2px solid var(--c-sea)}
.cx-lost-try a:hover{text-decoration:underline;text-underline-offset:.25em}
.cx-lost-sea{padding-bottom:calc(clamp(36px,5vw,64px) + var(--cx-wave-h) * .5)}
.cx-lost-sea :focus-visible{outline-color:var(--c-sea-hi)}
/* The way back: two tram lines side by side, stations on a vertical rail. */
.cx-lost-body{padding-block:clamp(26px,4vw,52px) clamp(40px,6vw,80px)}
.cx-lost-h{display:flex;align-items:center;gap:10px;margin:0 0 clamp(16px,2.4vw,26px);font-size:var(--cx-fs-h3);color:var(--c-ink)}
.cx-lost-h .gi{width:26px;height:26px;color:var(--c-sea)}
.cx-lost-lines{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:760px){.cx-lost-lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
.cx-lost-line{padding:18px 18px 10px;border-radius:var(--cx-r-card);background:var(--c-card);box-shadow:var(--cx-shadow-card);border:1px solid var(--cx-card-border)}
.cx-lost-badge{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-weight:700;color:var(--c-ink)}
.cx-lost-badge-n{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--c-band);color:#fff;font-weight:800}
.cx-lost-line--city .cx-lost-badge-n{background:var(--c-sea);color:var(--c-ink-deep)}
.cx-lost-stops{list-style:none;margin:0;padding:0}
.cx-lost-stops li{position:relative;margin:0;padding:0}
.cx-lost-stops li::before{content:"";position:absolute;inset-inline-start:16px;top:0;bottom:0;width:3px;border-radius:3px;background:var(--c-sea);opacity:.4}
.cx-lost-stops li:first-child::before{top:50%}
.cx-lost-stops li:last-child::before{bottom:50%}
.cx-lost-stops li:only-child::before{display:none}
.cx-lost-stops a{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:56px;padding:6px 10px;padding-inline-start:44px;border-radius:14px;
	color:var(--c-ink);font-weight:700;line-height:1.35;transition:background-color var(--cx-dur) var(--cx-ease),color var(--cx-dur) var(--cx-ease)}
.cx-lost-stops a::before{content:"";position:absolute;inset-inline-start:10px;top:50%;width:15px;height:15px;margin-top:-7.5px;border-radius:50%;box-sizing:border-box;
	background:var(--c-card);border:3px solid var(--c-sea);transition:background-color var(--cx-dur) var(--cx-ease)}
.cx-lost-stops .is-end a::before{width:19px;height:19px;margin-top:-9.5px;inset-inline-start:8px;border-radius:6px;background:var(--c-band);border-color:var(--c-band)}
.cx-lost-stop-k{font-size:.74rem;font-weight:700;color:var(--c-muted)}
.cx-lost-stops a:hover{background:var(--c-foam-2);color:var(--cx-link)}
.cx-lost-stops a:hover::before{background:var(--c-sea)}
:root[data-theme="dark"] .cx-lost-stops .is-end a::before{background:var(--c-sky);border-color:var(--c-sky)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-lost-stops .is-end a::before{background:var(--c-sky);border-color:var(--c-sky)}}
:root[data-theme="dark"] .cx-lost-line--doc .cx-lost-badge-n{background:var(--c-band-2)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-lost-line--doc .cx-lost-badge-n{background:var(--c-band-2)}}

/* -------------------------------------------------------------------------------------------------
   8. APP LANDING
   ------------------------------------------------------------------------------------------------- */
.cx-app.alex-app{padding:0}
.cx-app .alex-app-hd.cx-pg-head{text-align:start;max-width:none;margin:0}
.cx-app-hd-in{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center}
@media (min-width:860px){.cx-app-hd-in{grid-template-columns:minmax(0,1fr) 300px}}
.cx-app-hd-txt{max-width:640px}
.cx-app .alex-app-hd h1{color:#fff;font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);margin:0 0 .8rem}
.cx-app .alex-app-lead{color:var(--c-on-band-2);font-size:var(--cx-fs-lead)}
.cx-app .alex-app-cta{margin-top:26px}
.cx-app .alex-app-cta .btn{min-height:56px;padding:0 2rem;font-size:1.02rem}
.cx-app .alex-app-free{color:var(--c-on-band-3);font-size:.88rem}
.cx-app-device{display:flex;justify-content:flex-start}
@media (min-width:860px){.cx-app-device{justify-content:center}}
.cx-app-arch{position:relative;display:grid;place-items:center;width:clamp(150px,22vw,220px);aspect-ratio:4/5;border-radius:var(--cx-r-arch);
	background:linear-gradient(180deg,rgba(134,205,239,.16),rgba(134,205,239,.04));box-shadow:inset 0 0 0 2px rgba(134,205,239,.4)}
.cx-app-arch::after{content:"";position:absolute;inset:10px;border-radius:var(--cx-r-arch);box-shadow:inset 0 0 0 1px rgba(134,205,239,.25)}
.cx-app .alex-app-icon{width:clamp(72px,10vw,104px);height:auto;aspect-ratio:1;border-radius:26px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
@media (max-width:859px){.cx-app-device{order:-1}.cx-app-arch{width:92px}.cx-app .alex-app-icon{width:52px;border-radius:14px}}
.cx-app-body{padding-block:clamp(32px,5vw,64px) clamp(40px,6vw,80px)}
.cx-app-sec-head{margin-top:clamp(8px,2vw,16px)}
.cx-app .alex-app-feat{margin:0 0 clamp(40px,6vw,72px);gap:clamp(14px,1.8vw,20px)}
@media (min-width:1000px){.cx-app .alex-app-feat{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cx-app .alex-app-feat li{border-radius:24px;border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);padding:clamp(18px,2.2vw,24px)}
.cx-app-feat-ic{display:grid;place-items:center;width:48px;height:58px;border-radius:var(--cx-r-arch);background:var(--c-band);color:var(--c-sky);margin-bottom:6px}
.cx-app .alex-app-feat .cx-app-feat-ic svg{color:var(--c-sky);width:24px;height:24px}
.cx-app .alex-app-feat h3{font-size:1.05rem;margin:12px 0 6px;color:var(--c-ink)}
.cx-app .alex-app-feat p{color:var(--c-body)}
.cx-app .alex-app-how{margin-top:0;gap:clamp(14px,1.8vw,20px)}
.cx-app .alex-app-plat{border-radius:24px;border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card);padding:clamp(18px,2.4vw,26px)}
.cx-app .alex-app-plat h3{font-size:1.08rem;color:var(--c-ink);margin-bottom:16px;padding-bottom:12px;border-bottom:1px dashed var(--c-line)}
.cx-app .alex-app-plat ol.cx-app-steps{padding:0;gap:0;display:flex}
.cx-app .alex-app-plat .cx-app-steps>li{font-size:.92rem;color:var(--c-body);padding-block:4px 18px;line-height:1.65}
.cx-app .alex-app-plat .cx-app-steps>li:last-child{padding-bottom:0}
.cx-app .alex-app-foot{text-align:start;margin:clamp(28px,4vw,40px) 0 0;max-width:none;padding:clamp(16px,2.4vw,22px) clamp(18px,2.6vw,26px);border-radius:20px;
	background:var(--c-foam);color:var(--c-body)}

/* -------------------------------------------------------------------------------------------------
   9. CHECKOUT + CHECKOUT RETURN — doctor-only pages, restyled from their markup (their own inline
      <style> blocks sit later in the document, so every rule here is scoped under .cx-co / .cx-cr).
      Numbered steps on the start side, a navy "ticket" summary with a perforation on the end side.
   ------------------------------------------------------------------------------------------------- */
.cx-co.sec,.cx-cr.sec{padding:0}
.cx-co .cx-pg-head{padding-bottom:calc(clamp(64px,8vw,104px) + var(--cx-wave-h) * .5)}
.cx-co .cx-pg-head .h-sec{color:#fff;font-size:var(--cx-fs-display);line-height:var(--cx-lh-tight);margin:0}
.cx-co .cx-pg-head .sub-sec{color:var(--c-on-band-2);margin-top:.8rem;font-size:var(--cx-fs-lead)}
.cx-co .cx-pg-head .sub-sec bdi{color:#fff;font-weight:700}
.cx-co-cur{margin-top:.6rem;color:var(--c-on-band-3);font-size:.9rem}
.cx-co-cur strong{color:#fff}
.cx-co .cx-pg-head .co-ribbon{display:inline-flex;flex-wrap:wrap;margin:0 0 16px;border-radius:999px;background:rgba(255,255,255,.08);
	color:#FFD58A;border:1px solid rgba(255,213,138,.5);padding:.5rem 1rem}
.cx-co .cx-pg-head .co-ribbon span{color:var(--c-on-band-2);font-weight:400}
.cx-co-body{position:relative;z-index:1;margin-top:clamp(-88px,-7vw,-48px);padding-bottom:clamp(40px,6vw,88px)}
.cx-co #co-root.profile-cols{margin-top:0;gap:clamp(16px,2.4vw,28px)}
@media (min-width:1000px){.cx-co #co-root.profile-cols{grid-template-columns:minmax(0,1fr) 380px}}
/* The summary used to be sticky INSIDE a sticky aside, so while scrolling it slid down over the
   "Secure payment" panel beneath it. The aside sticks as one piece instead. */
.cx-co .co-sum.cx-co-sum{position:relative;inset-block-start:auto;top:auto}
.cx-co .panel{border-radius:24px;border:1px solid var(--cx-card-border);box-shadow:var(--cx-shadow-card)}
.cx-co .panel.cx-co-panel{padding:clamp(18px,2.8vw,30px)}
.cx-co .co-lg{display:flex;align-items:center;gap:12px;font-size:1.12rem;font-weight:700;color:var(--c-ink);margin-bottom:1rem}
.cx-co-n{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--c-band);color:var(--c-sky);font-size:.85rem;line-height:1}
.cx-co .cx-co-trust .co-lg .gi{width:22px;height:22px;color:var(--c-ok)}
/* Cycle: segmented capsule, navy when on. */
.cx-co .co-cycle{background:var(--c-foam);border:0;padding:5px}
.cx-co .co-cycle-in{min-height:46px;color:var(--c-brand)}
.cx-co .co-cycle input:checked + .co-cycle-in{background:var(--c-band);color:#fff;box-shadow:0 6px 16px rgba(6,26,51,.22)}
.cx-co .co-cycle input:checked + .co-cycle-in small{color:#7EE2C0!important}
.cx-co .co-cycle input:focus-visible + .co-cycle-in{outline:3px solid var(--cx-focus);outline-offset:2px}
/* Plan radio cards: a tier-coloured edge on the start side, foam + brand ring when chosen. */
.cx-co .co-plan{--co-tier:var(--c-sea)}
.cx-co .co-plan.cx-co-plan--bronze{--co-tier:var(--tier-bronze)}
.cx-co .co-plan.cx-co-plan--silver{--co-tier:var(--tier-silver)}
.cx-co .co-plan.cx-co-plan--gold{--co-tier:var(--tier-gold)}
.cx-co .co-plan-in{position:relative;border-radius:20px;border:1.5px solid var(--c-line);padding:16px 18px;padding-inline-start:26px;overflow:hidden;
	transition:border-color var(--cx-dur) var(--cx-ease),box-shadow var(--cx-dur) var(--cx-ease),background-color var(--cx-dur) var(--cx-ease)}
.cx-co .co-plan-in::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:6px;background:var(--co-tier)}
.cx-co .co-plan-in:hover{border-color:var(--c-sea)}
.cx-co .co-plan input:checked + .co-plan-in{border-color:var(--c-brand);background:var(--c-foam-2);box-shadow:0 0 0 2px var(--c-brand)}
.cx-co .co-plan input:focus-visible + .co-plan-in{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-co .co-plan-name{font-size:1.12rem;font-weight:700}
.cx-co .co-plan-price{font-size:1.2rem;font-weight:700;color:var(--c-brand)}
.cx-co .co-feat b{color:var(--c-ok)}
.cx-co .co-note{border-radius:16px;background:var(--c-foam-2);border-color:var(--c-line)}
.cx-co .co-coupon{align-items:stretch}
.cx-co .co-coupon .alex-field{display:block}
.cx-co .co-coupon .inp{min-height:52px;height:52px;border:1px solid var(--c-field-line);background:var(--c-card);border-radius:14px}
.cx-co .co-coupon .btn{min-height:52px}
.cx-co .co-method-in{border-radius:16px;border:1.5px solid var(--c-line);min-height:60px}
.cx-co .co-method input:checked + .co-method-in{border-color:var(--c-brand);background:var(--c-foam-2);box-shadow:0 0 0 2px var(--c-brand)}
.cx-co .co-method input:focus-visible + .co-method-in{outline:3px solid var(--cx-focus);outline-offset:2px}
.cx-co .co-dot::after{background:var(--c-brand)}
.cx-co .co-method input:checked + .co-method-in .co-dot{border-color:var(--c-brand)}
.cx-co .co-copy{min-height:44px;border-radius:999px;padding:0 .9rem;color:var(--cx-link)}
/* Summary: a navy ticket. */
.cx-co .panel.cx-co-sum{position:relative;background:var(--c-band);color:var(--c-on-band-2);border-color:var(--c-on-band-line);border-radius:28px;
	padding:clamp(20px,2.8vw,28px);box-shadow:0 2px 6px rgba(6,26,51,.12),0 24px 48px rgba(6,26,51,.22);overflow:hidden}
.cx-co .cx-co-sum .co-lg{color:#fff}
.cx-co .cx-co-sum .co-row{color:var(--c-on-band-2)}
.cx-co .cx-co-sum .co-row strong{color:#fff!important}
.cx-co .cx-co-sum .co-row-d{color:#7EE2C0}
.cx-co .cx-co-sum .co-row-t{position:relative;border-block-start:2px dashed rgba(134,205,239,.35);margin-block-start:1rem;padding-block-start:1.1rem;color:#fff;font-size:1.15rem}
.cx-co .cx-co-sum .co-row-t::before,.cx-co .cx-co-sum .co-row-t::after{content:"";position:absolute;top:-12px;width:22px;height:22px;border-radius:50%;background:var(--c-page)}
.cx-co .cx-co-sum .co-row-t::before{inset-inline-start:calc(clamp(20px,2.8vw,28px) * -1 - 11px)}
.cx-co .cx-co-sum .co-row-t::after{inset-inline-end:calc(clamp(20px,2.8vw,28px) * -1 - 11px)}
.cx-co .cx-co-sum #co-sum-total{font-size:1.5rem}
.cx-co .cx-co-sum .co-vat{color:var(--c-on-band-3)}
.cx-co .cx-co-sum .co-bonus{background:rgba(74,222,128,.12);color:#9EF0C4}
.cx-co .cx-co-sum .co-pay.btn-primary{background:var(--c-sea);color:var(--c-ink-deep);min-height:56px;border-radius:999px;font-size:1.05rem}
.cx-co .cx-co-sum .co-pay.btn-primary:hover{background:var(--c-sea-hi)}
.cx-co .cx-co-sum .co-msg{color:var(--c-on-band-2)}
.cx-co .cx-co-sum .co-msg.is-bad{color:#FFB4A8}
.cx-co .cx-co-sum .co-msg.is-good{color:#7EE2C0}
.cx-co .cx-co-sum .co-cancel{display:flex;align-items:center;justify-content:center;min-height:44px;color:var(--c-sky)}
.cx-co .cx-co-sum .co-cancel:hover{color:#fff}
.cx-co .cx-co-sum :focus-visible{outline-color:var(--c-sea-hi)}
.cx-co .panel.cx-co-trust{background:var(--c-foam);border:0;box-shadow:none}
.cx-co .co-trust i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--c-ok-bg);font-size:.72rem}

/* Return page: status card rising over a short band. */
.cx-cr .cx-cr-head{padding-top:clamp(18px,2.6vw,32px);padding-bottom:calc(clamp(72px,9vw,110px) + var(--cx-wave-h) * .5)}
.cx-cr .cx-cr-head .crumbs{margin-bottom:12px}
.cx-cr-body>*{max-width:760px}
.cx-cr-body{position:relative;z-index:1;margin-top:clamp(-96px,-8vw,-60px);padding-bottom:clamp(40px,6vw,88px)}
.cx-cr .panel.cr-panel{border-radius:28px;border:1px solid var(--cx-card-border);border-block-start:0;box-shadow:var(--cx-shadow-pop);padding:clamp(22px,3.4vw,40px);
	overflow:hidden;position:relative}
.cx-cr .cr-panel::before{content:"";position:absolute;inset-inline:0;top:0;height:6px;background:var(--c-muted)}
.cx-cr .cr-panel.is-ok::before{background:var(--c-ok)}
.cx-cr .cr-panel.is-wait::before{background:var(--c-sea)}
.cx-cr .cr-panel.is-bad::before{background:var(--err-ink)}
.cx-cr .cr-ic{width:60px;height:72px;border-radius:var(--cx-r-arch);font-size:1.6rem;font-weight:700}
.cx-cr .cr-panel.is-wait .cr-ic{background:var(--c-foam);color:var(--c-brand)}
.cx-cr .cr-h{font-size:clamp(1.4rem,1.1rem + 1.2vw,2rem);line-height:1.25}
.cx-cr .cr-facts{border:0;border-radius:18px;background:var(--c-foam-2);padding:.4rem 1.1rem;border-top:2px dashed var(--c-line)}
.cx-cr .cr-acts .btn{min-height:50px}
.cx-cr .cr-ref{border-radius:20px;background:var(--c-foam);border:2px dashed var(--c-sea)}
.cx-cr .cr-ref-in{border-radius:14px;border-color:var(--c-line)}
.cx-cr .cr-copy{border-radius:999px}
.cx-cr .cr-chan,.cx-cr .cr-form{border-radius:18px;background:var(--c-foam-2);border-color:var(--c-line)}
.cx-cr .cr-f input,.cx-cr .cr-f textarea{border-radius:14px;border:1px solid var(--c-field-line);min-height:50px}
.cx-cr .cr-f input:focus-visible,.cx-cr .cr-f textarea:focus-visible{outline:3px solid var(--cx-focus)}
.cx-cr .cr-copy-sm{min-height:44px;border-radius:999px;padding:0 .9rem;color:var(--cx-link)}
.cx-cr .cr-steps i{background:var(--c-band);color:var(--c-sky);width:26px;height:26px}
.cx-cr .cr-warn{border-radius:16px}
.cx-cr .cr-help a{color:var(--cx-link);font-weight:700}
/* Checkout with no profile yet: the same rising card as the return page. */
.cx-co-none .cx-cr-head{padding-top:clamp(18px,2.6vw,32px);padding-bottom:calc(clamp(72px,9vw,110px) + var(--cx-wave-h) * .5)}
.cx-co-none .cx-cr-body{position:relative;z-index:1;margin-top:clamp(-96px,-8vw,-60px);padding-bottom:clamp(40px,6vw,88px)}
.cx-co-none .cx-cr-body>*{max-width:680px}
.cx-co .panel.cx-co-none-card{border-radius:28px;box-shadow:var(--cx-shadow-pop);padding:clamp(22px,3.4vw,40px)}
.cx-co-none-ic{display:grid;place-items:center;width:56px;height:68px;margin-bottom:14px;border-radius:var(--cx-r-arch);background:var(--c-foam);color:var(--c-brand)}
.cx-co-none-ic .gi{width:26px;height:26px}
.cx-co-none-card .h-sec{color:var(--c-ink)}

/* -------------------------------------------------------------------------------------------------
   DARK — the dark band (#040E1B) is darker than the dark page, which flattened the head bands and
   their wave edges into the page. Page-level navy surfaces lift to the secondary navy instead.
   ------------------------------------------------------------------------------------------------- */
:root[data-theme="dark"] .cx-pg-head,
:root[data-theme="dark"] .cx-empty-band{
	background:radial-gradient(120% 140% at 100% 0%,rgba(46,155,214,.16),transparent 55%),var(--c-band-2)}
:root[data-theme="dark"] .cx-pg .post-body .pl-card--gold,
:root[data-theme="dark"] .cx-pg .post-body .pl-rank,
:root[data-theme="dark"] .cx-form-pg .panel.cx-form-about,
:root[data-theme="dark"] .cx-cl-next,
:root[data-theme="dark"] .cx-co .panel.cx-co-sum{background:var(--c-band-2)}
:root[data-theme="dark"] .cx-pg .post-body .pl-card--gold::after{box-shadow:0 0 0 5px var(--c-band-2)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .cx-pg-head,
	:root:not([data-theme="light"]) .cx-empty-band{
		background:radial-gradient(120% 140% at 100% 0%,rgba(46,155,214,.16),transparent 55%),var(--c-band-2)}
	:root:not([data-theme="light"]) .cx-pg .post-body .pl-card--gold,
	:root:not([data-theme="light"]) .cx-pg .post-body .pl-rank,
	:root:not([data-theme="light"]) .cx-form-pg .panel.cx-form-about,
	:root:not([data-theme="light"]) .cx-cl-next,
	:root:not([data-theme="light"]) .cx-co .panel.cx-co-sum{background:var(--c-band-2)}
	:root:not([data-theme="light"]) .cx-pg .post-body .pl-card--gold::after{box-shadow:0 0 0 5px var(--c-band-2)}
}
/* English specialty nouns arrive lower-case ("dentists"); a tile title starts with a capital. */
html[lang^="en"] .cx-sp .spec-block-name::first-letter,
html[lang^="en"] .cx-sp .cx-sp-mini-t::first-letter{text-transform:uppercase}
