/* Shared finishing layer for the Zynex24 public pages. */
:root { --shell-line: rgba(182,194,221,.14); --shell-panel: rgba(15,20,32,.82); }
html { scroll-padding-top: 92px; overflow-x: clip; }
body { text-rendering: optimizeLegibility; }
.top, .topbar { border-color: var(--shell-line) !important; background: rgba(8,11,18,.84) !important; backdrop-filter: blur(18px) saturate(135%); }
.links a, .navlinks a, .menu a, .mobile-menu a { min-height: 42px; display: inline-flex; align-items: center; }
.links a[aria-current="page"], .navlinks a[aria-current="page"] { color: #fff !important; }
.links a[aria-current="page"]::after, .navlinks a[aria-current="page"]::after { content: ""; align-self: flex-end; width: 5px; height: 5px; margin: 0 0 11px 6px; border-radius: 50%; background: #9b78ff; box-shadow: 0 0 12px #9b78ff; }
.card, .wide, .panel-card, .step, .live-status { border-color: var(--shell-line) !important; box-shadow: 0 18px 50px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035); }
.card, .wide, .panel-card { transition: border-color .2s ease, transform .2s ease, background-color .2s ease; }
.card:hover { border-color: rgba(166,133,255,.32) !important; }
.btn, button.btn { min-height: 44px; }
button { color: inherit; }
.hamb { width: 43px; height: 43px; border: 1px solid var(--shell-line); border-radius: 11px; background: rgba(255,255,255,.045); color: var(--text); cursor: pointer; }
.menu.open, .mobile-menu.open { display: flex !important; }
.theme-toggle { width: 40px; min-width: 40px; min-height: 40px !important; padding: 0 !important; border-radius: 50% !important; font-size: 17px !important; }
.theme-toggle-mobile { display: none !important; width: 100%; justify-content: flex-start !important; border-radius: 10px !important; padding-inline: 12px !important; font-size: 12px !important; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); border-radius: 9px; background: #17132c; color: #fff; }
.skip-link:focus { transform: translateY(0); }
.quick-access { padding-top: 26px !important; }
.quick-access-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.quick-access-card { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--shell-line); border-radius: 14px; background: rgba(255,255,255,.035); transition: transform .18s ease,border-color .18s ease,background .18s ease; }
.quick-access-card:hover { transform: translateY(-2px); border-color: rgba(168,133,255,.45); background: rgba(168,85,247,.07); }
.quick-access-card .card-icon { flex: 0 0 auto; display: grid; width: 38px; height: 38px; place-items: center; margin: 0; border-radius: 11px; background: rgba(139,92,246,.13); color: #c3a8ff; }
.quick-access-card strong,.quick-access-card small { display: block; }
.quick-access-card strong { font-size: 13px; }
.quick-access-card small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.quick-access-card b { margin-left: auto; color: #b594ff; }
.status-more { display: inline-flex; margin-top: 14px; }
.faq-search { display: flex; max-width: 680px; min-height: 54px; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0 16px; border: 1px solid var(--shell-line); border-radius: 13px; background: var(--shell-panel); color: #a5b1c6; }
.faq-search > span { font-size: 25px; line-height: 1; }
.faq-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.faq-search input::placeholder { color: #7d8ba3; }
.faq-search kbd { padding: 3px 7px; border: 1px solid var(--shell-line); border-radius: 6px; color: var(--subtle); font: 10px ui-monospace,monospace; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid var(--shell-line); border-radius: 13px; background: rgba(255,255,255,.028); }
.faq-list details[hidden] { display: none !important; }
.faq-list summary { padding: 2px; }
.faq-list details p { margin-bottom: 3px; }
.faq-search-empty { max-width: 680px; padding: 14px; border: 1px dashed var(--shell-line); border-radius: 12px; color: var(--muted); }
.faq-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.faq-categories .btn { min-height: 36px; padding-inline: 12px; font-size: 11px; }
.status-page .live-status { margin: 26px 0 18px; }
.status-page .live-status-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.status-note h2, .status-support h2 { margin: 8px 0; font-size: clamp(20px,3vw,27px); letter-spacing: -.04em; }
.status-note > p, .status-support p { color: var(--muted); }
.unmonitored-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.unmonitored-item { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--shell-line); border-radius: 11px; background: rgba(255,255,255,.025); }
.unmonitored-item strong { font-size: 13px; }
.unmonitored-item span { color: var(--muted); font-size: 11px; }
.status-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.status-support p { margin-bottom: 0; }
.status-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.is-unknown .status-indicator { background: #9ba8bb; }
.is-unknown [data-status-label] { color: #bdc5d5 !important; }
.foot, .footer { border-color: var(--shell-line) !important; }
.footlinks, .footer-links { row-gap: 8px; }
.cookie-banner { z-index: 90 !important; }
.cookie-reopen { z-index: 80 !important; }
.status-page .content, .status-page { scroll-margin-top: 90px; }
@media (max-width: 1100px) {
  .top .links { display: none !important; }
  .top .hamb { display: grid !important; place-items: center; }
  .top .menu.open { position: absolute; top: 69px; left: 0; right: 0; z-index: 21; display: flex !important; flex-direction: column; gap: 3px; padding: 12px 18px 17px; border: 1px solid var(--shell-line); border-top: 0; border-radius: 0 0 15px 15px; background: #090d18f5; box-shadow: 0 20px 40px #0007; backdrop-filter: blur(18px); }
  .top .menu a { padding: 9px 4px; color: #c3cddd; }
}
html[data-theme="light"] { color-scheme: light; --text: #182033; --muted: #56627a; --subtle: #68758d; --line: rgba(39,53,85,.16); --surface: #fff; --surface-raised: #f4f6fb; }
html[data-theme="light"] body { background: radial-gradient(ellipse at 74% 8%,rgba(112,105,245,.10),transparent 35%),#f4f6fb !important; color: #182033 !important; }
html[data-theme="light"] .top, html[data-theme="light"] .topbar { background: rgba(248,249,253,.88) !important; }
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3, html[data-theme="light"] .brand, html[data-theme="light"] .links a[aria-current="page"], html[data-theme="light"] .navlinks a[aria-current="page"] { color: #182033 !important; }
html[data-theme="light"] .brand span { color: #38435a !important; }
html[data-theme="light"] .links, html[data-theme="light"] .navlinks, html[data-theme="light"] .lead, html[data-theme="light"] .intro { color: #56627a !important; }
html[data-theme="light"] .card, html[data-theme="light"] .wide, html[data-theme="light"] .panel-card, html[data-theme="light"] .step, html[data-theme="light"] .live-status, html[data-theme="light"] .faq-list details { background: rgba(255,255,255,.92) !important; border-color: rgba(39,53,85,.14) !important; box-shadow: 0 14px 34px rgba(35,46,75,.07); }
html[data-theme="light"] .quick-access-card, html[data-theme="light"] .unmonitored-item, html[data-theme="light"] .live-status-item { background: rgba(255,255,255,.76); border-color: rgba(39,53,85,.14); }
html[data-theme="light"] .top, html[data-theme="light"] .topbar, html[data-theme="light"] .footer, html[data-theme="light"] .foot { border-color: rgba(39,53,85,.13) !important; }
html[data-theme="light"] .footer, html[data-theme="light"] .foot { background: #edf0f7 !important; color: #526079 !important; }
html[data-theme="light"] .menu.open, html[data-theme="light"] .mobile-menu.open { background: #fbfcff !important; border-color: rgba(39,53,85,.16) !important; }
html[data-theme="light"] .menu a, html[data-theme="light"] .mobile-menu a, html[data-theme="light"] .faq-search { color: #28334a; }
html[data-theme="light"] .hamb, html[data-theme="light"] .theme-toggle { color: #243049; background: #fff; border-color: rgba(39,53,85,.16); }
html[data-theme="light"] .faq-search { background: #fff; border-color: rgba(39,53,85,.16); }
html[data-theme="light"] .faq-search input { color: #182033; }
html[data-theme="light"] .faq-search kbd { color: #68758d; }
html[data-theme="light"] .quick-access-card { color: #182033; }
html[data-theme="light"] .eyebrow, html[data-theme="light"] .kicker, html[data-theme="light"] .label, html[data-theme="light"] .step-no { color: #5a3eb5 !important; }
html[data-theme="light"] .textlink, html[data-theme="light"] .network-link { color: #5636ae !important; }
html[data-theme="light"] .live-status-item [data-status-label] { color: #526079 !important; }
html[data-theme="light"] .menu a, html[data-theme="light"] .mobile-menu a { color: #28334a !important; }
@media (max-width: 900px) { .theme-toggle-desktop { display: none !important; } .theme-toggle-mobile { display: inline-flex !important; } .quick-access-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .quick-access-grid, .unmonitored-grid, .status-page .live-status-grid { grid-template-columns: 1fr; }
  .status-support { align-items: flex-start; flex-direction: column; }
  .status-actions { width: 100%; }
  .status-actions .btn { flex: 1 1 auto; }
  .quick-access-card { padding: 13px; }
  .nav-actions > .btn, .actions > .btn { display: none !important; }
  .nav-actions .hamb, .actions .hamb { display: grid !important; place-items: center; margin-left: auto; }
  .hero { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; min-width: 0; max-width: 100%; }
  .hero-copy, .hero-art { width: 100%; min-width: 0; max-width: 100%; }
  .hero { grid-template-columns: minmax(0,1fr); overflow: clip; }
  .hero-copy, .hero-art { justify-self: stretch; }
  .lead { width: 100%; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .hero-art { min-height: 310px; padding-bottom: 8px; overflow: hidden; }
  .join-card { width: 100%; max-width: 100%; min-width: 0; }
  .join-card-head { flex-wrap: wrap; }
  body .zy-support-launch { right: 12px !important; bottom: 56px !important; width: 44px !important; height: 44px !important; padding: 0 !important; display: grid !important; place-items: center !important; font-size: 0 !important; }
  body .zy-support-launch::before { content: "💬"; font-size: 18px; }
  body:has(.mobile-menu.open) .zy-support-launch, body:has(.menu.open) .zy-support-launch { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .card, .wide, .panel-card, .step, .quick-access-card { transition: none !important; } }
