/* Help Centre: /help hub, categories, articles, paths, search, contact and
   tickets (templ page.Help*). Base marketing styles come from
   pages/index_sections.css (.ix-*); this file adds the .hc-* layer. Mockups
   live in pages/help_mock.css. Keep this file under 48 KB (swap guard). */

:root {
	--hc-ink: var(--ix-ink, #0f2038);
	--hc-body: var(--ix-body, #55657a);
	--hc-muted: var(--ix-muted, #8a99a8);
	--hc-line: rgba(15, 32, 56, 0.08);
	--hc-blue: var(--ix-blue, #2196f3);
	--hc-blue-deep: var(--ix-blue-deep, #1565c0);
	--hc-cyan: var(--ix-cyan, #00bcd4);
	--hc-mint: var(--ix-mint, #69f0ae);
	--hc-navy: var(--ix-navy-900, #081a2e);
	--hc-surface: #ffffff;
	--hc-surface-2: #f4f8fd;
	--hc-radius: 20px;
	--hc-shadow: 0 10px 30px rgba(13, 46, 84, 0.07);
	--hc-shadow-hover: 0 26px 52px rgba(13, 46, 84, 0.15);
	--hc-nav-h: 78px;
	--hc-accent: var(--hc-blue);
	--hc-accent-soft: rgba(33, 150, 243, 0.12);
}
.tone-blue { --hc-accent: #2196f3; --hc-accent-soft: rgba(33,150,243,.12); }
.tone-mint { --hc-accent: #10b981; --hc-accent-soft: rgba(16,185,129,.13); }
.tone-violet { --hc-accent: #7c3aed; --hc-accent-soft: rgba(124,58,237,.12); }
.tone-sky { --hc-accent: #0ea5e9; --hc-accent-soft: rgba(14,165,233,.13); }
.tone-amber { --hc-accent: #f59e0b; --hc-accent-soft: rgba(245,158,11,.15); }
.tone-emerald { --hc-accent: #059669; --hc-accent-soft: rgba(5,150,105,.13); }
.tone-rose { --hc-accent: #f43f5e; --hc-accent-soft: rgba(244,63,94,.12); }
.tone-slate { --hc-accent: #475569; --hc-accent-soft: rgba(71,85,105,.12); }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hc-nav-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hc-float, .hc-pop, .hc-cat, .hc-path { animation: none !important; } }
body.hc-body { background: #fff; color: var(--hc-body); font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; }
body.hc-body a { transition: color .15s ease; }
.hc-muted { color: var(--hc-muted); }

/* ---- Hero ---- */
.hc-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1200px 500px at 15% -10%, rgba(33, 150, 243, 0.38), transparent 60%),
		radial-gradient(900px 420px at 95% 10%, rgba(0, 188, 212, 0.3), transparent 60%),
		linear-gradient(180deg, var(--hc-navy) 0%, #0e2a49 60%, #103154 100%);
	padding: calc(var(--hc-nav-h) + 64px) 0 72px;
}
.hc-hero-sm { padding: calc(var(--hc-nav-h) + 40px) 0 44px; }
.hc-hero-sm.tone-violet { background: radial-gradient(900px 420px at 90% 0%, rgba(124,58,237,.45), transparent 60%), linear-gradient(180deg, var(--hc-navy), #15163a); }
.hc-hero-sm.tone-mint, .hc-hero-sm.tone-emerald { background: radial-gradient(900px 420px at 90% 0%, rgba(16,185,129,.4), transparent 60%), linear-gradient(180deg, var(--hc-navy), #0b2f33); }
.hc-hero-sm.tone-amber { background: radial-gradient(900px 420px at 90% 0%, rgba(245,158,11,.4), transparent 60%), linear-gradient(180deg, var(--hc-navy), #2d1f0b); }
.hc-hero-sm.tone-rose { background: radial-gradient(900px 420px at 90% 0%, rgba(244,63,94,.4), transparent 60%), linear-gradient(180deg, var(--hc-navy), #2e0f1c); }
.hc-hero-sm.tone-sky { background: radial-gradient(900px 420px at 90% 0%, rgba(14,165,233,.45), transparent 60%), linear-gradient(180deg, var(--hc-navy), #0b2a45); }
.hc-hero-sm.tone-slate { background: radial-gradient(900px 420px at 90% 0%, rgba(148,163,184,.3), transparent 60%), linear-gradient(180deg, var(--hc-navy), #1b2533); }
.hc-grid-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hc-hero .container { position: relative; z-index: 1; }
.hc-hero h1 { color: #fff; font-weight: 800; letter-spacing: -1.2px; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; margin: 14px 0 14px; }
.hc-hero-sm h1 { font-size: clamp(28px, 4vw, 44px); }
.hc-hero h1 .grad { background: linear-gradient(90deg, #7fd3ff, var(--hc-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-hero-lead { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; max-width: 720px; margin: 0; }
.hc-hero .ix-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #dbeafe; }
.hc-hero .hc-btn { margin-top: 22px; }
.hc-crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; flex-wrap: wrap; }
.hc-crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.hc-crumbs a:hover { color: #fff; }
.hc-crumbs span[aria-current] { color: #fff; font-weight: 600; }
.hc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: rgba(255,255,255,.7); font-size: 13.5px; }
.hc-hero-meta i { color: var(--hc-mint); margin-right: 6px; }
.hc-aud { text-transform: capitalize; }
.hc-hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.hc-hero-chips a { color: #fff; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; transition: background .15s, transform .15s; }
.hc-hero-chips a:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }

/* Floating 3D icons on the hub hero */
.hc-hero-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hc-float { position: absolute; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); opacity: .9; animation: hcFloat 7s ease-in-out infinite; }
.hc-float.f1 { right: 12%; top: 18%; animation-delay: -1s; }
.hc-float.f2 { right: 22%; bottom: 20%; width: 64px; height: 64px; animation-delay: -3s; }
.hc-float.f3 { right: 5%; bottom: 14%; width: 96px; height: 96px; animation-delay: -5s; }
.hc-float.f4 { left: 4%; bottom: 18%; width: 60px; height: 60px; animation-delay: -2s; }
.hc-float.f5 { left: 8%; top: 22%; width: 110px; height: 110px; animation-delay: -4s; }
@keyframes hcFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (max-width: 991px) { .hc-float { display: none; } }

/* Category hero */
.hc-cat-hero { display: flex; align-items: center; gap: 22px; }
.hc-cat-hero-ico { width: 96px; height: 96px; border-radius: 28px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; flex: 0 0 auto; }
.hc-cat-hero-ico img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.hc-cat-hero-ico i { font-size: 36px; color: #fff; }
.hc-cat-hero h1 { margin-top: 0; }

/* ---- Search ---- */
.hc-search {
	position: relative; max-width: 560px; margin-top: 24px;
	background: rgba(255,255,255,.98); border-radius: 16px;
	box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.6);
	display: flex; align-items: center; padding: 0 14px 0 18px; height: 54px;
}
.hc-search.big { max-width: 680px; margin-top: 30px; height: 62px; border-radius: 18px; }
.hc-search > i { color: var(--hc-blue-deep); font-size: 17px; }
.hc-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 0 14px; font-size: 16px; color: var(--hc-ink); height: 100%; font-family: inherit; }
.hc-search.big input { font-size: 17px; }
.hc-search input::placeholder { color: #9aa8b8; }
.hc-search kbd { font-family: inherit; font-size: 11px; color: var(--hc-muted); background: #eef3fa; border: 1px solid #dbe4ef; border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; }
.hc-search-pop {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 16px;
	box-shadow: 0 30px 60px rgba(13,46,84,.25); overflow: hidden; z-index: 40; text-align: left;
}
.hc-search-pop a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--hc-line); color: var(--hc-ink); }
.hc-search-pop a:last-child { border-bottom: 0; }
.hc-search-pop a:hover, .hc-search-pop a.active { background: var(--hc-surface-2); }
.hc-search-pop a i { color: var(--hc-blue); margin-top: 3px; }
.hc-search-pop b { display: block; font-size: 14.5px; font-weight: 600; }
.hc-search-pop small { display: block; color: var(--hc-muted); font-size: 12.5px; margin-top: 2px; }
.hc-search-pop .hc-pop-foot { display: block; padding: 10px 16px; font-size: 12.5px; color: var(--hc-muted); background: var(--hc-surface-2); }
.hc-search-pop .hc-pop-foot b { display: inline; color: var(--hc-blue-deep); font-weight: 600; }

/* ---- Status strip ---- */
.hc-status { margin-top: -28px; position: relative; z-index: 2; }
.hc-status-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 16px; box-shadow: var(--hc-shadow); padding: 14px 20px; font-size: 13.5px; color: var(--hc-body); border: 1px solid var(--hc-line); }
.hc-status-strip b { color: var(--hc-ink); }
.hc-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: hcPulse 2.2s infinite; }
.hc-status-dot.warn { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.6); }
@keyframes hcPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hc-status-sub { color: var(--hc-muted); }
.hc-status-gap { flex: 1; }
.hc-status-meta { color: var(--hc-muted); white-space: nowrap; }
.hc-status-meta i { margin-right: 5px; color: var(--hc-blue); }
.hc-status-cta { background: var(--hc-blue); color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.hc-status-cta:hover { background: var(--hc-blue-deep); color: #fff; }

/* ---- Sections ---- */
.hc-section { padding: 64px 0; }
.hc-section-alt { background: var(--hc-surface-2); }
.hc-section-head { max-width: 640px; margin-bottom: 30px; }
.hc-section-head h2 { color: var(--hc-ink); font-weight: 800; letter-spacing: -.6px; font-size: clamp(24px, 3vw, 34px); margin: 6px 0 8px; }
.hc-section-head p { margin: 0; color: var(--hc-body); font-size: 15.5px; line-height: 1.7; }
.hc-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--hc-blue-deep); }
.hc-eyebrow.light { color: #8fe3ff; }

/* Buttons */
.hc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.hc-btn.primary { background: linear-gradient(90deg, var(--hc-blue-deep), var(--hc-blue)); color: #fff; box-shadow: 0 10px 26px rgba(33,150,243,.35); }
.hc-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(33,150,243,.45); color: #fff; }
.hc-btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.hc-btn.ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.hc-section .hc-btn.ghost, .hc-reply .hc-btn.ghost { background: #fff; border-color: #dbe4ef; color: var(--hc-ink); }
.hc-section .hc-btn.ghost:hover, .hc-reply .hc-btn.ghost:hover { border-color: var(--hc-blue); color: var(--hc-blue-deep); }
.hc-btn.small { padding: 8px 14px; font-size: 13px; }
.hc-btn.big { padding: 14px 26px; font-size: 15.5px; }
.hc-btn[disabled] { opacity: .6; pointer-events: none; }
.hc-mini { background: none; border: 1px solid var(--hc-line); color: var(--hc-muted); font-size: 12px; border-radius: 8px; padding: 5px 9px; cursor: pointer; font-family: inherit; }
.hc-mini:hover { color: var(--hc-blue-deep); border-color: var(--hc-blue); }

/* ---- Paths ---- */
.hc-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.hc-path { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); padding: 22px; text-decoration: none; color: var(--hc-ink); box-shadow: var(--hc-shadow); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hc-path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hc-accent); }
.hc-path:hover { transform: translateY(-4px); box-shadow: var(--hc-shadow-hover); border-color: var(--hc-accent); color: var(--hc-ink); }
.hc-path-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--hc-accent-soft); color: var(--hc-accent); display: grid; place-items: center; font-size: 20px; }
.hc-path-body b { display: block; font-size: 17px; font-weight: 700; }
.hc-path-body small { display: block; color: var(--hc-body); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }
.hc-path-meta { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--hc-accent); display: flex; align-items: center; gap: 6px; }

/* ---- Categories ---- */
.hc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.hc-cat { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); padding: 22px; text-decoration: none; color: var(--hc-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hc-cat:hover { transform: translateY(-4px); box-shadow: var(--hc-shadow-hover); border-color: var(--hc-accent); color: var(--hc-ink); }
.hc-cat-art { width: 68px; height: 68px; border-radius: 20px; background: var(--hc-accent-soft); display: grid; place-items: center; flex: 0 0 auto; }
.hc-cat-art img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); transition: transform .25s; }
.hc-cat:hover .hc-cat-art img { transform: scale(1.08) rotate(-4deg); }
.hc-cat-art i { font-size: 26px; color: var(--hc-accent); }
.hc-cat-body b { display: block; font-size: 17px; font-weight: 700; }
.hc-cat-body small { display: block; color: var(--hc-body); font-size: 13.5px; line-height: 1.6; margin: 4px 0 10px; }
.hc-cat-count { font-size: 12.5px; font-weight: 600; color: var(--hc-accent); display: inline-flex; gap: 6px; align-items: center; }

/* ---- Popular ---- */
.hc-popular { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 24px; }
.hc-pop { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--hc-ink); border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.hc-pop:hover { background: var(--hc-surface-2); border-color: var(--hc-line); color: var(--hc-ink); transform: translateX(4px); }
.hc-pop-n { font-size: 22px; font-weight: 800; color: #cfd9e6; letter-spacing: -1px; width: 36px; }
.hc-pop-body { flex: 1; min-width: 0; }
.hc-pop-body b { display: block; font-size: 15px; font-weight: 600; }
.hc-pop-body small { display: block; color: var(--hc-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-pop-min { font-size: 12px; color: var(--hc-muted); white-space: nowrap; }

/* ---- Contact band ---- */
.hc-contact-band { padding-bottom: 80px; }
.hc-contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--hc-navy), #123a6b 70%, #1565c0); color: #fff; border-radius: 28px; padding: 48px; box-shadow: 0 30px 60px rgba(13,36,71,.35); position: relative; overflow: hidden; }
.hc-contact-card::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(0,229,255,.25), transparent 65%); pointer-events: none; }
.hc-contact-copy h2 { color: #fff; font-weight: 800; letter-spacing: -.6px; font-size: clamp(26px, 3vw, 36px); margin: 8px 0 12px; }
.hc-contact-copy p { color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.7; }
.hc-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hc-contact-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.hc-contact-facts i { color: var(--hc-mint); width: 20px; }
.hc-contact-art { position: relative; z-index: 1; }
@media (max-width: 991px) { .hc-contact-card { grid-template-columns: 1fr; padding: 32px; } .hc-contact-art { display: none; } }

/* ---- Lists (category + search + tickets) ---- */
.hc-list { display: grid; gap: 10px; }
.hc-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: var(--hc-ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hc-item:hover { transform: translateY(-2px); box-shadow: var(--hc-shadow-hover); border-color: var(--hc-blue); color: var(--hc-ink); }
.hc-item-body { flex: 1; min-width: 0; }
.hc-item-body b { display: block; font-size: 16px; font-weight: 600; }
.hc-item-body small { display: block; color: var(--hc-body); font-size: 13.5px; line-height: 1.6; margin-top: 3px; }
.hc-item-cat { color: var(--hc-blue-deep) !important; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; font-size: 11px !important; margin: 0 0 4px !important; }
.hc-item-meta { display: flex; align-items: center; gap: 12px; color: var(--hc-muted); font-size: 12.5px; white-space: nowrap; }
.hc-item-meta i { color: var(--hc-blue); }
.hc-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hc-blue-deep); background: rgba(33,150,243,.12); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.hc-tag.new { color: #065f46; background: rgba(16,185,129,.16); }
.hc-tag.team { color: #4c1d95; background: rgba(124,58,237,.14); }
.hc-other-cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 34px; font-size: 13px; color: var(--hc-muted); }
.hc-other-cats a { color: var(--hc-ink); text-decoration: none; border: 1px solid var(--hc-line); padding: 6px 12px; border-radius: 999px; background: #fff; }
.hc-other-cats a:hover { border-color: var(--hc-blue); color: var(--hc-blue-deep); }
.hc-other-cats a i { color: var(--hc-blue); margin-right: 5px; }

/* ---- Empty states ---- */
.hc-empty { text-align: center; max-width: 480px; margin: 20px auto; }
.hc-empty img { width: 140px; height: auto; margin-bottom: 10px; }
.hc-empty h3 { color: var(--hc-ink); font-weight: 700; font-size: 22px; }
.hc-empty p { color: var(--hc-body); margin-bottom: 18px; }

/* ---- Article ---- */
.hc-article-wrap { padding-top: 44px; }
.hc-article-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; }
@media (max-width: 991px) { .hc-article-grid { grid-template-columns: 1fr; gap: 20px; } .hc-toc { position: static !important; } }
.hc-toc { position: sticky; top: calc(var(--hc-nav-h) + 20px); align-self: start; }
.hc-toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--hc-muted); margin-bottom: 10px; }
.hc-toc ol { list-style: none; padding: 0; margin: 0 0 16px; border-left: 2px solid var(--hc-line); }
.hc-toc li a { display: block; padding: 6px 14px; color: var(--hc-body); text-decoration: none; font-size: 13.5px; margin-left: -2px; border-left: 2px solid transparent; transition: color .15s, border-color .15s; }
.hc-toc li a:hover, .hc-toc li a.active { color: var(--hc-blue-deep); border-left-color: var(--hc-blue); }
.hc-toc-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.hc-article { color: var(--hc-body); font-size: 16px; line-height: 1.8; }
.hc-article > p, .hc-article li { color: #2f3f52; }
.hc-article h2 { color: var(--hc-ink); font-weight: 800; letter-spacing: -.4px; font-size: 24px; margin: 40px 0 14px; position: relative; scroll-margin-top: calc(var(--hc-nav-h) + 20px); }
.hc-article h3 { color: var(--hc-ink); font-weight: 700; font-size: 18px; margin: 26px 0 10px; }
.hc-anchor { opacity: 0; margin-left: 8px; color: var(--hc-blue); text-decoration: none; font-weight: 500; transition: opacity .15s; }
.hc-article h2:hover .hc-anchor { opacity: 1; }
.hc-article strong { color: var(--hc-ink); font-weight: 700; }
.hc-article a { color: var(--hc-blue-deep); text-decoration: underline; text-decoration-color: rgba(21,101,192,.3); text-underline-offset: 3px; }
.hc-article a:hover { text-decoration-color: var(--hc-blue-deep); }
.hc-article code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: #eef3fa; color: #0f2038; padding: 2px 6px; border-radius: 6px; }
.hc-article kbd { font-family: inherit; font-size: .82em; background: #fff; border: 1px solid #cfd9e6; border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; color: var(--hc-ink); }
.hc-hero-mock { margin: 0 0 30px; }
.hc-steps { counter-reset: hc; list-style: none; padding: 0; margin: 10px 0 24px; display: grid; gap: 12px; }
.hc-steps li { counter-increment: hc; position: relative; padding: 14px 18px 14px 62px; background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; box-shadow: var(--hc-shadow); }
.hc-steps li::before { content: counter(hc); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--hc-blue-deep), var(--hc-cyan)); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.hc-ul { padding-left: 0; list-style: none; margin: 8px 0 22px; display: grid; gap: 8px; }
.hc-ul li { position: relative; padding-left: 26px; }
.hc-ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--hc-blue); box-shadow: 0 0 0 4px rgba(33,150,243,.15); }
.hc-callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; margin: 20px 0; border: 1px solid; }
.hc-callout.tip { background: #ecfdf5; border-color: #a7f3d0; }
.hc-callout.warn { background: #fff7ed; border-color: #fed7aa; }
.hc-callout.info { background: #eff6ff; border-color: #bfdbfe; }
.hc-callout-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; font-size: 16px; }
.hc-callout.tip .hc-callout-ico { background: #10b981; color: #fff; }
.hc-callout.warn .hc-callout-ico { background: #f59e0b; color: #fff; }
.hc-callout.info .hc-callout-ico { background: #2196f3; color: #fff; }
.hc-callout b { display: block; color: var(--hc-ink); margin-bottom: 2px; }
.hc-callout p { margin: 0; font-size: 15px; }
.hc-quote { border-left: 4px solid var(--hc-blue); padding: 6px 18px; margin: 20px 0; background: var(--hc-surface-2); border-radius: 0 14px 14px 0; }
.hc-quote cite { display: block; font-style: normal; font-size: 13px; color: var(--hc-muted); margin-top: 4px; }
.hc-figure { margin: 24px 0 30px; }
.hc-figure figcaption { text-align: center; font-size: 13px; color: var(--hc-muted); margin-top: 12px; }
.hc-table-wrap { overflow-x: auto; margin: 16px 0 26px; border: 1px solid var(--hc-line); border-radius: 14px; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hc-table th { text-align: left; background: var(--hc-surface-2); color: var(--hc-ink); font-weight: 700; padding: 12px 14px; font-size: 13px; letter-spacing: .3px; }
.hc-table td { padding: 12px 14px; border-top: 1px solid var(--hc-line); vertical-align: top; color: #2f3f52; }
.hc-table td:first-child { font-weight: 600; color: var(--hc-ink); }
.hc-faq { margin-top: 10px; }
.hc-faq-item { border: 1px solid var(--hc-line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.hc-faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--hc-ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-faq-item summary::-webkit-details-marker { display: none; }
.hc-faq-item summary i { color: var(--hc-blue); transition: transform .2s; font-size: 12px; }
.hc-faq-item[open] summary i { transform: rotate(180deg); }
.hc-faq-item p { padding: 0 18px 16px; margin: 0; font-size: 15px; }

/* Helpful vote */
.hc-vote { margin-top: 44px; padding: 20px 22px; border-radius: 16px; background: var(--hc-surface-2); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hc-vote-q { font-weight: 700; color: var(--hc-ink); margin-right: 6px; }
.hc-vote-btn { background: #fff; border: 1px solid var(--hc-line); color: var(--hc-ink); padding: 8px 14px; border-radius: 999px; font-family: inherit; font-size: 13.5px; cursor: pointer; transition: all .15s; }
.hc-vote-btn:hover { border-color: var(--hc-blue); color: var(--hc-blue-deep); }
.hc-vote-btn.on { background: var(--hc-blue); border-color: var(--hc-blue); color: #fff; }
.hc-vote-more { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; }
.hc-vote-more textarea { flex: 1; border: 1px solid #dbe4ef; border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; resize: vertical; }
.hc-vote-thanks { flex-basis: 100%; color: #065f46; font-weight: 600; font-size: 14px; }
.hc-vote-thanks i { margin-right: 6px; }

/* Path navigation inside article */
.hc-path-strip { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px 14px; font-size: 13px; margin-bottom: 14px; max-width: 560px; }
.hc-path-strip b { color: #fff; }
.hc-path-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.hc-path-bar b { display: block; height: 100%; background: linear-gradient(90deg, #7fd3ff, var(--hc-mint)); border-radius: 6px; }
.hc-path-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.hc-path-nav a { display: block; text-decoration: none; padding: 16px 18px; border: 1px solid var(--hc-line); border-radius: 14px; color: var(--hc-ink); background: #fff; transition: border-color .15s, transform .15s; }
.hc-path-nav a:hover { border-color: var(--hc-blue); transform: translateY(-2px); }
.hc-path-nav a small { display: block; color: var(--hc-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.hc-path-nav a b { display: block; font-size: 15px; margin-top: 2px; }
.hc-path-nav a.next { text-align: right; }
.hc-path-nav a.done { background: linear-gradient(90deg, #ecfdf5, #fff); border-color: #a7f3d0; }

/* Related + article contact */
.hc-related { max-width: 1048px; margin: 54px auto 0; }
.hc-related h3 { color: var(--hc-ink); font-weight: 800; letter-spacing: -.3px; margin-bottom: 16px; }
.hc-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hc-rel { display: block; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--hc-ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hc-rel:hover { transform: translateY(-3px); box-shadow: var(--hc-shadow-hover); border-color: var(--hc-blue); color: var(--hc-ink); }
.hc-rel b { display: block; font-size: 15px; font-weight: 600; }
.hc-rel small { display: block; color: var(--hc-body); font-size: 13px; margin-top: 4px; line-height: 1.55; }
.hc-article-contact { max-width: 1048px; margin: 40px auto 0; display: flex; align-items: center; gap: 18px; background: var(--hc-surface-2); border-radius: 20px; padding: 18px 24px; }
.hc-article-contact img { width: 64px; height: 64px; object-fit: contain; }
.hc-article-contact > div { flex: 1; }
.hc-article-contact b { display: block; color: var(--hc-ink); }
.hc-article-contact small { color: var(--hc-body); }
@media (max-width: 600px) { .hc-article-contact { flex-direction: column; text-align: center; } .hc-path-nav { grid-template-columns: 1fr; } }

/* ---- Timeline (path page) ---- */
.hc-timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 820px; }
.hc-timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--hc-blue), var(--hc-mint)); opacity: .5; }
.hc-timeline li { margin-bottom: 12px; }
.hc-timeline a { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--hc-ink); background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 16px 18px 16px 12px; transition: transform .15s, box-shadow .15s, border-color .15s; position: relative; }
.hc-timeline a:hover { transform: translateX(6px); box-shadow: var(--hc-shadow-hover); border-color: var(--hc-blue); color: var(--hc-ink); }
.hc-tl-n { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--hc-blue-deep), var(--hc-cyan)); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: 0 0 auto; box-shadow: 0 0 0 4px #fff; }
.hc-tl-body { flex: 1; min-width: 0; }
.hc-tl-body b { display: block; font-size: 15.5px; font-weight: 600; }
.hc-tl-body small { display: block; color: var(--hc-body); font-size: 13px; margin-top: 2px; }
.hc-tl-min { color: var(--hc-muted); font-size: 12px; white-space: nowrap; }

/* ---- Contact form ---- */
.hc-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
@media (max-width: 991px) { .hc-contact-grid { grid-template-columns: 1fr; } }
.hc-form { background: #fff; border: 1px solid var(--hc-line); border-radius: 22px; padding: 28px; box-shadow: var(--hc-shadow); }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hc-form-row { display: block; margin-bottom: 18px; }
.hc-form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .hc-form-row.two { grid-template-columns: 1fr; } }
.hc-form label > span, .hc-form-row > span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--hc-muted); margin-bottom: 6px; }
.hc-form input[type="text"], .hc-form input[type="email"], .hc-form textarea, .hc-reply textarea { width: 100%; border: 1px solid #dbe4ef; border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--hc-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.hc-form input:focus, .hc-form textarea:focus, .hc-reply textarea:focus { outline: 0; border-color: var(--hc-blue); box-shadow: 0 0 0 4px rgba(33,150,243,.15); }
.hc-form input[readonly] { background: var(--hc-surface-2); color: var(--hc-muted); }
.hc-form input.invalid, .hc-form textarea.invalid { border-color: #f43f5e; box-shadow: 0 0 0 4px rgba(244,63,94,.12); }
.hc-cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.hc-cat-opt { position: relative; display: block; border: 1px solid #dbe4ef; border-radius: 14px; padding: 12px 14px 12px 44px; cursor: pointer; transition: border-color .15s, background .15s; margin: 0; }
.hc-cat-opt input { position: absolute; opacity: 0; }
.hc-cat-opt i { position: absolute; left: 14px; top: 14px; color: var(--hc-blue); font-size: 16px; }
.hc-cat-opt b { display: block; font-size: 13.5px; color: var(--hc-ink); font-weight: 600; }
.hc-cat-opt small { display: block; font-size: 11.5px; color: var(--hc-muted); line-height: 1.4; margin-top: 2px; }
.hc-cat-opt:hover { border-color: var(--hc-blue); }
.hc-cat-opt.on, .hc-cat-opt:has(input:checked) { border-color: var(--hc-blue); background: rgba(33,150,243,.07); box-shadow: 0 0 0 3px rgba(33,150,243,.12); }
.hc-suggest { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.hc-suggest > b { display: block; color: var(--hc-blue-deep); font-size: 13.5px; margin-bottom: 8px; }
.hc-suggest a { display: block; color: var(--hc-ink); text-decoration: none; font-size: 14px; padding: 5px 0; }
.hc-suggest a:hover { color: var(--hc-blue-deep); }
.hc-suggest a i { color: var(--hc-blue); margin-right: 6px; font-size: 12px; }
.hc-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hc-form-foot small { color: var(--hc-muted); font-size: 12.5px; max-width: 360px; }
.hc-form-error { margin-top: 14px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.hc-form-done { background: #fff; border: 1px solid var(--hc-line); border-radius: 22px; padding: 40px 28px; text-align: center; box-shadow: var(--hc-shadow); position: relative; overflow: hidden; }
.hc-form-done img { width: 120px; height: auto; }
.hc-form-done h2 { color: var(--hc-ink); font-weight: 800; margin: 14px 0 8px; font-size: 26px; }
.hc-form-done h2 b { color: var(--hc-blue-deep); }
.hc-form-done p { color: var(--hc-body); margin-bottom: 20px; }
.hc-done-burst { position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(circle at 50% 50%, rgba(105,240,174,.35), transparent 55%); pointer-events: none; animation: hcBurst 1.2s ease-out both; }
@keyframes hcBurst { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hc-side-card { background: var(--hc-surface-2); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; }
.hc-side-card b { display: block; color: var(--hc-ink); margin-bottom: 6px; }
.hc-side-card b i { color: var(--hc-blue); margin-right: 8px; }
.hc-side-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--hc-body); }
.hc-side-card a { color: var(--hc-blue-deep); }
.hc-side-link { display: block; text-align: center; padding: 12px; border-radius: 12px; border: 1px dashed #cfd9e6; color: var(--hc-blue-deep); text-decoration: none; font-weight: 600; font-size: 14px; }

/* ---- Tickets ---- */
.hc-ticket-row.unread { border-color: rgba(16,185,129,.4); background: linear-gradient(90deg, #ecfdf5, #fff 30%); }
.hc-tk-status { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.hc-tk-status.st-open { background: rgba(245,158,11,.16); color: #9a5b00; }
.hc-tk-status.st-pending { background: rgba(14,165,233,.14); color: #0369a1; }
.hc-tk-status.st-solved { background: rgba(16,185,129,.16); color: #065f46; }
.hc-tk-status.st-closed { background: rgba(100,116,139,.14); color: #475569; }
.hc-tk-head h1 { margin-top: 10px; }
.hc-thread { max-width: 820px; display: grid; gap: 14px; }
.hc-msg { display: flex; gap: 14px; align-items: flex-start; }
.hc-msg-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #cfd9e6, #e8eef7); color: var(--hc-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.hc-msg-av img { width: 26px; height: 26px; }
.hc-msg.kind-agent .hc-msg-av { background: #fff; border: 1px solid var(--hc-line); }
.hc-msg.kind-system { opacity: .75; }
.hc-msg.kind-system .hc-msg-av { background: transparent; color: var(--hc-muted); }
.hc-msg-body { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--hc-shadow); }
.hc-msg.kind-agent .hc-msg-body { background: #f0f7ff; border-color: #cfe3fb; }
.hc-msg.kind-system .hc-msg-body { background: transparent; border: 0; box-shadow: none; padding: 4px 0; font-size: 13.5px; color: var(--hc-muted); }
.hc-msg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; color: var(--hc-muted); flex-wrap: wrap; }
.hc-msg-head b { color: var(--hc-ink); font-size: 14px; }
.hc-via { font-size: 11.5px; }
.hc-msg-text p { margin: 0 0 6px; color: #2f3f52; font-size: 15px; line-height: 1.65; word-break: break-word; }
.hc-msg-text p:last-child { margin-bottom: 0; }
.hc-atts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.hc-atts span { font-size: 12.5px; background: var(--hc-surface-2); padding: 4px 10px; border-radius: 999px; color: var(--hc-ink); }
.hc-atts small { color: var(--hc-muted); }
.hc-reply { max-width: 820px; margin-top: 22px; background: #fff; border: 1px solid var(--hc-line); border-radius: 18px; padding: 18px; box-shadow: var(--hc-shadow); }
.hc-reply-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.hc-reply-foot small { color: var(--hc-muted); font-size: 12.5px; }
.hc-reply-actions { display: flex; gap: 8px; }
.hc-closed { max-width: 820px; margin-top: 22px; background: var(--hc-surface-2); border-radius: 14px; padding: 16px 18px; font-size: 14px; }
.hc-rate { max-width: 820px; margin-top: 22px; background: linear-gradient(135deg, #fffbeb, #fff); border: 1px solid #fde68a; border-radius: 18px; padding: 18px 20px; }
.hc-rate b { display: block; color: var(--hc-ink); margin-bottom: 8px; }
.hc-rate-row { display: flex; gap: 6px; margin-bottom: 10px; }
.hc-rate-btn { background: none; border: 0; font-size: 26px; color: #e2e8f0; cursor: pointer; transition: transform .1s, color .1s; padding: 2px; }
.hc-rate-btn:hover, .hc-rate-btn.on, .hc-rate-btn.hover { color: #f59e0b; transform: scale(1.15); }
.hc-rate textarea { width: 100%; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; margin-bottom: 10px; resize: vertical; }
.hc-rate-thanks { color: #065f46; font-weight: 600; margin-left: 10px; font-size: 14px; }

/* Nav tweaks: active link + unread dot */
.ix-nav .nav-link[data-unread]::after { content: attr(data-unread); display: inline-block; margin-left: 6px; background: #10b981; color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 6px; vertical-align: middle; }

/* Toast */
.hc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--hc-ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.3); opacity: 0; transition: opacity .2s, transform .2s; z-index: 1000; pointer-events: none; }
.hc-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media print {
	.ix-nav, .hc-toc-tools, .hc-vote, .hc-article-contact, .hc-related, .footer, .back-top, .hc-hero-mock, .hc-figure, .hc-path-nav { display: none !important; }
	.hc-hero { background: none !important; color: #000; padding: 0; }
	.hc-hero h1, .hc-hero-lead, .hc-crumbs, .hc-crumbs a { color: #000 !important; }
	.hc-article-grid { grid-template-columns: 1fr; }
}

/* Status pill on the dark ticket hero */
.hc-hero .hc-tk-status { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.hc-hero .hc-tk-status.st-solved { background: rgba(105,240,174,.22); color: #d1fae5; }
.hc-hero .hc-tk-status.st-open { background: rgba(245,158,11,.28); color: #fde68a; }
