:root {
      --mst-shell-bg: #f5f7fb;
      --mst-shell-card: #ffffff;
      --mst-shell-border: #e3e8ef;
      --mst-shell-text: #162033;
      --mst-shell-muted: #64748b;
      --mst-shell-primary: #165dff;
    }

    html,
    body {
      min-height: 100%;
    }

    body {
      margin: 0;
      background: var(--mst-shell-bg);
      color: var(--mst-shell-text);
    }

    .mst-shell-topbar {
      background: #fff;
      border-bottom: 1px solid var(--mst-shell-border);
      position: sticky;
      top: 0;
      z-index: 1030;
    }

    .mst-shell-inner {
      max-width: 1180px;
      margin: 0 auto;
      padding-left: 16px;
      padding-right: 16px;
    }

    .mst-shell-nav {
      min-height: 64px;
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .mst-shell-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: inherit;
      flex: 0 0 auto;
    }

    .mst-shell-mark {
      width: 38px;
      height: 38px;
      border-radius: 11px;
      display: grid;
      place-items: center;
      background: var(--mst-shell-primary);
      color: #fff;
      font-weight: 800;
      font-size: 13px;
      letter-spacing: .02em;
    }

    .mst-shell-brand-main {
      display: block;
      font-size: 17px;
      font-weight: 800;
      line-height: 1.05;
    }

    .mst-shell-brand-sub {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      color: var(--mst-shell-muted);
      white-space: nowrap;
    }

    .mst-shell-links {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .mst-shell-link {
      color: #334155;
      text-decoration: none;
      padding: 8px 10px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
    }

    .mst-shell-link:hover {
      background: #f1f5f9;
      color: #0f172a;
    }

    .mst-shell-main {
      min-height: calc(100vh - 180px);
    }

    .mst-shell-footer {
      margin-top: 48px;
      background: #fff;
      border-top: 1px solid var(--mst-shell-border);
    }

    .mst-shell-footer-inner {
      min-height: 100px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      padding-top: 24px;
      padding-bottom: 24px;
    }

    .mst-shell-footer-title {
      font-weight: 800;
      font-size: 15px;
    }

    .mst-shell-footer-sub {
      margin-top: 5px;
      color: var(--mst-shell-muted);
      font-size: 13px;
    }

    .mst-shell-footer-links {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .mst-shell-footer-links a {
      color: #475569;
      text-decoration: none;
      font-size: 13px;
    }

    @media (max-width: 760px) {
      .mst-shell-nav {
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .mst-shell-links {
        margin-left: 0;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
      }

      .mst-shell-link {
        white-space: nowrap;
      }

      .mst-shell-footer-inner {
        align-items: flex-start;
        flex-direction: column;
      }
    }

/* QBT_MST_RISK_FLOATING_CTA_V11 */
.qbt-mst-risk-float {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 1040;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 11px 17px;
  border: 0;
  border-radius: 999px;

  background: #b42318;
  color: #fff;
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 8px 24px rgba(180, 35, 24, .32);

  transition:
    transform .15s ease,
    box-shadow .15s ease;
}

.qbt-mst-risk-float:hover,
.qbt-mst-risk-float:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(180, 35, 24, .42);
}

.qbt-mst-risk-float__signal {
  display: inline-grid;
  place-items: center;

  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  border: 2px solid currentColor;
  border-radius: 50%;

  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .qbt-mst-risk-float {
    right: 14px;
    bottom: 72px;

    width: 50px;
    height: 50px;

    padding: 0;
    justify-content: center;
  }

  .qbt-mst-risk-float__label {
    display: none;
  }

  .qbt-mst-risk-float__signal {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 15px;
  }
}
