/* KMAND guide, legal and 404 pages: the homepage's paper, ink and red, set for reading.
   Fonts are self-hosted; the CSP allows no inline styles or scripts. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2?v=48deb9abc3") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono.woff2?v=733d9fc04f") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2?v=5eb09b5ac0") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2?v=5a51946dff") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Until Instrument Serif arrives, headings use Times New Roman (or its metric twin, Liberation Serif) resized to the same
   widths (median of the site's headings) and line box, so a heading wraps the same way before and after the swap and the page does not jump. */
@font-face { font-family: "KMAND Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 103.84%; ascent-override: 96.78%; descent-override: 28.41%; line-gap-override: 0%; }
@font-face { font-family: "KMAND Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("LiberationSerif");
  font-style: normal; size-adjust: 82.5%; ascent-override: 120%; descent-override: 37.6%; line-gap-override: 0%; }
@font-face { font-family: "KMAND Serif Fallback"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"), local("LiberationSerif-Italic");
  font-style: italic; size-adjust: 87.3%; ascent-override: 113.4%; descent-override: 35.5%; line-gap-override: 0%; }
:root {
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --card: #fdfbf7;
  --ink: #1b1814;
  --ink-2: #26221d;
  --soft: #5c554b;
  --line: #e2dacb;
  --line-2: #d4c9b5;
  --red: #ff2e41;
  --red-ink: #d70f2a;
  --red-deep: #b00d24;
  --red-on-ink: #ff6b78;
  --peach: 232 122 88;
  --peach-soft: #f6d9c9;
  --sand: #f1dcb5;
  --sky: #d6e2f3;
  --moss: #cfe3cf;
  --lilac: #e4dcf1;
  --on-ink: rgb(246 242 234 / .66);
  --f-sans: "Geist", "KMAND Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", "KMAND Serif Fallback", "Iowan Old Style", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 400 16px/1.5 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3, p { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
.nw { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 12px; }
.page { overflow-x: clip; position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }

/* Keycaps */
.key { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px 3px; border-radius: 14px; border: 0; cursor: pointer;
  font: 500 15.5px/1 var(--f-sans); text-decoration: none; white-space: nowrap; background: var(--ink); color: var(--paper);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12), 0 10px 20px -12px rgba(27,24,20,.6);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.5), 0 4px 10px -8px rgba(27,24,20,.6); }
.key.light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -4px 0 var(--line), 0 10px 20px -14px rgba(27,24,20,.35); }
.key.red { background: var(--red); color: var(--ink); box-shadow: inset 0 -4px 0 var(--red-deep), inset 0 1px 0 rgba(255,255,255,.25), 0 12px 24px -12px rgba(215,15,42,.6); }
.key.sm { height: 42px; padding: 0 16px 3px; font-size: 14.5px; border-radius: 12px; }
.key.big { height: 58px; padding: 0 28px 4px; font-size: 16.5px; border-radius: 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgba(0,0,0,.5); flex: none; }
.links { display: flex; gap: 30px; font-size: 15px; color: var(--soft); }
.links a { text-decoration: none; }
.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-end .signin { font-size: 15px; text-decoration: none; color: var(--soft); }
.foot { margin-top: 90px; padding: 26px 0 40px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; color: var(--soft); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { text-decoration: none; }
/* The footer's site map: a column per hub above the brand row (server/site.mjs siteMap). */
.foot .foot-map { order: -1; flex: 1 0 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 24px; padding: 6px 0 36px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.foot-col { min-width: 0; }
.foot-col .foot-head { display: block; margin-bottom: 14px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col li { margin: 0; padding: 0; }
.foot-col li a { color: var(--soft); font-size: 14px; line-height: 1.35; }
.foot-col a:hover { color: var(--ink); }
@media (max-width: 960px) { .foot .foot-map { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot .foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }

/* Reading column */
.doc-main { padding: clamp(56px, 8vw, 96px) 0 24px; }
.doc-main .col { max-width: 760px; margin: 0 auto; }
.doc-main h1 { font: 400 clamp(46px, 7vw, 76px)/.98 var(--f-serif); letter-spacing: -.025em; text-wrap: balance; }
.doc-main h2 { margin-top: 56px; font: 400 clamp(30px, 3.6vw, 38px)/1.08 var(--f-serif); letter-spacing: -.015em; scroll-margin-top: 24px; }
.doc-main h3 { margin-top: 30px; font: 600 18px/1.35 var(--f-sans); letter-spacing: -.01em; }
.doc-main h2 + p, .doc-main h3 + p, .doc-main h2 + ul, .doc-main h3 + ul, .doc-main h2 + ol, .doc-main h2 + .table, .doc-main h3 + .table { margin-top: 14px; }
.doc-main p, .doc-main li { font-size: 17px; line-height: 1.68; color: #2e2924; text-wrap: pretty; }
.doc-main p + p, .doc-main ul + p, .doc-main ol + p, .doc-main p + ul, .doc-main p + ol, .doc-main .table + p { margin-top: 14px; }
.doc-main strong, .doc-main b { font-weight: 600; color: var(--ink); }
.doc-main a:not(.key) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.doc-main a:not(.key):hover { color: var(--red-ink); }
.doc-main ul { display: grid; gap: 8px; }
.doc-main ul > li { position: relative; padding-left: 22px; }
.doc-main ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.doc-main ol { display: grid; gap: 8px; counter-reset: n; }
.doc-main ol > li { position: relative; padding-left: 34px; counter-increment: n; }
.doc-main ol > li::before { content: counter(n); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-mono); box-shadow: inset 0 -2px 0 rgba(0,0,0,.5); }
.doc-main code { font: 500 .86em var(--f-mono); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.doc-main blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--red); }
.doc-main hr { border: 0; border-top: 1px solid var(--line-2); margin: 40px 0; }
.doc-main .meta { margin-top: 18px; color: var(--soft); font: 400 13px/1.4 var(--f-mono); letter-spacing: .02em; }
.lede { margin-top: 26px; font-size: 20px !important; line-height: 1.55 !important; color: var(--ink) !important; }
/* /get on a phone and /welcome after install: a row of keys, the address to type, and steps with small Chrome icons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
/* Phones: one full-width button per row, so a late font can't re-wrap the row and move the page. */
@media (max-width: 560px) { .cta-row { flex-direction: column; } .cta-row .key { text-align: center; } }
.doc-main .addr { display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); font: 500 1.05em var(--f-mono); letter-spacing: .01em; }
.doc-main ol.steps { gap: 18px; margin-top: 26px; }
.doc-main ol.steps > li { font-size: 18px; }
.ico { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.25em; margin: 0 1px; padding: 2px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Legal pages: the approved text, untouched, in the reading column */
.legal article > p:first-of-type { margin-top: 18px; display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font: 400 13px/1.4 var(--f-mono); color: var(--soft); }
.legal article > p:first-of-type strong { color: var(--soft); font-weight: 500; }
.legal article > h1 + p + p { margin-top: 26px; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px !important; counter-reset: none; font: 400 12.5px/1.4 var(--f-mono); color: var(--soft); }
.crumbs ol > li { padding: 0 !important; font: inherit !important; color: inherit !important; }
.crumbs ol > li::before { content: none !important; }
.crumbs li + li::before { content: "/" !important; position: static !important; display: inline !important; width: auto !important; height: auto !important; background: none !important; box-shadow: none !important; margin-right: 6px; color: var(--line-2) !important; font: inherit !important; }
.crumbs a { color: var(--soft) !important; text-decoration: none !important; }
.crumbs a:hover { color: var(--ink) !important; }

/* Draft banner (review builds only) */
.draft-banner { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 36px; padding: 16px 18px; border-radius: 16px; background: var(--sand); color: #5a3d00; font-size: 15px; }
.draft-banner b { flex: none; padding: 4px 8px; border-radius: 6px; background: #5a3d00; color: var(--sand); font: 500 12px/1.2 var(--f-mono); letter-spacing: .08em; }

/* Tables: a card; on a phone each row becomes a card with its column names */
.table { margin: 18px 0 8px; overflow-x: auto; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -30px rgba(27,24,20,.35); }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #2e2924; }
.table th { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); background: var(--paper-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child, .crm-table td:last-child { white-space: nowrap; }
.crm-table td:first-child { white-space: normal; }
@media (max-width: 560px) {
  .table { box-shadow: none; background: none; overflow: visible; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table table, .table tbody, .table tr, .table td { display: block; }
  .table tr { margin-bottom: 10px; padding: 6px 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .table td { border: 0; padding: 6px 16px; white-space: normal !important; }
  .table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
}

/* Hub lists (guides) */
.doc-main ul.hub { margin-top: 26px; gap: 12px; }
.doc-main ul.hub > li { padding: 0; }
.doc-main ul.hub > li::before { content: none; }
.hub a { display: grid; gap: 6px; padding: 22px 24px; border-radius: 20px; background: var(--card); text-decoration: none !important; box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -26px rgba(27,24,20,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hub a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 22px 40px -26px rgba(27,24,20,.5); color: var(--ink) !important; }
.hub b { font: 400 26px/1.1 var(--f-serif); letter-spacing: -.01em; }
.hub span { color: var(--soft); font-size: 15px; }
.empty { margin-top: 24px; color: var(--soft) !important; }

/* How it works: the video course (server/course.mjs) */
.ep-index { display: grid; margin-top: 30px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -26px rgba(27,24,20,.4); overflow: hidden; }
.ep-index a { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: baseline; gap: 12px; padding: 14px 20px; text-decoration: none !important; color: var(--ink) !important;
  border-top: 1px solid var(--line); transition: background .2s var(--ease); }
.ep-index a:first-child { border-top: 0; }
.ep-index a:hover { background: var(--paper-2); }
.ep-num { font: 500 13px/1 var(--f-mono); color: var(--red-ink); letter-spacing: .04em; }
.ep-name { font: 400 21px/1.2 var(--f-serif); letter-spacing: -.005em; }
.ep-len { font: 500 12.5px/1 var(--f-mono); color: var(--soft); }
.ep { margin-top: 84px; scroll-margin-top: 24px; }
.doc-main .ep h2 { margin-top: 8px; }
.ep-kicker { display: flex; gap: 14px; margin: 0 !important; font: 500 12.5px/1.4 var(--f-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--soft) !important; }
.ep-kicker span:first-child { color: var(--red-ink); }
.doc-main .ep-promise { margin-top: 10px; font-size: 18.5px; }
.ep-frame { position: relative; margin-top: 22px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 50px -34px rgba(27,24,20,.7); }
.ep-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.ep-card { display: grid; align-content: end; gap: 10px; padding: clamp(20px, 4vw, 36px); color: var(--paper); isolation: isolate; }
.ep-card::before { content: ""; position: absolute; z-index: -1; right: -20%; bottom: -55%; width: 90%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 46 65 / .42), rgb(232 122 88 / .14) 55%, transparent); }
.ep-card span { font: 500 clamp(13px, 1.6vw, 15px)/1 var(--f-mono); letter-spacing: .1em; color: var(--red-on-ink); }
.doc-main .ep-card b { max-width: 16ch; font: 400 clamp(30px, 5.4vw, 52px)/1.02 var(--f-serif); letter-spacing: -.015em; color: var(--paper); }
.ep-try { margin-top: 18px; padding: 16px 20px 18px; border-radius: 16px; background: var(--paper-2); }
.ep-try span { display: block; font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.doc-main .ep-try p { margin-top: 6px; font-size: 17px; color: var(--ink); }
.ep-cta { margin-top: 18px; }
@media (max-width: 560px) { .ep-index a { padding: 13px 16px; } .ep-name { font-size: 19px; } .ep { margin-top: 64px; } .ep-cta .key { display: flex; width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ep-index a { transition: none; } }

/* CRM status chips, key and banner */
.st { display: inline-block; padding: 3px 9px; border-radius: 99px; font: 500 11.5px/1.5 var(--f-mono); letter-spacing: .02em; white-space: nowrap; }
.st-available { background: #e6f6ec; color: #135c35; }
.st-in_testing { background: #fbf0d8; color: #6b4300; }
.st-beta { background: #e4ecfb; color: #1f3f86; }
.st-not_supported { background: #ffe8ea; color: #9c0f22; }
.st-planned { background: var(--paper-2); color: var(--soft); }
.doc-main ul.st-key { margin-top: 18px; gap: 8px; font-size: 15px; }
.doc-main ul.st-key > li { padding-left: 0; }
.doc-main ul.st-key > li::before { content: none; }
.st-key .st { margin-right: 8px; min-width: 9.5em; text-align: center; }
.crm-banner { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 8px; padding: 16px 18px; border-radius: 16px; font-size: 15px; }
.crm-banner b { flex: none; padding: 4px 8px; border-radius: 6px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.st-beta-bg { background: #eef3fc; color: #1f3f86; } .st-beta-bg b { background: #1f3f86; color: #eef3fc; }
.st-available-bg { background: #ecf7f0; color: #135c35; } .st-available-bg b { background: #135c35; color: #ecf7f0; }

/* Early offer: a quiet card right after a page's answer, before its first section (Emris, 25 Nov) */
.ask { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 30px 0 4px; padding: 18px 18px 18px 24px; border-radius: 20px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 32px -26px rgba(27,24,20,.5); }
.doc-main .ask p { margin: 0; max-width: 44ch; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.ask p b { display: block; margin-bottom: 2px; color: var(--ink); font: 400 23px/1.15 var(--f-serif); letter-spacing: -.005em; }
.ask .key { flex: none; }

/* Closing prompt: a small ink card, like the homepage's close */
.next { position: relative; overflow: hidden; margin-top: 64px; padding: 34px 34px 32px; border-radius: 28px; background: var(--ink); color: var(--paper); isolation: isolate; }
.next::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 120%; height: 120%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 46 65 / .38), rgb(232 122 88 / .14) 55%, transparent); }
.next p { max-width: 30ch; color: var(--paper) !important; font: 400 clamp(26px, 3.2vw, 34px)/1.12 var(--f-serif) !important; letter-spacing: -.01em; }
.next-keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.next .key.light { box-shadow: inset 0 -4px 0 var(--line-2); }

/* Footer: the homepage's, with the explore links */
.doc .foot { margin-top: 110px; }

@media (max-width: 820px) { .links { display: none; } }
@media (max-width: 640px) {
  .nav-end .signin { display: none; }
  .doc-main p, .doc-main li { font-size: 16.5px; }
  .next { padding: 28px 22px 24px; border-radius: 24px; }
  .next-keys .key { width: 100%; }
  .ask { flex-direction: column; align-items: stretch; padding: 18px 18px 18px 20px; }
  .doc-main .ask p { font-size: 15.5px; }
  .ask .key { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hub a, .key { transition: none; } }

/* /welcome (Emris, funnel test 25 Nov: more visual, still simple): each step with a small drawing of what to look for. */
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0 !important; }
.wl-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px !important; font-weight: 550; color: var(--soft); }
.wl-chip.ok { background: var(--moss); border-color: transparent; color: var(--ink); }
.wl-chip svg { width: 15px; height: 15px; }
.doc-main ol.wl-steps { list-style: none; padding: 0; margin-top: 30px; gap: 14px; counter-reset: wl; }
.doc-main ol.wl-steps > li { counter-increment: wl; position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: center; padding: 22px 22px 22px 64px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 36px -30px rgba(27,24,20,.45); font-size: 17px; line-height: 1.55; }
.doc-main ol.wl-steps > li::before { content: counter(wl); position: absolute; left: 20px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--f-sans); box-shadow: inset 0 -3px 0 #000; }
.wl-pic { position: relative; display: flex; align-items: center; justify-content: center; min-height: 112px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.wl-bar { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.wl-dots { display: flex; gap: 4px; } .wl-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.wl-url { flex: 1; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--paper); font: 12px/22px var(--f-mono); color: var(--soft); white-space: nowrap; overflow: hidden; }
.wl-tool { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.wl-tool .ico { margin: 0; background: none; border: 0; padding: 0; width: 18px; height: 18px; }
.wl-k { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); }
.wl-k svg { width: 13px; height: 13px; }
.wl-tool.wl-k { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--red); }
.wl-tip { position: absolute; right: 12px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 600 11px/18px var(--f-sans); }
.wl-win { display: grid; grid-template-columns: 1fr 86px; width: 100%; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.wl-crm { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.wl-crm i { height: 7px; border-radius: 4px; background: var(--line); } .wl-crm i.h { width: 55%; height: 9px; background: var(--line-2, #d6ccb9); } .wl-crm i:nth-child(3) { width: 80%; } .wl-crm i:nth-child(5) { width: 65%; }
.wl-side { display: flex; flex-direction: column; gap: 6px; padding: 9px; background: var(--ink); }
.wl-side .wl-k { width: 20px; height: 20px; background: #2a2622; } .wl-side .wl-k svg { width: 11px; height: 11px; }
.wl-side i { height: 6px; border-radius: 3px; background: #3a352f; } .wl-side i:nth-of-type(2) { width: 70%; }
.wl-side b { margin-top: auto; height: 16px; border-radius: 6px; border: 1px solid #4a443c; }
.wl-ask { display: flex; align-items: flex-end; gap: 10px; width: 100%; padding: 12px 10px 10px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13.5px; line-height: 1.45; }
.wl-ask span { flex: 1; }
.wl-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--red); animation: wl-blink 1.1s steps(1) infinite; }
@keyframes wl-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wl-caret { animation: none; } }
.wl-send { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red-ink); }
.wl-send svg { width: 15px; height: 15px; }
.doc-main h2.wl-h { margin-top: 48px; }
.wl-more { margin-top: 12px !important; font-size: 15px !important; color: var(--soft); }
@media (max-width: 720px) {
  .doc-main ol.wl-steps > li { grid-template-columns: 1fr; gap: 14px; padding: 18px 18px 18px 58px; font-size: 16.5px; }
  .doc-main ol.wl-steps > li::before { left: 16px; top: 18px; margin-top: 0; }
  .wl-pic { margin-left: -40px; }
}

/* After removal (/bye): one tap per reason, then the answer and "Add KMAND back". */
.bye-reasons { display: grid; gap: 10px; margin: 26px 0 12px; max-width: 460px; }
.bye-reasons .key { justify-content: flex-start; height: auto; min-height: 50px; padding: 12px 18px 15px; text-align: left; font-size: 15.5px; line-height: 1.3; }
.bye-crm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 12px; }
.bye-crm label { flex-basis: 100%; font-weight: 600; }
.bye-crm select { height: 42px; min-width: 220px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; }
.bye-note { font-size: 14px; color: var(--soft); }
