:where(:root) { --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f1f3f6; --line: #e1e5eb; --text: #17202b;
  --muted: #5d6877; --faint: #8a94a3; --accent: #0f766e; --accent-ink: #ffffff; --good: #1a7f4b;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hxsb-app {
  --panel: var(--surface); --panel-2: var(--surface-2);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --good-soft: color-mix(in srgb, var(--good) 16%, transparent);
  --warn: #d4892a; --warn-soft: color-mix(in srgb, #d4892a 16%, transparent);
  --bad: #e5534b; --bad-soft: color-mix(in srgb, #e5534b 16%, transparent);
  --info: var(--accent); --info-soft: var(--accent-soft);
  --idle: var(--muted); --idle-soft: color-mix(in srgb, var(--muted) 14%, transparent);
  --control-line: color-mix(in srgb, var(--muted) 70%, var(--surface)); --focus: var(--accent);
  --on-bad: #ffffff; --scrim: rgba(10,14,19,.5); --shadow-pop: 0 8px 24px rgba(0,0,0,.18);
  --paper: #ffffff; --paper-ink: #17202b; --paper-link: #0f766e; --star: #8a5a00;
  --sticky-note: #fef3c7; --sticky-note-ink: #78350f; --sticky-note-line: #b45309;
}
.hxsb-app :root[data-theme="light"] { color-scheme: light; }
.hxsb-app :root[data-theme="dark"] { color-scheme: dark; }
.hxsb-app * { box-sizing: border-box; }
.hxsb-app [hidden] { display: none !important; }
.hxsb-app, .hxsb-app { margin: 0; background: var(--bg); color: var(--text); }
.hxsb-app { font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.hxsb-app a { color: var(--accent); text-decoration: none; }
.hxsb-app a:hover { text-decoration: underline; }
.hxsb-app .num, .hxsb-app td.num, .hxsb-app th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hxsb-app .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.hxsb-app .muted { color: var(--muted); }
.hxsb-app .faint { color: var(--faint); }
.hxsb-app .shell { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--side) 224px, var(--bg) 224px); }
.hxsb-app .side { background: var(--side); color: var(--side-text); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.hxsb-app .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 700; letter-spacing: .2px; color: var(--side-strong); }
.hxsb-app .brand .mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-size: 14px; }
.hxsb-app .brand small { display: block; font-weight: 500; color: var(--side-muted); font-size: 11.5px; letter-spacing: 0; }
.hxsb-app .nav a { display: flex; align-items: center; gap: 10px; color: var(--side-text); padding: 8px 10px; border-radius: 7px; font-size: 13.5px; }
.hxsb-app .nav a:hover { background: var(--side-active); text-decoration: none; }
.hxsb-app .nav a.on { background: var(--side-active); color: var(--side-strong); box-shadow: inset 2px 0 0 var(--accent); }
.hxsb-app .nav svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.hxsb-app .side .foot { margin-top: auto; padding: 10px; font-size: 12px; color: var(--side-muted); border-top: 1px solid var(--side-line); }
.hxsb-app .side .foot button { background: none; border: 0; color: var(--side-text); padding: 0; cursor: pointer; font: inherit; }
.hxsb-app .side .foot a { color: var(--side-text); text-decoration: underline; text-underline-offset: 2px; }
.hxsb-app .side .foot a:hover { text-decoration-thickness: 2px; }
.hxsb-app .brand .msignout, .hxsb-app .brand .maccount { display: none; }
.hxsb-app .main { min-width: 0; }
.hxsb-app .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
.hxsb-app .top .crumbs { color: var(--muted); font-size: 13px; }
.hxsb-app .top .crumbs b { color: var(--text); font-weight: 600; }
.hxsb-app .page { padding: 24px 28px 48px; max-width: 1320px; }
.hxsb-app .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.hxsb-app .head h1 { font-size: 21px; margin: 0; letter-spacing: -.2px; }
.hxsb-app .head .sub { color: var(--muted); margin-top: 3px; }
.hxsb-app .sub { display: block; color: var(--muted); font-size: 12.5px; }
.hxsb-app .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hxsb-app .modrow { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.hxsb-app .modrow input { width: auto; flex: none; margin: 2px 0 0; }
.hxsb-app .modrow > span { min-width: 0; }
.hxsb-app .modrow b { display: block; }
.hxsb-app .modrow .sub { margin-top: 2px; }
.hxsb-app .grid { display: grid; gap: 16px; }
.hxsb-app .g2 { grid-template-columns: 1fr 1fr; }
.hxsb-app .g3 { grid-template-columns: 2fr 1fr; }
@media (max-width: 1000px) {
.hxsb-app .g2, .hxsb-app .g3 { grid-template-columns: minmax(0, 1fr); }
}
.hxsb-app .grid > * { min-width: 0; }
@media (max-width: 760px) {
.hxsb-app .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; background: var(--bg); }
.hxsb-app .side { position: static; height: auto; padding: 10px 10px 8px; gap: 6px; }
.hxsb-app .brand { padding: 2px 6px 4px; }
.hxsb-app .brand .maccount { display: inline-flex; align-items: center; margin-left: auto; border: 1px solid var(--side-line); border-radius: 6px; color: var(--side-text); font-size: 12.5px; font-weight: 600; padding: 5px 10px; text-decoration: none; }
.hxsb-app .brand .maccount:hover { background: var(--side-active); }
.hxsb-app .brand .msignout { display: inline-flex; margin-left: 8px; background: none; border: 1px solid var(--side-line); color: var(--side-text); font-size: 12.5px; font-weight: 600; padding: 5px 10px; }
.hxsb-app .brand .msignout:hover { background: var(--side-active); }
.hxsb-app .nav { display: flex; overflow-x: auto; gap: 2px; scrollbar-width: none; }
.hxsb-app .nav::-webkit-scrollbar { display: none; }
.hxsb-app .nav a { white-space: nowrap; padding: 7px 10px; }
.hxsb-app .nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }
.hxsb-app .side .foot { display: none; }
.hxsb-app .page, .hxsb-app .top { padding-left: 16px; padding-right: 16px; }
.hxsb-app td, .hxsb-app th { white-space: nowrap; padding: 9px 12px; }
.hxsb-app .head h1 { font-size: 19px; }
}
.hxsb-app .card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.hxsb-app .card > h2 { font-size: 13.5px; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hxsb-app .card .body { padding: 16px; }
.hxsb-app .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.hxsb-app .kpi { padding: 14px 16px; }
.hxsb-app .kpi .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.hxsb-app .kpi .value { font-size: 24px; font-weight: 650; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.hxsb-app .kpi .value small { font-size: 13px; color: var(--muted); font-weight: 500; }
.hxsb-app .kpi .note { font-size: 12px; margin-top: 4px; color: var(--muted); }
.hxsb-app .kpi.alert { border-left: 3px solid var(--bad); }
.hxsb-app .dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; }
.hxsb-app .dl dt { color: var(--muted); }
.hxsb-app .dl dd { margin: 0; }
.hxsb-app .tablewrap { overflow-x: auto; }
.hxsb-app table { width: 100%; border-collapse: collapse; }
.hxsb-app th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); white-space: nowrap; }
.hxsb-app td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hxsb-app tr:last-child td { border-bottom: 0; }
.hxsb-app tbody tr.link { cursor: pointer; }
.hxsb-app tbody tr.link:hover td { background: var(--panel-2); }
.hxsb-app td .sub { display: block; font-size: 12px; color: var(--muted); }
.hxsb-app .clip { display: inline-block; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.hxsb-app td .clip, .hxsb-app th .clip { max-width: 30ch; }
.hxsb-app h1 .clip, .hxsb-app .crumbs .clip { max-width: 46ch; }
@media (max-width: 640px) {
.hxsb-app .clip, .hxsb-app td .clip, .hxsb-app th .clip, .hxsb-app h1 .clip, .hxsb-app .crumbs .clip { max-width: 22ch; }
}
.hxsb-app .empty { padding: 28px 16px; text-align: center; color: var(--muted); }
.hxsb-app .loadmore { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.hxsb-app .cpick { position: relative; }
.hxsb-app .cp-list { margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); max-height: 240px; overflow: auto; }
.hxsb-app .cp-list button { display: block; width: 100%; text-align: left; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-weight: 400; padding: 8px 10px; background: none; }
.hxsb-app .cp-list button:last-child { border-bottom: 0; }
.hxsb-app .cp-list button:hover, .hxsb-app .cp-list button:focus { background: var(--panel-2); }
.hxsb-app .cp-list button .faint { display: block; font-size: 12.5px; }
.hxsb-app .cp-none { padding: 10px; }
.hxsb-app .cp-picked { gap: 8px; }
.hxsb-app .sm-only, .hxsb-app .sm-only-inline { display: none; }
.hxsb-app table.lines td.desc { min-width: 140px; }
@media (max-width: 600px) {
.hxsb-app .sm-hide { display: none; }
.hxsb-app .sm-only { display: table-cell; }
.hxsb-app .sm-only-inline { display: inline; }
.hxsb-app table.lines td.desc, .hxsb-app table.lines td.wrap { white-space: normal; overflow-wrap: anywhere; }
}
.hxsb-app tfoot td { font-weight: 600; }
.hxsb-app .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.hxsb-app .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hxsb-app .pill.good { color: var(--good); background: var(--good-soft); }
.hxsb-app .pill.warn { color: var(--warn); background: var(--warn-soft); }
.hxsb-app .pill.bad { color: var(--bad); background: var(--bad-soft); }
.hxsb-app .pill.info { color: var(--info); background: var(--info-soft); }
.hxsb-app .pill.idle { color: var(--idle); background: var(--idle-soft); }
.hxsb-app button, .hxsb-app .btn { font: inherit; font-size: 13.5px; font-weight: 600; border-radius: 7px; padding: 7px 13px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.hxsb-app button:hover, .hxsb-app .btn:hover { background: var(--panel-2); text-decoration: none; }
.hxsb-app button.primary, .hxsb-app .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hxsb-app button.primary:hover, .hxsb-app .btn.primary:hover { filter: brightness(1.06); }
.hxsb-app button.danger { color: var(--bad); }
.hxsb-app button.small, .hxsb-app .btn.small { padding: 4px 9px; font-size: 12.5px; }
.hxsb-app button:disabled { opacity: .55; cursor: default; }
.hxsb-app input, .hxsb-app select, .hxsb-app textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--control-line); border-radius: 7px; padding: 7px 10px; width: 100%; }
.hxsb-app label.f { display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hxsb-app .form { display: grid; gap: 12px; }
.hxsb-app .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hxsb-app .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hxsb-app .chips button { font-weight: 500; border-radius: 999px; padding: 5px 12px; }
.hxsb-app .chips button.on { background: var(--text); color: var(--panel); border-color: var(--text); }
.hxsb-app .search { max-width: 280px; }
.hxsb-app dialog { border: 1px solid var(--line); border-radius: 12px; padding: 0; background: var(--panel); color: var(--text); width: min(520px, 92vw); box-shadow: var(--shadow-pop); }
.hxsb-app dialog::backdrop { background: var(--scrim); }
.hxsb-app dialog h3 { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hxsb-app dialog .body { padding: 18px; }
.hxsb-app dialog .actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--panel-2); border-radius: 0 0 12px 12px; }
.hxsb-app .err { color: var(--bad); font-size: 13px; min-height: 1em; }
.hxsb-app .login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.hxsb-app .login .card { width: min(380px, 100%); }
.hxsb-app .login .brand { color: var(--text); padding: 22px 22px 0; }
.hxsb-app .login .body { padding: 18px 22px 22px; }
.hxsb-app .chart svg { width: 100%; height: auto; display: block; }
.hxsb-app .chart .bar { fill: var(--accent); }
.hxsb-app .chart .bar.cur { fill: var(--accent); opacity: .55; }
.hxsb-app .chart text { fill: var(--muted); font-size: 11px; }
.hxsb-app .chart .grid line { stroke: var(--line); }
.hxsb-app #toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--panel); padding: 10px 16px; border-radius: 8px; font-weight: 600; opacity: 0; transition: all .2s; pointer-events: none; z-index: 50; }
.hxsb-app #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hxsb-app #toast.bad { background: var(--bad); color: var(--on-bad); }
@media (prefers-reduced-motion: reduce) {
.hxsb-app #toast { transition: none; }
}
.hxsb-app .optgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hxsb-app .optgrid > * { min-width: 0; }
.hxsb-app table.choices { width: 100%; border-collapse: collapse; }
.hxsb-app table.choices th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hxsb-app table.choices th.num { text-align: right; }
.hxsb-app table.choices td { padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hxsb-app table.choices input { padding: 5px 8px; font-size: 13px; }
.hxsb-app table.choices td.pc input { width: 86px; text-align: right; font-variant-numeric: tabular-nums; }
.hxsb-app table.choices td.mv { white-space: nowrap; width: 1%; }
.hxsb-app table.choices tr.more td { background: var(--panel-2); }
.hxsb-app input.num { text-align: right; font-variant-numeric: tabular-nums; }
.hxsb-app button.ghost { border-color: transparent; background: transparent; padding: 3px 6px; }
.hxsb-app button.ghost:hover { background: var(--panel-2); }
.hxsb-app button.small.danger, .hxsb-app button.ghost.danger { color: var(--bad); }
.hxsb-app .stepline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.hxsb-app .stepline .n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 12.5px; }
.hxsb-app .stepline .sub { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hxsb-app .optcard > h2 { gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
.hxsb-app .optgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.hxsb-app .srcbox { display: grid; gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 9px; background: var(--panel-2); }
.hxsb-app .codebox { padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; font-size: 12.5px; overflow-x: auto; word-break: break-all; }
.hxsb-app table.choices tr.retired td { opacity: .55; }
.hxsb-app .pathin { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); overflow: hidden; }
.hxsb-app .pathin span { padding: 0 2px 0 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.hxsb-app .pathin input { border: 0; border-radius: 0; padding-left: 2px; }
.hxsb-app .pathin:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.hxsb-app .themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.hxsb-app .theme { display: flex; flex-direction: column; }
.hxsb-app .theme.live { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hxsb-app .theme h3 { margin: 0; font-size: 16px; }
.hxsb-app .theme .body { flex: 1; display: grid; gap: 8px; align-content: start; }
.hxsb-app .theme .body p { margin: 0; }
.hxsb-app .theme-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); }
.hxsb-app .problems { border: 1px solid var(--bad); background: var(--bad-soft); border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.hxsb-app .problems ul { margin: 6px 0 0; padding-left: 18px; }
.hxsb-app .problems a { color: var(--bad); font-weight: 600; }
.hxsb-app .editor { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 14px; align-items: start; }
.hxsb-app .tree { padding: 8px; max-height: calc(100vh - 200px); overflow: auto; position: sticky; top: 16px; }
.hxsb-app .tdir { color: var(--faint); font-size: 12px; padding: 10px 8px 4px; }
.hxsb-app .tfile { display: block; padding: 5px 8px 5px 14px; border-radius: 6px; font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hxsb-app .tfile:hover { background: var(--panel-2); text-decoration: none; }
.hxsb-app .tfile.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.hxsb-app .tfile.bad::after { content: " ●" / " has a problem"; color: var(--bad); }
.hxsb-app .edbar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hxsb-app .edbar .mono { font-weight: 600; }
.hxsb-app .edbar #edstate { margin-left: auto; font-size: 12.5px; }
.hxsb-app textarea.code { display: block; width: 100%; min-height: calc(100vh - 260px); border: 0; border-radius: 0; resize: vertical; padding: 14px 16px;
  font: 13px/19px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; white-space: pre; overflow: auto; background: var(--panel); }
.hxsb-app textarea.code:focus-visible { outline-offset: -3px; }
.hxsb-app .help { margin-top: 14px; }
.hxsb-app .help summary { padding: 12px 16px; cursor: pointer; font-weight: 600; }
.hxsb-app .help .body p { margin: 0 0 10px; }
.hxsb-app .listed { display: grid; gap: 10px; margin-top: 6px; }
.hxsb-app .listrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.hxsb-app .listfields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
@media (max-width: 860px) {
.hxsb-app .editor { grid-template-columns: minmax(0, 1fr); }
.hxsb-app .tree { position: static; max-height: 220px; }
}
.hxsb-app ol.consent { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 280px; overflow: auto; }
.hxsb-app ol.consent li { padding-left: 12px; border-left: 2px solid var(--line); font-size: 13.5px; }
.hxsb-app ol.consent .sub { display: block; color: var(--muted); font-size: 12.5px; }
.hxsb-app .boxes { display: grid; gap: 8px; max-height: 300px; overflow: auto; padding: 4px 2px; }
.hxsb-app pre.json { margin: 0; padding: 12px; background: var(--panel-2); border-radius: 8px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: auto; max-height: 60vh; white-space: pre; }
.hxsb-app .gchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hxsb-app .gchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--panel); }
.hxsb-app .geodb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 9px; background: var(--panel-2); font-size: 13px; }
.hxsb-app .cond { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); margin-top: 6px; font-weight: 400; }
.hxsb-app .f.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.hxsb-app .f.check input { width: auto; }
.hxsb-app .hint { margin: 0; font-size: 12.5px; font-weight: 400; }
.hxsb-app .blocks { display: grid; gap: 6px; margin-top: 4px; }
.hxsb-app .blockrow { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); font-weight: 400; }
.hxsb-app .blockrow.off { background: var(--panel-2); color: var(--muted); }
.hxsb-app .imgfield { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px; margin-top: 6px; font-weight: 400; }
@media (max-width: 860px) {
.hxsb-app .imgfield { grid-template-columns: minmax(0, 1fr); }
}
.hxsb-app .imgprev { border: 1px solid var(--line); border-radius: 10px; min-height: 150px; display: grid; place-items: center; padding: 18px; overflow: hidden;
  background: repeating-conic-gradient(var(--panel-2) 0% 25%, var(--panel) 0% 50%) 50% / 18px 18px; }
.hxsb-app .imgstage { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.hxsb-app .imgstage > div { display: grid; gap: 6px; justify-items: center; font-size: 11.5px; }
.hxsb-app .imgstage img { display: block; max-width: 100%; }
.hxsb-app .imgempty { color: var(--muted); font-size: 13px; }
.hxsb-app .imgside { display: grid; gap: 10px; align-content: start; }
.hxsb-app .imgctl { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.hxsb-app .imgctl > span { color: var(--muted); }
.hxsb-app .imgctl input[type=range] { padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
.hxsb-app .imgctl output { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; min-width: 70px; text-align: right; }
.hxsb-app .imgctl .chips { grid-column: 2 / 4; }
.hxsb-app .medialib { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.hxsb-app .mediaitem { display: grid; gap: 4px; font-size: 12px; justify-items: start; }
.hxsb-app .mediapick { width: 100%; aspect-ratio: 4 / 3; padding: 8px; display: grid; place-items: center; background: var(--panel-2); }
.hxsb-app .mediapick img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hxsb-app .imgctl.shape { grid-template-columns: 86px minmax(0, 1fr); align-items: start; }
.hxsb-app .imgctl.shape > span { padding-top: 6px; }
.hxsb-app .imgctl.shape .chips { grid-column: auto; }
.hxsb-app .imgprevwrap { display: grid; gap: 6px; justify-items: start; }
.hxsb-app .imgprevwrap .imgprev { width: 100%; }
.hxsb-app .imgprev.dark { background: repeating-conic-gradient(var(--preview-dark-a) 0% 25%, var(--preview-dark-b) 0% 50%) 50% / 18px 18px; border-color: var(--line); }
.hxsb-app .imgprev.dark .faint, .hxsb-app .imgprev.dark .imgempty { color: var(--preview-dark-ink); }
.hxsb-app .imgprevwrap { align-content: start; }
.hxsb-app .radios { display: grid; gap: 6px; margin-top: 4px; font-weight: 400; }
.hxsb-app .radio { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.hxsb-app .radio input { width: auto; margin-top: 3px; }
.hxsb-app .radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.hxsb-app .chips a.chip { text-decoration: none; }
.hxsb-app .ticketgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
@media (max-width: 960px) {
.hxsb-app .ticketgrid { grid-template-columns: minmax(0, 1fr); }
}
.hxsb-app .thread { display: grid; gap: 10px; }
.hxsb-app .tmsg { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px 14px; }
.hxsb-app .tmsg.staff { border-left: 3px solid var(--accent); }
.hxsb-app .tmsg.system { background: var(--panel-2); color: var(--muted); }
.hxsb-app .tmsg.note { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.hxsb-app .tmeta { font-size: 13px; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hxsb-app .tbody { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.hxsb-app .atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hxsb-app .att { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); }
.hxsb-app .tside { position: sticky; top: 14px; }
.hxsb-app .tinfo { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13.5px; }
.hxsb-app form.noting textarea { background: var(--warn-soft); }
.hxsb-app .chips a.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--panel); color: var(--text); }
.hxsb-app .chips a.chip:hover { background: var(--panel-2); }
.hxsb-app .chips a.chip.on { background: var(--text); color: var(--panel); border-color: var(--text); }
.hxsb-app .chips a.chip.on .faint { color: inherit; opacity: .7; }
.hxsb-app .healthgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.hxsb-app .hc { background: var(--panel); padding: 12px 16px; display: grid; gap: 3px; font-size: 13px; border-left: 3px solid var(--good); }
.hxsb-app .hc span { color: var(--muted); }
.hxsb-app .hc.warn { border-left-color: var(--warn); }
.hxsb-app .hc.bad { border-left-color: var(--bad); background: var(--bad-soft); }
.hxsb-app .kb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hxsb-app .kb-split textarea { min-height: 420px; font-size: 13px; line-height: 1.5; }
.hxsb-app .kb-preview { border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px; min-height: 420px; max-height: 70vh; overflow: auto; background: var(--panel); line-height: 1.6; font-weight: 400; }
.hxsb-app .kb-preview pre { overflow-x: auto; background: var(--panel-2); padding: 10px; border-radius: 6px; }
.hxsb-app .kb-preview img { max-width: 100%; }
.hxsb-app .kb-preview strong, .hxsb-app .kb-preview b { font-weight: 700; }
@media (max-width: 900px) {
.hxsb-app .kb-split { grid-template-columns: 1fr; }
.hxsb-app .kb-preview, .hxsb-app .kb-split textarea { min-height: 220px; }
}
.hxsb-app .rpt { margin-top: 16px; }
.hxsb-app .rptgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; }
.hxsb-app .rptgrid > * { min-width: 0; }
.hxsb-app .rptbarfill { height: 8px; border-radius: 4px; background: var(--accent); opacity: .75; }
@media (max-width: 500px) {
.hxsb-app .rptgrid { grid-template-columns: 1fr; }
}
.hxsb-app .campgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.hxsb-app .campgrid > .card + .card { position: sticky; top: 16px; }
.hxsb-app .aud { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 10px; margin: 0; min-width: 0; }
.hxsb-app .aud legend { font-weight: 600; font-size: 13px; padding: 0 4px; }
.hxsb-app .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hxsb-app .chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 400; cursor: pointer; }
.hxsb-app .chip input { width: auto; margin: 0; }
.hxsb-app .audcount { font-size: 13px; }
.hxsb-app .mailprev { background: var(--paper); color: var(--paper-ink); border-radius: 8px; border: 1px solid var(--line); overflow: auto; max-height: 75vh; }
.hxsb-app .mailprev a { color: var(--paper-link); }
.hxsb-app .tplframe { display: block; width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.hxsb-app .tpltext { white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 8px 0 0; max-height: 300px; overflow: auto; }
.hxsb-app .tplconfirm { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--panel-2); }
@media (max-width: 1000px) {
.hxsb-app .campgrid { grid-template-columns: 1fr; }
.hxsb-app .campgrid > .card + .card { position: static; }
}
.hxsb-app .gbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px 1px 6px; vertical-align: middle; }
.hxsb-app .gbadge i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hxsb-app .setup { margin-bottom: 16px; }
.hxsb-app .steps { list-style: none; margin: 0; padding: 6px 16px 14px; display: grid; gap: 2px; }
.hxsb-app .steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hxsb-app .steps li:last-child { border-bottom: 0; }
.hxsb-app .steps .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--accent-ink); margin-top: 1px; }
.hxsb-app .steps li.done .tick { background: var(--good); border-color: var(--good); }
.hxsb-app .steps li.done b { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.hxsb-app .steps .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hxsb-app .fchart { width: 100%; min-width: 560px; height: auto; display: block; }
.hxsb-app .fchart rect.past { fill: var(--accent); }
.hxsb-app .fchart rect.proj { fill: var(--accent); opacity: .35; }
.hxsb-app .fchart text { fill: var(--muted); font-size: 10px; }
.hxsb-app .fchart .now { stroke: var(--line); stroke-dasharray: 3 3; }
.hxsb-app .seasons { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 96px; }
.hxsb-app .seasons div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.hxsb-app .seasons span { width: 70%; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; }
.hxsb-app .seasons b { font-size: 11px; font-weight: 500; color: var(--muted); }
.hxsb-app .hostedbar { padding: 12px 16px; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hxsb-app .hostedbar.bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.hxsb-app .hostedbar.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.hxsb-app .meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hxsb-app .meter > i { display: block; height: 100%; background: var(--accent); }
.hxsb-app .bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--panel); }
.hxsb-app .bell:hover { background: var(--panel-2); text-decoration: none; }
.hxsb-app .bellcount { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: var(--on-bad); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.hxsb-app .top .tools { display: flex; align-items: center; gap: 10px; }
.hxsb-app .notes .note { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.hxsb-app .notes .note:last-child { border-bottom: 0; }
.hxsb-app .notes .note.unread { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.hxsb-app .notehead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hxsb-app .notebody { color: var(--text); overflow-wrap: anywhere; }
.hxsb-app form.chan { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.hxsb-app form.chan:first-of-type { border-top: 0; }
.hxsb-app a.btn.small { padding: 4px 9px; font-size: 12.5px; }
.hxsb-app th.bsel, .hxsb-app td.bsel { width: 28px; padding-right: 0; }
.hxsb-app th.bsel input, .hxsb-app td.bsel input { width: auto; margin: 0; }
.hxsb-app .bulkbar { padding: 10px 12px; margin: -4px -4px 12px; border-radius: 8px; background: var(--info-soft); }
.hxsb-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hxsb-app .side :focus-visible { outline-color: var(--side-focus); }
.hxsb-app .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hxsb-app .skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 14px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-weight: 700; transform: translateY(-200%); }
.hxsb-app .skip:focus { transform: none; text-decoration: none; }
.hxsb-app main:focus { outline: none; }
.hxsb-app ::placeholder { color: var(--muted); opacity: 1; }
.hxsb-app .crumbs a, .hxsb-app p a, .hxsb-app .sub a, .hxsb-app .muted a, .hxsb-app .hint a, .hxsb-app .empty a, .hxsb-app .intro a, .hxsb-app li a, .hxsb-app dd a, .hxsb-app .note a, .hxsb-app .problems a, .hxsb-app label a { text-decoration: underline; text-underline-offset: 2px; }
.hxsb-app .themesel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.hxsb-app .themesel select { width: auto; padding: 4px 8px; font-size: 12.5px; }
.hxsb-app .side .themesel { color: var(--side-muted); padding: 6px 10px 0; }
.hxsb-app .side .themesel select { background: var(--side-active); color: var(--side-text); border-color: var(--side-line); }
.hxsb-app a.btn:hover, .hxsb-app a.chip:hover, .hxsb-app .nav a:hover, .hxsb-app .bell:hover { text-decoration: none; }
.hxsb-app .stickynote { position: sticky; top: 0; z-index: 60; background: var(--sticky-note); color: var(--sticky-note-ink); border-bottom: 1px solid var(--sticky-note-line); padding: 8px 16px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
.hxsb-app .skip { transition: none; }
}
.hxsb-app dialog.palette { width: min(640px, 94vw); margin: 10vh auto auto; max-height: 76vh; overflow: hidden; display: none; flex-direction: column; }
.hxsb-app dialog.palette[open] { display: flex; }
.hxsb-app .pal-in { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hxsb-app .pal-in input { border: 0; background: transparent; padding: 6px 2px; font-size: 16px; outline: none; flex: 1; min-width: 0; }
.hxsb-app .pal-in:focus-within { box-shadow: inset 0 -2px 0 var(--focus); }
.hxsb-app kbd { font: 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-2); color: var(--muted); }
.hxsb-app .pal-list { overflow-y: auto; padding: 6px; flex: 1; min-height: 0; }
.hxsb-app .pal-h { padding: 8px 10px 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.hxsb-app .pal-o { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.hxsb-app .pal-o[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.hxsb-app .pal-t { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hxsb-app .pal-s { color: var(--muted); font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.hxsb-app .pal-o .pill { margin-left: auto; flex: none; }
.hxsb-app .pal-msg { padding: 10px 16px; color: var(--muted); font-size: 13px; }
.hxsb-app .pal-msg:empty { display: none; }
.hxsb-app .pal-foot { display: flex; gap: 16px; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-size: 12px; }
@media (max-width: 600px) {
.hxsb-app .pal-foot { display: none; }
.hxsb-app .pal-s { display: none; }
}
.hxsb-app .searchbtn { display: inline-flex; align-items: center; gap: 8px; }
.hxsb-app .searchbtn kbd { margin-left: 2px; }
.hxsb-app .brandsub { display: block; margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0; }
.hxsb-app a.rowlink { color: inherit; display: block; }
.hxsb-app a.rowlink:hover { text-decoration: none; }
.hxsb-app tr.link:focus-within td { background: var(--panel-2); }
.hxsb-app .brand h1 { font-size: inherit; font-weight: inherit; margin: 0; }
.hxsb-app .pbar { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.hxsb-app .pbar .in { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hxsb-app .pbar .tname { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.hxsb-app .pbar .tname .mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 13px; }
.hxsb-app .pnav { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 700px) {
.hxsb-app .pnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
.hxsb-app .pnav::-webkit-scrollbar { display: none; }
.hxsb-app .pnav a { color: var(--muted); padding: 7px 11px; border-radius: 7px; font-weight: 500; white-space: nowrap; }
.hxsb-app .pnav a:hover { background: var(--panel-2); text-decoration: none; }
.hxsb-app .pnav a.on { color: var(--text); background: var(--panel-2); }
.hxsb-app .pbar .who { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.hxsb-app .pwrap { max-width: 1040px; margin: 0 auto; padding: 24px 20px 56px; }
.hxsb-app .due { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 16px; }
.hxsb-app .due.owed { border-left: 3px solid var(--warn); }
.hxsb-app .due .amt { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.hxsb-app .payopts { display: grid; gap: 10px; }
.hxsb-app .payopts .opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; }
.hxsb-app #stripe-element { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
@media (max-width: 760px) {
.hxsb-app .pbar .who span { display: none; }
.hxsb-app td, .hxsb-app th { white-space: nowrap; }
}
.hxsb-app td.acts { white-space: nowrap; }
@media (max-width: 600px) {
.hxsb-app table.svc, .hxsb-app table.svc tbody, .hxsb-app table.svc tr, .hxsb-app table.svc td { display: block; width: auto; }
.hxsb-app table.svc thead { display: none; }
.hxsb-app table.svc tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hxsb-app table.svc tr:last-child { border-bottom: 0; }
.hxsb-app table.svc td { border: 0; padding: 2px 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.hxsb-app table.svc td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
.hxsb-app table.svc td.acts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; white-space: normal; }
.hxsb-app table.svc td.acts:empty { display: none; }
.hxsb-app table.tix td.subj { white-space: normal; overflow-wrap: anywhere; min-width: 120px; }
.hxsb-app table.lines td, .hxsb-app table.lines th { padding-left: 10px; padding-right: 10px; }
}
.hxsb-app .optin { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.hxsb-app .optin input { margin-top: 2px; flex: none; }
.hxsb-app .altsign { display: grid; gap: 8px; }
.hxsb-app .altsign:empty { display: none; }
.hxsb-app .altsign button { justify-content: center; }
.hxsb-app .newhere { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.hxsb-app .login .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hxsb-app .qr { width: 192px; height: 192px; image-rendering: pixelated; border-radius: 8px; background: var(--paper); padding: 6px; }
.hxsb-app .recovery { display: inline-block; padding: 12px 16px; border: 1px dashed var(--line); border-radius: 8px; line-height: 1.9; font-size: 14px; letter-spacing: .04em; }
.hxsb-app .thread { display: grid; gap: 10px; }
.hxsb-app .tmsg { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px 14px; }
.hxsb-app .tmsg.staff { border-left: 3px solid var(--accent); }
.hxsb-app .tmsg.system { background: var(--panel-2); color: var(--muted); }
.hxsb-app .tmeta { font-size: 13px; margin-bottom: 6px; }
.hxsb-app .tbody { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.hxsb-app .atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hxsb-app .att { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); }
.hxsb-app dialog.pdialog { border: 1px solid var(--line); border-radius: 12px; padding: 0; background: var(--panel); color: var(--text); width: min(460px, 92vw); }
.hxsb-app dialog.pdialog h3 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hxsb-app dialog.pdialog .body { padding: 18px; }
.hxsb-app dialog.pdialog .actions { display: flex; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); }
.hxsb-app .kbhits { display: grid; gap: 6px; padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); font-size: 13px; }
.hxsb-app .kbhits a { display: block; font-weight: 600; }
.hxsb-app .kbhits a span { display: block; font-weight: 400; color: var(--muted); }
.hxsb-app .affstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.hxsb-app .affstats div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.hxsb-app .affstats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.hxsb-app .affstats span { color: var(--muted); font-size: 12.5px; }
.hxsb-app .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.hxsb-app .grid2 > * { min-width: 0; }
.hxsb-app .card.notice { margin-bottom: 16px; border-left: 3px solid var(--warn); }
.hxsb-app .card.notice.bad { border-left-color: var(--bad); }
.hxsb-app .card.notice .btn { margin-left: 8px; }
.hxsb-app .card.notice.info { border-left-color: var(--accent); }
.hxsb-app .hxsb-lang { position: relative; font-size: 13px; }
.hxsb-app .hxsb-lang summary { cursor: pointer; list-style: none; color: var(--muted); padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; white-space: nowrap; }
.hxsb-app .hxsb-lang summary::-webkit-details-marker { display: none; }
.hxsb-app .hxsb-lang summary::after { content: " \25BE"; }
.hxsb-app .hxsb-lang-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px; min-width: 160px; box-shadow: var(--shadow-pop); }
.hxsb-app .hxsb-lang-list a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--text); white-space: nowrap; }
.hxsb-app .hxsb-lang-list a:hover { background: var(--panel-2); text-decoration: none; }
.hxsb-app .hxsb-lang-list a[aria-current] { font-weight: 600; }
.hxsb-app .csat .stars { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hxsb-app .csat .star { font-size: 28px; line-height: 1; padding: 2px 4px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.hxsb-app .csat .star.on, .hxsb-app .csat .star:not(:disabled):hover { color: var(--star); }
.hxsb-app .csat .star:disabled { cursor: default; }
.hxsb-app .csat .star:focus-visible { border-radius: 4px; }
.hxsb-app .slayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.hxsb-app .slayout > * { min-width: 0; }
.hxsb-app .intro h1 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.3px; text-wrap: balance; }
.hxsb-app .intro p { margin: 0 0 16px; color: var(--muted); }
.hxsb-app .gdesc { color: var(--muted); margin: -4px 0 14px; max-width: 65ch; }
.hxsb-app .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hxsb-app .prod { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.hxsb-app .prod h3 { margin: 0; font-size: 15.5px; }
.hxsb-app .prod .desc { color: var(--muted); font-size: 13px; white-space: pre-line; flex: 1; }
.hxsb-app .prod .price { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.hxsb-app .prod .price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.hxsb-app .prod .setup { font-size: 12.5px; color: var(--muted); min-height: 1.2em; }
.hxsb-app .prod .act { display: flex; gap: 8px; flex-wrap: wrap; }
.hxsb-app .prod .act select { flex: 1 1 7.5em; min-width: 0; }
.hxsb-app .cart { position: sticky; top: 72px; }
.hxsb-app .cart .line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hxsb-app .cart .line:last-of-type { border-bottom: 0; }
.hxsb-app .cart .line .n { font-weight: 600; overflow-wrap: anywhere; }
.hxsb-app .cart .line .c { color: var(--muted); font-size: 12.5px; }
.hxsb-app .cart .line .amt { font-variant-numeric: tabular-nums; text-align: right; }
.hxsb-app .cart .line button { padding: 0; border: 0; background: none; color: var(--muted); font-weight: 500; font-size: 12.5px; justify-self: end; }
.hxsb-app .cart .line button:hover { color: var(--bad); }
.hxsb-app .totals { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hxsb-app .totals div { display: flex; justify-content: space-between; gap: 10px; }
.hxsb-app .totals .grand { font-weight: 700; font-size: 16px; padding-top: 4px; }
.hxsb-app .totals .renew { color: var(--muted); font-size: 12.5px; }
.hxsb-app .cartbtn .count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-size: 12px; }
.hxsb-app .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.hxsb-app .checkout > * { min-width: 0; }
.hxsb-app .hint { color: var(--muted); font-size: 12.5px; }
.hxsb-app .check { display: flex; gap: 8px; align-items: flex-start; }
.hxsb-app .check input { width: auto; margin-top: 3px; }
.hxsb-app .three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 860px) {
.hxsb-app .slayout, .hxsb-app .checkout { grid-template-columns: minmax(0, 1fr); }
.hxsb-app .cart { position: static; }
.hxsb-app .three, .hxsb-app .form .two { grid-template-columns: minmax(0, 1fr); }
}
.hxsb-app .prod .tagline { color: var(--accent); font-weight: 600; font-size: 13px; margin-top: -4px; }
.hxsb-app .prod .price small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.hxsb-app .bwrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.hxsb-app .bwrap > * { min-width: 0; }
.hxsb-app .bmain { display: grid; gap: 18px; }
.hxsb-app .bmain .intro .crumb { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.hxsb-app .bmain .intro h1 { font-size: 28px; margin: 0; letter-spacing: -.4px; text-wrap: balance; }
.hxsb-app .bmain .intro .tag { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.hxsb-app .feat { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; }
.hxsb-app .feat li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }
.hxsb-app .bstep { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.hxsb-app .bhead { display: flex; gap: 12px; align-items: flex-start; }
.hxsb-app .bhead h2 { margin: 2px 0 0; font-size: 16.5px; }
.hxsb-app .bhead p { margin: 2px 0 0; color: var(--muted); font-size: 13px; max-width: 65ch; }
.hxsb-app .bn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.hxsb-app .opt { display: grid; gap: 8px; }
.hxsb-app .ohead b { font-size: 14px; }
.hxsb-app .ohead .hint { display: block; margin-top: 1px; }
.hxsb-app .bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.hxsb-app .bcards.dense { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: 380px; overflow-y: auto; padding: 2px; }
.hxsb-app .bcards.list { grid-template-columns: minmax(0, 1fr); }
.hxsb-app .bcards.plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hxsb-app .bcards.cycles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.hxsb-app .bcard { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--text); font: inherit; font-weight: 400; cursor: pointer; position: relative; text-decoration: none; min-width: 0; }
.hxsb-app .bcard:hover { border-color: var(--muted); background: var(--panel); text-decoration: none; }
.hxsb-app .bcard.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hxsb-app .bcard[disabled] { opacity: .55; cursor: not-allowed; }
.hxsb-app .bcard .bl { font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
.hxsb-app .bcard .bd { color: var(--muted); font-size: 12.5px; }
.hxsb-app .bcard .bp { font-weight: 650; font-variant-numeric: tabular-nums; margin-top: 4px; }
.hxsb-app .bcard .bp small { font-weight: 500; color: var(--muted); margin-left: 2px; font-size: 12px; }
.hxsb-app .bcard .bp.inc { color: var(--good); font-weight: 600; font-size: 12.5px; }
.hxsb-app .bcard .oos { color: var(--bad); font-size: 12px; font-weight: 600; margin-top: 4px; }
.hxsb-app .bcard .badge, .hxsb-app .bcards .badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 999px; }
.hxsb-app .bcards.cycles .badge { position: absolute; top: 8px; right: 8px; }
.hxsb-app .bcard.toggle { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; align-items: center; width: 100%; }
.hxsb-app .bcard.toggle .chk { grid-row: span 2; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); }
.hxsb-app .bcard.toggle.on .chk { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); }
.hxsb-app .bcard.toggle .bd { grid-column: 2; }
.hxsb-app .bcard.toggle .bp { grid-column: 3; grid-row: 1 / span 2; margin: 0; white-space: nowrap; }
.hxsb-app .bfilter { max-width: 320px; }
.hxsb-app .qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hxsb-app .qty input[type=range] { width: min(320px, 100%); padding: 0; accent-color: var(--accent); }
.hxsb-app .stepper { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.hxsb-app .stepper button { border: 0; border-radius: 0; width: 38px; justify-content: center; font-size: 16px; }
.hxsb-app .stepper output { min-width: 44px; display: grid; place-items: center; font-weight: 650; border-inline: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hxsb-app .bsum { position: sticky; top: 72px; }
.hxsb-app .bsum .parts { display: grid; gap: 6px; font-size: 13px; }
.hxsb-app .bsum .parts div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
.hxsb-app .bsum .parts .k { color: var(--muted); }
.hxsb-app .bsum .parts .v { text-align: right; overflow-wrap: anywhere; }
.hxsb-app .bsum .parts .p { font-variant-numeric: tabular-nums; color: var(--muted); }
.hxsb-app .bsum .tot { margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.hxsb-app .bsum .tot div { display: flex; justify-content: space-between; gap: 10px; }
.hxsb-app .bsum .tot b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.hxsb-app .bsum .tot b small { font-size: 13px; color: var(--muted); font-weight: 500; }
.hxsb-app .bbar { display: none; }
@media (max-width: 900px) {
.hxsb-app .bwrap { grid-template-columns: minmax(0, 1fr); }
.hxsb-app .bsum { position: static; }
.hxsb-app .bbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--panel); border-top: 1px solid var(--line); }
.hxsb-app .bbar b { font-size: 18px; font-variant-numeric: tabular-nums; }
.hxsb-app .bbar small { color: var(--muted); }
.hxsb-app .bwrap { padding-bottom: 70px; }
.hxsb-app .bstep { padding: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
.hxsb-app .bcard { transition: border-color .12s, box-shadow .12s; }
}
.hxsb-app .chg { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 9px; padding: 12px; margin-bottom: 12px; font-size: 13.5px; }
.hxsb-app .promo { display: grid; gap: 8px; margin: 12px 0 4px; }
.hxsb-app .promo .row { display: flex; gap: 8px; }
.hxsb-app .promo input { flex: 1; min-width: 0; }
.hxsb-app .pchip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.hxsb-app .pchip button { border: 0; background: none; padding: 0 6px; font-size: 16px; line-height: 1; color: inherit; cursor: pointer; }
.hxsb-app .totals .save { color: var(--accent); }
.hxsb-app .deal { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; margin-bottom: 6px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.hxsb-app .promo input::placeholder { text-transform: none; }
.hxsb-app .dlist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hxsb-app .drow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.hxsb-app .drow .hint { display: block; }
.hxsb-app .drow.taken b { color: var(--muted); text-decoration: line-through; }
.hxsb-app .linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; margin: 2px 0 10px; }
.hxsb-app .advisor { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 0 12px; display: grid; gap: 8px; }
.hxsb-app .advrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hxsb-app .advrow select { flex: 1 1 180px; width: auto; }
.hxsb-app .advn { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.hxsb-app .advn input { width: 80px; }
.hxsb-app .advm { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.hxsb-app .advm input { width: auto; margin: 0; }
.hxsb-app .advres { display: grid; gap: 8px; margin-top: 4px; }
.hxsb-app .advres p { margin: 0; }
.hxsb-app .advbars { display: grid; gap: 4px; font-size: 13px; }
.hxsb-app .advbars > div { display: grid; grid-template-columns: minmax(70px, 140px) 1fr 44px; gap: 8px; align-items: center; }
.hxsb-app .advbars .bar { height: 8px; border-radius: 99px; background: var(--surface-2, rgba(127,127,127,.18)); overflow: hidden; }
.hxsb-app .advbars .bar i { display: block; height: 100%; background: var(--accent); }
.hxsb-app .advbars .nofit .bar i { background: #d14343; }
.hxsb-app .advbars .nofit { opacity: .7; }
.hxsb-app .advbars .pick span:first-child { font-weight: 700; }
.hxsb-app .advbars .pct { text-align: right; font-variant-numeric: tabular-nums; }
.hxsb-app .donate { display: grid; gap: 16px; }
.hxsb-app .dhead h1 { margin: 4px 0 2px; }
.hxsb-app .dmsg { max-width: 65ch; margin: 10px 0 0; }
.hxsb-app .dgrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
@media (max-width: 760px) {
.hxsb-app .dgrid { grid-template-columns: 1fr; }
}
.hxsb-app .dprog .bar { height: 10px; border-radius: 99px; background: var(--surface-2, rgba(127,127,127,.18)); overflow: hidden; margin-top: 8px; }
.hxsb-app .dprog .bar i { display: block; height: 100%; background: var(--accent); }
.hxsb-app .dchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: stretch; }
.hxsb-app .dchips .bcard { flex: 0 0 auto; min-width: 72px; justify-content: center; padding: 10px 14px; }
.hxsb-app .dother { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.hxsb-app .dother input { width: 110px; }
.hxsb-app .dlist { display: grid; gap: 12px; padding: 0 16px 16px; }
.hxsb-app .dlist p { margin: 2px 0 0; color: var(--muted); }
.hxsb-app .help { max-width: 920px; margin: 0 auto; padding: 32px 20px 64px; display: grid; gap: 28px; }
.hxsb-app .help > * { min-width: 0; }
.hxsb-app .help h1 { font-size: 30px; margin: 0; text-wrap: balance; }
.hxsb-app .help .lede { color: var(--muted); margin: 6px 0 0; }
.hxsb-app .help-search { display: flex; gap: 8px; }
.hxsb-app .help-search input { flex: 1; min-width: 0; font-size: 16px; padding: 11px 14px; }
.hxsb-app .help-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.hxsb-app .help-cat { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: inherit; text-decoration: none; }
.hxsb-app .help-cat:hover { border-color: var(--accent); }
.hxsb-app .help-cat b { display: block; font-size: 16px; }
.hxsb-app .help-cat span { color: var(--muted); font-size: 13px; }
.hxsb-app .help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hxsb-app .help-list li { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.hxsb-app .help-list a { font-weight: 600; text-decoration: none; }
.hxsb-app .help-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.hxsb-app .help-crumbs { font-size: 13px; color: var(--muted); }
.hxsb-app .help-crumbs a { color: inherit; }
.hxsb-app .help-meta { color: var(--muted); font-size: 13px; }
.hxsb-app .help-body { line-height: 1.65; max-width: 68ch; }
.hxsb-app .help-body img { max-width: 100%; border-radius: 8px; }
.hxsb-app .help-body pre { overflow-x: auto; padding: 12px 14px; border-radius: 8px; background: var(--panel-2); }
.hxsb-app .help-body code { font-size: .92em; }
.hxsb-app .help-body table { border-collapse: collapse; display: block; overflow-x: auto; }
.hxsb-app .help-body th, .hxsb-app .help-body td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.hxsb-app .help-body blockquote { margin: 0; padding: 4px 16px; border-left: 3px solid var(--line); color: var(--muted); }
.hxsb-app .help-vote { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.hxsb-app .help-vote form { display: inline; }
.hxsb-app .help-pin { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--accent); margin-right: 6px; }
.hxsb-app .help-cta { padding: 18px; border-radius: 10px; border: 1px dashed var(--line); }

.hxsb-app { font: 15px/1.5 var(--sans); background: transparent; min-height: 60vh; }
.hxsb-app h1 { font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.hxsb-app h2 { font-size: 1rem; letter-spacing: -.005em; line-height: 1.3; }
.hxsb-app h3 { font-size: .95rem; }
.hxsb-app p { margin: 0 0 .6em; }
.hxsb-app .pbar { position: static; background: transparent; }
.hxsb-app .pbar .in, .hxsb-app .pwrap { max-width: var(--wrap, 1180px); }
.hxsb-app .pbar .tname .mark { display: none; }
.hxsb-app .card, .hxsb-app .bcard, .hxsb-app input, .hxsb-app select, .hxsb-app textarea { border-radius: min(var(--radius, 10px), 12px); }
.hxsb-app .login { min-height: 0; padding: 48px 20px 72px; }
