/*
 * Sneaky on WhatsApp (/whatsapp/, /whatsapp/link/), redesigned 18 Nov 2026 on the Sneaky Line base (brand/assets/sl-base.css:
 * tokens, type, buttons, nodes, the three-stop line, the checklist). Mobile first; every rule is scoped to the page.
 */
body.sh-sl .sh-wa-page { background: linear-gradient(180deg, #fbfdfe 0, #fff 420px); }
body.sh-sl .sh-wa-wrap { width: min(1080px, 100% - 2 * var(--sl-gutter)); margin-inline: auto; display: grid; gap: clamp(20px, 2.6vw, 28px); padding-block: clamp(8px, 2vw, 20px) clamp(56px, 7vw, 96px); }
body.sh-sl .sh-wa-h2 { font: 800 clamp(1.3rem, 1.05rem + .9vw, 1.75rem)/1.14 var(--sl-display); letter-spacing: -.022em; color: var(--sl-ink); text-wrap: balance; }
body.sh-sl .sh-wa-h3 { display: flex; align-items: center; gap: 10px; font: 750 18px/1.3 var(--sl-display); color: var(--sl-ink); }
body.sh-sl .sh-wa-h3 .sl-i { width: 22px; height: 22px; color: var(--sl-teal); }

/* masthead: the chat preview shows beside the title on wide screens only */
body.sh-sl .sh-wa-mast .sl-mast-stage { display: none; }
@media (min-width: 900px) { body.sh-sl .sh-wa-mast .sl-mast-stage { display: block; } }
body.sh-sl .sh-wa-phone { width: min(360px, 100%); margin-inline: auto; padding: 14px; border-radius: 34px; background: #fff; border: 1px solid var(--sl-line-soft); box-shadow: var(--sl-shadow-lift); transform: rotate(-1.5deg); }
body.sh-sl .sh-wa-phone-top { display: flex; align-items: center; gap: 12px; padding: 6px 8px 12px; border-bottom: 1px solid var(--sl-line-soft); }
body.sh-sl .sh-wa-phone-top strong { display: block; font: 750 15px/1.2 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-phone-top small { display: block; font: 600 12.5px/1.3 var(--sl-text); color: var(--sl-muted); }
body.sh-sl .sh-wa-phone-face { --sl-ns: 38px; box-shadow: none; }
body.sh-sl .sh-wa-phone-chat { display: grid; gap: 10px; padding: 16px 6px 8px; }
body.sh-sl .sh-wa-bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--sl-sky-soft); color: var(--sl-ink); font: 500 14.5px/1.45 var(--sl-text); justify-self: start; }
body.sh-sl .sh-wa-bubble--me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--sl-teal); color: #fff; }

/* notices */
body.sh-sl .sh-wa-notice { margin: 0; padding: 14px 18px; border-radius: 16px; font: 650 16px/1.45 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-notice--ok { background: var(--sl-assess-wash); box-shadow: inset 4px 0 0 var(--sl-teal); }
body.sh-sl .sh-wa-notice--error { background: var(--sl-rose-soft); box-shadow: inset 4px 0 0 var(--sl-plum); color: var(--sl-plum-deep); }

/* the status card */
body.sh-sl .sh-wa-status { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(22px, 3.2vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--sl-line-soft); box-shadow: var(--sl-shadow-lift); overflow: hidden; }
body.sh-sl .sh-wa-status::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--sl-grad); }
body.sh-sl .sh-wa-status--linked { background: linear-gradient(115deg, var(--sl-assess-wash) 0%, #fff 55%); }
body.sh-sl .sh-wa-status--reauth { background: linear-gradient(115deg, var(--sl-learn-wash) 0%, #fff 55%); }
body.sh-sl .sh-wa-status--none, body.sh-sl .sh-wa-status--code { background: linear-gradient(115deg, var(--sl-sky-soft) 0%, #fff 55%); }
body.sh-sl .sh-wa-status-node { --sl-ns: 56px; }
body.sh-sl .sh-wa-status-body { display: grid; gap: 10px; justify-items: start; min-width: 0; }
body.sh-sl .sh-wa-status-body > * { max-width: 100%; }
body.sh-sl .sh-wa-status-text { max-width: 60ch; font-size: 16.5px; line-height: 1.55; color: var(--sl-copy); }
body.sh-sl .sh-wa-status .sl-actions { margin-top: 6px; }
@media (min-width: 640px) { body.sh-sl .sh-wa-status { grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; } }

/* pills: words, never colour alone */
body.sh-sl .sh-wa-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: #eef3f6; color: var(--sl-copy); font: 800 12.5px/1 var(--sl-text); letter-spacing: .08em; text-transform: uppercase; }
body.sh-sl .sh-wa-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body.sh-sl .sh-wa-pill--on { background: var(--sl-assess-wash); color: var(--sl-teal-deep); }
body.sh-sl .sh-wa-pill--wait { background: var(--sl-learn-wash); color: var(--sl-learn-ink); }

/* the code */
body.sh-sl .sh-wa-codebox { display: grid; gap: 12px; justify-items: start; width: 100%; padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; background: #fff; border: 1.5px dashed var(--sl-line); }
body.sh-sl .sh-wa-codelead { font: 650 15.5px/1.45 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-code { font: 800 clamp(1.9rem, 1.3rem + 3vw, 2.75rem)/1.05 var(--sl-display); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--sl-ink); overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }

/* how it works */
body.sh-sl .sh-wa-section { display: grid; gap: 18px; padding-top: 6px; }
body.sh-sl .sh-wa-steps .sl-next-title { font-size: 17.5px; }
body.sh-sl .sh-wa-steps .is-now .sl-node { box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--sl-sky), 0 12px 24px -12px rgba(11, 58, 70, .5); }

/* cards */
body.sh-sl .sh-wa-grid { display: grid; gap: clamp(18px, 2.4vw, 24px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { body.sh-sl .sh-wa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.sh-sl .sh-wa-card { display: grid; gap: 14px; align-content: start; min-width: 0; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--sl-line-soft); box-shadow: var(--sl-shadow-card); scroll-margin-top: 120px; }
body.sh-sl .sh-wa-card form { display: grid; gap: 12px; min-width: 0; }
body.sh-sl .sh-wa-cardhead { display: flex; align-items: center; gap: 14px; }
body.sh-sl .sh-wa-cardhead > div { display: grid; gap: 8px; min-width: 0; }
body.sh-sl .sh-wa-cardnode { --sl-ns: 48px; box-shadow: 0 0 0 4px #fff, 0 10px 20px -12px rgba(11, 58, 70, .5); }
body.sh-sl .sh-wa-connect { max-width: 760px; }
body.sh-sl .sh-wa-consent { gap: 9px; }
body.sh-sl .sh-wa-consent li { color: var(--sl-copy); }
body.sh-sl .sh-wa-health.is-on { border-color: var(--sl-ring); box-shadow: inset 0 4px 0 var(--sl-helpers), var(--sl-shadow-card); }
body.sh-sl .sh-wa-health-consent { padding: 16px; border-radius: 18px; background: var(--sl-rose-soft); }
body.sh-sl .sh-wa-agreed { margin: 12px 0; }
body.sh-sl .sh-wa-agreed > summary { cursor: pointer; font-weight: 600; }
body.sh-sl .sh-wa-agreed > summary:focus-visible { outline: 2px solid var(--sl-ring); outline-offset: 2px; border-radius: 6px; }
body.sh-sl .sh-wa-agreed .sh-wa-consent { margin-top: 10px; }

/* choices: switch rows (a real checkbox, keyboard and screen-reader friendly) */
body.sh-sl .sh-wa-choices { display: grid; gap: 10px; min-width: 0; margin: 4px 0 0; padding: 0; border: 0; }
body.sh-sl .sh-wa-choices legend { margin-bottom: 8px; padding: 0; font: 750 15px/1.3 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-switch, body.sh-sl .sh-wa-always { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--sl-line-soft); background: #fff; }
body.sh-sl .sh-wa-switch { cursor: pointer; }
body.sh-sl .sh-wa-switch:hover { border-color: var(--sl-line); }
body.sh-sl .sh-wa-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
body.sh-sl .sh-wa-switch-ui { position: relative; flex: none; width: 50px; height: 30px; margin-top: 1px; border-radius: 999px; background: #c5d4de; box-shadow: inset 0 1px 2px rgba(18, 44, 58, .18); transition: background .18s var(--sl-ease); }
body.sh-sl .sh-wa-switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(18, 44, 58, .3); transition: transform .18s var(--sl-ease); }
body.sh-sl .sh-wa-switch input:checked + .sh-wa-switch-ui { background: var(--sl-teal); }
body.sh-sl .sh-wa-switch input:checked + .sh-wa-switch-ui::after { transform: translateX(20px); }
body.sh-sl .sh-wa-switch input:focus-visible + .sh-wa-switch-ui { outline: 2px solid var(--sl-ink); outline-offset: 3px; }
body.sh-sl .sh-wa-switch:has(input:checked) { border-color: #b9dcd6; background: #f6fbfa; }
body.sh-sl .sh-wa-switch.is-disabled { opacity: .55; cursor: not-allowed; }
body.sh-sl .sh-wa-switch-text, body.sh-sl .sh-wa-always > span { display: grid; gap: 3px; min-width: 0; }
body.sh-sl .sh-wa-switch-text strong, body.sh-sl .sh-wa-always strong { font: 700 16px/1.3 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-switch-text small, body.sh-sl .sh-wa-always small { font: 400 14.5px/1.45 var(--sl-text); color: var(--sl-muted); }
body.sh-sl .sh-wa-always { background: var(--sl-sky-soft); border-color: transparent; }
body.sh-sl .sh-wa-always > .sl-i { width: 22px; height: 22px; margin: 4px 14px 0 14px; color: var(--sl-teal); }

/* the agreement tick */
body.sh-sl .sh-wa-agree { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--sl-sky-soft); font: 700 16px/1.35 var(--sl-text); color: var(--sl-ink); cursor: pointer; }
body.sh-sl .sh-wa-agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sl-teal); cursor: pointer; }

/* language */
body.sh-sl .sh-wa-field { display: grid; gap: 6px; max-width: 380px; }
body.sh-sl .sh-wa-field > span { font: 700 14.5px/1.3 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--sl-line); border-radius: 14px; background: #fff; font: 500 16px/1.2 var(--sl-text); color: var(--sl-ink); }
body.sh-sl .sh-wa-field select:focus-visible { border-color: var(--sl-teal); }

/* commands */
body.sh-sl .sh-wa-cmds { display: grid; gap: 12px; margin: 0; }
body.sh-sl .sh-wa-cmds > div { display: grid; gap: 4px; }
body.sh-sl .sh-wa-cmds dt { width: fit-content; max-width: 100%; padding: 5px 11px; border-radius: 10px; background: #eef3f6; font: 750 14.5px/1.3 var(--sl-text); color: var(--sl-ink); overflow-wrap: anywhere; }
body.sh-sl .sh-wa-cmds dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--sl-copy); }

/* the connected number */
body.sh-sl .sh-wa-number { display: grid; gap: 4px; font: 800 26px/1.1 var(--sl-display); letter-spacing: .02em; color: var(--sl-ink); font-variant-numeric: tabular-nums; }
body.sh-sl .sh-wa-number small { font: 600 14px/1.3 var(--sl-text); letter-spacing: 0; color: var(--sl-muted); }

/* privacy, briefly */
body.sh-sl .sh-wa-privacy { display: grid; gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: linear-gradient(180deg, #f6fbfd, #eef7fb); border: 1px solid var(--sl-line-soft); }
body.sh-sl .sh-wa-privacy-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.sh-sl .sh-wa-privacy-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.5; color: var(--sl-copy); }
body.sh-sl .sh-wa-privacy-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sl-sky); }

@media (max-width: 479px) {
	body.sh-sl .sh-wa-switch, body.sh-sl .sh-wa-always { padding: 12px 14px; gap: 12px; }
	body.sh-sl .sh-wa-number { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	body.sh-sl .sh-wa-switch-ui, body.sh-sl .sh-wa-switch-ui::after { transition: none; }
	body.sh-sl .sh-wa-phone { transform: none; }
}
/* The open gate (21 Nov 2026): the page for a visitor without an account. */
body.sh-sl .sh-wa-public-list { margin: 12px 0 20px; padding-left: 1.2em; display: grid; gap: 8px; font: 500 16px/1.5 var(--sl-text); color: var(--sl-ink); }
