/* help.qleenio.com. The look follows qleenio.com and the app: warm off-white,
   hairlines, ink pill buttons, sage for links and state. The colours and
   fonts are the same as in marketing/site.css; keep them in step. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/outfit-latin.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); }
:root {
  --bg: #f6f5f1; --text: #1f2422; --body: #454d49; --muted: #5c6560;
  --surface: #ffffff; --line: #e6e3dc; --hair: #eeebe5;
  --sage: #3d7566; --sage-deep: #2e5d50; --sage-pale: #e4f1ec; --sage-ink: #2e4a42;
  --blue-pale: #dfe8f3; --blue-ink: #23415f; --amber-pale: #fdf3d9; --amber-ink: #7a5a0c;
  --ink: #1f2422;
  --display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--sage-deep); }
a:hover { color: var(--text); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--bg); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.btn { display: inline-flex; align-items: center; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; padding: 16px 26px; border-radius: 999px; transition: background-color .2s; }
.btn:hover { background: #000; color: #fff; }

/* Tags: New / Better / Fixed, and the plain "for owner" tag on an article. */
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.tag.new { background: var(--sage-pale); color: var(--sage-ink); }
.tag.better { background: var(--blue-pale); color: var(--blue-ink); }
.tag.fixed { background: var(--amber-pale); color: var(--amber-ink); }
.tag.plain { background: var(--hair); color: var(--body); }
.icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon.sage { background: var(--sage-pale); color: var(--sage-ink); }
.icon.blue { background: var(--blue-pale); color: var(--blue-ink); }
.icon.amber { background: var(--amber-pale); color: var(--amber-ink); }

/* Header. One nav: the links sit in a row when they fit (help.js adds
   .is-wide), otherwise they are a popover behind the menu button. Without
   JavaScript the header stays in the menu-button layout. */
.top { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 241, .9); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid var(--hair); }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand img { height: 34px; width: auto; display: block; }
.chip { font-size: 15px; font-weight: 600; color: var(--sage-ink); background: var(--sage-pale); padding: 4px 12px; border-radius: 999px; }
.top-search { position: relative; order: 3; flex: 1 1 100%; }
.top-search svg, .search svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.top-search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px 0 46px; font: inherit; font-size: 16px; color: var(--text); }
input::placeholder { color: var(--muted); opacity: 1; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.menu-button { anchor-name: --menu-button; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.site-menu { position: fixed; inset: auto; inset-block-start: 68px; inset-block-start: anchor(--menu-button bottom); inset-inline-end: 16px; inline-size: min(80dvw, 320px); max-block-size: calc(100dvh - 96px); margin: 8px 0 0; overflow: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); padding: 12px; box-shadow: 0 16px 40px rgba(31, 36, 34, .12); }
.site-menu:is(:popover-open, .\:popover-open) { display: flex; flex-direction: column; gap: 12px; }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu .links a { display: block; padding: 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-menu .links a:hover { background: var(--bg); }
.site-menu .links a[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.langs { display: flex; gap: 4px; background: var(--hair); border-radius: 999px; padding: 4px; align-self: flex-start; }
.langs a { display: block; min-width: 44px; text-align: center; text-decoration: none; color: var(--body); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.langs a[aria-current] { background: var(--surface); color: var(--text); font-weight: 700; box-shadow: 0 0 0 1px var(--line); }
.open-app { background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; text-align: center; }
.open-app:hover { background: #000; color: #fff; }

.top.is-wide .top-inner { flex-wrap: nowrap; }
.top.is-wide .top-inner > * { flex-shrink: 0; white-space: nowrap; }
.top.is-wide .brand { margin-inline-end: 8px; }
.top.is-wide .top-nav { margin-inline-start: auto; }
.top.is-wide .top-search { order: 0; flex: 0 0 240px; margin-inline-start: auto; }
.top.is-wide .top-search + .top-nav { margin-inline-start: 0; }
.top.is-wide .menu-button { display: none; }
.top.is-wide .site-menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 20px; inline-size: auto; max-block-size: none; overflow: visible; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.top.is-wide .site-menu .links { display: flex; gap: 4px; }
.top.is-wide .site-menu .links a { padding: 10px 12px; font-size: 15px; color: var(--body); }
.top.is-wide .site-menu .links a:hover { background: transparent; color: var(--text); }
.top.is-wide .site-menu .links a[aria-current] { color: var(--text); }
.top.is-wide .langs { align-self: center; }
.top.is-measuring * { transition: none !important; }
.top.wraps .top-inner, .top.wraps .site-menu { flex-wrap: wrap; }

/* Front page. */
.hero { max-width: 760px; margin-inline: auto; padding: 64px 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
.search { position: relative; width: 100%; }
.search svg { inset-inline-start: 22px; }
.search input { width: 100%; height: 64px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 28px 0 56px; font: inherit; font-size: 18px; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips button { font: inherit; font-size: 15px; font-weight: 500; color: var(--body); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer; transition: background-color .2s, color .2s; }
.chips button:hover { background: var(--surface); color: var(--text); }
.results, .list { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-align: start; }
.results .row, .list .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; text-decoration: none; color: var(--text); }
.results .row + .row, .list .row + .row { border-top: 1px solid var(--hair); }
.results .row:hover, .list .row:hover { background: #fbfaf7; }
.results .row > span:first-child, .list .row > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.results .row span span, .list .row span span { font-size: 15px; color: var(--body); }
.results mark { background: var(--amber-pale); color: inherit; border-radius: 3px; padding: 0 2px; }
.results .where { flex: none; font-size: 14px; color: var(--muted); }
.results .none { padding: 20px 24px; color: var(--body); }
.list .row svg { flex: none; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding-top: 24px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tile-head { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.tile-head h2 { font-size: 21px; letter-spacing: -0.01em; }
.tile > p { font-size: 15px; color: var(--body); }
.tile .rows { display: flex; flex-direction: column; margin-top: 4px; }
.tile .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500; }
.tile .row svg { flex: none; color: var(--muted); transition: translate .2s var(--ease); }
.tile .row:hover svg { translate: 3px 0; }
.tile .all { font-size: 15px; font-weight: 600; margin-top: auto; padding-top: 8px; }
.staff { margin-top: 16px; background: var(--sage-pale); border-radius: 24px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.staff > div:first-child { display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.staff h2 { font-size: 21px; letter-spacing: -0.01em; }
.staff p { font-size: 16px; color: var(--sage-ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { text-decoration: none; background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 999px; }
.latest { padding-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 20px; }
.section-head > div { display: flex; flex-direction: column; gap: 8px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 34px); line-height: 1.05; }
.section-head > a { font-weight: 600; padding: 12px 0; }
.contact { margin-top: 72px; border-top: 1px solid var(--line); padding-block: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.contact > div { display: flex; flex-direction: column; gap: 4px; max-width: 620px; }
.contact h2 { font-size: 26px; letter-spacing: -0.01em; }
.contact p { color: var(--body); }

/* Patch notes: on the front page and on their own page. */
.notes { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.note-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 18px 24px; }
.note-row + .note-row { border-top: 1px solid var(--hair); }
.note-row time { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.note-row h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.note-row p { margin-top: 2px; font-size: 15px; color: var(--body); }
.note-row .more { display: inline-block; font-size: 15px; font-weight: 600; padding: 6px 0 0; }
.news { max-width: 860px; padding-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.news h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.05; }
.lede { font-size: 19px; color: var(--body); max-width: 640px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px 8px; }
.filters button { font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 11px 18px; border: 1px solid var(--line); background: transparent; color: var(--body); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.month { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.month h2 { font-size: 19px; color: var(--body); letter-spacing: 0; }
.missing { margin-top: 24px; color: var(--body); }

/* Topic page. */
.crumbs { padding-top: 24px; }
.crumbs nav { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--body); }
.crumbs span:last-child { color: var(--text); font-weight: 600; }
.topic { max-width: 860px; padding-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.topic-head { display: flex; align-items: flex-start; gap: 16px; }
.topic-head .icon { width: 52px; height: 52px; border-radius: 16px; }
.topic-head h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.08; }
.topic-head p { margin-top: 6px; font-size: 18px; color: var(--body); }

/* Article: the topic's articles on the left, the text, "On this page". */
.article-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; padding-top: 32px; }
.side { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.side .side-title { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); padding: 0 12px 10px; }
.side a { text-decoration: none; color: var(--body); padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; }
.side a:hover { color: var(--text); }
.side a[aria-current] { color: var(--text); font-weight: 600; background: var(--surface); border-color: var(--line); }
article { flex: 999 1 520px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
article h1 { font-size: clamp(32px, 4vw, 42px); line-height: 1.08; }
article .meta { font-size: 14px; color: var(--muted); }
.on-page { flex: 1 1 160px; max-width: 200px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.on-page span { font-weight: 600; }
.on-page a { color: var(--body); text-decoration: none; }
.on-page a:hover { color: var(--text); }
.prose { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.prose h2 { font-size: 25px; letter-spacing: -0.01em; margin-top: 20px; }
.prose h3 { font-size: 18px; font-weight: 600; margin-top: 8px; }
.prose ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; }
/* A numbered list is a list of steps: one card, a row per step. */
.prose ol { list-style: none; counter-reset: step; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.prose ol > li { counter-increment: step; position: relative; padding: 16px 20px 16px 64px; }
.prose ol > li + li { border-top: 1px solid var(--hair); }
.prose ol > li::before { content: counter(step); position: absolute; inset-inline-start: 20px; top: 15px; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.prose .table { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 16px; }
.prose tbody tr:first-child td { border-top: 1px solid var(--line); }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--hair); }
.prose thead th { border-top: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.prose figure { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 20px; display: block; }
.prose figcaption { font-size: 14px; color: var(--muted); }
.note { background: var(--amber-pale); border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; }
.note svg { flex: none; margin-top: 2px; color: var(--amber-ink); }
.note > div { display: flex; flex-direction: column; gap: 6px; }

.not-found { padding-block: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.not-found div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.not-found h1 { font-size: 28px; }
.not-found p { color: var(--body); }

.foot { margin-top: 72px; padding-block: 24px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--hair); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--body); }
.lang-hint { background: var(--ink); color: var(--bg); font-size: 15px; }
.lang-hint p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-block: 8px; }
.lang-hint a { color: #fff; font-weight: 600; }
.lang-hint button { margin-inline-start: auto; width: 44px; height: 44px; font-size: 22px; line-height: 1; background: transparent; border: 0; color: inherit; cursor: pointer; }

@media (max-width: 900px) {
  .side, .on-page { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .hero { padding: 32px 16px 28px; }
  .search input { height: 56px; font-size: 16px; padding-inline-start: 50px; }
  .search svg { inset-inline-start: 18px; }
  .note-row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
  .note-row time { grid-column: 1; grid-row: 1; font-size: 13px; }
  .note-row > div { grid-column: 1 / -1; grid-row: 2; }
  .note-row .tag { grid-column: 2; grid-row: 1; justify-self: end; }
  .results .row, .list .row { padding: 14px 18px; }
  .results .where { display: none; }
  .tile { padding: 20px; }
  .staff { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (forced-colors: active) {
  .langs a[aria-current], .side a[aria-current], .filters button[aria-pressed="true"] { outline: 2px solid; }
}
