/* HelixOdds — the signed-in web surface.
   Named `hx-app.css`, not `app.css`: `/app.css` already belongs to the Live
   Intelligence visualizer, and a second file under that name silently
   replaced it. The licence gate caught the collision; the name makes it
   impossible to repeat.
   The same visual language as the loopback panel, in a file both the login
   pages and the dashboard load, so a change of palette is one edit. */
:root{--bg:#0b0f14;--panel:#121820;--panel2:#0e141b;--line:#1e2832;--txt:#e6edf3;
  --dim:#7d8b99;--dim2:#4a5663;--ok:#2dd4a7;--warn:#e8a33d;--bad:#e0564a;
  --accent:#5b9dff}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--txt);
  font:14px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:900px;margin:0 auto;padding:28px 18px 60px}
.narrow{max-width:400px;margin:9vh auto;padding:0 18px}
h1{font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  margin:0 0 4px;font-weight:600}
.sub{color:var(--dim2);font-size:12px;margin-bottom:22px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:8px;
  padding:16px 18px;margin-bottom:14px}
.card h2{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--dim);
  margin:0 0 12px;font-weight:600;display:flex;justify-content:space-between;
  align-items:center;gap:10px}
.fxrow{display:flex;justify-content:space-between;gap:12px;padding:5px 0;
  border-bottom:1px solid var(--line);font-size:13px;align-items:center}
.fxrow:last-child{border-bottom:0}
.fxrow span:first-child{color:var(--dim)}
.fxrow b{font-weight:600}
.flag{display:inline-block;padding:4px 11px;border-radius:999px;font-size:12px;
  font-weight:700;letter-spacing:.04em}
.flag.on{background:#10342a;color:var(--ok);border:1px solid #1d4338}
.flag.off{background:#331f1d;color:var(--bad);border:1px solid #4a2320}
.flag.warn{background:#33290f;color:var(--warn);border:1px solid #4a3a14}
.flag.idle{background:#1b2430;color:var(--dim);border:1px solid #2a3542}
.flag.sm{font-size:10px;padding:1px 7px}
label{display:block;font-size:11px;color:var(--dim);margin:12px 0 4px;letter-spacing:.03em}
input,select{width:100%;background:var(--panel2);border:1px solid var(--line);
  border-radius:6px;color:var(--txt);padding:9px 11px;font:13px ui-monospace,monospace}
input:focus,select:focus{outline:0;border-color:#36506a}
button{background:#1a2430;border:1px solid #2b3a4a;color:var(--txt);border-radius:6px;
  padding:9px 14px;font:13px/1 ui-sans-serif,system-ui,sans-serif;cursor:pointer}
button:hover{background:#223040}
button.primary{background:#14402f;border-color:#1d5a42;color:#9ef0cf}
button.primary:hover{background:#18503a}
button.danger{background:#3a1f1c;border-color:#5a2a25;color:#f2a79e}
button.danger:hover{background:#4a2723}
button.sm{padding:4px 10px;font-size:11px}
button[disabled]{opacity:.5;cursor:default}
.msg{border-radius:6px;padding:10px 12px;font-size:13px;margin-top:12px;display:none}
.msg.show{display:block}
.msg.ok{background:#10281f;color:#8fe8c6;border:1px solid #1d4338}
.msg.bad{background:#2a1716;color:#f0a79e;border:1px solid #4a2320}
.msg.note{background:#141c26;color:var(--dim);border:1px solid var(--line)}
.mono{font:12px ui-monospace,SFMono-Regular,Menlo,monospace}
.hint{color:var(--dim2);font-size:11px;margin-top:6px}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;
  margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.bar .who{font-size:12px;color:var(--dim)}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row>*{flex:0 0 auto}
.grow{flex:1 1 auto}
table{width:100%;border-collapse:collapse;font-size:13px}
th{text-align:left;font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--dim2);font-weight:600;padding:6px 8px;border-bottom:1px solid var(--line)}
td{padding:7px 8px;border-bottom:1px solid var(--line)}
tr:last-child td{border-bottom:0}
.modal{position:fixed;inset:0;background:rgba(4,8,12,.78);display:none;
  align-items:center;justify-content:center;padding:18px;z-index:10}
.modal.show{display:flex}
.modal .card{max-width:430px;width:100%;margin:0}


/* HELIXODDS CLIENT REDESIGN V1 */
body.hx-client {
  --bg:#090f1c;
  --panel:#111c2d;
  --panel2:#0e1727;
  --line:#24354a;
  --txt:#f2f7ff;
  --dim:#a1b1c4;
  --dim2:#8192a8;
  --accent:#49c4ee;
  --ok:#49dfb2;
  background:
    radial-gradient(ellipse at 48% -12%,#123d4a 0%,transparent 45%),
    radial-gradient(ellipse at 100% 10%,#172b50 0%,transparent 35%),
    #090f1c;
  min-height:100vh;
  color:var(--txt);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

.hx-client .wrap {
  max-width:1250px;
  padding:32px 32px 90px;
}

.hx-client .bar {
  padding:8px 0 27px;
  margin-bottom:34px;
  border-bottom:1px solid #294055;
  align-items:center;
}

.hx-client #brand {
  position:relative;
  padding-left:52px;
  font-size:27px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:-1.1px;
  text-transform:none;
  color:#f4faff;
  margin-bottom:5px;
}

.hx-client #brand::before {
  content:"H";
  position:absolute;
  left:0;
  top:0;
  width:39px;
  height:39px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:23px;
  font-weight:900;
  color:#09212a;
  background:linear-gradient(140deg,#63f0bf,#55b9fa);
  box-shadow:0 0 26px #35c6ae42;
}

.hx-client #viewname {
  padding-left:52px;
  color:#91acc1;
  font-size:12px;
  letter-spacing:.02em;
}

.hx-client .bar .who {
  color:#b9cbdb;
  font-size:12px;
  max-width:280px;
  overflow-wrap:anywhere;
}

.hx-client button {
  min-height:38px;
  border:1px solid #324760;
  border-radius:9px;
  background:#1b2a3e;
  color:#f0f7ff;
  padding:10px 16px;
  font-family:inherit;
  font-weight:600;
  transition:background .15s,border-color .15s,transform .15s;
}

.hx-client button:hover {
  background:#253a54;
  border-color:#5b829e;
}

.hx-client button.primary {
  background:linear-gradient(110deg,#46d6b1,#36a8d0);
  color:#06232a;
  border-color:transparent;
  font-weight:800;
}

.hx-client button.primary:hover {
  background:linear-gradient(110deg,#67ecc8,#64c9ee);
}

.hx-client button.sm {
  min-height:34px;
  padding:8px 13px;
  font-size:12px;
}

.hx-client #view > .card,
.hx-client #view > div > .card,
.hx-client .card {
  background:linear-gradient(155deg,#152237,#111b2d);
  border:1px solid #293e55;
  border-radius:17px;
  box-shadow:0 12px 38px #00000029;
  padding:26px 29px;
  margin-bottom:22px;
}

.hx-client .card h2 {
  font-size:18px;
  font-weight:750;
  text-transform:none;
  letter-spacing:-.35px;
  color:#f3f8ff;
  margin-bottom:19px;
  padding-bottom:13px;
  border-bottom:1px solid #293b50;
}

.hx-client .fxrow {
  padding:14px 2px;
  font-size:14px;
  min-height:55px;
  border-bottom:1px solid #24364a;
}

.hx-client .fxrow span:first-child {
  color:#d5e3f2;
  font-weight:550;
}

.hx-client .fxrow b {
  color:#f1f9ff;
  font-weight:650;
}

.hx-client .flag {
  border-radius:20px;
  padding:5px 12px;
  font-size:11px;
  letter-spacing:.015em;
}

.hx-client .flag.on {
  background:#123e36;
  color:#66f1c7;
  border:1px solid #276a58;
}

.hx-client .flag.off {
  background:#40252b;
  color:#ffa2a2;
  border:1px solid #64333b;
}

.hx-client label {
  font-size:12px;
  font-weight:600;
  color:#b6c9dc;
  margin:15px 0 7px;
}

.hx-client input,
.hx-client select {
  background:#0c1728;
  border:1px solid #334c65;
  border-radius:10px;
  color:#f0f7ff;
  font:14px/1.4 inherit;
  padding:13px 15px;
  min-height:46px;
}

.hx-client input:focus,
.hx-client select:focus {
  outline:2px solid #42bad766;
  border-color:#51d3e3;
}

.hx-client .hint {
  color:#9aafc5;
  font-size:12px;
  line-height:1.65;
}

.hx-client table {
  font-size:13px;
  width:100%;
  border-collapse:collapse;
}

.hx-client th {
  padding:13px 12px;
  font-size:11px;
  font-weight:750;
  color:#8ca8c0;
  border-bottom:1px solid #32475d;
}

.hx-client td {
  padding:16px 12px;
  border-bottom:1px solid #283c50;
  color:#e0ebf6;
}

.hx-client tr:hover td {
  background:#20334a55;
}

.hx-client .msg {
  border-radius:10px;
  padding:14px 16px;
}

.hx-client .modal .card {
  background:#152238;
  border-radius:15px;
}

@media(max-width:760px) {
  .hx-client .wrap {
    padding:17px 13px 45px;
  }
  .hx-client .bar {
    align-items:flex-start;
    flex-direction:column;
    gap:17px;
  }
  .hx-client .bar .row {
    width:100%;
  }
  .hx-client .card,
  .hx-client #view > .card,
  .hx-client #view > div > .card {
    padding:18px 16px;
    border-radius:13px;
  }
  .hx-client .fxrow {
    flex-wrap:wrap;
    gap:8px;
  }
  .hx-client table {
    display:block;
    overflow-x:auto;
  }
}


/* HELIXODDS CLIENT REDESIGN V2 */

.hx-client .wrap { max-width:1360px; }

.hx-client .card h2 {
  font-size:19px;
  border-bottom:0;
  margin-bottom:7px;
  padding-bottom:0;
}

.hx-client .hx-section-desc {
  color:#8fa9bd;
  font-size:13px;
  margin:0 0 23px;
}

.hx-client .hx-product-row {
  display:grid;
  grid-template-columns:minmax(200px,1fr) 145px 180px;
  gap:20px;
  align-items:center;
  padding:13px 17px;
  min-height:67px;
  margin-top:6px;
  border:1px solid #25374d;
  border-radius:11px;
  background:linear-gradient(110deg,#16283a,#102035);
}

.hx-client .hx-product-identity {
  display:flex;
  gap:16px;
  align-items:center;
  min-width:0;
}

.hx-client .hx-product-identity strong {
  font-size:14px;
  font-weight:700;
  color:#f1f7ff;
}

.hx-client .hx-product-icon {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  border-radius:11px;
  font-size:21px;
  background:#113b42;
  color:#50ead0;
}

.hx-client .hx-product-row:nth-of-type(3) .hx-product-icon {
  color:#5dc0ff;
  background:#152f4d;
}

.hx-client .hx-product-row:nth-of-type(4) .hx-product-icon {
  color:#bea2ff;
  background:#302148;
}

.hx-client .hx-product-row > .flag {
  justify-self:start;
  font-size:12px;
  padding:7px 13px;
}

.hx-client .hx-product-expiry {
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#f2f8ff;
}

.hx-client .hx-product-expiry small {
  font-size:11px;
  color:#91a8bd;
}

.hx-client .hx-product-expiry b {
  font-size:13px;
  font-weight:650;
}

.hx-client .hx-billing-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  column-gap:18px;
  align-items:end;
}

.hx-client .hx-billing-card > h2 {
  grid-column:1/-1;
  grid-row:1;
  margin-bottom:24px;
}

.hx-client .hx-billing-card > label:nth-child(2) {
  grid-column:1;
  grid-row:2;
}
.hx-client .hx-billing-card > select:nth-child(3) {
  grid-column:1;
  grid-row:3;
}
.hx-client .hx-billing-card > label:nth-child(4) {
  grid-column:2;
  grid-row:2;
}
.hx-client .hx-billing-card > select:nth-child(5) {
  grid-column:2;
  grid-row:3;
}
.hx-client .hx-billing-card > .hint:nth-child(6) {
  grid-column:1/-1;
  grid-row:4;
  margin-top:14px;
}
.hx-client .hx-billing-card > .row:nth-child(7) {
  grid-column:3;
  grid-row:3;
  margin-top:0 !important;
}
.hx-client .hx-billing-card > .row:nth-child(7) button {
  min-height:46px;
  white-space:nowrap;
  padding:12px 24px;
}

.hx-client .hx-feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
}

.hx-client .hx-feature-tile {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:15px;
  min-width:0;
  background:#102035;
  border:1px solid #283c52;
  border-radius:10px;
  text-transform:capitalize;
}

.hx-client .hx-feature-tile > span:first-child {
  font-size:13px;
  overflow-wrap:anywhere;
}

.hx-client .hx-feature-tile .flag {
  flex-shrink:0;
}

.hx-client table {
  margin-top:17px;
}

.hx-client th {
  font-size:11px;
  letter-spacing:.09em;
}

.hx-client td {
  font-size:13px;
}

@media(max-width:900px) {
  .hx-client .hx-billing-card {
    grid-template-columns:1fr 1fr;
  }
  .hx-client .hx-billing-card > .row:nth-child(7) {
    grid-column:1/-1;
    grid-row:5;
    margin-top:16px !important;
  }
  .hx-client .hx-feature-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
  .hx-client .hx-product-row {
    grid-template-columns:1fr auto;
    gap:10px;
  }
  .hx-client .hx-product-identity {
    grid-column:1/-1;
  }
  .hx-client .hx-product-expiry {
    align-items:flex-end;
  }
  .hx-client .hx-billing-card {
    display:block;
  }
  .hx-client .hx-billing-card > .row:nth-child(7) {
    margin-top:17px !important;
  }
  .hx-client .hx-billing-card > .row:nth-child(7) button {
    width:100%;
  }
  .hx-client .hx-feature-grid {
    grid-template-columns:1fr;
  }
}



/* HELIXODDS CLIENT REDESIGN V3 */

body.hx-client{
  background:
    radial-gradient(circle at 18% 0%, rgba(39,209,214,.16) 0%, rgba(39,209,214,0) 30%),
    radial-gradient(circle at 100% 0%, rgba(60,110,255,.18) 0%, rgba(60,110,255,0) 34%),
    linear-gradient(135deg,#050914 0%,#09111f 38%,#0b1630 100%) !important;
  color:#eef6ff;
}

body.hx-client::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(96,168,255,.03) 45%, transparent 100%);
  opacity:1;
}

.hx-client .wrap{
  max-width:1480px;
  padding:28px 42px 90px;
}

.hx-client .bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:10px 0 26px;
  margin-bottom:30px;
  border-bottom:1px solid rgba(124,160,201,.18);
}

.hx-client #brand{
  display:flex;
  align-items:center;
  gap:16px;
  padding-left:0 !important;
  margin:0;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.03em;
  color:#ffffff;
}

.hx-client #brand::before{
  content:"H";
  position:static !important;
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:900;
  color:#07131d;
  background:linear-gradient(145deg,#6ff4d6 0%,#5fc8ff 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 10px 30px rgba(63,214,220,.22);
}

.hx-client #viewname{
  padding-left:62px !important;
  margin-top:4px !important;
  color:#89a0b7 !important;
  font-size:13px !important;
}

.hx-client .bar .row{
  align-items:center;
  gap:10px;
}

.hx-client .bar .who{
  color:#b8c7d8;
  font-size:13px;
}

.hx-client button{
  border:1px solid rgba(122,156,191,.28);
  background:rgba(21,33,52,.92);
  color:#f3f8ff;
  border-radius:10px;
  box-shadow:none;
}

.hx-client button:hover{
  background:rgba(29,46,71,.96);
  border-color:rgba(122,183,232,.42);
}

.hx-client button.primary{
  background:linear-gradient(135deg,#4de0cf 0%,#6ab8ff 100%);
  color:#07141f;
  border:0;
  font-weight:800;
}

.hx-client button.primary:hover{
  filter:brightness(1.06);
}

.hx-client .card,
.hx-client #view > .card,
.hx-client #view > div > .card{
  background:
    linear-gradient(180deg, rgba(13,24,42,.95) 0%, rgba(10,20,36,.96) 100%);
  border:1px solid rgba(79,112,148,.30);
  border-radius:22px;
  box-shadow:
    0 10px 40px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.025);
  padding:28px 28px;
  margin-bottom:22px;
}

.hx-client .card h2{
  font-size:16px;
  font-weight:800;
  margin:0 0 10px;
  color:#ffffff;
}

.hx-client .hx-section-desc{
  color:#8fa4ba;
  font-size:13px;
  margin:0 0 20px;
}

.hx-client .hx-products{
  padding-top:24px;
}

.hx-client .hx-product-row{
  display:grid;
  grid-template-columns: minmax(240px,1fr) 140px 190px;
  gap:22px;
  align-items:center;
  padding:16px 18px;
  background:linear-gradient(180deg, rgba(16,34,56,.86) 0%, rgba(14,29,49,.84) 100%);
  border:1px solid rgba(55,87,119,.34);
  border-radius:16px;
  margin-top:10px;
}

.hx-client .hx-product-identity{
  display:flex;
  align-items:center;
  gap:16px;
}

.hx-client .hx-product-icon{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:800;
  background:rgba(28,53,77,.95);
  border:1px solid rgba(95,138,179,.30);
  color:#7cead8;
}

.hx-client .hx-product-row:nth-of-type(3) .hx-product-icon{
  color:#69c3ff;
}
.hx-client .hx-product-row:nth-of-type(4) .hx-product-icon{
  color:#d1a3ff;
}

.hx-client .hx-product-identity strong{
  font-size:14px;
  font-weight:700;
  color:#f6fbff;
}

.hx-client .hx-product-row > .flag{
  justify-self:start;
  padding:7px 14px;
  border-radius:999px;
  font-size:12px;
}

.hx-client .hx-product-expiry{
  display:flex;
  flex-direction:column;
  gap:2px;
  align-items:flex-start;
}

.hx-client .hx-product-expiry small{
  color:#90a5bb;
  font-size:11px;
}

.hx-client .hx-product-expiry b{
  color:#ffffff;
  font-size:14px;
  font-weight:700;
}

.hx-client .hx-billing-card{
  padding-top:26px;
}

.hx-client .hx-billing-card h2{
  margin-bottom:24px;
}

.hx-client .hx-billing-card{
  display:grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.2fr) auto;
  gap:16px 16px;
  align-items:end;
}

.hx-client .hx-billing-card > h2{ grid-column:1/-1; }
.hx-client .hx-billing-card > label:nth-child(2){ grid-column:1; grid-row:2; }
.hx-client .hx-billing-card > select:nth-child(3){ grid-column:1; grid-row:3; }
.hx-client .hx-billing-card > label:nth-child(4){ grid-column:2; grid-row:2; }
.hx-client .hx-billing-card > select:nth-child(5){ grid-column:2; grid-row:3; }
.hx-client .hx-billing-card > .hint:nth-child(6){ grid-column:1/-1; grid-row:4; margin-top:2px; }
.hx-client .hx-billing-card > .row:nth-child(7){ grid-column:3; grid-row:3; margin:0 !important; }

.hx-client .hx-billing-card .row button{
  min-height:48px;
  padding:12px 26px;
  white-space:nowrap;
  border-radius:12px;
}

.hx-client input,
.hx-client select{
  min-height:48px;
  background:#071224;
  border:1px solid rgba(77,109,144,.45);
  border-radius:12px;
  color:#eff6ff;
  padding:13px 15px;
}

.hx-client input:focus,
.hx-client select:focus{
  outline:none;
  border-color:#58d7e4;
  box-shadow:0 0 0 3px rgba(88,215,228,.12);
}

.hx-client table{
  width:100%;
  margin-top:10px;
  border-collapse:separate;
  border-spacing:0;
}

.hx-client th{
  padding:14px 12px;
  color:#87a3bf;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.10em;
  border-bottom:1px solid rgba(82,112,145,.32);
}

.hx-client td{
  padding:16px 12px;
  color:#edf5ff;
  font-size:13px;
  border-bottom:1px solid rgba(58,85,116,.28);
}

.hx-client tr:hover td{
  background:rgba(33,52,77,.28);
}

.hx-client .hx-features .hx-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.hx-client .hx-feature-tile{
  background:rgba(12,28,47,.84);
  border:1px solid rgba(61,93,126,.34);
  border-radius:14px;
  padding:15px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.hx-client .hx-feature-tile > span:first-child{
  text-transform:capitalize;
  color:#edf4fe;
  font-size:13px;
}

@media (max-width: 980px){
  .hx-client .wrap{ padding:20px 18px 60px; }
  .hx-client .hx-billing-card{
    grid-template-columns:1fr 1fr;
  }
  .hx-client .hx-billing-card > .row:nth-child(7){
    grid-column:1/-1;
    grid-row:5;
    margin-top:4px !important;
  }
  .hx-client .hx-features .hx-feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 700px){
  .hx-client .bar{
    flex-direction:column;
    align-items:flex-start;
  }
  .hx-client .hx-product-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  .hx-client .hx-billing-card{
    display:block;
  }
  .hx-client .hx-billing-card .row{
    margin-top:14px !important;
  }
  .hx-client .hx-billing-card .row button{
    width:100%;
  }
  .hx-client .hx-features .hx-feature-grid{
    grid-template-columns:1fr;
  }
}



/* HELIXODDS DASHBOARD LAYOUT V1 */

.hx-client .hx-client-shell{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.hx-client .hx-side{
  position:sticky;
  top:20px;
  padding:24px 20px;
}

.hx-client .hx-side-title h2{
  margin:0;
  font-size:20px;
  font-weight:800;
}

.hx-client .hx-side-kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#84a2bf;
  margin-bottom:8px;
}

.hx-client .hx-side-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:18px;
}

.hx-client .hx-nav-btn{
  width:100%;
  text-align:left;
  min-height:44px;
  border-radius:12px;
  padding:12px 14px;
  background:rgba(12,24,40,.88);
  border:1px solid rgba(66,100,138,.34);
  color:#d9e6f5;
  font-weight:700;
}

.hx-client .hx-nav-btn.active{
  background:linear-gradient(135deg, rgba(77,224,207,.18) 0%, rgba(106,184,255,.14) 100%);
  border-color:rgba(106,184,255,.55);
  color:#ffffff;
  box-shadow:0 0 0 1px rgba(77,224,207,.10) inset;
}

.hx-client .hx-main > .card:first-child{
  margin-top:0;
}

.hx-client .hx-card-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.hx-client .hx-section-desc{
  color:#91a7bd;
  font-size:13px;
  margin-top:4px;
  line-height:1.55;
}

.hx-client .hx-products{
  margin-top:18px;
}

.hx-client .hx-product-row{
  display:grid;
  grid-template-columns:minmax(260px,1fr) 140px 170px;
  gap:18px;
  align-items:center;
  padding:15px 16px;
  border:1px solid rgba(56,84,115,.34);
  border-radius:16px;
  background:rgba(13,27,46,.55);
  margin-top:10px;
}

.hx-client .hx-product-identity{
  display:flex;
  align-items:center;
  gap:14px;
}

.hx-client .hx-product-icon{
  width:40px;
  height:40px;
  min-width:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:900;
  background:rgba(18,41,67,.9);
  border:1px solid rgba(77,122,171,.30);
  color:#73ead6;
}

.hx-client .hx-product-row:nth-child(2) .hx-product-icon{ color:#74d4ff; }
.hx-client .hx-product-row:nth-child(3) .hx-product-icon{ color:#d4a3ff; }

.hx-client .hx-product-expiry{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.hx-client .hx-product-expiry small{
  color:#8ea5bb;
  font-size:11px;
}

.hx-client .hx-product-expiry b{
  color:#ffffff;
  font-size:14px;
}

.hx-client .hx-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.hx-client .hx-feature-tile{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 15px;
  border:1px solid rgba(56,84,115,.34);
  border-radius:14px;
  background:rgba(13,27,46,.55);
}

.hx-client .hx-feature-tile span:first-child{
  color:#eef5ff;
  font-size:13px;
  text-transform:capitalize;
}

.hx-client .hx-main .card{
  margin-bottom:22px;
}

@media (max-width: 1050px){
  .hx-client .hx-client-shell{
    grid-template-columns:1fr;
  }
  .hx-client .hx-side{
    position:static;
  }
  .hx-client .hx-side-nav{
    flex-direction:row;
    flex-wrap:wrap;
  }
  .hx-client .hx-nav-btn{
    width:auto;
  }
}

@media (max-width: 760px){
  .hx-client .hx-product-row{
    grid-template-columns:1fr;
  }
  .hx-client .hx-feature-grid{
    grid-template-columns:1fr;
  }
}



/* HELIXODDS GRAPHITE THEME */

body.hx-client {
  --bg:#0b0e13;
  --panel:#171c24;
  --panel2:#11161d;
  --line:#303944;
  background:#0b0e13 !important;
  color:#eef2f6;
}

body.hx-client::before {
  display:none !important;
}

.hx-client .bar {
  border-bottom-color:#2c343f;
}

.hx-client .card,
.hx-client #view > .card,
.hx-client #view > div > .card {
  background:#171c24 !important;
  border-color:#303944 !important;
  box-shadow:0 8px 26px rgba(0,0,0,.16) !important;
}

.hx-client .hx-product-row,
.hx-client .hx-feature-tile {
  background:#1d242d !important;
  border-color:#343f4a !important;
}

.hx-client .hx-nav-btn {
  background:#1b222b !important;
  border-color:#343f4a !important;
}

.hx-client .hx-nav-btn.active {
  background:#183b37 !important;
  border-color:#39bca5 !important;
  color:#a1f5df !important;
}

.hx-client input,
.hx-client select {
  background:#10161e !important;
  border-color:#3b4857 !important;
}

.hx-client button.primary {
  background:#35d0ad !important;
  color:#09231e !important;
}

.hx-client .hx-product-expiry small,
.hx-client .hint,
.hx-client .hx-section-desc {
  color:#9caab9;
}

/* HELIXODDS OFFICIAL BRAND HEADER */
.hx-client #brand {
  font-size:0 !important;
  width:210px;
  height:52px;
  padding:0 !important;
  background:url('/helix-logo.svg') no-repeat left center;
  background-size:contain;
}
.hx-client #brand::before {
  display:none !important;
}
.hx-client #viewname {
  padding-left:0 !important;
}

/* GROUPED PRODUCTS & FEATURES */
.hx-client .hx-package-group {
  margin-top:18px;
  padding:12px;
  border:1px solid #303d48;
  border-radius:16px;
  background:#141b23;
}
.hx-client .hx-package-group .hx-product-row {
  margin:0;
}
.hx-client .hx-package-features {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.hx-client .hx-package-feature {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid #35424e;
  border-radius:10px;
  background:#1d2730;
  font-size:12px;
}
@media(max-width:850px) {
  .hx-client .hx-package-features {
    grid-template-columns:1fr;
  }
}

/* 2026-11-08 Match Center section */
.hx-client .mcx-versions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:10px}
.hx-client .mcx-ver{display:flex;flex-direction:column;gap:4px;text-align:left;padding:12px;border-radius:10px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);cursor:pointer;color:inherit}
.hx-client .mcx-ver b{font-size:14px}
.hx-client .mcx-ver span{font-size:12px;opacity:.75;font-weight:400}
.hx-client .mcx-ver.on{border-color:#4cb86a;box-shadow:0 0 0 1px #4cb86a inset;background:rgba(76,184,106,.08)}
.hx-client .mcx-group{font-size:13px;margin:16px 0 8px;opacity:.85}
.hx-client .mcx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px 14px}
.hx-client .mcx-item{display:flex;flex-direction:column;gap:4px}
.hx-client .mcx-def{font-size:11px;opacity:.6}
.hx-client .mcx-item input{width:100%;box-sizing:border-box}

/* Match Center texts: collapsible card (08.11.2026) */
.hx-client .mcx-fold{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;margin:0;
  background:none;border:0;color:inherit;cursor:pointer;text-align:left;box-shadow:none}
.hx-client .mcx-fold h2{margin:0}
.hx-client .mcx-chev{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);transition:transform .15s;opacity:.8;margin-right:6px}
.hx-client .mcx-fold[aria-expanded="true"] .mcx-chev{transform:rotate(-135deg)}
.hx-client .mcx-body{margin-top:10px}
.hx-client .mcx-body[hidden]{display:none}

/* Support form (08.11.2026) */
.hx-client .sup-form .sup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px 14px}
.hx-client .sup-form .sup-item{display:flex;flex-direction:column;gap:4px;margin-top:10px}
.hx-client .sup-form .sup-item span{font-size:12px;opacity:.7}
.hx-client .sup-form input,.hx-client .sup-form textarea{width:100%;box-sizing:border-box}
.hx-client .sup-form textarea{min-height:160px;resize:vertical;font:inherit;padding:10px 12px;border-radius:10px;
  background:#0f1318;color:inherit;border:1px solid #2c3440}
.hx-client .sup-form .row{margin-top:12px}

/* 2026-11-08: logo identical to helixodds.com (same mark, colours and typeface) */
h1#brand.hx-site-logo{display:flex !important;align-items:center;gap:12px;width:auto !important;height:auto !important;
  padding:0 !important;margin:0;background:none !important;font-family:'Space Grotesk',system-ui,sans-serif !important;
  font-size:23px !important;font-weight:700 !important;letter-spacing:-1.1px !important;line-height:1.2;color:#f3f7ff !important;
  text-transform:none}
h1#brand.hx-site-logo::before{display:none !important;content:none !important}
h1#brand.hx-site-logo svg{width:32px;height:32px;flex:0 0 32px}
h1#brand.hx-site-logo span span{color:#8df2c9}

/* 2026-11-08: footer notice */
.hx-notice{margin:28px 0 8px;padding:18px 28px;max-width:none;width:100%;box-sizing:border-box;border:1px solid rgba(141,242,201,.22);border-radius:14px;
  background:rgba(141,242,201,.05);color:#b7c5d9;font-size:13px;line-height:1.6;text-align:center}
.hx-notice p{margin:0}
.hx-notice strong{color:#f3f7ff}
.hx-notice .hx-notice-links{margin-top:8px}
.hx-notice a{color:#8df2c9;text-decoration:none;font-weight:600}
.hx-notice a:hover{text-decoration:underline}

/* HelixF GoalServe key card (08.11.2026) */
.hx-client .gsk-row{margin-top:12px;flex-wrap:wrap;gap:8px}
.hx-client .gsk-row input{flex:1 1 280px;min-width:0}
.gsk-notice{margin:12px 0;padding:12px 14px;border:1px solid rgba(246,210,60,.4);border-radius:12px;
  background:rgba(246,210,60,.07);color:#f3e6b0;font-size:13px;line-height:1.55;display:flex;gap:12px;align-items:center;justify-content:space-between}
.gsk-notice button{flex:0 0 auto}
.hx-client .wrap{max-width:none;padding-left:clamp(16px,2.4vw,40px);padding-right:clamp(16px,2.4vw,40px)}
.hx-conn-scroll{overflow-x:auto;margin-top:12px}
.hx-conn-table{width:100%;border-collapse:collapse;font-size:13px}
.hx-conn-table th{text-align:left;font-weight:600;opacity:.7;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap}
.hx-conn-table td{padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.05);white-space:nowrap}
