body.client-template-hstock .hs2fa-page {
  --hs2fa-ink: #202733;
  --hs2fa-muted: #7f8998;
  --hs2fa-line: #dfe5ed;
  --hs2fa-blue: #1879eb;
  --hs2fa-blue-soft: #eaf3ff;
  --hs2fa-green: #1ea56d;
  position: relative;
  min-height: 58vh;
  padding: 22px 0 46px;
  overflow-x: hidden;
  background: #f5f7fa;
  color: var(--hs2fa-ink);
}

body.client-template-hstock .hs2fa-shell {
  width: min(var(--hs-shell, 1180px), calc(100% - 32px));
  margin: 0 auto;
}

body.client-template-hstock .hs2fa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: var(--hs2fa-muted);
  font-size: 12px;
}

body.client-template-hstock .hs2fa-breadcrumb a {
  color: #526075;
  text-decoration: none;
}

body.client-template-hstock .hs2fa-breadcrumb i {
  color: #a8b0bd;
  font-size: 9px;
}

body.client-template-hstock .hs2fa-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 3px 3px 24px;
}

body.client-template-hstock .hs2fa-eyebrow {
  margin: 0 0 8px;
  color: var(--hs2fa-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

body.client-template-hstock .hs2fa-hero h1 {
  margin: 0;
  color: var(--hs2fa-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

body.client-template-hstock .hs2fa-hero > div > p:last-child {
  margin: 10px 0 0;
  color: var(--hs2fa-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.client-template-hstock .hs2fa-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #cfe7dc;
  border-radius: 999px;
  background: #eff9f4;
  color: #56806f;
  font-size: 11px;
  white-space: nowrap;
}

body.client-template-hstock .hs2fa-privacy i,
body.client-template-hstock .hs2fa-status > i {
  display: block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24b976;
  box-shadow: 0 0 0 3px rgba(36, 185, 118, .12);
}

body.client-template-hstock .hs2fa-workspace {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

body.client-template-hstock .hs2fa-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e0e5ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(33, 48, 78, .065);
}

body.client-template-hstock .hs2fa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

body.client-template-hstock .hs2fa-head h2,
body.client-template-hstock .hs2fa-vault-head h2 {
  margin: 0;
  color: var(--hs2fa-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

body.client-template-hstock .hs2fa-pills {
  display: flex;
  gap: 5px;
}

body.client-template-hstock .hs2fa-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #eff1f4;
  color: #697382;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-pill.is-blue {
  background: var(--hs2fa-blue-soft);
  color: var(--hs2fa-blue);
}

body.client-template-hstock .hs2fa-input-wrap { position: relative; }

body.client-template-hstock .hs2fa-secret {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 15px;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--hs2fa-ink);
  font: inherit;
  font-size: 13px;
}

body.client-template-hstock .hs2fa-secret:focus {
  border-color: #79a9e8;
  box-shadow: 0 0 0 3px rgba(24, 121, 235, .12);
}

body.client-template-hstock .hs2fa-secret::placeholder { color: #aeb5c0; }

body.client-template-hstock .hs2fa-paste {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: #f1f3f6;
  color: #5f6977;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-hint {
  display: flex;
  gap: 7px;
  margin: 8px 2px 12px;
  color: #8d96a3;
  font-size: 11px;
  line-height: 1.5;
}

body.client-template-hstock .hs2fa-hint i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #8ca6c8;
}

body.client-template-hstock .hs2fa-params {
  margin-bottom: 14px;
  padding: 3px 12px;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #f4f5f7;
  color: #626d7c;
}

body.client-template-hstock .hs2fa-params[hidden],
body.client-template-hstock .hs2fa-modal-backdrop[hidden] { display: none !important; }

body.client-template-hstock .hs2fa-param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #dfe3e8;
  font-size: 11px;
}

body.client-template-hstock .hs2fa-segments {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 7px;
  background: #e2e6eb;
}

body.client-template-hstock .hs2fa-segments button {
  min-height: 29px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #394352;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-segments button.is-active {
  background: #fff;
  color: #1f2937;
  box-shadow: 0 1px 4px rgba(42, 53, 67, .14);
}

body.client-template-hstock .hs2fa-segments button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

body.client-template-hstock .hs2fa-param-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0 6px;
  color: #929aa6;
  font-size: 10px;
  line-height: 1.45;
}

body.client-template-hstock .hs2fa-param-note button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hs2fa-blue);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-codebox {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 18px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fbfcfd;
}

body.client-template-hstock .hs2fa-code-label {
  color: #7f8998;
  font-size: 12px;
  font-weight: 700;
}

body.client-template-hstock .hs2fa-code {
  max-width: 100%;
  margin: 14px 0 9px;
  overflow-wrap: anywhere;
  color: #cbd0d7;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 1px;
  text-align: center;
}

body.client-template-hstock .hs2fa-code.is-active { color: var(--hs2fa-ink); }

body.client-template-hstock .hs2fa-code-sub {
  color: #929ba8;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

body.client-template-hstock .hs2fa-progress {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: 16px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebf0;
}

body.client-template-hstock .hs2fa-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #2fb87a;
  transform-origin: left;
  transition: transform .2s linear;
}

body.client-template-hstock .hs2fa-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px;
  margin-top: 11px;
}

body.client-template-hstock .hs2fa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-button.is-primary {
  border-color: #1879eb;
  background: #1879eb;
  color: #fff;
}

body.client-template-hstock .hs2fa-button.is-secondary {
  background: #eaf3ff;
  color: #7b9fc8;
}

body.client-template-hstock .hs2fa-button.is-secondary.is-enabled { color: var(--hs2fa-blue); }
body.client-template-hstock .hs2fa-button.is-muted { background: #edf0f3; color: #505b69; }
body.client-template-hstock .hs2fa-button:disabled { cursor: not-allowed; opacity: .45; }

body.client-template-hstock .hs2fa-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: #8d96a3;
  font-size: 11px;
}

body.client-template-hstock .hs2fa-vault {
  display: flex;
  flex-direction: column;
}

body.client-template-hstock .hs2fa-vault-head p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 0;
  color: #8d96a3;
  font-size: 11px;
}

body.client-template-hstock .hs2fa-vault-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 10px 0;
}

body.client-template-hstock .hs2fa-empty {
  width: 100%;
  text-align: center;
}

body.client-template-hstock .hs2fa-empty-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 17px;
  border: 1px solid #cfe2f8;
  border-radius: 8px;
  background: #edf6ff;
  color: var(--hs2fa-blue);
  font-size: 31px;
}

body.client-template-hstock .hs2fa-empty h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0;
}

body.client-template-hstock .hs2fa-empty p {
  max-width: 380px;
  margin: 9px auto 18px;
  color: #818b99;
  font-size: 12px;
  line-height: 1.7;
}

body.client-template-hstock .hs2fa-empty-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

body.client-template-hstock .hs2fa-vault-foot {
  padding-top: 12px;
  border-top: 1px solid #e7ebf0;
  color: #8b95a3;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

body.client-template-hstock .hs2fa-vault-foot strong { color: var(--hs2fa-blue); }

body.client-template-hstock .hs2fa-list {
  display: none;
  width: 100%;
  max-height: 335px;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
}

body.client-template-hstock .hs2fa-list.is-visible { display: flex; }

body.client-template-hstock .hs2fa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px;
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  background: #fff;
}

body.client-template-hstock .hs2fa-item.is-selected {
  border-color: #8db9ed;
  background: #f3f8ff;
}

body.client-template-hstock .hs2fa-item-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hs2fa-ink);
  text-align: left;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-key-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #eaf3ff;
  color: var(--hs2fa-blue);
}

body.client-template-hstock .hs2fa-item-name span:last-child { min-width: 0; }
body.client-template-hstock .hs2fa-item-name strong,
body.client-template-hstock .hs2fa-item-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.client-template-hstock .hs2fa-item-name strong { font-size: 12px; }
body.client-template-hstock .hs2fa-item-name small { margin-top: 3px; color: #8e98a5; font-size: 10px; }
body.client-template-hstock .hs2fa-item-actions { display: flex; flex: 0 0 auto; gap: 4px; }

body.client-template-hstock .hs2fa-icon-button {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #f0f2f5;
  color: #6e7886;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 28, 43, .58);
}

body.client-template-hstock .hs2fa-modal {
  width: min(520px, 100%);
  padding: 21px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 30, 50, .28);
}

body.client-template-hstock .hs2fa-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.client-template-hstock .hs2fa-modal h2 { margin: 0; font-size: 17px; }

body.client-template-hstock .hs2fa-modal-head button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #f0f2f5;
  color: #687382;
  cursor: pointer;
}

body.client-template-hstock .hs2fa-modal > p {
  margin: 12px 0;
  color: #788392;
  font-size: 11px;
  line-height: 1.6;
}

body.client-template-hstock .hs2fa-modal textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--hs2fa-ink);
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
}

body.client-template-hstock .hs2fa-modal textarea:focus {
  border-color: #79a9e8;
  box-shadow: 0 0 0 3px rgba(24, 121, 235, .12);
}

body.client-template-hstock .hs2fa-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

body.client-template-hstock .hs2fa-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 2600;
  max-width: calc(100vw - 30px);
  padding: 10px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  background: #202936;
  color: #fff;
  font-size: 11px;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease;
}

body.client-template-hstock .hs2fa-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body.client-template-hstock .hs2fa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.hstock-dark-mode body.client-template-hstock .hs2fa-page { --hs2fa-ink: #edf2fb; --hs2fa-muted: #aab5c6; --hs2fa-line: #3b4960; background: #1a2433; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-card,
html.hstock-dark-mode body.client-template-hstock .hs2fa-secret,
html.hstock-dark-mode body.client-template-hstock .hs2fa-item,
html.hstock-dark-mode body.client-template-hstock .hs2fa-modal,
html.hstock-dark-mode body.client-template-hstock .hs2fa-modal textarea { border-color: #3b4960; background: #222e40; color: #edf2fb; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-codebox { border-color: #3b4960; background: #1f2a3a; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-params { border-color: #3b4960; background: #273448; color: #bdc7d6; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-param-row { border-color: #3b4960; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-segments { background: #1d2838; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-segments button { color: #cbd5e4; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-segments button.is-active { background: #3a4a62; color: #fff; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-item.is-selected { border-color: #5c91cf; background: #263b55; }
html.hstock-dark-mode body.client-template-hstock .hs2fa-privacy { border-color: #356552; background: #213d34; }

@media (max-width: 900px) {
  body.client-template-hstock .hs2fa-workspace { grid-template-columns: 1fr; }
  body.client-template-hstock .hs2fa-vault-body { min-height: 255px; }
}

@media (max-width: 560px) {
  body.client-template-hstock .hs2fa-page { padding: 16px 0 30px; }
  body.client-template-hstock .hs2fa-shell { width: calc(100% - 22px); }
  body.client-template-hstock .hs2fa-breadcrumb { margin-bottom: 18px; overflow: hidden; white-space: nowrap; }
  body.client-template-hstock .hs2fa-hero { align-items: flex-start; flex-direction: column; gap: 14px; padding-bottom: 20px; }
  body.client-template-hstock .hs2fa-hero h1 { font-size: 28px; }
  body.client-template-hstock .hs2fa-hero > div > p:last-child { font-size: 13px; }
  body.client-template-hstock .hs2fa-card { padding: 14px 12px; }
  body.client-template-hstock .hs2fa-head { align-items: flex-start; }
  body.client-template-hstock .hs2fa-head h2 { font-size: 17px; }
  body.client-template-hstock .hs2fa-pill { min-height: 31px; padding: 0 8px; font-size: 9px; }
  body.client-template-hstock .hs2fa-secret { height: 48px; font-size: 12px; }
  body.client-template-hstock .hs2fa-paste { top: 6px; right: 6px; width: 36px; height: 36px; }
  body.client-template-hstock .hs2fa-param-row { gap: 7px; min-height: 42px; }
  body.client-template-hstock .hs2fa-segments button { min-height: 28px; padding: 0 8px; font-size: 9px; }
  body.client-template-hstock .hs2fa-param-note { align-items: flex-start; }
  body.client-template-hstock .hs2fa-codebox { min-height: 130px; }
  body.client-template-hstock .hs2fa-code { font-size: 24px; }
  body.client-template-hstock .hs2fa-actions { grid-template-columns: minmax(0, 1fr) 88px; }
  body.client-template-hstock .hs2fa-button { min-height: 40px; padding: 0 10px; font-size: 11px; }
  body.client-template-hstock .hs2fa-empty-icon { width: 82px; height: 82px; font-size: 27px; }
  body.client-template-hstock .hs2fa-empty h3 { font-size: 17px; }
  body.client-template-hstock .hs2fa-empty p { font-size: 11px; }
  body.client-template-hstock .hs2fa-empty-actions { flex-wrap: wrap; }
  body.client-template-hstock .hs2fa-modal { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body.client-template-hstock .hs2fa-progress i,
  body.client-template-hstock .hs2fa-toast { transition: none; }
}
