/* Kinly Help. Same warm look as the app. No inline styles anywhere (the security rules block them): use these classes. */
:root {
  --bg: #FBF7F2; --surface: #FFFFFF; --surface2: #F3EDE5; --ink: #26222E; --ink2: #6F6878; --line: #E9E1D6;
  --accent: #FF6B3D; --accent-soft: #FFE6DC; --accent-text: #C2410C; --good: #1FA971; --tip: #FFF6C9; --tip-ink: #5C4A00;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17151C; --surface: #221F29; --surface2: #2B2734; --ink: #F3F0F7; --ink2: #A9A2B6; --line: #34303D;
    --accent: #FF7E54; --accent-soft: #3D2A26; --accent-text: #FF9B7A; --tip: #3A3320; --tip-ink: #F5E7A8; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(820px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--ink2); } .small { font-size: 14px; }
.staging { background: #6D28D9; color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 4px; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 12px; padding: 10px 0; width: min(1000px, 100% - 32px); }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 18px; white-space: nowrap; }
.logo img { border-radius: 9px; } .logo b { font-weight: 800; }
.search { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.16); max-height: 60vh; overflow: auto; padding: 6px; }
.results a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.results a:hover, .results a:focus { background: var(--surface2); outline: none; }
.results b { display: block; } .results span { font-size: 14px; color: var(--ink2); }
.results p { margin: 0; padding: 10px 12px; color: var(--ink2); font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 12px; font-weight: 750; text-decoration: none; background: var(--surface2); color: var(--ink); white-space: nowrap; }
.btn.primary { background: var(--accent); color: #fff; }
@media (max-width: 560px) { .top .btn { display: none; } .logo span { font-size: 16px; } }

.hero { text-align: center; padding: 36px 0 8px; } .hero h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 6px; } .hero p { margin: 0; color: var(--ink2); }
.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding: 24px 0 40px; }
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.sec h2 { margin: 0; font-size: 19px; } .sec h2 a { color: var(--ink); text-decoration: none; } .sec p { margin: 4px 0 10px; font-size: 15px; }
.links { list-style: none; margin: 0; padding: 0; } .links li { padding: 3px 0; font-size: 16px; }
.more { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 700; }
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--ink2); } .crumbs a { color: var(--ink2); }
h1 { font-size: clamp(26px, 5.5vw, 36px); line-height: 1.2; margin: 14px 0 8px; }
.lead { font-size: 19px; color: var(--ink2); margin: 0 0 18px; }
.cards { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 10px; }
.cards a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; color: var(--ink); text-decoration: none; }
.cards a:hover { border-color: var(--accent); } .cards b { display: block; } .cards span { color: var(--ink2); font-size: 15px; }

/* ── An article ── */
.doc h2 { font-size: 23px; margin: 34px 0 8px; line-height: 1.25; scroll-margin-top: 80px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.for { font-size: 14px; color: var(--ink2); background: var(--surface2); display: inline-block; padding: 4px 12px; border-radius: 999px; }
/* Numbered steps: <ol class="steps"> */
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 2px 0 10px 46px; margin: 0; min-height: 40px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
/* The name of something on screen: <b class="ui">Add all to the menu</b> */
.ui { font-weight: 750; background: var(--surface2); border: 1px solid var(--line); border-radius: 7px; padding: 1px 7px; white-space: nowrap; font-size: .94em; }
/* Callouts: <p class="tip">, <p class="note">, <p class="warn"> */
.tip, .note, .warn { border-radius: 14px; padding: 12px 16px 12px 46px; position: relative; }
.tip::before, .note::before, .warn::before { position: absolute; left: 14px; top: 11px; font-size: 20px; }
.tip { background: var(--tip); color: var(--tip-ink); } .tip::before { content: "💡"; }
.note { background: var(--surface2); } .note::before { content: "ℹ️"; }
.warn { background: var(--accent-soft); } .warn::before { content: "⚠️"; }
/* Screenshots: <figure class="shot"> (add "phone" for a tall phone picture) */
.shot { margin: 18px 0 22px; text-align: center; }
.shot img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(60,40,20,.12); background: var(--surface); }
.shot.phone img { max-width: min(320px, 100%); border-radius: 26px; }
.shot figcaption { font-size: 14px; color: var(--ink2); margin-top: 8px; }
/* Questions: <details class="q"><summary>…</summary>…</details> */
.q { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.q summary { font-weight: 750; cursor: pointer; } .q[open] summary { margin-bottom: 8px; } .q > :last-child { margin-bottom: 0; }
.doc table { border-collapse: collapse; width: 100%; margin-bottom: 16px; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.open { margin-top: 26px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 34px 0 0; }
.pager a { flex: 1; max-width: 48%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; color: var(--ink); text-decoration: none; font-weight: 700; }
.pager a.next { text-align: right; margin-left: auto; } .pager small { display: block; color: var(--ink2); font-weight: 400; }
.also { margin: 30px 0 40px; } .also h2 { font-size: 17px; margin: 0 0 6px; }
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 0 30px; margin-top: 30px; font-size: 15px; color: var(--ink2); } .foot p { margin: 0 0 8px; }

/* ── Home: the big question box ── */
.hero h1 label { cursor: text; }
.ask { display: flex; gap: 8px; margin: 18px auto 0; max-width: 640px; }
.ask input { flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 15px 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: 0 6px 22px rgba(60,40,20,.08); }
.ask input:focus { outline: none; border-color: var(--accent); }
.ask .btn { border: 0; font: inherit; font-weight: 750; cursor: pointer; padding: 0 22px; border-radius: 16px; }
@media (max-width: 480px) { .ask .btn { display: none; } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.chips a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--accent); }
.answers { max-width: 680px; margin: 22px auto 0; }
.answers h2 { font-size: 16px; color: var(--ink2); margin: 22px 0 8px; }
.answers > a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; color: var(--ink); text-decoration: none; }
.answers > a:hover { border-color: var(--accent); }
.answers > a b, .results a b { display: block; } .answers > a span { color: var(--ink2); font-size: 15px; }
.answers small, .results small { display: block; color: var(--ink2); font-size: 13px; margin-top: 2px; }
.answers > a.best { border: 2px solid var(--accent); padding: 16px 18px; } .answers > a.best b { font-size: 19px; }
.instant { background: var(--surface); border: 2px solid var(--accent); border-radius: 16px; padding: 16px 18px; }
.instant small { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--accent-text); }
.instant b { display: block; font-size: 19px; margin: 2px 0 6px; } .instant p { margin: 0 0 10px; } .instant a { font-weight: 700; }
.none { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.none p { margin: 6px 0 12px; color: var(--ink2); } .results .none { border: 0; padding: 10px 12px; }
.browse { font-size: 16px; color: var(--ink2); text-align: center; margin: 34px 0 0; font-weight: 700; }
.browse + .sections { padding-top: 14px; }
.dim { opacity: .55; }
