/* „Помощен център“ (/pomosht/, /en/help/) — изборът в началото, демото със
   запитването от системата, формата с домейна и спешният телефон. Общото
   (шапка, секции, формата на „Партньори“) е в blog-shell.css и pages.css.
   Екранът в демото е във вида на истинската admin/support на CMS-а, но с
   Nunito: Inter подава при lang="bg" курсивните кирилски форми. */

.hx-tri, .hx-facts, .hx-demo, .hx-fw, .hx-urg { --hx-v: #6300ff; --hx-v2: #7C3AED; --hx-m: #1acc8d; --hx-mi: #0B8F62; --hx-a: #F59E0B; --hx-line: rgba(99, 0, 255, .14); }

/* ---------- началото: „Какво се случва?“ ---------- */
.hx-tri { position: relative; max-width: 520px; margin: 0 auto; padding: 1.35rem; border-radius: 26px; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 34px 80px rgba(99, 0, 255, .16), 0 4px 14px rgba(26, 31, 54, .05); }
.hx-tri-h { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; }
.hx-tri-h b { font-size: 1.15rem; font-weight: 800; color: var(--dark); }
.hx-tri-ic { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--hx-v), var(--hx-m)); color: #fff; }
.hx-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.hx-opt { display: grid; grid-template-columns: 2.5rem 1fr; gap: .7rem; align-items: center; padding: .75rem .8rem; border-radius: 16px; border: 1px solid var(--hx-line); background: #FBFAFF; text-align: left; font: inherit; color: var(--dark); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.hx-opt:hover { border-color: rgba(99, 0, 255, .4); background: #fff; }
.hx-opt:focus-visible { outline: 2px solid var(--hx-v); outline-offset: 2px; }
.hx-opt-ic { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 12px; background: #F1EBFF; color: var(--hx-v); transition: background .2s, color .2s; }
.hx-opt-t { display: grid; gap: .1rem; min-width: 0; }
.hx-opt-t b { font-size: .92rem; font-weight: 800; line-height: 1.25; }
.hx-opt-t small { font-size: .74rem; line-height: 1.3; color: var(--text-muted); }
.hx-opt.on { border-color: var(--hx-v); background: #fff; box-shadow: 0 12px 28px rgba(99, 0, 255, .14); }
.hx-opt.on .hx-opt-ic { background: linear-gradient(135deg, var(--hx-v), var(--hx-m)); color: #fff; }
.hx-opt[data-k="call"] .hx-opt-ic { background: #FFF3DC; color: #B45309; }
.hx-opt[data-k="call"].on { border-color: var(--hx-a); box-shadow: 0 12px 28px rgba(245, 158, 11, .2); }
.hx-opt[data-k="call"].on .hx-opt-ic { background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; }
/* всички маршрути са в една клетка: картата е колкото най-високия и не мърда */
.hx-route { display: grid; margin-top: .9rem; }
.hx-rt { grid-area: 1 / 1; display: grid; align-content: start; gap: .7rem; justify-items: start; padding: 1.05rem 1.15rem 1.15rem; border-radius: 18px; background: linear-gradient(135deg, #F6F1FF 0%, #EEFBF5 100%); }
.hx-rt:not(.on) { visibility: hidden; }
.hx-rt.in { animation: hxIn .45s cubic-bezier(.2, .8, .2, 1); }
.hx-tri[data-k="call"] .hx-rt { background: linear-gradient(135deg, #FFF6E6 0%, #FFF 60%, #F6F1FF 100%); }
@keyframes hxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hx-rt-h { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.hx-rt p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--text-muted); }
.hx-rt-path { justify-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) 1.6rem minmax(0, 1fr) 1.6rem minmax(0, 1fr); align-items: start; gap: .3rem; }
.hx-rt-node { display: grid; justify-items: center; gap: .35rem; font-size: .76rem; font-weight: 800; line-height: 1.25; text-align: center; color: var(--dark); }
.hx-rt-node i { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 6px 14px rgba(99, 0, 255, .08); color: var(--hx-v); font-size: .82rem; }
.hx-rt-node:last-child i { background: linear-gradient(135deg, var(--hx-v), var(--hx-m)); border-color: transparent; color: #fff; }
.hx-rt-arr { position: relative; margin-top: 1.05rem; height: 2px; background: repeating-linear-gradient(90deg, rgba(99, 0, 255, .35) 0 4px, transparent 4px 7px); background-size: 14px 2px; animation: hxDash .8s linear infinite; }
.hx-rt-arr::after { content: ""; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left: 5px solid rgba(99, 0, 255, .55); border-right: 0; }
@keyframes hxDash { to { background-position: 14px 0; } }
.hx-rt-num { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; color: var(--dark); text-decoration: none; }
.hx-rt-num i { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; font-size: 1rem; }
.hx-rt-num:hover { color: var(--hx-v); }
.hx-rt-go { padding: .6rem 1.1rem; font-size: .88rem; }
.hx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.9rem 0 0; padding: 1.3rem 0 0; list-style: none; border-top: 1px solid var(--hx-line); }
.hx-facts li { display: grid; justify-items: start; gap: .6rem; min-width: 0; }
.hx-facts i { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 6px 16px rgba(99, 0, 255, .08); color: var(--hx-v); }
.hx-facts span { display: grid; gap: .1rem; }
.hx-facts b { font-size: .98rem; font-weight: 800; line-height: 1.25; color: var(--dark); }
.hx-facts small { font-size: .8rem; line-height: 1.4; color: var(--text-muted); }
.hx-tri-hint { margin: .9rem 0 0; text-align: center; font-size: .8rem; font-weight: 700; color: var(--hx-v); }

/* ---------- демото: запитване от системата ---------- */
.hx-demo { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 2.6rem; align-items: start; max-width: 1140px; margin: 0 auto; }
.hx-left { min-width: 0; padding-top: .6rem; }
.hx-demo .pgx-badge { position: static; margin-left: .9rem; transition: opacity .4s ease, transform .4s ease; }
.hx-steps { position: relative; margin: .8rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.hx-steps::before { content: ""; position: absolute; left: 2.05rem; top: 2rem; bottom: 5.4rem; width: 2px; background: linear-gradient(180deg, rgba(99, 0, 255, .25), rgba(26, 204, 141, .3)); }
.hx-step { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: center; width: 100%; padding: .8rem .9rem; border-radius: 18px; border: 1px solid transparent; background: none; text-align: left; font: inherit; color: var(--dark); cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.hx-step:hover { background: rgba(255, 255, 255, .6); }
.hx-step:focus-visible { outline: 2px solid var(--hx-v); outline-offset: 2px; }
.hx-step-n { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid rgba(99, 0, 255, .2); font-weight: 800; color: var(--hx-v); transition: background .25s, border-color .25s, color .25s; }
.hx-step-t { display: grid; gap: .1rem; }
.hx-step-t b { font-size: .95rem; font-weight: 800; line-height: 1.3; }
.hx-step-t small { font-size: .8rem; line-height: 1.4; color: var(--text-muted); }
.hx-step.done .hx-step-n { border-color: var(--hx-m); color: var(--hx-mi); }
.hx-step.on { background: #fff; border-color: var(--hx-line); box-shadow: 0 14px 34px rgba(99, 0, 255, .12); }
.hx-step.on .hx-step-n { background: linear-gradient(135deg, var(--hx-v), var(--hx-m)); border-color: transparent; color: #fff; }
.hx-replay { display: inline-flex; align-items: center; gap: .45rem; margin: .5rem 0 0 .9rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--hx-line); background: #fff; font: inherit; font-size: .82rem; font-weight: 800; color: var(--hx-v); cursor: pointer; }
.hx-replay:hover { border-color: var(--hx-v); }

.hx-stage { position: relative; }
.hx-win { position: relative; height: 480px; overflow: hidden; border-radius: 22px; background: #F1F5F9; border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 40px 90px rgba(99, 0, 255, .16), 0 6px 18px rgba(26, 31, 54, .06); font-size: 13px; line-height: 1.45; color: #1E293B; user-select: none; }
.hx-top { display: flex; align-items: center; gap: .6rem; height: 54px; padding: 0 14px; background: #fff; border-bottom: 1px solid #E2E8F0; }
.hx-burger { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #64748B; }
.hx-ttl { font-size: 15px; font-weight: 800; color: #0F172A; }
.hx-search { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; width: 220px; max-width: 34%; padding: 7px 12px; border-radius: 10px; background: #F1F5F9; color: #94A3B8; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.hx-bell { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #F1F5F9; color: #475569; transition: transform .15s; }
.hx-bell em { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.hx-bell.on em { transform: scale(1); }
.hx-bell.on i { animation: hxRing 1s ease; color: var(--hx-v2); }
@keyframes hxRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }
.hx-ava { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #6300ff); color: #fff; font-size: 12px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.hx-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; height: calc(100% - 54px); padding: 12px; transition: filter .3s, opacity .3s; }
.hx-win.modal-on .hx-body, .hx-win.modal-on .hx-top { filter: blur(1.5px); opacity: .55; }
.hx-side { display: grid; align-content: start; gap: 3px; padding: 12px 9px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.hx-side img { width: 28px; height: 28px; margin: 0 0 10px 6px; border-radius: 8px; }
.hx-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #64748B; white-space: nowrap; }
.hx-nav i { width: 14px; text-align: center; font-size: 12px; }
.hx-nav.on { background: rgba(139, 92, 246, .1); color: var(--hx-v2); }
.hx-main { position: relative; min-width: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; overflow: hidden; }
.hx-tabs { display: flex; align-items: center; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid #F1F5F9; }
.hx-tabs span { padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: #64748B; white-space: nowrap; }
.hx-tabs span.on { background: #F1F5F9; color: #0F172A; }
.hx-tabs .hx-new { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; background: var(--hx-v2); color: #fff; }
.hx-list { display: grid; gap: 8px; margin-top: 12px; }
.hx-list[hidden], .hx-thread[hidden], .hx-ask[hidden] { display: none; }
.hx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; border: 1px solid #E2E8F0; background: #fff; }
.hx-code { font-size: 12px; font-weight: 700; color: #64748B; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-rm { display: grid; min-width: 0; }
.hx-rm b { font-size: 13.5px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hx-rm small { font-size: 12px; color: #64748B; }
.hx-rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hx-rmeta .hx-pill { padding: 1px 6px; font-size: 11px; }
.hx-newr { display: none; align-items: center; gap: 4px; font-weight: 700; color: var(--hx-v2); }
.hx-newr.on { display: inline-flex; animation: hxIn .35s ease; }
.hx-newr i { font-size: 10px; }
.hx-mine { display: none; border-color: #DDD6FE; background: #FBF8FF; }
.hx-mine.show { display: grid; animation: hxRow .5s cubic-bezier(.2, .8, .2, 1.1); }
@keyframes hxRow { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.hx-pill { display: inline-flex; padding: 4px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: rgba(139, 92, 246, .12); color: var(--hx-v2); transition: background .3s, color .3s; }
/* цветовете на статусите са като в CMS-а: чака вас и решено — акцент, в работа — жълто, затворено — зелено */
.hx-pill[data-s="new"] { background: #F1F5F9; color: #475569; }
.hx-pill[data-s="open"] { background: #FFF4E0; color: #9A5B00; }
.hx-pill[data-s="closed"] { background: #E6F5ED; color: #18714F; }
.hx-thread { display: grid; gap: 10px; animation: hxIn .4s ease; }
.hx-main:has(.hx-thread:not([hidden])) .hx-tabs { display: none; }
.hx-th-h { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #F1F5F9; }
.hx-th-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.hx-th-t b { font-size: 14.5px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hx-th-t small { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 11.5px; color: #64748B; }
.hx-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(124, 58, 237, .28); background: rgba(124, 58, 237, .06); animation: hxIn .4s ease; }
.hx-ask-ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(124, 58, 237, .14); color: var(--hx-v2); font-size: 13px; }
.hx-ask-t { flex: 1 1 15rem; min-width: 0; display: grid; gap: 1px; }
.hx-ask-t b { font-size: 13px; font-weight: 800; }
.hx-ask-t small { font-size: 11.5px; line-height: 1.45; color: #64748B; }
.hx-ask.closed { border-color: #E2E8F0; background: #F8FAFC; }
.hx-ask.closed .hx-ask-ic { background: #E2E8F0; color: #475569; }
.hx-conv { display: grid; gap: 10px; }
.hx-msg { display: flex; gap: 8px; max-width: 88%; }
.hx-msg.me { margin-left: auto; flex-direction: row-reverse; }
.hx-av { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #F1F5F9; color: #64748B; font-size: 11px; }
.hx-msg.us .hx-av { background: rgba(124, 58, 237, .14); color: var(--hx-v2); }
.hx-bub { min-width: 0; padding: 8px 11px; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; }
.hx-msg.me .hx-bub { background: #F8FAFC; }
.hx-msg.us .hx-bub { border-color: rgba(124, 58, 237, .3); background: rgba(124, 58, 237, .05); }
.hx-who { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; font-size: 11.5px; }
.hx-who b { font-weight: 700; }
.hx-who time { color: #94A3B8; font-variant-numeric: tabular-nums; }
.hx-bub p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.hx-ev { padding: 0 8px; text-align: center; font-size: 11.5px; line-height: 1.6; color: #64748B; animation: hxIn .4s ease; }
.hx-ev i { margin-right: 6px; }
.hx-ev span, .hx-ev time { margin-left: 8px; white-space: nowrap; }
.hx-ev[hidden] { display: none; }
.hx-ev b { font-weight: 700; color: #1E293B; }
.hx-ev time { font-variant-numeric: tabular-nums; }
.hx-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; border: 1px solid #E2E8F0; background: #fff; font-size: 12.5px; font-weight: 700; color: #1E293B; transition: transform .12s; }
.hx-btn i { font-size: 11px; }
.hx-btn.pri { background: var(--hx-v2); border-color: var(--hx-v2); color: #fff; }

/* наслагванията: менюто, формата, известията, съобщението, курсорът */
.hx-menu, .hx-modal, .hx-notif, .hx-toast { position: absolute; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.hx-menu.on, .hx-modal.on, .hx-notif.on, .hx-toast.on { opacity: 1; }
.hx-menu { top: 60px; right: 12px; width: 320px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 26px 60px rgba(15, 23, 42, .18); transform: translateY(-6px) scale(.98); transform-origin: top right; }
.hx-menu.on { transform: none; }
.hx-menu-h { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; border-bottom: 1px solid #F1F5F9; }
.hx-menu-h span:last-child { display: grid; }
.hx-menu-h b { font-weight: 800; }
.hx-menu-h small { font-size: 11.5px; color: #64748B; }
.hx-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.hx-tile { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #F8FAFC; border: 1px solid #EEF2F7; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: #334155; transition: background .2s, border-color .2s, box-shadow .2s, transform .12s; }
.hx-tile i { flex: none; width: 14px; text-align: center; color: var(--hx-v2); }
.hx-tile.hl { background: #F5F0FF; border-color: #C4B5FD; box-shadow: 0 0 0 4px rgba(139, 92, 246, .16); color: #4C1D95; }
.hx-modal { top: 50%; left: 50%; width: 420px; max-width: calc(100% - 28px); padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 34px 80px rgba(15, 23, 42, .28); transform: translate(-50%, -46%) scale(.97); }
.hx-modal.on { transform: translate(-50%, -50%); }
.hx-modal.sm { width: 360px; }
.hx-mh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.hx-mh i { color: var(--hx-v2); }
.hx-lbl { display: block; margin: 8px 0 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748B; }
.hx-chs { display: flex; flex-wrap: wrap; gap: 5px; }
.hx-ch { padding: 5px 10px; border-radius: 999px; border: 1px solid #E2E8F0; font-size: 11.5px; font-weight: 700; color: #475569; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.hx-ch i { margin-right: 5px; font-size: 10.5px; color: #94A3B8; transition: color .2s; }
.hx-ch.sel i { color: inherit; }
.hx-ch.sel { background: var(--hx-v2); border-color: var(--hx-v2); color: #fff; }
.hx-in { min-height: 32px; padding: 7px 10px; border-radius: 10px; border: 1px solid #E2E8F0; background: #F8FAFC; font-size: 12.5px; }
.hx-in[data-k="title"]:empty::after { content: "|"; color: var(--hx-v2); animation: hxBlink 1s steps(1) infinite; }
@keyframes hxBlink { 50% { opacity: 0; } }
.hx-in.big { min-height: 48px; color: #475569; }
.hx-fin { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.hx-fbtn { padding: 5px 10px; border-radius: 8px; border: 1px solid #E2E8F0; background: #fff; font-size: 11.5px; font-weight: 700; color: #334155; white-space: nowrap; }
.hx-fname { min-width: 0; font-size: 11.5px; color: #64748B; }
.hx-fname em { font-style: normal; }
.hx-fname b { display: none; align-items: center; gap: 6px; font-weight: 700; color: #334155; animation: hxIn .3s ease; }
.hx-fname b.on { display: inline-flex; }
.hx-fname b.on + em { display: none; }
.hx-after { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: #64748B; }
.hx-mb { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.hx-notif { top: 60px; right: 54px; width: 300px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 26px 60px rgba(15, 23, 42, .18); transform: translateY(-6px); }
.hx-notif.on { transform: none; }
.hx-notif > b { display: block; padding: 2px 4px 8px; font-size: 12px; font-weight: 800; color: #64748B; }
.hx-nt { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px; border-radius: 12px; background: rgba(139, 92, 246, .08); transition: transform .12s; }
.hx-nt i { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--hx-v2); color: #fff; font-size: 11px; }
.hx-nt span { font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.hx-nt small { font-size: 11px; color: #64748B; }
.hx-toast { bottom: 16px; left: 50%; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #BFE6D0; color: #18714F; font-size: 12.5px; font-weight: 700; box-shadow: 0 16px 40px rgba(15, 23, 42, .14); transform: translate(-50%, 16px); }
.hx-toast.on { transform: translate(-50%, 0); }
.hx-press { transform: scale(.94) !important; }
.hx-cur { position: absolute; top: 0; left: 0; z-index: 9; width: 22px; height: 22px; pointer-events: none; transform: translate(70%, 380px); transition: transform .65s cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 3px 6px rgba(15, 23, 42, .3)); }
.hx-cur svg { width: 100%; height: 100%; fill: #1A1F36; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: transform .12s; }
.hx-cur.press svg { transform: scale(.82); }
.hx-cur.jump { transition: none; }

.hx-track { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1.1rem; }
.hx-track span { position: relative; padding: .42rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--hx-line); font-size: .78rem; font-weight: 800; color: var(--text-muted); transition: background .3s, color .3s, border-color .3s; }
.hx-track span.done { background: #ECFAF4; border-color: rgba(26, 204, 141, .45); color: var(--hx-mi); }
.hx-track span.on { background: linear-gradient(135deg, var(--hx-v), #8B5CF6); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(99, 0, 255, .22); }

/* ---------- формата ---------- */
.pg-head.left { margin: 0 0 1.5rem; text-align: left; }
.hx-rv { display: flex; align-items: flex-start; margin: 0 0 1.8rem; }
.hx-rv-n { display: grid; justify-items: center; gap: .5rem; width: 7.4rem; flex: none; text-align: center; }
.hx-rv-n i { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 10px 24px rgba(99, 0, 255, .1); color: var(--hx-v); font-size: 1.05rem; transition: background .3s, color .3s; }
.hx-rv-n b { font-size: .8rem; font-weight: 800; line-height: 1.3; color: var(--dark); overflow-wrap: anywhere; }
.hx-rv-dom b { color: var(--text-muted); font-weight: 700; }
.hx-rv.ok .hx-rv-dom i { background: linear-gradient(135deg, var(--hx-v), var(--hx-m)); color: #fff; border-color: transparent; }
.hx-rv.ok .hx-rv-dom b { color: var(--hx-v); font-weight: 800; }
.hx-rv-w { position: relative; flex: 1; height: 2px; margin-top: 1.45rem; background: repeating-linear-gradient(90deg, rgba(99, 0, 255, .22) 0 5px, transparent 5px 10px); }
.hx-rv-w i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--hx-v); opacity: 0; }
.hx-rv.ok .hx-rv-w i { animation: hxRun 1.6s ease-in-out infinite; }
.hx-rv.ok .hx-rv-w + .hx-rv-n + .hx-rv-w i { animation-delay: .8s; }
.hx-rv-w i:nth-child(2) { animation-delay: .2s !important; }
.hx-rv-w i:nth-child(3) { animation-delay: .4s !important; }
@keyframes hxRun { 0% { left: 0; opacity: 0; } 15%, 80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hx-tips-h { margin: 0 0 .7rem; font-weight: 800; color: var(--dark); }
.hx-scall { display: flex; align-items: flex-start; gap: .9rem; margin-top: 2rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: linear-gradient(135deg, #FFF6E6 0%, #FFFFFF 70%); border: 1px solid rgba(245, 158, 11, .3); }
.hx-scall-ic { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; box-shadow: 0 10px 22px rgba(249, 115, 22, .25); }
.hx-scall > span:last-child { display: grid; gap: .2rem; }
.hx-scall b { font-weight: 800; color: var(--dark); }
.hx-scall small { font-size: .86rem; line-height: 1.5; color: var(--text-muted); }
.hx-scall a { justify-self: start; margin-top: .25rem; font-size: 1.2rem; font-weight: 800; color: var(--dark); text-decoration: none; }
.hx-scall a:hover { color: var(--hx-v); }
.hx-dom { margin-bottom: 1rem; }
.hx-dom-in { position: relative; display: block; }
.hx-dom-in > i { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.hx-dom-in > .fa-globe { left: .95rem; color: var(--text-muted); }
.pgx-pf-f .hx-dom-in input { padding: .85rem 2.6rem .85rem 2.5rem; font-size: 1.08rem; font-weight: 800; }
.hx-dom-ok { right: .95rem; color: var(--hx-m); font-size: 1.1rem; opacity: 0; transform: translateY(-50%) scale(.6) !important; transition: opacity .25s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.hx-dom-in.ok .hx-dom-ok { opacity: 1; transform: translateY(-50%) scale(1) !important; }
.hx-dom-in.ok .fa-globe { color: var(--hx-v); }
.hx-hint { font-size: .78rem; color: var(--text-muted); }
.pgx-pf-f span small { font-weight: 600; color: var(--text-muted); }
.hx-unote { display: flex; gap: .8rem; align-items: center; margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; background: #FFF7E8; border: 1px solid #FAD7A0; color: #7A4300; font-size: .9rem; line-height: 1.5; animation: hxIn .35s ease; }
.hx-unote[hidden] { display: none; }
.hx-unote i { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; }
.hx-unote p { margin: 0; }
.hx-unote a { font-weight: 800; color: #B45309; white-space: nowrap; }
.hx-drop { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; border: 1.5px dashed rgba(99, 0, 255, .25); background: #FBFAFF; cursor: pointer; transition: border-color .2s, background .2s; }
.hx-drop:hover, .hx-drop.over { border-color: var(--hx-v); background: #F6F1FF; }
.hx-drop:focus-within { outline: 2px solid var(--hx-v); outline-offset: 2px; }
.hx-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hx-drop > i { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 12px; background: #F1EBFF; color: var(--hx-v); }
.hx-drop span { display: grid; }
.hx-drop b { font-size: .9rem; font-weight: 800; color: var(--dark); }
.hx-drop small { font-size: .78rem; color: var(--text-muted); }
.hx-files { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.hx-files:empty { display: none; }
.hx-files li { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; padding: .25rem .3rem .25rem .7rem; border-radius: 999px; background: #F1F5F9; font-size: .8rem; font-weight: 700; color: var(--text); }
.hx-files button { width: 1.5rem; height: 1.5rem; border: 0; border-radius: 50%; background: none; color: var(--text-muted); cursor: pointer; }
.hx-files button:hover { background: #E2E8F0; color: var(--dark); }
.hx-ok-dom:empty { display: none; }
.hx-ok-dom { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; background: #F1EBFF; font-weight: 800; color: var(--hx-v) !important; }

/* ---------- спешно ---------- */
.hx-urg { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; max-width: 1080px; margin: 0 auto; padding: 2.8rem 3rem; border-radius: 30px;
    background: linear-gradient(135deg, #FFF6E6 0%, #FFFFFF 48%, #F3EEFF 100%); border: 1px solid rgba(245, 158, 11, .28); box-shadow: 0 34px 80px rgba(245, 158, 11, .12); }
.pg .hx-urg h2 .hl { background-image: linear-gradient(90deg, #F59E0B, #F97316, #F59E0B); }
.hx-urg .section-label { background: linear-gradient(135deg, #F59E0B, #F97316); box-shadow: 0 8px 25px rgba(249, 115, 22, .25); }
.hx-urg h2 { margin: 1rem 0 .8rem; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.15; color: var(--dark); }
.hx-urg-l p { margin: 0 0 1rem; color: var(--text-muted); line-height: 1.65; }
.hx-urg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.hx-urg li { display: flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--dark); }
.hx-urg li i { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 12px; background: #FFF0D6; color: #B45309; }
.hx-urg-r { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.hx-ring { position: relative; width: 5.4rem; height: 5.4rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; font-size: 1.9rem; box-shadow: 0 18px 40px rgba(249, 115, 22, .32); }
.hx-ring::before, .hx-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(249, 115, 22, .45); animation: hxPulse 2.4s ease-out infinite; }
.hx-ring::after { animation-delay: 1.2s; }
@keyframes hxPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.hx-hours { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; padding: .35rem .85rem; border-radius: 999px; background: #E9FBF3; border: 1px solid rgba(26, 204, 141, .35); color: var(--hx-mi); font-size: .84rem; font-weight: 800; }
.hx-num { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: var(--dark); text-decoration: none; white-space: nowrap; }
.hx-num:hover { color: var(--hx-v); }
.hx-urg-b { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.hx-urg-r small { max-width: 22rem; font-size: .84rem; line-height: 1.55; color: var(--text-muted); }

/* ---------- по-тесни екрани ---------- */
@media (max-width: 1100px) {
    .hx-demo { grid-template-columns: 1fr; gap: 1.4rem; }
    .hx-steps { display: flex; gap: .5rem; overflow-x: auto; margin: 0; padding: .2rem .1rem .6rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .hx-steps::-webkit-scrollbar { display: none; }
    .hx-steps::before { display: none; }
    .hx-steps li { flex: none; width: 240px; scroll-snap-align: start; }
    .hx-steps li:last-child { width: auto; display: flex; align-items: center; }
    .hx-step { height: 100%; background: rgba(255, 255, 255, .55); border-color: var(--hx-line); }
    .hx-replay { margin: 0; white-space: nowrap; }
}
@media (max-width: 900px) {
    .hx-urg { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.4rem; }
}
@media (max-width: 640px) {
    .hx-opts { grid-template-columns: 1fr; }
    .hx-facts { grid-template-columns: 1fr; gap: .8rem; margin-top: 1.8rem; }
    .hx-facts li { display: flex; align-items: center; gap: .8rem; }
    .hx-route { min-height: 0; }
    .hx-tri { padding: 1rem; }
    .hx-win { height: 500px; font-size: 12px; }
    .hx-ask.closed .hx-btns { display: none; }
    .hx-msg { max-width: 100%; }
    .hx-body { grid-template-columns: 1fr; padding: 8px; }
    .hx-side, .hx-search { display: none; }
    .hx-bell { margin-left: auto; }
    .hx-menu { width: calc(100% - 24px); }
    .hx-notif { right: 12px; width: calc(100% - 24px); }
    .hx-rv-n { width: 5.6rem; }
    .hx-rv-n b { font-size: .72rem; }
    .hx-num { font-size: 2rem; }
    .hx-demo .pgx-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-rt.in, .hx-mine.show, .hx-thread, .hx-ask, .hx-ev, .hx-unote { animation: none; }
    .hx-rt-arr, .hx-ring::before, .hx-ring::after, .hx-rv.ok .hx-rv-w i, .hx-bell.on i { animation: none; }
    .hx-cur { display: none; }
}
