/* ==========================================================================
   Clinic (sections/clinic.php, assets/js/clinic.js, assets/js/twin-gl.js). The blue hour before the hall's night:
   Tbilisi's lights out of focus at the foot of the screen, a deep teal sky over them, and in front a body twin drawn
   in light (cool cyan points; the part that is picked turns the brand's green). Glass for the panel and the key,
   after the client's dusk mockup. Light text on the dark; brand green for what is picked and for booking.
   Modes, decided by CSS so the first paint is right: the map (JS + WebGL, the figure between the key and the
   panel), flat (no WebGL: the key and the panel only), list (no JS: every doctor as a row).
   ========================================================================== */
.clin {
  --k-night: #04101A; --k-deep: #0A2230; --k-teal: #123A45;
  --k-ink: #E8F3F1; --k-ink-2: #9CB7B6; --k-line: rgb(170 225 220 / .14); --k-glass: rgb(9 28 35 / .62);
  --k-cyan: #8FE3E6; --lime: #9AF21E;
  --sx: 1;
  position: relative; z-index: 8; color: var(--k-ink);
}
[dir="rtl"] .clin { --sx: -1; }
.clin-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.clin__anchor { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; outline: none; pointer-events: none; }
.clin__cover { position: absolute; z-index: 30; inset: auto 0 0; height: 100vh; height: 100svh; background: #02080B; opacity: 0; pointer-events: none; will-change: opacity; }

/* ---------- the stage: the dusk, the city's lights, and over them the key | the figure | the panel ---------- */
.clin__stage {
  position: relative; overflow: hidden; overflow: clip; border-radius: 28px 28px 0 0;
  background:
    radial-gradient(42% 52% at 50% 46%, rgb(40 120 128 / .32), rgb(40 120 128 / 0) 70%),
    linear-gradient(to bottom, var(--k-night), var(--k-deep) 46%, var(--k-teal) 72%, #08181D);
  box-shadow: 0 -24px 70px -26px rgb(2 8 14 / .7);
}
@media (prefers-reduced-motion: no-preference) {
  html.js .clin__stage { transform-origin: 50% 0; will-change: transform; }   /* (the sheet it comes in as) */
}
.clin__city { position: absolute; z-index: 0; inset: auto 0 0; height: 56%; pointer-events: none; }
.clin__city img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .78; }
/* the city fades up into the sky, and the corners darken */
.clin__haze {
  position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--k-deep) 40%, rgb(10 34 48 / 0) 66%),
    linear-gradient(to top, rgb(3 10 14 / .78), rgb(3 10 14 / 0) 26%),
    radial-gradient(120% 90% at 50% 50%, rgb(2 8 12 / 0) 55%, rgb(2 8 12 / .55));
}

/* ---------- the figure ---------- */
.clin-twin { position: relative; z-index: 1; pointer-events: none; }
.clin-twin__gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; cursor: pointer; touch-action: pan-y; }
.clin-twin__halo { position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(80 190 195 / .2), rgb(80 190 195 / 0)); }
/* the pad it stands on */
.clin-twin__pad {
  position: absolute; left: 50%; bottom: calc(var(--foot, 4%) - 1px); width: min(62%, 300px); aspect-ratio: 4.2; translate: -50% 50%; border-radius: 50%;
  border: 1px solid rgb(154 242 30 / .32); background: radial-gradient(closest-side, rgb(143 227 230 / .2), rgb(143 227 230 / 0));
  box-shadow: 0 0 36px rgb(143 227 230 / .18), inset 0 0 22px rgb(143 227 230 / .18);
}
.clin-twin__pad::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed rgb(143 227 230 / .3); }
/* a hotspot on a part of the body that has doctors (placed by clinic.js) */
.clin-spot {
  position: absolute; z-index: 2; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(4 16 26 / .55); box-shadow: inset 0 0 0 1.5px var(--k-cyan); cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .5s, box-shadow .3s, background-color .3s;
}
.clin.is-built .clin-spot { opacity: 1; }
.clin-spot i { position: absolute; inset: 6px; border-radius: 50%; background: var(--k-cyan); }
.clin-spot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--k-cyan); opacity: 0; animation: clin-ping 2.4s var(--ease-out) infinite; }
.clin-spot.is-on { box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 18px rgb(154 242 30 / .55); }
.clin-spot.is-on i { background: var(--lime); }
.clin-spot.is-on::after { border-color: var(--lime); }
@keyframes clin-ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
.clin:not(.is-seen) .clin-spot::after, .clin.is-under .clin-spot::after { animation-play-state: paused; }
/* children and cancer care: not one place, so by the feet, with their sign */
.clin-spot--off { width: 40px; height: 40px; margin: -20px 0 0 -20px; color: var(--k-cyan); }
.clin-spot--off i { display: none; }
.clin-spot--off svg { position: absolute; inset: 10px; width: 20px; height: 20px; }
.clin-spot--off.is-on { color: var(--lime); }
/* the word by the pointer over the body */
.clin-tip {
  position: absolute; z-index: 3; left: 0; top: 0; display: grid; gap: 2px; margin: 0; padding: 8px 12px 9px; border-radius: 12px; white-space: nowrap;
  background: rgb(4 16 22 / .92); box-shadow: 0 12px 26px -12px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(154 242 30 / .35); color: var(--k-ink);
  pointer-events: none; opacity: 0; transition: opacity .15s;
}
.clin-tip.is-on { opacity: 1; }
.clin-tip b { font-size: 14px; font-weight: 750; color: var(--lime); }
.clin-tip span { font-size: 12px; color: var(--k-ink-2); }
/* the lines from the key to the body */
.clin-lines { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .6s; }
.clin.is-built .clin-lines { opacity: 1; }
.clin-lines path { fill: none; stroke: rgb(143 227 230 / .28); stroke-width: 1; }
.clin-lines path.is-on { stroke: var(--lime); stroke-opacity: .85; }
.clin-lines circle { fill: var(--k-cyan); opacity: .5; }
.clin-lines circle.is-on { fill: var(--lime); opacity: 1; }

/* ---------- the side: the chapter head, the key, the numbers ---------- */
.clin__head, .clin-key, .clin-foot { position: relative; z-index: 2; }   /* (over the haze, also where the side box gives way: phones) */
.clin__side { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(18px, 3vh, 34px); min-width: 0; }
.clin__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--k-ink-2); }
html[lang="en"] .clin__eyebrow { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.clin__eyebrow .chap__no { color: var(--lime); }
.clin__eyebrow > span:last-child { display: inline-flex; align-items: center; gap: 12px; }
.clin__eyebrow > span:last-child::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.clin__title { margin-top: 12px; max-width: 12em; font-size: clamp(28px, 2.6vw, 46px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] .clin__title { font-family: var(--font-serif); font-size: clamp(32px, 3vw, 52px); font-weight: 460; line-height: 1.04; letter-spacing: -.025em; }
.clin__lead { margin-top: 10px; max-width: 40ch; font-size: 15px; line-height: 1.85; color: var(--k-ink-2); text-wrap: pretty; }
html[lang="en"] .clin__lead { line-height: 1.6; }

.clin-key__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.clin-key__item button {
  position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%;
  padding: 8px 12px 8px 8px; border: 1px solid transparent; border-radius: 18px; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.clin-key__ring { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(143 227 230 / .35); color: var(--k-cyan); transition: border-color .3s, color .3s, background-color .3s, box-shadow .3s; }
.clin-key__ring svg { width: 22px; height: 22px; }
.clin-key__name { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.clin-key__name b { font-size: 15.5px; font-weight: 750; }
.clin-key__name small { font-size: 12px; color: var(--k-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clin-key__n { padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .07); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.clin-key__item button:hover, .clin-key__item.is-hover button { background: rgb(255 255 255 / .05); border-color: var(--k-line); }
.clin-key__item button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.clin-key__item.is-on button { background: var(--k-glass); border-color: rgb(154 242 30 / .35); }
.clin-key__item.is-on .clin-key__ring { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 18px rgb(154 242 30 / .3); }
.clin-key__item.is-on .clin-key__n { background: var(--lime); color: #0B1A12; }
/* many parts (the hospital's doctors switched on): one line each */
.clin-key.is-many .clin-key__list { gap: 2px; }
.clin-key.is-many .clin-key__item button { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 4px 10px 4px 6px; }
.clin-key.is-many .clin-key__ring { width: 34px; height: 34px; }
.clin-key.is-many .clin-key__ring svg { width: 18px; height: 18px; }
.clin-key.is-many .clin-key__name small { display: none; }
.clin-key.is-many .clin-key__name b { font-size: 14.5px; }
.clin-key__hint { margin-top: 10px; padding-inline-start: 10px; font-size: 12.5px; color: var(--k-ink-2); }
.clin-key__touch { display: none; }
.clin.is-touch .clin-key__fine { display: none; }
.clin.is-touch .clin-key__touch { display: inline; }

.clin-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 26px; margin-top: auto; }
.clin-stats { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.clin-stats li { display: grid; line-height: 1.1; }
.clin-stats b { font-size: 26px; font-weight: 800; color: var(--lime); }
html[lang="en"] .clin-stats b { font-family: var(--font-serif); font-weight: 480; }
.clin-stats span { font-size: 12px; font-weight: 650; color: var(--k-ink-2); }
.clin-foot__all { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; border-bottom: 1.5px solid currentColor; font-size: 14px; font-weight: 750; color: inherit; text-decoration: none; }
.clin-foot__all .arrow { width: 18px; height: 18px; transition: translate .4s var(--ease-out); }
.clin-foot__all:hover .arrow { translate: calc(var(--sx) * 4px) 0; }
.clin-foot__preview { width: 100%; font-size: 12px; color: #F1C77E; }

/* ---------- the panel: glass, the part on show, its specialties, a doctor's card, the rows ---------- */
.clin-panel {
  position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; max-height: 100%; padding: 20px 20px 16px; border-radius: 26px;
  background: rgb(9 28 35 / .84); box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7), inset 0 0 0 1px var(--k-line);
}
/* glass once the sheet has landed (a blur under a moving picture would be computed again every frame) */
.clin.is-here .clin-panel { background: var(--k-glass); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.clin-reg__h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.clin-reg__h svg { width: 24px; height: 24px; color: var(--lime); flex: none; }
.clin-reg__h small { margin-inline-start: auto; font-size: 12.5px; font-weight: 650; color: var(--k-ink-2); }
.clin-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.clin-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 12px; border: 1px solid rgb(255 255 255 / .16); border-radius: 999px;
  background: none; color: var(--k-ink); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s;
}
[dir="rtl"] .clin-chip { padding: 6px 12px 6px 8px; }
.clin-chip b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgb(255 255 255 / .1); font-size: 12px; }
.clin-chip:hover { border-color: rgb(255 255 255 / .4); }
.clin-chip.is-on { background: var(--lime); border-color: var(--lime); color: #0B1A12; }
.clin-chip.is-on b { background: rgb(11 26 18 / .14); }
.clin-chip:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* a doctor's card: the photo (cropped to the face), who, what, where, and the booking button */
.clin-cards { margin-top: 16px; }
.clin-doc { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "pic body" "book book"; gap: 14px 16px; padding: 14px; border-radius: 20px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--k-line); }
.clin-doc__pic { grid-area: pic; position: relative; overflow: hidden; width: 92px; height: 112px; border-radius: 16px; background: #1B2E33; container-type: size; }
.clin-doc__pic img { position: absolute; left: 50%; top: 40%; width: calc(var(--z, 3.6) * 100cqw); max-width: none; height: auto; translate: calc(var(--fx, .5) * -100%) calc(var(--fy, .2) * -100%); }
.clin-doc__ini, .clin-row__pic > span { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-serif); font-size: 26px; color: var(--k-cyan); }
.clin-doc__body { grid-area: body; min-width: 0; }
.clin-doc__status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; background: rgb(154 242 30 / .1); color: #C9F48A; font-size: 12px; font-weight: 700; }
.clin-doc__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgb(154 242 30 / .2); }
.clin-doc__name { margin-top: 8px; font-family: var(--font-serif); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.clin-doc__role { margin-top: 5px; font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.clin-doc__role span { color: var(--lime); }
.clin-doc__about { margin-top: 3px; font-size: 12.5px; line-height: 1.65; color: var(--k-ink-2); }
.clin-doc__where { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.clin-doc__where svg { flex: none; width: 15px; height: 15px; color: var(--k-cyan); }
.clin-doc__where a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.clin-doc__where a:hover { border-color: currentColor; }
.clin-doc__book { grid-area: book; min-height: 46px; justify-content: center; }
.clin-doc__book .arrow { transition: translate .4s var(--ease-out); }
.clin-doc__book:hover .arrow { translate: calc(var(--sx) * 4px) 0; }

/* the rows: the specialty's doctors, each their page */
.clin-rows__h { margin: 16px 0 6px; padding-inline-start: 4px; font-size: 12px; font-weight: 700; color: var(--k-ink-2); }
.clin-rows { min-height: 0; margin: 0; padding: 0; list-style: none; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .2) transparent; }
.clin-row a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color .2s; }
.clin-row a:hover, .clin-row a:focus-visible, .clin-row.is-cur a { background: rgb(255 255 255 / .06); }
.clin-row a:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.clin-row.is-cur a::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--lime); }
.clin-row__pic { position: relative; overflow: hidden; width: 40px; height: 40px; border-radius: 50%; background: #1B2E33; container-type: size; }
.clin-row__pic img { position: absolute; left: 50%; top: 50%; width: calc(var(--z, 3.6) * 100cqw); max-width: none; height: auto; translate: calc(var(--fx, .5) * -100%) calc(var(--fy, .2) * -100%); }
.clin-row__pic > span { font-size: 15px; }
.clin-row__name { font-family: var(--font-serif); font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.clin-row .arrow { width: 18px; height: 18px; color: var(--k-ink-2); transition: translate .3s var(--ease-out), color .3s; }
.clin-row a:hover .arrow { color: var(--lime); translate: calc(var(--sx) * 3px) 0; }

/* with JS: one part, one specialty, one card at a time */
html.js .clin-reg:not(.is-on), html.js .clin-row:not(.is-in), .clin-panel.is-one [data-rows-h], .clin-panel.is-one .clin-rows { display: none; }   /* (a specialty with one doctor: the card says it all) */
html.js .clin-doc:not(.is-on) { display: none; }
html.js .clin-doc.is-on { animation: clin-in .45s var(--ease-out) both; }
@keyframes clin-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- wide screens: the key | the figure | the panel ---------- */
@media (min-width: 861px) {
  .clin__stage {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr) minmax(0, 1.04fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "side twin panel";
    column-gap: clamp(18px, 2.4vw, 44px); height: 100vh; height: 100svh; min-height: 540px;   /* (the row never grows past the screen: the figure stands whole on it) */
    padding: calc(var(--header-h) + 2.4vh) var(--qnav-clear) 3.2vh;
  }
  .clin__side { grid-area: side; }
  .clin-twin { grid-area: twin; margin: calc(-1 * (var(--header-h) + 2.4vh)) 0 -3.2vh; }
  .clin-panel { grid-area: panel; align-self: center; max-height: 100%; }
  .clin-rows { max-height: 32vh; }
}
@media (min-width: 861px) and (max-height: 800px) {
  .clin__title { font-size: clamp(26px, 2.2vw, 36px); }
  .clin__lead { font-size: 14px; line-height: 1.7; }
  .clin-key__item button { padding-block: 5px; }
  .clin-doc__about { display: none; }
  .clin-rows { max-height: 24vh; }
  /* short screens (a laptop at 125%, a 768px one): the side keeps to the screen's height */
  .clin__side { gap: clamp(12px, 2.4vh, 20px); }
  .clin-key.is-many .clin-key__item button { padding-block: 2px; }
  .clin-key.is-many .clin-key__ring { width: 30px; height: 30px; }
  .clin-key__hint { margin-top: 6px; font-size: 12px; }
}
@media (min-width: 861px) and (max-height: 700px) {
  .clin__lead { display: none; }   /* (the key's hint and the word by the pointer say what to do) */
  .clin__title { margin-top: 8px; font-size: clamp(24px, 2vw, 30px); }
  html[lang="en"] .clin__title { font-size: clamp(28px, 2.4vw, 36px); }
  .clin-key__item button { padding-block: 3px; }
  .clin-key__ring { width: 34px; height: 34px; }
  .clin-key.is-many .clin-key__item button { padding-block: 1px; }
  .clin-key.is-many .clin-key__ring { width: 28px; height: 28px; }
  .clin-key.is-many .clin-key__ring svg { width: 16px; height: 16px; }
  .clin__side { gap: 10px; }
  .clin-foot { row-gap: 6px; }
  .clin-stats b { font-size: 22px; }
  .clin-doc { grid-template-columns: 76px minmax(0, 1fr); gap: 10px 14px; padding: 12px; }
  .clin-doc__pic { width: 76px; height: 92px; }
  .clin-doc__book { min-height: 42px; }
}

/* ---------- phones: the head, the figure, the parts as chips, the panel ---------- */
@media (max-width: 860px) {
  .clin__stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "twin" "key" "panel" "foot"; row-gap: 16px; padding: calc(var(--header-h) + 22px) var(--gutter) calc(96px + env(safe-area-inset-bottom, 0px)); padding-inline-start: var(--qnav-clear); border-radius: 22px 22px 0 0; }
  .clin__side { display: contents; }
  .clin__head { grid-area: head; }
  .clin-key { grid-area: key; min-width: 0; }
  .clin-foot { grid-area: foot; margin-top: 8px; }
  .clin-twin { grid-area: twin; height: 60svh; min-height: 380px; margin-inline: calc(-1 * var(--gutter)); }
  .clin-panel { grid-area: panel; }
  .clin__title { font-size: clamp(26px, 7.2vw, 34px); }
  html[lang="en"] .clin__title { font-size: clamp(30px, 8.4vw, 40px); }
  .clin-key__list { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .clin-key__list::-webkit-scrollbar { display: none; }
  .clin-key__item { flex: none; }
  .clin-key__item button { grid-template-columns: 32px auto auto; gap: 8px; padding: 5px 10px 5px 6px; border-color: var(--k-line); border-radius: 999px; }
  .clin-key__ring { width: 32px; height: 32px; }
  .clin-key__ring svg { width: 18px; height: 18px; }
  .clin-key__name small { display: none; }
  .clin-key__name b { font-size: 14px; white-space: nowrap; }
  .clin-key__hint { padding-inline-start: 0; }
  .clin-lines { display: none; }
  .clin-rows { max-height: none; overflow: visible; }
  .clin__city { height: 34%; }
}

/* ---------- no WebGL (flat): the key and the panel side by side; no JS: every doctor as a row ---------- */
.clin.is-flat .clin-twin, .clin.is-flat .clin-lines, html:not(.js) .clin-twin, html:not(.js) .clin-lines, html:not(.js) .clin-key__hint, html:not(.js) .clin-chips { display: none; }
@media (min-width: 861px) {
  .clin.is-flat .clin__stage, html:not(.js) .clin__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "side panel"; }
}
html:not(.js) .clin__stage { height: auto; min-height: 0; }
html:not(.js) .clin-doc:not(.is-on) { display: none; }
html:not(.js) .clin-rows { max-height: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .clin-spot::after { animation: none; }
  html.js .clin-doc.is-on { animation: none; }
  .clin-key__item button, .clin-key__ring, .clin-chip, .clin-row a, .clin-lines { transition: none; }
}
