/* @fav/help-kit styles. Inherits each site's watch-kit theme tokens (--wk-*); override --hk-* to theme further.
   Dark mode is opt-in per site: add class "hk-dark-auto" on <html> to follow prefers-color-scheme. Scoped .hk-* only. */
:root { --hk-ink: var(--wk-ink, #17153B); --hk-paper: var(--wk-paper, #F4F5FA); --hk-surface: var(--wk-surface, #fff); --hk-line: var(--wk-line, #DCDDEA);
  --hk-muted: var(--wk-muted, #5A5C78); --hk-accent: var(--wk-accent-2, #B8560B); --hk-accent-ink: #fff; --hk-radius: var(--wk-radius, 14px);
  --hk-font: var(--wk-font-body, ui-sans-serif, system-ui, sans-serif); --hk-display: var(--wk-font-display, var(--hk-font)); --hk-mono: var(--wk-font-mono, ui-monospace, monospace); --hk-hl: #E07A10; }
@media (prefers-color-scheme: dark) { html.hk-dark-auto { --hk-ink: #ECEDF7; --hk-paper: #121126; --hk-surface: #1C1B36; --hk-line: #34335A; --hk-muted: #B4B5CF; --hk-accent: #F0A04B; --hk-accent-ink: #121126; } }
.hk-search, .hk-cats, .hk-bubbles, .hk-sec, .hk-clip, .hk-steps, .hk-related, .hk-helpful, .hk-bridges { font-family: var(--hk-font); color: var(--hk-ink); box-sizing: border-box; max-width: 100%; min-width: 0; }
.hk-search *, .hk-bubbles *, .hk-steps *, .hk-helpful *, .hk-bridges *, .hk-related * { box-sizing: border-box; }
.hk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hk-h { font-family: var(--hk-display); font-weight: 800; font-size: 1.2rem; margin: 0 0 10px; letter-spacing: -.01em; }
.hk-k { display: block; font: 700 .7rem/1.4 var(--hk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hk-muted); }
.hk-tag { display: inline-block; font: 700 .66rem/1.6 var(--hk-mono); padding: 0 6px; border-radius: 5px; border: 1px solid var(--hk-line); color: var(--hk-muted); vertical-align: middle; }
/* search */
.hk-search { position: relative; display: block; margin: 14px 0; }
.hk-sform input { width: 100%; font: 500 1rem/1.4 var(--hk-font); padding: 12px 14px; border: 1.5px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); color: var(--hk-ink); }
.hk-sform input:focus-visible { outline: 3px solid var(--hk-accent); outline-offset: 1px; }
.hk-qn { margin: 6px 2px 0; font-size: .82rem; color: var(--hk-muted); min-height: 1.2em; }
.hk-res { list-style: none; margin: 6px 0 0; padding: 6px; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.hk-res a { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.hk-res a:hover, .hk-res a.on, .hk-res a:focus-visible { background: var(--hk-paper); outline: 2px solid var(--hk-accent); outline-offset: -2px; }
.hk-rt { font: 700 .66rem/1.4 var(--hk-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--hk-accent); }
.hk-rs { font-size: .84rem; color: var(--hk-muted); }
/* categories + list */
.hk-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.hk-chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hk-line); background: var(--hk-surface); color: var(--hk-ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.hk-chip span { color: var(--hk-muted); font-weight: 500; }
.hk-sec { margin: 22px 0; }
.hk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.hk-list li { padding: 12px 14px; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); overflow-wrap: anywhere; }
.hk-list a { color: var(--hk-ink); }
.hk-sum { font-size: .86rem; color: var(--hk-muted); }
/* bubble map */
.hk-bubbles { margin: 18px 0; }
.hk-bub { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hk-b a { display: grid; place-items: center; text-align: center; gap: 4px; border-radius: 999px; border: 1.5px solid var(--hk-line); background: var(--hk-surface); color: var(--hk-ink); text-decoration: none; padding: 10px 16px; min-height: 44px; }
.hk-b a:hover, .hk-b a:focus-visible { border-color: var(--hk-accent); }
.hk-b b { font-size: .9rem; } .hk-b2 b { font-size: 1rem; } .hk-b3 b { font-size: 1.1rem; } .hk-b4 b { font-size: 1.2rem; }
.hk-b3 a, .hk-b4 a { padding: 14px 22px; border-width: 2px; }
.hk-bf { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .hk-bf i { font-style: normal; font-size: .72rem; color: var(--hk-muted); }
.hk-b[data-kind="icp"] a { border-style: dashed; }
.hk-legend { font-size: .78rem; color: var(--hk-muted); margin: 8px 0 0; }
/* clip on top */
.hk-clip { margin: 12px 0 18px; } .hk-cliplink { font-size: .85rem; margin: 6px 0 0; }
.hk-clipcard a { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); color: inherit; text-decoration: none; }
.hk-clipcard img { width: 160px; height: auto; border-radius: 8px; flex: none; max-width: 40%; }
/* steps */
.hk-steps { display: block; margin: 20px 0; }
.hk-player { border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); padding: 10px; margin-bottom: 12px; }
.hk-stage { margin: 0; } .hk-stage svg { display: block; width: 100%; height: auto; max-height: min(62vh, 560px); border-radius: 10px; background: var(--hk-paper); }
.hk-hl { fill: rgba(224, 122, 16, .12); stroke: var(--hk-hl); stroke-width: 4; transition: x .45s ease, y .45s ease, width .45s ease, height .45s ease; }
.hk-cur { transition: transform .6s cubic-bezier(.3, .7, .2, 1); } .hk-cur circle { fill: rgba(224, 122, 16, .35); } .hk-cur path { fill: #fff; stroke: #17153B; stroke-width: 1.5; }
.hk-rm .hk-hl, .hk-rm .hk-cur { transition: none; }
@media (prefers-reduced-motion: reduce) { .hk-hl, .hk-cur { transition: none !important; } }
.hk-cap { font-size: .9rem; margin: 8px 2px 0; color: var(--hk-ink); }
.hk-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.hk-ctl button, .hk-hb button { font: 600 .9rem/1 var(--hk-font); padding: 10px 14px; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--hk-line); background: var(--hk-surface); color: var(--hk-ink); cursor: pointer; }
.hk-ctl button[data-a="next"] { background: var(--hk-accent); border-color: var(--hk-accent); color: var(--hk-accent-ink); }
.hk-ctl button:disabled, .hk-hb button:disabled { opacity: .55; cursor: default; }
.hk-ctl button:focus-visible, .hk-hb button:focus-visible, .hk-ol li:focus-visible { outline: 3px solid var(--hk-accent); outline-offset: 2px; }
.hk-pos { font-size: .85rem; color: var(--hk-muted); margin-right: auto; }
.hk-bar { height: 4px; border-radius: 4px; background: var(--hk-line); margin-top: 10px; overflow: hidden; } .hk-bar i { display: block; height: 100%; width: 0; background: var(--hk-accent); }
.hk-ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; } .hk-ol li { overflow-wrap: anywhere; }
.hk-olp li { cursor: pointer; padding: 6px 8px; border-radius: 8px; } .hk-olp li.on { background: var(--hk-paper); font-weight: 600; } .hk-olp li.done::marker { color: var(--hk-accent); }
/* related, helpful, bridges */
.hk-related { margin: 20px 0; } .hk-related ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.hk-helpful { display: block; margin: 22px 0; padding: 14px; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); }
.hk-hq { font-weight: 700; margin: 0 0 8px; } .hk-hb { display: flex; gap: 8px; flex-wrap: wrap; } .hk-hb button[aria-pressed="true"] { border-color: var(--hk-accent); }
.hk-hr { margin-top: 10px; } .hk-ht { font-size: .86rem; color: var(--hk-muted); margin: 8px 0 0; min-height: 1.2em; }
.hk-bridges { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.hk-bridge { flex: 1 1 200px; padding: 12px 14px; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); background: var(--hk-surface); color: var(--hk-ink); text-decoration: none; font-weight: 600; }
.hk-bridge:hover, .hk-bridge:focus-visible { border-color: var(--hk-accent); }
.hk-samp rect { fill: #FFF1D6; } .hk-samp text { font: 700 13px/1 ui-monospace, monospace; fill: #7A4A00; letter-spacing: .06em; }
.hk-wstep { display: inline-block; font-size: .85rem; margin: 6px 2px 0; font-weight: 600; }
