* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.ma-body {
  min-width: 320px;
  font-family: "Inter", sans-serif;
  background: #f8f9fd;
  color: #272b34;
}

.is-hidden {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
input,
textarea,
select,
summary {
  transition:
    background-color 180ms cubic-bezier(0.28, 0.11, 0.32, 1),
    border-color 180ms cubic-bezier(0.28, 0.11, 0.32, 1),
    color 180ms cubic-bezier(0.28, 0.11, 0.32, 1),
    box-shadow 180ms cubic-bezier(0.28, 0.11, 0.32, 1),
    transform 180ms cubic-bezier(0.28, 0.11, 0.32, 1);
}

:root {
  --shell-sidebar-expanded: 240px;
  --shell-header-height: 64px;
  --shell-sidebar-link-height: 48px;
  --shell-sidebar-icon-size: 20px;
  --shell-gutter: 24px;
  --shell-gutter-mobile: 16px;
  --weight-heading: 700;
  --weight-strong: 600;
  --weight-price: 700;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #edf1f6 0, #f8f9fd 132px, #f8f9fd 132px, #f8f9fd 100%);
}

.app-main {
  position: relative;
  margin-left: var(--shell-sidebar-expanded);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #f8f9fd 0, #f8f9fd var(--shell-header-height), #f8f9fd var(--shell-header-height), #f8f9fd 100%);
}

.app-content {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: var(--shell-gutter);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--shell-sidebar-expanded);
  height: 100vh;
  z-index: 10;
  overflow: hidden;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  background: #edf1f6;
}

.sidebar-inner {
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--shell-header-height) 1fr;
  gap: 16px;
  padding: 0 8px 24px;
}

.sidebar-brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--shell-header-height);
  padding: 0 0 0 40px;
}

.sidebar-brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--shell-header-height);
  flex: 1;
}

.sidebar-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 28px;
}

.sidebar-brand-logo {
  width: auto;
  height: 28px;
}

.sidebar-groups,
.sidebar-group,
.sidebar-nav {
  display: grid;
}

.sidebar-groups {
  align-content: start;
  gap: 0;
  padding-right: 0;
}

.sidebar-nav {
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--shell-sidebar-link-height);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #3a3f4a;
  background: transparent;
}

.sidebar-link:hover {
  background: #eef0f4;
}

.sidebar-link.is-active {
  color: #2467ff;
  background: #dfe9ff;
}

.sidebar-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shell-sidebar-icon-size);
  height: var(--shell-sidebar-icon-size);
  flex-shrink: 0;
}

.sidebar-link-icon svg {
  width: var(--shell-sidebar-icon-size);
  height: var(--shell-sidebar-icon-size);
}

.sidebar-link-title {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.sidebar-link-copy {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.context-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--shell-header-height);
  background: rgba(248, 249, 253, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.context-topbar-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: var(--shell-header-height);
  padding: 0 var(--shell-gutter);
}

.context-header-block,
.context-title-row {
  display: flex;
  align-items: center;
  min-width: 0;
  height: var(--shell-header-height);
}

.context-page-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: var(--weight-heading);
  white-space: nowrap;
  color: #1f2430;
}

.context-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: var(--shell-header-height);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 16px rgba(15, 38, 71, 0.04);
}

.language-switcher[hidden] {
  display: none !important;
}

.language-switcher-label {
  display: none;
}

.language-switcher-options {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.language-switcher-option {
  min-width: 40px;
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6c7588;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.language-switcher-option:hover {
  color: #1f2430;
  background: rgba(17, 24, 39, 0.04);
}

.language-switcher-option.is-active {
  background: #ffffff;
  color: #1f2430;
  box-shadow: 0 4px 12px rgba(15, 38, 71, 0.08);
}

.context-toolbar-divider {
  width: 1px;
  height: 30px;
  background: rgba(17, 24, 39, 0.12);
}

.context-primary-action {
  min-width: 168px;
  min-height: 34px;
  padding-inline: 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2d84ff 0%, #2467ff 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 140, 255, 0.22);
  font-size: 14px;
  font-weight: 600;
}

.hire-menu {
  position: relative;
}

.hire-menu summary {
  list-style: none;
}

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

.hire-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
  cursor: pointer;
}

.hire-action-plus {
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.hire-action-caret {
  font-size: 11px;
  line-height: 1;
}

.hire-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 560px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 56px rgba(17, 24, 39, 0.12);
  z-index: 90;
}

.hire-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 28px;
  border-radius: 22px;
  color: #1f2430;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
}

.hire-menu-item.is-active {
  background: #f3f4f7;
}

.hire-menu-item.is-disabled {
  color: #d3d8e1;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.account-name {
  font-size: 13px;
  font-weight: 600;
  color: #222834;
}

.account-chip.is-static {
  cursor: default;
  pointer-events: none;
}

.auth-launch-button,
.chip-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.chip-logout-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(16, 18, 24, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: #243047;
}

.auth-launch-button {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  background: linear-gradient(90deg, #2d84ff 0%, #2467ff 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 105, 255, 0.2);
  cursor: pointer;
}

.nav-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 13px 5px 5px;
  border: 1px solid rgba(16, 105, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(18, 33, 73, 0.09);
}

.marketplace-account-shell {
  position: relative;
}

.marketplace-account-trigger {
  cursor: pointer;
}

.marketplace-account-caret {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #7b8497;
}

.marketplace-account-caret svg {
  width: 16px;
  height: 16px;
}

.marketplace-account-trigger[aria-expanded="true"] .marketplace-account-caret {
  transform: rotate(180deg);
}

.marketplace-account-trigger .nav-account-copy strong {
  max-width: 116px;
  color: #1f2430;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(292px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(16, 105, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(18, 33, 73, 0.12);
  backdrop-filter: blur(16px);
  z-index: 70;
}

.marketplace-account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketplace-account-summary-avatar {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d84ff 0%, #2467ff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.marketplace-account-summary-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.marketplace-account-summary-copy strong {
  color: #1f2430;
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-account-summary-copy span {
  color: #828b9f;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-account-divider {
  height: 1px;
  margin: 14px 0;
  background: #e8edf5;
}

.marketplace-account-dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f2430;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.marketplace-account-dropdown-item:hover {
  background: #f4f7fd;
}

.marketplace-account-dropdown-item.danger {
  color: #1f2430;
}

.nav-account-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d84ff 0%, #2467ff 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.nav-account-copy {
  display: grid;
  gap: 2px;
}

.nav-account-copy strong {
  font-size: 14px;
  line-height: 1.1;
}

.nav-account-copy span {
  color: #697389;
  font-size: 12px;
}

.marketplace-account-trigger .nav-account-copy span {
  display: none;
}

.dora-marketplace {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
}

.dora-board {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dora-market-board {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.dora-market-intro-card {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 28px 32px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 20%, rgba(66, 133, 255, 0.34), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(145, 205, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(233, 242, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 52%, rgba(241, 247, 255, 0.98) 100%);
  box-shadow: 0 12px 32px rgba(31, 87, 173, 0.08);
}

.dora-market-intro-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.dora-market-intro-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 700;
  color: #1f2430;
}

.dora-market-intro-copy p {
  margin: 0;
  color: #6f7e95;
  font-size: 16px;
  line-height: 1.6;
}

.dora-card-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dora-agent-card {
  display: grid;
  gap: 0;
  position: relative;
  height: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.dora-agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 29, 49, 0.08);
}

.dora-agent-free-tag,
.agent-side-free-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e9fff2;
  color: #128a4b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(18, 138, 75, 0.08);
}

.dora-agent-free-tag {
  top: 16px;
  right: 16px;
}

.dora-agent-card-link-shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: 24px;
}

.dora-agent-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(244, 246, 250, 0.96), rgba(240, 242, 247, 0.98));
}

.dora-agent-preview.from-blue {
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 168, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(244, 246, 250, 0.98), rgba(239, 243, 250, 0.98));
}

.dora-agent-preview.from-orange {
  background:
    radial-gradient(circle at 82% 80%, rgba(255, 165, 120, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(244, 246, 250, 0.98), rgba(239, 243, 250, 0.98));
}

.dora-agent-preview.from-violet {
  background:
    radial-gradient(circle at 20% 18%, rgba(145, 120, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(244, 246, 250, 0.98), rgba(239, 243, 250, 0.98));
}

.dora-agent-preview.from-sky {
  background:
    radial-gradient(circle at 80% 22%, rgba(89, 212, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(244, 246, 250, 0.98), rgba(239, 243, 250, 0.98));
}

.dora-agent-preview-shell {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.dora-agent-preview-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.dora-agent-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  padding: 22px 24px 24px;
}

.dora-agent-copy {
  display: grid;
  gap: 10px;
  text-align: left;
}

.dora-agent-copy h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: var(--weight-strong);
}

.dora-agent-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.dora-agent-subtitle.tone-blue {
  color: #ff9e0d;
}

.dora-agent-subtitle.tone-orange {
  color: #17c7da;
}

.dora-agent-subtitle.tone-violet {
  color: #f142ff;
}

.dora-agent-subtitle.tone-sky {
  color: #ff6a4f;
}

.dora-agent-description {
  margin: 0;
  color: #7f8aa2;
  font-size: 15px;
  line-height: 1.671;
}

.dora-agent-bottom {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.dora-agent-divider {
  width: 100%;
  height: 1px;
  background: rgba(17, 24, 39, 0.08);
}

.dora-agent-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
}

.dora-agent-price {
  display: grid;
  gap: 2px;
}

.dora-agent-price strong {
  font-size: 32px;
  line-height: 1;
  font-weight: var(--weight-price);
  color: #101828;
}

.dora-agent-card[data-agent-slug="customer-support"] .dora-agent-price strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dora-agent-price-promo strong,
.agent-price-promo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-original {
  color: #778197;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(16, 24, 40, 0.42);
}

.price-free {
  color: #0f8f4f;
  font-weight: 800;
}

.dora-agent-price span {
  color: #7e8697;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dora-agent-price strong .price-original {
  color: #778197;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.dora-agent-price strong .price-free {
  color: #0f8f4f;
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
  letter-spacing: inherit;
}

.dora-agent-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

.dora-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #2c313d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dora-card-link:hover,
.dora-card-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(18, 29, 49, 0.08);
  outline: none;
}

.dora-card-link.primary {
  border-color: rgba(47, 107, 255, 0.2);
  background: #2d6bff;
  color: #fff;
  box-shadow: 0 10px 18px rgba(45, 107, 255, 0.18);
}

.dora-card-link.primary:hover,
.dora-card-link.primary:focus-visible {
  background: #1f62f6;
  box-shadow: 0 14px 24px rgba(45, 107, 255, 0.22);
}

.dora-card-link.is-disabled {
  border-color: rgba(102, 116, 142, 0.14);
  background: linear-gradient(180deg, #eef2f8 0%, #e6ebf4 100%);
  color: #7d879c;
  box-shadow: none;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.dora-card-link.primary.is-disabled {
  border-color: rgba(102, 116, 142, 0.14);
  background: linear-gradient(180deg, #eef2f8 0%, #e6ebf4 100%);
  color: #7d879c;
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 100%;
}

.section {
  padding: 0;
}

.container {
  width: 100%;
}

.panel {
  border: 1px solid rgba(44, 73, 126, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.96));
  box-shadow:
    0 16px 34px rgba(18, 42, 71, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hero-panel {
  border-radius: 30px;
}

.content-card {
  padding: 28px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading-row small {
  color: rgba(76, 98, 138, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading-row h3 {
  margin: 6px 0 0;
  font-size: 1.22rem;
  line-height: 1.16;
  font-weight: 700;
  color: #1f2430;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(180deg, #2d84ff 0%, #2467ff 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 122, 255, 0.16);
}

.button-secondary {
  background: #fff;
  color: #2c313d;
  border-color: rgba(17, 24, 39, 0.1);
}

.button-secondary[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.button-full {
  width: 100%;
}

.list-stack,
.agent-package-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(66, 82, 111, 0.94);
  line-height: 1.68;
}

.bullet-dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #007aff, #56a8ff);
  box-shadow: 0 8px 18px rgba(0, 122, 255, 0.18);
}

.detail-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #70809a;
  font-size: 14px;
  font-weight: 600;
}

.detail-crumb strong {
  color: #1f2430;
}

.agent-overview-card {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr) minmax(220px, 260px);
  align-items: start;
  gap: 28px 34px;
  padding: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(78, 152, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
  border-color: rgba(44, 73, 126, 0.1);
  box-shadow:
    0 26px 56px rgba(15, 38, 71, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.agent-overview-card.tone-customer-support {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 191, 77, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 240, 0.96), rgba(255, 255, 255, 0.98));
}

.agent-overview-card.tone-talent-hunter {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 157, 102, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 246, 242, 0.96), rgba(255, 255, 255, 0.98));
}

.agent-overview-card.tone-code-auditor {
  background:
    radial-gradient(circle at 0% 0%, rgba(238, 93, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 245, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.agent-overview-card.tone-x-growth {
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 225, 241, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(241, 254, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.agent-overview-avatar {
  width: 114px;
  height: 114px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 255, 0.92));
  border: 1px solid rgba(32, 39, 57, 0.08);
  box-shadow: 0 20px 40px rgba(11, 31, 69, 0.08);
}

.agent-overview-avatar-image {
  width: 114px;
  height: 114px;
  object-fit: contain;
}

.agent-overview-eyebrow {
  color: rgba(63, 92, 146, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-overview-meta,
.agent-overview-heading {
  display: grid;
  gap: 18px;
}

.agent-overview-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.agent-overview-title {
  margin: 0;
  font-size: clamp(1.95rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  font-weight: 700;
  color: #1f2430;
}

.agent-overview-summary {
  max-width: 760px;
  margin: 0;
  color: rgba(63, 81, 117, 0.92);
  font-size: 1.04rem;
  line-height: 1.72;
}

.agent-overview-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-overview-reassurance span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(44, 73, 126, 0.08);
  color: rgba(74, 96, 138, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.agent-overview-commercials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.agent-overview-sidecard {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(44, 73, 126, 0.08);
  box-shadow:
    0 16px 32px rgba(18, 42, 71, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.agent-side-free-tag {
  top: 18px;
  right: 18px;
}

.agent-overview-price-block {
  display: grid;
  gap: 6px;
}

.agent-overview-price-block span {
  color: rgba(74, 96, 138, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.agent-overview-commercials strong {
  font-size: 1.52rem;
  line-height: 1.1;
  color: #111827;
}

.agent-overview-card.tone-customer-support .agent-overview-commercials strong {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.agent-overview-price-block strong .price-original,
.agent-overview-price-block strong .price-free {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.agent-overview-price-block strong .price-original {
  color: #778197;
}

.agent-overview-price-block strong .price-free {
  color: #0f8f4f;
  font-weight: 800;
}

.agent-overview-sidecopy {
  color: rgba(66, 82, 111, 0.9);
  font-size: 0.96rem;
  line-height: 1.65;
}

.agent-overview-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-overview-cta .button-primary,
.agent-overview-cta .button-secondary {
  min-width: 152px;
}

.agent-overview-sidecard .agent-overview-cta {
  width: 100%;
}

.agent-overview-sidecard .button-primary {
  width: 100%;
}

.agent-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.agent-status-tag.is-action {
  color: #166c3b;
  background: rgba(22, 108, 59, 0.12);
  border: 1px solid rgba(22, 108, 59, 0.14);
}

.agent-status-tag.is-coming-soon {
  color: #8a5a00;
  background: rgba(255, 183, 77, 0.16);
  border: 1px solid rgba(255, 183, 77, 0.18);
}

.agent-store-page {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.agent-store-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(180px, 252px);
  align-items: center;
  gap: 24px 30px;
  padding: 30px 0 34px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-icon {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 38px rgba(15, 38, 71, 0.1);
  overflow: hidden;
}

.agent-store-icon img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.agent-store-title-block {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.agent-store-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.agent-store-title-row h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  font-weight: 700;
}

.agent-store-subtitle {
  margin: 0;
  color: #5b667a;
  font-size: 1.14rem;
  line-height: 1.45;
  font-weight: 600;
}

.agent-store-seller {
  margin: 0;
  color: #2467ff;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 700;
}

.agent-store-actions {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 14px;
  min-width: 0;
}

.agent-store-price {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-store-price strong {
  color: #111827;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.agent-store-price .price-original,
.agent-store-price .price-free {
  font-size: inherit;
}

.agent-store-price .price-free {
  color: #0f8f4f;
}

.agent-store-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-kpi {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 84px;
  gap: 8px;
  padding: 15px 18px;
  text-align: center;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-kpi:last-child {
  border-right: 0;
}

.agent-store-kpi span {
  color: #8a94a6;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-store-kpi strong {
  color: #202632;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
}

.agent-store-section {
  padding: 34px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-section:last-child {
  border-bottom: 0;
}

.agent-store-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.agent-store-section-heading h3 {
  margin: 0;
  color: #111827;
  font-size: 1.42rem;
  line-height: 1.18;
  font-weight: 700;
}

.agent-store-section-heading span {
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
}

.agent-store-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.agent-store-preview {
  position: relative;
  min-height: 208px;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 24px 26px 26px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top right, rgba(36, 113, 255, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  overflow: hidden;
}

.agent-store-preview::after {
  display: none;
}

.agent-store-preview.tone-warm {
  background:
    radial-gradient(circle at top right, rgba(255, 183, 77, 0.2), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fff8eb 100%);
}

.agent-store-preview.tone-cool {
  background:
    radial-gradient(circle at top right, rgba(86, 225, 241, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #eefcff 100%);
}

.agent-store-preview.tone-violet {
  background:
    radial-gradient(circle at top right, rgba(183, 93, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fbf2ff 100%);
}

.agent-store-preview-kicker {
  position: relative;
  z-index: 1;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-store-preview-main {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
}

.agent-store-preview-main strong {
  max-width: 20ch;
  color: #111827;
  font-size: 1.32rem;
  line-height: 1.14;
  font-weight: 700;
}

.agent-store-preview-main p {
  margin: 0;
  color: #536071;
  font-size: 0.98rem;
  line-height: 1.58;
}

.agent-store-about {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  gap: 44px;
}

.agent-store-about-copy {
  display: grid;
  gap: 22px;
  max-width: 840px;
}

.agent-store-about-copy p {
  margin: 0;
  color: #374151;
  font-size: 1.02rem;
  line-height: 1.75;
}

.agent-store-list {
  display: grid;
  gap: 0;
  align-self: start;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-list-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-list-row span {
  color: #8a94a6;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.agent-store-list-row strong {
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.agent-store-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.agent-store-plan {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
}

.agent-store-plan.is-featured {
  border-color: rgba(36, 113, 255, 0.18);
  box-shadow: 0 12px 28px rgba(15, 38, 71, 0.06);
}

.agent-store-plan.is-muted {
  background: #f8fafc;
}

.agent-store-plan-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.agent-store-plan-top h4 {
  margin: 0;
  color: #111827;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 700;
}

.agent-store-plan-top p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.5;
}

.agent-store-plan-price {
  color: #111827;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.agent-store-plan-price.agent-price-promo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.agent-store-plan-price .price-original {
  color: #778197;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.agent-store-plan-price .price-free {
  color: #0f8f4f;
}

.agent-store-plan ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-store-plan li {
  position: relative;
  padding-left: 18px;
  color: #465266;
  font-size: 0.94rem;
  line-height: 1.5;
}

.agent-store-plan li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2467ff;
}

.agent-store-plan .button-full {
  width: auto;
  min-width: 184px;
  justify-self: start;
}

.agent-store-plan.is-featured .button-full {
  min-height: 44px;
  box-shadow: 0 10px 20px rgba(36, 113, 255, 0.14);
}

.agent-store-plan.is-muted .button-full {
  min-height: 44px;
  color: #8b93a1;
  background: rgba(255, 255, 255, 0.72);
}

.agent-store-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-info-item {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 82px;
  padding: 15px 18px;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.agent-store-info-item:nth-child(4n) {
  border-right: 0;
}

.agent-store-info-item span {
  color: #8a94a6;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-store-info-item strong {
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 600;
}

.consumer-agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: 28px;
  padding: 28px 0 34px;
}

.consumer-agent-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.consumer-agent-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.consumer-agent-hero .agent-store-icon,
.consumer-agent-hero .agent-store-icon img {
  width: 104px;
  height: 104px;
}

.consumer-agent-title {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.consumer-agent-title h2 {
  max-width: 780px;
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 750;
}

.consumer-agent-title p {
  max-width: 660px;
  margin: 0;
  color: #4b5565;
  font-size: 1.08rem;
  line-height: 1.58;
  font-weight: 500;
}

.consumer-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.consumer-hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(36, 103, 255, 0.12);
  border-radius: 999px;
  background: rgba(36, 103, 255, 0.06);
  color: #31507d;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 760;
}

.consumer-hero-actions {
  display: none;
}

.consumer-agent-section {
  display: grid;
  gap: 14px;
}

.consumer-agent-section h3 {
  margin: 0;
  color: #111827;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 740;
}

.consumer-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.consumer-feature-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.consumer-feature-item strong,
.consumer-step-list strong {
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.32;
  font-weight: 740;
}

.consumer-feature-item span,
.consumer-step-list span {
  color: #5b6678;
  font-size: 0.94rem;
  line-height: 1.52;
  font-weight: 500;
}

.consumer-fit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consumer-fit-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(36, 103, 255, 0.14);
  border-radius: 999px;
  background: rgba(36, 103, 255, 0.06);
  color: #31507d;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 700;
}

.consumer-step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.consumer-step-list li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.consumer-purchase-panel {
  position: sticky;
  top: calc(var(--shell-header-height) + 24px);
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(18, 33, 73, 0.08);
}

.consumer-price-block {
  display: grid;
  gap: 8px;
}

.consumer-price-block > span {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consumer-price-block strong {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: #111827;
  font-size: 1.72rem;
  line-height: 1.12;
  font-weight: 800;
}

.consumer-price-block .price-original {
  color: #778197;
  font-size: 1.15rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.consumer-price-block .price-free {
  color: #0f8f4f;
}

.consumer-price-block p {
  margin: 0;
  color: #596477;
  font-size: 0.94rem;
  line-height: 1.52;
}

.consumer-purchase-panel .button-full {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.consumer-purchase-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.consumer-purchase-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.consumer-purchase-facts span {
  color: #8a94a6;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consumer-purchase-facts strong {
  color: #202632;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: right;
}

.detail-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
}

.detail-span {
  grid-column: 1 / -1;
}

.detail-section-heading {
  margin-bottom: 18px;
}

.agent-detail-story p,
.agent-detail-capabilities p,
.agent-detail-use-cases p {
  margin: 0;
  color: rgba(66, 82, 111, 0.92);
  line-height: 1.72;
}

.agent-detail-story-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.agent-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.agent-package-card,
.agent-step-card,
.agent-use-case-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  border: 1px solid rgba(44, 73, 126, 0.08);
  border-radius: 28px;
  box-shadow:
    0 16px 34px rgba(18, 42, 71, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.agent-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.agent-fit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: 26px 24px 24px;
  border: 1px solid rgba(44, 73, 126, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(67, 194, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  box-shadow:
    0 18px 36px rgba(18, 42, 71, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.agent-fit-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(36, 113, 255, 0.08);
  color: rgba(36, 103, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-fit-card strong {
  max-width: 22ch;
  font-size: 1.14rem;
  line-height: 1.32;
  color: #1f2430;
}

.agent-fit-card p {
  margin: 0;
  max-width: 31ch;
  color: rgba(66, 82, 111, 0.9);
  font-size: 0.97rem;
  line-height: 1.72;
}

.interactive-action-card {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.interactive-action-card:hover {
  border-color: rgba(36, 113, 255, 0.18);
  box-shadow:
    0 22px 42px rgba(18, 42, 71, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.agent-package-card.is-recommended {
  position: relative;
  border-color: rgba(36, 113, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(67, 194, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97));
  box-shadow:
    0 24px 46px rgba(18, 42, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.agent-package-card.is-disabled {
  opacity: 0.9;
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(246, 248, 252, 0.94));
  border-color: rgba(44, 73, 126, 0.06);
  box-shadow:
    0 10px 24px rgba(18, 42, 71, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.agent-package-top {
  display: grid;
  gap: 12px;
  align-content: start;
}

.agent-package-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(36, 113, 255, 0.08);
  color: rgba(36, 103, 255, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-package-kicker.is-muted {
  background: rgba(179, 138, 57, 0.1);
  color: rgba(147, 103, 18, 0.88);
}

.agent-package-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.agent-package-heading h3,
.agent-step-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.98;
  font-weight: 700;
  color: #1f2430;
}

.agent-package-commercials {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.agent-package-price-stack {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.agent-package-note {
  margin: 0;
  color: rgba(36, 103, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 600;
}

.agent-package-note.is-muted {
  color: rgba(111, 91, 48, 0.88);
}

.agent-package-price {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 700;
}

.agent-package-card.interactive-action-card .agent-package-price,
.agent-package-card.is-disabled .agent-package-price {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
}

.agent-package-price.agent-price-promo {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.agent-package-price-note {
  color: rgba(78, 96, 127, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-package-subtitle {
  margin: 0;
  color: rgba(66, 82, 111, 0.92);
  font-size: 1rem;
  line-height: 1.68;
  text-align: left;
}

.agent-package-cta {
  min-width: 180px;
  justify-content: center;
}

.agent-package-card.is-recommended .agent-package-cta {
  box-shadow: 0 16px 28px rgba(36, 113, 255, 0.18);
}

.agent-package-features {
  padding-top: 16px;
  border-top: 1px solid rgba(44, 73, 126, 0.08);
  align-content: start;
  gap: 12px;
}

.agent-use-case-card {
  align-content: start;
  gap: 14px;
}

.agent-use-case-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #007aff, #56a8ff);
  box-shadow: 0 8px 18px rgba(0, 122, 255, 0.18);
}

.agent-use-case-card p {
  margin: 0;
  color: rgba(66, 82, 111, 0.92);
  line-height: 1.68;
}

.agent-use-case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
}

.agent-use-case-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.agent-use-case-item .agent-use-case-bullet {
  margin-top: 8px;
}

.agent-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.agent-step-index {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #2467ff;
  background: rgba(36, 113, 255, 0.1);
  font-weight: 700;
}

.agent-step-card {
  align-content: start;
  min-height: 100%;
}

.agent-step-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.agent-step-card p {
  margin: 0;
  color: rgba(66, 82, 111, 0.9);
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-agents-hero,
.my-agents-state-card {
  padding: 24px;
}

.page-motherboard-hero {
  border-radius: 24px;
}

.page-motherboard-copy,
.page-motherboard-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-motherboard-title {
  margin: 0;
  max-width: 12ch;
  font-size: 36px;
  line-height: 1.04;
  font-weight: 700;
  color: #1f2430;
}

.page-motherboard-hero .lead,
.my-agents-hero .lead {
  max-width: 680px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6f7e95;
}

.my-agents-state-card {
  justify-items: start;
  text-align: left;
}

.my-agents-state-illustration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 251, 0.88));
  border: 1px solid rgba(19, 33, 38, 0.08);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.my-agents-state-illustration.is-signin {
  color: #2f8cff;
}

.my-agents-state-illustration.is-empty {
  color: #8b5cf6;
}

.my-agents-state-illustration.is-loading {
  color: #f59e0b;
}

.my-agents-state-illustration.is-error {
  color: #ef4444;
}

.my-agents-page-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.my-agents-list-section {
  padding-top: 0;
}

.bot-table-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 14px 22px 12px;
  border-bottom: 1px solid rgba(16, 18, 24, 0.07);
}

.toolbar-account {
  color: #8f97aa;
  font-size: 14px;
  font-weight: 600;
}

.bot-table-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bot-table-title strong {
  color: #151b2d;
  font-size: 16px;
  font-weight: 800;
}

.bot-table-title span {
  color: #7d879c;
  font-size: 13px;
  line-height: 1.35;
}

.toolbar-status {
  margin-left: auto;
  color: #8f97aa;
  font-size: 14px;
  font-weight: 600;
}

.bot-table-market-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(47, 102, 232, 0.14);
  border-radius: 999px;
  color: #2f66e8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(47, 102, 232, 0.06);
}

.bot-table-market-link:hover,
.bot-table-market-link:focus-visible {
  border-color: rgba(47, 102, 232, 0.28);
  background: rgba(47, 102, 232, 0.1);
}

.bot-table {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid rgba(16, 18, 24, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 50px rgba(18, 33, 73, 0.08);
  backdrop-filter: blur(14px);
}

.bot-table-head,
.bot-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) 0.65fr 0.85fr 0.95fr 1fr 1fr 110px;
  gap: 18px;
  align-items: center;
}

.my-agents-bot-table-head,
.my-agents-bot-row {
  grid-template-columns:
    minmax(210px, 1.35fr)
    minmax(116px, 0.74fr)
    minmax(106px, 0.68fr)
    minmax(88px, 0.56fr)
    minmax(146px, 0.9fr)
    minmax(128px, 0.8fr)
    minmax(82px, 0.52fr);
  column-gap: clamp(10px, 1vw, 16px);
  width: 100%;
  min-width: 0;
}

.bot-table-head {
  padding: 14px 24px 16px;
  color: #8f97aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(16, 18, 24, 0.07);
}

.my-agents-bot-table-head span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.my-agents-bot-table-head span:first-child {
  padding-left: 56px;
}

.my-agents-bot-table-head span:nth-child(7) {
  position: sticky;
  right: 0;
  z-index: 3;
  justify-content: center;
  text-align: center;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.94);
}

.bot-table-body {
  padding: 0 16px 16px;
}

.bot-row {
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(16, 18, 24, 0.03);
}

.bot-row-stack {
  margin-top: 8px;
}

.bot-cell {
  min-width: 0;
}

.my-agents-bot-row .bot-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  text-align: left;
}

.my-agents-bot-row .bot-cell:nth-child(7) {
  position: sticky;
  right: 0;
  z-index: 2;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  background:
    linear-gradient(90deg, rgba(248, 249, 253, 0), rgba(248, 249, 253, 0.96) 18px),
    #f4f5f8;
}

.agent-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  max-width: 100%;
  border-radius: 999px;
  background: #eef3ff;
  color: #5272b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.agent-type-link {
  cursor: pointer;
  gap: 8px;
}

.agent-type-link:hover,
.agent-type-link:focus-visible {
  background: #dbe7ff;
  color: #2f5fd8;
  outline: none;
}

.agent-type-link-arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.agent-type-link-arrow svg {
  width: 14px;
  height: 14px;
}

.agent-type-link:hover .agent-type-link-arrow,
.agent-type-link:focus-visible .agent-type-link-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

.agent-type-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(45, 107, 255, 0.14);
  border-radius: 14px;
  background: #f4f8ff;
  box-shadow: 0 10px 20px rgba(45, 107, 255, 0.08);
}

.agent-type-logo-link:hover,
.agent-type-logo-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(45, 107, 255, 0.28);
  background: #eef5ff;
  outline: none;
}

.agent-type-logo {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.agent-type-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.agent-type-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.agent-type-copy strong {
  color: #1f2430;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-type-copy span {
  color: #7d879b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bot-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #6b7690;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bot-username {
  color: #3d6cf4;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-align: center;
}

.bot-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid #2f66e8;
  border-radius: 999px;
  background: #2f66e8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bot-open-button:hover,
.bot-open-button:focus-visible {
  border-color: #2556ca;
  background: #2556ca;
  outline: none;
}

.bot-display-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.bot-display-name-button {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.my-agents-bot-row .bot-cell:nth-child(2) {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0;
}

.bot-display-name {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.bot-display-name-button:hover .bot-display-name,
.bot-display-name-button:focus-visible .bot-display-name {
  color: #3d6cf4;
}

.bot-display-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: max-content;
  max-width: 260px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 107, 255, 0.12);
  border-radius: 12px;
  background: rgba(247, 250, 255, 0.98);
  color: #415070;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.bot-display-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(45, 107, 255, 0.12);
  border-bottom: 1px solid rgba(45, 107, 255, 0.12);
  background: rgba(247, 250, 255, 0.98);
  transform: translate(-50%, -4px) rotate(45deg);
}

.bot-display-name-button:hover .bot-display-tooltip,
.bot-display-name-button:focus-visible .bot-display-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bot-muted {
  color: #6b7690;
  font-size: 14px;
  line-height: 1.6;
}

.bot-pid-link {
  color: #3d6cf4;
  font-size: 14px;
  line-height: 1.6;
}

.bot-token-text {
  color: #6b7690;
  font-size: 14px;
  line-height: 1.6;
}

.bot-pid-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.bot-pid-link,
.bot-token-text {
  white-space: nowrap;
}

.bot-row-editor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(16, 18, 24, 0.02);
  border: 1px solid rgba(16, 18, 24, 0.06);
}

.bot-editor-copy {
  color: #6b7690;
  font-size: 14px;
  line-height: 1.6;
}

.bot-editor-copy-wrap {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bot-editor-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #8f97aa;
  font-size: 13px;
  line-height: 1.4;
}

.bot-editor-token strong {
  color: #3d6cf4;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bot-editor-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-name-input {
  min-width: 260px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(16, 18, 24, 0.1);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.bot-name-input:focus {
  outline: 2px solid rgba(10, 124, 255, 0.16);
  border-color: rgba(10, 124, 255, 0.3);
}

.bot-save-button {
  min-width: 86px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
}

.bot-pid-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bot-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #c5d0f0;
  border-radius: 7px;
  background: #fff;
  color: #6b7690;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bot-copy-button svg {
  width: 14px;
  height: 14px;
}

.bot-copy-button:hover {
  background: #f0f4ff;
  border-color: #7a9cf0;
  color: #3d6cf4;
}

.bot-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bot-status.is-live,
.bot-status.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: #198754;
}

.bot-status.is-pending {
  background: rgba(34, 197, 94, 0.12);
  color: #198754;
}

.bot-status.is-error {
  background: rgba(220, 38, 38, 0.1);
  color: #b42318;
}

.my-agents-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 20px;
  border: 1px solid rgba(202, 213, 226, 0.68);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.my-agents-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.96));
}

.my-agents-table th,
.my-agents-table td {
  padding: 19px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(19, 33, 38, 0.08);
}

.my-agents-table thead th {
  padding-top: 16px;
  padding-bottom: 14px;
  background: rgba(248, 250, 253, 0.92);
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.my-agents-table thead th span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.my-agents-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(244, 248, 255, 0.88));
}

.my-agents-table tbody td {
  background: rgba(255, 255, 255, 0.84);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.my-agents-table tbody tr:hover td,
.my-agents-table tbody tr:focus-within td {
  background: linear-gradient(180deg, rgba(251, 254, 255, 1), rgba(236, 244, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(47, 140, 255, 0.04),
    inset 0 -1px 0 rgba(47, 140, 255, 0.06);
}

.my-agents-table tbody tr:hover td:first-child,
.my-agents-table tbody tr:focus-within td:first-child {
  box-shadow:
    inset 4px 0 0 #2f8cff,
    inset 0 1px 0 rgba(47, 140, 255, 0.04),
    inset 0 -1px 0 rgba(47, 140, 255, 0.06);
}

.my-agents-table tbody tr:last-child td {
  border-bottom: 0;
}

.my-agents-table tbody td:last-child,
.my-agents-table thead th:last-child {
  text-align: right;
}

.table-primary-copy {
  display: grid;
  gap: 4px;
}

.table-primary-copy strong {
  font-size: 15px;
  line-height: 1.4;
  color: #111827;
  font-weight: 600;
}

.table-primary-copy small {
  color: #6f7e95;
  font-size: 12px;
  line-height: 1.5;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.status-pill.is-active {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.status-pill.is-pending {
  background: rgba(59, 130, 246, 0.14);
  color: #2563eb;
}

.usage-stack {
  display: grid;
  gap: 8px;
}

.usage-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.usage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
}

.usage-icon svg {
  width: 14px;
  height: 14px;
}

.usage-icon-input {
  background: rgba(47, 140, 255, 0.12);
  color: #2f8cff;
}

.usage-icon-output {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.access-stack {
  display: grid;
  gap: 8px;
}

.access-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.access-label {
  color: #7a8599;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-value {
  color: #1f2430;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.table-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.button-compact {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  font-weight: 700;
  min-width: 76px;
}

.button-compact.button-secondary {
  background: rgba(255, 255, 255, 0.92);
}

.button-compact.button-primary {
  box-shadow: 0 12px 24px rgba(47, 140, 255, 0.22);
}

.help-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(47, 140, 255, 0.12);
  color: #2f8cff;
  font-size: 10px;
  font-weight: 700;
  cursor: help;
  position: relative;
}

.help-bubble {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.94);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 20;
}

.help-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  background: rgba(17, 24, 39, 0.94);
  transform: translateX(-50%) rotate(45deg);
}

.help-chip:hover .help-bubble,
.help-chip:focus-visible .help-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.56);
  backdrop-filter: blur(8px);
}

.auth-modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: auto;
  padding: 34px 44px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(8, 16, 32, 0.24);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f3f5fa;
  color: #2a3348;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-head h2 {
  margin: 20px 0 0;
  color: #202633;
  font-size: clamp(1.9rem, 3.5vw, 2.62rem);
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

.auth-modal-head p {
  max-width: 420px;
  margin: 12px auto 0;
  color: #697389;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-modal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  color: #21304d;
  font-size: 24px;
  font-weight: 800;
}

.auth-modal-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.auth-form-refined {
  margin-top: 28px;
}

.field-icon {
  position: relative;
}

.field-icon input {
  min-height: 58px;
  width: 100%;
  padding-left: 68px;
  padding-right: 20px;
  border: 0;
  border-radius: 18px;
  background: #f5f7fc;
  font-size: 16px;
  box-sizing: border-box;
}

.field-leading-icon,
.field-trailing-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #323843;
}

.field-leading-icon {
  left: 24px;
  width: 28px;
  height: 28px;
}

.field-leading-icon svg,
.field-trailing-icon svg {
  width: 100%;
  height: 100%;
}

.field-trailing-icon {
  right: 20px;
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.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;
}

.auth-inline-row {
  display: flex;
  justify-content: flex-start;
}

.forgot-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #5a63ff;
  font-size: 14px;
  cursor: pointer;
}

.auth-primary-button {
  min-height: 54px;
  border-radius: 999px;
  font-size: 20px;
  box-shadow: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 14px;
  color: #232a39;
  font-size: 15px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(16, 18, 24, 0.14);
}

.social-auth-stack {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.auth-google-only {
  position: relative;
  margin-top: 30px;
}

.social-auth-button {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #d6d9df;
  border-radius: 999px;
  background: #fff;
  color: #242832;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  z-index: 1;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.social-auth-button:hover,
.social-auth-button:focus-visible {
  transform: translateY(-1px);
  border-color: #bdc4d0;
  background: #fbfcff;
  box-shadow:
    0 8px 18px rgba(18, 33, 73, 0.08),
    0 0 0 3px rgba(29, 113, 255, 0.07);
}

.google-identity-button {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 58px;
  opacity: 0.01;
  transform: translateX(-50%);
}

.google-identity-button.is-rendered {
  display: flex;
}

.google-identity-button > div,
.google-identity-button [role="button"] {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
}

.google-identity-button iframe {
  max-width: 100%;
  border-radius: 999px;
}

.social-auth-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  justify-self: start;
}

.social-auth-icon svg {
  width: 28px;
  height: 28px;
}

.auth-helper-copy {
  max-width: 360px;
  margin: 0 auto;
  color: #8a93a6;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.hire-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  overflow-y: auto;
}

.hire-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.56);
  backdrop-filter: blur(8px);
}

.hire-modal-dialog {
  position: relative;
  width: min(620px, calc(100% - 32px));
  margin: 48px auto;
  padding: 36px 36px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(8, 16, 32, 0.28);
}

.hire-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f2f5fa;
  color: #2a3348;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hire-modal-head {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.hire-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1e3f9a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hire-agent-badge strong {
  color: #0f172a;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.hire-modal-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  color: #1f2430;
}

.hire-modal-description {
  margin: 0;
  color: #66748e;
  font-size: 16px;
  line-height: 1.65;
}

.hire-modal-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.hire-code-form {
  display: grid;
  gap: 18px;
}

.hire-code-field {
  display: grid;
  gap: 10px;
}

.hire-code-field label {
  color: #31415e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hire-code-input {
  min-height: 58px;
  width: 100%;
  padding: 0 20px;
  border: 1px solid rgba(36, 103, 255, 0.14);
  border-radius: 18px;
  background: #f8faff;
  color: #1f2430;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hire-code-input::placeholder {
  color: #a0acc4;
  letter-spacing: 0.04em;
}

.hire-code-hint {
  margin: 0;
  color: #7b889f;
  font-size: 14px;
  line-height: 1.6;
}

.hire-inline-alert {
  min-height: 22px;
  color: #d14343;
  font-size: 14px;
  font-weight: 600;
}

.hire-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hire-actions-row .button-secondary,
.hire-actions-row .button-primary {
  min-width: 150px;
}

.hire-creation-stage {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 8px 0 12px;
}

.hire-worker-orbit {
  position: relative;
  width: 120px;
  height: 120px;
}

.hire-worker-core,
.hire-worker-spark,
.hire-worker-spark::before,
.hire-worker-spark::after {
  position: absolute;
  border-radius: 999px;
}

.hire-worker-core {
  inset: 24px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #7db6ff, #2467ff 70%);
  color: #fff;
  font-size: 34px;
  box-shadow:
    0 18px 36px rgba(36, 103, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hire-worker-spark {
  inset: 0;
  border: 2px dashed rgba(36, 103, 255, 0.25);
  animation: hire-orbit-rotate 3.6s linear infinite;
}

.hire-worker-spark::before,
.hire-worker-spark::after {
  content: "";
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #ffd16d, #ff8c37);
  box-shadow: 0 0 0 6px rgba(255, 197, 106, 0.16);
}

.hire-worker-spark::before {
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.hire-worker-spark::after {
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.hire-creation-copy h3,
.hire-success-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  color: #1f2430;
}

.hire-creation-copy p,
.hire-success-copy p {
  margin: 10px 0 0;
  color: #66748e;
  line-height: 1.7;
}

.hire-creation-steps {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.hire-creation-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f7f9fd;
  color: #44516b;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.hire-creation-step::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2d6bff;
  box-shadow: 0 0 0 8px rgba(45, 107, 255, 0.12);
  animation: hire-pulse 1.4s ease-in-out infinite;
}

.hire-success-stage {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding-bottom: 12px;
}

.hire-success-icon {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #dcffe9 0%, #eafcf1 100%);
  color: #1f9d5a;
  font-size: 38px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hire-success-note {
  margin: 0;
  color: #7b889f;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hire-success-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(100%, 460px);
}

.hire-success-actions.has-telegram {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hire-success-actions .button-primary,
.hire-success-actions .button-secondary {
  min-width: 0;
}

@keyframes hire-orbit-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes hire-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1360px) {
  .dora-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .dora-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .context-toolbar {
    gap: 8px;
  }

  .auth-launch-button {
    min-height: 40px;
    padding: 0 16px;
  }

  .nav-account-chip {
    max-width: 152px;
    min-width: 0;
    gap: 8px;
    padding: 5px 9px 5px 5px;
  }

  .nav-account-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .nav-account-copy strong {
    max-width: 72px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-account-copy span {
    display: none;
  }
}

@media (max-width: 760px) {
  .dora-card-grid {
    grid-template-columns: 1fr;
  }

  .dora-market-intro-card {
    padding: 22px;
  }

  .dora-market-intro-copy h2 {
    font-size: 30px;
  }

  .dora-agent-price strong {
    font-size: 28px;
  }

  .agent-overview-card {
    grid-template-columns: 1fr;
  }

  .agent-store-hero {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }

  .agent-store-icon,
  .agent-store-icon img {
    width: 96px;
    height: 96px;
  }

  .agent-store-actions {
    grid-column: 1 / -1;
    justify-items: stretch;
    min-width: 0;
  }

  .agent-store-price {
    justify-items: start;
  }

  .agent-store-title-row {
    display: grid;
    justify-items: start;
    align-items: flex-start;
  }

  .agent-store-title-row h2 {
    max-width: 100%;
    font-size: 1.72rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .agent-store-subtitle {
    font-size: 1rem;
  }

  .agent-store-seller,
  .agent-overview-summary {
    font-size: 0.95rem;
  }

  .agent-store-kpis,
  .agent-store-about,
  .agent-store-info-grid {
    grid-template-columns: 1fr;
  }

  .agent-store-plan .button-full {
    width: 100%;
    justify-self: stretch;
  }

  .agent-store-kpi,
  .agent-store-info-item {
    justify-items: start;
    text-align: left;
    border-right: 0;
  }

  .agent-store-preview-strip {
    grid-template-columns: repeat(3, minmax(246px, 82vw));
  }

  .agent-store-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .agent-store-section-heading h3,
  .agent-store-section-heading span {
    max-width: calc(100vw - 32px);
    overflow-wrap: break-word;
  }

  .agent-overview-sidecard {
    width: 100%;
  }

  .consumer-agent-layout {
    grid-template-columns: 1fr;
  }

  .consumer-purchase-panel {
    position: static;
    order: 0;
  }

  .consumer-feature-list {
    grid-template-columns: 1fr;
  }

  .agent-fit-grid,
  .detail-page-grid,
  .agent-steps-grid {
    grid-template-columns: 1fr;
  }

  .agent-detail-story-copy {
    grid-template-columns: 1fr;
  }

  .agent-package-commercials {
    flex-wrap: wrap;
    align-items: start;
  }

  .agent-package-cta {
    width: 100%;
  }

  .agent-overview-reassurance {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    display: flex;
    flex-direction: column;
  }

  .agent-store-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .agent-store-icon,
  .agent-store-icon img {
    width: 112px;
    height: 112px;
  }

  .agent-store-title-row h2 {
    font-size: 1.95rem;
  }

  .app-main {
    margin-left: 0;
    min-width: 0;
    max-width: 100vw;
  }

  .agent-store-page,
  .agent-store-page .container,
  .agent-store-title-block,
  .agent-store-actions {
    min-width: 0;
    max-width: 100%;
  }

  .agent-store-page {
    overflow-x: hidden;
  }

  .agent-store-page .agent-overview-summary {
    width: min(100%, calc(100vw - 56px));
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .agent-store-actions .button-full {
    width: min(100%, calc(100vw - 32px));
    justify-content: flex-start;
    padding-left: 22px;
  }

  .consumer-agent-layout {
    gap: 22px;
    padding-top: 18px;
  }

  .consumer-agent-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .consumer-agent-hero .agent-store-icon,
  .consumer-agent-hero .agent-store-icon img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .consumer-agent-title h2 {
    font-size: 1.95rem;
  }

  .consumer-agent-title p {
    font-size: 0.98rem;
  }

  .consumer-hero-actions {
    display: flex;
    width: 100%;
  }

  .consumer-hero-actions .button-full {
    width: 100%;
    justify-content: center;
  }

  .consumer-step-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .consumer-fit-row span {
    width: 100%;
  }

  .agent-store-plan .button-full {
    width: 100%;
    justify-content: center;
    padding-left: 22px;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    overflow: visible;
  }

  .sidebar-inner {
    min-height: auto;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 12px 12px 10px;
  }

  .sidebar-brand-row {
    min-height: auto;
    padding: 0;
  }

  .sidebar-brand,
  .sidebar-brand-logo-wrap {
    min-height: auto;
    height: auto;
  }

  .sidebar-brand-logo {
    height: 24px;
  }

  .sidebar-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .app-content {
    gap: 16px;
    padding: var(--shell-gutter-mobile);
  }

  .context-topbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    height: auto;
    padding: 0 var(--shell-gutter-mobile);
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .context-toolbar {
    gap: 8px;
    justify-content: flex-end;
    height: auto;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
  }

  .language-switcher-label {
    display: none;
  }

  .context-toolbar-divider {
    display: none;
  }

  .context-primary-action {
    min-width: 146px;
  }

  .hire-menu-panel {
    width: min(100vw - 32px, 560px);
    right: 0;
  }

  .account-chip {
    min-width: auto;
  }

  .nav-account-chip,
  .auth-launch-button {
    min-width: auto;
  }

  .nav-account-chip {
    width: auto;
    max-width: 128px;
    min-width: 0;
    gap: 6px;
    padding: 5px 7px 5px 5px;
    box-shadow: 0 12px 24px rgba(18, 33, 73, 0.08);
  }

  .marketplace-account-dropdown {
    min-width: 164px;
  }

  .nav-account-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nav-account-copy {
    min-width: 0;
    flex: 0 1 auto;
  }

  .nav-account-copy strong {
    max-width: 54px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-account-copy span {
    display: none;
  }

  .chip-logout-button {
    display: none;
  }

  .context-header-block,
  .context-title-row {
    height: auto;
    min-height: 0;
  }

  .context-page-title {
    font-size: 16px;
  }

  .auth-launch-button {
    min-height: 38px;
    padding: 0 14px;
  }

  .dora-marketplace {
    gap: 24px;
  }

  .dora-market-intro-card {
    padding: 20px 18px;
  }

  .dora-market-intro-copy h2 {
    font-size: 28px;
  }

  .dora-market-intro-copy p {
    font-size: 15px;
  }

  .my-agents-page-stack {
    gap: 16px;
  }

  .my-agents-table {
    min-width: 760px;
  }

  .table-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-compact {
    width: 100%;
  }

  .page-motherboard-title,
  .my-agents-hero h1 {
    font-size: 28px;
    line-height: 1.06;
  }

  .page-motherboard-hero .lead,
  .my-agents-hero .lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .bot-table {
    overflow: visible;
  }

  .bot-table-topbar {
    min-height: 16px;
    padding: 0 12px;
  }

  .my-agents-bot-table-head {
    display: none;
  }

  .bot-table-body {
    padding: 12px;
  }

  .my-agents-bot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    min-width: 0;
    padding: 18px 16px;
  }

  .my-agents-bot-row .bot-cell {
    min-height: auto;
    display: grid;
    justify-items: start;
    align-content: start;
    text-align: left;
    gap: 6px;
  }

  .my-agents-bot-row .bot-cell::before {
    color: #8f97aa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .my-agents-bot-row .bot-cell:nth-child(1)::before {
    content: "Type";
  }

  .my-agents-bot-row .bot-cell:nth-child(2)::before {
    content: "Agent";
  }

  .my-agents-bot-row .bot-cell:nth-child(3)::before {
    content: "Status";
  }

  .my-agents-bot-row .bot-cell:nth-child(4)::before {
    content: "HYMX PID";
  }

  .my-agents-bot-row .bot-cell:nth-child(5)::before {
    content: "Activated";
  }

  .my-agents-bot-row .bot-cell:nth-child(6)::before {
    content: "Subscription Left";
  }

  .my-agents-bot-row .bot-cell:nth-child(7)::before {
    content: "Action";
  }

  .my-agents-bot-row .bot-cell:nth-child(2),
  .my-agents-bot-row .bot-cell:nth-child(7) {
    position: static;
    background: transparent;
    justify-items: start;
    text-align: left;
  }

  .bot-display-name-row,
  .bot-pid-wrap {
    justify-content: flex-start;
  }

  .bot-username {
    text-align: left;
  }

  .bot-row-editor,
  .bot-editor-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bot-name-input,
  .bot-save-button {
    width: 100%;
    min-width: 0;
  }

  .bot-row-stack {
    margin-top: 12px;
  }

  .agent-type-pill,
  .bot-code-pill {
    min-height: 30px;
    padding: 0 12px;
    white-space: normal;
  }

  .auth-modal-dialog {
    width: min(520px, 100%);
    padding: 28px 20px 24px;
  }
}

@media (max-width: 480px) {
  .nav-account-chip {
    max-width: 128px;
    padding-right: 8px;
  }

  .nav-account-copy strong {
    max-width: 64px;
  }

  .hire-modal-dialog {
    width: min(100% - 20px, 620px);
    margin: 18px auto;
    padding: 28px 18px 22px;
  }

  .hire-modal-title {
    font-size: 26px;
  }

  .hire-code-input {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .hire-actions-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .hire-actions-row .button-secondary,
  .hire-actions-row .button-primary {
    width: 100%;
    min-width: 0;
  }

  .hire-success-actions.has-telegram {
    grid-template-columns: 1fr;
  }
}
