/* /review/next/clinic/, second redo (11 Nov 2026). Every class here is nx-clinic-. */

/* Drawn pictures (same method as Why automation works): [data-nx-draw] SVGs carry their own pen timing inline. The page script
   arms them (.nx-clinic-armed) and plays them (.nx-clinic-play). With no script or reduced motion nothing is armed: every drawing stands finished. */
.nx-clinic-svg { display: block; width: 100%; height: auto; overflow: visible; }
.nx-clinic-svg path { fill: none; stroke: #55575d; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nx-clinic-svg path.lit { stroke: var(--blue); stroke-width: 2.3; }
.nx-clinic-svg path.soft { stroke: #a4a6ad; stroke-width: 1.5; }
.nx-clinic-svg path.green { stroke: #25d366; stroke-width: 2.4; }
.nx-clinic-svg path.white { stroke: rgb(255 255 255 / 86%); }
.nx-clinic-svg path.dim { stroke: rgb(255 255 255 / 36%); stroke-width: 1.5; }
.nx-clinic-svg path.glow { stroke: #8ea5ff; stroke-width: 2.4; }
.nx-clinic-f { fill: #55575d; stroke: none; transform-box: fill-box; transform-origin: center; }
.nx-clinic-f.lit { fill: var(--blue); }
.nx-clinic-f.white { fill: #fff; }
.nx-clinic-f.glow { fill: #8ea5ff; }
.nx-clinic-f.soft { fill: #a4a6ad; }
.nx-clinic-svg text { font-family: var(--font-text); fill: var(--ink-2); text-rendering: geometricPrecision; }
.nx-clinic-svg .l { font-size: 19px; }
.nx-clinic-svg .s { font-size: 14.5px; }
.nx-clinic-svg .big { font-family: var(--font-display); font-size: 27px; fill: var(--ink); }
.nx-clinic-svg .lit-t { fill: var(--blue); }
.nx-clinic-svg .ink-t { fill: var(--ink); }
.nx-clinic-svg .w-t { fill: rgb(255 255 255 / 88%); }
.nx-clinic-svg .d-t { fill: rgb(255 255 255 / 56%); }
.nx-clinic-m { display: none; }
@media (max-width: 767px) { .nx-clinic-w { display: none; } .nx-clinic-m { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .nx-clinic-armed .nx-clinic-d { opacity: 0; stroke-dasharray: 1 2; stroke-dashoffset: 1; }
  .nx-clinic-armed text, .nx-clinic-armed image, .nx-clinic-armed .nx-clinic-f { opacity: 0; }
  .nx-clinic-armed.nx-clinic-play .nx-clinic-d { animation: nx-clinic-draw var(--du, .4s) cubic-bezier(.35, .1, .5, 1) var(--dl, 0s) forwards; }
  .nx-clinic-armed.nx-clinic-play text, .nx-clinic-armed.nx-clinic-play image { animation: nx-clinic-show .5s ease var(--dl, 0s) forwards; }
  .nx-clinic-armed.nx-clinic-play .nx-clinic-f { animation: nx-clinic-pop .45s var(--kit-ease) var(--dl, 0s) forwards; }
}
@keyframes nx-clinic-draw { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes nx-clinic-show { to { opacity: 1; } }
@keyframes nx-clinic-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

html[data-theme="light"] body main { background-image: none; }
.nx-clinic-grey { display: block; color: var(--ink-2); }
.nx-clinic-grey-i { color: var(--ink-2); }
.nx-clinic-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nx-clinic-hero .kit-hero-stage { margin-top: 36px; padding-bottom: 88px; }
.nx-clinic-fig { margin: 0 auto; max-width: 1040px; }
.nx-clinic-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.nx-clinic-part figure { margin: 0 0 20px; max-width: 340px; }
.nx-clinic-part .kit-p { max-width: 24em; }
@media (min-width: 900px) { .nx-clinic-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.nx-clinic-grey-band { background: var(--grey); }
.nx-clinic-steps { margin: 8px 0 0; }
.nx-clinic-m.nx-clinic-svg .big { font-size: 25px; }
@media (max-width: 767px) { .nx-clinic-steps { max-width: 320px; } }

.nx-clinic-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.nx-clinic-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nx-clinic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }
.nx-clinic-list li { border-bottom: 1px solid var(--line); }
.nx-clinic-opt { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; cursor: pointer; font: 400 17px/25px var(--font-text); color: var(--ink); }
.nx-clinic-opt input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.nx-clinic-box { flex: none; width: 24px; height: 24px; }
.nx-clinic-box rect { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.nx-clinic-box path { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.nx-clinic-opt input:checked + .nx-clinic-box rect { stroke: var(--blue); }
.nx-clinic-opt input:checked + .nx-clinic-box path { stroke-dashoffset: 0; transition: stroke-dashoffset .28s ease; }
.nx-clinic-opt input:focus-visible + .nx-clinic-box { outline: 2px solid var(--ring, var(--blue)); outline-offset: 2px; border-radius: 6px; }
.nx-clinic-bar { display: flex; justify-content: flex-end; margin-top: 32px; }
.nx-clinic-small { margin: 4px 0 0; font: 400 15px/20px var(--font-text); color: var(--ink-2); }
@media (max-width: 767px) { .nx-clinic-bar .btn { width: 100%; } }

.nx-clinic-tight { padding-top: 0; }
.nx-clinic-rel { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nx-clinic-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }
.nx-clinic-rel li { border-bottom: 1px solid var(--line); }
.nx-clinic-rel a { display: block; padding: 18px 0; color: var(--ink); text-decoration: none; }
.nx-clinic-rel-t { display: block; font: 400 21px/28px var(--font-display); transition: color var(--d-hover, .2s) var(--ease, ease); }
.nx-clinic-rel-d { display: block; margin-top: 2px; font: 400 16px/23px var(--font-text); color: var(--ink-2); }
@media (hover: hover) { .nx-clinic-rel a:hover .nx-clinic-rel-t { color: var(--blue); } }
.nx-clinic-more { margin: 28px 0 0; }
.nx-clinic-close { background: var(--grey); }
.nx-clinic-close .kit-p { font-size: 19px; line-height: 28px; max-width: 32em; margin-top: 12px; }
.nx-clinic-cta { margin-top: 24px; }

/* Hero: reading off a sheet and replying on WhatsApp (owner, 11 Nov review). */
.nx-clinic-stage { display: grid; align-items: center; gap: 0; }
@media (min-width: 860px) { .nx-clinic-stage { grid-template-columns: minmax(0, 1fr) 72px 272px; } }
.nx-clinic-sheet, .nx-clinic-phone { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgb(17 24 39 / 28%); }
.nx-clinic-sheet { border-radius: 20px; overflow: hidden; }
.nx-clinic-sheet-top { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--line); font: 500 16px/22px var(--font-text); color: var(--ink); }
.nx-clinic-sample { margin-left: auto; font: 400 13px/18px var(--font-text); color: var(--ink-2); }
.nx-clinic-table { width: 100%; border-collapse: collapse; font: 400 16px/22px var(--font-text); color: var(--ink); text-align: left; table-layout: fixed; }
.nx-clinic-table th { padding: 10px 20px; font: 400 13px/18px var(--font-text); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.nx-clinic-table td { padding: 14px 20px; border-bottom: 1px solid #f0f0f2; transition: background-color .25s ease; }
.nx-clinic-table th + th, .nx-clinic-table td + td { border-left: 1px solid #f0f0f2; }
.nx-clinic-table tr:last-child td { border-bottom: 0; }
.nx-clinic-table tr.is-reading td { background: rgb(59 79 216 / 7%); }
.nx-clinic-st { display: inline-block; min-height: 22px; }
.nx-clinic-st.sent { color: var(--blue); }
.nx-clinic-st.ok { color: #128c4b; }
.nx-clinic-wire { position: relative; height: 40px; width: 2px; margin: 0 auto; background: var(--line-strong); }
.nx-clinic-wire i { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); opacity: 0; }
@media (min-width: 860px) { .nx-clinic-wire { width: auto; height: 2px; margin: 0; } .nx-clinic-wire i { left: 0; top: -4px; } }
.nx-clinic-wire i.is-go { animation: nx-clinic-wire-v .48s ease-in; }
@media (min-width: 860px) { .nx-clinic-wire i.is-go { animation-name: nx-clinic-wire-h; } }
@keyframes nx-clinic-wire-h { 0% { opacity: 1; transform: none; } 100% { opacity: 1; transform: translateX(62px); } }
@keyframes nx-clinic-wire-v { 0% { opacity: 1; transform: none; } 100% { opacity: 1; transform: translateY(30px); } }
.nx-clinic-phone { width: 272px; max-width: 100%; justify-self: center; border-radius: 34px; padding: 14px; }
.nx-clinic-phone-top { display: flex; align-items: center; gap: 9px; padding: 6px 8px 12px; border-bottom: 1px solid var(--line); font: 500 15px/20px var(--font-text); color: var(--ink); }
.nx-clinic-chat { min-height: 232px; padding: 16px 4px 8px; display: flex; flex-direction: column; gap: 10px; }
.nx-clinic-in, .nx-clinic-out { margin: 0; font: 400 15px/21px var(--font-text); color: var(--ink); border-radius: 14px; }
.nx-clinic-in { background: #f2f2f5; padding: 11px 13px; border-top-left-radius: 4px; }
.nx-clinic-out { align-self: flex-end; background: #d9fdd3; padding: 8px 16px; border-top-right-radius: 4px; }
.is-armed .nx-clinic-in, .is-armed .nx-clinic-out { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.is-armed .nx-clinic-in.is-on, .is-armed .nx-clinic-out.is-on { opacity: 1; transform: none; }
@media (max-width: 859px) { .nx-clinic-table { font-size: 14.5px; } .nx-clinic-table th, .nx-clinic-table td { padding-left: 12px; padding-right: 10px; } .nx-clinic-table th:first-child, .nx-clinic-table td:first-child { width: 26%; } .nx-clinic-table th:last-child, .nx-clinic-table td:last-child { width: 28%; } .nx-clinic-chat { min-height: 190px; } }

/* Write your own automation, and the short lead form. */
.nx-clinic-list li.nx-clinic-own { display: flex; align-items: center; gap: 14px; padding: 7px 0; }
@media (min-width: 900px) { .nx-clinic-list li.nx-clinic-own { grid-column: 1 / -1; } }
.nx-clinic-own svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.nx-clinic-own input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; font: 400 17px/25px var(--font-text); color: var(--ink); outline-offset: 2px; }
.nx-clinic-own input::placeholder { color: var(--ink-2); }
.nx-clinic-dlg { width: min(420px, calc(100vw - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.nx-clinic-dlg::backdrop { background: rgb(17 24 39 / 40%); }
.nx-clinic-dlg-h { margin: 0 0 18px; font: 400 28px/34px var(--font-display); color: var(--ink); }
.nx-clinic-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.nx-clinic-f { display: block; margin: 12px 0 6px; font: 500 15px/20px var(--font-text); color: var(--ink); }
.nx-clinic-dlg input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: 400 16px/22px var(--font-text); color: var(--ink); background: #fff; }
.nx-clinic-err { margin: 8px 0 0; font: 400 15px/20px var(--font-text); color: #b42318; }
.nx-clinic-send { width: 100%; margin-top: 20px; }

/* Owner, 11 Nov 2026 (Website 24): the sheet "really lacks any depth, and it is matching with the background a bit too much.
   So maybe having sharper boundaries". Crisper edge, a layered shadow, a grey title bar and header row, firmer grid lines. */
.nx-clinic-sheet, .nx-clinic-phone { border-color: rgb(17 24 39 / 14%); box-shadow: 0 1px 2px rgb(17 24 39 / 6%), 0 10px 24px -10px rgb(17 24 39 / 16%), 0 40px 80px -36px rgb(17 24 39 / 30%); }
.nx-clinic-sheet-top { background: #f4f5f7; border-bottom-color: rgb(17 24 39 / 12%); }
.nx-clinic-table th { background: #fafafb; color: #5b5f66; border-bottom-color: rgb(17 24 39 / 12%); }
.nx-clinic-table td { border-bottom-color: #e7e8eb; }
.nx-clinic-table th + th, .nx-clinic-table td + td { border-left-color: #e7e8eb; }
