/* Pusat bantuan + agen bantuan 3D + tiket bantuan. Di dalam aplikasi memakai token aplikasi;
   tampilan mandiri (pengunjung) memakai palet "Ruang Tenun" gelap/terang seperti landing & halaman masuk.
   Teks panjang (isi artikel, jawaban, ringkasan) rata kanan-kiri. */
.hx, .hx-ticket {
  --x-bg: var(--bg); --x-bg2: var(--bg-deep); --x-panel: var(--surface); --x-panel2: var(--surface-2);
  --x-line: var(--line-soft); --x-line2: var(--line); --x-line3: color-mix(in srgb, var(--ink) 24%, transparent);
  --x-ink: var(--ink); --x-ink2: var(--ink-2); --x-ink3: var(--ink-3); --x-gold: var(--accent-ink, #c99a4b); --x-ok: var(--ok, #3fae7a);
  --x-m: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}
.hx.is-standalone {
  --bg: #08080a; --bg-deep: #0c0c0f; --surface: #121216; --surface-2: #17171b; --surface-3: #1e1e23;
  --line: rgba(255,255,255,.11); --line-soft: rgba(255,255,255,.065); --ink: #efece4; --ink-2: #a9a59b; --ink-3: #75716a;
  --accent: #dcb771; --accent-ink: #e2bf7c; --accent-soft: rgba(220,183,113,.12); --accent-line: rgba(220,183,113,.55); --ok: #8acaa6;
  --x-solid: #efece4; --x-solid-ink: #0a0a0c; --x-nav: rgba(8,8,10,.82);
  min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); color-scheme: dark;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="light"] .hx.is-standalone {
  --bg: #f4f2ec; --bg-deep: #efece5; --surface: #fbfaf7; --surface-2: #ffffff; --surface-3: #efece5;
  --line: rgba(30,25,15,.13); --line-soft: rgba(30,25,15,.075); --ink: #16140f; --ink-2: #57534a; --ink-3: #847f74;
  --accent: #a5772a; --accent-ink: #8f651f; --accent-soft: rgba(165,119,42,.12); --accent-line: rgba(165,119,42,.55); --ok: #2b8257;
  --x-solid: #16140f; --x-solid-ink: #f7f5f0; --x-nav: rgba(244,242,236,.86); color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) .hx.is-standalone {
    --bg: #f4f2ec; --bg-deep: #efece5; --surface: #fbfaf7; --surface-2: #ffffff; --surface-3: #efece5;
    --line: rgba(30,25,15,.13); --line-soft: rgba(30,25,15,.075); --ink: #16140f; --ink-2: #57534a; --ink-3: #847f74;
    --accent: #a5772a; --accent-ink: #8f651f; --accent-soft: rgba(165,119,42,.12); --accent-line: rgba(165,119,42,.55); --ok: #2b8257;
    --x-solid: #16140f; --x-solid-ink: #f7f5f0; --x-nav: rgba(244,242,236,.86); color-scheme: light;
  }
}
.hx.is-standalone .btn.primary { background: var(--x-solid); color: var(--x-solid-ink); border: 0; box-shadow: none; border-radius: 999px; }
.hx.is-standalone .btn.primary:hover:not(:disabled) { filter: brightness(.92); }
.hx.is-standalone .btn.outline, .hx.is-standalone .btn.ghost { border-radius: 999px; }
.hx .hx-mono, .hx-ticket .hx-mono, .hx-mono { font-family: var(--x-m); font-size: 11px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; color: var(--x-ink3); }
.hx-mono b { color: var(--x-ink); font-weight: 600; }
.hx-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.hx-main { flex: 1; padding-bottom: 56px; }

/* Bilah atas (mandiri) */
.hx-nav { position: sticky; top: 0; z-index: 20; height: 64px; border-bottom: 1px solid var(--x-line); background: var(--x-nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hx-nav .hx-wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.hx-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--x-ink); text-decoration: none; font-weight: 650; font-size: 15.5px; min-width: 0; }
.hx-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-brand img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.hx-nav-title { color: var(--x-ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.hx-nav-acts { justify-self: end; display: flex; gap: 8px; align-items: center; }
.hx-nav-acts .btn { height: 40px; padding: 0 16px; }
.hx-tt { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--x-line2); background: none; color: var(--x-ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hx-tt:hover { color: var(--x-ink); }
.hx-foot { border-top: 1px solid var(--x-line); padding: 24px 0 30px; }
.hx-foot .hx-wrap { display: flex; justify-content: space-between; gap: 12px; color: var(--x-ink3); font-size: 13px; }
.hx-foot a { color: var(--x-ink3); text-decoration: none; margin-left: 20px; }
.hx-foot a:hover { color: var(--x-ink); }

/* Hero dengan agen */
.hx-hero { text-align: center; padding-top: 8px; }
.hx-stage { position: relative; height: 300px; max-width: 900px; margin: 0 auto; }
.hx-stage canvas.hx-agent, .hx-stage .hx-face { position: absolute; left: 50%; top: 0; width: 300px; height: 300px; transform: translateX(-50%); cursor: pointer; }
.hx-stage .hx-face { display: grid; place-items: center; cursor: default; }
.hx-stage .hx-face svg { width: 130px; }
.hx-grid { position: absolute; inset: 0; pointer-events: none; opacity: .65;
  background-image: linear-gradient(var(--x-line) 1px, transparent 1px), linear-gradient(90deg, var(--x-line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 34% 60% at 50% 55%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 34% 60% at 50% 55%, #000 10%, transparent 72%); }
.hx-hud { position: absolute; right: calc(50% + 150px); top: 92px; display: grid; gap: 7px; text-align: right; }
.hx-bubble { position: absolute; left: calc(50% + 122px); top: 46px; width: 270px; text-align: left; padding: 13px 16px 14px; border: 1px solid var(--x-line2); background: var(--x-panel); border-radius: 18px 18px 18px 5px; font-size: 14px; line-height: 1.5; color: var(--x-ink); box-shadow: 0 18px 40px -26px rgba(0,0,0,.6); }
.hx-who { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.hx-who i { width: 6px; height: 6px; border-radius: 50%; background: var(--x-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--x-ok) 18%, transparent); }
.hx-bubble q { quotes: "“" "”"; color: var(--x-gold); }
.hx-hero h1 { margin: 6px auto 12px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.045em; font-weight: 700; color: var(--x-ink); }
.hx-hero h1 span { color: var(--x-ink3); }
.hx-lead { margin: 0 auto; max-width: 600px; color: var(--x-ink2); font-size: 17px; text-wrap: balance; }
.hx-modes { display: inline-flex; margin-top: 24px; padding: 4px; gap: 2px; border: 1px solid var(--x-line2); border-radius: 999px; }
.hx-modes button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border: 0; border-radius: 999px; background: none; color: var(--x-ink3); font: 600 13.5px/1.2 inherit; font-family: inherit; cursor: pointer; }
.hx-modes button[aria-selected="true"] { background: var(--x-panel2); color: var(--x-ink); box-shadow: inset 0 0 0 1px var(--x-line2); }
.hx-search { margin: 14px auto 0; width: min(700px, 100%); height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 20px; border: 1px solid var(--x-line2); border-radius: 999px; background: var(--x-panel); color: var(--x-ink3); transition: border-color .15s, box-shadow .15s; }
.hx-search:focus-within { border-color: color-mix(in srgb, var(--x-gold) 70%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--x-gold) 13%, transparent); }
.hx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--x-ink); font: 400 16px/1 inherit; font-family: inherit; }
.hx-search input::placeholder { color: var(--x-ink3); }
.hx-search input::-webkit-search-cancel-button { display: none; }
.hx-kbd { font-family: var(--x-m); font-size: 11px; color: var(--x-ink3); border: 1px solid var(--x-line2); border-radius: 6px; padding: 3px 7px; }
.hx-clear { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--x-ink3); display: grid; place-items: center; cursor: pointer; }
.hx-search .btn.hx-go { height: 46px; border-radius: 999px; padding: 0 18px; gap: 8px; }
.hx-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hx-chips button { height: 34px; padding: 0 14px; border: 1px solid var(--x-line2); border-radius: 999px; background: none; color: var(--x-ink2); font: 500 13.5px/1 inherit; font-family: inherit; cursor: pointer; }
.hx-chips button:hover { color: var(--x-ink); border-color: var(--x-line3); }

/* Topik */
.hx-topics { padding-top: 76px; }
.hx-sec-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 34px; }
.hx-sec-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.05; font-weight: 700; color: var(--x-ink); }
.hx-sec-head h2 span { color: var(--x-ink3); }
.hx-tgrid { columns: 3; column-gap: 16px; }
.hx-tcard { break-inside: avoid; margin: 0 0 16px; border: 1px solid var(--x-line2); border-radius: 18px; background: var(--x-panel); padding: 18px 20px 8px; }
.hx-tcard-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hx-tcard-h h3 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.015em; color: var(--x-ink); }
.hx-tcard-h .hx-mono { margin-left: auto; }
.hx-tic { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--x-line2); display: grid; place-items: center; color: var(--x-gold); flex: none; }
.hx-tcard ul { list-style: none; margin: 0; padding: 0; }
.hx-tcard li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--x-line); color: var(--x-ink2); text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.hx-tcard li a svg { color: var(--x-ink3); flex: none; transition: transform .15s; }
.hx-tcard li a:hover { color: var(--x-ink); } .hx-tcard li a:hover svg { color: var(--x-gold); transform: translateX(2px); }

/* Hasil cari */
.hx-results { max-width: 860px; margin: 36px auto 0; }
.hx-rhead { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--x-line2); }
.hx-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--x-line); color: var(--x-ink3); text-decoration: none; }
.hx-r:hover { background: color-mix(in srgb, var(--x-ink) 3%, transparent); }
.hx-r-ic { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--x-line2); display: grid; place-items: center; color: var(--x-ink2); }
.hx-r.top .hx-r-ic { color: var(--x-gold); border-color: color-mix(in srgb, var(--x-gold) 45%, transparent); }
.hx-r-t b { font-size: 16.5px; font-weight: 650; letter-spacing: -.015em; color: var(--x-ink); }
.hx-r-t > span { display: block; margin-top: 4px; color: var(--x-ink2); font-size: 14px; line-height: 1.55; text-align: justify; hyphens: auto; }
.hx-r mark { background: color-mix(in srgb, var(--x-gold) 22%, transparent); color: var(--x-ink); border-radius: 4px; padding: 0 3px; }
.hx-best { margin-left: 8px; font: normal 10px/1 var(--x-m); letter-spacing: .08em; text-transform: uppercase; color: var(--x-gold); vertical-align: 2px; }
.hx-tag { font-family: var(--x-m); font-size: 10.5px; border: 1px solid var(--x-line2); border-radius: 6px; padding: 3px 7px; color: var(--x-ink2); white-space: nowrap; }
.hx-empty, .hx-login { margin-top: 22px; padding: 22px 24px; border: 1px dashed var(--x-line3); border-radius: 18px; text-align: center; }
.hx-empty b { color: var(--x-ink); font-size: 16px; }
.hx-empty p, .hx-login p { margin: 6px auto 16px; max-width: 560px; color: var(--x-ink2); font-size: 14.5px; line-height: 1.6; }
.hx-empty div, .hx-login div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* Tanya Suvi */
.hx-chat { max-width: 820px; margin: 30px auto 0; display: grid; gap: 14px; }
.hx-msg { padding: 14px 18px; border-radius: 18px; border: 1px solid var(--x-line2); background: var(--x-panel); color: var(--x-ink); }
.hx-msg.user { justify-self: end; max-width: 80%; background: var(--x-panel2); border-radius: 18px 18px 5px 18px; }
.hx-msg.user p { margin: 0; white-space: pre-wrap; }
.hx-msg.assistant { border-radius: 18px 18px 18px 5px; }
.hx-msg.assistant .hx-mono { display: block; margin-bottom: 6px; }
.hx-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hx-sources a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--x-line2); border-radius: 999px; font-size: 12.5px; color: var(--x-ink2); text-decoration: none; }
.hx-typing { display: flex; gap: 5px; padding: 6px 0; }
.hx-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--x-gold); animation: hx-dot 1.1s infinite ease-in-out; }
.hx-typing i:nth-child(2) { animation-delay: .15s; } .hx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hx-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hx-hint { text-align: center; color: var(--x-ink3); font-size: 13.5px; margin: 0; }

/* Teks panjang: rata kanan-kiri */
.hx-prose p, .hx-prose li, .hx-alead, .hx-more p, .hx-ticket-h p, .hx-ticket.is-done p, .hx-askcard p, .hx-rgrid small,
.experience-page .support-message .prose p, .experience-page .support-message .prose li, .experience-card > p {
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
}

/* Formulir tiket */
.hx-ticket { max-width: 760px; margin: 34px auto 0; padding: 24px 26px 26px; border: 1px solid var(--x-line2); border-radius: 22px; background: var(--x-panel); color: var(--x-ink); scroll-margin-top: 90px; }
.hx-ticket-h { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hx-ticket-h h2 { margin: 6px 0 6px; font-size: 22px; letter-spacing: -.025em; font-weight: 650; }
.hx-ticket-h p { margin: 0; color: var(--x-ink2); font-size: 14.5px; line-height: 1.6; }
.hx-x { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--x-line2); background: none; color: var(--x-ink2); display: grid; place-items: center; cursor: pointer; }
.hx-form { display: grid; gap: 14px; }
.hx-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-f { display: grid; gap: 7px; }
.hx-f > span { font-size: 13px; font-weight: 600; color: var(--x-ink2); }
.hx-f small { color: var(--x-ink3); font-size: 12.5px; }
.hx-f em { color: #e2836f; font-style: normal; font-size: 12.5px; }
.hx-f .input, .hx-f .select { width: 100%; border-radius: 12px; }
.hx-f textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.hx-seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--x-line2); border-radius: 999px; justify-self: start; }
.hx-seg button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--x-ink3); font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; }
.hx-seg button.on { background: var(--x-panel2); color: var(--x-ink); box-shadow: inset 0 0 0 1px var(--x-line2); }
.hx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--x-ink2); line-height: 1.5; }
.hx-check input { margin-top: 3px; accent-color: var(--x-gold); }
.hx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hx-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-ticket.is-done { text-align: center; display: grid; justify-items: center; gap: 8px; }
.hx-ok { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--x-ok); border: 1px solid color-mix(in srgb, var(--x-ok) 45%, transparent); background: color-mix(in srgb, var(--x-ok) 10%, transparent); }
.hx-code { font-family: var(--x-m); font-size: 26px; font-weight: 600; letter-spacing: .06em; color: var(--x-ink); }
.hx-ticket.is-done p { margin: 0; max-width: 540px; color: var(--x-ink2); font-size: 14.5px; line-height: 1.6; }
.hx-ticket.is-done .hx-fine { font-size: 12.5px; color: var(--x-ink3); }
.experience-page .hx-ticket { max-width: none; margin: 0; }

/* Kartu penutup */
.hx-more { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 64px; padding: 24px 26px; border: 1px solid var(--x-line2); border-radius: 22px; background: linear-gradient(180deg, var(--x-panel), var(--x-bg2)); }
.hx-face { width: 64px; height: 64px; border-radius: 20px; background: #f1eee7; display: grid; place-items: center; box-shadow: inset 0 -6px 12px rgba(0,0,0,.08); }
.hx-face svg { width: 52px; }
.hx-more h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.02em; font-weight: 650; color: var(--x-ink); }
.hx-more p { margin: 0; color: var(--x-ink2); font-size: 14.5px; line-height: 1.6; max-width: 600px; }
.hx-more-acts { display: flex; gap: 8px; }
.hx-mine { margin-top: 12px; display: grid; gap: 6px; }
.hx-mine > div { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--x-ink2); }
.hx-mine b { font-family: var(--x-m); font-size: 12px; color: var(--x-ink); }
.hx-mine i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--x-line2); }
.hx-mine i.st-open { color: var(--x-gold); } .hx-mine i.st-resolved { color: var(--x-ok); }

/* Artikel */
.hx-art-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 260px; gap: 44px; padding-top: 34px; align-items: start; }
.hx-side, .hx-aside { position: sticky; top: 84px; }
.hc-page .hx-side, .hc-page .hx-aside { top: calc(var(--topbar-h, 56px) + 20px); }
.hx-side .hx-mono { display: block; margin-bottom: 12px; }
.hx-side ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--x-line2); }
.hx-side li a { display: block; padding: 8px 0 8px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--x-ink2); text-decoration: none; }
.hx-side li.on a { color: var(--x-ink); border-left-color: var(--x-gold); font-weight: 600; }
.hx-side li a:hover { color: var(--x-ink); }
.hx-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--x-ink2); text-decoration: none; }
.hx-art { min-width: 0; }
.hx-crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hx-crumbs a { color: var(--x-ink3); text-decoration: none; } .hx-crumbs a:hover { color: var(--x-ink); }
.hx-art h1 { margin: 14px 0 12px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.07; letter-spacing: -.04em; font-weight: 700; color: var(--x-ink); }
.hx-alead { margin: 0; font-size: 18px; color: var(--x-ink2); line-height: 1.6; }
.hx-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 6px; padding-bottom: 20px; border-bottom: 1px solid var(--x-line2); }
.hx-prose { font-size: 16px; line-height: 1.75; color: var(--x-ink2); }
.hx-prose h2 { margin: 38px 0 14px; font-size: 23px; letter-spacing: -.025em; color: var(--x-ink); font-weight: 650; display: flex; align-items: center; gap: 10px; scroll-margin-top: 90px; }
.hx-prose h2::before { content: "#"; font-family: var(--x-m); font-size: 14px; color: var(--x-ink3); font-weight: 400; }
.hx-prose h3 { color: var(--x-ink); }
.hx-prose p { margin: 0 0 16px; }
.hx-prose strong { color: var(--x-ink); font-weight: 600; background: color-mix(in srgb, var(--x-ink) 6%, transparent); border: 1px solid var(--x-line); border-radius: 6px; padding: 1px 6px; font-size: .94em; }
.hx-prose a { color: var(--x-gold); }
.hx-prose ol { list-style: none; counter-reset: s; margin: 0 0 18px; padding: 0; }
.hx-prose ol > li { counter-increment: s; position: relative; padding: 4px 0 14px 46px; }
.hx-prose ol > li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--x-line3); display: grid; place-items: center; font: 600 12px/1 var(--x-m); color: var(--x-ink); background: var(--x-bg); z-index: 1; }
.hx-prose ol > li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 1px; background: var(--x-line2); }
.hx-prose ol > li:last-child::after { display: none; }
.hx-prose ul { margin: 0 0 18px; padding-left: 22px; }
.hx-prose ul li { margin: 6px 0; }
.hx-prose ul li::marker { color: var(--x-gold); }
.hx-msg .hx-prose { font-size: 15px; line-height: 1.7; }
.hx-msg .hx-prose > :last-child { margin-bottom: 0; }
.hx-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--x-line2); }
.hx-related .hx-mono { display: block; margin-bottom: 14px; }
.hx-rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hx-rgrid a { display: block; border: 1px solid var(--x-line2); border-radius: 14px; padding: 14px 16px; background: var(--x-panel); text-decoration: none; }
.hx-rgrid a:hover { border-color: var(--x-line3); }
.hx-rgrid b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--x-ink); }
.hx-rgrid small { display: block; margin-top: 6px; color: var(--x-ink3); font-size: 12.5px; line-height: 1.5; }
.hx-art .hx-ticket { margin-top: 32px; }
.hx-aside { display: grid; gap: 18px; }
.hx-toc .hx-mono { display: block; margin-bottom: 10px; }
.hx-toc a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid var(--x-line2); font-size: 13.5px; color: var(--x-ink2); text-decoration: none; line-height: 1.4; }
.hx-toc a.on { color: var(--x-ink); border-left: 2px solid var(--x-gold); padding-left: 11px; }
.hx-askcard { border: 1px solid var(--x-line2); border-radius: 18px; background: linear-gradient(180deg, var(--x-panel), var(--x-bg2)); overflow: hidden; }
.hx-askcard canvas.hx-mini { display: block; width: 100%; height: 180px; cursor: pointer; }
.hx-askcard .hx-face { margin: 18px auto 6px; }
.hx-askcard > div:last-child { padding: 4px 16px 16px; text-align: center; }
.hx-askcard b { display: block; font-size: 15px; font-weight: 650; color: var(--x-ink); }
.hx-askcard p { margin: 4px 0 12px; font-size: 13px; color: var(--x-ink2); line-height: 1.55; }
.hx-askcard .btn { height: 40px; font-size: 13.5px; margin-top: 6px; }
.hx-art-empty { padding: 60px 0; }

/* Panel Admin → Tiket bantuan */
.tk-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tk-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink-2); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.tk-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--ink); border-color: var(--accent-line, var(--line)); }
.tk-tabs span { font-size: 11.5px; color: var(--ink-3); }
.tk-list { display: grid; gap: 10px; }
.tk-row { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tk-row > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
.tk-row > summary::-webkit-details-marker { display: none; }
.tk-main { min-width: 0; display: grid; } .tk-main b { font-size: 14.5px; color: var(--ink); } .tk-main span { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-code { font-size: 12px; color: var(--ink-2); } .tk-time { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.tk-st { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.tk-st.st-open { color: var(--accent-ink); border-color: var(--accent-line, var(--line)); } .tk-st.st-in_progress { color: var(--info, #3b62c4); } .tk-st.st-resolved { color: var(--ok); }
.tk-body { padding: 4px 16px 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
.tk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding-top: 12px; }
.tk-facts div { display: grid; gap: 2px; font-size: 13.5px; } .tk-facts span { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.tk-msg { margin: 0; white-space: pre-wrap; padding: 12px 14px; border-radius: 12px; background: var(--bg-deep); border: 1px solid var(--line-soft); font-size: 14px; line-height: 1.6; text-align: justify; }
.tk-chat summary { cursor: pointer; font-size: 13px; color: var(--ink-2); } .tk-chat p { font-size: 13px; margin: 8px 0; white-space: pre-wrap; text-align: justify; }
.tk-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .tk-acts .grow { flex: 1; }
.tk-note { display: grid; gap: 6px; } .tk-note span { font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 1080px) {
  .hx-art-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
  .hx-side { display: none; }
  .hx-tgrid { columns: 2; }
}
@media (max-width: 760px) {
  .hx-wrap { width: calc(100% - 32px); }
  .hx-nav { height: 58px; } .hx-nav .hx-wrap { grid-template-columns: 1fr auto; } .hx-nav-title, .hx-hide-xs { display: none; }
  .hx-nav-acts .btn { height: 36px; padding: 0 13px; font-size: 13.5px; }
  .hx-stage { height: auto; display: flex; flex-direction: column; align-items: center; }
  .hx-stage canvas.hx-agent, .hx-stage .hx-face { position: relative; left: auto; transform: none; width: 214px; height: 214px; }
  .hx-hud { display: none; }
  .hx-bubble { position: relative; left: auto; top: auto; width: auto; margin: 2px 4px 0; border-radius: 16px; font-size: 13.5px; text-align: center; }
  .hx-bubble::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; background: var(--x-panel); border-left: 1px solid var(--x-line2); border-top: 1px solid var(--x-line2); transform: translateX(-50%) rotate(45deg); }
  .hx-who { justify-content: center; }
  .hx-hero h1 { margin-top: 18px; }
  .hx-lead { font-size: 15.5px; }
  .hx-search { height: 56px; padding-left: 16px; }
  .hx-kbd { display: none; } .hx-search .btn.hx-go { width: 42px; height: 42px; padding: 0; } .hx-search .btn.hx-go span { display: none; }
  .hx-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .hx-chips::-webkit-scrollbar { display: none; }
  .hx-chips button { flex: none; }
  .hx-topics { padding-top: 52px; }
  .hx-tgrid { columns: 1; }
  .hx-r { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 12px; } .hx-r .hx-tag { display: none; }
  .hx-msg.user { max-width: 92%; }
  .hx-ticket { padding: 20px 18px; border-radius: 18px; }
  .hx-row2 { grid-template-columns: 1fr; }
  .hx-more { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hx-more-acts { flex-direction: column; width: 100%; } .hx-more-acts .btn { width: 100%; }
  .hx-art-layout { grid-template-columns: 1fr; gap: 0; padding-top: 18px; }
  .hx-toc { display: none; }
  .hx-aside { position: static; margin-top: 28px; }
  .hx-rgrid { grid-template-columns: 1fr; }
  .hx-foot .hx-wrap { flex-direction: column; align-items: center; }
  .tk-row > summary { grid-template-columns: auto minmax(0, 1fr); } .tk-code, .tk-time { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx-typing i { animation: none; opacity: .7; } .hx-tcard li a svg { transition: none; } }
