:where(.ti) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:root {
  color-scheme: light;
  --danger: #8a2f2f;
  --maxw: 76rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip;
  scroll-padding-top: 5.5rem; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  color: var(--text);
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.55rem + 1.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem); margin-top: var(--space-12); }
h3 { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); margin-top: var(--space-6); }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
ul, ol { padding-left: var(--space-6); }
li + li { margin-top: var(--space-2); }
li::marker { color: var(--accent); }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 5px; }
img { max-width: 100%; height: auto; }
code { background: var(--surface-alt); border-radius: 6px; padding: 0.08em 0.32em; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--accent-strong); color: #fff; padding: 0.7rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(1rem, 3vw, 2.5rem); }
header.site {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(210, 216, 194, 0.72);
  background: rgba(253, 254, 248, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
header.site .wrap {
  min-height: 4.75rem; display: flex; gap: var(--space-4);
  align-items: center; padding-block: 0.65rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text);
  font-family: var(--serif); font-size: 1.06rem; font-weight: 550;
  letter-spacing: -0.025em; text-decoration: none; margin-right: auto; white-space: nowrap;
}
.brand img { width: 2.55rem; height: 2.55rem; padding: 0.55rem; border-radius: 11px; color: var(--accent-strong); background: var(--accent-soft); }
.brand span { color: var(--text); }
nav.site ul {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.25rem; margin: 0; padding: 0;
}
header.site nav li { margin-top: 0; }
nav.site a {
  display: block; color: var(--text-muted); text-decoration: none;
  min-height: 2.25rem; font-size: 0.875rem; font-weight: 550; padding: 0.45rem var(--space-3); border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
nav.site a:hover, nav.site a[aria-current="page"] {
  color: var(--accent-strong); background: var(--accent-soft); text-decoration: none;
}
.header-cta {
  display: inline-flex; align-items: center; min-height: 2.55rem; padding: 0.55rem 1rem;
  border-radius: 999px; background: #414839; color: #fff; font-size: 0.8rem;
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: #2d3428; text-decoration: none; }
.mobile-nav { display: none; position: relative; }
main { display: block; padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); }
main > .wrap > :first-child { margin-top: 0; }
footer.site { border-top: 1px solid var(--border); background: #f1f3e8; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 1fr); gap: 3rem 6rem; }


/* The crisis numbers open the footer, across its full width, with the accent
   rule down the side. Loud enough to find while scrolling past, quiet enough
   not to shout at someone who is not in a crisis. */
.footer-crisis { grid-column: 1 / -1; background: var(--surface-solid);
  border: 1px solid var(--border); border-left: 4px solid var(--accent-strong);
  border-radius: var(--radius); padding: var(--space-6) var(--space-8); margin-bottom: 0.5rem; }
.footer-crisis h2 { font-size: 1.05rem; margin: 0 0 var(--space-4); }
.footer-crisis ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-4); list-style: none; margin: 0; padding: 0; }


/* The link-list rule in footer.site sets a top margin and ties with this
   selector, so it has to be beaten on specificity - otherwise the second and
   third numbers sit lower than the first. */
footer.site .footer-crisis li + li { margin-top: 0; }
.footer-crisis li a { display: block; text-decoration: none; color: inherit; }
.footer-crisis b { display: block; font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.footer-crisis li span { display: block; color: var(--text-muted); font-size: 0.84rem; }
.footer-crisis li a:hover b { text-decoration: underline; }


/* The global paragraph measure would wrap the arrow onto its own line. */
.footer-crisis > p { margin: var(--space-4) 0 0; max-width: none; }
.footer-crisis > p a { font-size: 0.88rem; color: var(--accent-strong); }
@media (max-width: 40rem) {.footer-crisis { padding: var(--space-6); } }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 38ch; font-size: 0.9rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer-links h2 { margin: 0 0 0.8rem; font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li + li { margin-top: 0.45rem; }
footer.site a { color: var(--text-muted); font-size: 0.86rem; text-decoration: none; }
footer.site a:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-strong); }
.footer-legal p { color: var(--text-muted); font-size: 0.76rem; line-height: 1.55; margin: 0; }
.footer-legal p:first-child { max-width: 80ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem; border: 1px solid var(--accent-strong);
  border-radius: 999px; background: var(--accent-strong); color: var(--btn-ink, #fff);
  box-shadow: 0 6px 18px rgba(77, 97, 0, 0.12); cursor: pointer;
  font: 650 0.875rem/1.25 var(--sans); text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent-strong) 84%, #000);
  box-shadow: 0 11px 28px rgba(0, 0, 0, 0.18); text-decoration: none; }
.btn.secondary { background: var(--surface); color: var(--accent-strong); border-color: var(--border-strong); box-shadow: none; }
.btn.secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.notice {
  position: relative; border: 1px solid var(--border); background: var(--surface-alt);
  padding: 1rem 1.15rem 1rem 1.35rem; border-radius: var(--radius-sm); margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}
.notice::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--accent);
}
.notice h2, .notice h3 { margin-top: 0; }
.notice > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; margin: 0; }
.grid > li { margin-top: 0; }
@media (min-width: 46rem) {.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative; min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.5rem);
  display: flex; flex-direction: column; gap: var(--space-3);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 9px 26px rgba(62, 76, 31, 0.065); }
.card h3 { margin: 0; font-size: 1.375rem; }
.card .meta { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-1) var(--space-3); margin: 0; font-size: 0.875rem; }
.card dt { color: var(--text-muted); }
.card dd { margin: 0; overflow-wrap: anywhere; }
.lang { display: inline-flex; align-items: center; gap: 0.4em; }


/* Przygaszone: flaga ma być znacznikiem, nie najjaśniejszym punktem strony. */
.lang svg { width: 1.15em; height: auto; aspect-ratio: 3 / 2; border-radius: 2px; filter: saturate(0.62); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); flex: none; }
.card-head { display: flex; gap: 0.9rem; align-items: flex-start; }
.card-head > div { min-width: 0; }
.therapist-card .card-actions { margin-top: auto; padding-top: var(--space-2); }


/* Her colour on the card, as a hairline and a link - not as a repainted card.
   The list has to stay comparable: six differently coloured cards side by side
   is a rainbow, and the eye stops reading the facts.
   --card-ink is the accent taken 30% towards black, because the accent itself
   is a decoration colour: the service green reads 2.5:1 on the card surface,
   and a link has to clear 4.5:1. Mixed, the quietest theme lands at 4.75:1.

   The hairline is the card's own top border, not an inset shadow drawn inside
   it. Inset, it followed the radius one pixel in from the grey border and left
   a coloured ledge stepping out of each top corner - a notch, not a rule. */
.therapist-card {
  --card-accent: var(--accent);
  --card-ink: color-mix(in srgb, var(--card-accent) 70%, #000);
  border-top: 3px solid color-mix(in srgb, var(--card-accent) 55%, var(--border));
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}


/* Hover strengthens: the hairline goes to full accent instead of vanishing. */
.therapist-card:hover { border-top-color: var(--card-accent); }
.therapist-card .card-actions a { color: var(--card-ink); }


/* The name keeps its colour and gains her underline - swapping the colour on
   hover made the strongest link on the card go paler the moment it was aimed at. */
.therapist-card h3 a:hover { text-decoration-color: var(--card-accent); }
.avatar {
  width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none;
  border: 1px solid var(--border); background: var(--accent-soft);
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; }
.tags li + li { margin-top: 0; }
.tag {
  font-size: 0.8125rem; line-height: 1.4; font-weight: 560; background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: 999px; padding: var(--space-1) var(--space-3); color: var(--text-muted);
}
main .wrap > form:not(.filters) {
  max-width: 56rem; padding: clamp(1.2rem, 3vw, 2rem); margin-block: 1.3rem 2rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm);
}
form.filters {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.15rem, 3vw, 2rem); margin-bottom: 2rem;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
legend { font: 600 1.05rem/1.3 var(--sans); padding: 0; margin-bottom: var(--space-3); }
label { display: block; color: var(--text); font-size: 0.875rem; font-weight: 620; margin-bottom: var(--space-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], input[type="search"], input:not([type]), select, textarea {
  /* WebKit gives a search field its own control appearance and then ignores
     the height and padding set here, so it is reset to a plain box first. */
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 2.75rem; padding: 0.625rem var(--space-3);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface-solid); color: var(--text); font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--accent); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
textarea { min-height: 8.5rem; resize: vertical; }
select { -webkit-appearance: menulist; appearance: menulist; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: 1.05rem; height: 1.05rem; accent-color: var(--accent-strong); }
.field { margin-bottom: var(--space-4); }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.7rem; }
.checkbox input { flex: none; margin-top: 0.32rem; }
.checkbox label { margin: 0; font-weight: 450; }
.error {
  color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, var(--surface-solid));
  border: 1px solid color-mix(in srgb, var(--danger) 32%, transparent);
  padding: 0.9rem 1rem; border-radius: var(--radius-sm); margin: 1rem 0;
}
.meta { color: var(--text-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}



/* Public subpages */
.subpage { display: grid; gap: clamp(3rem, 6vw, 4.75rem); }
.subpage > *, .subpage h2, .subpage h3, .document-page h2 { margin-top: 0; }
.subpage p { max-width: none; }
/* The header of every page: the title, and at most one thing beside it. Four
   classes used to do this, each with its own kicker, lead and rule. */
.page-head { display: flex; flex-direction: column; align-items: flex-start; }
.page-head h1 { max-width: 22ch; margin: 0; }
.page-head > * + * { margin-top: 1rem; }
.page-head .lead { max-width: none; margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* The facts of the list, in the strip that used to hold four reassurances.
   Same markup in both places: a band of its own under the home hero, a row
   inside the page header of the catalogue. */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.page-head .facts-strip { align-self: stretch; }
.facts-strip > div { padding: 0.2rem 1.25rem; border-left: 1px solid var(--border-strong); }
.facts-strip > div:first-child { padding-left: 0; border-left: 0; }
.facts-strip dt { color: var(--text-muted); font-size: 0.72rem; }
.facts-strip dd { margin: 0.1rem 0 0; color: var(--text); font-size: 0.95rem; font-weight: 600; }
.home .facts-strip { padding-block: 1.15rem; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
@media (max-width: 46rem) {.facts-strip { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.facts-strip > div { padding: 0; border-left: 0; } }
.subpage-heading { max-width: 45rem; margin-bottom: 2.5rem; }
.subpage-heading h2, .resource-heading h2 { margin: 0 0 0.8rem; font-size: clamp(1.55rem, 1.35rem + 0.85vw, 2.15rem); letter-spacing: -0.02em; }
.subpage-heading > p:last-child, .resource-heading > p:last-child { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.process-grid { counter-reset: process; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.process-grid li { counter-increment: process; min-height: 0; margin: 0; padding: 1.8rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); }
.process-grid li::before { content: "0" counter(process); display: grid; place-items: center; width: 2.35rem; height: 2.35rem; margin-bottom: 1.4rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.7rem; font-weight: 800; }
.process-grid h3 { margin: 0 0 0.65rem; font-size: 1.25rem; }
.process-grid p { margin: 0; color: var(--text-muted); font-size: 0.82rem; line-height: 1.65; }
.principles-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-alt); }
.principles-panel article { padding: clamp(1.75rem, 4vw, 3rem); }
.principles-panel article + article { border-left: 1px solid var(--border-strong); background: rgba(255,255,255,0.48); }
.principles-panel h2, .data-panel h2 { margin: 0 0 1.2rem; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.principles-panel p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }
.calm-list { display: grid; gap: 0.85rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.calm-list li { position: relative; margin: 0; padding-left: 1.6rem; color: #596250; font-size: 0.88rem; line-height: 1.65; }
.calm-list li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; color: var(--accent-strong); font-weight: 800; }
.info-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.info-card { min-height: 0; padding: clamp(1.75rem, 3.5vw, 2.5rem); border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.info-card:nth-child(2), .info-card:nth-child(3) { background: #f3f5ea; }
.info-card h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.info-card p { max-width: 52ch; color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }
.info-card a { font-size: 0.86rem; font-weight: 750; text-decoration: none; }
.data-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); padding: clamp(2rem, 4.5vw, 3.25rem); border: 1px solid var(--border); border-radius: 16px; background: var(--surface-alt); }
.data-panel > div > p:last-child { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.data-panel .calm-list { margin: 0; }
.crisis-page { gap: clamp(4rem, 8vw, 7rem); }
.crisis-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 4.5vw, 3.25rem); border-radius: 16px; background: var(--surface-alt); border: 1px solid var(--border); }
.crisis-hero h1 { max-width: 20ch; margin: 0 0 1rem; font-size: clamp(1.9rem, 1.55rem + 1.5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.crisis-hero .lead { max-width: 52ch; margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
/* The same deep blue as the home band. The number has to be the loudest
   thing on the page: white on this ground reads 16.25. */
.emergency-panel { display: grid; justify-items: start; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.emergency-panel p { margin: 0; color: #dfe3f2; font-size: 0.75rem; font-weight: 700; }
.emergency-panel .emergency-warning { margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 0.78rem; line-height: 1.5; }
.emergency-panel a { margin: 0.4rem 0; color: #eef1ff; font: 600 clamp(2.8rem, 5.5vw, 4.2rem)/1 var(--sans); letter-spacing: -0.04em; text-decoration: none; }
.emergency-panel span { color: #b6bcd6; font-size: 0.75rem; }
.resource-heading { max-width: 48rem; margin-bottom: 2.5rem; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.resource-card { display: flex; flex-direction: column; min-height: 0; margin: 0; padding: clamp(1.6rem, 3vw, 2.3rem); border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.resource-card h3 { margin: 0 0 1rem; font-size: 1.35rem; }
.resource-card > p:not(.resource-hours):not(.resource-source) { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 0.86rem; line-height: 1.7; }
.resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: auto; padding-top: 1.25rem; }
.resource-phone { display: grid; padding: 0.65rem 1rem; border-radius: 0.8rem; background: var(--accent-soft); text-decoration: none; }
.resource-phone span { color: var(--text-muted); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.resource-phone strong { color: var(--accent-strong); font-size: 1rem; }
.resource-link { padding: 0.7rem 0.9rem; font-size: 0.78rem; font-weight: 750; text-decoration: none; }
.resource-hours { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.72rem; }
.resource-hours span { color: var(--accent); font-size: 0.6rem; }
.resource-source { margin: 0.55rem 0 0; color: var(--text-muted); font-size: 0.66rem; }
.minor-resources { padding: clamp(2rem, 4.5vw, 3.25rem); border-radius: 16px; background: var(--surface-alt); }
.minor-resources .resource-card { background: rgba(255,255,252,0.82); }
.source-note { max-width: 54rem; margin: -2rem auto 0; text-align: center; }
.source-note p { margin: 0; color: var(--text-muted); font-size: 0.72rem; line-height: 1.6; }
.document-page { display: grid; gap: clamp(4rem, 8vw, 6rem); }
.document-version { display: inline-flex; margin: 1.5rem 0 0; padding: 0.4rem 0.7rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-muted); background: rgba(255,255,255,0.55); font-size: 0.7rem; }
.document-content { width: min(100%, 52rem); margin-inline: auto; }
.document-content section { padding: clamp(2rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--border); }
.document-content section:first-child { padding-top: 0; }
.document-content section:last-child { border-bottom: 0; }
.document-content h2 { margin: 0 0 1.4rem; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.document-content p, .document-content li { color: #5f6758; font-size: 0.92rem; line-height: 1.8; }
.document-content ul, .document-content ol { display: grid; gap: 0.8rem; padding-left: 1.3rem; }
.document-content h2:not(:first-child) { margin-top: 2.2rem; }
.document-content h3 { margin: 1.6rem 0 0.6rem; font-size: 1.05rem; }
.directory-page { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
/* The catalogue's filters are a bar, not a page: a search box, a city, an
   area of work and the button. The other seven controls live in a fold that
   opens itself whenever one of them is on, so nothing applied is ever
   hidden - a native <details>, no script, works with JavaScript off. */
/* The catalogue opens with the navy of the home hero; the filter card sits
   half on the band, the way the search card does there. */
.directory-page .page-head { margin-top: calc(clamp(2rem, 4vw, 3rem) * -1); padding-block: clamp(2rem, 4vw, 3rem) 5.5rem; background: var(--navy); }
.directory-page .filters { position: relative; margin: calc(-3.5rem - clamp(2.5rem, 5vw, 3.5rem)) 0 0; background: var(--surface-solid); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18); padding: clamp(1rem, 2.5vw, 1.4rem); border-radius: 14px; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0.75rem; align-items: end; }
.filters .field { margin: 0; }
.filters label { margin-bottom: 0.25rem; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.filters select, .filters input[type="number"], .filters input[type="search"] { min-height: 2.6rem; padding-block: 0.45rem; font-size: 0.92rem; }
.filter-bar .btn { min-height: 2.6rem; }
.more-filters { margin-top: 0.9rem; border-top: 1px solid var(--border); }
.more-filters > summary {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0 0;
  color: var(--accent-strong); font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.more-filters > summary::marker { content: ""; }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters > summary::after { content: "▾"; font-size: 0.7rem; }
.more-filters[open] > summary::after { content: "▴"; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.7rem 1rem; margin: 0.9rem 0; }
.more-grid .checkbox { align-items: center; margin: 0; padding-top: 1.2rem; }
.more-grid .checkbox label { margin: 0; font-size: 0.85rem; font-weight: 450; color: var(--text); }
.more-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.2rem; }
.more-actions .btn { min-height: 2.5rem; }
@media (max-width: 52rem) {
.filter-bar { grid-template-columns: minmax(0, 1fr); }
.filter-bar .btn { justify-self: start; }
.more-grid .checkbox { padding-top: 0; }
}



/* Label and value, two pairs across - the layout the catalogue card has always
   used for exactly these facts. Two columns rather than three: at three the
   label and its value drift apart and the eye stops pairing them. */
.pdata { display: grid; grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 0 var(--space-8); margin: 0; }
.pdata > div { display: grid; grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
  gap: var(--space-4); padding: 0.7rem 0; border-top: 1px solid var(--border); align-items: baseline; }
.pdata dt { color: var(--text-muted); font-size: 0.92rem; }
.pdata dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 46rem) {.pdata > div { grid-template-columns: minmax(7rem, auto) minmax(0, 1fr); } }






/* Homepage */
.home { display: grid; gap: 0; }
.home p { max-width: none; }
.home h2 { margin-top: 0; }
/* The band runs the full width of the window, the way a catalogue's does:
   the page sits in .wrap, so it is pulled back out with the usual full-bleed
   margin and given the gutter back as padding. */
.home-hero, .home .facts-strip, .directory-page .page-head {
  margin-inline: calc(50% - 50vw); width: 100vw;
  padding-inline: max(clamp(1rem, 3vw, 2.5rem), calc((100vw - var(--maxw)) / 2 + clamp(1rem, 3vw, 2.5rem)));
}
.home-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  margin-top: calc(clamp(2rem, 4vw, 3rem) * -1);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 5.5vw, 4.5rem);
  border: 0; border-radius: 0; color: #c8cde4;
  background:
    linear-gradient(90deg, rgba(17, 26, 22, .86) 0%, rgba(18, 29, 31, .72) 34%, rgba(18, 29, 31, .28) 61%, rgba(18, 29, 31, .18) 100%),
    linear-gradient(180deg, rgba(20, 29, 23, .08), rgba(20, 29, 23, .36)),
    url("/media/site/hero-abstract-oil.webp") 68% center / cover no-repeat,
    var(--navy);
}
.home-hero.hero-art-a {
  background:
    linear-gradient(90deg, rgba(17, 26, 22, .86) 0%, rgba(18, 29, 31, .72) 34%, rgba(18, 29, 31, .28) 61%, rgba(18, 29, 31, .18) 100%),
    linear-gradient(180deg, rgba(20, 29, 23, .08), rgba(20, 29, 23, .36)),
    url("/media/site/hero-abstract-oil.webp") 68% center / cover no-repeat,
    var(--navy);
}
.home-hero.hero-art-b {
  background:
    linear-gradient(90deg, rgba(17, 26, 22, .82) 0%, rgba(18, 29, 31, .67) 34%, rgba(18, 29, 31, .24) 62%, rgba(18, 29, 31, .16) 100%),
    linear-gradient(180deg, rgba(20, 29, 23, .06), rgba(20, 29, 23, .34)),
    url("/media/site/hero-wave-oil.webp") 72% center / cover no-repeat,
    var(--navy);
}
.home-hero.hero-art-c {
  background:
    linear-gradient(90deg, rgba(17, 26, 22, .88) 0%, rgba(18, 29, 31, .73) 34%, rgba(18, 29, 31, .28) 62%, rgba(18, 29, 31, .16) 100%),
    linear-gradient(180deg, rgba(20, 29, 23, .06), rgba(20, 29, 23, .34)),
    url("/media/site/hero-vangogh-oil.webp") 72% center / cover no-repeat,
    var(--navy);
}
.home-hero > * { position: relative; z-index: 1; }
/* The copy column is lifted above the background and mosaic. */
.home-hero > .hero-copy { z-index: 2; }
/* Suede: a tile of fine grey noise over the band, overlay, so the pastels read as
   a matte nap instead of as light. A data URI - img-src allows it, and the
   turbulence is rasterised once per 220 px tile rather than across the hero. */
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: .1; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1.8 0 0 0 -.4 1.8 0 0 0 -.4 1.8 0 0 0 -.4 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-copy { max-width: 34rem; min-width: 0; }
/* What the site is, above the promise - the one line of label the hero keeps. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.1rem;
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #ccd2ea; font-size: 0.8rem; font-weight: 550;
}
.eyebrow > span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #85bb65; }
.home-hero .btn:hover { background: #e6e9f5; border-color: #e6e9f5; }
.home-hero .btn.secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.home-hero h1 { max-width: 20ch; margin: 0 0 1rem; color: #fbfbff; font-size: clamp(1.95rem, 1.6rem + 1.6vw, 2.85rem); line-height: 1.14; letter-spacing: -0.025em; }
.home-hero .lead { max-width: 44ch; margin: 0 0 1.5rem; color: #c8cde4; font-size: 1rem; line-height: 1.65; }
/* The search of the hero, after the pattern people know from booking a doctor:
   a switch above, one white bar with what, where and the button. */
/* The search card is one tile of a seven-column mosaic; faces take single cells and one
   2x2 round it, and a few cells stay empty on purpose. The form comes first in the markup,
   so the keyboard reaches it before the faces; every tile is placed by class (no style
   attributes under this CSP). Rows 1-2 above the card, row 4 below. */
.hero-bento { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; align-self: center; min-width: 0; }
.hero-bento .hero-search { grid-column: 1 / -1; grid-row: 3; }
.hero-face { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.hero-face img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hero-face-1 { grid-area: 1 / 6 / 3 / 8; }
.hero-face-2 { grid-area: 1 / 2; }
.hero-face-3 { grid-area: 2 / 3; }
.hero-face-4 { grid-area: 2 / 5; }
.hero-face-5 { grid-area: 4 / 1; }
.hero-face-6 { grid-area: 4 / 3; }
.hero-face-7 { grid-area: 4 / 6; }
.hero-gap-1 { grid-area: 1 / 4; }
.hero-gap-2 { grid-area: 2 / 1; }
.hero-gap-3 { grid-area: 4 / 5; }
.hero-search { display: grid; gap: 0.6rem; align-self: center; padding: 0.6rem; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
.hero-tabs { display: flex; gap: 0.25rem; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--border); }
.hero-tabs label { cursor: pointer; }
.hero-tabs input { position: absolute; opacity: 0; }
.hero-tabs span { display: block; margin-bottom: -1px; padding: 0.55rem 0.9rem; border-bottom: 2px solid transparent; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.hero-tabs input:checked + span { border-bottom-color: var(--accent-strong); color: var(--text); }
.hero-tabs input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }
.hero-search-fields { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr) auto; gap: 0.5rem; }
.hero-search-fields input, .hero-search-fields select { min-height: 3.25rem; margin: 0; }
.home-hero .hero-search .btn { min-height: 3.25rem; padding-inline: 1.2rem; justify-content: center; border-radius: 10px; background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.home-hero .hero-search .btn:hover { background: var(--text); border-color: var(--text); }
.hero-more { margin: 1rem 0 0; color: #a3abc6; font-size: 0.85rem; }
.home-section { margin-top: clamp(3rem, 6vw, 4.75rem); }
.section-heading { max-width: 34rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { font-size: clamp(1.55rem, 1.35rem + 0.85vw, 2.15rem); line-height: 1.2; letter-spacing: -0.02em; }
.section-heading > p:last-child { color: var(--text-muted); line-height: 1.7; }
.steps-section { padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); }
.steps-section .section-heading { max-width: 40rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; padding: 0; list-style: none; background: var(--border-strong); }
.steps li { position: relative; margin: 0; padding: 1.25rem 1.5rem; background: var(--surface-solid); }
.steps li > span { display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.8rem; border: 1px solid var(--border-strong); border-radius: 50%; background: #fff; color: var(--accent-strong); font-size: 0.72rem; font-weight: 800; }
.steps-section .steps:last-child { margin-bottom: 0; }
.steps h3 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.83rem; line-height: 1.6; }
.section-action { margin: 0; text-align: center; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.offer-grid article { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.offer-grid h3 { margin: 0 0 0.6rem; font-size: 1.12rem; }
.offer-grid p { margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.path-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.roadmap { padding: 1.5rem; border: 1px solid var(--border); border-radius: 16px; }
.roadmap h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.offer-soon { display: grid; margin: 0; padding: 0; list-style: none; }
.offer-soon li { display: grid; gap: 0.2rem; margin: 0; padding: 0.8rem 0; border-top: 1px solid var(--border); }
.offer-soon li:last-child { padding-bottom: 0; }
.offer-soon strong { font-size: 0.85rem; }
.offer-soon span { color: var(--text-muted); font-size: 0.76rem; line-height: 1.5; }
@media (max-width: 64rem) {.path-row { grid-template-columns: 1fr; } }
.featured-grid { margin-top: 2rem; }
.featured-grid + .section-action { margin-top: 2rem; }
@media (min-width: 64rem) {.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.topic-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 52rem; margin: 1.5rem auto 0; padding: 0; list-style: none; }
.topic-links li { margin: 0; }
.topic-links a { display: block; padding: 0.55rem 1rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-solid); color: var(--text); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.topic-links a:hover { border-color: var(--accent-strong); background: var(--accent-soft); color: var(--accent-strong); }
.home-cta { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2rem; align-items: center; margin-top: clamp(3rem, 6vw, 4.75rem); padding: clamp(2rem, 5vw, 3.25rem); border: 0; border-radius: 16px; background: var(--navy); }
.home-cta h2 { color: #fbfbff; }
.home-cta .btn { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.home-cta .btn:hover { background: #e6e9f5; border-color: #e6e9f5; }
.home-cta > div:last-child > a:last-child { color: #dfe3f2; }
.home-cta h2 { max-width: 22ch; margin: 0; font-size: clamp(1.6rem, 1.4rem + 0.9vw, 2.25rem); line-height: 1.18; letter-spacing: -0.02em; }
.home-cta > div:last-child { display: grid; justify-items: start; gap: 0.9rem; }
.home-cta > div:last-child > a:last-child { font-size: 0.76rem; }
@media (max-width: 64rem) {.desktop-nav, .header-cta { display: none; }
.mobile-nav { display: block; }
.mobile-nav summary { cursor: pointer; list-style: none; padding: 0.48rem 0.8rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text); font-size: 0.78rem; font-weight: 700; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { background: var(--accent-soft); }
.mobile-nav nav { position: absolute; z-index: 30; right: 0; top: calc(100% + 0.55rem); width: min(18rem, calc(100vw - 2rem)); padding: 0.65rem; border: 1px solid var(--border); border-radius: 0.9rem; background: #fff; box-shadow: var(--shadow); }
.mobile-nav ul { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; }
.mobile-nav a { display: block; padding: 0.65rem 0.75rem; border-radius: 0.55rem; color: var(--text); font-size: 0.82rem; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.home-hero { grid-template-columns: 1fr; gap: 2.5rem; }
.home-hero .hero-search { min-width: 0; width: 100%; }
.section-heading { max-width: 42rem; }
.process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crisis-hero { grid-template-columns: 1fr; }
.emergency-panel { width: min(100%, 32rem); }
}
@media (max-width: 45rem) {header.site { position: sticky; }
header.site .wrap { min-height: 4.1rem; padding-block: 0.5rem; }
.brand { font-size: 0.94rem; }
.brand img { width: 2.1rem; height: 2.1rem; padding: 0.45rem; }
main { padding-block: 1rem 3.5rem; }
.directory-page .page-head { margin-top: -1rem; padding-top: 2rem; }
.hero { min-height: 30rem; border-radius: var(--radius); padding-inline: var(--space-6); }
.hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
.btn { width: 100%; }
.card:hover { transform: none; }
.home-hero { padding: 3.25rem 1rem 3rem; }
.home-hero h1 { max-width: 10.5ch; font-size: clamp(2.35rem, 10.5vw, 3.05rem); }
.home-hero .lead { font-size: 0.93rem; line-height: 1.65; }
.hero-search-fields { grid-template-columns: 1fr; }
.home-section { margin-top: 4.5rem; }
.section-heading h2 { font-size: 2.45rem; }
.steps-section { padding: 2.5rem 1rem; border-radius: 1rem; }
.steps { grid-template-columns: 1fr; margin-top: 2rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; padding: 1.2rem 0.85rem; }
.steps li > span { grid-row: 1 / 3; margin: 0; }
.steps h3 { margin-top: 0.25rem; }
.steps p { grid-column: 2; }
.home-cta { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; border-radius: 1rem; }
.home-cta > div:last-child { justify-items: stretch; }
.home-cta > div:last-child > a:last-child { text-align: center; }
.subpage { gap: 4rem; }
.crisis-hero { min-height: 0; padding: 1.75rem 1.25rem; border-radius: 14px; }
.process-grid, .principles-panel, .info-card-grid, .data-panel, .resource-grid { grid-template-columns: 1fr; }
.process-grid li { min-height: 0; padding: 1.5rem; }
.process-grid li::before { margin-bottom: 2rem; }
.principles-panel article { padding: 2rem 1.25rem; }
.principles-panel article + article { border-top: 1px solid var(--border-strong); border-left: 0; }
.info-card { min-height: 0; padding: 2rem 1.25rem; }
.data-panel { gap: 2rem; padding: 2.5rem 1.25rem; border-radius: 1rem; }
.emergency-panel { padding: 2rem 1.25rem; }
.resource-card { min-height: 0; padding: 1.5rem 1.25rem; }
.minor-resources { margin-inline: -0.25rem; padding: 2.5rem 0.75rem; border-radius: 1rem; }
.document-content section { padding-block: 2.5rem; }
.directory-page { gap: 3rem; }
footer.site .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
.footer-links { max-width: 24rem; }
.footer-legal { display: grid; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.muted { color: var(--text-muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0 0; max-width: none; }
.pager .btn { width: auto; }

/* Profile and practice without a page of their own. */
.profile-page { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.profile-page > .notice { margin: 0; }
.profile-head { display: flex; gap: clamp(1.25rem, 3vw, 2rem); align-items: flex-start; padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border); border-top: 3px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.profile-head > div { min-width: 0; }
.profile-head h1 { margin: 0 0 0.4rem; }
.profile-head .lead { margin: 0 0 0.4rem; font-size: 1.05rem; }
.profile-head .meta { margin: 0 0 1rem; font-size: 0.9rem; }
.profile-photo { display: block; flex: none; width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--accent-soft); }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.profile-main > p { font-size: 1.02rem; }
.profile-main .pdata { margin: 2rem 0 0; grid-template-columns: 1fr; }
.profile-fact { margin-top: 2.5rem; }
.profile-page .profile-fact h2, .profile-page .profile-others h2 { margin: 0 0 1rem; font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); }
.profile-fact h3 { margin: 1.25rem 0 0.4rem; font-size: 1rem; }
.profile-fact details { border-top: 1px solid var(--border); padding: 0.75rem 0; }
.profile-fact details:last-child { border-bottom: 1px solid var(--border); }
.profile-fact summary { cursor: pointer; font-weight: 600; }
.profile-fact details > p:first-of-type { margin-top: 0.75rem; }
.profile-side { display: grid; gap: 1rem; }
.profile-side .card h2 { margin: 0; font-size: 1.1rem; }
.profile-side .card p { margin: 0; font-size: 0.9rem; }
.profile-side .meta { font-size: 0.8rem; }
.offers { list-style: none; margin: 0; padding: 0; }
.offers li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.offers li:last-child { border-bottom: 0; }
.offers small { display: block; color: var(--text-muted); font-size: 0.76rem; }
.offers b { white-space: nowrap; }
.profile-others .grid { margin-bottom: 1rem; }
@media (max-width: 64rem) {.profile-body { grid-template-columns: 1fr; } }
@media (max-width: 45rem) {.profile-head { flex-direction: column; padding: 1.5rem 1.25rem; }
.profile-photo { width: 112px; height: 112px; } }

/* Booking: one panel with the summary and the form. */
.panel { max-width: 44rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.panel > :last-child { margin-bottom: 0; }
.fact { margin: 0 0 1.5rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: var(--surface-alt); border: 1px solid var(--border); }
.fact h4 { margin: 0 0 0.4rem; color: var(--text-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.fact > :last-child { margin-bottom: 0; }
.panel .field label input[type="checkbox"] { margin-right: 0.4rem; vertical-align: -0.15rem; }
.panel .field label:has(input[type="checkbox"]) { font-weight: 450; }
/* Booking: invoice details only once "Potrzebuję faktury" is ticked; without :has they simply stay visible. */
form:has(#invoice:not(:checked)) .field.invoice { display: none; }

/* Events (/wydarzenia): filters as pills; a tile per event - its date, kind, name, when and where, status. */
.ev-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.ev-filters a, .ev-filters span { padding: 0.45rem 1rem; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--text); text-decoration: none; }
.ev-filters a:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.ev-filters span { background: var(--text); border-color: var(--text); color: #fff; }
.ev-h { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.ev-tiles { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1rem; }
.ev-tiles li { margin: 0; }
.ev-tiles a { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.1rem; align-items: start; height: 100%; padding: 1.1rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-solid); color: var(--text); text-decoration: none; }
.ev-date { display: grid; justify-items: center; padding: 0.7rem 0.4rem; border-radius: 14px; background: #e7efdc; line-height: 1.1; text-align: center; }
.ev-date b { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.ev-body { display: grid; gap: 0.3rem; min-width: 0; }
.ev-body strong { font-size: 1.1rem; line-height: 1.3; }
.ev-body .ev-status { justify-self: start; margin: 0.3rem 0 0; }
.ev-past a { opacity: 0.75; }
.ev-status { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-strong); }

/* contain: the grid takes its column's width, however many days it holds (they scroll), never widens the page. */
.wk, .bk, .bk-dlg { --wk-line: var(--line, var(--border, #e2e5d8)); --wk-muted: var(--muted, var(--text-muted, #5b6151)); --wk-green: #2f5d1f; }
.wk { contain: inline-size; }
.wk-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(68px, 1fr); gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.wk-days > :where(div) { scroll-snap-align: start; min-width: 0; }
.wk-days :where(div > p:first-child) { margin: 0 0 6px; text-align: center; line-height: 1.15; } .wk-days :where(div > p:first-child) b { display: block; font-size: .82rem; text-transform: capitalize; } .wk-days :where(div > p:first-child) span { font-size: .75rem; color: var(--wk-muted); }
.wk-days > :where(div) ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.wk-days > :where(div) a { display: block; white-space: nowrap; padding: 6px 2px; border: 1px solid var(--wk-line); border-radius: 8px; background: #fff; text-align: center; font-weight: 600; font-size: .88rem; text-decoration: none; color: inherit; }
.wk-days > :where(div) a:hover, .wk-days > :where(div) a:focus-visible { border-color: currentColor; }
.wk-days > :where(div) a small { display: block; font-size: .7rem; font-weight: 500; color: var(--wk-muted); }
.wk-plus a { font-weight: 500; color: var(--wk-muted); }
.wk-dash { margin: 0; text-align: center; color: var(--wk-muted); }
.wk-more { margin: 6px 0 0; font-size: .75rem; color: var(--wk-muted); text-align: right; }
.wk-next { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: #2f5d1f; color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.wk-empty { margin: 0; font-size: .88rem; color: var(--wk-muted, #5b6151); }
.wk .ti, .bk .ti { width: .95em; height: .95em; vertical-align: -.12em; }
/* The widget (her page's look, ot-portal/src/authored-css.ts): a price list, "Umów" opens a line's times under it. */
.bk { container-type: inline-size; --bk-soft: var(--soft, #f2f3e9); --bk-green: var(--green-d, #2f4f20); }
.bk .offers { list-style: none; padding: 0; margin: 0; }
.bk .offers > li { display: grid; grid-template-columns: 1fr auto 5.6em; align-items: center; gap: 4px 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--wk-line); font-size: inherit; }
.bk .offers.bare > li { grid-template-columns: 1fr auto; }
.bk .offers > li.fold { display: block; }
.bk .offers > li.fold > details > summary { display: grid; grid-template-columns: 1fr auto 5.6em; align-items: center; gap: 4px 12px; list-style: none; cursor: pointer; }
.bk .offers > li.fold > details > summary::-webkit-details-marker { display: none; }
.bk .offers summary .book { justify-self: end; white-space: nowrap; padding: 4px 14px; border: 1px solid currentColor; border-radius: 999px; font-weight: 600; color: var(--bk-green); }
.bk .offers summary:hover .book, .bk .offers summary:focus-visible .book { background: var(--bk-soft); }
.bk .offers details[open] .b-on, .bk .offers details:not([open]) .b-off { display: none; }
.bk .offers > li.fold > details > .when { padding-top: 10px; } .bk .offers > li.fold > details[open] { padding-bottom: 4px; }
.bk .offers span small { display: block; color: var(--wk-muted); font-size: .8rem; } .bk .offers span .none { font-size: .82rem; }
.bk .offers summary > b, .bk .offers > li > b { font: 600 1.15rem var(--serif); white-space: nowrap; }
/* The portal's own .offers rules (styles.ts) must not reach the grid inside a line. */
.bk .wk-days > :where(div) li { display: block; margin: 0; padding: 0; border: 0; font-size: inherit; }
.bk .wk-days :where(div > p:first-child) b { font: inherit; font-weight: 700; font-size: .82rem; }
.bk .policy { font-size: .85rem; color: var(--wk-muted); margin: 10px 0 0; }
/* Each offer its own tile, so a line never runs into the text around it; the open one outlined in green. */
.bk .offers { display: grid; gap: 8px; }
.bk .offers > li, .bk .offers.bare > li { padding: 12px 14px; border: 1px solid var(--wk-line); border-radius: 12px; background: #fff; }
.bk .offers > li.fold:has(details[open]) { border-color: var(--bk-green); box-shadow: inset 0 0 0 1px var(--bk-green); }
.bk .offers > li.fold > details[open] { padding-bottom: 0; }
.bk .offers > li:not(.fold) { background: var(--bk-soft); }
/* The times run edge to edge of the tile: the next days scroll in from its border, not cut mid-tile. */
.bk .offers > li.fold > details > .when { margin: 12px -14px 0; padding: 12px 14px 0; border-top: 1px solid var(--wk-line); }
/* Narrow (a profile's side column, a list card, a phone): the title on its own line, full width; under it the
   length and mode, the price and "Umów" on one row. The span around them steps aside so they place on the grid. */
@container (max-width: 520px) {
  .bk .offers > li > span:first-child, .bk .offers > li.fold > details > summary > span:first-child { display: contents; }
  .bk .offers > li, .bk .offers.bare > li, .bk .offers > li.fold > details > summary { grid-template-columns: 1fr auto auto; gap: 2px 12px; }
  .bk .offers > li.fold { display: block; }
  .bk .offers strong { grid-column: 1 / -1; font-size: 1rem; line-height: 1.3; }
  .bk .offers small { align-self: center; white-space: nowrap; }
  .bk .offers small.where { grid-column: 1 / -1; white-space: normal; }
  .bk .offers > li.fold > details > summary, .bk .offers > li { column-gap: 8px; }
  .bk .offers summary > b, .bk .offers > li > b { font-size: 1.05rem; }
  .bk .offers summary .book { padding: 4px 12px; }
  /* Whole days only: four columns fill the width, the rest scroll in. */
  .bk .wk-days { grid-auto-columns: calc((100% - 18px) / 4); }
  .bk .offers .none { grid-column: 1 / -1; order: 9; }
}
/* The booking form over the page (the script's), full screen on a phone. */
.bk-dlg { width: min(34rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 20px 22px; border: 0; border-radius: 16px; background: #fffefa; color: #344125; box-shadow: 0 24px 60px rgb(0 0 0 / .25); font: 400 .95rem/1.5 Inter, system-ui, sans-serif; }
.bk-dlg::backdrop { background: rgb(20 26 12 / .45); }
/* A diploma's file in the same dialog, as large as the screen allows. */
.bk-dlg.doc { width: min(64rem, calc(100vw - 32px)); }
.bk-dlg .doc-view { display: block; width: 100%; border: 1px solid var(--wk-line); border-radius: 10px; background: #fff; }
.bk-dlg div.doc-view { display: grid; gap: 8px; padding: 8px; background: #f3f2ee; color: var(--wk-muted); }
.bk-dlg div.doc-view canvas { width: 100%; height: auto; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.bk-dlg img.doc-view { height: auto; max-height: calc(100dvh - 190px); object-fit: contain; }
.bk-dlg h2 { margin: 0 40px 12px 0; font: 600 1.35rem/1.25 var(--serif); }
.bk-dlg .panel { max-width: none; padding: 0; border: 0; background: none; box-shadow: none; }
.bk-dlg .fact h4 { margin: 0 0 4px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wk-muted); }
.bk-dlg .muted { color: var(--wk-muted); }
.bk-dlg .field { margin: 0 0 12px; } .bk-dlg .field > label:first-child:not(:has(input)) { display: block; margin-bottom: 4px; font-weight: 600; font-size: .88rem; }
.bk-dlg input:not([type="checkbox"]), .bk-dlg textarea { box-sizing: border-box; width: 100%; padding: 9px 11px; border: 1px solid var(--wk-line); border-radius: 10px; background: #fff; font: inherit; color: inherit; }
.bk-dlg textarea { min-height: 5rem; }
.bk-dlg input:focus, .bk-dlg textarea:focus { outline: 2px solid var(--wk-green); outline-offset: 1px; }
.bk-dlg input[type="checkbox"] { margin-right: 6px; vertical-align: -2px; accent-color: var(--wk-green); }
.bk-dlg .btn, .bk-dlg button[type="submit"] { display: inline-block; width: 100%; min-height: 2.9rem; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--wk-green); color: #fff; font: 650 .95rem/1.2 inherit; text-decoration: none; text-align: center; cursor: pointer; }
.bk-dlg .btn.secondary { background: #fff; color: var(--wk-green); border: 1px solid var(--wk-line); }
.bk-dlg button:disabled { opacity: .55; cursor: wait; }
.bk-dlg form:has(#invoice:not(:checked)) .field.invoice { display: none; }
.bk-dlg .cf-turnstile { min-height: 65px; margin: 0 0 12px; }
.bk-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f7e6e6; color: #8a2f2f; }
.bk-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f3e9; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 600px) { .bk-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; } }

.creds { list-style: none; padding: 0; margin: 0; }
.creds li { padding: 6px 0; }
.creds strong, .creds em { display: flex; gap: 6px; align-items: flex-start; }
.creds strong .ti { color: var(--muted, var(--text-muted, #5b6151)); margin-top: .15em; }
.creds span { display: block; font-size: .9rem; color: var(--muted, var(--text-muted, #5b6151)); }
.creds em { font-style: normal; font-size: .8rem; font-weight: 700; } .creds em .ti { margin-top: .1em; }
.creds .verified { color: var(--green, #2f5d1f); } .creds .pending { color: var(--amber, #8a5a00); } .creds .declared { color: var(--muted, var(--text-muted, #5b6151)); font-weight: 400; }
.creds .cred-st { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.creds .docs { display: flex; gap: 2px; }
.creds .docs button { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 1.3rem; color: inherit; cursor: pointer; box-shadow: none; }
.creds .docs button:hover, .creds .docs button:focus-visible { background: rgb(0 0 0 / .06); }

@font-face { font-family: Geist; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geist-variable.woff2") format("woff2-variations"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("/fonts/bodoni-moda-latin-ext-opsz.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("/fonts/bodoni-moda-latin-opsz.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --c-bg: oklch(0.969 0.006 59.7);
  --c-card-alt: oklch(0.983 0.003 48.7);
  --c-line: oklch(0.834 0.016 54.9);
  --c-ink: oklch(0.202 0.005 67.5);
  --c-muted: oklch(0.43 0.01 60);
  --c-peach: oklch(0.858 0.088 52.7);
  --c-peach-d: oklch(0.638 0.097 51.6);
  --c-lav: oklch(0.848 0.082 295.5);
  --c-lav-soft: oklch(0.935 0.035 295.5);
  --c-lav-d: oklch(0.643 0.123 294.3);
  --c-violet: oklch(0.46 0.15 294);
  /* Dusty rose: halfway between the lavender (295) and the peach (52) on the wheel, at their lightness, chroma muted. */
  --c-rose: oklch(0.84 0.055 355);
  --c-rose-d: oklch(0.62 0.075 355);
  --c-dark: oklch(0.277 0.004 264.5);
  --c-darker: oklch(0.255 0.002 247.9);
  /* The headings' voice: an elegant high-contrast serif (Bodoni Moda, SIL OFL, Polish letters; its optical size keeps the
     hairlines whole at small sizes) - quiet luxury, not a shout. Everything else in Geist, the wordmark too. */
  --head-face: "Bodoni Moda", "Didot", Georgia, serif; --head-weight: 500; --head-stretch: normal;
  /* Its optical size held at the text end (11): at display sizes Bodoni's hairlines (a dash, the joins) thin to nothing on
     a screen; the text cut keeps them drawn and the contrast still reads as Bodoni. */
  --head-opsz: "opsz" 11;
  /* The portal's tokens (styles.ts). */
  --bg: var(--c-bg); --surface: #fff; --surface-solid: #fff; --surface-alt: var(--c-card-alt);
  --border: var(--c-line); --border-strong: var(--c-line);
  --text: var(--c-ink); --text-muted: var(--c-muted);
  --accent: var(--c-lav-d); --accent-strong: var(--c-violet); --accent-soft: var(--c-lav-soft);
  --focus: var(--c-violet); --navy: var(--c-dark);
  --radius-sm: 8px; --radius: 16px; --radius-lg: 16px;
  --shadow-sm: 0 2px 0 var(--c-line); --shadow: 0 2px 0 var(--c-line);
  --sans: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --serif: var(--sans);
  /* The authored pages' tokens (authored-css.ts). */
  --paper: #fff; --soft: var(--c-card-alt); --line: var(--c-line); --ink: var(--c-ink); --muted: var(--c-muted);
  --green: var(--c-violet); --green-d: var(--c-violet); --dark: var(--c-dark);
}
body { background: var(--c-bg); color: var(--c-ink); font-family: var(--sans); }
/* The consent bar (public/zgoda.js), as Cookiebot's bottom banner: the full width, the words on the left, two answers
   of equal width on the right (under the words on a phone): agreeing filled, refusing outlined, both plainly readable. Dark, so it stands
   out from any page. */
.zgoda { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483646; display: flex; align-items: center; gap: 1rem 2rem;
  padding: 1.25rem max(1rem, calc((100vw - 1120px) / 2)); background: var(--c-dark); color: #fff;
  box-shadow: 0 -10px 40px rgb(0 0 0 / .25); font-size: .95rem; line-height: 1.55; }
.zgoda p { flex: 1; margin: 0; }
.zgoda-ikona { flex: none; width: 2.6rem; height: 2.6rem; color: var(--c-peach); }
.zgoda a { color: #fff; }
.zgoda div { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; flex: none; width: min(100%, 24rem); }
.zgoda .btn { padding: .7rem 1rem; font-size: .92rem; cursor: pointer; }
/* Refusing: the same size, outlined in white - plainly readable on the dark bar. */
.zgoda .btn.secondary, .zgoda .btn.secondary:hover { background: transparent; color: #fff; border: 1px solid #fff; box-shadow: 0 2px 0 rgb(255 255 255 / .35); }
@media (max-width: 760px) { .zgoda { flex-wrap: wrap; } .zgoda p { flex: 1 1 0; min-width: 0; } .zgoda div { width: 100%; } .zgoda-ikona { width: 2rem; height: 2rem; align-self: flex-start; } }
.zgoda-zmien { padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
a { color: var(--c-violet); }
:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 2px; }

/* Tabler icons (icons.ts) are drawn on 24 with a 2 stroke. Shown at about the size of the text beside them
   (1.1-1.2em) that would draw a line heavier than the letters; 1.75 brings it to Geist's stem at 400-500
   (1.75 x 18/24 ≈ 1.3px against ≈ 1.35px at 16px). The one knob for every icon on the site. */
.ti { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; stroke-width: 1.75; }
.footer-crisis h2 .ti { margin-right: .4em; }
.footer-crisis h2 .ti { color: var(--c-violet); }
.tile-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: 12px; background: #fff; border: 1px solid currentColor; box-shadow: 0 2px 0 currentColor; }
:nth-child(3n+1) > .tile-icon { color: var(--c-lav-d); }
:nth-child(3n+2) > .tile-icon { color: var(--c-peach-d); }
:nth-child(3n+3) > .tile-icon { color: var(--c-rose-d); }
.tile-icon .ti { width: 1.5rem; height: 1.5rem; color: var(--c-ink); }

/* Headings: the display face, tight. */
h1, h2 { font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); letter-spacing: -0.02em; line-height: 1.08; color: var(--c-ink); }
h3, h4 { font-family: var(--sans); font-weight: 650; letter-spacing: -0.01em; }

/* Buttons: peach with a darker edge and a 2px step under it; secondary white on lavender. */
.btn, .header-cta, .top-cta, .wz-btn.dark, .bk .offers summary .book, .bk-dlg button[type="submit"], .bk-dlg .btn {
  background: var(--c-peach); color: var(--c-ink); border: 1px solid var(--c-peach-d); border-radius: 12px;
  box-shadow: 0 2px 0 var(--c-peach-d); font-family: var(--sans); font-weight: 600; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover, .header-cta:hover, .top-cta:hover, .wz-btn.dark:hover, .bk .offers summary:hover .book {
  background: var(--c-peach); color: var(--c-ink); transform: translateY(1px); box-shadow: 0 1px 0 var(--c-peach-d);
}
.btn.secondary, .wz-btn.ghost, .bk-dlg .btn.secondary {
  background: #fff; color: var(--c-ink); border: 1px solid var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d);
}
.btn.secondary:hover, .wz-btn.ghost:hover { background: #fff; transform: translateY(1px); box-shadow: 0 1px 0 var(--c-lav-d); }
.header-cta, .top-cta { border-radius: 8px; }

/* Header: white, a 2px line under it. */
header.site, header.top, .wz-barwrap { background: #fff; border-bottom: 0; box-shadow: 0 2px 0 rgb(0 0 0 / .12); backdrop-filter: none; }
/* The wordmark beside the logo: quiet - the hero leads. Capitals at a small size want air between them: .1em. The tracking after the last letter is taken back, so the word ends on its A. */
header.site .brand span, header.top .brand span, .wz-brand.site span, footer.site .footer-brand .brand span {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; margin-inline-end: -.1em; font-kerning: normal; }
header.site .brand span, header.top .brand span, .wz-brand.site span { font-size: .92rem; color: var(--c-ink); }
nav.site a, header.top nav a { color: var(--c-ink); font-weight: 500; }
@media (max-width: 480px) { header.site .brand span, header.top .brand span { font-size: .84rem; } }
nav.site a[aria-current="page"] { background: var(--c-lav-soft); color: var(--c-ink); }

/* Cards and panels: white, the line around, a 2px step of it under. */
.card, .panel, .fact, .info-card, .resource-card, .data-panel, .principles-panel, .footer-crisis,
.filters, .wz-slots, .strip {
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 2px 0 var(--c-line);
}
.therapist-card { border-top: 1px solid var(--c-line); }
.therapist-card:hover { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); }
.tag, .chips li { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; color: var(--c-ink); }
.tag.verified { background: oklch(0.94 0.05 150); border-color: oklch(0.6 0.14 150); color: oklch(0.35 0.1 150); }
.tag.demo { background: oklch(0.95 0.05 80); border-color: oklch(0.75 0.1 75); color: oklch(0.4 0.08 60); }
input, select, textarea { border-radius: 8px; border-color: var(--c-line); font-family: var(--sans); }
input:focus, select:focus, textarea:focus { border-color: var(--c-lav-d); box-shadow: 0 0 0 3px var(--c-lav-soft); }

/* The one opening ground, .hero-ground (heroGround() above): the home hero, the catalogue's and a city's head, a practice's or an event's hero.
   A painting per visit, the palette's lavender over it, the suede noise on top. Change it here, once. */
/* The wash follows the copy: the home hero's sits on the left, so it fades to the right; a page head's runs the full
   width (title, facts, small labels), so it covers the copy and lets the painting out downwards, under the filters. */
.hero-ground { position: relative; isolation: isolate; overflow: hidden; color: var(--c-ink);
  --hero-wash: linear-gradient(90deg, color-mix(in oklch, var(--c-lav) 90%, transparent) 0%, color-mix(in oklch, var(--c-lav) 72%, transparent) 42%, color-mix(in oklch, var(--c-lav) 25%, transparent) 100%); }
.page-head.hero-ground, .road-hero.hero-ground {
  --hero-wash: linear-gradient(180deg, color-mix(in oklch, var(--c-lav) 90%, transparent) 0%, color-mix(in oklch, var(--c-lav) 86%, transparent) 62%, color-mix(in oklch, var(--c-lav) 30%, transparent) 100%); }
/* The painting (public/media/site, one per visit) kept as texture: its light and shade over the palette's lavender
   (luminosity), and - salt and pepper - a pinch of its own colour where the strokes are saturated (::before, color). */
.hero-ground { --hero-art: url("/media/site/hero-abstract-oil.webp"); --hero-x: 68%; }
.hero-ground.hero-art-b { --hero-art: url("/media/site/hero-wave-oil.webp"); --hero-x: 72%; }
.hero-ground.hero-art-c { --hero-art: url("/media/site/hero-vangogh-oil.webp"); --hero-x: 72%; }
/* A slight parallax: the painting is further away, so it moves slower than the page - while the page scrolls up, the
   painting slides down inside its box (its position falls from the centre). Driven by the page's own scroll over the
   first 90vh (every opening sits at the top): at the top it frames as before. CSS only; where the browser has no
   scroll-driven animations, or motion is reduced, the painting stands still at its centre. */
@property --hero-y { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.hero-ground { --hero-at: var(--hero-x) var(--hero-y); }
@keyframes hero-drift { from { --hero-y: 50%; } to { --hero-y: 30%; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-ground { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
}
.hero-ground:is(.hero-art-a, .hero-art-b, .hero-art-c) {
  background: var(--hero-wash), var(--hero-art) var(--hero-at) / cover no-repeat, var(--c-lav); background-blend-mode: normal, luminosity, normal; }
.hero-ground::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--hero-art) var(--hero-at) / cover no-repeat; mix-blend-mode: color; opacity: .18; }
.hero-ground::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1.8 0 0 0 -.4 1.8 0 0 0 -.4 1.8 0 0 0 -.4 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-head.hero-ground > *, .wz-hero.hero-ground > *, .road-hero.hero-ground > * { position: relative; z-index: 3; }
/* A therapist's road on the painted ground: her words in ink, not the white of the old green band. */
.road-hero.hero-ground, .road-hero.hero-ground :is(.line, .over, .open, .badge, .chips li, .strip b, .strip span, nav a) { color: var(--c-ink); }
.road-hero.hero-ground :is(.badge, .strip) { background: rgb(255 255 255 / .55); }
.road-hero.hero-ground :is(.chips li, .strip, .strip li + li) { border-color: var(--c-lav-d); }
.road-hero.hero-ground nav a { border-top-color: var(--c-lav-d); } .road-hero.hero-ground nav a:hover { border-color: var(--c-ink); }
.road-hero.hero-ground .strip a:hover { background: rgb(255 255 255 / .7); }
.home-hero h1 { max-width: 16ch; color: var(--c-ink); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.025em; }
.directory-page .page-head h1 { color: var(--c-ink); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.04; }
/* Text on a palette's colour (the opening, the tiles) is full ink: ink thinned to 60-78% fell under 4.5:1 on v2, v4 and v5. */
.hero-more { color: var(--c-ink); }
.hero-more a { color: var(--c-ink); text-underline-offset: 3px; }
.hero-search { border: 1px solid var(--c-lav-d); border-radius: 16px; box-shadow: 0 4px 0 var(--c-lav-d); }
.home-hero .lead { color: var(--c-ink); font-size: 1.15rem; font-weight: 500; }
.home-hero .btn { background: var(--c-peach); border-color: var(--c-peach-d); color: var(--c-ink); box-shadow: 0 2px 0 var(--c-peach-d); }
.home-hero .btn.secondary { background: #fff; border-color: var(--c-lav-d); color: var(--c-ink); box-shadow: 0 2px 0 var(--c-lav-d); }
/* Two colours, two meanings (the audit of 2026-10-02):
   peach = do: book, save, send, publish - on the public site it only ever means "book";
   dusty rose = find: search, browse, show results, open the catalogue; white on lavender = aside; red edge = delete. */
.btn.find, .header-cta, .top-cta, .home-hero .hero-search .btn, .filters .filter-bar .btn, .home-cta .btn.find, .home-hero .btn.find {
  background: var(--c-rose); border: 1px solid var(--c-rose-d); color: var(--c-ink); box-shadow: 0 2px 0 var(--c-rose-d);
}
.btn.find:hover, .header-cta:hover, .top-cta:hover, .home-hero .hero-search .btn:hover, .filters .filter-bar .btn:hover, .home-cta .btn.find:hover {
  background: var(--c-rose); border-color: var(--c-rose-d); color: var(--c-ink); transform: translateY(1px); box-shadow: 0 1px 0 var(--c-rose-d);
}
.eyebrow { border-color: var(--c-lav-d); background: #fff; color: var(--c-ink); box-shadow: 0 2px 0 var(--c-lav-d); }
.eyebrow > span { background: var(--c-peach-d); }
.directory-page .page-head .facts-strip > div { border-left-color: color-mix(in oklch, var(--c-ink) 18%, transparent); }
.directory-page .page-head .facts-strip dt { color: var(--c-ink); }
.directory-page .page-head .facts-strip dd { color: var(--c-ink); }

/* The faces round the search card (styles.ts .hero-bento), gently: a thin mount in the "find" button's powder pink,
   lightened, a soft shadow of its edge, the photo a touch muted; the empty tiles of the mosaic as pink-tinted frosted glass. */
.hero-face { border: 1px solid color-mix(in oklch, var(--c-rose) 70%, white); border-radius: 16px; background: color-mix(in oklch, var(--c-rose) 28%, transparent); box-shadow: none; }
a.hero-face { padding: 4px; border: 1px solid color-mix(in oklch, var(--c-rose-d) 45%, transparent); background: color-mix(in oklch, var(--c-rose) 72%, white);
  box-shadow: 0 10px 24px -12px color-mix(in oklch, var(--c-rose-d) 75%, transparent); transition: transform .2s ease, box-shadow .2s ease; }
a.hero-face img { border-radius: 12px; filter: saturate(.9) contrast(.97); }
a.hero-face:hover, a.hero-face:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 28px -12px color-mix(in oklch, var(--c-rose-d) 85%, transparent); }
a.hero-face:hover img, a.hero-face:focus-visible img { transform: none; }

/* A catalogue card's head on the golden ratio (φ = 1.618, Fibonacci's limit): the face is a square - one crop on
   every screen - taking 38.2% of the width, the name, line, badges and facts the other 61.8%. A narrow card (a phone,
   two columns on a tablet - the card's own width decides, not the screen's) keeps the square's golden column beside
   the name and line, and runs the badges and facts full width under both.
   Framed like a button and like the hero's faces: dusty rose, its darker edge, a step. No picture: a monogram. */
.therapist-card { container-type: inline-size; }
.therapist-card .card-head { display: grid; grid-template-columns: 38.2% minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start; }
.therapist-card .card-head > div { min-width: 0; }
.therapist-card .card-head .tags { margin: .75rem 0; }
.therapist-card .card-head dl { margin: 0; }
.therapist-card .avatar { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 5px; object-fit: cover; object-position: 50% 30%;
  border-radius: 16px; background: var(--c-rose); border: 1px solid var(--c-rose-d); box-shadow: 0 3px 0 var(--c-rose-d); }
.therapist-card span.avatar { display: grid; place-items: center; background: var(--c-lav-soft); border: 1px dashed var(--c-rose-d); box-shadow: none;
  font: 800 clamp(1.8rem, 1rem + 3vw, 2.8rem)/1 var(--sans); color: var(--c-violet); letter-spacing: -0.02em; }
.therapist-card .card-head h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
@container (max-width: 440px) {
  .therapist-card .card-head { column-gap: 1rem; row-gap: .25rem; }
  .therapist-card .card-head > div { display: contents; }
  .therapist-card .card-head .avatar { grid-column: 1; grid-row: 1 / span 2; }
  .therapist-card .card-head h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.15rem; }
  .therapist-card .card-head .meta { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: .85rem; }
  .therapist-card .card-head .tags, .therapist-card .card-head dl { grid-column: 1 / -1; }
  .therapist-card .card-head .tags { margin: .75rem 0 .5rem; }
}

/* The home page's rhythm, after creem: sections alternate grounds instead of all sitting on the one beige.
   "What you'll find" as coloured tiles - the palette's three fills, each with its darker edge and a step -
   and "Meet the therapists" on a full-width band of the palette's soft tint. */
.offer-grid article, .process-grid li, .info-card-grid .info-card { border: 1px solid; border-radius: 16px; padding: 1.75rem 1.5rem; }
.offer-grid article:nth-child(3n+1), .process-grid li:nth-child(3n+1), .info-card-grid .info-card:nth-child(3n+1) { background: var(--c-lav); border-color: var(--c-lav-d); box-shadow: 0 3px 0 var(--c-lav-d); }
.offer-grid article:nth-child(3n+2), .process-grid li:nth-child(3n+2), .info-card-grid .info-card:nth-child(3n+2) { background: var(--c-peach); border-color: var(--c-peach-d); box-shadow: 0 3px 0 var(--c-peach-d); }
.offer-grid article:nth-child(3n+3), .process-grid li:nth-child(3n+3), .info-card-grid .info-card:nth-child(3n+3) { background: var(--c-rose); border-color: var(--c-rose-d); box-shadow: 0 3px 0 var(--c-rose-d); }
.offer-grid h3, .process-grid h3, .info-card h2 { font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); font-size: 1.2rem; letter-spacing: -0.01em; color: var(--c-ink); }
.offer-grid p, .process-grid p, .info-card p { color: var(--c-ink); }
/* How it works: a step's number on the same white token as a tile's icon. */
.process-grid li::before { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: 12px; background: #fff; color: var(--c-ink);
  border: 1px solid color-mix(in oklch, var(--c-ink) 30%, transparent); box-shadow: 0 2px 0 color-mix(in oklch, var(--c-ink) 30%, transparent);
  font: 800 .95rem/1 var(--sans); }
.info-card a { color: var(--c-ink); }
.home-section.band {
  margin-inline: calc(50% - 50vw); width: 100vw; background: var(--c-lav-soft);
  padding-inline: max(clamp(1rem, 3vw, 2.5rem), calc((100vw - var(--maxw)) / 2 + clamp(1rem, 3vw, 2.5rem)));
  padding-block: clamp(3rem, 6vw, 4.75rem); border-block: 1px solid var(--c-line); }

/* A card's facts: an icon and the value, one line each - no column of labels to read past on every card. */
.card dl.card-facts { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.card-facts .ti { margin-right: .45em; color: var(--c-muted); }
.card-facts dd > span { white-space: nowrap; } .card-facts dd > span + span { margin-left: .9rem; }

/* /wydarzenia: the catalogue's opening (the filters in it, nothing under it to overlap), then the events as tiles.
   An event's date is a tear-off calendar page - the month on a peach band, the day large, the year under it -
   and what the tile says reads as facts: a line and an icon each. */
.directory-page:not(:has(> form.filters)) > .page-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.directory-page .page-head .lead { max-width: 46rem; margin-top: .75rem; color: var(--c-ink); font-size: 1rem; }
.events-page .ev-filters { margin: 1.25rem 0 0; }
.ev-filters a, .ev-filters span { background: #fff; border-color: var(--c-line); box-shadow: 0 2px 0 var(--c-line); border-radius: 10px; }
.ev-filters span { background: var(--c-ink); border-color: var(--c-ink); box-shadow: 0 2px 0 color-mix(in oklch, var(--c-ink) 70%, #000); }
.ev-h { margin: 0 0 1rem; font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); }
.ev-tiles a { grid-template-columns: 5.25rem minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; background: #fff;
  border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 2px 0 var(--c-line); }
.ev-tiles a:hover { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); }
.ev-date { padding: 0 0 .5rem; gap: 0; overflow: hidden; background: #fff; border: 1px solid var(--c-peach-d); border-radius: 12px; box-shadow: 0 3px 0 var(--c-peach-d); }
.ev-date span { order: -1; justify-self: stretch; padding: .3rem .2rem; background: var(--c-peach); border-bottom: 1px solid var(--c-peach-d);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ev-date b { padding: .45rem 0 .1rem; font: 800 2.1rem/1 var(--sans); }
.ev-date small { font-size: .75rem; color: var(--c-muted); }
.ev-body { gap: .35rem; }
.ev-kind { font-size: .85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-muted); }
.ev-kind::first-letter { text-transform: uppercase; }
.ev-body strong { margin-bottom: .2rem; font-size: 1.15rem; }
.ev-when { display: flex; gap: .5em; align-items: baseline; font-size: .92rem; color: var(--c-ink); }
.ev-when .ti { flex: none; color: var(--c-muted); transform: translateY(.15em); }
.ev-status { background: var(--c-lav-soft); color: var(--c-ink); border: 1px solid var(--c-lav-d); }
.ev-status.ev-past { background: var(--c-card-alt); border-color: var(--c-line); color: var(--c-muted); }

/* The crisis page opens on the shared ground too, full width, the emergency number's dark card beside the words. */
.crisis-hero.hero-ground { margin: calc(clamp(2rem, 4vw, 3rem) * -1) calc(50% - 50vw) 0; width: 100vw; border: 0; border-radius: 0; box-shadow: none;
  padding: clamp(2.5rem, 5vw, 4rem) max(clamp(1rem, 3vw, 2.5rem), calc((100vw - var(--maxw)) / 2 + clamp(1rem, 3vw, 2.5rem))); }
.crisis-hero.hero-ground > * { position: relative; z-index: 3; }
.crisis-hero .lead { color: var(--c-ink); }
.resource-phone { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: .6rem; padding: .55rem 1rem .55rem .75rem;
  background: var(--c-peach); color: var(--c-ink); border: 1px solid var(--c-peach-d); border-radius: 12px; box-shadow: 0 2px 0 var(--c-peach-d); }
.resource-phone .ti { grid-row: span 2; width: 1.5rem; height: 1.5rem; }
.resource-phone span { color: var(--c-ink); }
.resource-phone strong { color: var(--c-ink); }
.resource-hours .ti { margin-right: .4em; color: var(--c-muted); }
.home-cta p { color: oklch(1 0 0 / .72); margin: .75rem 0 0; }
.home-cta .btn .ti { margin-right: .2em; }
.home-cta > div:last-child > a.btn:last-child { color: var(--c-ink); } /* a lone button is not the band's quiet last link (styles.ts) */

/* Dark sections stay dark, in creem's graphite. */
.emergency-panel, .home-cta { background: var(--c-dark); border: 1px solid color-mix(in oklch, var(--c-dark) 80%, #000); box-shadow: 0 4px 0 color-mix(in oklch, var(--c-dark) 80%, #000); }
.home-cta .btn, .emergency-panel .btn { background: var(--c-peach); border-color: var(--c-peach-d); color: var(--c-ink); }

/* Footer: graphite, white type; the crisis numbers keep their white card. */
footer.site { background: var(--c-darker); border-top: 0; color: oklch(1 0 0 / .72); }
footer.site h2, footer.site .brand span { color: #fff; }
footer.site a { color: oklch(1 0 0 / .78); }
footer.site a:hover { color: #fff; }
footer.site .footer-crisis, footer.site .footer-crisis a { color: var(--c-ink); }
footer.site .footer-crisis h2 { color: var(--c-ink); font-family: var(--sans); font-weight: 650; }
footer.site .footer-crisis b { color: var(--c-violet); }
.footer-legal { border-top-color: oklch(1 0 0 / .14); }
.footer-brand p { color: oklch(1 0 0 / .62); }
.footer-legal p { color: oklch(1 0 0 / .55); }

/* A practice's or an event's website (authored.ts "wizytowka"): creem's coloured tiles, each with a darker edge. */
.f-wizytowka {
  --wz-bg: var(--c-bg); --wz-sage: var(--c-lav); --wz-ink: var(--c-ink); --wz-soft: var(--c-muted);
  --wz-mint: oklch(0.87 0.09 150); --wz-lime: oklch(0.9 0.11 95); --wz-lav: var(--c-lav); --wz-sun: var(--c-peach); --wz-stick: var(--c-peach);
}
/* The hero runs the full width on the shared ground, as the portal's openings do (creem's band, not a card);
   its copy keeps the site's 1120px column. */
.wz-hero.hero-ground { max-width: none; border-radius: 0; border: 0; box-shadow: none;
  padding-inline: max(var(--wz-in), calc((100% - 1120px) / 2 + var(--wz-in))); }
.f-wizytowka h1, .f-wizytowka h2 { font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); letter-spacing: -0.02em; line-height: 1.06; }
.f-wizytowka h3 { font-family: var(--sans); font-weight: 650; }
.wz-hero h1 { line-height: 1.04; }
.wz-eyebrow { background: #fff; border: 1px solid var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); color: var(--c-ink); }
/* In the catalogue's (and a city's) head the facts are by the way - the filters and the people lead. One quiet row
   of pills: a small icon, the label, the value in weight; they wrap as they need. "By city" says it in the same voice. */
.directory-page .page-head .facts-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.directory-page .page-head .facts-strip > div, .directory-page .page-head .facts-strip > div:first-child {
  display: flex; align-items: center; gap: .4rem; min-height: 0; padding: .35rem .8rem; border: 0; border-radius: 999px;
  background: oklch(1 0 0 / .6); }
.directory-page .page-head .facts-strip dt { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: .82rem; }
.directory-page .page-head .facts-strip dt .ti { position: static; width: 1rem; height: 1rem; padding: 0; background: none; border: 0; box-shadow: none;
  color: color-mix(in oklch, var(--c-ink) 60%, transparent); }
.directory-page .page-head .facts-strip dd { margin: 0; font-size: .85rem; font-weight: 700; }
.directory-page .page-head .meta { margin-top: .75rem; font-size: .85rem; color: var(--c-ink); }
.directory-page .page-head .meta a { color: var(--c-ink); font-weight: 600; }
.fact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; align-items: center; color: var(--c-ink); line-height: 1.5; }

/* The opening's card (an event's dates, a practice's next free time): a white card like creem's dashboard, its icon on a
   peach token, the label in plain words, the value large in the display face. */
.wz-sticker, .wz-datecard { display: grid; gap: 6px; align-content: start; min-height: 0; padding: 22px 24px; background: #fff; color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 4px 0 var(--c-line); }
.wz-hero-pic:not(:has(img)) .wz-sticker, .wz-datecard { justify-self: end; width: min(100%, 20rem); }
.wz-sticker > .ti, .wz-datecard > .ti { width: 2.75rem; height: 2.75rem; padding: .6rem; margin-bottom: 8px; border-radius: 12px;
  background: var(--c-peach); border: 1px solid var(--c-peach-d); box-shadow: 0 2px 0 var(--c-peach-d); }
.wz-sticker small, .wz-datecard small { font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 1; color: var(--c-muted); }
.wz-sticker small::first-letter, .wz-datecard small::first-letter { text-transform: uppercase; }
.wz-sticker b, .wz-datecard b, .wz-sticker span:not(.wz-status) { margin: 0; font: var(--head-weight) 1.55rem/1.15 var(--head-face); letter-spacing: -.01em; font-optical-sizing: none; font-variation-settings: var(--head-opsz);
  }
.wz-eyebrow { font-family: var(--sans); }
.wz-card { border: 1px solid; box-shadow: 0 2px 0 currentColor; color: var(--c-ink); }
.wz-card.mint { border-color: oklch(0.6 0.14 150); box-shadow: 0 2px 0 oklch(0.6 0.14 150); }
.wz-card.lime { border-color: oklch(0.7 0.13 85); box-shadow: 0 2px 0 oklch(0.7 0.13 85); }
.wz-card.lav { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); }
.wz-card.sun { border-color: var(--c-peach-d); box-shadow: 0 2px 0 var(--c-peach-d); }
.wz-card .wz-price { font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); }
.wz-card-cta { background: rgb(255 255 255 / .55); border-top: 1px solid currentColor; }
.wz-team img, .wz-mono, .wz-pic img, .wz-gallery img { border: 1px solid var(--c-line); box-shadow: 0 2px 0 var(--c-line); border-radius: 16px; }
.wz-where { border: 1px solid var(--c-line); box-shadow: 0 2px 0 var(--c-line); border-radius: 16px; }

/* A practice's or an event's site wears the portal's chrome: authored-css.ts still carries v2's colours in rules that
   outrank the plain selectors above, so these repeat its selectors and win by coming last. */
.pub:has(> .f-wizytowka) { background: var(--c-bg); }
.wz-brand.site img, .top .brand img, footer.site .brand img { background: var(--c-lav-soft); }
.top .top-cta { background: var(--c-rose); color: var(--c-ink); border: 1px solid var(--c-rose-d); box-shadow: 0 2px 0 var(--c-rose-d); border-radius: 8px; }
.top .top-cta:hover { background: var(--c-rose); }
.f-wizytowka ~ footer.site { background: var(--c-darker); }
footer.site .footer-crisis { border-left: 1px solid var(--c-line); }
footer.site .footer-crisis > p a { color: var(--c-violet); }
footer.site .footer-brand p { color: oklch(1 0 0 / .62); }
footer.site .footer-legal { border-top-color: oklch(1 0 0 / .14); }
footer.site .footer-legal p { color: oklch(1 0 0 / .55); }

/* An event's page laid out as creem lays out content. Under the opening a strip of the facts (authored.ts eventSite),
   on the palette's soft tint, the full width; a section's title stands over its text, not beside it; how to join
   closes the page on a dark band, as the home page closes. */
.wz-strip { border-bottom: 1px solid var(--c-line); background: var(--c-lav-soft);
  padding: 28px max(var(--wz-in), calc((100% - 1120px) / 2 + var(--wz-in))); }
.wz-strip dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 20px 40px; margin: 0; }
/* A fact, as creem shows one: its icon on a white token with a step, the label in plain words over it, the value
   in full weight - the same in the catalogue's head, a city's and an event's strip. */
.facts-strip { gap: 1.25rem 1.75rem; }
.facts-strip > div, .facts-strip > div:first-child, .wz-strip dl > div, .fact-list li { position: relative; min-height: 2.75rem; padding: 0 0 0 3.6rem; border-left: 0; }
.facts-strip dt .ti, .wz-strip dt .ti, .fact-list .ti { position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; padding: .6rem;
  border-radius: 12px; background: #fff; border: 1px solid var(--c-line); box-shadow: 0 2px 0 var(--c-line); color: var(--c-ink); }
.facts-strip dt, .wz-strip dt { margin: 0 0 .15rem; font-size: .85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-muted); }
.facts-strip dd, .wz-strip dd { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--c-ink); }
.facts-strip dd a, .wz-strip dd a { color: inherit; text-decoration-color: color-mix(in oklch, var(--c-ink) 35%, transparent); text-underline-offset: 3px; }
.wz-cols, .wz-head { grid-template-columns: 1fr; }
.wz-cols h2, .wz-head h2 { margin-bottom: 12px; }
.wz-cols > div > :not(.wz-tiles) { max-width: 46rem; }
.wz-sec { padding-top: clamp(3.5rem, 6vw, 4.75rem); }
/* "Who it is for" as tiles, the palette's fills in turn, as the home page's "What you'll find". */
.wz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 14px; margin: 12px 0 0; }
.wz-tiles > ul, .wz-tiles > ol { display: contents; }
.wz-tiles > p, .wz-tiles li { margin: 0; padding: 1.25rem 1.4rem; border: 1px solid; border-radius: 16px; color: var(--c-ink); list-style: none; }
.wz-tiles li::before { display: none; }
.wz-tiles > :nth-child(3n+1), .wz-tiles li:nth-child(3n+1) { background: var(--c-lav); border-color: var(--c-lav-d); box-shadow: 0 3px 0 var(--c-lav-d); }
.wz-tiles > :nth-child(3n+2), .wz-tiles li:nth-child(3n+2) { background: var(--c-peach); border-color: var(--c-peach-d); box-shadow: 0 3px 0 var(--c-peach-d); }
.wz-tiles > :nth-child(3n+3), .wz-tiles li:nth-child(3n+3) { background: var(--c-rose); border-color: var(--c-rose-d); box-shadow: 0 3px 0 var(--c-rose-d); }
/* The people who run it as the catalogue's cards: a square face framed in dusty rose, name and line beside it. */
.wz-team { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 16px; }
.wz-team a { display: grid; grid-template-columns: 38.2% minmax(0, 1fr); align-content: start; column-gap: 1.25rem; padding: 1rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 2px 0 var(--c-line); }
.wz-team a:hover { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); }
.wz-team img, .wz-team .wz-mono { grid-row: 1 / span 3; aspect-ratio: 1; padding: 5px; border-radius: 16px;
  background: var(--c-rose); border: 1px solid var(--c-rose-d); box-shadow: 0 3px 0 var(--c-rose-d); }
.wz-team strong { margin: .25rem 0 .2rem; font-size: 1.15rem; }
.wz-team small, .wz-team .wz-more { grid-column: 2; }
.wz-datecard .wz-status, .wz-sticker .wz-status { justify-self: start; margin: 8px 0 0; background: var(--c-lav-soft); border: 1px solid var(--c-lav-d); }
.wz-cta { padding: clamp(2rem, 5vw, 3.25rem); border-radius: 16px; background: var(--c-dark); color: #fff;
  border: 1px solid color-mix(in oklch, var(--c-dark) 80%, #000); box-shadow: 0 4px 0 color-mix(in oklch, var(--c-dark) 80%, #000); }
.wz-cta h2 { color: #fff; margin: 0 0 12px; }
.wz-cta :is(p, li, .say) { color: oklch(1 0 0 / .78); max-width: 46rem; }
.wz-cta .wz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.wz-cta .wz-btn { background: var(--c-peach); color: var(--c-ink); border: 1px solid var(--c-peach-d); box-shadow: 0 2px 0 var(--c-peach-d); border-radius: 12px; }

/* One main action per view: the bar of a practice's or an event's site carries its call as a quiet white button -
   the peach "do" is for the opening and the closing band. */
.wz-bar .wz-btn.dark, .wz-bar .wz-btn.dark:hover { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); box-shadow: 0 2px 0 var(--c-line); }

/* The booking widget (week.ts) in the same language. */
.bk .offers > li, .bk .offers.bare > li { border-radius: 12px; box-shadow: 0 2px 0 var(--c-line); }
.bk .offers > li.fold:has(details[open]) { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); }
.bk .offers summary .book { padding: 4px 14px; }
.bk .offers summary > b, .bk .offers > li > b, .offers > li > b { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
.wk-days > :where(div) a { border-color: var(--c-line); border-radius: 8px; box-shadow: 0 2px 0 var(--c-line); }
.wk-days > :where(div) a:hover, .wk-days > :where(div) a:focus-visible { border-color: var(--c-lav-d); box-shadow: 0 2px 0 var(--c-lav-d); background: var(--c-lav-soft); }
.wk-next { background: var(--c-peach); color: var(--c-ink); border: 1px solid var(--c-peach-d); box-shadow: 0 2px 0 var(--c-peach-d); border-radius: 8px; }
/* Her free times (public/ostatni.js): on her page and, remembered, on the others; never over the consent bar or an open dialog. */
.ostatni { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 12px; max-width: 340px;
  padding: 12px 44px 12px 12px; background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--c-line), 0 30px 60px rgb(0 0 0 / .2); font-family: var(--sans); line-height: 1.3; }
.ostatni img, .ostatni-ini { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.ostatni-ini { display: grid; place-items: center; background: var(--c-card-alt); border: 1px solid var(--c-line); font-weight: 600; color: var(--c-muted); }
.ostatni p { margin: 0 0 2px; font-size: .85rem; color: var(--c-muted); }
.ostatni a { font-weight: 600; color: var(--c-ink); }
.ostatni-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; background: none; color: var(--c-muted); font-size: 1.3rem; cursor: pointer; }
body:has(.zgoda) .ostatni, body:has(dialog[open]) .ostatni { display: none; }
@media (max-width: 760px) { .ostatni { left: 16px; max-width: none; } }
.bk-dlg { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); box-shadow: 0 4px 0 var(--c-line), 0 30px 60px rgb(0 0 0 / .2); font-family: var(--sans); }
.bk-dlg h2 { font-family: var(--head-face); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-optical-sizing: none; font-variation-settings: var(--head-opsz); font-size: 1.3rem; }
.bk-dlg .fact { box-shadow: none; background: var(--c-card-alt); }
