.ht-overlay-hidden {
  display: none !important;
}

.ht-top-pricing-hidden {
  display: none !important;
}

html.ht-overview-root-page {
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html.ht-overview-root-page {
    overflow-y: scroll;
  }
}

.ht-key-card:empty {
  display: none !important;
}

body.ht-overview-page .ht-overview-setup,
body.ht-overview-hold .ht-overview-setup {
  display: none !important;
}

body.ht-overview-page .ht-overview-key-root,
body.ht-overview-hold .ht-overview-key-root {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch !important;
}

.ht-key-card {
  width: 100%;
  max-width: none;
  height: clamp(208px, 24vh, 260px);
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--card-foreground, #0f172a);
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.ht-key-card-collapsed {
  height: auto;
}

.ht-key-card * {
  box-sizing: border-box;
}

.ht-key-eyebrow {
  margin: 0 0 4px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ht-key-card h2,
.ht-key-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0;
}

.ht-key-subtitle {
  margin: 8px 0 0;
  color: var(--muted-foreground, #64748b);
  font-size: 14px;
  line-height: 1.55;
}

.ht-key-header-actions,
.ht-key-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ht-key-header-actions a,
.ht-key-card button {
  min-height: 34px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 8px;
  background: var(--background, #fff);
  color: var(--foreground, #0f172a);
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}

.ht-toolbar-icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px !important;
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  justify-content: center;
  border: 0 !important;
  border-radius: 9px !important;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 46%, transparent) !important;
  color: var(--muted-foreground, #64748b) !important;
  line-height: 1;
}

.ht-toolbar-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.32s ease;
}

.ht-toolbar-icon:hover {
  background: color-mix(in oklab, var(--primary, #0f172a) 12%, var(--muted, rgb(241 245 249))) !important;
  color: var(--foreground, #0f172a) !important;
}

.ht-toolbar-icon:active svg {
  transform: rotate(90deg);
}

.ht-key-unified-panel {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--card, #fff);
  color: var(--card-foreground, #0f172a);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  overflow: visible;
}

.ht-key-unified-header {
  min-height: 42px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px 14px 0 0;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 36%, transparent);
  padding: 8px 14px;
  cursor: pointer;
  outline: none;
}

.ht-key-unified-header:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--primary, #0f172a) 42%, transparent);
}

.ht-key-unified-header:active {
  transform: none !important;
}

.ht-key-unified-controls {
  width: 76px;
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 8px;
  cursor: default;
}

.ht-key-unified-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--muted-foreground, #64748b);
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 46%, transparent);
}

.ht-key-unified-chevron svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.ht-key-unified-collapsed .ht-key-unified-chevron svg {
  transform: rotate(-90deg);
}

.ht-key-unified-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.ht-key-unified-collapsed .ht-key-unified-header {
  border-bottom: 0;
  border-radius: 14px;
}

.ht-key-unified-collapsed .ht-key-unified-body {
  display: none;
}

.ht-primary-button {
  border-color: var(--primary, #0f172a) !important;
  background: var(--primary, #0f172a) !important;
  color: var(--primary-foreground, #fff) !important;
}

.ht-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.ht-key-header-actions a {
  display: inline-flex;
  align-items: center;
}

.ht-key-card button:hover,
.ht-key-header-actions a:hover {
  background: var(--muted, rgb(241 245 249));
}

.ht-key-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

.ht-key-create-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.4fr) minmax(120px, 0.4fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: color-mix(in oklab, var(--background, #fff) 96%, var(--foreground, #0f172a));
  padding: 12px;
}

.ht-key-create-form label {
  display: grid;
  gap: 6px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 550;
}

.ht-key-create-form input[type='text'],
.ht-key-create-form input[type='number'],
.ht-key-create-form input:not([type]) {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--input, var(--border, rgb(226 232 240)));
  border-radius: 10px;
  background: var(--background, #fff);
  color: var(--foreground, #0f172a);
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
}

.ht-key-create-form input:disabled {
  opacity: 0.55;
}

.ht-checkbox-row {
  min-height: 36px;
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  color: var(--foreground, #0f172a) !important;
}

.ht-checkbox-row input {
  width: 16px;
  height: 16px;
}

.ht-key-create-form button[type='submit'] {
  border-color: var(--primary, #0f172a);
  background: var(--primary, #0f172a);
  color: var(--primary-foreground, #fff);
}

.ht-key-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ht-key-summary div {
  min-height: 74px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--background, #fff);
  padding: 12px;
}

.ht-key-summary span {
  display: block;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
}

.ht-key-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.ht-key-message {
  margin-bottom: 12px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.ht-key-message-neutral {
  background: var(--muted, rgb(241 245 249));
  color: var(--foreground, #0f172a);
}

.ht-key-message-success {
  background: color-mix(in oklab, var(--success, #16a34a) 12%, transparent);
  color: var(--success, #15803d);
}

.ht-key-message-warning {
  background: color-mix(in oklab, var(--warning, #f59e0b) 16%, transparent);
  color: color-mix(in oklab, var(--warning, #b45309) 72%, var(--foreground, #0f172a));
}

.ht-key-message-danger {
  background: color-mix(in oklab, var(--destructive, #dc2626) 12%, transparent);
  color: var(--destructive, #dc2626);
}

@keyframes ht-key-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 55%, transparent);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px color-mix(in oklab, currentColor 0%, transparent);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 0%, transparent);
  }
}

.ht-key-list {
  display: block;
  height: 100%;
  min-height: 0;
}

.ht-key-card svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ht-key-bento-grid {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 0;
  overflow: visible;
}

.ht-key-master-panel,
.ht-key-config-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--card, #fff);
  color: var(--card-foreground, #0f172a);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.ht-key-unified-panel .ht-key-master-panel,
.ht-key-unified-panel .ht-key-config-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ht-key-unified-panel .ht-key-config-panel {
  border-left: 1px solid var(--border, rgb(226 232 240));
}

.ht-key-panel-header {
  min-height: 42px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border, rgb(226 232 240));
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 36%, transparent);
  padding: 8px 14px;
}

.ht-key-config-header {
  border-bottom: 0;
}

.ht-key-panel-title {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ht-key-panel-title h2,
.ht-key-panel-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ht-key-panel-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
}

.ht-key-panel-icon {
  flex: 0 0 auto;
  color: var(--foreground, #0f172a);
  font-size: 20px;
}

.ht-key-panel-body,
.ht-key-config-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  overflow: visible;
}

.ht-key-card-empty {
  border: 1px dashed var(--border, rgb(226 232 240));
  border-radius: 14px;
  color: var(--muted-foreground, #64748b);
  padding: 18px;
  text-align: center;
  font-size: 13px;
}

.ht-current-key-stack {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ht-current-key-card {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: color-mix(in oklab, var(--card, #fff) 78%, transparent);
  padding: 11px;
  cursor: default;
  overflow: visible;
}

.ht-current-key-active {
  border-color: color-mix(in oklab, var(--primary, #0f172a) 24%, var(--border, rgb(226 232 240)));
  box-shadow: 0 0 20px color-mix(in oklab, var(--primary, #0f172a) 12%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ht-current-key-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in oklab, var(--primary, #0f172a) 7%, transparent), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.ht-current-key-card:hover .ht-current-key-sheen {
  opacity: 1;
}

.ht-current-key-content {
  position: relative;
  z-index: 1;
}

.ht-current-key-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 650;
}

.ht-current-key-name {
  overflow: hidden;
  margin-top: 12px;
  color: var(--foreground, #0f172a);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.ht-current-key-main-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 12px;
  background: color-mix(in oklab, var(--background, #fff) 78%, var(--card, #fff));
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.ht-current-key-main-row:hover {
  border-color: color-mix(in oklab, var(--primary, #0f172a) 34%, var(--border, rgb(226 232 240)));
  background: color-mix(in oklab, var(--background, #fff) 68%, var(--muted, rgb(241 245 249)));
}

.ht-current-key-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ht-current-key-identity strong,
.ht-current-key-identity code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ht-current-key-identity strong {
  flex: 0 1 auto;
  min-width: 48px;
  color: var(--foreground, #0f172a);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.15;
}

.ht-current-key-identity code {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--primary, var(--foreground, #0f172a));
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ht-key-token-preview {
  cursor: pointer;
  filter: none;
  transition: opacity 0.24s ease;
}

.ht-current-key-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 10px;
  background: color-mix(in oklab, var(--background, #fff) 88%, transparent);
  padding: 2px;
  cursor: default;
}

.ht-key-inline-icon {
  width: 30px;
  min-width: 30px !important;
  height: 30px;
  min-height: 30px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: var(--muted-foreground, #64748b) !important;
}

.ht-key-switcher {
  position: relative;
}

.ht-key-switcher summary {
  width: 44px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-foreground, #64748b);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
}

.ht-key-switcher-icon svg {
  width: 16px;
  height: 16px;
}

.ht-key-switcher-chevron svg {
  width: 12px;
  height: 12px;
}

.ht-key-switcher[open] .ht-key-switcher-chevron svg {
  transform: rotate(180deg);
}

.ht-key-switcher summary::-webkit-details-marker {
  display: none;
}

.ht-key-switcher summary:hover {
  background: var(--muted, rgb(241 245 249));
  color: var(--foreground, #0f172a);
}

.ht-key-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10030;
  width: 240px;
  max-height: 230px;
  overflow: auto;
  display: grid;
  gap: 4px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 12px;
  background: var(--popover, var(--card, #fff));
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.14);
  padding: 6px;
}

.ht-key-switcher-menu button {
  width: 100%;
  min-height: 42px;
  display: grid;
  gap: 3px;
  border: 0 !important;
  background: transparent !important;
  padding: 6px 8px !important;
  text-align: left;
}

.ht-key-switcher-menu button:hover,
.ht-key-switcher-active {
  background: var(--muted, rgb(241 245 249)) !important;
}

.ht-key-switcher-menu span,
.ht-key-switcher-menu code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ht-key-switcher-menu span {
  color: var(--foreground, #0f172a);
  font-size: 12px;
  font-weight: 650;
}

.ht-key-switcher-menu code {
  color: var(--muted-foreground, #64748b);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
}

.ht-primary-token-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 72%, var(--background, #fff));
  padding: 12px;
}

.ht-primary-token-card code {
  overflow: hidden;
  color: var(--foreground, #0f172a);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 650;
}

.ht-primary-token-card button {
  width: 34px;
  min-width: 34px !important;
  height: 34px;
  min-height: 34px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 17px !important;
}

.ht-current-key-facts {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.ht-current-key-facts div {
  min-width: 0;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 10px;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 42%, transparent);
  padding: 7px 8px;
}

.ht-current-key-facts span {
  display: block;
  color: var(--muted-foreground, #64748b);
  font-size: 10px;
}

.ht-current-key-facts strong {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: var(--foreground, #0f172a);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
}

.ht-current-key-facts strong svg {
  flex: 0 0 auto;
  color: var(--muted-foreground, #64748b);
  font-size: 16px;
}

.ht-current-key-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.ht-current-key-actions > .ht-primary-button {
  flex: 1 1 auto;
}

.ht-current-key-empty {
  align-items: stretch;
}

.ht-current-key-empty-body,
.ht-key-loading-state {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.ht-current-key-empty-body {
  justify-items: center;
}

.ht-current-key-empty-body {
  align-content: center;
  gap: 14px;
}

.ht-current-key-empty-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.ht-current-key-empty-body p {
  margin: 0 0 6px;
  color: var(--muted-foreground, #64748b);
  font-size: 13px;
}

.ht-key-loading-state {
  color: var(--muted-foreground, #64748b);
  font-size: 13px;
}

.ht-key-table-wrap {
  height: 100%;
  overflow: auto;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--background, #fff);
}

.ht-key-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ht-key-table th,
.ht-key-table td {
  border-bottom: 1px solid var(--border, rgb(226 232 240));
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
}

.ht-key-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--background, #fff);
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 650;
}

.ht-key-table tbody tr:last-child td {
  border-bottom: 0;
}

.ht-key-table th:nth-child(1) {
  width: 20%;
}

.ht-key-table th:nth-child(2) {
  width: 28%;
}

.ht-key-table th:nth-child(3) {
  width: 12%;
}

.ht-key-table th:nth-child(4) {
  width: 13%;
}

.ht-key-table th:nth-child(5) {
  width: 17%;
}

.ht-key-table th:nth-child(6) {
  width: 10%;
}

.ht-key-name-cell {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ht-key-name-cell strong,
.ht-key-token-cell code,
.ht-key-quota-cell,
.ht-key-time-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ht-key-name-cell strong {
  font-size: 13px;
  font-weight: 600;
}

.ht-key-quota-cell,
.ht-key-time-cell {
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
}

.ht-key-token-cell {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
}

.ht-key-token-cell code {
  color: var(--muted-foreground, #64748b);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.ht-key-token-cell button {
  width: 28px;
  min-width: 28px !important;
  height: 28px;
  min-height: 28px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--foreground, #0f172a);
  font-size: 16px !important;
}

.ht-key-table-state {
  height: 160px;
  text-align: center !important;
}

.ht-key-endpoint-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  gap: 7px 10px;
  border: 1px solid var(--border, rgb(226 232 240)) !important;
  border-radius: 12px !important;
  background: color-mix(in oklab, var(--background, #fff) 82%, var(--card, #fff)) !important;
  color: var(--foreground, #0f172a);
  padding: 12px !important;
  text-align: left;
}

.ht-key-endpoint-chip {
  width: min(520px, 100%);
  height: 32px;
  min-height: 32px !important;
  flex: 1 1 320px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr !important;
  align-content: center;
  gap: 6px !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
}

.ht-key-endpoint-chip span {
  display: block;
  white-space: nowrap;
  font-size: 11px !important;
  line-height: 1 !important;
}

.ht-key-endpoint-chip code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.ht-key-endpoint-card:hover {
  border-color: color-mix(in oklab, var(--primary, #0f172a) 48%, var(--border, rgb(226 232 240))) !important;
}

.ht-key-endpoint-card span {
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 650;
}

.ht-key-endpoint-card code {
  overflow: hidden;
  color: color-mix(in oklab, var(--primary, var(--foreground, #0f172a)) 58%, var(--foreground, #0f172a));
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.ht-key-config-status {
  flex: 1 1 auto;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed color-mix(in oklab, var(--border, rgb(226 232 240)) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 20%, transparent);
  padding: 18px;
  text-align: center;
  opacity: 0.76;
}

.ht-key-config-status-icon {
  margin-bottom: 8px;
  color: var(--muted-foreground, #64748b);
  font-size: 32px;
}

.ht-key-config-body-empty {
  flex: 1 1 auto;
  height: 100%;
  border-radius: 12px;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 16%, transparent);
}

.ht-quick-config-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ht-quick-config-actions button {
  min-width: 92px;
  height: 34px;
  min-height: 34px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--border, rgb(226 232 240)) !important;
  background: color-mix(in oklab, var(--background, #fff) 82%, var(--card, #fff)) !important;
  color: var(--foreground, #0f172a) !important;
}

.ht-quick-config-actions button:hover,
.ht-quick-config-actions .ht-quick-config-active {
  border-color: color-mix(in oklab, var(--primary, #0f172a) 42%, var(--border, rgb(226 232 240))) !important;
  background: color-mix(in oklab, var(--primary, #0f172a) 10%, var(--background, #fff)) !important;
}

.ht-quick-config-modal {
  width: min(620px, calc(100vw - 36px));
}

.ht-quick-config-modal-body {
  min-height: 260px;
  background: color-mix(in oklab, var(--muted, rgb(241 245 249)) 12%, transparent);
}

.ht-key-config-status p {
  margin: 0;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 650;
}

.ht-key-config-status small {
  margin-top: 4px;
  color: color-mix(in oklab, var(--muted-foreground, #64748b) 72%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
}

.ht-key-endpoint-card:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.ht-key-actions-heading {
  text-align: right !important;
}

.ht-key-actions-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ht-key-power-button {
  width: 30px;
  min-width: 30px !important;
  height: 30px;
  min-height: 30px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
  font-size: 16px !important;
  line-height: 1;
}

.ht-key-power-button:hover {
  border-color: color-mix(in oklab, currentColor 18%, var(--border, rgb(226 232 240))) !important;
  background: color-mix(in oklab, currentColor 10%, transparent) !important;
}

.ht-key-power-off {
  color: var(--destructive, #dc2626) !important;
}

.ht-key-power-on {
  color: var(--success, #16a34a) !important;
}

.ht-key-menu {
  position: relative;
}

.ht-key-menu summary {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-foreground, #64748b);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
}

.ht-key-menu summary svg {
  width: 18px;
  height: 18px;
}

.ht-key-menu summary::-webkit-details-marker {
  display: none;
}

.ht-key-menu summary:hover {
  background: var(--muted, rgb(241 245 249));
}

.ht-key-menu-content {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10030;
  width: 148px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 12px;
  background: var(--popover, var(--card, #fff));
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.14);
  padding: 6px;
}

.ht-key-menu-content button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 0 !important;
  background: transparent !important;
  padding: 0 8px;
  text-align: left;
}

.ht-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--background, #fff);
  padding: 12px;
}

.ht-key-row-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.ht-key-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ht-key-row-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.ht-key-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}

.ht-current-key-identity .ht-key-status {
  align-self: center;
}

.ht-key-status-success {
  background: color-mix(in oklab, var(--success, #16a34a) 12%, transparent);
  color: var(--success, #15803d);
  border-color: color-mix(in oklab, var(--success, #16a34a) 20%, transparent);
}

.ht-key-status-neutral {
  background: var(--muted, rgb(241 245 249));
  color: var(--muted-foreground, #64748b);
  border-color: var(--border, rgb(226 232 240));
}

.ht-key-status-warning {
  background: color-mix(in oklab, var(--warning, #f59e0b) 16%, transparent);
  color: color-mix(in oklab, var(--warning, #b45309) 72%, var(--foreground, #0f172a));
  border-color: color-mix(in oklab, var(--warning, #f59e0b) 24%, transparent);
}

.ht-key-status-danger {
  background: color-mix(in oklab, var(--destructive, #dc2626) 12%, transparent);
  color: var(--destructive, #dc2626);
  border-color: color-mix(in oklab, var(--destructive, #dc2626) 20%, transparent);
}

.ht-key-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.ht-key-status-success .ht-key-status-dot {
  animation: ht-key-pulse 2s infinite;
}

.ht-key-value {
  overflow: hidden;
  color: var(--muted-foreground, #64748b);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.ht-key-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
}

.ht-danger-button {
  color: var(--destructive, #dc2626) !important;
}

.ht-danger-solid-button {
  border-color: var(--destructive, #dc2626) !important;
  background: var(--destructive, #dc2626) !important;
  color: var(--destructive-foreground, #fff) !important;
}

.ht-key-toast-stack {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 10020;
  display: grid;
  gap: 8px;
  justify-items: center;
  pointer-events: none;
}

.ht-key-toast {
  max-width: min(520px, calc(100vw - 36px));
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 14px;
  background: var(--popover, var(--card, #fff));
  color: var(--popover-foreground, var(--foreground, #0f172a));
  box-shadow: 0 18px 54px rgb(15 23 42 / 0.22);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.ht-key-toast-success {
  border-color: color-mix(in oklab, var(--success, #16a34a) 30%, var(--border, rgb(226 232 240)));
}

.ht-key-toast-warning {
  border-color: color-mix(in oklab, var(--warning, #f59e0b) 40%, var(--border, rgb(226 232 240)));
}

.ht-key-toast-danger {
  border-color: color-mix(in oklab, var(--destructive, #dc2626) 35%, var(--border, rgb(226 232 240)));
}

.ht-key-toast-leave {
  opacity: 0;
  transform: translateY(-6px);
}

.ht-key-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 0.42);
  padding: 18px;
}

.ht-key-modal-card {
  width: min(640px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 16px;
  background: var(--card, #fff);
  color: var(--card-foreground, #0f172a);
  box-shadow: 0 24px 72px rgb(0 0 0 / 0.24);
}

.ht-key-confirm-card {
  width: min(480px, 100%);
  overflow: hidden;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 16px;
  background: var(--card, #fff);
  color: var(--card-foreground, #0f172a);
  box-shadow: 0 24px 72px rgb(0 0 0 / 0.24);
}

.ht-key-confirm-body {
  padding: 18px;
}

.ht-key-confirm-body p {
  margin: 0;
  color: var(--muted-foreground, #64748b);
  font-size: 14px;
  line-height: 1.65;
}

.ht-key-modal-form {
  display: flex;
  max-height: inherit;
  flex-direction: column;
}

.ht-key-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border, rgb(226 232 240));
  padding: 18px;
}

.ht-key-modal-header h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 650;
}

.ht-icon-button {
  min-width: 34px;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1;
}

.ht-key-modal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: auto;
  padding: 18px;
}

.ht-key-modal-body label {
  display: grid;
  gap: 6px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 550;
}

.ht-switch-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--foreground, #0f172a) !important;
}

.ht-switch-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ht-form-switch {
  width: 36px;
  height: 22px;
  position: relative;
  border-radius: 999px;
  background: var(--muted, rgb(241 245 249));
  border: 1px solid var(--border, rgb(226 232 240));
}

.ht-form-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.2);
  transition: transform 0.16s ease;
}

.ht-switch-field input:checked + .ht-form-switch {
  border-color: var(--primary, #0f172a);
  background: var(--primary, #0f172a);
}

.ht-switch-field input:checked + .ht-form-switch span {
  transform: translateX(14px);
}

.ht-key-modal-body input:not([type='checkbox']),
.ht-key-modal-body textarea {
  width: 100%;
  border: 1px solid var(--input, var(--border, rgb(226 232 240)));
  border-radius: 10px;
  background: var(--background, #fff);
  color: var(--foreground, #0f172a);
  font: inherit;
  font-size: 13px;
}

.ht-key-modal-body input:not([type='checkbox']) {
  min-height: 38px;
  padding: 0 10px;
}

.ht-key-modal-body textarea {
  min-height: 82px;
  resize: vertical;
  padding: 10px;
}

.ht-key-modal-body input:disabled {
  opacity: 0.55;
}

.ht-modal-wide {
  grid-column: 1 / -1;
}

.ht-key-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border, rgb(226 232 240));
  padding: 14px 18px;
}

.ht-cc-card {
  width: min(520px, 100%);
}

.ht-cc-body {
  grid-template-columns: 1fr;
}

.ht-cc-field {
  display: grid;
  gap: 7px;
  color: var(--muted-foreground, #64748b);
  font-size: 12px;
  font-weight: 550;
}

.ht-cc-field > input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--input, var(--border, rgb(226 232 240)));
  border-radius: 10px;
  background: var(--background, #fff);
  color: var(--foreground, #0f172a);
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
}

.ht-cc-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ht-cc-apps label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--foreground, #0f172a);
  font-size: 13px;
  font-weight: 550;
}

.ht-cc-apps input[type='radio'] {
  width: 14px !important;
  min-height: 14px !important;
  border-radius: 999px;
  padding: 0;
}

.ht-required {
  margin-left: 3px;
  color: var(--destructive, #dc2626);
}

body.ht-pricing-page .pointer-events-none.absolute.inset-x-0.top-0 {
  display: none !important;
}

body.ht-pricing-page.ht-pricing-pending #root {
  visibility: hidden !important;
}

body.ht-pricing-page .ht-pricing-root {
  width: 100% !important;
  max-width: 1680px !important;
  padding-top: 96px !important;
  padding-bottom: 36px !important;
}

body.ht-pricing-page .ht-pricing-header {
  display: block !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--border, rgb(226 232 240));
  text-align: left !important;
}

body.ht-pricing-page .ht-pricing-header > p {
  display: none !important;
}

body.ht-pricing-page .ht-pricing-header h1 {
  margin: 0 !important;
  font-size: 32px !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
}

body.ht-pricing-page .ht-pricing-header-search-source {
  display: none !important;
}

body.ht-pricing-page .ht-pricing-shell {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px !important;
  align-items: start;
}

body.ht-pricing-page .ht-pricing-sidebar {
  position: sticky;
  top: 88px;
  display: grid !important;
  gap: 12px !important;
  align-self: start;
  max-height: calc(100vh - 108px);
  overflow: auto;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 12px;
  background: color-mix(in srgb, var(--card, #fff) 96%, var(--background, #fff));
  padding: 12px !important;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

body.ht-pricing-page .ht-pricing-sidebar-search {
  display: grid;
  gap: 8px;
  padding: 2px 0 10px;
  border-bottom: 1px solid var(--border, rgb(226 232 240));
}

body.ht-pricing-page .ht-pricing-sidebar-search label {
  color: var(--foreground, #0f172a);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

body.ht-pricing-page .ht-pricing-sidebar-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 6px;
}

body.ht-pricing-page .ht-pricing-sidebar-search input {
  width: 100%;
  height: 40px !important;
  min-width: 0;
  border: 1px solid var(--input, var(--border, rgb(226 232 240))) !important;
  border-radius: 10px !important;
  background: color-mix(in srgb, var(--background, #fff) 94%, var(--muted, #f1f5f9)) !important;
  color: var(--foreground, #0f172a);
  padding: 0 10px !important;
  font: inherit;
  font-size: 13px !important;
  outline: none;
}

body.ht-pricing-page .ht-pricing-sidebar-search input:focus {
  border-color: var(--ring, var(--primary, #0f172a)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring, #0f172a) 14%, transparent);
}

body.ht-pricing-page .ht-pricing-sidebar-search button {
  width: 32px;
  height: 40px;
  min-width: 32px;
  border: 1px solid var(--border, rgb(226 232 240));
  border-radius: 10px;
  background: var(--background, #fff);
  color: var(--muted-foreground, #64748b);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

body.ht-pricing-page .ht-pricing-sidebar-search button:hover {
  background: var(--muted, rgb(241 245 249));
  color: var(--foreground, #0f172a);
}

body.ht-pricing-page .ht-pricing-filter-hidden,
body.ht-pricing-page .ht-pricing-group-chip {
  display: none !important;
}

body.ht-pricing-page .ht-pricing-filter-provider {
  display: grid !important;
  gap: 8px !important;
}

body.ht-pricing-page .ht-pricing-sidebar-no-provider > :not(#ht-pricing-sidebar-search) {
  display: none !important;
}

body.ht-pricing-page .ht-pricing-main {
  width: 100%;
  max-width: none;
}

body.ht-pricing-page .ht-pricing-toolbar {
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 0 14px !important;
  box-shadow: none !important;
}

body.ht-pricing-page .ht-pricing-toolbar > div {
  gap: 12px !important;
}

body.ht-pricing-page .ht-pricing-toolbar button,
body.ht-pricing-page .ht-pricing-toolbar [role='group'] {
  border-radius: 10px !important;
}

body.ht-pricing-page .ht-pricing-card-grid,
body.ht-pricing-page .ht-pricing-main div.grid.grid-cols-1 {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
}

body.ht-pricing-page .ht-pricing-model-card,
body.ht-pricing-page .ht-pricing-main div.grid.grid-cols-1 > div {
  min-height: 128px;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--card, #fff) 96%, var(--muted, #f1f5f9));
  box-shadow: 0 1px 1px rgb(15 23 42 / 0.03);
}

body.ht-pricing-page .ht-pricing-model-card:hover,
body.ht-pricing-page .ht-pricing-main div.grid.grid-cols-1 > div:hover {
  background: color-mix(in srgb, var(--card, #fff) 90%, var(--muted, #f1f5f9));
}

body.ht-pricing-page .ht-pricing-model-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px !important;
  align-items: start !important;
}

body.ht-pricing-page .ht-pricing-model-head > div:first-child {
  align-items: flex-start !important;
  gap: 12px !important;
}

body.ht-pricing-page .ht-pricing-model-head h3 {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  font-family: inherit !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.ht-pricing-page .ht-pricing-model-title-host {
  display: flex !important;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 6px 8px !important;
}

body.ht-pricing-page .ht-pricing-model-title-host h3 {
  min-width: 0;
  flex: 0 1 auto;
}

body.ht-pricing-page .ht-pricing-model-title-host > :not(h3):not(.ht-pricing-model-title-tags) {
  flex-basis: 100%;
}

body.ht-pricing-page .ht-pricing-model-title-tags {
  display: inline-flex !important;
  min-width: 0;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}

body.ht-pricing-page .ht-pricing-model-title-tag {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  min-height: 24px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border, rgb(226 232 240)) 88%, var(--foreground, #0f172a));
  border-radius: 8px;
  background: color-mix(in srgb, var(--background, #fff) 88%, var(--muted, #f1f5f9));
  box-shadow: 0 1px 1px rgb(15 23 42 / 0.03);
  color: var(--muted-foreground, #64748b);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ht-pricing-page .ht-pricing-model-head h3 + div {
  margin-top: 6px !important;
  gap: 10px 14px !important;
}

body.ht-pricing-page .ht-pricing-model-title-tags + div {
  margin-top: 6px !important;
  gap: 10px 14px !important;
}

body.ht-pricing-page .ht-pricing-model-description {
  display: -webkit-box !important;
  min-height: 0 !important;
  margin-top: 10px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted-foreground, #64748b) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.ht-pricing-page .ht-pricing-model-meta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px !important;
  align-items: center !important;
  margin-top: 12px !important;
}

body.ht-pricing-page .ht-pricing-model-meta > div {
  gap: 8px 12px !important;
}

body.ht-pricing-page .ht-pricing-model-meta span {
  font-size: 12px !important;
}

body.ht-pricing-page .ht-pricing-meta-hidden {
  display: none !important;
}

body.ht-pricing-page .ht-pricing-model-head button {
  height: 34px !important;
  border-radius: 10px !important;
}

@media (max-width: 1180px) {
  .ht-key-card {
    height: clamp(208px, 24vh, 260px);
  }

  .ht-key-bento-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }

  .ht-key-card-grid,
  .ht-key-create-form {
    grid-template-columns: 1fr;
  }

  .ht-key-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.ht-pricing-page .ht-pricing-root {
    padding-top: 86px !important;
  }

  body.ht-pricing-page .ht-pricing-shell {
    grid-template-columns: 1fr;
  }

  body.ht-pricing-page .ht-pricing-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .ht-key-card {
    height: auto;
    min-height: 0;
  }

  .ht-key-bento-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .ht-key-unified-panel .ht-key-config-panel {
    border-left: 0;
    border-top: 1px solid var(--border, rgb(226 232 240));
  }

  .ht-key-panel-header {
    flex-wrap: wrap;
  }

  .ht-key-panel-actions {
    flex-basis: 100%;
  }

  .ht-key-endpoint-chip {
    width: auto;
    flex: 1 1 auto;
  }

  .ht-key-panel-header {
    min-height: 54px;
    padding: 12px 14px;
  }

  .ht-key-panel-body,
  .ht-key-config-body {
    padding: 14px;
  }

  .ht-current-key-stack {
    height: auto;
  }

  .ht-current-key-card {
    min-height: 164px;
  }

  .ht-current-key-main-row,
  .ht-key-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ht-current-key-identity {
    display: grid;
    gap: 7px;
  }

  .ht-current-key-identity strong {
    min-width: 0;
  }

  .ht-current-key-tools {
    justify-content: flex-end;
  }

  .ht-key-table-wrap {
    overflow-x: auto;
  }

  .ht-key-table {
    min-width: 820px;
  }

  .ht-key-row-actions {
    justify-content: stretch;
  }

  .ht-key-row-actions button,
  .ht-key-header-actions a,
  .ht-key-header-actions button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .ht-key-summary {
    grid-template-columns: 1fr;
  }

  .ht-key-modal-body {
    grid-template-columns: 1fr;
  }

  .ht-key-modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.ht-pricing-page .ht-pricing-root {
    padding-top: 78px !important;
    padding-bottom: 24px !important;
  }

  body.ht-pricing-page .ht-pricing-header {
    gap: 12px;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
  }

  body.ht-pricing-page .ht-pricing-header h1 {
    font-size: 26px !important;
  }

  body.ht-pricing-page .ht-pricing-toolbar {
    padding-bottom: 12px !important;
  }

  body.ht-pricing-page .ht-pricing-model-card {
    padding: 14px !important;
  }

  body.ht-pricing-page .ht-pricing-model-head {
    grid-template-columns: 1fr;
    gap: 10px !important;
  }

  body.ht-pricing-page .ht-pricing-model-head > div:last-child {
    justify-content: flex-start;
  }

  body.ht-pricing-page .ht-pricing-model-head h3 {
    font-size: 18px !important;
  }

  body.ht-pricing-page .ht-pricing-model-meta {
    grid-template-columns: 1fr;
  }
}
