html { background: #0b1118; color-scheme: dark; }
body { margin: 0; }
button, summary, a { cursor: pointer; }
button:disabled { cursor: default; }

  #hs-review {
    --ink: #eef5f8;
    --muted: #a8b8c5;
    --dim: #91a4b3;
    --canvas: #0b1118;
    --panel: #131e28;
    --rule: #283846;
    --mint: #6ce5ba;
    --rose: #ffa0a5;
    --amber: #ffcf8b;
    --blue: #a9caff;
    color-scheme: dark;
    font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    display: grid;
    justify-items: center;
    width: 100%;
    container-type: inline-size;
  }

  #hs-review *, #hs-review *::before, #hs-review *::after { box-sizing: border-box; }
  #hs-review :where(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
  #hs-review :where(a, button, summary) { -webkit-tap-highlight-color: transparent; }
  #hs-review :where(a, button, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
  #hs-review [hidden] { display: none !important; }
  #hs-review button { font: inherit; color: inherit; }

  #hs-review .hs-app {
    width: min(100%, 424px);
    min-width: 0;
    background: var(--canvas);
    color: var(--ink);
  }

  @container (min-width: 460px) {
    #hs-review .hs-app {
      margin: 18px 0;
      border: 1px solid #2b3a45;
      border-radius: 24px;
      overflow: clip;
      box-shadow: 0 10px 30px #0003;
    }
  }

  #hs-review .hs-header { padding: 17px 16px 0; background: #0e1820; border-bottom: 1px solid #24323d; }
  #hs-review .hs-brand-row, #hs-review .hs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
  #hs-review .hs-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
  #hs-review .hs-emblem {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    border-radius: 12px;
    background: linear-gradient(150deg, #92f2d1, #5bcda9);
    border: 1px solid #a2f6db;
    color: #0b2925;
    flex: 0 0 auto;
  }

  /* The CSS mark also works in offline previews of the fragment. */
  #hs-review .hs-emblem::before {
    content: "";
    width: 21px;
    height: 24px;
    background: currentColor;
    clip-path: polygon(50% 0%, 99% 18%, 98% 58%, 89% 75%, 50% 100%, 11% 75%, 2% 58%, 1% 18%);
    grid-area: 1 / 1;
  }

  #hs-review .hs-emblem::after {
    content: "";
    grid-area: 1 / 1;
    width: 10px;
    height: 6px;
    margin-bottom: 2px;
    border-left: 2px solid #92f2d1;
    border-bottom: 2px solid #92f2d1;
    transform: rotate(-45deg);
  }

  #hs-review .hs-brand h1 { font-size: 22px; line-height: 1.08; font-weight: 700; letter-spacing: -.045em; color: var(--ink); }
  #hs-review .hs-network { display: block; margin-top: 4px; font: 600 10px/1.25 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .13em; color: var(--muted); }
  #hs-review .hs-demo {
    padding: 4px 8px;
    border: 1px solid #5d4c30;
    border-radius: 6px;
    background: #2c261c;
    color: var(--amber);
    font-size: 12px;
    font-weight: 650;
    flex: 0 0 auto;
  }

  #hs-review .hs-toolbar { margin-top: 12px; align-items: stretch; }
  #hs-review .hs-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 9px;
    margin-bottom: 10px;
    min-height: 46px;
    width: 100%;
    min-width: 0;
    border: 1px solid #2b3d49;
    border-radius: 9px;
    background: #151f29;
    text-align: left;
  }

  #hs-review .hs-connect :where(strong, time) { display: block; }
  #hs-review .hs-connect strong { color: var(--mint); font-size: 13px; line-height: 1.3; }
  #hs-review .hs-connect time { color: var(--muted); font-size: 11px; line-height: 1.35; margin-top: 2px; }
  #hs-review .hs-connect > span:first-child { min-width: 0; }
  #hs-review .hs-connect[data-state="stale"] { background: #35271b; border: 2px solid #d5a156; padding: 5px 8px; }
  #hs-review .hs-connect[data-state="offline"] { background: #35212a; border: 2px solid #e98a96; padding: 5px 8px; }
  #hs-review .hs-connect[data-state="stale"] strong { color: var(--amber); }
  #hs-review .hs-connect[data-state="offline"] strong { color: var(--rose); }
  #hs-review .hs-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 5px 1px 1px; background: currentColor; }
  #hs-review .hs-chev { flex: 0 0 auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  #hs-review .hs-connect .hs-chev { margin: -4px 4px 0 0; color: var(--muted); }
  #hs-review .hs-nav { align-self: flex-start; }
  #hs-review .hs-nav a {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 9px;
    border: 1px solid #293946;
    border-radius: 9px;
    color: var(--ink);
    background: #182531;
    font-weight: 600;
    text-decoration: none;
  }

  #hs-review .hs-nav a .hs-chev { margin-top: -4px; width: 6px; height: 6px; color: var(--mint); }
  #hs-review .hs-main { padding: 15px 16px 22px; }
  #hs-review .hs-summary {
    padding: 14px;
    background: radial-gradient(ellipse at 100% 0%, #1b3636 0%, transparent 66%), linear-gradient(160deg, #12242a, #122028);
    border: 1px solid #2b494b;
    border-radius: 16px;
  }

  #hs-review h2 { font-size: 19px; line-height: 1.18; letter-spacing: -.028em; font-weight: 690; color: var(--ink); }
  #hs-review .hs-totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  #hs-review .hs-totals > div { display: flex; flex-direction: column; justify-content: space-between; }
  #hs-review .hs-totals > div + div { border-left: 1px solid #36504f; padding-left: 10px; }
  #hs-review dt, #hs-review .hs-label { font-size: 12px; color: var(--muted); line-height: 1.35; font-weight: 550; }
  #hs-review .hs-money, #hs-review time, #hs-review .hs-pct, #hs-review .hs-leverage { font-variant-numeric: tabular-nums; }
  #hs-review .hs-money { overflow-wrap: anywhere; }
  #hs-review .hs-unit { font-weight: 600; font-size: .61em; display: inline-block; white-space: nowrap; letter-spacing: 0; vertical-align: .08em; }
  #hs-review .hs-totals dd { font-size: 23px; font-weight: 720; line-height: 1.22; letter-spacing: -.04em; margin-top: 3px; }
  #hs-review .hs-positive { color: var(--mint); }
  #hs-review .hs-negative { color: var(--rose); }
  #hs-review .hs-hedge-chart { border-top: 1px solid #314645; margin-top: 12px; padding-top: 11px; }
  #hs-review .hs-notional-title, #hs-review .hs-gap-labels, #hs-review .hs-key-row {
    display: flex;
    justify-content: space-between;
    gap: 4px 10px;
    align-items: baseline;
    flex-wrap: wrap;
  }

  #hs-review .hs-notional-title > span:first-child { color: #c8d7dd; font-size: 12px; font-weight: 600; }
  #hs-review .hs-notional-title strong { font-size: 16px; font-weight: 680; }
  #hs-review .hs-meter {
    height: 10px;
    display: flex;
    gap: 3px;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0 7px;
  }

  #hs-review .hs-meter > span:first-child { flex: 0 0 calc((100% - 3px) * var(--covered, 0)); background: #70e4bb; }
  #hs-review .hs-meter > span:last-child { flex: 1; background: repeating-linear-gradient(-45deg, #3b584f 0 3px, #263d3a 3px 7px); }
  #hs-review .hs-gap-labels { flex-wrap: nowrap; line-height: 1.3; }
  #hs-review .hs-gap-labels > div { min-width: 0; }
  #hs-review .hs-gap-labels > div:last-child { text-align: right; }
  #hs-review .hs-gap-labels dt { font-size: 11px; }
  #hs-review .hs-gap-labels dd { font-size: 15px; font-weight: 670; margin-top: 2px; }
  #hs-review .hs-gap-labels .hs-pct { font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--mint); }
  #hs-review .hs-note { margin-top: 9px; color: #afc4cb; font-size: 11px; line-height: 1.42; }
  #hs-review .hs-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 9px; scroll-margin: 8px; }
  #hs-review .hs-count { border: 1px solid #334653; background: #17232d; color: var(--muted); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 630; white-space: nowrap; }
  #hs-review .hs-positions { display: grid; gap: 11px; }
  #hs-review .hs-position { min-width: 0; background: var(--panel); border: 1px solid #2a3a48; border-radius: 15px; }
  #hs-review .hs-card-body { padding: 13px 13px 0; }
  #hs-review .hs-position-head { display: flex; justify-content: space-between; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
  #hs-review .hs-position h3 { color: var(--ink); font-size: 18px; line-height: 1.2; letter-spacing: -.015em; font-weight: 720; min-width: 0; overflow-wrap: anywhere; }
  #hs-review .hs-position-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  #hs-review .hs-side, #hs-review .hs-leverage { padding: 3px 6px; border-radius: 5px; font-weight: 670; font-size: 11px; }
  #hs-review .hs-short { color: #ffadb4; background: #392632; border: 1px solid #64404c; }
  #hs-review .hs-long { color: #91e9cd; background: #1c3836; border: 1px solid #315c53; }
  #hs-review .hs-leverage { color: #c6d6e5; background: #202d3a; border: 1px solid #364656; }
  #hs-review .hs-pnls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-top: 11px; }
  #hs-review .hs-pnls > div { padding: 8px 9px; border: 1px solid #354451; border-radius: 8px; background: #192633; }
  #hs-review .hs-pnls > .hs-gain { background: #15312e; border-color: #2a554a; }
  #hs-review .hs-pnls > .hs-loss { background: #30232e; border-color: #583943; }
  #hs-review .hs-pnls dt { color: #bbcad5; }
  #hs-review .hs-pnls dd { font-size: 19px; line-height: 1.23; font-weight: 700; margin-top: 2px; letter-spacing: -.035em; }
  #hs-review .hs-pnls .hs-pct { display: block; margin-top: 2px; font-size: 12px; font-weight: 620; letter-spacing: 0; }
  #hs-review .hs-market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 7px; margin: 11px 0 10px; }
  #hs-review .hs-market dt { font-size: 11px; }
  #hs-review .hs-market dd { margin-top: 2px; font-size: 14px; line-height: 1.25; font-weight: 670; }
  #hs-review .hs-market .hs-unit { font-size: 10px; color: #b7c9d6; }
  #hs-review .hs-health {
    border-block: 1px solid var(--rule);
    padding: 8px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px 10px;
  }

  #hs-review .hs-health > div { min-width: 0; }
  #hs-review .hs-health > div:last-child { border-left: 1px solid var(--rule); padding-left: 10px; }
  #hs-review .hs-health dt { font-size: 11px; }
  #hs-review .hs-health dd { font-size: 13px; font-weight: 670; overflow-wrap: anywhere; }
  #hs-review .hs-health .hs-runtime { color: var(--blue); }
  #hs-review .hs-health .hs-locked, #hs-review .hs-health .hs-unhedged { color: var(--amber); }
  #hs-review .hs-health .hs-incidents { color: var(--muted); font-size: 11px; white-space: nowrap; font-weight: 550; }
  #hs-review .hs-details > summary {
    min-height: 44px;
    color: #c3d7e9;
    font-size: 12px;
    font-weight: 650;
    padding: 0 14px;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  #hs-review .hs-details > summary::-webkit-details-marker { display: none; }
  #hs-review .hs-details > summary > span:last-child { margin: -4px 3px 0 0; color: var(--blue); }
  #hs-review .hs-details[open] > summary > span:last-child { transform: rotate(225deg); margin-top: 3px; }
  #hs-review .hs-details .hs-details-close, #hs-review .hs-details[open] .hs-details-open { display: none; }
  #hs-review .hs-details[open] .hs-details-close { display: inline; }
  #hs-review .hs-info { padding: 1px 13px 12px; }
  #hs-review .hs-info .hs-key-row { padding: 7px 0; border-bottom: 1px solid var(--rule); }
  #hs-review .hs-key-row > dd { min-width: 0; overflow-wrap: anywhere; font-weight: 600; font-size: 13px; }
  #hs-review .hs-key-row .hs-missing { color: var(--muted); font-size: 11px; font-weight: 450; }
  #hs-review .hs-runtime-detail { color: #c4d5e2; margin-top: 9px; font-size: 13px; overflow-wrap: anywhere; }
  #hs-review .hs-runtime-detail strong { color: var(--blue); font-size: 12px; display: block; margin-bottom: 3px; }

  #hs-review .hs-actions { background: #0e1822; border-top: 1px solid #2d4150; padding: 12px 13px 13px; border-radius: 0 0 14px 14px; }
  #hs-review .hs-actions-heading { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; color: var(--ink); font-weight: 670; }
  #hs-review .hs-actions-heading span { color: var(--dim); font-size: 11px; font-weight: 550; }
  #hs-review .hs-control { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 7px; padding: 4px 0; border-bottom: 1px solid #263744; }
  #hs-review .hs-control > span { color: #cbd9e5; font-size: 12px; font-weight: 610; overflow-wrap: anywhere; }
  #hs-review .hs-switch { display: grid; place-items: center; width: 48px; height: 44px; border: 0; padding: 0; background: none; border-radius: 7px; }
  #hs-review .hs-switch-mark { display: flex; width: 38px; height: 22px; padding: 3px; border-radius: 22px; background: #475664; }
  #hs-review .hs-switch-mark::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #edf6fe; }
  #hs-review .hs-switch[aria-checked="true"] .hs-switch-mark { justify-content: flex-end; background: #6ce5ba; }
  #hs-review .hs-switch[aria-checked="true"] .hs-switch-mark::after { background: #103832; }
  #hs-review .hs-switch-name { display: block; color: var(--dim); font-size: 10px; font-weight: 550; }
  #hs-review .hs-action, #hs-review .hs-setting, #hs-review .hs-choice {
    min-height: 44px;
    border: 1px solid #415367;
    border-radius: 8px;
    background: #1b2a38;
    padding: 6px 10px;
    font-weight: 630;
    overflow-wrap: anywhere;
  }

  #hs-review .hs-setting { background: transparent; font-size: 12px; }
  #hs-review .hs-action-buttons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
  #hs-review .hs-action { font-size: 13px; }
  #hs-review .hs-action.hs-unlock { color: var(--amber); border-color: #765b37; background: #2e251d; }

  #hs-review .hs-dialog {
    position: fixed;
    inset: 50% 0 auto;
    transform: translateY(-50%);
    margin: 0 auto;
    width: min(366px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border: 1px solid #455a69;
    border-radius: 16px;
    padding: 17px;
    background: #17242f;
    color: var(--ink);
    box-shadow: 0 20px 60px #0008;
  }

  #hs-review .hs-dialog::backdrop { background: #040b12ba; }
  #hs-review .hs-dialog h2 { font-size: 21px; margin-top: 8px; }
  #hs-review .hs-dialog p { margin-top: 8px; color: #cbdbe5; font-size: 13px; overflow-wrap: anywhere; }
  #hs-review .hs-dialog .hs-context { font-weight: 700; font-size: 15px; color: var(--ink); }
  #hs-review .hs-dialog .hs-confirm { color: #24180b; background: #ffcf8b; border-color: #ffcf8b; }
  #hs-review .hs-dialog .hs-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
  #hs-review .hs-options { display: grid; gap: 7px; margin-top: 13px; }
  #hs-review .hs-choice { display: flex; gap: 10px; justify-content: space-between; align-items: center; text-align: left; }
  #hs-review .hs-choice[aria-pressed="true"] { border-color: #73debb; background: #1a3936; }
  #hs-review .hs-choice span { color: var(--mint); font-size: 11px; }
  #hs-review .hs-feedback { background: #21394b; border: 1px solid #4d718c; color: #d7eaff; padding: 8px 9px; margin-top: 9px; border-radius: 8px; font-size: 12px; }
  #hs-review .hs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  @container (max-width: 350px) {
    #hs-review .hs-header, #hs-review .hs-main { padding-inline: 12px; }
    #hs-review .hs-brand h1 { font-size: 20px; }
    #hs-review .hs-summary, #hs-review .hs-card-body, #hs-review .hs-info, #hs-review .hs-actions { padding-inline: 11px; }
    #hs-review .hs-totals dd { font-size: 21px; }
    #hs-review .hs-market dd { font-size: 13px; }
    #hs-review .hs-pnls dd { font-size: 17px; }
  }

  #hs-review .hs-header { padding-top: max(17px, env(safe-area-inset-top)); }
  #hs-review .hs-main { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  #hs-review .hs-meter[data-missing] > span:last-child { background: #263d3a; }
  #hs-review .hs-empty { margin: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 14px; color: var(--muted); }
  #hs-review .hs-runtime-detail, #hs-review .hs-key-row > dd { white-space: pre-line; }
  #hs-review [data-key="coverage"] { color: var(--mint); }
  #hs-review .hs-scope { margin-top: 0; padding-bottom: 11px; color: var(--muted); font-size: 12px; }
  #hs-review .hs-demo[data-mode="live"] { background: #1c343e; border-color: #345463; color: #c0e2f5; }
  #hs-review .hs-connect[data-state="idle"] strong { color: var(--muted); }
  #hs-review .hs-money:empty::after { content: "—"; }

  #hs-review .hs-refresh { font-size: 18px; line-height: 1; color: var(--mint); padding: 0 3px; }
  #hs-review .hs-money-note { display: block; color: var(--amber); font-size: 11px; line-height: 1.25; letter-spacing: 0; }

  #hs-review .hs-login { padding: 20px 16px 24px; }
  #hs-review .hs-login h2 { font-size: 23px; }
  #hs-review .hs-login p { margin-top: 9px; color: var(--muted); font-size: 14px; }
  #hs-review .hs-login form { display: grid; gap: 15px; margin-top: 20px; }
  #hs-review .hs-login label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 550; }
  #hs-review .hs-login input, #hs-review .hs-login select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #425869; border-radius: 8px; background: #17242f; color: var(--ink); font: inherit; font-size: 16px; }
  #hs-review .hs-login select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a8b8c5 50%), linear-gradient(135deg, #a8b8c5 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
  #hs-review .hs-login .hs-login-error { color: var(--rose); font-size: 14px; margin-top: 0; }
  #hs-review .hs-login-submit { background: #72e5bf; color: #10362d; border-color: #72e5bf; font-size: 15px; }
  #hs-review .hs-login button:disabled { opacity: .65; }
  #hs-review .hs-demo-button { width: 100%; margin-top: 12px; min-height: 46px; }
  #hs-review .hs-account-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
  #hs-review .hs-account-line > span { color: var(--muted); overflow-wrap: anywhere; min-width: 0; font-size: 12px; }
  #hs-review .hs-account-line .hs-setting { flex-shrink: 0; }
  #hs-review .hs-login input:focus-visible, #hs-review .hs-login select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
