:root {
  color-scheme: light;
  --font-sans: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f8;
  --ink: #101828;
  --muted: #5d687a;
  --line: #d9e0ea;
  --accent: #2764e7;
  --accent-strong: #1d4fc0;
  --accent-soft: #e8efff;
  --success: #16845b;
  --warning: #b25b13;
  --danger: #c6414b;
  --dark-bg: #0b1019;
  --dark-surface: #111827;
  --dark-soft: #172132;
  --dark-line: #293449;
  --dark-ink: #f3f6fb;
  --dark-muted: #9eabbd;
  --radius-card: 18px;
  --radius-control: 10px;
  --shadow: 0 24px 70px rgba(25, 47, 89, 0.12);
  --shadow-soft: 0 14px 40px rgba(25, 47, 89, 0.08);
  --toolbar-height: 44px;
}

/* Release 99: Bitcoin checkout editions are mutually exclusive and visibly distinct. */
.checkout-edition-intro {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--muted, #9d9aaa);
  line-height: 1.75;
}

.checkout-edition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-edition-card {
  position: relative;
  min-height: 190px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 24px;
  text-align: left;
  overflow: hidden;
}

.checkout-edition-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -60% 30%;
  height: 120px;
  background: radial-gradient(circle, rgba(126, 105, 255, .2), transparent 68%);
  pointer-events: none;
}

.checkout-edition-card__kind {
  display: inline-flex;
  width: max-content;
  min-width: 46px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(145, 126, 255, .38);
  border-radius: 999px;
  color: #bfb4ff;
  background: rgba(125, 103, 255, .1);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
}

.checkout-edition-card > strong {
  font-size: clamp(22px, 2vw, 29px);
}

.checkout-edition-card > span:not(.checkout-edition-card__kind) {
  max-width: 440px;
  line-height: 1.65;
}

.checkout-edition-card > small {
  margin-top: auto;
  color: #817d91;
  font-size: 13px;
}

.checkout-edition-card[aria-checked="true"] {
  border-color: rgba(150, 130, 255, .8);
  box-shadow: inset 0 0 0 1px rgba(146, 126, 255, .2), 0 20px 60px rgba(71, 51, 150, .16);
  background: linear-gradient(145deg, rgba(118, 94, 225, .16), rgba(17, 17, 24, .96));
}

.checkout-api-delivery {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(145, 126, 255, .34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(126, 105, 255, .12), rgba(17, 17, 24, .92));
}

.checkout-api-delivery strong {
  display: block;
  margin-bottom: 6px;
  color: #f2efff;
  font-size: 19px;
}

.checkout-api-delivery p,
.checkout-api-delivery > span:last-child {
  color: #9691a8;
  line-height: 1.6;
}

.checkout-api-delivery > span:last-child {
  max-width: 240px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  text-align: right;
}

@media (max-width: 720px) {
  .checkout-edition-grid { grid-template-columns: 1fr; }
  .checkout-edition-card { min-height: 164px; }
  .checkout-api-delivery { grid-template-columns: auto 1fr; }
  .checkout-api-delivery > span:last-child { grid-column: 1 / -1; max-width: none; text-align: left; }
}

/* Local preview: product-first observation inside the existing site shell. */
.page-root.observation-page { animation: none; }

.observation-preview-notice {
  padding: 10px 24px;
  border-bottom: 1px solid #f2d391;
  background: #fff3d6;
  color: #815207;
  font-size: 13px;
  text-align: center;
}

.observation-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 74px;
  background: linear-gradient(118deg, #10223e 0%, #122d53 68%, #16487b 100%);
  color: #fff;
}

.observation-catalog-hero::before {
  position: absolute;
  inset: -210px -250px auto auto;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, #5b9bff24, transparent 67%);
  content: "";
  pointer-events: none;
}

.observation-catalog-hero .container { position: relative; }
.observation-catalog-hero__layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr); align-items: center; gap: 22px; min-height: 380px; }
.observation-catalog-hero__copy { position: relative; z-index: 1; }

.observation-catalog-hero__eyebrow {
  color: #86baff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
}

.observation-catalog-hero h1 {
  max-width: 20ch;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(42px, 4.4vw, 62px);
  letter-spacing: -.045em;
  line-height: 1.15;
  white-space: pre-line;
}

.observation-hero-art { position: relative; height: 380px; min-width: 0; isolation: isolate; pointer-events: none; }
.observation-orbit { position: relative; width: min(100%, 490px); height: 100%; margin-left: auto; background: radial-gradient(circle at 50% 50%, #45bdff19 0, #2668b50b 32%, transparent 67%); }
.observation-orbit__grid { position: absolute; inset: 12px; border-radius: 50%; background: linear-gradient(#7bbaff18 1px, transparent 1px), linear-gradient(90deg, #7bbaff18 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(circle, #000 9%, transparent 72%); opacity: .55; }
.observation-orbit__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.observation-orbit__ring--outer { width: 306px; height: 306px; border: 1px solid #b6d5ff36; border-top: 2px solid #f9c963bb; border-right: 2px solid #52c5ffbb; box-shadow: 0 0 54px #3b9dff1a, inset 0 0 44px #2b81e20c; }
.observation-orbit__ring--outer::after { position: absolute; top: 19px; right: 46px; width: 7px; height: 7px; border-radius: 50%; background: #ffdb84; box-shadow: 0 0 13px #ffd777; content: ""; }
.observation-orbit__ring--inner { width: 214px; height: 214px; border: 1px dashed #9dc9ff55; border-bottom: 2px solid #42c5efaa; }
.observation-orbit__core { position: absolute; top: 50%; left: 50%; display: flex; width: 114px; height: 114px; align-items: center; justify-content: center; flex-direction: column; gap: 3px; transform: translate(-50%, -50%); border: 1px solid #9ccfff77; border-radius: 31px; background: linear-gradient(145deg, #15385d, #081a30 72%); box-shadow: 0 19px 54px #0210209c, inset 0 1px #e0f1ff4d; }
.observation-orbit__core::after { position: absolute; inset: -11px; border: 1px solid #78d9ff8c; border-radius: 38px; opacity: 0; content: ""; }
.observation-orbit__core strong { display: flex; font-size: 43px; font-weight: 900; letter-spacing: -.12em; line-height: 1; }
.observation-orbit__core i { font-style: normal; }
.observation-orbit__core i:first-child { color: #ffcf69; text-shadow: 0 0 17px #e8ac4177; }
.observation-orbit__core i:last-child { color: #66d8ff; text-shadow: 0 0 17px #3ecaff77; }
.observation-orbit__core small { color: #9cbbdd; font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.observation-orbit__node { position: absolute; z-index: 2; display: flex; width: 175px; min-height: 61px; align-items: center; gap: 10px; padding: 8px; border: 1px solid #8eb8e44d; border-left-color: var(--node-accent, #67cfff); border-radius: 15px; background: #102943df; box-shadow: 0 13px 30px #020e1c63, inset 0 1px #ffffff20; backdrop-filter: blur(8px); }
.observation-orbit__node--1 { --node-accent: #ffd36f; top: 28px; left: 1%; }
.observation-orbit__node--2 { --node-accent: #6ad7ff; top: 49px; right: 0; }
.observation-orbit__node--3 { --node-accent: #ffd36f; bottom: 57px; left: 0; }
.observation-orbit__node--4 { --node-accent: #6ad7ff; right: 1%; bottom: 27px; }
.observation-orbit__node-logo { display: grid; width: 42px; height: 42px; flex: none; place-items: center; overflow: hidden; border-radius: 10px; background: #071424; color: #8bdcff; font-size: 14px; font-weight: 900; }
.observation-orbit__node-logo img { width: 100%; height: 100%; object-fit: cover; }
.observation-orbit__node-name { color: #e3efff; font-size: 12px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }

@keyframes observation-orbit-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes observation-orbit-float { 50% { transform: translateY(-7px); } }
@keyframes observation-orbit-pulse { 0% { opacity: .5; transform: scale(.91); } 75%, 100% { opacity: 0; transform: scale(1.13); } }
@media (prefers-reduced-motion: no-preference) {
  .observation-orbit__ring--outer { animation: observation-orbit-turn 22s linear infinite; }
  .observation-orbit__ring--inner { animation: observation-orbit-turn 25s linear infinite reverse; }
  .observation-orbit__core::after { animation: observation-orbit-pulse 4.8s ease-out infinite; }
  .observation-orbit__node { animation: observation-orbit-float 6s ease-in-out infinite; }
  .observation-orbit__node--2 { animation-delay: -1.5s; }
  .observation-orbit__node--3 { animation-delay: -3s; }
  .observation-orbit__node--4 { animation-delay: -4.5s; }
}

.observation-catalog-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 12px 17px;
  border: 1px solid #c7d9f370;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: background .18s, border-color .18s, transform .18s;
}

.observation-catalog-hero__cta:hover { border-color: #fff; background: #ffffff1a; transform: translateY(-2px); }
.observation-catalog-hero__cta span,
.observation-product-card__footer span { transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.observation-catalog-hero__cta:is(:hover, :focus-visible) span,
.observation-product-card:is(:hover, :focus-visible) .observation-product-card__footer span { transform: translate(3px, -3px); }

.observation-catalog {
  min-height: 580px;
  padding: 40px 0 84px;
  background: #f4f8ff;
  color: #172740;
}

.observation-catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.observation-catalog__toolbar h2 {
  margin: 0;
  color: #172740;
  font-size: 25px;
  letter-spacing: -.035em;
}

.observation-catalog__search { position: relative; width: min(350px, 100%); }
.observation-catalog__toolbar input {
  width: 100%;
  height: 47px;
  padding: 0 48px 0 16px;
  border: 1px solid #ccdaeb;
  border-radius: 12px;
  background: #fff;
  color: #172740;
  transition: border-color .18s, box-shadow .18s;
}
.observation-catalog__toolbar input:focus { border-color: #4780f0; box-shadow: 0 0 0 4px #2764e722; outline: none; }
.observation-catalog__toolbar input::-webkit-search-cancel-button { display: none; }
.observation-catalog__search button { position: absolute; top: 50%; right: 7px; display: grid; width: 33px; height: 33px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 8px; background: transparent; color: #687b98; font-size: 23px; line-height: 1; cursor: pointer; transition: background .18s, color .18s; }
.observation-catalog__search button:hover { background: #e8efff; color: #1d4fc0; }
.observation-catalog__search button[hidden] { display: none; }

.observation-catalog__filter-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 23px; }
.observation-catalog__count { margin: 0; color: #687b98; font-size: 13px; font-weight: 650; white-space: nowrap; }

.observation-catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.observation-catalog__filters button {
  padding: 9px 16px;
  border: 1px solid #cbd9ec;
  border-radius: 99px;
  background: #fff;
  color: #566781;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.observation-catalog__filters button:hover:not([aria-pressed="true"]) { border-color: #9dbaf4; background: #eef4ff; color: #2458bd; }
.observation-catalog__filters button:active { transform: scale(.97); }

.observation-catalog__filters button[aria-pressed="true"] {
  border-color: #1e5fe9;
  background: #1e5fe9;
  color: #fff;
  box-shadow: 0 5px 14px #1e5fe92a;
}

.observation-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.observation-product-card {
  display: block;
  padding: 25px;
  border: 1px solid #d7e3f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px #203e6d0c;
  color: #172740;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.observation-product-card[hidden], .observation-catalog__empty[hidden] { display: none !important; }
.observation-product-card:focus-visible { transform: translateY(-3px); border-color: #7fa5f5; box-shadow: 0 18px 42px #203e6d1c; }
@media (hover: hover) { .observation-product-card:hover { transform: translateY(-3px); border-color: #a2bdfa; box-shadow: 0 18px 42px #203e6d1c; } }
.observation-product-card:active { transform: translateY(-1px); }
.observation-product-card__heading { display: flex; align-items: center; gap: 17px; }
.observation-product-card__logo { display: grid; width: 70px; height: 70px; flex: none; place-items: center; overflow: hidden; border: 1px solid #dce7f7; border-radius: 16px; background: #eff5ff; color: #2457b9; font-size: 25px; font-weight: 900; }
.observation-product-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.observation-product-card h2 { margin: 0 0 6px; color: #172740; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.observation-product-card__heading p { margin: 0; color: #667992; font-size: 14px; }
.observation-product-card__description { display: -webkit-box; min-height: 50px; margin: 20px 0 23px; overflow: hidden; color: #4a5c78; font-size: 14px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.observation-product-card__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 18px; border-top: 1px solid #e2ebf5; }
.observation-product-card__metrics > div { min-width: 0; }
.observation-product-card__metrics small { display: block; margin-bottom: 7px; color: #8290a6; font-size: 12px; }
.observation-product-card__metrics strong { color: #172740; font-size: 16px; white-space: nowrap; }
.observation-product-card__metrics strong.positive { color: #118263; }
.observation-product-card__status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; background: #eef2f7; color: #6a7b93; font-size: 12px; font-weight: 700; white-space: nowrap; }
.observation-product-card__status::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.observation-product-card__status.is-ready { background: #e9f8f2; color: #12835f; }
.observation-product-card__footer { display: flex; justify-content: space-between; margin-top: 23px; color: #1e5ad9; font-size: 14px; font-weight: 800; }
.observation-catalog__empty { padding: 35px; border: 1px dashed #cbd9ec; border-radius: 16px; background: #fff; color: #61718a; text-align: center; }
.observation-catalog__empty p { margin: 0 0 14px; }
.observation-catalog__empty button { padding: 9px 15px; border: 1px solid #b8caf0; border-radius: 9px; background: #eef4ff; color: #2458bd; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s; }
.observation-catalog__empty button:hover { border-color: #7fa5f5; background: #e1ecff; }

.observation-page--catalog.is-dark .observation-catalog {
  background: #07101b;
  color: #dce7f7;
}

.observation-page--catalog.is-dark .observation-catalog__toolbar h2,
.observation-page--catalog.is-dark .observation-product-card h2,
.observation-page--catalog.is-dark .observation-product-card__metrics strong {
  color: #f4f7fb;
}

.observation-page--catalog.is-dark .observation-catalog__toolbar input {
  border-color: #31445f;
  background: #0e1c2c;
  color: #f4f7fb;
}

.observation-page--catalog.is-dark .observation-catalog__toolbar input::placeholder {
  color: #8294ad;
}

.observation-page--catalog.is-dark .observation-catalog__search button,
.observation-page--catalog.is-dark .observation-catalog__count {
  color: #8fa2bb;
}

.observation-page--catalog.is-dark .observation-catalog__search button:hover {
  background: #172a42;
  color: #a9c6ff;
}

.observation-page--catalog.is-dark .observation-catalog__filters button {
  border-color: #31445f;
  background: #0e1c2c;
  color: #a9b8cc;
}

.observation-page--catalog.is-dark .observation-catalog__filters button:hover:not([aria-pressed="true"]) {
  border-color: #52749c;
  background: #14263a;
  color: #c9d8eb;
}

.observation-page--catalog.is-dark .observation-catalog__filters button[aria-pressed="true"] {
  border-color: #3979ed;
  background: #3979ed;
  color: #fff;
  box-shadow: 0 7px 20px #0a3b9660;
}

.observation-page--catalog.is-dark .observation-product-card {
  border-color: #243650;
  background: #0b1725;
  box-shadow: 0 14px 38px #0209144d;
  color: #dce7f7;
}

.observation-page--catalog.is-dark .observation-product-card:focus-visible {
  border-color: #5d8edb;
  box-shadow: 0 18px 46px #02091480;
}

@media (hover: hover) {
  .observation-page--catalog.is-dark .observation-product-card:hover {
    border-color: #466b98;
    box-shadow: 0 18px 46px #02091480;
  }
}

.observation-page--catalog.is-dark .observation-product-card__logo {
  border-color: #2a3e59;
  background: #0e1c2c;
  color: #8fb4ff;
}

.observation-page--catalog.is-dark .observation-product-card__heading p,
.observation-page--catalog.is-dark .observation-product-card__description,
.observation-page--catalog.is-dark .observation-product-card__metrics small {
  color: #91a3bb;
}

.observation-page--catalog.is-dark .observation-product-card__metrics {
  border-top-color: #243650;
}

.observation-page--catalog.is-dark .observation-product-card__metrics strong.positive {
  color: #65e0b6;
}

.observation-page--catalog.is-dark .observation-product-card__status {
  background: #142238;
  color: #9bacc2;
}

.observation-page--catalog.is-dark .observation-product-card__status.is-ready {
  background: #103128;
  color: #65e0b6;
}

.observation-page--catalog.is-dark .observation-product-card__footer {
  color: #8fb4ff;
}

.observation-page--catalog.is-dark .observation-catalog__empty {
  border-color: #31445f;
  background: #0b1725;
  color: #91a3bb;
}

.observation-page--catalog.is-dark .observation-catalog__empty button {
  border-color: #3e5f8a;
  background: #14263a;
  color: #a9c6ff;
}

.observation-page--catalog.is-dark .observation-catalog__empty button:hover {
  border-color: #628bc2;
  background: #1a3049;
}

.observation-preview-back { display: inline-flex; margin-bottom: 23px; color: #b5cfff; font-size: 14px; font-weight: 700; }
.observation-preview-back:hover { text-decoration: underline; }
.observation-page--products .observation-hero { padding: 70px 0 78px; background: linear-gradient(118deg, #10223e 0%, #122d53 68%, #16487b 100%); }
.observation-page--products .observation-hero__copy h1 { max-width: 15ch; color: #fff; font-size: clamp(34px, 4vw, 60px); line-height: 1.12; }
.observation-page--products .observation-hero__copy > p:not(.observation-hero__note) { color: #c9daf1; }
.observation-page--products.is-light .observation-hero__secondary { border-color: #ffffff70; color: #fff; }
.observation-page--products.is-light .observation-hero__secondary:hover { background: #ffffff20; }

@media (max-width: 900px) {
  .observation-catalog-hero__layout { grid-template-columns: 1fr; gap: 10px; }
  .observation-hero-art { height: 320px; }
  .observation-orbit { margin: 0 auto; }
}

@media (max-width: 760px) {
  .observation-catalog-hero { padding: 52px 0 55px; }
  .observation-catalog__toolbar { align-items: stretch; flex-direction: column; }
  .observation-catalog__search { width: 100%; }
  .observation-catalog__grid { grid-template-columns: 1fr; }
  .observation-page--products .observation-hero { padding: 48px 0 55px; }
}

@media (max-width: 480px) {
  .observation-catalog-hero { padding-bottom: 36px; }
  .observation-catalog-hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .observation-hero-art { height: 260px; margin-top: 6px; }
  .observation-orbit__ring--outer { width: 222px; height: 222px; }
  .observation-orbit__ring--inner { width: 158px; height: 158px; }
  .observation-orbit__core { width: 86px; height: 86px; border-radius: 24px; }
  .observation-orbit__core strong { font-size: 33px; }
  .observation-orbit__core small { font-size: 7px; }
  .observation-orbit__node { width: 56px; min-height: 56px; padding: 6px; border-radius: 14px; }
  .observation-orbit__node-logo { width: 42px; height: 42px; }
  .observation-orbit__node-name { display: none; }
  .observation-orbit__node--1 { top: 10px; left: 1%; }
  .observation-orbit__node--2 { top: 31px; right: 1%; }
  .observation-orbit__node--3 { bottom: 34px; left: 2%; }
  .observation-orbit__node--4 { right: 2%; bottom: 8px; }
  .observation-catalog { padding: 30px 0 60px; }
  .observation-product-card { padding: 19px; }
  .observation-product-card__metrics strong { font-size: 14px; }
  .observation-product-card__logo { width: 60px; height: 60px; }
}

/* HedgeMatrix Gold Breakout: independent Chinese and English product documents. */
.gold-breakout-static-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 88% 3%, rgba(39, 100, 231, 0.12), transparent 30rem),
    #f4f7fb;
}

.gold-breakout-static-header {
  background: rgba(244, 247, 251, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.gold-breakout-static-header .site-nav {
  min-height: 78px;
}

.gold-breakout-static-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}

.gold-breakout-static-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 3px;
  color: #526176;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.gold-breakout-static-nav a:hover {
  color: var(--ink);
  background: #eef3f9;
}

.gold-breakout-static-nav .is-primary {
  margin-right: 4px;
  background: var(--accent);
  color: #ffffff;
}

.gold-breakout-static-nav .is-primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.gold-breakout-document {
  padding-bottom: clamp(72px, 9vw, 128px);
}

.gold-breakout-hero {
  padding: clamp(62px, 8vw, 112px) 0 clamp(42px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.gold-breakout-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.gold-breakout-title-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.gold-breakout-title-row h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  color: #0f1728;
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 860;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.gold-breakout-title-row .status {
  flex: 0 0 auto;
  margin-top: 28px;
  background: #fff2dd;
  color: #9a540f;
}

.gold-breakout-hero__lead {
  margin: 0 0 12px;
  color: #1d4fc0;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 740;
}

.gold-breakout-hero__lead + p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.gold-breakout-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.gold-breakout-disabled-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.72;
  pointer-events: none;
}

.gold-breakout-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #ced9e8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.gold-breakout-facts div {
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
}

.gold-breakout-facts div:nth-child(2n) {
  border-right: 0;
}

.gold-breakout-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.gold-breakout-facts dt,
.gold-breakout-facts dd {
  margin: 0;
}

.gold-breakout-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.gold-breakout-facts dd {
  margin-top: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.45;
}

.gold-breakout-toc {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  gap: 6px;
  margin-top: 26px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(38, 72, 124, 0.08);
  backdrop-filter: blur(14px);
}

.gold-breakout-toc a {
  flex: 1 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #526176;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.gold-breakout-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.gold-breakout-section,
.gold-breakout-visual {
  scroll-margin-top: 76px;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #d7e0ec;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-soft);
}

.gold-breakout-section.gold-breakout-accordion,
.gold-breakout-risk.gold-breakout-accordion {
  display: block;
  padding: 0;
  overflow: hidden;
}

.gold-breakout-accordion__summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(22px, 4vw, 38px);
  cursor: pointer;
  list-style: none;
  color: #172033;
  user-select: none;
}

.gold-breakout-accordion__summary::-webkit-details-marker {
  display: none;
}

.gold-breakout-accordion__summary-copy {
  display: grid;
  gap: 5px;
}

.gold-breakout-accordion__summary-copy small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gold-breakout-accordion__summary-copy strong {
  min-width: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.gold-breakout-accordion__indicator {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d5e8;
  border-radius: 50%;
  background: #f5f8ff;
  color: var(--accent);
  font-size: 0;
}

.gold-breakout-accordion__indicator::before {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.gold-breakout-accordion[open] > .gold-breakout-accordion__summary {
  border-bottom: 1px solid #d7e0ec;
  background: #f8faff;
}

.gold-breakout-accordion[open] .gold-breakout-accordion__indicator::before {
  content: "−";
}

.gold-breakout-accordion__content {
  min-width: 0;
  padding: clamp(26px, 4vw, 46px);
  overflow-wrap: anywhere;
}

.gold-breakout-accordion__content > .gold-breakout-section-heading {
  margin-bottom: 22px;
}

.gold-breakout-risk.gold-breakout-accordion {
  grid-template-columns: none;
}

.gold-breakout-risk.gold-breakout-accordion > .gold-breakout-accordion__summary {
  color: #ffffff;
  background: #101827;
}

.gold-breakout-risk.gold-breakout-accordion > .gold-breakout-accordion__summary .gold-breakout-accordion__summary-copy small {
  color: #79a3ff;
}

.gold-breakout-risk.gold-breakout-accordion > .gold-breakout-accordion__summary .gold-breakout-accordion__indicator {
  border-color: #3e506d;
  background: #18243a;
  color: #8bb2ff;
}

.gold-breakout-risk.gold-breakout-accordion > .gold-breakout-accordion__content {
  color: #ced7e5;
}

.gold-breakout-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.gold-breakout-section-heading .license-home-eyebrow,
.gold-breakout-release-card .license-home-eyebrow,
.gold-breakout-risk .license-home-eyebrow {
  margin: 0;
}

.gold-breakout-section-heading h2,
.gold-breakout-release-card h2,
.gold-breakout-risk h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gold-breakout-section-heading > p:last-child {
  max-width: 820px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.gold-breakout-visual figure,
.gold-breakout-dashboard-grid figure {
  margin: 0;
}

.gold-breakout-visual img,
.gold-breakout-dashboard-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #202a36;
  border-radius: 12px;
  background: #05090d;
}

.gold-breakout-visual figcaption,
.gold-breakout-dashboard-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.gold-breakout-prose {
  color: #47566c;
  font-size: 16px;
  line-height: 1.8;
}

.gold-breakout-prose--lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  font-size: 18px;
}

.gold-breakout-prose p,
.gold-breakout-prose ul {
  margin-top: 0;
}

.gold-breakout-prose p:last-child,
.gold-breakout-prose ul:last-child {
  margin-bottom: 0;
}

.gold-breakout-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gold-breakout-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gold-breakout-card-grid article {
  min-width: 0;
  padding: 26px;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  background: #f8faff;
}

.gold-breakout-card-grid article > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.gold-breakout-card-grid h3 {
  margin: 12px 0 10px;
  color: #172033;
  font-size: 21px;
  line-height: 1.35;
}

.gold-breakout-card-grid p,
.gold-breakout-card-grid li {
  color: #526176;
  line-height: 1.75;
}

.gold-breakout-card-grid ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.gold-breakout-card-grid pre {
  margin: 18px 0 0;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  background: #ffffff;
  white-space: pre-wrap;
}

.gold-breakout-card-grid code,
.gold-breakout-note code {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.gold-breakout-note,
.gold-breakout-inline-warning,
.gold-breakout-callout {
  border: 1px solid #bfd0f1;
  border-radius: 12px;
  background: #edf3ff;
  color: #3f5069;
}

.gold-breakout-note {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 20px 22px;
}

.gold-breakout-note p,
.gold-breakout-note code,
.gold-breakout-callout p {
  margin: 0;
}

.gold-breakout-note strong,
.gold-breakout-callout strong {
  color: #183f96;
}

.gold-breakout-inline-warning {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-color: #e9cfa7;
  background: #fff8ec;
  color: #71512a;
}

.gold-breakout-subheading {
  margin: 36px 0 18px;
  color: #172033;
  font-size: 24px;
}

.gold-breakout-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  background: #d9e2ef;
}

.gold-breakout-definition-grid > div {
  padding: 22px;
  background: #ffffff;
}

.gold-breakout-definition-grid strong {
  color: #172033;
}

.gold-breakout-definition-grid p {
  margin: 8px 0 0;
  color: #526176;
  line-height: 1.7;
}

.gold-breakout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.gold-breakout-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-breakout-check-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #ffffff;
  color: #526176;
  line-height: 1.65;
}

.gold-breakout-check-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.gold-breakout-check-list strong {
  color: #172033;
}

.gold-breakout-callout {
  padding: 24px;
}

.gold-breakout-callout p {
  margin-top: 10px;
  line-height: 1.75;
}

.gold-breakout-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.gold-breakout-environment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  background: #ffffff;
}

.gold-breakout-environment div {
  padding: 22px;
  border-right: 1px solid #d9e2ef;
  border-bottom: 1px solid #d9e2ef;
}

.gold-breakout-environment div:nth-child(2n) {
  border-right: 0;
}

.gold-breakout-environment div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.gold-breakout-environment dt,
.gold-breakout-environment dd {
  margin: 0;
}

.gold-breakout-environment dt {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gold-breakout-environment dd {
  margin-top: 8px;
  color: #334258;
  line-height: 1.7;
}

.gold-breakout-risk,
.gold-breakout-release-card {
  margin-top: 28px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 20px;
}

.gold-breakout-risk {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 42px;
  border: 1px solid #27344a;
  background: #101827;
  color: #ced7e5;
  box-shadow: var(--shadow);
}

.gold-breakout-risk .license-home-eyebrow {
  color: #79a3ff;
}

.gold-breakout-risk h2 {
  margin-top: 8px;
  color: #ffffff;
}

.gold-breakout-risk p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.gold-breakout-risk p:last-child {
  margin-bottom: 0;
}

.gold-breakout-release-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid #bed0f3;
  background: #eaf1ff;
}

.gold-breakout-release-card h2 {
  margin-top: 8px;
  font-size: clamp(27px, 3vw, 38px);
}

.gold-breakout-release-card p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: #526176;
}

.gold-breakout-release-card .gold-breakout-hero__actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 920px) {
  .gold-breakout-static-header .site-nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .gold-breakout-static-nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    overflow-x: auto;
  }

  .gold-breakout-hero__grid,
  .gold-breakout-dashboard-grid,
  .gold-breakout-split,
  .gold-breakout-risk {
    grid-template-columns: 1fr;
  }

  .gold-breakout-card-grid--three {
    grid-template-columns: 1fr;
  }

  .gold-breakout-release-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .gold-breakout-release-card .gold-breakout-hero__actions {
    justify-content: flex-start;
  }
}

/* Final local mark: two interlocking strategy rails around one controlled matrix node. */
.public-wordmark::before,
.brand::before,
.license-home-visual__brand::before,
.product-catalog-card__mark::after,
.observation-product-card__logo::after,
.observation-orbit__node-logo::after {
  display: none !important;
}

.public-wordmark__logo,
.brand-logo,
.license-home-visual__brand img {
  display: block !important;
  object-fit: contain;
}

.public-wordmark__logo,
.brand-logo {
  padding: 8px;
  border: 1px solid rgba(166, 153, 255, 0.26) !important;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 50% 34%, rgba(141, 124, 255, 0.11), transparent 68%),
    #0d0d14 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 28px rgba(141, 124, 255, 0.07) !important;
}

.license-home-visual__brand img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 72%;
  filter: drop-shadow(0 14px 28px rgba(141, 124, 255, 0.24));
}

.product-catalog-card__mark,
.observation-product-card__logo,
.observation-orbit__node-logo {
  background:
    url("./assets/hedgematrix-mark-original.png") center / 62% no-repeat,
    radial-gradient(circle at 50% 35%, rgba(141, 124, 255, 0.11), transparent 70%),
    #09090d !important;
}

.product-catalog-card__mark img,
.observation-product-card__logo img,
.observation-orbit__node-logo img { display: none !important; }

/* Floating glass with one restrained travelling edge highlight. */
@property --hm-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.auth-card,
.license-home-visual {
  --hm-border-angle: 0deg;
}

.auth-card::after,
.license-home-visual::after {
  position: absolute;
  z-index: 8;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--hm-border-angle),
    transparent 0deg 246deg,
    rgba(141, 124, 255, 0.04) 258deg,
    rgba(141, 124, 255, 0.88) 284deg,
    rgba(226, 219, 255, 0.96) 300deg,
    rgba(80, 227, 211, 0.68) 314deg,
    transparent 336deg 360deg
  );
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hm-border-orbit 8s linear infinite;
}

.auth-card {
  background:
    radial-gradient(circle at 12% 0, rgba(141, 124, 255, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.018)),
    rgba(11, 11, 17, 0.74) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.11),
    inset 0 -1px rgba(255, 255, 255, 0.018),
    0 40px 120px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(116, 94, 255, 0.08) !important;
}

.auth-card .primary-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(194, 184, 255, 0.58) !important;
}

.auth-card .primary-button::after {
  position: absolute;
  z-index: -1;
  inset: -80% -18%;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.34) 49%, transparent 62%);
  content: "";
  transform: translateX(-68%) rotate(4deg);
  animation: hm-button-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hm-border-orbit { to { --hm-border-angle: 360deg; } }

@keyframes hm-button-sheen {
  0%, 58% { transform: translateX(-74%) rotate(4deg); opacity: 0; }
  65% { opacity: 0.7; }
  82%, 100% { transform: translateX(74%) rotate(4deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card::after,
  .license-home-visual::after,
  .auth-card .primary-button::after { animation: none !important; }
}

@media (max-width: 640px) {
  .gold-breakout-static-page .container {
    width: min(100% - 28px, 980px);
  }

  .gold-breakout-static-header .public-wordmark__logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .gold-breakout-static-header .public-wordmark strong {
    font-size: 22px;
  }

  .gold-breakout-static-header .public-wordmark__copy > span {
    display: none;
  }

  .gold-breakout-static-nav a {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  .gold-breakout-hero {
    padding-top: 46px;
  }

  .gold-breakout-title-row {
    display: block;
  }

  .gold-breakout-title-row h1 {
    margin-top: 14px;
    font-size: clamp(43px, 14vw, 61px);
  }

  .gold-breakout-title-row .status {
    display: inline-flex;
    margin-top: 0;
  }

  .gold-breakout-facts,
  .gold-breakout-prose--lead,
  .gold-breakout-card-grid,
  .gold-breakout-definition-grid,
  .gold-breakout-environment {
    grid-template-columns: 1fr;
  }

  .gold-breakout-facts div,
  .gold-breakout-facts div:nth-child(2n),
  .gold-breakout-facts div:nth-last-child(-n + 2),
  .gold-breakout-environment div,
  .gold-breakout-environment div:nth-child(2n),
  .gold-breakout-environment div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #d9e2ef;
  }

  .gold-breakout-facts div:last-child,
  .gold-breakout-environment div:last-child {
    border-bottom: 0;
  }

  .gold-breakout-toc {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .gold-breakout-section,
  .gold-breakout-visual,
  .gold-breakout-risk,
  .gold-breakout-release-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .gold-breakout-card-grid article {
    padding: 21px;
  }

  .gold-breakout-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gold-breakout-hero__actions .primary-button,
  .gold-breakout-hero__actions .secondary-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Trial allowances and risk-review evidence. */
.trial-change-allowance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 24px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(67, 129, 255, 0.32);
  border-radius: var(--radius-control);
  background: rgba(47, 111, 237, 0.08);
}

.trial-change-allowance strong {
  color: var(--dark-text);
}

.trial-change-allowance span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.14);
  color: #a9c7ff;
  font-size: 12px;
  font-weight: 750;
}

.trial-change-allowance small {
  flex-basis: 100%;
  color: var(--dark-muted);
}

.replacement-risk-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-control);
  background: rgba(245, 158, 11, 0.08);
}

.replacement-risk-summary strong {
  color: #f9c970;
}

.replacement-risk-summary span {
  color: var(--dark-text);
  font-size: 12px;
}

.replacement-risk-summary.is-safe {
  border-color: rgba(26, 185, 135, 0.28);
  background: rgba(26, 185, 135, 0.08);
}

.replacement-risk-summary.is-safe strong {
  color: #51d9ad;
}

@media (max-width: 680px) {
  .trial-change-allowance {
    margin-inline: 16px;
    align-items: flex-start;
  }

  .trial-change-allowance strong {
    flex-basis: 100%;
  }

  .replacement-risk-summary {
    grid-column: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
label[for] {
  cursor: pointer;
}

button {
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

body[data-variant="FINAL"] .prototype-switcher {
  display: none;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

button,
.button {
  min-height: 44px;
  border-radius: var(--radius-control);
}

:focus-visible {
  outline: 3px solid rgba(39, 100, 231, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.prototype-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--toolbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 18px;
  border-bottom: 1px solid #344054;
  background: #121826;
  color: #eef3fb;
  font-size: 13px;
}

.prototype-toolbar__label {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.prototype-toolbar__mark {
  padding: 3px 7px;
  border: 1px solid #59719d;
  border-radius: 6px;
  color: #a9c0f4;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.prototype-toolbar__views {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.prototype-toolbar__views::-webkit-scrollbar {
  display: none;
}

.prototype-view-button,
.prototype-lang-button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #c9d3e2;
  font-size: 13px;
  white-space: nowrap;
}

.prototype-view-button:hover,
.prototype-lang-button:hover,
.prototype-view-button[aria-current="page"] {
  border-color: #3c4a60;
  background: #202a3b;
  color: #ffffff;
}

.page-root {
  min-height: calc(100dvh - var(--toolbar-height));
}

.public-page {
  background:
    radial-gradient(circle at 88% 2%, rgba(39, 100, 231, 0.08), transparent 24rem),
    var(--bg);
}

.dashboard-page {
  color-scheme: dark;
  background: var(--dark-bg);
  color: var(--dark-ink);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.container-wide {
  width: min(1380px, calc(100% - 36px));
  margin-inline: auto;
}

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: #000000;
  object-fit: contain;
}

.brand-sub {
  display: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__links,
.site-nav__actions,
.button-row,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #475467;
  font-size: 14px;
  font-weight: 560;
}

.site-nav__links a:hover {
  color: var(--ink);
}

.site-nav__links a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.button,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:active,
.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.danger-button:active {
  transform: translateY(1px);
}

.primary-button {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(39, 100, 231, 0.2);
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button {
  border-color: #c7d0df;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.secondary-button:hover {
  border-color: #9eaabe;
  background: #ffffff;
}

.ghost-button {
  border-color: transparent;
  background: transparent;
  color: var(--accent);
}

.ghost-button:hover {
  background: var(--accent-soft);
}

.danger-button {
  border-color: rgba(198, 65, 75, 0.3);
  background: rgba(198, 65, 75, 0.12);
  color: #f18d95;
}

.text-link {
  color: var(--accent);
  font-weight: 650;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: calc(100dvh - 116px);
  display: grid;
  align-items: center;
  padding: 52px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 760;
  letter-spacing: -0.065em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  border: 1px solid #cfd7e3;
  border-radius: var(--radius-card);
  background: #080c12;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-visual figcaption {
  display: none;
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.fact-band__item {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.fact-band__item:last-child {
  border-right: 0;
}

.fact-band strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.fact-band span {
  display: none;
}

.section {
  padding: 92px 0;
}

.section-compact {
  padding: 60px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 52px);
}

.section-heading p {
  display: none;
}

.flow-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.flow-step {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 24px 26px 24px 0;
  border-bottom: 1px solid var(--line);
}

.flow-step + .flow-step {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.flow-step__index {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.flow-step h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-board {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(220px, 1fr) 92px;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.plan-row:last-child {
  border-bottom: 0;
}

.plan-row:hover,
.plan-row.is-selected {
  background: #f4f7ff;
}

.plan-row h3,
.plan-row p {
  margin: 0;
}

.plan-row p,
.plan-note {
  display: none;
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}

.plan-row > button {
  width: 92px;
  justify-self: end;
}

.legal-note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  padding: 34px;
  border-radius: var(--radius-card);
  background: #e9eef6;
}

.legal-note h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.legal-note p {
  margin: 0;
  color: #4a5668;
}

.site-footer {
  padding: 34px 0 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__identity {
  display: grid;
  gap: 4px;
}

.site-footer__identity strong {
  color: var(--ink);
  font-size: 14px;
}

.site-footer__contact {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-footer__contact:hover {
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.site-footer__contact:active {
  transform: translateY(1px);
}

.site-footer__contact:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 68%, transparent);
  outline-offset: 2px;
}

.site-footer__contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.site-footer__contact > span {
  display: grid;
  gap: 1px;
}

.site-footer__contact small {
  color: var(--muted);
  font-size: 11px;
}

.site-footer__contact strong {
  color: inherit;
  font-size: 13px;
  font-weight: 720;
}

/* Public detail pages */
.public-subpage .site-nav {
  border-bottom: 1px solid var(--line);
}

.public-subpage__header {
  padding: clamp(52px, 7vw, 88px) 0 30px;
  border-bottom: 1px solid var(--line);
}

.public-subpage__header h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
}

.public-subpage__section {
  padding: 38px 0 56px;
}

.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: stretch;
}

.product-page__grid .hero-visual img {
  height: 100%;
  min-height: 460px;
  aspect-ratio: auto;
  object-position: 62% center;
}

.capability-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.capability-list article {
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.capability-list h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.plans-page .plan-board {
  width: min(900px, 100%);
}

.public-subpage__action {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 72px;
}

/* Variant B: product-led public layout */
.home-b .site-nav {
  border-bottom: 1px solid var(--line);
}

.home-b .hero {
  min-height: auto;
  padding-top: 32px;
}

.home-b .hero-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 22px;
}

.home-b .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  border-radius: var(--radius-card);
  background: #e8eef8;
}

.home-b .hero h1 {
  max-width: 8ch;
  font-size: clamp(48px, 6vw, 74px);
}

.home-b .hero-visual img {
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
  object-position: 62% center;
}

.purchase-rail {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}

.purchase-rail__story {
  display: grid;
  gap: 0;
}

.story-row {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.story-row strong {
  font-size: 18px;
}

.story-row p {
  margin: 0;
  color: var(--muted);
}

.purchase-rail__panel {
  position: sticky;
  top: 72px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.purchase-rail__panel h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.purchase-rail__panel .primary-button {
  width: 100%;
  margin-top: 18px;
}

/* Variant C: compact decision layout */
.home-c .site-nav {
  width: min(1380px, calc(100% - 36px));
  margin-inline: auto;
}

.decision-shell {
  width: min(1380px, calc(100% - 36px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 690px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.decision-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 68px);
  border-right: 1px solid var(--line);
}

.decision-copy h1 {
  max-width: 9ch;
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 76px);
}

.decision-copy p {
  max-width: 44ch;
  color: var(--muted);
}

.decision-console {
  display: grid;
  grid-template-rows: 1fr auto;
  background: #eef3f9;
}

.decision-console__image {
  padding: 24px;
}

.decision-console__image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.decision-console__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.decision-option {
  min-height: 116px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.decision-option:last-child {
  border-right: 0;
}

.decision-option:hover,
.decision-option.is-selected {
  background: var(--accent-soft);
}

.decision-option strong,
.decision-option span {
  display: block;
}

.decision-option span {
  display: none;
}

/* Checkout */
.checkout-shell {
  padding-bottom: 110px;
}

.checkout-header {
  padding: 28px 0 24px;
}

.checkout-header h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 56px);
}

.checkout-header p {
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.checkout-form,
.order-summary,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.checkout-form {
  padding: 30px;
}

.checkout-form > div + div {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.order-summary {
  position: sticky;
  top: 72px;
  padding: 24px;
}

.form-section + .form-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.form-section h2 {
  margin-bottom: 18px;
  font-size: 23px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bfc9d8;
  border-radius: var(--radius-control);
  background: #ffffff;
  color: var(--ink);
}

.field input::placeholder {
  color: #737f91;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.field-help,
.field-error {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.field-help {
  color: var(--muted);
}

.form-section > .field-help {
  margin-top: 10px;
}

.field-error {
  color: var(--danger);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.choice-button {
  min-height: 70px;
  padding: 12px;
  border: 1px solid #c9d2df;
  border-radius: var(--radius-control);
  background: #ffffff;
  text-align: left;
}

.choice-button:hover,
.choice-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice-grid-plans .choice-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.choice-grid-plans .choice-button span {
  display: block;
  color: #526176;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.choice-button strong,
.choice-button span {
  display: block;
}

.choice-button span {
  display: none;
}

.checkout-update-policy {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #bfd0f4;
  border-radius: 12px;
  background: var(--accent-soft);
}

.checkout-update-policy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-update-policy span {
  color: #344054;
  font-weight: 650;
}

.checkout-update-policy strong {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 20px;
}

.checkout-update-policy p {
  margin: 0;
  color: #44516a;
  font-size: 14px;
  line-height: 1.6;
}

.public-page .eyebrow,
.checkout-shell .field-help,
.purchase-rail__panel > .muted {
  display: none;
}

.consent-box {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  padding: 16px;
  border-radius: 12px;
  background: #eef2f7;
  color: #344054;
  font-size: 13px;
}

.consent-box input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.error-summary {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(198, 65, 75, 0.36);
  border-radius: 12px;
  background: #fff1f2;
  color: #9e2933;
}

.error-summary h2 {
  margin-bottom: 7px;
  font-size: 18px;
}

.error-summary p {
  margin: 0;
  font-size: 14px;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.summary-row strong {
  color: var(--ink);
  text-align: right;
}

.summary-total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.order-summary .primary-button {
  width: 100%;
}

.checkout-b .checkout-layout {
  grid-template-columns: 330px minmax(0, 1fr);
}

.checkout-b .order-summary {
  grid-column: 1;
  grid-row: 1;
}

.checkout-b .checkout-form {
  grid-column: 2;
}

.checkout-c .checkout-layout {
  grid-template-columns: 1fr;
}

.checkout-c .checkout-form {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.checkout-c .checkout-form > div + div {
  margin: 0;
  padding: 0 0 0 34px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.checkout-c .order-summary {
  position: static;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.checkout-c .order-summary .summary-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Authentication */
.auth-page {
  min-height: calc(100dvh - var(--toolbar-height));
  display: grid;
  place-items: center;
  padding: 46px 20px 100px;
  background:
    radial-gradient(circle at 20% 20%, rgba(39, 100, 231, 0.1), transparent 26rem),
    var(--bg);
}

.auth-card {
  width: min(480px, 100%);
  padding: 34px;
}

.auth-card .brand {
  margin-bottom: 36px;
}

.auth-card h1 {
  margin-bottom: 10px;
  font-size: 34px;
}

.auth-card > p {
  margin-bottom: 26px;
  color: var(--muted);
}

.auth-card .primary-button {
  width: 100%;
  margin-top: 8px;
}

.auth-card form {
  display: grid;
  gap: 16px;
}

.form-error {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(198, 65, 75, 0.3);
  border-radius: var(--radius-control);
  background: rgba(198, 65, 75, 0.08);
  color: #a52d38;
  font-size: 14px;
}

.auth-b {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 46px 20px 100px;
}

.auth-b__visual {
  min-height: calc(100dvh - var(--toolbar-height));
  display: flex;
  align-items: flex-end;
  padding: 56px;
  background: #0c111a;
  color: #f3f6fb;
}

.auth-b__visual h2 {
  max-width: 10ch;
  font-size: clamp(40px, 5vw, 64px);
}

.auth-b .auth-card {
  align-self: center;
  justify-self: center;
}

.auth-c .auth-card {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
}

.auth-c__aside {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

/* Customer and admin dashboards */
.app-shell {
  min-height: calc(100dvh - var(--toolbar-height));
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: var(--toolbar-height);
  height: calc(100dvh - var(--toolbar-height));
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  border-right: 1px solid var(--dark-line);
  background: #0e1521;
}

.app-sidebar .brand {
  padding: 0 8px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.app-sidebar .brand-sub {
  color: var(--dark-muted);
}

.sidebar-nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.sidebar-button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--dark-muted);
  text-align: left;
  font-size: 14px;
}

.sidebar-button:hover,
.sidebar-button[aria-current="page"] {
  border-color: #34415a;
  background: #182235;
  color: var(--dark-ink);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 10px 4px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 12px;
}

.app-main {
  min-width: 0;
  padding: 28px 30px 110px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.app-topbar h1 {
  margin-bottom: 5px;
  font-size: 30px;
}

.app-topbar p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 14px;
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.compact-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-muted);
  font-size: 13px;
}

.compact-select select {
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  border: 1px solid #39465d;
  border-radius: var(--radius-control);
  background: #101a29;
  color: var(--dark-ink);
}

.portal-license-switcher {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin: -4px 0 22px;
  padding: 14px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-panel);
  background: #0f1928;
}

.portal-license-switcher__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.portal-license-switcher__heading span {
  color: var(--dark-muted);
  font-size: 12px;
}

.portal-license-switcher__heading strong {
  color: var(--dark-ink);
  font-size: 15px;
}

.portal-license-switcher__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-license-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #334158;
  border-radius: 12px;
  background: #121e30;
  color: var(--dark-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.portal-license-option:hover {
  border-color: #5374aa;
  background: #16253a;
}

.portal-license-option:focus-visible {
  outline: 3px solid rgba(74, 139, 255, 0.32);
  outline-offset: 2px;
}

.portal-license-option.is-current {
  border-color: #3978e8;
  background: #132742;
  box-shadow: inset 0 0 0 1px rgba(74, 139, 255, 0.2);
}

.portal-license-option__badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1b3358;
  color: #83adff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.portal-license-option__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.portal-license-option__copy strong,
.portal-license-option__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-license-option__copy strong {
  font-size: 14px;
}

.portal-license-option__copy small {
  color: var(--dark-muted);
  font-size: 11px;
}

.dashboard-page .app-topbar .eyebrow,
.dashboard-page .app-topbar > div > p:last-child,
.dashboard-page .panel-header p,
.sidebar-footer {
  display: none;
}

.app-topbar .secondary-button,
.dashboard-page .secondary-button {
  border-color: #39465d;
  background: #172132;
  color: var(--dark-ink);
}

.dashboard-page .primary-button {
  box-shadow: none;
}

.metric-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  margin-bottom: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-card);
  background: var(--dark-surface);
  overflow: hidden;
}

.metric {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid var(--dark-line);
}

.metric:last-child {
  border-right: 0;
}

.metric span {
  display: block;
  margin-bottom: 12px;
  color: var(--dark-muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.metric small {
  display: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 24px;
}

.dashboard-grid > * {
  min-width: 0;
}

.dark-panel {
  min-width: 0;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-card);
  background: var(--dark-surface);
  overflow: hidden;
}

.dark-panel + .dark-panel {
  margin-top: 20px;
}

.panel-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.panel-header h2,
.panel-header h3,
.panel-header p {
  margin: 0;
}

.panel-header h2,
.panel-header h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.panel-header p {
  color: var(--dark-muted);
  font-size: 13px;
}

.panel-body {
  padding: 20px;
}

.table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--dark-line);
  text-align: left;
  white-space: nowrap;
}

.data-table th {
  color: var(--dark-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: #141e2e;
}

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

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.status-online,
.status-active {
  background: rgba(22, 132, 91, 0.18);
  color: #67dbad;
}

.status-warning {
  background: rgba(178, 91, 19, 0.18);
  color: #f0ad69;
}

.status-offline,
.status-revoked {
  background: rgba(198, 65, 75, 0.18);
  color: #f18d95;
}

.status-neutral {
  background: rgba(108, 139, 196, 0.16);
  color: #a9bee5;
}

.preactivation-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--dark-line);
  background: rgba(39, 100, 231, 0.07);
}

.preactivation-summary strong {
  color: var(--dark-ink);
  font-size: 15px;
}

.preactivation-summary span {
  color: #b8c4d7;
  font-size: 14px;
}

.preactivation-list {
  display: grid;
}

.preactivation-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.48fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.preactivation-row:last-child {
  border-bottom: 0;
}

.preactivation-row.is-editing {
  background: #0f1928;
}

.preactivation-slot {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--dark-ink);
  font-weight: 720;
}

.preactivation-details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.preactivation-details strong {
  color: var(--dark-ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.preactivation-details span,
.preactivation-complete {
  color: var(--dark-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.preactivation-row__action {
  justify-self: end;
}

.preactivation-action {
  min-width: 92px;
  min-height: 38px;
  padding: 7px 14px;
}

.preactivation-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-line);
}

.preactivation-editor__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.preactivation-editor__heading strong {
  color: var(--dark-ink);
  font-size: 16px;
}

.preactivation-editor__heading span {
  color: var(--dark-muted);
  font-size: 13px;
}

.preactivation-editor__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.preactivation-field {
  display: grid;
  gap: 7px;
}

.preactivation-field > span {
  color: #c7d2e3;
  font-size: 13px;
  font-weight: 650;
}

.preactivation-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #39465d;
  border-radius: var(--radius-control);
  background: #0b1421;
  color: var(--dark-ink);
}

.preactivation-field input::placeholder {
  color: #74839a;
}

.preactivation-editor__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preactivation-error {
  margin: 0;
  color: #f18d95;
  font-size: 13px;
}

.account-monitor-table {
  min-width: 1120px;
}

.account-mode {
  color: var(--dark-ink);
  font-weight: 700;
}

.table-action-button {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 12px;
}

.replacement-history {
  border-top: 1px solid var(--dark-line);
}

.replacement-history__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.replacement-history__row:last-child {
  border-bottom: 0;
}

.replacement-history__row > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.replacement-history__row strong,
.replacement-history__row span {
  overflow-wrap: anywhere;
}

.replacement-history__row > div > span {
  color: var(--dark-muted);
  font-size: 13px;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted);
}

.dashboard-page .muted {
  color: var(--dark-muted);
}

.dashboard-page .summary-row {
  color: var(--dark-muted);
}

.dashboard-page .summary-row strong {
  color: var(--dark-ink);
}

.account-list,
.activity-list,
.version-list {
  display: grid;
}

.account-row,
.activity-row,
.version-row {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.account-row:last-child,
.activity-row:last-child,
.version-row:last-child {
  border-bottom: 0;
}

.account-row {
  grid-template-columns: 1fr 1fr auto;
}

.activity-row {
  grid-template-columns: 110px 1fr;
}

.activity-row time {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.activity-row p {
  margin: 0;
  font-size: 13px;
}

.version-row {
  grid-template-columns: 1fr auto;
}

.version-row h3,
.version-row p {
  margin: 0;
}

.version-row p {
  margin-top: 5px;
  color: var(--dark-muted);
  font-size: 12px;
}

.dashboard-section-stack {
  display: grid;
  gap: 20px;
}

.app-main--license-detail {
  padding-inline: clamp(22px, 3vw, 44px);
}

.app-main--license-detail > .app-topbar,
.app-main--license-detail > .license-detail-stack {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.license-detail-stack {
  gap: 18px;
}

.account-slot-breakdown {
  display: grid;
  gap: 3px;
  font-size: 17px;
  line-height: 1.3;
}

.license-detail-back {
  justify-self: start;
  margin: -8px 0 0;
  cursor: pointer;
}

.license-overview-panel > .panel-body {
  padding-block: 18px 20px;
}

.license-overview-panel .compact-summary-grid > div {
  min-height: 88px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.license-overview-actions {
  justify-content: flex-end;
  margin-top: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--dark-line);
}

.dashboard-section-stack > .dark-panel + .dark-panel,
.license-detail-grid > .dark-panel + .dark-panel {
  margin-top: 0;
}

.metric-status-active,
.is-positive {
  color: #67dbad !important;
}

.is-negative {
  color: #f18d95 !important;
}

.performance-scope {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.performance-metric {
  min-width: 0;
  padding: 24px 20px;
  border-right: 1px solid var(--dark-line);
}

.performance-metric:last-child {
  border-right: 0;
}

.performance-metric span {
  display: block;
  margin-bottom: 12px;
  color: var(--dark-muted);
  font-size: 13px;
}

.performance-metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.performance-updated {
  padding: 11px 20px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 12px;
  text-align: right;
}

.money-cell {
  font-family: var(--font-mono);
  font-weight: 700;
}

.portal-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 18px 20px;
}

.portal-quick-actions h2 {
  margin: 0;
  font-size: 18px;
}

.portal-quick-actions .button-row {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ea-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ea-download-row > .button-row {
  flex-wrap: wrap;
}

.ea-download-file {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.ea-file-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #355785;
  border-radius: 10px;
  background: #17294a;
  color: #8bb5ff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.ea-download-file > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ea-download-file strong {
  color: var(--dark-ink);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.ea-download-file > div > span {
  color: var(--dark-muted);
  font-size: 13px;
}

.ea-admin-current {
  display: flex;
  align-items: center;
  min-height: 96px;
}

.ea-upload-form .panel-actions {
  margin-top: 20px;
}

.ea-file-picker {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid #39465d;
  border-radius: 8px;
  background: #101a29;
  color: var(--dark-ink);
  cursor: pointer;
}

.ea-file-picker:hover,
.ea-file-picker:focus-within {
  border-color: var(--accent);
}

.ea-file-picker span {
  flex: 0 0 auto;
  color: #8fb4ff;
  font-weight: 700;
}

.ea-file-picker strong {
  min-width: 0;
  overflow: hidden;
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field input.ea-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.portal-install-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-install-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-line);
}

.portal-install-list li:first-child {
  padding-top: 0;
}

.portal-install-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portal-install-list li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #355785;
  border-radius: 8px;
  background: #172946;
  color: #8fb4ff;
  font-weight: 800;
}

.portal-install-list p {
  margin: 0;
  color: var(--dark-ink);
  font-size: 16px;
  line-height: 1.65;
}

.empty-portal-access {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  text-align: center;
}

.empty-portal-access h2 {
  margin: 0;
  color: var(--dark-ink);
}

.license-command__body {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
}

.license-key-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--dark-line);
  background: linear-gradient(145deg, rgba(45, 100, 220, 0.13), rgba(13, 20, 32, 0));
}

.license-key-card > span,
.info-tile span,
.compact-summary-grid span {
  color: var(--dark-muted);
  font-size: 12px;
}

.license-key-card code {
  color: var(--dark-ink);
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 750;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.activation-steps {
  display: grid;
  padding: 12px 20px;
}

.activation-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  padding: 13px 0;
}

.activation-step:not(:last-child)::after {
  position: absolute;
  top: 47px;
  bottom: -1px;
  left: 17px;
  width: 1px;
  background: var(--dark-line);
  content: "";
}

.activation-step > span {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #41516d;
  border-radius: 50%;
  background: #172236;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.activation-step.is-complete > span,
.activation-step.is-current > span {
  border-color: rgba(60, 182, 134, 0.55);
  background: rgba(22, 132, 91, 0.2);
  color: #82e3bd;
}

.activation-step strong,
.activation-step small {
  display: block;
}

.activation-step strong {
  margin: 2px 0 4px;
  color: var(--dark-ink);
  font-size: 14px;
}

.activation-step small {
  display: none;
}

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

.license-detail-grid > * {
  min-width: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info-tile {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  background: #101a29;
}

.info-tile strong,
.info-tile small {
  display: block;
  overflow-wrap: anywhere;
}

.info-tile strong {
  margin-top: 7px;
  color: var(--dark-ink);
  font-size: 14px;
}

.info-tile small {
  display: none;
}

.panel-actions {
  margin-top: 16px;
}

.boundary-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--dark-line);
}

.boundary-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.boundary-list strong {
  color: var(--dark-ink);
  font-size: 13px;
}

.boundary-list span {
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.6;
}

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

.compact-summary-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  background: #101a29;
}

.compact-summary-grid strong,
.compact-summary-grid small {
  display: block;
}

.compact-summary-grid strong {
  margin-top: 8px;
  color: var(--dark-ink);
  font-size: 16px;
}

.compact-summary-grid small {
  display: none;
}

.dashboard-page .version-row p {
  display: none;
}

.dashboard-page .build-queue-panel .version-row p {
  display: block;
}

.build-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.build-progress progress {
  width: 100%;
  height: 8px;
  border: 0;
  accent-color: #39a77a;
}

.build-progress span {
  flex: 0 0 auto;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.build-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.build-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  background: #101a29;
}

.build-stage > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #41516d;
  border-radius: 50%;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.build-stage.is-complete > span,
.build-stage.is-current > span {
  border-color: rgba(60, 182, 134, 0.55);
  background: rgba(22, 132, 91, 0.2);
  color: #82e3bd;
}

.build-stage strong,
.build-stage small {
  display: block;
}

.build-stage strong {
  margin-bottom: 4px;
  color: var(--dark-ink);
  font-size: 13px;
}

.build-stage small {
  color: var(--dark-muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.notice-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-v141-warning {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #d5a64b;
  border-radius: 12px;
  background: #fff5dc;
  color: #56390e;
  line-height: 1.5;
}
.download-v141-warning strong { flex: 0 0 auto; }

.notice-card > strong {
  color: var(--dark-ink);
  white-space: nowrap;
}

.notice-card > p {
  flex: 1;
  margin: 0;
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.55;
}

.license-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.4fr) auto auto;
  align-items: end;
  gap: 14px;
}

.license-filter-bar--single {
  grid-template-columns: minmax(260px, 1fr) auto auto;
}

.customer-identity {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.customer-identity strong {
  max-width: 260px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.customer-identity small {
  color: var(--dark-muted);
  font-size: 11px;
}

.activation-key-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.activation-key-cell code {
  max-width: 250px;
  overflow: hidden;
  color: #dbe8fa;
  font-family: var(--font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  user-select: all;
  white-space: nowrap;
}

.activation-key-cell--masked > span {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.activation-key-eye {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #334968;
  border-radius: 10px;
  background: transparent;
  color: #9db9e2;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.activation-key-eye:hover {
  border-color: #4d7ed4;
  background: rgba(47, 111, 237, 0.12);
  color: #dbe9ff;
}

.activation-key-eye:focus-visible {
  outline: 3px solid rgba(104, 157, 255, 0.62);
  outline-offset: 2px;
}

.activation-key-eye:disabled {
  opacity: 0.5;
  cursor: wait;
}

.activation-key-eye svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.activation-key-copy {
  color: #77a6ea;
}

.slot-summary {
  display: block;
  color: var(--dark-ink);
}

.slot-summary + .slot-summary {
  margin-top: 4px;
  color: var(--dark-muted);
}

.build-version-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.build-version-cell > strong {
  color: var(--dark-ink);
  font-variant-numeric: tabular-nums;
}

.build-version-cell .status {
  white-space: nowrap;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--dark-line);
}

.table-pagination p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.table-pagination .secondary-button {
  min-height: 38px;
  border-color: #31435e;
  background: #111c2c;
  color: var(--dark-ink);
}

.table-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.danger-button--quiet {
  border-color: transparent;
  background: transparent;
}

.audit-event-row p {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.audit-event-row p span,
.audit-event-row p small {
  color: var(--dark-muted);
  overflow-wrap: anywhere;
}

.recycle-bin-intro strong {
  color: var(--dark-ink);
}

.recycle-bin-intro p {
  max-width: 78ch;
  margin: 8px 0 0;
  color: var(--dark-muted);
  line-height: 1.65;
}

.collapsible-panel > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.collapsible-panel > summary::-webkit-details-marker {
  display: none;
}

.collapsible-panel:not([open]) > summary {
  border-bottom-color: transparent;
}

.collapsible-panel > summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-left: 2px;
  border: 1px solid #31435e;
  border-radius: 9px;
  color: #9dbcf4;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
}

.collapsible-panel[open] > summary::after {
  content: "−";
}

.collapsible-panel > summary:hover {
  background: rgba(47, 111, 241, 0.055);
}

.collapsible-panel > summary:focus-visible {
  outline: 3px solid rgba(87, 145, 255, 0.5);
  outline-offset: -3px;
}

.collapsible-panel__summary > div {
  min-width: 0;
  flex: 1 1 auto;
}

.collapsible-panel__summary .status {
  flex: 0 0 auto;
}

.collapsible-panel__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.customer-lifecycle-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  background: rgba(47, 111, 241, 0.045);
}

.customer-lifecycle-strip > div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  align-content: center;
  min-height: 92px;
  padding: 15px 18px;
  border-right: 1px solid var(--dark-line);
}

.customer-lifecycle-strip > div:last-child {
  border-right: 0;
}

.customer-lifecycle-strip span {
  grid-row: 1 / 3;
  align-self: start;
  color: #6f9fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}

.customer-lifecycle-strip strong {
  color: var(--dark-ink);
  font-size: 13px;
}

.customer-lifecycle-strip small,
.customer-payment-table small,
.recycle-reason small,
.recycle-actions small {
  display: block;
  color: var(--dark-muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.customer-payment-table td {
  vertical-align: top;
}

.customer-payment-table td > strong,
.customer-payment-table td > .status,
.customer-payment-table td > time {
  display: inline-block;
  margin-bottom: 5px;
}

.customer-payment-table time {
  color: var(--dark-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.customer-payment-table .payment-restored-note {
  color: #67dbad;
}

.payment-history-state {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--dark-muted);
}

.payment-history-state--error {
  color: #ffb0b6;
}

.recycle-reason,
.recycle-actions {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 7px;
}

.recycle-actions .primary-button {
  min-height: 38px;
}

@media (max-width: 1080px) {
  .customer-lifecycle-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-lifecycle-strip > div:nth-child(2n) {
    border-right: 0;
  }

  .customer-lifecycle-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--dark-line);
  }
}

.sensitive-action-modal form {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.sensitive-action-modal .field label {
  color: var(--muted);
}

@media (max-width: 560px) {
  .customer-lifecycle-strip {
    grid-template-columns: 1fr;
  }

  .customer-lifecycle-strip > div,
  .customer-lifecycle-strip > div:nth-child(2n) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .customer-lifecycle-strip > div:last-child {
    border-bottom: 0;
  }

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

  .table-pagination .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-pagination .secondary-button {
    width: 100%;
  }

  .activation-key-cell code {
    max-width: 190px;
  }
}

/* Local BG agent-benefit placement preview. */
.bg-agent-benefit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(49, 213, 164, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(38, 110, 244, 0.34), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(36, 210, 165, 0.2), transparent 40%),
    #081827;
  color: #f7fbff;
  box-shadow: 0 24px 70px rgba(5, 22, 37, 0.18);
}

.bg-agent-benefit::after {
  position: absolute;
  top: -72px;
  right: -46px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(50, 222, 170, 0.08);
  border-radius: 50%;
  content: "";
}

.bg-agent-benefit__main {
  position: relative;
  z-index: 1;
}

.bg-agent-benefit__badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.bg-agent-benefit__badge {
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(93, 235, 190, 0.36);
  background: rgba(21, 57, 70, 0.76);
  color: #bff9e5;
  font-size: 13px;
}

.bg-agent-benefit__brand {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 3px;
  border-radius: 999px;
  background: #38dda9;
  color: #05261d;
}

.bg-agent-benefit__brand img {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.bg-agent-benefit__brand b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 950;
}

.bg-agent-benefit h2 {
  max-width: 620px;
  margin: 17px 0 13px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.bg-agent-benefit__main > p {
  max-width: 690px;
  margin: 0;
  color: #b6c7d8;
  font-size: 16px;
  line-height: 1.8;
}

.bg-agent-benefit__signup,
.bg-agent-benefit-modal__signup {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #70e9c1;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.bg-agent-benefit__signup:hover,
.bg-agent-benefit__signup:focus-visible,
.bg-agent-benefit-modal__signup:hover,
.bg-agent-benefit-modal__signup:focus-visible {
  color: #a5f5da;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bg-agent-benefit__signup span,
.bg-agent-benefit-modal__signup span {
  font-size: 15px;
}

.bg-agent-benefit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bg-agent-benefit__primary,
.bg-agent-benefit__secondary {
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.bg-agent-benefit__primary {
  border: 1px solid #42e2ae;
  background: #38dda9;
  color: #05261d;
  box-shadow: 0 12px 28px rgba(56, 221, 169, 0.2);
}

.bg-agent-benefit__primary:hover,
.bg-agent-benefit__primary:focus-visible {
  background: #63eabb;
}

.bg-agent-benefit__secondary {
  border: 1px solid rgba(201, 220, 238, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f9fd;
}

.product-catalog-card__status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.bg-agent-modal-backdrop {
  background: rgba(3, 12, 22, 0.76);
  backdrop-filter: blur(8px);
}

.modal.bg-agent-benefit-modal {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}

.bg-agent-benefit-modal__header {
  padding: 30px 32px 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(55, 222, 169, 0.18), transparent 40%),
    #091a2a;
  color: #fff;
}

.modal.bg-agent-benefit-modal .bg-agent-benefit-modal__header h2 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
}

.modal.bg-agent-benefit-modal .bg-agent-benefit-modal__header p {
  margin: 0;
  color: #aec1d2;
  line-height: 1.7;
}

.bg-agent-benefit-modal__product-picker {
  margin: 24px 32px 0;
  padding: 0;
  border: 0;
}

.bg-agent-benefit-modal__product-picker legend {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ink);
}

.bg-agent-benefit-modal__product-picker legend span {
  font-size: 15px;
  font-weight: 850;
}

.bg-agent-benefit-modal__product-picker legend small {
  color: var(--muted);
  font-weight: 550;
}

.bg-agent-benefit-modal__product-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bg-agent-benefit-modal__product-options label {
  position: relative;
  cursor: pointer;
}

.bg-agent-benefit-modal__product-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bg-agent-benefit-modal__product-options label > span {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.bg-agent-benefit-modal__product-options strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.bg-agent-benefit-modal__product-options small {
  color: var(--muted);
}

.bg-agent-benefit-modal__product-options input:focus-visible + span {
  outline: 3px solid rgba(46, 103, 229, 0.2);
  outline-offset: 2px;
}

.bg-agent-benefit-modal__product-options input:checked + span {
  border-color: #2e67e5;
  background: #f1f5ff;
  box-shadow: inset 0 0 0 1px #2e67e5;
}

.bg-agent-benefit-modal__product-options input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 10px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #2e67e5;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.bg-agent-benefit-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px 32px 18px;
}

.bg-agent-benefit-modal__fields label.is-wide {
  grid-column: 1 / -1;
}

.bg-agent-benefit-modal__fields label,
.bg-agent-benefit-modal__fields label > span {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.bg-agent-benefit-modal__fields input,
.bg-agent-benefit-modal__fields select {
  width: 100%;
  height: 49px;
}

.bg-agent-benefit-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 32px 10px;
}

.bg-agent-benefit-modal__demo-note {
  display: block;
  padding: 0 32px 26px;
  color: var(--muted);
  line-height: 1.6;
}

.bg-agent-review-pending__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(96, 235, 188, 0.28);
  border-radius: 999px;
  background: rgba(48, 210, 156, 0.14);
  color: #8af0cc;
  font-size: 13px;
  font-weight: 800;
}

.bg-agent-review-pending__status span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #31d29c;
  color: #082419;
}

.bg-agent-review-pending__timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 26px 32px 20px;
  list-style: none;
}

.bg-agent-review-pending__product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: center;
  margin: 24px 32px 0;
  padding: 16px 18px;
  border: 1px solid #bcd0fb;
  border-radius: 15px;
  background: #f2f6ff;
}

.bg-agent-review-pending__product small {
  grid-column: 1;
  color: var(--muted);
}

.bg-agent-review-pending__product strong {
  grid-column: 1;
  color: var(--ink);
  font-size: 17px;
}

.bg-agent-review-pending__product span {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: #dfe9ff;
  color: #164cbf;
  font-size: 12px;
  font-weight: 800;
}

.bg-agent-review-pending__timeline li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8fafc;
}

.bg-agent-review-pending__timeline li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #e8eef7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.bg-agent-review-pending__timeline li > div {
  display: grid;
  gap: 4px;
}

.bg-agent-review-pending__timeline strong {
  color: var(--ink);
  font-size: 15px;
}

.bg-agent-review-pending__timeline small {
  color: var(--muted);
  line-height: 1.5;
}

.bg-agent-review-pending__timeline li.is-complete {
  border-color: #bfe9db;
  background: #f0fbf7;
}

.bg-agent-review-pending__timeline li.is-complete > span {
  background: #d6f6ea;
  color: #087654;
}

.bg-agent-review-pending__timeline li.is-current {
  border-color: #9cbcff;
  background: #f2f6ff;
  box-shadow: 0 0 0 3px rgba(46, 103, 229, 0.08);
}

.bg-agent-review-pending__timeline li.is-current > span {
  background: #2e67e5;
  color: #fff;
}

.bg-agent-review-pending__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2px 32px 12px;
}

@media (max-width: 900px) {
  .bg-agent-benefit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .bg-agent-benefit {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .bg-agent-benefit h2 {
    font-size: 31px;
  }

  .bg-agent-benefit__actions,
  .bg-agent-benefit-modal__fields,
  .bg-agent-benefit-modal__product-options {
    grid-template-columns: 1fr;
  }

  .bg-agent-benefit__actions {
    display: grid;
  }

  .bg-agent-benefit__primary,
  .bg-agent-benefit__secondary {
    width: 100%;
  }

  .bg-agent-benefit-modal__header,
  .bg-agent-benefit-modal__fields,
  .bg-agent-benefit-modal__actions,
  .bg-agent-review-pending__timeline,
  .bg-agent-review-pending__actions {
    padding-right: 20px;
    padding-left: 20px;
  }

  .bg-agent-benefit-modal__product-picker,
  .bg-agent-review-pending__product {
    margin-right: 20px;
    margin-left: 20px;
  }

  .bg-agent-benefit-modal__product-picker legend {
    display: grid;
  }

  .bg-agent-benefit-modal__fields label.is-wide {
    grid-column: auto;
  }

  .bg-agent-benefit-modal__demo-note {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.bitget-free-review-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bitget-free-review-flow > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 15px;
  border: 1px solid #2b3c58;
  border-radius: 14px;
  background: #0e1a2c;
}

.bitget-free-review-flow > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(52, 216, 167, 0.14);
  color: #62e6bd;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
}

.bitget-free-review-flow p,
.bitget-free-review-flow strong,
.bitget-free-review-flow small {
  display: block;
  margin: 0;
}

.bitget-free-review-flow strong {
  color: #f5f8fd;
}

.bitget-free-review-flow small {
  margin-top: 4px;
  color: #90a5bf;
  line-height: 1.45;
}

.bitget-free-review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bitget-free-review-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 8px 7px 13px;
  border: 1px solid #2b3c58;
  border-radius: 999px;
  background: #0e1a2c;
  color: #9eb0c7;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bitget-free-review-filter:hover {
  border-color: #5277ad;
  color: #f5f8fd;
  transform: translateY(-1px);
}

.bitget-free-review-filter:focus-visible {
  outline: 3px solid rgba(79, 139, 255, 0.34);
  outline-offset: 2px;
}

.bitget-free-review-filter.is-active {
  border-color: #4f8bff;
  background: rgba(47, 107, 255, 0.18);
  color: #fff;
}

.bitget-free-review-filter b {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(143, 164, 190, 0.14);
  color: #f5f8fd;
  font-family: var(--font-mono);
  font-size: 11px;
}

.bitget-free-review-filter.is-active b {
  background: #2f6bff;
  color: #fff;
}

.bitget-free-review-list {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.bitget-free-review-card {
  overflow: hidden;
  border: 1px solid #2b3c58;
  border-radius: 17px;
  background: #0e1a2c;
}

.bitget-free-review-card > header,
.bitget-free-review-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
}

.bitget-free-review-card > header {
  border-bottom: 1px solid #253652;
}

.bitget-free-review-card > footer {
  border-top: 1px solid #253652;
}

.bitget-free-review-card > header small,
.bitget-free-review-card > header h3,
.bitget-free-review-card > footer small {
  display: block;
  margin: 0;
}

.bitget-free-review-card > header small,
.bitget-free-review-card > footer small {
  color: #8fa4be;
}

.bitget-free-review-card > header h3 {
  margin-top: 5px;
  color: #fff;
  font-size: 18px;
}

.bitget-free-review-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bitget-free-review-facts > div {
  min-width: 0;
  padding: 17px 19px;
  border-right: 1px solid #253652;
}

.bitget-free-review-facts > div:last-child {
  border-right: 0;
}

.bitget-free-review-facts span,
.bitget-free-review-facts strong {
  display: block;
}

.bitget-free-review-facts span {
  color: #8299b4;
  font-size: 12px;
}

.bitget-free-review-facts strong {
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: #f3f7fc;
  font-size: 14px;
  line-height: 1.45;
}

.bitget-free-review-issued,
.bitget-free-review-rejected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 19px 17px;
  padding: 15px 16px;
  border-radius: 13px;
}

.bitget-free-review-issued {
  border: 1px solid rgba(50, 218, 166, 0.3);
  background: rgba(27, 161, 119, 0.1);
}

.bitget-free-review-issued small,
.bitget-free-review-issued code {
  display: block;
}

.bitget-free-review-issued small {
  color: #91b6aa;
}

.bitget-free-review-issued code {
  margin-top: 6px;
  color: #7aebc8;
  font-size: 16px;
  font-weight: 800;
}

.bitget-free-review-rejected {
  border: 1px solid rgba(248, 102, 122, 0.3);
  background: rgba(189, 45, 68, 0.1);
  color: #ff9bad;
}

.bitget-free-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.bitget-free-review-error {
  margin: 16px 20px 0;
}

.bitget-portal-status .panel-body {
  display: grid;
  gap: 16px;
}

.bitget-portal-status__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bitget-portal-status__heading small {
  color: #5eead4;
  font-weight: 800;
  letter-spacing: .04em;
}

.bitget-portal-status__heading h2 {
  margin: 5px 0 0;
}

.bitget-portal-status p {
  margin: 0;
  color: var(--dashboard-muted);
  line-height: 1.75;
}

.bitget-portal-status__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bitget-portal-status__facts span {
  border: 1px solid var(--dashboard-border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--dashboard-muted);
}

.bitget-portal-status__facts b {
  color: var(--dashboard-text);
}

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

  .bitget-free-review-facts > div {
    border-right: 0;
    border-bottom: 1px solid #253652;
  }
}

@media (max-width: 720px) {
  .bitget-free-review-flow,
  .bitget-free-review-facts {
    grid-template-columns: 1fr;
  }

  .bitget-free-review-card > header,
  .bitget-free-review-card > footer,
  .bitget-free-review-issued,
  .bitget-free-review-rejected {
    align-items: flex-start;
    flex-direction: column;
  }
}

.license-issuer {
  border-color: #344a72;
}

.license-issuer > .panel-header {
  background: #111d30;
}

.license-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.license-issue-grid__wide {
  grid-column: 1 / -1;
}

.license-issue-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
}

.license-issue-result {
  display: grid;
  gap: 22px;
}

.license-issue-result__lead h3,
.license-issue-result__lead p {
  margin: 0;
}

.license-issue-result__lead h3 {
  margin-bottom: 6px;
  color: var(--dark-ink);
  font-size: 20px;
}

.license-issue-result__lead p {
  color: var(--dark-muted);
  font-size: 14px;
}

.activation-key-output {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #405375;
  border-radius: var(--radius-control);
  background: #0c1625;
}

.activation-key-output code {
  min-width: 0;
  flex: 1;
  color: #eef4ff;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.license-issue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-control);
  overflow: hidden;
}

.license-issue-summary > div {
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid var(--dark-line);
}

.license-issue-summary > div:last-child {
  border-right: 0;
}

.license-issue-summary dt,
.license-issue-summary dd {
  margin: 0;
}

.license-issue-summary dt {
  margin-bottom: 7px;
  color: var(--dark-muted);
  font-size: 12px;
}

.license-issue-summary dd {
  color: var(--dark-ink);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.dashboard-page .field label {
  color: var(--dark-muted);
}

.dashboard-page .field input,
.dashboard-page .field select,
.dashboard-page .field textarea {
  border-color: #39465d;
  background: #101a29;
  color: var(--dark-ink);
}

.dashboard-page .field textarea {
  width: 100%;
  padding: 10px 12px;
  border-style: solid;
  border-width: 1px;
  border-radius: var(--radius-control);
  resize: vertical;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.settings-grid__wide {
  grid-column: 1 / -1;
}

.switch-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-ink);
  font-size: 14px;
  font-weight: 650;
}

.switch-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.observation-account-editor .panel-body {
  display: grid;
  gap: 18px;
}

.observation-account-editor input[readonly] {
  color: #9db0c9;
  cursor: default;
}

.observation-account-note {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(87, 145, 255, 0.28);
  border-radius: var(--radius-control);
  background: rgba(47, 111, 241, 0.09);
  color: #b8c7da;
  font-size: 13px;
  line-height: 1.65;
}

.observation-currency-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(126, 159, 205, 0.3);
  border-radius: var(--radius-control);
  background: rgba(126, 159, 205, 0.09);
  color: #d9e4f2;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.observation-currency-badge--usc {
  border-color: rgba(246, 188, 86, 0.34);
  background: rgba(246, 188, 86, 0.11);
  color: #ffd58a;
}

.observation-login-stack {
  display: grid;
  gap: 4px;
}

.observation-login-stack strong {
  color: inherit;
  font: inherit;
}

.observation-login-stack small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  white-space: nowrap;
}

.observation-currency-form {
  display: grid;
  flex: 1 0 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  text-align: left;
}

.observation-display-login-form {
  display: grid;
  flex: 1 0 100%;
  width: 100%;
  text-align: left;
}

.observation-display-login-form .field {
  min-width: 0;
}

.modal:has(.observation-display-login-form) {
  width: min(560px, 100%);
}

.modal .button-row:has(.observation-display-login-form) {
  align-items: stretch;
  flex-wrap: wrap;
}

.modal .button-row:has(.observation-display-login-form) > button {
  min-height: 44px;
}

.modal:has(.observation-currency-form) {
  width: min(680px, 100%);
}

.modal .button-row:has(.observation-currency-form) {
  flex-wrap: wrap;
}

.observation-delete-form {
  flex: 1 0 100%;
  width: 100%;
  text-align: left;
}

.modal .button-row:has(.observation-delete-form) {
  flex-wrap: wrap;
}

.observation-currency-form .field {
  min-width: 0;
}

.observation-currency-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(246, 188, 86, 0.32);
  border-radius: var(--radius-control);
  background: rgba(246, 188, 86, 0.09);
  color: #f4d59c;
  font-size: 12px;
  line-height: 1.6;
}

.observation-account-list strong,
.observation-account-list .mono {
  overflow-wrap: anywhere;
}

.form-actions,
.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-page .form-error {
  border-color: rgba(241, 141, 149, 0.35);
  background: rgba(198, 65, 75, 0.13);
  color: #ffb0b6;
}

.empty-cell {
  padding: 28px 20px;
  color: var(--dark-muted);
  text-align: center;
}

.replacement-review-list {
  display: grid;
}

.replacement-review-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(220px, 1fr) 110px minmax(340px, 1.4fr);
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.replacement-review-row:last-child {
  border-bottom: 0;
}

.replacement-review-account,
.replacement-review-owner,
.replacement-review-actions,
.replacement-review-result {
  min-width: 0;
}

.replacement-review-account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.replacement-review-account > div,
.replacement-review-owner,
.replacement-review-result {
  display: grid;
  gap: 5px;
}

.replacement-review-route {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px !important;
}

.replacement-review-route > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.replacement-review-route small {
  color: var(--dark-muted);
  font-size: 11px;
}

.replacement-review-route b {
  color: #8eb6ff;
  font-size: 18px;
}

.replacement-review-account span:not(.status),
.replacement-review-owner > span,
.replacement-review-result > span:not(.status),
.replacement-review-row time {
  color: var(--dark-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.replacement-review-row time {
  font-variant-numeric: tabular-nums;
}

.replacement-review-owner .text-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8eb6ff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.replacement-review-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.replacement-note-field {
  gap: 6px;
}

.replacement-note-field > span {
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 650;
}

.replacement-note-field input {
  min-height: 40px;
}

.replacement-review-actions .button-row {
  flex-wrap: nowrap;
}

.session-table {
  min-width: 1180px;
}

.license-detail-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: radial-gradient(circle at 10% 0%, rgba(54, 113, 238, 0.18), transparent 38%), var(--dark-surface);
}

.license-detail-hero h2,
.license-detail-hero p {
  margin: 0;
}

.license-detail-hero .eyebrow {
  color: #91b3ff;
}

.license-detail-hero h2 {
  margin-bottom: 5px;
  color: var(--dark-ink);
  font-size: 28px;
}

.license-detail-hero > div:first-child > p:last-child {
  color: var(--dark-muted);
  font-size: 13px;
}

.license-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.section-back {
  min-height: 40px;
  margin: -8px 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #91b3ff;
  font-size: 13px;
}

.section-back:hover {
  color: #bfd1ff;
}

.license-detail-page .account-row p {
  margin: 4px 0 0;
  font-size: 11px;
}

.license-detail-page .account-row code {
  color: var(--dark-ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.portal-b .app-shell,
.admin-b .app-shell {
  grid-template-columns: 1fr;
}

.portal-b .app-sidebar,
.admin-b .app-sidebar {
  position: static;
  width: 100%;
  height: auto;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--dark-line);
}

.portal-b .app-sidebar .brand,
.admin-b .app-sidebar .brand {
  padding: 0 20px 0 0;
  border-bottom: 0;
  border-right: 1px solid var(--dark-line);
}

.portal-b .sidebar-nav,
.admin-b .sidebar-nav {
  display: flex;
  margin: 0;
  overflow-x: auto;
}

.portal-b .sidebar-footer,
.admin-b .sidebar-footer {
  margin: 0 0 0 auto;
  padding: 0;
  border-top: 0;
}

.portal-b .dashboard-grid {
  grid-template-columns: 0.7fr 1.3fr;
}

.portal-c .app-shell,
.admin-c .app-shell {
  grid-template-columns: 88px minmax(0, 1fr);
}

.portal-c .app-sidebar,
.admin-c .app-sidebar {
  padding-inline: 10px;
}

.portal-c .app-sidebar .brand,
.admin-c .app-sidebar .brand {
  justify-content: center;
  padding-inline: 0;
}

.portal-c .app-sidebar .brand > span:not(.brand-mark),
.admin-c .app-sidebar .brand > span:not(.brand-mark),
.portal-c .sidebar-button span,
.admin-c .sidebar-button span,
.portal-c .sidebar-footer,
.admin-c .sidebar-footer {
  display: none;
}

.portal-c .sidebar-button,
.admin-c .sidebar-button {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}

.portal-c .metric-strip,
.admin-c .metric-strip {
  grid-template-columns: repeat(2, 1fr);
}

.portal-c .metric:nth-child(2),
.admin-c .metric:nth-child(2) {
  border-right: 0;
}

.portal-c .metric:nth-child(-n+2),
.admin-c .metric:nth-child(-n+2) {
  border-bottom: 1px solid var(--dark-line);
}

/* Dialog, toast and prototype switcher */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 12, 20, 0.68);
}

.modal {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid #c9d3e0;
  border-radius: var(--radius-card);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.modal h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.modal p {
  color: var(--muted);
}

.account-addon-modal {
  width: min(640px, 100%);
  padding: 0;
  overflow: hidden;
}

.account-addon-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.account-addon-heading span,
.account-addon-facts span,
.account-addon-calculation span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-addon-heading h2 {
  margin: 5px 0 0;
  font-size: 26px;
}

.account-addon-heading > strong {
  font-family: var(--font-mono);
  font-size: 16px;
  white-space: nowrap;
}

.account-addon-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}

.account-addon-facts > div {
  display: grid;
  gap: 7px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-addon-facts > div:nth-child(2n) {
  border-right: 0;
}

.account-addon-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.account-addon-facts strong {
  font-size: 19px;
}

.account-addon-calculation {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 5px 20px;
  margin: 20px 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #edf3ff;
}

.account-addon-calculation strong {
  color: var(--blue);
  font-size: 32px;
  letter-spacing: -0.04em;
}

.account-addon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 28px;
}

.account-addon-actions .ghost-button {
  margin-left: auto;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 80;
  max-width: min(380px, calc(100% - 40px));
  padding: 13px 16px;
  border: 1px solid #4c5e7d;
  border-radius: 10px;
  background: #162136;
  color: #f3f6fb;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prototype-switcher {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 54px;
  padding: 7px;
  border: 1px solid #3c4c68;
  border-radius: 14px;
  background: rgba(16, 24, 40, 0.94);
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.prototype-switcher button {
  min-width: 42px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #253149;
  color: #ffffff;
  font-size: 18px;
}

.prototype-switcher button:hover {
  background: #334361;
}

.prototype-switcher__label {
  min-width: 190px;
  padding: 0 8px;
  text-align: center;
  font-size: 13px;
}

.prototype-switcher__label strong {
  display: block;
  font-size: 14px;
}

.prototype-state {
  position: relative;
}

.prototype-state summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #253149;
  color: #cbd7eb;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}

.prototype-state summary::-webkit-details-marker {
  display: none;
}

.prototype-state pre {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: 300px;
  max-height: 320px;
  margin: 0;
  padding: 14px;
  border: 1px solid #3c4c68;
  border-radius: 10px;
  background: #101828;
  color: #dbe6f7;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  overflow: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .page-root {
    animation: page-enter 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-copy,
  .hero-visual,
  .metric,
  .dark-panel {
    animation: lift-enter 430ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-visual,
  .dark-panel:nth-child(2) {
    animation-delay: 70ms;
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lift-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 10px;
  }

  .site-nav__links {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
  }

  .site-nav__links::-webkit-scrollbar {
    display: none;
  }

  .site-nav__links a {
    flex: 0 0 auto;
  }

  .hero-grid,
  .home-b .hero-grid,
  .decision-shell,
  .purchase-rail,
  .product-page__grid,
  .checkout-layout,
  .checkout-b .checkout-layout,
  .checkout-c .checkout-form,
  .dashboard-grid,
  .portal-b .dashboard-grid,
  .license-detail-grid,
  .license-command__body {
    grid-template-columns: 1fr;
  }

  .license-key-card {
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .decision-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .purchase-rail__panel,
  .order-summary {
    position: static;
  }

  .product-page__grid .hero-visual img {
    min-height: 360px;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-list article {
    min-height: 150px;
  }

  .checkout-b .order-summary,
  .checkout-b .checkout-form {
    grid-column: 1;
    grid-row: auto;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--dark-line);
  }
}

@media (max-width: 820px) {
  .app-main--license-detail {
    padding: 22px 16px 96px;
  }

  .license-detail-stack {
    gap: 14px;
  }

  .license-overview-panel .compact-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .license-overview-actions > button {
    flex: 1 1 0;
  }

  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-topbar__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .portal-license-switcher {
    grid-template-columns: 1fr;
  }

  .portal-license-switcher__items {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid__wide {
    grid-column: auto;
  }

  .observation-account-list .table-wrap {
    padding: 14px;
    overflow: visible;
  }

  .observation-account-list .data-table,
  .observation-account-list .data-table tbody,
  .observation-account-list .data-table tr,
  .observation-account-list .data-table td {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .observation-account-list .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .observation-account-list .data-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 18px;
    padding: 16px;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-control);
    background: #101a29;
  }

  .observation-account-list .data-table td {
    display: grid;
    gap: 5px;
    padding: 0;
    border: 0;
    white-space: normal;
  }

  .observation-account-list .data-table td::before {
    content: attr(data-label);
    color: var(--dark-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .prototype-toolbar {
    align-items: flex-start;
    padding-inline: 10px;
  }

  .prototype-toolbar__label span:last-child {
    display: none;
  }

  .prototype-toolbar__views {
    justify-content: flex-start;
  }

  .container,
  .container-wide,
  .home-c .site-nav,
  .decision-shell {
    width: min(100% - 28px, 680px);
  }

  .site-nav {
    min-height: 64px;
  }

  .site-nav__actions .secondary-button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 56px;
  }

  .hero h1,
  .home-b .hero h1,
  .decision-copy h1 {
    max-width: 11ch;
    font-size: clamp(42px, 13vw, 62px);
  }

  .home-b .hero-copy,
  .decision-copy {
    padding: 30px;
  }

  .home-b .hero-visual img {
    min-height: 340px;
  }

  .fact-band,
  .flow-list,
  .decision-console__actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-band__item:nth-child(2),
  .decision-option:nth-child(2) {
    border-right: 0;
  }

  .decision-option:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .flow-step,
  .flow-step + .flow-step {
    padding: 22px;
    border-left: 0;
  }

  .flow-step:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .flow-step__index {
    margin-bottom: 18px;
  }

  .legal-note,
  .field-grid,
  .auth-c .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-c__aside {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-c .order-summary,
  .checkout-c .order-summary .summary-list {
    grid-template-columns: 1fr;
  }

  .checkout-c .checkout-form > div + div {
    margin-top: 30px;
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .auth-b {
    grid-template-columns: 1fr;
  }

  .auth-b__visual {
    display: none;
  }

  .app-shell,
  .portal-c .app-shell,
  .admin-c .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar,
  .portal-c .app-sidebar,
  .admin-c .app-sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
    overflow-x: auto;
  }

  .app-sidebar .brand {
    padding: 0 14px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--dark-line);
  }

  .app-sidebar .brand > span:not(.brand-mark) {
    display: none;
  }

  .sidebar-nav {
    display: flex;
    margin: 0;
  }

  .sidebar-button span {
    display: inline !important;
  }

  .sidebar-footer {
    display: none;
  }

  .app-main {
    padding: 24px 16px 104px;
  }

  .license-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .license-issue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .license-issue-summary > div:nth-child(2) {
    border-right: 0;
  }

  .license-issue-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--dark-line);
  }

  .license-filter-bar .primary-button {
    grid-column: 1 / -1;
  }

  .license-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .license-detail-actions {
    justify-content: flex-start;
  }

  .account-row {
    grid-template-columns: 1fr auto;
  }

  .account-row > :nth-child(2) {
    display: none;
  }

  .license-detail-page .account-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .license-detail-page .account-row > :nth-child(2) {
    display: block;
  }
}

@media (max-width: 560px) {
  .license-overview-panel .compact-summary-grid {
    grid-template-columns: 1fr;
  }

  .license-overview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .license-overview-actions > button {
    width: 100%;
  }

  .prototype-toolbar__label {
    display: none;
  }

  .prototype-toolbar {
    justify-content: space-between;
  }

  .prototype-view-button,
  .prototype-lang-button {
    padding-inline: 8px;
    font-size: 12px;
  }

  .site-nav__actions .primary-button {
    padding-inline: 12px;
  }

  .site-nav__links {
    justify-content: flex-start;
  }

  .site-nav__links a {
    padding-inline: 8px;
  }

  .brand-sub {
    display: none;
  }

  .hero h1,
  .home-b .hero h1,
  .decision-copy h1 {
    font-size: clamp(38px, 14vw, 52px);
  }

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

  .button-row .primary-button,
  .button-row .secondary-button {
    width: 100%;
  }

  .fact-band,
  .flow-list,
  .decision-console__actions,
  .choice-grid,
  .metric-strip,
  .portal-c .metric-strip,
  .admin-c .metric-strip {
    grid-template-columns: 1fr;
  }

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

  .capability-list article {
    min-height: 112px;
    padding: 22px;
  }

  .public-subpage__header {
    padding: 44px 0 24px;
  }

  .public-subpage__header h1 {
    font-size: 42px;
  }

  .public-subpage__section {
    padding: 26px 0 40px;
  }

  .public-subpage__action {
    padding-bottom: 48px;
  }

  .public-subpage__action .primary-button {
    width: 100%;
  }

  .fact-band__item,
  .fact-band__item:nth-child(2),
  .flow-step:nth-child(odd),
  .decision-option,
  .decision-option:nth-child(2),
  .metric,
  .metric:nth-child(2) {
    border-right: 0;
  }

  .fact-band__item,
  .decision-option,
  .metric {
    border-bottom: 1px solid var(--line);
  }

  .fact-band__item:last-child {
    border-bottom: 0;
  }

  .metric {
    border-bottom-color: var(--dark-line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .info-grid,
  .compact-summary-grid,
  .license-filter-bar,
  .license-issue-grid,
  .license-issue-summary {
    grid-template-columns: 1fr;
  }

  .license-issue-grid__wide {
    grid-column: auto;
  }

  .license-issue-summary > div,
  .license-issue-summary > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .license-issue-summary > div:last-child {
    border-bottom: 0;
  }

  .activation-key-output {
    align-items: stretch;
    flex-direction: column;
  }

  .activation-key-output .primary-button {
    width: 100%;
  }

  .build-pipeline {
    grid-template-columns: 1fr;
  }

  .license-filter-bar .primary-button {
    grid-column: auto;
  }

  .notice-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-card > strong {
    white-space: normal;
  }

  .license-detail-actions {
    width: 100%;
  }

  .license-detail-actions .primary-button,
  .license-detail-actions .secondary-button,
  .license-detail-actions .danger-button {
    flex: 1 1 130px;
  }

  .plan-row,
  .story-row {
    grid-template-columns: 1fr;
  }

  .plan-row .primary-button,
  .plan-row .secondary-button {
    width: 100%;
  }

  .legal-note,
  .checkout-form,
  .auth-card,
  .modal {
    padding: 22px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .site-footer__inner,
  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .prototype-switcher {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .prototype-switcher__label {
    min-width: 0;
    flex: 1;
  }

  .prototype-state {
    display: none;
  }
}

/* Public storefront: compact task flow with HedgeMatrix's own light-blue palette. */
.public-page {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf3fb;
  --ink: #101828;
  --muted: #526176;
  --line: #d7e0ec;
  --accent: #2764e7;
  --accent-strong: #1d4fc0;
  --accent-soft: #e9f0ff;
  --radius-card: 6px;
  --radius-control: 4px;
  --shadow: 0 28px 72px rgba(38, 72, 124, 0.14);
  --shadow-soft: 0 14px 40px rgba(38, 72, 124, 0.08);
  background: var(--bg);
  color: var(--ink);
}

.public-page .container,
.public-page .container-wide {
  width: min(980px, calc(100% - 48px));
}

.public-page :focus-visible,
.auth-b :focus-visible {
  outline-color: rgba(39, 100, 231, 0.78);
}

.public-page .site-nav {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.public-wordmark {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  white-space: nowrap;
}

.public-wordmark__logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #d7e0ec;
  border-radius: 10px;
  background: #000000;
  object-fit: contain;
}

.public-wordmark__copy {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.public-wordmark strong {
  font-size: 27px;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.public-wordmark span {
  color: #68778c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.public-menu-button {
  display: none;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #bcc8d8;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.public-page .brand {
  color: var(--ink);
}

.public-page .brand-mark,
.auth-b .brand-mark {
  border-radius: 3px;
  background: var(--accent);
  box-shadow: none;
}

.public-page .site-nav__links {
  margin-left: auto;
  gap: 4px;
}

.public-page .site-nav__links a,
.public-page .site-nav__links > button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #526176;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.public-page .site-nav__links a:hover,
.public-page .site-nav__links > button:hover,
.public-page .site-nav__links a[aria-current="page"] {
  color: var(--ink);
  background: #eef3f9;
}

.public-page .site-nav__links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.public-page .site-nav__links .public-nav__item.is-primary {
  margin-right: 4px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.public-page .site-nav__links .public-nav__item.is-primary:hover,
.public-page .site-nav__links .public-nav__item.is-primary[aria-current="page"] {
  background: var(--accent-strong);
  color: #ffffff;
  box-shadow: none;
}

.public-page .site-nav__links > .public-language-toggle {
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0;
  border: 1px solid #bcc8d8;
  border-radius: 50%;
  background: #ffffff;
  color: #526176;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.public-language-toggle:hover {
  border-color: #8fa0b7;
  background: #eef3f9;
  color: #101828;
  transform: translateY(-1px);
}

.public-language-toggle:active {
  transform: translateY(0);
}

.public-language-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.public-page .primary-button,
.page-root.public-page .bg-agent-benefit__primary,
.auth-b .primary-button {
  min-height: 50px;
  padding-inline: 20px;
  border-color: var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.public-page .primary-button:hover,
.page-root.public-page .bg-agent-benefit__primary:hover,
.auth-b .primary-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.public-page .secondary-button,
.page-root.public-page .bg-agent-benefit__secondary,
.public-page .ghost-button,
.auth-b .secondary-button,
.auth-b .ghost-button {
  min-height: 50px;
  padding-inline: 20px;
  border-color: #bcc8d8;
  border-radius: 4px;
  background: #ffffff;
  color: #172033;
}

.public-page .secondary-button:hover,
.page-root.public-page .bg-agent-benefit__secondary:hover,
.public-page .ghost-button:hover,
.auth-b .secondary-button:hover,
.auth-b .ghost-button:hover {
  border-color: #8fa0b7;
  background: #f7f9fc;
}

.home-b .container {
  width: min(1180px, calc(100% - 64px));
}

.license-home-hero {
  min-height: calc(100dvh - 170px);
  display: flex;
  align-items: center;
  padding: 52px 0 60px;
}

.license-home-hero__inner {
  display: block;
}

.license-home-copy {
  min-width: 0;
  max-width: 940px;
}

.license-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.license-home-eyebrow::before {
  width: 18px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.license-home-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(68px, 6.4vw, 92px);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.license-home-lead,
.license-home-product {
  display: block;
}

.license-home-product strong {
  color: var(--accent);
  font: inherit;
}

.license-home-summary {
  max-width: 36ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.license-home-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.license-home-actions .primary-button,
.license-home-actions .secondary-button {
  min-width: 146px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.license-home-actions .primary-button:active,
.license-home-actions .secondary-button:active {
  transform: translateY(1px);
}

.home-license-order {
  padding: 16px 0 82px;
  scroll-margin-top: 24px;
}

.home-license-start {
  width: min(850px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.home-license-start header {
  margin-bottom: 22px;
}

.home-license-start h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.home-license-start header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.home-license-start .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-license-start__actions {
  margin-top: 22px;
}

.home-license-start__actions .primary-button {
  width: 100%;
}

.public-page .hero-visual {
  border-color: var(--line);
  border-radius: 6px;
  background: #0a0d13;
  box-shadow: var(--shadow);
}

.home-b .hero-visual img {
  min-height: 0;
  aspect-ratio: 7 / 5;
  object-position: 100% center;
}

.public-page .site-footer {
  padding: 28px 0 36px;
  border-color: var(--line);
  color: #69778a;
}

.public-subpage__header {
  padding: 68px 0 28px;
  border-color: var(--line);
}

.public-subpage__header h1 {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 58px);
  text-wrap: balance;
}

.public-subpage__section {
  padding: 32px 0 48px;
}

.product-page__grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(240px, 0.72fr);
  gap: 16px;
}

.product-page__grid .hero-visual img {
  min-height: 400px;
}

.capability-list {
  border-color: var(--line);
}

.capability-list article {
  min-height: 192px;
  padding: 26px;
  border-color: var(--line);
  background: #ffffff;
}

.capability-list h2 {
  color: var(--ink);
  font-size: clamp(26px, 3.5vw, 36px);
}

.flow-list {
  border-color: var(--line);
}

.flow-step,
.flow-step + .flow-step {
  border-color: var(--line);
}

.flow-step h3 {
  color: var(--ink);
  font-size: 18px;
}

.plan-board {
  border-color: var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.plan-row {
  border-color: var(--line);
}

.plan-row:hover,
.plan-row.is-selected {
  background: var(--accent-soft);
}

.public-subpage__action {
  padding-bottom: 64px;
}

.install-card {
  width: min(860px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.install-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.install-list li:first-child {
  padding-top: 0;
}

.install-list li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.install-list p {
  margin: 2px 0 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.7;
}

.install-license-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid #bfd0f4;
  border-radius: 4px;
  background: var(--accent-soft);
}

.install-license-note strong {
  padding: 17px 18px;
  color: #1f3f78;
  font-size: 15px;
}

.install-license-note strong + strong {
  border-left: 1px solid #bfd0f4;
}

.install-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.checkout-shell {
  min-height: 100dvh;
  padding-bottom: 72px;
}

.checkout-header {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 46px 0 22px;
}

.checkout-header h1 {
  max-width: 18ch;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 46px);
  line-height: 1.08;
  text-wrap: balance;
}

.checkout-layout {
  width: min(720px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.checkout-form,
.order-summary {
  border-color: var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.checkout-form {
  padding: 30px;
}

.checkout-form > div + div {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.checkout-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.checkout-progress__count {
  flex: 0 0 auto;
}

.checkout-progress__segments {
  width: min(280px, 60vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.checkout-progress__segments i {
  height: 3px;
  border-radius: 2px;
  background: #d8e1ee;
}

.checkout-progress__segments i.is-active {
  background: var(--accent);
}

.checkout-step-panel {
  min-height: 190px;
}

.renewal-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid #c9d9f6;
  border-radius: 6px;
  background: var(--accent-soft);
}

.renewal-timeline > div {
  display: grid;
  gap: 5px;
}

.renewal-timeline > div:last-child {
  text-align: right;
}

.renewal-timeline span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.renewal-timeline strong {
  font-family: var(--font-mono);
  font-size: 19px;
}

.renewal-timeline i {
  color: var(--accent-strong);
  font-style: normal;
  font-size: 24px;
  font-weight: 800;
}

.checkout-step-panel .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-section + .form-section {
  margin-top: 26px;
  padding-top: 26px;
  border-color: var(--line);
}

.form-section h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 18px;
}

.public-page .field label {
  color: #344054;
}

.public-page .field input,
.public-page .field select {
  min-height: 50px;
  border-color: #b9c6d7;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

.public-page .field input::placeholder {
  color: #6c798c;
}

.public-page .field input:focus,
.public-page .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 100, 231, 0.14);
}

.choice-button {
  min-height: 74px;
  padding: 15px 16px;
  border-color: #bcc8d8;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.choice-button:hover,
.choice-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.checkout-account-quantity {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.checkout-account-quantity h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 18px;
}

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

.account-quantity-button {
  position: relative;
  min-width: 0;
  min-height: 94px;
  padding: 16px 14px;
  border: 1px solid #bcc8d8;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.account-quantity-button:hover,
.account-quantity-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.account-quantity-button strong,
.account-quantity-button__price {
  display: block;
}

.account-quantity-button strong {
  font-size: 16px;
}

.account-quantity-button__price {
  margin-top: 7px;
  color: #435168;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-build-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #bfd0f4;
  border-radius: 4px;
  background: var(--accent-soft);
}

.checkout-build-row span {
  color: #344054;
  font-weight: 650;
}

.checkout-build-row strong {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 20px;
}

.consent-box {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f5f8fc;
  color: #435168;
  font-size: 14px;
  line-height: 1.65;
}

.order-summary {
  position: static;
  margin-top: 22px;
  padding: 20px;
  box-shadow: none;
}

.order-summary h2,
.summary-row strong {
  color: var(--ink);
}

.summary-row {
  color: var(--muted);
}

.summary-total {
  border-color: var(--line);
}

.public-page .error-summary {
  border-color: #e6a5ac;
  border-radius: 4px;
  background: #fff4f5;
  color: #9d2531;
}

.checkout-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.checkout-step-actions .primary-button {
  min-width: 150px;
}

.auth-b.auth-page {
  color-scheme: light;
  --accent: #2764e7;
  --accent-strong: #1d4fc0;
  --ink: #101828;
  --muted: #526176;
  --line: #d7e0ec;
  --radius-card: 6px;
  --radius-control: 4px;
  background: #f4f7fb;
  color: var(--ink);
}

.auth-b__visual {
  min-height: 100dvh;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border-right: 1px solid var(--line);
  background: #eaf0fb;
}

.auth-b__visual > div {
  width: min(620px, 100%);
  margin-inline: auto;
}

.auth-b__visual h2 {
  max-width: 11ch;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  text-wrap: balance;
}

.auth-b__visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(38, 72, 124, 0.16);
}

.auth-b .auth-card {
  border-color: var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(38, 72, 124, 0.1);
}

.auth-b .auth-card h1 {
  color: var(--ink);
}

.auth-b .field label {
  color: #344054;
}

.auth-b .field input {
  min-height: 50px;
  border-color: #b9c6d7;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

.auth-b .field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 100, 231, 0.14);
}

.auth-b .form-error {
  border-color: #e6a5ac;
  background: #fff4f5;
  color: #9d2531;
}

.dashboard-page,
.dashboard-page .dark-panel,
.checkout-shell,
.auth-page {
  animation: none;
}

/* Payment settings use a list-first flow with one provider editor at a time. */
.payment-channel-panel .panel-header {
  align-items: center;
}

.payment-site-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 20px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
}

.payment-site-row strong {
  min-width: 0;
  color: var(--dark-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.payment-channel-list {
  border-top: 1px solid var(--dark-line);
}

.payment-channel-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) minmax(170px, 0.8fr) 120px auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.payment-channel-row:last-child {
  border-bottom: 0;
}

.payment-channel-name,
.payment-channel-protocol {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.payment-channel-name strong,
.payment-channel-protocol strong {
  color: var(--dark-ink);
  font-size: 15px;
}

.payment-channel-name span,
.payment-channel-protocol span {
  color: var(--dark-muted);
  font-size: 12px;
}

.payment-channel-row > .status {
  justify-self: start;
  white-space: nowrap;
}

.payment-channel-row > .secondary-button {
  min-height: 38px;
}

.payment-editor-shell {
  width: min(880px, 100%);
}

.payment-editor-header {
  align-items: flex-start;
}

.payment-editor-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--dark-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.payment-editor-tags > span + span:not(.status)::before {
  content: "·";
  margin-right: 10px;
  color: #536078;
}

.payment-editor-card .field input[readonly] {
  color: #aebbd0;
  font-family: var(--font-mono);
  font-size: 12px;
}

@media (min-width: 960px) {
  .license-home-lead,
  .license-home-product {
    white-space: nowrap;
  }

  .home-b .hero-grid {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 959px) {
  .public-page .container,
  .public-page .container-wide {
    width: min(100% - 30px, 680px);
  }

  .public-page .site-nav {
    min-height: 70px;
    flex-wrap: wrap;
    align-content: center;
    padding: 10px 0;
  }

  .public-wordmark {
    min-height: 46px;
  }

  .public-wordmark__logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .public-wordmark strong {
    font-size: 23px;
  }

  .public-wordmark__copy > span {
    display: none;
  }

  .public-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .public-page .site-nav__links {
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 8px 0 0;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
    border-color: var(--line);
  }

  .public-page .site-nav__links.is-open,
  .checkout-shell .site-nav__links.is-open {
    display: grid;
  }

  .public-page .site-nav__links a,
  .public-page .site-nav__links > button {
    width: 100%;
    min-height: 48px;
  }

  .public-page .site-nav__links > .public-language-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-self: end;
    margin: 4px 0 0;
  }

  .checkout-shell .site-nav__links,
  .checkout-shell .site-nav__actions {
    display: none;
  }

  .license-home-hero {
    padding: 48px 0 32px;
  }

  .product-page__grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .license-home-hero h1 {
    font-size: clamp(42px, 10vw, 60px);
  }

  .order-summary {
    position: static;
  }

  .auth-b .auth-card {
    margin: 36px auto 80px;
  }

  .payment-channel-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
  }

  .payment-channel-protocol {
    grid-column: 1;
  }

  .payment-channel-row > .status {
    grid-column: 2;
    grid-row: 1;
  }

  .payment-channel-row > .secondary-button {
    grid-column: 2;
    grid-row: 2;
  }

  .app-sidebar .sidebar-nav {
    flex: 0 0 auto;
  }

  .app-sidebar .sidebar-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .app-sidebar .sidebar-button b {
    display: none;
  }
}

@media (max-width: 560px) {
  .public-page .container,
  .public-page .container-wide {
    width: calc(100% - 30px);
  }

  .license-home-hero h1 {
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .license-home-eyebrow {
    margin-bottom: 18px;
  }

  .license-home-summary {
    margin-top: 22px;
    font-size: 16px;
  }

  .license-home-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .license-home-actions .primary-button,
  .license-home-actions .secondary-button {
    width: 100%;
  }

  .home-license-start {
    padding: 20px;
  }

  .home-license-start .choice-grid {
    grid-template-columns: 1fr;
  }

  .checkout-header {
    padding-top: 38px;
  }

  .checkout-form,
  .order-summary,
  .auth-b .auth-card {
    padding: 20px;
  }

  .checkout-step-panel {
    min-height: 0;
  }

  .renewal-timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .renewal-timeline > div:last-child {
    text-align: left;
  }

  .renewal-timeline i {
    transform: rotate(90deg);
  }

  .checkout-step-panel .choice-grid {
    grid-template-columns: 1fr;
  }

  .checkout-account-quantity {
    margin-top: 22px;
    padding-top: 22px;
  }

  .account-quantity-grid {
    gap: 7px;
  }

  .account-quantity-button {
    min-height: 88px;
    padding-inline: 9px;
  }

  .account-quantity-button strong {
    font-size: 14px;
  }

  .account-quantity-button__price {
    font-size: 12px;
  }

  .checkout-step-actions .primary-button,
  .checkout-step-actions .secondary-button {
    min-width: 0;
    flex: 1;
  }

  .payment-site-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .payment-channel-row {
    grid-template-columns: 1fr;
  }

  .payment-channel-protocol,
  .payment-channel-row > .status,
  .payment-channel-row > .secondary-button {
    grid-column: 1;
    grid-row: auto;
  }

  .payment-channel-row > .secondary-button {
    width: 100%;
  }

  .payment-editor-header {
    gap: 18px;
  }
}

@media (max-width: 959px) and (max-height: 520px) and (orientation: landscape) {
  .license-home-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 28px 0 36px;
  }

  .license-home-eyebrow {
    margin-bottom: 14px;
  }

  .license-home-hero h1 {
    font-size: clamp(48px, 7vw, 56px);
  }

  .license-home-summary {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .license-home-actions {
    margin-top: 18px;
  }
}

@media (max-width: 1180px) {
  .replacement-review-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .replacement-review-actions,
  .replacement-review-result {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .preactivation-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .preactivation-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 14px;
    padding: 16px;
  }

  .preactivation-slot {
    flex-wrap: wrap;
  }

  .preactivation-details {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .preactivation-row__action {
    grid-column: 2;
    grid-row: 1;
  }

  .preactivation-editor {
    grid-row: 3;
  }

  .preactivation-editor__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .preactivation-editor__fields {
    grid-template-columns: 1fr;
  }

  .preactivation-editor__actions,
  .preactivation-editor__actions > button {
    width: 100%;
  }

  .preactivation-editor__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-monitor-table {
    min-width: 0;
    display: block;
  }

  .account-monitor-table thead {
    display: none;
  }

  .account-monitor-table tbody {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .account-monitor-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 16px;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-control);
    background: #101a29;
  }

  .account-monitor-table td {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .account-monitor-table td::before {
    content: attr(data-label);
    color: var(--dark-muted);
    font-size: 12px;
    font-weight: 600;
  }

  .account-monitor-table td:nth-child(5),
  .account-monitor-table .account-monitor-action {
    grid-column: 1 / -1;
  }

  .account-monitor-table .table-action-button {
    width: 100%;
  }

  .replacement-review-row,
  .replacement-review-actions {
    grid-template-columns: 1fr;
  }

  .replacement-review-owner,
  .replacement-review-row time,
  .replacement-review-actions,
  .replacement-review-result {
    grid-column: auto;
  }

  .replacement-review-actions .button-row,
  .replacement-review-actions .button-row > button {
    width: 100%;
  }

  .replacement-history__row,
  .replacement-history__row > div {
    align-items: flex-start;
  }

  .replacement-history__row > div {
    display: grid;
  }
}

/* Authorization UI-1 */
.performance-header {
  align-items: center;
}

.settings-switch {
  min-width: 104px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 10px 0 13px;
  border: 1px solid #40506a;
  border-radius: 999px;
  background: #172132;
  color: var(--dark-muted);
  font-size: 13px;
  font-weight: 700;
}

.settings-switch i {
  position: relative;
  width: 34px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #445065;
}

.settings-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
  transition: transform 160ms ease;
}

.settings-switch[aria-checked="true"] {
  border-color: rgba(58, 171, 128, 0.62);
  color: #88dfbd;
}

.settings-switch[aria-checked="true"] i {
  background: var(--success);
}

.settings-switch[aria-checked="true"] i::after {
  transform: translateX(14px);
}

.performance-empty {
  display: grid;
  gap: 6px;
  padding: 28px 20px;
  border-top: 1px solid var(--dark-line);
}

.performance-empty strong {
  color: var(--dark-ink);
  font-size: 17px;
}

.performance-empty span,
.performance-policy {
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.65;
}

.performance-policy {
  padding: 13px 20px;
  border-top: 1px solid var(--dark-line);
}

.performance-updated {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.money-cell {
  white-space: nowrap;
}

.money-cell small,
.account-monitor-table td > small {
  display: block;
  margin-top: 4px;
  color: var(--dark-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  white-space: normal;
}

.money-cell.is-stale {
  color: #d4a36e !important;
}

.money-cell.is-unavailable {
  color: var(--dark-muted);
  font-weight: 600;
}

.account-monitor-table {
  min-width: 1480px;
}

.account-action-group {
  display: grid;
  gap: 7px;
  min-width: 138px;
}

.account-action-group .table-action-button {
  width: 100%;
  min-height: 40px;
  padding-inline: 11px;
}

.replacement-history__row > div > span {
  max-width: 64ch;
}

.build-entitlement-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.build-entitlement {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(67, 145, 238, 0.45);
  border-radius: 8px;
  background: rgba(39, 100, 231, 0.12);
  color: #a9c6ff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 750;
}

.entitlement-note {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--dark-line);
}

.entitlement-note strong {
  color: var(--dark-ink);
}

.entitlement-note span {
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.65;
}

.account-device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
}

.account-device-card {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-control);
  background: #101a29;
}

.account-device-card__identity,
.account-device-card__device {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-device-card__identity > span,
.account-device-card__device > span {
  color: var(--dark-muted);
  font-size: 12px;
}

.account-device-card__identity > strong,
.account-device-card__device > strong {
  color: var(--dark-ink);
  overflow-wrap: anywhere;
}

.account-device-card__identity > small,
.account-device-card__device > small {
  color: var(--dark-muted);
  line-height: 1.55;
}

.account-device-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--dark-line);
}

.table-action-group {
  min-width: 132px;
  display: grid;
  gap: 7px;
}

.table-action-group .table-action-button {
  width: 100%;
}

.table-action-group--migration {
  min-width: 174px;
}

.device-binding {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.device-binding strong {
  max-width: 180px;
  color: var(--dark-ink);
  overflow-wrap: anywhere;
}

.device-binding small {
  color: var(--dark-muted);
}

.migration-modal {
  width: min(560px, calc(100vw - 32px));
}

.migration-modal > p {
  color: var(--dark-muted);
  line-height: 1.7;
}

.migration-account-summary {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 15px 16px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-control);
  background: #101a29;
}

.migration-account-summary strong {
  color: var(--dark-ink);
}

.migration-account-summary span {
  color: var(--dark-muted);
  font-size: 13px;
}

.migration-code-field,
.migration-reason {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.bitget-replacement-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
  margin-bottom: 18px;
}

.bitget-replacement-fields .field {
  display: grid;
  gap: 7px;
}

@media (max-width: 620px) {
  .bitget-replacement-fields {
    grid-template-columns: 1fr;
  }
}

.migration-code-field input {
  max-width: 220px;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.2em;
}

.account-device-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.account-device-card__heading > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-device-card__heading > div > span,
.account-device-card dt {
  color: var(--dark-muted);
  font-size: 12px;
}

.account-device-card__heading strong {
  color: var(--dark-ink);
  font-size: 17px;
}

.account-device-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.account-device-card dl > div {
  min-width: 0;
}

.account-device-card dt,
.account-device-card dd {
  margin: 0;
}

.account-device-card dd {
  margin-top: 3px;
  color: var(--dark-ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.security-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-session-policy {
  padding: 12px 20px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 13px;
}

.security-action {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px;
  border-top: 1px solid var(--dark-line);
}

.security-action:nth-child(odd) {
  border-right: 1px solid var(--dark-line);
}

.security-action > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.security-action strong {
  color: var(--dark-ink);
  font-size: 14px;
}

.security-action > div > span {
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.55;
}

.security-action > button,
.security-action > .status {
  flex: 0 0 auto;
}

.recent-login-list {
  border-top: 1px solid var(--dark-line);
}

.recent-login-summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  list-style: none;
  cursor: pointer;
}

.recent-login-summary::-webkit-details-marker {
  display: none;
}

.recent-login-summary > span {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.recent-login-summary strong {
  color: var(--dark-ink);
  font-size: 15px;
}

.recent-login-summary small {
  color: var(--dark-muted);
  font-size: 12px;
}

.recent-login-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--dark-muted);
  border-bottom: 2px solid var(--dark-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease;
}

.recent-login-list[open] .recent-login-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.recent-login-rows {
  padding: 0 20px 18px;
}

.recent-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(41, 52, 73, 0.7);
}

.recent-login-row > div {
  display: grid;
  gap: 4px;
}

.recent-login-row strong {
  color: var(--dark-ink);
  font-size: 13px;
}

.recent-login-row span,
.recent-login-row time {
  color: var(--dark-muted);
  font-size: 12px;
}

.recent-login-row .recent-login-ip {
  color: var(--dark-ink);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diagnostic-grid > div {
  min-width: 0;
  padding: 20px;
  border-top: 1px solid var(--dark-line);
  border-right: 1px solid var(--dark-line);
}

.diagnostic-grid > div:last-child {
  border-right: 0;
}

.diagnostic-grid > div > span {
  color: #719ef5;
  font-family: var(--font-mono);
  font-size: 12px;
}

.diagnostic-grid strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--dark-ink);
  font-size: 15px;
}

.diagnostic-grid p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.65;
}

.activation-step.is-manual > span {
  border-color: #52627c;
  background: #1a2435;
  color: #bdc8d8;
}

.activation-step small {
  display: block;
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.5;
}

.activation-step small code {
  color: #a9c6ff;
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.authorization-task-modal {
  width: min(660px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.authorization-task-heading > span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authorization-task-heading h2 {
  margin: 7px 0 18px;
}

.authorization-task-rule {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 15px 16px;
  border: 1px solid #d7dfeb;
  border-radius: var(--radius-control);
  background: #f4f7fb;
}

.authorization-task-rule strong {
  color: var(--ink);
  font-size: 14px;
}

.authorization-task-rule span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.authorization-task-modal form {
  display: grid;
  gap: 14px;
}

.authorization-task-modal .form-error[hidden] {
  display: none;
}

.sensitive-verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--line);
}

.sensitive-verification > div {
  display: grid;
  gap: 3px;
}

.sensitive-verification strong {
  color: var(--ink);
  font-size: 14px;
}

.sensitive-verification span,
.authorization-task-footnote {
  color: var(--muted);
  font-size: 12px;
}

.authorization-task-footnote {
  margin: 0;
}

.admin-security-summary {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 1.5fr;
  margin-bottom: 20px;
}

.admin-security-summary > div {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-right: 1px solid var(--dark-line);
}

.admin-security-summary > div:last-child {
  border-right: 0;
}

.admin-security-summary span {
  color: var(--dark-muted);
  font-size: 12px;
}

.admin-security-summary strong {
  color: var(--dark-ink);
  font-size: 14px;
}

@media (max-width: 820px) {
  .account-monitor-table {
    width: 100%;
    min-width: 0;
  }

  .performance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-metric:nth-child(2) {
    border-right: 0;
  }

  .performance-metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--dark-line);
  }

  .account-device-grid,
  .security-actions-grid,
  .diagnostic-grid,
  .admin-security-summary {
    grid-template-columns: 1fr;
  }

  .security-action,
  .security-action:nth-child(odd),
  .diagnostic-grid > div,
  .admin-security-summary > div {
    border-right: 0;
  }

  .account-monitor-table td:nth-child(6),
  .account-monitor-table .account-monitor-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .performance-header,
  .performance-updated,
  .account-device-card__heading,
  .account-device-card__status,
  .security-action,
  .recent-login-row,
  .sensitive-verification {
    align-items: flex-start;
    flex-direction: column;
  }

  .performance-header .settings-switch,
  .security-action > button,
  .security-action > .settings-switch,
  .account-device-card > button,
  .account-device-card__status > button,
  .sensitive-verification > button,
  .authorization-task-modal .button-row,
  .authorization-task-modal .button-row > button {
    width: 100%;
  }

  .authorization-task-modal {
    padding: 22px 18px;
  }

  .account-device-card dl {
    grid-template-columns: 1fr;
  }
}

/* Public homepage observation account */
.home-observation {
  padding: 96px 0 104px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  scroll-margin-top: 24px;
}

.home-observation__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.home-observation__header > div {
  max-width: 760px;
}

.home-observation__header-actions,
.observation-hero__snapshot-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.observation-unit-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2px;
  padding: 3px;
  border: 1px solid #c7d4e8;
  border-radius: 5px;
  background: #eef3fa;
}

.observation-unit-switch button {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #52657f;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
  cursor: pointer;
}

.observation-unit-switch button:hover {
  color: #12233a;
}

.observation-unit-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.observation-unit-switch button:disabled:hover {
  color: #52657f;
}

.observation-unit-switch button[aria-pressed="true"] {
  background: #ffffff;
  color: #174da8;
  box-shadow: 0 2px 7px rgba(34, 66, 113, 0.16);
}

.observation-unit-switch button:focus-visible {
  outline: 2px solid #4f88ef;
  outline-offset: 2px;
}

.observation-unit-switch--dark,
.observation-page:not(.is-light) .home-observation__header .observation-unit-switch {
  border-color: #2b4566;
  background: #071321;
}

.observation-unit-switch--dark button,
.observation-page:not(.is-light) .home-observation__header .observation-unit-switch button {
  color: #91a7c2;
}

.observation-unit-switch--dark button:hover,
.observation-page:not(.is-light) .home-observation__header .observation-unit-switch button:hover {
  color: #e9f2ff;
}

.observation-unit-switch--dark button[aria-pressed="true"],
.observation-page:not(.is-light) .home-observation__header .observation-unit-switch button[aria-pressed="true"] {
  background: #17365e;
  color: #dbeaff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
}

.home-observation__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.home-observation__eyebrow::before {
  width: 18px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.home-observation__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-observation__header > div > p:last-child {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-observation__demo {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #c6d5f8;
  border-radius: 4px;
  background: #eef4ff;
  color: #2455bb;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.04em;
}

.home-observation__panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.home-observation__meta {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #f8faff;
}

.home-observation__meta > div {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.home-observation__meta > div:last-child {
  border-right: 0;
}

.home-observation__meta dt {
  margin: 0 0 7px;
  color: #778397;
  font-size: 12px;
  font-weight: 650;
}

.home-observation__meta dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-observation__sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-observation__sync i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #15966a;
  box-shadow: 0 0 0 4px #dff5ec;
}

.home-observation__sync.is-delayed i,
.observation-hero__sync.is-delayed i {
  background: #d89a27;
  box-shadow: 0 0 0 4px rgba(216, 154, 39, 0.16);
}

.home-observation__sync.is-offline i,
.observation-hero__sync.is-offline i {
  background: #dc5964;
  box-shadow: 0 0 0 4px rgba(220, 89, 100, 0.15);
}

.observation-token-once {
  border-color: rgba(216, 154, 39, 0.52);
}

.copy-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.copy-line code {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #31435e;
  border-radius: 8px;
  background: #091322;
  color: #dbe8fa;
  overflow-wrap: anywhere;
  user-select: all;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-actions :is(.ghost-button, .danger-button) {
  min-height: 36px;
  padding: 7px 10px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .copy-line {
    grid-template-columns: 1fr;
  }
}

.home-observation__platform {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-observation__platform:hover {
  background: #f6f9fe;
}

.home-observation__platform:active {
  transform: translateY(1px);
}

.home-observation__platform:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 68%, transparent);
  outline-offset: -3px;
}

.home-observation__platform-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

.home-observation__platform-logo.is-wordmark {
  width: 132px;
  height: 36px;
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #243650;
  border-radius: 7px;
  background: #06111f;
}

.home-observation__platform-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-observation__platform-copy small {
  color: #778397;
  font-size: 11px;
  font-weight: 650;
}

.home-observation__platform-copy strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.home-observation__platform-offer {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid #c6d5f8;
  border-radius: 3px;
  background: #eef4ff;
  color: #2455bb;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.home-observation__platform-cta {
  margin-left: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.home-observation__platform:hover .home-observation__platform-cta {
  text-decoration-color: currentColor;
}

.home-observation__board {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-bottom: 1px solid var(--line);
}

.home-observation__today,
.home-observation__chart {
  min-width: 0;
  margin: 0;
  padding: 34px 36px;
}

.home-observation__today {
  border-right: 1px solid var(--line);
}

.home-observation__today > p,
.home-observation__chart-heading p {
  margin: 0;
  color: #667389;
  font-size: 13px;
  font-weight: 650;
}

.home-observation__today > strong {
  display: block;
  margin-top: 10px;
  color: #10825e;
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.055em;
}

.home-observation__today > strong small,
.home-observation__chart-heading strong small {
  font-size: 0.38em;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.home-observation__breakdown {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.home-observation__breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.home-observation__breakdown dt {
  color: #667389;
  font-size: 13px;
}

.home-observation__breakdown dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 720;
}

.home-observation .positive {
  color: #10825e;
}

.home-observation .negative {
  color: #c5424a;
}

.home-observation__chart-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.home-observation__chart-heading > div:last-child {
  display: grid;
  gap: 5px;
  text-align: right;
}

.home-observation__chart-heading > div:last-child span {
  color: #778397;
  font-size: 12px;
}

.home-observation__chart-heading > div:last-child strong {
  font-family: var(--font-mono);
  font-size: 13px;
}

.home-observation__chart-heading > div:first-child > strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-observation__trend {
  min-height: 226px;
  margin-top: 18px;
  overflow: hidden;
}

.home-observation__trend svg {
  width: 100%;
  height: auto;
  display: block;
}

.home-observation-line__grid,
.home-observation-line__zero,
.home-observation-line__path {
  vector-effect: non-scaling-stroke;
}

.home-observation-line__grid {
  stroke: #dfe5ef;
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.home-observation-line__zero {
  stroke: #aeb9ca;
  stroke-width: 1;
}

.home-observation-line__area {
  fill: rgba(39, 100, 231, 0.08);
}

.home-observation-line__path {
  fill: none;
  stroke: #2b69eb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.home-observation-line__point {
  fill: #ffffff;
  stroke: #2b69eb;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.home-observation-line__point.negative {
  stroke: #d05a62;
}

.home-observation-line__value,
.home-observation-line__date {
  font-family: var(--font-mono);
  font-weight: 720;
}

.home-observation-line__value {
  fill: #10825e;
  font-size: 13px;
}

.home-observation-line__value.negative {
  fill: #c5424a;
}

.home-observation-line__date {
  fill: #6f7c90;
  font-size: 12px;
  font-weight: 650;
}

.home-observation__ledger {
  padding: 30px 36px 34px;
}

.home-observation__ledger-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}

.home-observation__ledger-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.home-observation__ledger-heading p {
  margin: 0;
  color: #778397;
  font-size: 12px;
}

.home-observation__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.home-observation table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.home-observation th,
.home-observation td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.home-observation th {
  background: #f8faff;
  color: #667389;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.home-observation tbody tr:last-child td {
  border-bottom: 0;
}

.home-observation tbody tr:hover {
  background: #fbfcff;
}

.home-observation td:first-child,
.home-observation-value {
  font-family: var(--font-mono);
  font-weight: 700;
}

.home-observation__meta dd,
.home-observation__today > strong,
.home-observation__breakdown dd,
.home-observation__chart-heading strong,
.home-observation-line__value,
.home-observation-line__date,
.home-observation td:first-child,
.home-observation-value,
.observation-hero__snapshot > strong,
.observation-hero__snapshot-meta strong,
.observation-hero__snapshot-meta time {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
}

.home-observation-state {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 3px;
  background: #edf1f7;
  color: #526176;
  font-size: 11px;
  font-weight: 720;
}

.home-observation-state.current {
  background: #e7f7f0;
  color: #087453;
}

.home-observation__notice {
  margin: 18px 0 0;
  color: #778397;
  font-size: 12px;
  line-height: 1.65;
}

.home-observation__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.home-observation__pagination-summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.home-observation__pagination-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-observation__pagination-controls button {
  min-width: 76px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out;
}

.home-observation__pagination-controls button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.home-observation__pagination-controls button:active:not(:disabled) {
  transform: translateY(1px);
}

.home-observation__pagination-controls button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.home-observation__pagination-status {
  min-width: 82px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 880px) {
  .home-observation {
    padding: 72px 0 80px;
  }

  .home-observation__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-observation__meta > div:nth-child(2) {
    border-right: 0;
  }

  .home-observation__meta > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .home-observation__board {
    grid-template-columns: 1fr;
  }

  .home-observation__today {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .home-b .container {
    width: min(100% - 32px, 1180px);
  }

  .home-observation {
    padding: 58px 0 64px;
  }

  .home-observation__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
  }

  .home-observation__header h2 {
    font-size: 38px;
  }

  .home-observation__header > div > p:last-child {
    margin-top: 14px;
    font-size: 15px;
  }

  .home-observation__meta {
    grid-template-columns: 1fr;
  }

  .home-observation__meta > div,
  .home-observation__meta > div:nth-child(2),
  .home-observation__meta > div:nth-child(-n+2) {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-observation__meta > div:last-child {
    border-bottom: 0;
  }

  .home-observation__today,
  .home-observation__chart {
    padding: 27px 20px;
  }

  .home-observation__today > strong {
    font-size: 40px;
  }

  .home-observation__chart-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .home-observation__chart-heading > div:last-child {
    text-align: left;
  }

  .home-observation__platform {
    min-height: 88px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 14px 18px;
  }

  .home-observation__platform-logo {
    grid-row: 1 / span 2;
  }

  .home-observation__platform.has-wordmark {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-observation__platform.has-wordmark .home-observation__platform-logo {
    grid-column: 1;
    grid-row: 1;
    width: 128px;
  }

  .home-observation__platform.has-wordmark .home-observation__platform-copy {
    display: none;
  }

  .home-observation__platform.has-wordmark .home-observation__platform-offer {
    grid-column: 2;
    grid-row: 1;
  }

  .home-observation__platform.has-wordmark .home-observation__platform-cta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-observation__platform-offer {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
  }

  .home-observation__platform-cta {
    grid-column: 2 / -1;
    grid-row: 2;
    margin-left: 0;
  }

  .home-observation__trend {
    min-height: 0;
    overflow: hidden;
  }

  .home-observation__trend svg {
    min-width: 0;
  }

  .home-observation-line__value {
    font-size: 18px;
  }

  .home-observation-line__date {
    font-size: 17px;
  }

  .home-observation__ledger {
    padding: 26px 20px 28px;
  }

  .home-observation__ledger-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .home-observation__table-wrap {
    overflow: visible;
    border: 0;
  }

  .home-observation table,
  .home-observation tbody,
  .home-observation tr,
  .home-observation td {
    width: 100%;
    display: block;
  }

  .home-observation thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .home-observation tbody {
    display: grid;
    gap: 10px;
  }

  .home-observation tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #ffffff;
  }

  .home-observation td {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .home-observation td::before {
    color: #778397;
    content: attr(data-label);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 650;
  }

  .home-observation td:nth-child(5) {
    align-self: end;
  }

  .home-observation__pagination {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .home-observation__pagination-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .home-observation__pagination-controls button {
    min-width: 0;
    min-height: 46px;
  }

}

/* Public observation report: a separate dark data surface reached from the storefront. */
.license-home-observation-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  text-underline-offset: 4px;
}

.license-home-observation-link:hover {
  text-decoration: underline;
}

.license-home-observation-link span {
  transition: transform 160ms ease-out;
}

.license-home-observation-link:hover span {
  transform: translateX(3px);
}

.home-b.is-dark {
  color-scheme: dark;
  --bg: #07101b;
  --surface: #0b1725;
  --surface-soft: #0e1c2c;
  --ink: #f4f7fb;
  --muted: #91a1b8;
  --line: #203149;
  --accent: #2f6ff1;
  --accent-strong: #6b9bff;
  --accent-soft: #112a54;
  --shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  background: var(--bg);
  color: var(--ink);
}

.home-b.is-dark ::selection {
  background: #2f6ff1;
  color: #ffffff;
}

.home-b.is-dark :focus-visible {
  outline: 3px solid rgba(91, 143, 255, 0.82);
  outline-offset: 3px;
}

.home-b.is-dark .public-header--dark {
  border-bottom: 1px solid #1b2a3e;
  background: #07101b;
}

.home-b.is-dark .site-nav {
  border-color: #1b2a3e;
}

.home-b.is-dark .public-wordmark {
  color: #f4f7fb;
}

.home-b.is-dark .public-wordmark__logo {
  border-color: #2a3b53;
}

.home-b.is-dark .public-wordmark span {
  color: #91a1b8;
}

.home-b.is-dark .public-menu-button {
  border-color: #31445f;
  background: #0c1827;
  color: #f4f7fb;
}

.home-b.is-dark .site-nav__links a,
.home-b.is-dark .site-nav__links > button {
  color: #a6b4c8;
}

.home-b.is-dark .site-nav__links a:hover,
.home-b.is-dark .site-nav__links > button:hover,
.home-b.is-dark .site-nav__links a[aria-current="page"] {
  background: #122239;
  color: #ffffff;
}

.home-b.is-dark .site-nav__links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #5b8fff;
}

.home-b.is-dark .site-nav__links .public-nav__item.is-primary,
.home-b.is-dark .site-nav__links .public-nav__item.is-primary:hover {
  background: #2f6ff1;
  color: #ffffff;
}

.home-b.is-dark .public-language-toggle {
  border-color: #31445f;
  background: #0c1827;
  color: #dfe7f2;
}

.home-b.is-dark .secondary-button {
  border-color: #405571;
  background: #0b1725;
  color: #dfe7f2;
}

.home-b.is-dark .secondary-button:hover {
  border-color: #617793;
  background: #112239;
}

.home-b.is-dark .site-footer,
.product-catalog-page.is-dark .site-footer {
  border-color: #1b2a3e;
  background: #07101b;
  color: #73859f;
}

.home-b.is-dark .site-footer__identity strong,
.home-b.is-dark .site-footer__contact,
.product-catalog-page.is-dark .site-footer__identity strong,
.product-catalog-page.is-dark .site-footer__contact,
.observation-page:not(.is-light) .site-footer__identity strong,
.observation-page:not(.is-light) .site-footer__contact {
  color: #dce7f7;
}

.home-b.is-dark .site-footer__contact small,
.product-catalog-page.is-dark .site-footer__contact small,
.observation-page:not(.is-light) .site-footer__contact small {
  color: #8496af;
}

.home-b.is-dark .site-footer__contact:hover,
.product-catalog-page.is-dark .site-footer__contact:hover,
.observation-page:not(.is-light) .site-footer__contact:hover {
  background: #102035;
  color: #90b7ff;
}

.observation-page {
  color-scheme: dark;
  --bg: #07101b;
  --surface: #0b1725;
  --surface-soft: #0e1c2c;
  --ink: #f4f7fb;
  --muted: #91a1b8;
  --line: #203149;
  --accent: #2f6ff1;
  --accent-strong: #4b82f4;
  --accent-soft: #112a54;
  --shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  background: var(--bg);
  color: var(--ink);
}

.observation-page .container {
  width: min(1180px, calc(100% - 64px));
}

.observation-page ::selection {
  background: #2f6ff1;
  color: #ffffff;
}

.observation-page :focus-visible {
  outline: 3px solid rgba(91, 143, 255, 0.82);
  outline-offset: 3px;
}

.observation-page .public-header--dark {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid #1b2a3e;
  background: #07101b;
}

.observation-page .site-nav {
  border-color: #1b2a3e;
}

.observation-page .public-wordmark {
  color: #f4f7fb;
}

.observation-page .public-wordmark__logo {
  border-color: #2a3b53;
}

.observation-page .public-wordmark span {
  color: #91a1b8;
}

.observation-page .public-menu-button {
  border-color: #31445f;
  background: #0c1827;
  color: #f4f7fb;
}

.observation-page .site-nav__links a,
.observation-page .site-nav__links > button {
  color: #a6b4c8;
}

.observation-page .site-nav__links a:hover,
.observation-page .site-nav__links > button:hover,
.observation-page .site-nav__links a[aria-current="page"] {
  background: #122239;
  color: #ffffff;
}

.observation-page .site-nav__links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #5b8fff;
}

.observation-page .site-nav__links .public-nav__item.is-primary,
.observation-page .site-nav__links .public-nav__item.is-primary:hover {
  background: #2f6ff1;
  color: #ffffff;
}

.observation-page.is-dark .site-nav__links > .public-language-toggle {
  border-color: #31445f;
  background: #0c1827;
  color: #dfe7f2;
}

.observation-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  border-bottom: 1px solid #17283d;
  background: #07101b;
}

.observation-hero::after {
  position: absolute;
  inset: auto -10% -300px 45%;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(47, 111, 241, 0.17), transparent 68%);
  pointer-events: none;
  content: "";
}

.observation-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: clamp(64px, 8vw, 116px);
}

.observation-hero__copy h1 {
  max-width: 11ch;
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: pre-line;
  text-wrap: balance;
}

.observation-hero__copy > p:not(.observation-hero__note) {
  max-width: 49ch;
  margin: 30px 0 0;
  color: #a6b4c8;
  font-size: 17px;
  line-height: 1.75;
}

.observation-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.observation-hero__cta,
.observation-hero__secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #2f6ff1;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out;
}

.observation-hero__cta {
  background: #2f6ff1;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
}

.observation-hero__secondary {
  border-color: #405571;
  background: #0b1725;
  color: #dfe7f2;
}

.observation-hero__cta:hover {
  border-color: #4b82f4;
  background: #4b82f4;
}

.observation-hero__secondary:hover {
  border-color: #617793;
  background: #112239;
}

.observation-hero__cta:active,
.observation-hero__secondary:active {
  transform: translateY(1px);
}

.observation-hero__snapshot {
  min-width: 0;
  padding: 30px;
  border: 1px solid #243650;
  border-radius: 6px;
  background: #0b1725;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.observation-hero__snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #91a1b8;
  font-size: 13px;
  font-weight: 680;
}

.observation-hero__demo {
  padding: 6px 8px;
  border: 1px solid #315993;
  border-radius: 3px;
  background: #10294f;
  color: #90b7ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.observation-hero__snapshot > strong {
  display: block;
  margin-top: 18px;
  color: #42d3a2;
  font-family: var(--font-mono);
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.observation-hero__snapshot > strong small {
  font-size: 0.3em;
  letter-spacing: 0.05em;
}

.observation-hero__snapshot-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 0;
  border-top: 1px solid #243650;
}

.observation-hero__snapshot-meta > div {
  min-width: 0;
  padding: 17px 14px 0;
  border-right: 1px solid #243650;
}

.observation-hero__snapshot-meta > div:first-child {
  padding-left: 0;
}

.observation-hero__snapshot-meta > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.observation-hero__snapshot-meta span {
  display: block;
  color: #788ba6;
  font-size: 10px;
}

.observation-hero__snapshot-meta strong,
.observation-hero__snapshot-meta time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0 0;
  color: #f4f7fb;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.observation-hero__snapshot .positive,
.observation-page .positive {
  color: #42d3a2;
}

.observation-hero__snapshot .negative,
.observation-page .negative {
  color: #ff7179;
}

.observation-hero__sync i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #42d3a2;
  box-shadow: 0 0 0 4px rgba(66, 211, 162, 0.12);
}

.observation-page .home-observation {
  padding: 94px 0 104px;
  border-color: #17283d;
  background: #08121f;
}

.observation-page .home-observation__header {
  align-items: flex-start;
  margin-bottom: 30px;
}

.observation-page .home-observation__header h2 {
  color: #f4f7fb;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.035em;
}

.observation-page .home-observation__header > div > p:last-child {
  color: #91a1b8;
}

.observation-page .home-observation__demo {
  border-color: #315993;
  background: #10294f;
  color: #90b7ff;
}

.observation-page .home-observation__panel {
  border-color: #243650;
  background: #0b1725;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.observation-page .home-observation__meta {
  border-color: #243650;
  background: #0e1b2b;
}

.observation-page .home-observation__meta > div,
.observation-page .home-observation__platform,
.observation-page .home-observation__board,
.observation-page .home-observation__today,
.observation-page .home-observation__breakdown,
.observation-page .home-observation__breakdown > div {
  border-color: #243650;
}

.observation-page .home-observation__platform {
  background: #0b1725;
  color: #eef3fa;
}

.observation-page .home-observation__platform:hover {
  background: #102035;
}

.observation-page .home-observation__platform-copy small {
  color: #8496af;
}

.observation-page .home-observation__platform-copy strong {
  color: #eef3fa;
}

.observation-page .home-observation__platform-offer {
  border-color: #315993;
  background: #10294f;
  color: #90b7ff;
}

.observation-page .home-observation__platform-cta {
  color: #90b7ff;
}

.observation-page .home-observation__meta dt,
.observation-page .home-observation__today > p,
.observation-page .home-observation__chart-heading p,
.observation-page .home-observation__breakdown dt,
.observation-page .home-observation__chart-heading > div:last-child span,
.observation-page .home-observation__ledger-heading p,
.observation-page .home-observation__notice {
  color: #8496af;
}

.observation-page .home-observation__meta dd,
.observation-page .home-observation__breakdown dd,
.observation-page .home-observation__chart-heading > div:first-child > strong,
.observation-page .home-observation__ledger-heading h3,
.observation-page .home-observation td {
  color: #eef3fa;
}

.observation-page .home-observation__sync i {
  background: #42d3a2;
  box-shadow: 0 0 0 4px rgba(66, 211, 162, 0.12);
}

.observation-page .home-observation__today > strong {
  color: #42d3a2;
}

/* Keep public performance numerals plain: Cascadia's dotted zero reads as a middle dot. */
.observation-page .observation-hero__snapshot > strong,
.observation-page .observation-hero__snapshot-meta strong,
.observation-page .observation-hero__snapshot-meta time,
.home-observation .home-observation__meta dd,
.home-observation .home-observation__today > strong,
.home-observation .home-observation__breakdown dd,
.home-observation .home-observation__chart-heading > div:first-child > strong,
.home-observation .home-observation__chart-heading > div:last-child strong,
.home-observation .home-observation-line__value,
.home-observation .home-observation-line__date,
.home-observation td:first-child,
.home-observation .home-observation-value {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
}

.observation-page .home-observation-line__grid {
  stroke: #243650;
}

.observation-page .home-observation-line__zero {
  stroke: #52657f;
}

.observation-page .home-observation-line__area {
  fill: rgba(52, 120, 246, 0.12);
}

.observation-page .home-observation-line__path {
  stroke: #4f87f7;
}

.observation-page .home-observation-line__point {
  fill: #0b1725;
  stroke: #4f87f7;
}

.observation-page .home-observation-line__point.negative {
  stroke: #df626b;
}

.observation-page .home-observation-line__value {
  fill: #65e0b6;
}

.observation-page .home-observation-line__value.negative {
  fill: #ff7179;
}

.observation-page .home-observation-line__date {
  fill: #8496af;
}

.observation-page .home-observation__ledger {
  border-color: #243650;
}

.observation-page .home-observation__table-wrap {
  border-color: #243650;
}

.observation-page .home-observation th,
.observation-page .home-observation td {
  border-color: #243650;
}

.observation-page .home-observation th {
  background: #0e1b2b;
  color: #91a1b8;
}

.observation-page .home-observation tbody tr:hover {
  background: #0e1b2b;
}

.observation-page .home-observation-state {
  background: #17253a;
  color: #afbdd0;
}

.observation-page .home-observation-state.current {
  background: rgba(66, 211, 162, 0.12);
  color: #65e0b6;
}

.observation-page .site-footer {
  border-color: #1b2a3e;
  background: #07101b;
  color: #73859f;
}

@media (max-width: 959px) {
  .observation-page .container {
    width: min(100% - 32px, 680px);
  }

  .observation-page .site-nav__links {
    border-color: #243650;
  }

  .observation-hero {
    padding: 72px 0 80px;
  }

  .observation-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .observation-hero__copy h1 {
    max-width: 11ch;
  }

  .observation-hero__snapshot {
    width: min(100%, 560px);
  }
}

@media (max-width: 600px) {
  .license-home-observation-link {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
  }

  .observation-hero {
    padding: 58px 0 64px;
    background: #07101b;
  }

  .observation-hero__grid {
    gap: 38px;
  }

  .observation-hero__copy h1 {
    font-size: clamp(44px, 12.5vw, 52px);
  }

  .observation-hero__copy > p:not(.observation-hero__note) {
    margin-top: 22px;
    font-size: 15px;
  }

  .observation-hero__actions,
  .observation-hero__cta,
  .observation-hero__secondary {
    width: 100%;
  }

  .observation-hero__snapshot {
    padding: 24px 20px;
  }

  .observation-hero__snapshot > strong {
    font-size: 44px;
  }

  .observation-hero__snapshot-meta {
    grid-template-columns: 1fr;
  }

  .observation-hero__snapshot-meta > div,
  .observation-hero__snapshot-meta > div:first-child,
  .observation-hero__snapshot-meta > div:last-child {
    padding: 14px 0 0;
    border-right: 0;
  }

  .observation-page .home-observation {
    padding: 64px 0 72px;
  }

  .observation-page .home-observation__meta > div,
  .observation-page .home-observation__meta > div:nth-child(2),
  .observation-page .home-observation__meta > div:nth-child(-n+2) {
    border-color: #243650;
  }

  .observation-page .home-observation tr {
    border-color: #243650;
    background: #0e1b2b;
  }

  .observation-page .home-observation td::before {
    color: #8496af;
  }
}

.public-page .site-nav__links > .observation-theme-toggle,
.public-page .site-nav > .observation-theme-toggle--compact {
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0;
  border: 1px solid #31445f;
  border-radius: 50%;
  background: #0c1827;
  color: #dfe7f2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

:is(.observation-page, .home-b) .observation-theme-toggle:hover {
  transform: translateY(-1px);
}

:is(.observation-page, .home-b) .observation-theme-toggle:active {
  transform: translateY(0);
}

.public-page .site-nav > .observation-theme-toggle--compact {
  display: none;
}

.observation-theme-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.observation-page.is-light {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf3fb;
  --ink: #101828;
  --muted: #526176;
  --line: #d7e0ec;
  --accent: #2764e7;
  --accent-strong: #1d4fc0;
  --accent-soft: #e9f0ff;
  --shadow: 0 28px 72px rgba(38, 72, 124, 0.14);
  --shadow-soft: 0 14px 40px rgba(38, 72, 124, 0.08);
  background: #f4f7fb;
  color: #101828;
}

.observation-page.is-light ::selection {
  background: #2764e7;
  color: #ffffff;
}

.observation-page.is-light .public-header {
  border-color: #d7e0ec;
  background: #f4f7fb;
}

.observation-page.is-light .site-nav {
  border-color: #d7e0ec;
}

.observation-page.is-light .public-wordmark {
  color: #101828;
}

.observation-page.is-light .public-wordmark__logo {
  border-color: #d7e0ec;
}

.observation-page.is-light .public-wordmark span {
  color: #68778c;
}

.observation-page.is-light .public-menu-button {
  border-color: #bcc8d8;
  background: #ffffff;
  color: #101828;
}

.observation-page.is-light .site-nav__links a,
.observation-page.is-light .site-nav__links > button {
  color: #526176;
}

.observation-page.is-light .site-nav__links a:hover,
.observation-page.is-light .site-nav__links > button:hover,
.observation-page.is-light .site-nav__links a[aria-current="page"] {
  background: #e8eef7;
  color: #101828;
}

.observation-page.is-light .site-nav__links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #2764e7;
}

.observation-page.is-light .site-nav__links .public-nav__item.is-primary,
.observation-page.is-light .site-nav__links .public-nav__item.is-primary:hover {
  background: #2764e7;
  color: #ffffff;
}

.observation-page.is-light .public-language-toggle {
  border-color: #bcc8d8;
  background: #ffffff;
  color: #526176;
}

.observation-page.is-light .public-language-toggle:hover {
  border-color: #8fa0b7;
  background: #eef3f9;
  color: #101828;
}

.observation-page.is-light .observation-theme-toggle,
.home-b.is-light .observation-theme-toggle {
  border-color: #bcc8d8;
  background: #ffffff;
  color: #34445a;
}

.observation-page.is-light .observation-theme-toggle:hover,
.home-b.is-light .observation-theme-toggle:hover {
  border-color: #8fa0b7;
  background: #eef3f9;
  color: #101828;
}

.observation-page.is-light .observation-hero {
  border-color: #d7e0ec;
  background: #f4f7fb;
}

.observation-page.is-light .observation-hero::after {
  background: radial-gradient(ellipse at center, rgba(39, 100, 231, 0.12), transparent 68%);
}

.observation-page.is-light .observation-hero__copy h1 {
  color: #101828;
}

.observation-page.is-light .observation-hero__copy > p:not(.observation-hero__note) {
  color: #526176;
}

.observation-page.is-light .observation-hero__secondary {
  border-color: #bcc8d8;
  background: #ffffff;
  color: #172033;
}

.observation-page.is-light .observation-hero__secondary:hover {
  border-color: #8fa0b7;
  background: #eef3f9;
}

.observation-page.is-light .observation-hero__snapshot {
  border-color: #cbd7e7;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(38, 72, 124, 0.14);
}

.observation-page.is-light .observation-hero__snapshot-head {
  color: #526176;
}

.observation-page.is-light .observation-unit-switch--dark {
  border-color: #c7d4e8;
  background: #eef3fa;
}

.observation-page.is-light .observation-unit-switch--dark button {
  color: #52657f;
}

.observation-page.is-light .observation-unit-switch--dark button:hover {
  color: #12233a;
}

.observation-page.is-light .observation-unit-switch--dark button[aria-pressed="true"] {
  background: #ffffff;
  color: #174da8;
  box-shadow: 0 2px 7px rgba(34, 66, 113, 0.16);
}

.observation-page.is-light .observation-hero__demo {
  border-color: #c6d5f8;
  background: #eef4ff;
  color: #2455bb;
}

.observation-page.is-light .observation-hero__snapshot > strong,
.observation-page.is-light .observation-hero__snapshot .positive,
.observation-page.is-light .positive {
  color: #10825e;
}

.observation-page.is-light .observation-hero__snapshot .negative,
.observation-page.is-light .negative {
  color: #c5424a;
}

.observation-page.is-light .observation-hero__snapshot-meta,
.observation-page.is-light .observation-hero__snapshot-meta > div {
  border-color: #d7e0ec;
}

.observation-page.is-light .observation-hero__snapshot-meta span {
  color: #778397;
}

.observation-page.is-light .observation-hero__snapshot-meta strong,
.observation-page.is-light .observation-hero__snapshot-meta time {
  color: #101828;
}

.observation-page.is-light .observation-hero__sync i {
  background: #15966a;
  box-shadow: 0 0 0 4px #dff5ec;
}

.observation-page.is-light .home-observation {
  border-color: #d7e0ec;
  background: #ffffff;
}

.observation-page.is-light .home-observation__header h2 {
  color: #101828;
}

.observation-page.is-light .home-observation__header > div > p:last-child {
  color: #526176;
}

.observation-page.is-light .home-observation__demo {
  border-color: #c6d5f8;
  background: #eef4ff;
  color: #2455bb;
}

.observation-page.is-light .home-observation__panel {
  border-color: #d7e0ec;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(38, 72, 124, 0.08);
}

.observation-page.is-light .home-observation__meta {
  border-color: #d7e0ec;
  background: #f8faff;
}

.observation-page.is-light .home-observation__meta > div,
.observation-page.is-light .home-observation__platform,
.observation-page.is-light .home-observation__board,
.observation-page.is-light .home-observation__today,
.observation-page.is-light .home-observation__breakdown,
.observation-page.is-light .home-observation__breakdown > div {
  border-color: #d7e0ec;
}

.observation-page.is-light .home-observation__platform {
  background: #ffffff;
  color: #101828;
}

.observation-page.is-light .home-observation__platform:hover {
  background: #f6f9fe;
}

.observation-page.is-light .home-observation__platform-copy small {
  color: #778397;
}

.observation-page.is-light .home-observation__platform-copy strong {
  color: #101828;
}

.observation-page.is-light .home-observation__platform-offer {
  border-color: #c6d5f8;
  background: #eef4ff;
  color: #2455bb;
}

.observation-page.is-light .home-observation__platform-cta {
  color: #1d4fc0;
}

.observation-page.is-light .home-observation__meta dt,
.observation-page.is-light .home-observation__today > p,
.observation-page.is-light .home-observation__chart-heading p,
.observation-page.is-light .home-observation__breakdown dt,
.observation-page.is-light .home-observation__chart-heading > div:last-child span,
.observation-page.is-light .home-observation__ledger-heading p {
  color: #778397;
}

.observation-page.is-light .home-observation__notice {
  color: #526176;
}

.observation-page.is-light .home-observation__meta dd,
.observation-page.is-light .home-observation__breakdown dd,
.observation-page.is-light .home-observation__chart-heading > div:first-child > strong,
.observation-page.is-light .home-observation__ledger-heading h3,
.observation-page.is-light .home-observation td {
  color: #101828;
}

.observation-page.is-light .home-observation__sync i {
  background: #15966a;
  box-shadow: 0 0 0 4px #dff5ec;
}

.observation-page.is-light .home-observation__today > strong {
  color: #10825e;
}

.observation-page.is-light .home-observation-line__grid {
  stroke: #dfe5ef;
}

.observation-page.is-light .home-observation-line__zero {
  stroke: #aeb9ca;
}

.observation-page.is-light .home-observation-line__area {
  fill: rgba(39, 100, 231, 0.08);
}

.observation-page.is-light .home-observation-line__path {
  stroke: #2b69eb;
}

.observation-page.is-light .home-observation-line__point {
  fill: #ffffff;
  stroke: #2b69eb;
}

.observation-page.is-light .home-observation-line__point.negative {
  stroke: #d05a62;
}

.observation-page.is-light .home-observation-line__value {
  fill: #10825e;
}

.observation-page.is-light .home-observation-line__value.negative {
  fill: #c5424a;
}

.observation-page.is-light .home-observation-line__date {
  fill: #6f7c90;
}

.observation-page.is-light .home-observation__table-wrap,
.observation-page.is-light .home-observation th,
.observation-page.is-light .home-observation td {
  border-color: #d7e0ec;
}

.observation-page.is-light .home-observation th {
  background: #f8faff;
  color: #667389;
}

.observation-page.is-light .home-observation tbody tr:hover {
  background: #fbfcff;
}

.observation-page.is-light .home-observation-state {
  background: #edf1f7;
  color: #526176;
}

.observation-page.is-light .home-observation-state.current {
  background: #e7f7f0;
  color: #087453;
}

.observation-page.is-light .site-footer {
  border-color: #d7e0ec;
  background: #f4f7fb;
  color: #69778a;
}

@media (max-width: 959px) {
  .public-page .site-nav > .observation-theme-toggle--compact {
    width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    margin: 0 0 0 8px;
  }

  .public-page .site-nav__links > .observation-theme-toggle--menu {
    display: none;
  }
}

@media (max-width: 600px) {
  .observation-page.is-light .observation-hero {
    background: #f4f7fb;
  }

  .observation-page.is-light .home-observation tr {
    border-color: #d7e0ec;
    background: #ffffff;
  }

  .observation-page.is-light .home-observation td::before {
    color: #778397;
  }
}

/* UI-1 final: keep account device actions visible without horizontal table hunting. */
.account-monitor-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.account-monitor-table th:nth-child(1) { width: 13%; }
.account-monitor-table th:nth-child(2) { width: 17%; }
.account-monitor-table th:nth-child(3) { width: 34%; }
.account-monitor-table th:nth-child(4) { width: 18%; }
.account-monitor-table th:nth-child(5) { width: 18%; }

.account-status-cell,
.account-identity-cell,
.account-performance-cell {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.account-status-cell {
  justify-items: start;
}

.account-status-cell small,
.account-identity-cell small,
.account-performance-cell small {
  color: var(--dark-muted);
  font-size: 11px;
}

.account-identity-cell > :is(strong, small),
.device-binding > :is(strong, small) {
  overflow-wrap: anywhere;
}

.account-performance-cell {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.performance-settings-panel .panel-header {
  align-items: center;
}

.settings-explainer {
  border-top: 1px solid var(--dark-line);
}

.settings-explainer p,
.performance-unavailable {
  margin: 0;
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.65;
}

.account-performance-cell.is-stale .performance-unavailable {
  color: #d4a36e;
}

.activation-reset-result {
  display: block;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(67, 145, 238, 0.45);
  border-radius: var(--radius-control);
  background: #101a29;
  color: #dce9ff;
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.account-performance-cell > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(59, 76, 103, 0.7);
  border-radius: 8px;
  background: rgba(8, 17, 30, 0.42);
  font-family: var(--font-sans);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.account-monitor-table .table-action-group {
  align-items: stretch;
  flex-direction: column;
}

.account-monitor-table .table-action-button {
  width: 100%;
}

@media (max-width: 680px) {
  .account-performance-cell {
    grid-template-columns: 1fr;
  }

  .account-monitor-table tr {
    grid-template-columns: 1fr;
  }

  .account-monitor-table td,
  .account-monitor-table td:nth-child(5),
  .account-monitor-table .account-monitor-action {
    grid-column: 1;
  }

  .admin-responsive-table,
  .admin-responsive-table tbody,
  .admin-responsive-table tr,
  .admin-responsive-table td {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .admin-responsive-table thead {
    display: none;
  }

  .admin-responsive-table tbody {
    padding: 12px;
  }

  .admin-responsive-table tr {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-control);
    background: #101a29;
  }

  .admin-responsive-table tr:last-child {
    margin-bottom: 0;
  }

  .admin-responsive-table td {
    display: grid;
    grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--dark-line);
    overflow-wrap: anywhere;
  }

  .admin-responsive-table td:last-child {
    border-bottom: 0;
  }

  .admin-responsive-table td::before {
    content: attr(data-label);
    color: var(--dark-muted);
    font-size: 12px;
    font-weight: 700;
  }

  .admin-responsive-table .empty-cell {
    grid-template-columns: 1fr;
  }

  .admin-responsive-table .empty-cell::before {
    display: none;
  }

  .admin-responsive-table .customer-identity,
  .admin-responsive-table .activation-key-cell,
  .admin-responsive-table .table-actions,
  .admin-responsive-table .table-action-group {
    min-width: 0;
  }

  .admin-responsive-table .table-actions,
  .admin-responsive-table .table-action-group {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-responsive-table .table-actions > button,
  .admin-responsive-table .table-action-group > button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .observation-currency-form {
    grid-template-columns: 1fr;
  }

  .observation-currency-warning {
    grid-column: 1;
  }

  .home-observation__header-actions,
  .observation-hero__snapshot-actions {
    justify-content: flex-start;
  }

  .observation-hero__snapshot-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 720px) {
  .modal-backdrop:has(.observation-display-login-form) {
    place-items: start center;
    overflow-y: auto;
  }
}

/* Multi-product catalog and product-scoped checkout. */
.product-catalog-page {
  min-height: 100dvh;
  background: var(--bg);
}

.product-catalog-page.is-dark {
  background: #081320;
  color: var(--dark-ink);
}

.product-catalog-hero {
  padding: clamp(44px, 6vw, 76px) 0 28px;
}

.product-catalog-hero .container {
  max-width: 1180px;
}

.product-catalog-hero h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.product-catalog-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.product-catalog-page.is-dark .product-catalog-hero p:last-child {
  color: var(--dark-muted);
}

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

.product-catalog-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.product-catalog-page.is-dark .product-catalog-controls {
  border-color: #26384d;
  background: #0e1b2a;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.product-catalog-search {
  display: flex;
  width: min(460px, 100%);
  min-width: 0;
}

.product-catalog-search input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #ccdaeb;
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.product-catalog-search input:focus {
  border-color: #4780f0;
  outline: none;
  box-shadow: 0 0 0 4px rgba(39, 100, 231, 0.14);
}

.product-catalog-page.is-dark .product-catalog-search input {
  border-color: #32485f;
  background: #14263a;
  color: #fff;
}

.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.product-category-tabs button {
  display: inline-flex;
  min-height: 40px;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
}

.product-category-tabs button small {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11px;
}

.product-category-tabs button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.product-catalog-page.is-dark .product-category-tabs button {
  border-color: #32485f;
  color: var(--dark-muted);
}

.product-catalog-page.is-dark .product-category-tabs button small {
  background: #14263a;
}

.product-catalog-page.is-dark .product-category-tabs button[aria-pressed="true"] {
  border-color: #528df6;
  background: rgba(39, 100, 231, 0.18);
  color: #b9d0ff;
}

.product-catalog-result-count {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-catalog-page.is-dark .product-catalog-result-count {
  color: var(--dark-muted);
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 34px;
}

.products-page .product-catalog-grid {
  padding-bottom: 34px;
}

.product-details-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(28px, 5vw, 54px);
}

.product-details-toolbar > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.product-catalog-page.is-dark .product-details-toolbar > span {
  color: var(--dark-muted);
}

.product-details-back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.product-details-back:hover,
.product-details-back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-details-page .product-introduction {
  margin-top: 22px;
  margin-bottom: clamp(72px, 9vw, 118px);
}

.product-catalog-card {
  display: flex;
  min-width: 0;
  min-height: 282px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.product-catalog-card.is-selected {
  border-color: rgba(39, 100, 231, 0.7);
  box-shadow: 0 20px 58px rgba(39, 100, 231, 0.14);
}

.product-catalog-page.is-dark .product-catalog-card {
  border-color: #26384d;
  background: #0e1b2a;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.product-catalog-page.is-dark .product-catalog-card.is-selected {
  border-color: #397cf2;
}

.product-catalog-card__top {
  display: flex;
  gap: 18px;
  align-items: center;
}

.product-catalog-card__mark {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(39, 100, 231, 0.28);
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.product-catalog-card__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-catalog-page.is-dark .product-catalog-card__mark {
  border-color: rgba(82, 141, 246, 0.35);
  background: rgba(39, 100, 231, 0.14);
  color: #8eb6ff;
}

.product-catalog-card h2 {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.1;
}

.product-catalog-card > p {
  display: -webkit-box;
  min-height: 76px;
  margin: 24px 0 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.product-catalog-page.is-dark .product-catalog-card > p {
  color: var(--dark-muted);
}

.product-catalog-card__highlights {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.product-catalog-page.is-dark .product-catalog-card__highlights {
  border-color: #26384d;
}

.product-catalog-card__highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
}

.product-catalog-page.is-dark .product-catalog-card__highlights li {
  color: var(--dark-ink);
}

.product-catalog-card__highlights li span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
}

.product-catalog-card__plans {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.product-catalog-page.is-dark .product-catalog-card__plans {
  border-color: #26384d;
}

.product-catalog-card__plans li {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-catalog-page.is-dark .product-catalog-card__plans li {
  border-color: #26384d;
}

.product-catalog-card__plans span {
  color: var(--muted);
}

.product-catalog-page.is-dark .product-catalog-card__plans span {
  color: var(--dark-muted);
}

.product-catalog-card__plans strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.product-catalog-card__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-catalog-card__footer > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-catalog-page.is-dark .product-catalog-card__footer > span {
  color: var(--dark-muted);
}

.product-catalog-page.is-dark .product-catalog-card__footer {
  border-color: #26384d;
}

.product-catalog-card__category {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
  font-size: 12px !important;
  letter-spacing: 0.03em;
}

.product-catalog-page.is-dark .product-catalog-card__category {
  background: rgba(39, 100, 231, 0.18);
  color: #a9c7ff !important;
}

.product-catalog-empty {
  grid-column: 1 / -1;
  padding: 54px 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.product-catalog-empty h2 {
  margin: 0 0 8px;
}

.product-catalog-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

.product-catalog-page.is-dark .product-catalog-empty {
  border-color: #32485f;
}

.product-catalog-page.is-dark .product-catalog-empty p {
  color: var(--dark-muted);
}

.product-catalog-pagination {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(64px, 8vw, 100px);
}

.product-catalog-pagination span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.product-catalog-page.is-dark .product-catalog-pagination span {
  color: var(--dark-muted);
}

.product-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  margin-top: 18px;
  margin-bottom: 28px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 120px;
}

.product-catalog-page.is-dark .product-introduction {
  border-color: #26384d;
  background: linear-gradient(135deg, #0e1b2a 0%, #101f31 100%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.product-introduction__title-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.product-introduction h2 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.product-introduction__copy > p:not(.license-home-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.product-catalog-page.is-dark .product-introduction__copy > p:not(.license-home-eyebrow) {
  color: var(--dark-muted);
}

.product-introduction__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.product-catalog-page.is-dark .product-introduction__facts {
  border-color: #26384d;
  background: #26384d;
}

.product-introduction__facts div {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--surface);
}

.product-catalog-page.is-dark .product-introduction__facts div {
  background: #0e1b2a;
}

.product-introduction__facts dt {
  color: var(--muted);
  font-size: 12px;
}

.product-introduction__facts dd {
  margin: 0;
  font-weight: 800;
}

.product-introduction__features {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(39, 100, 231, 0.25);
  border-radius: 20px;
  background: rgba(39, 100, 231, 0.06);
}

.product-catalog-page.is-dark .product-introduction__features {
  border-color: rgba(82, 141, 246, 0.3);
  background: rgba(39, 100, 231, 0.1);
}

.product-introduction__features h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.product-introduction__features ul {
  display: grid;
  gap: 15px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.product-introduction__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.product-introduction__features li span {
  color: var(--accent);
  font-weight: 900;
}

.product-introduction__features .primary-button {
  width: 100%;
  margin-top: auto;
}

.product-introduction__features small {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.product-catalog-page.is-dark .product-introduction__features small {
  color: var(--dark-muted);
}

.product-introduction__philosophy {
  grid-column: 1 / -1;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.product-catalog-page.is-dark .product-introduction__philosophy {
  border-top-color: #26384d;
}

.product-introduction__philosophy-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 8px clamp(28px, 5vw, 70px);
  align-items: end;
  margin-bottom: 24px;
}

.product-introduction__philosophy-heading .license-home-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.product-introduction__philosophy-heading h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.025em;
}

.product-introduction__philosophy-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-catalog-page.is-dark .product-introduction__philosophy-heading > p:last-child {
  color: var(--dark-muted);
}

.product-introduction__philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--line);
  list-style: none;
}

.product-catalog-page.is-dark .product-introduction__philosophy-grid {
  background: #26384d;
}

.product-introduction__philosophy-grid li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  min-height: 188px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
}

.product-catalog-page.is-dark .product-introduction__philosophy-grid li {
  background: #0e1b2a;
}

.product-introduction__philosophy-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.65;
}

.product-introduction__philosophy-grid h4 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.product-introduction__philosophy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.product-catalog-page.is-dark .product-introduction__philosophy-grid p {
  color: var(--dark-muted);
}

.product-introduction__environment {
  grid-column: 1 / -1;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.product-catalog-page.is-dark .product-introduction__environment {
  border-top-color: #26384d;
}

.product-introduction__environment .license-home-eyebrow {
  margin: 0 0 8px;
}

.product-introduction__environment h3 {
  margin: 0 0 22px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.025em;
}

.product-introduction__environment ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-introduction__environment li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.product-introduction__environment li > span {
  color: #b98516;
  font-size: 17px;
  line-height: 1.55;
}

.product-introduction__environment li p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-introduction__environment li strong {
  color: var(--ink);
  font-weight: 760;
}

.product-catalog-page.is-dark .product-introduction__environment li p {
  color: var(--dark-muted);
}

.product-catalog-page.is-dark .product-introduction__environment li strong {
  color: var(--dark-ink);
}

.product-catalog-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  margin-bottom: clamp(70px, 10vw, 130px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.product-catalog-page.is-dark .product-catalog-rules {
  border-color: #26384d;
  background: #26384d;
}

.product-catalog-rules > div {
  padding: 26px;
  background: var(--surface);
}

.product-catalog-page.is-dark .product-catalog-rules > div {
  background: #0e1b2a;
}

.product-catalog-rules span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
}

.product-catalog-rules p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-catalog-page.is-dark .product-catalog-rules p {
  color: var(--dark-muted);
}

.checkout-product-picker {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.checkout-product-picker > div:first-child {
  display: grid;
  gap: 3px;
}

.checkout-product-picker > div:first-child span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkout-product-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.checkout-product-picker__options button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.checkout-product-picker__options button > span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
}

.checkout-product-picker__options button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.checkout-bundle-offer {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 720;
}

.summary-original-price {
  color: var(--muted) !important;
  text-decoration: line-through;
}

.summary-discount strong {
  color: #087a5b;
}

.summary-bundle-note {
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: #eef8f4;
  color: #087a5b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.checkout-product-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(178, 91, 19, 0.3);
  border-radius: var(--radius-control);
  background: rgba(178, 91, 19, 0.08);
  color: var(--warning);
}

.checkout-product-notice span {
  font-size: 13px;
}

.product-name-list,
.table-actions--stacked {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.entitlement-stack {
  display: grid;
  width: 100%;
}

.entitlement-stack__item {
  display: grid;
  height: 64px;
  align-content: center;
  gap: 4px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(137, 161, 194, 0.16);
}

.entitlement-stack__item:last-child {
  border-bottom: 0;
}

.table-actions--stacked > .entitlement-stack {
  gap: 0;
}

.customer-license-actions {
  display: grid;
  min-width: 218px;
  align-items: start;
}

.customer-license-actions .entitlement-stack__item {
  justify-items: stretch;
}

.customer-license-actions .secondary-button {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
}

.product-name-chip {
  display: inline-flex;
  max-width: 230px;
  padding: 5px 8px;
  border: 1px solid rgba(67, 129, 255, 0.26);
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.09);
  color: #a9c7ff;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .product-catalog-controls {
    grid-template-columns: 1fr;
  }

  .product-category-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .product-catalog-grid,
  .product-catalog-rules,
  .product-introduction {
    grid-template-columns: 1fr;
  }

  .product-catalog-card {
    min-height: 0;
  }

  .checkout-product-picker {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .checkout-product-picker__options {
    justify-content: flex-start;
  }

  .checkout-bundle-offer {
    grid-column: 1;
  }

  .product-introduction__facts {
    grid-template-columns: 1fr;
  }

  .product-introduction__philosophy-heading,
  .product-introduction__philosophy-grid {
    grid-template-columns: 1fr;
  }

  .product-introduction__philosophy-grid li {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .product-catalog-hero {
    padding-top: 48px;
  }

  .product-catalog-card__footer,
  .product-catalog-card__plans li {
    align-items: stretch;
    flex-direction: column;
  }

  .product-catalog-card__footer button,
  .product-catalog-card__footer a {
    width: 100%;
  }

  .product-catalog-search {
    flex-wrap: wrap;
  }

  .product-catalog-search input {
    flex-basis: 100%;
  }

  .product-introduction__title-row {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .product-details-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .bitget-portal-status__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .bitget-portal-status__heading .status {
    align-self: flex-start;
  }

}

/* Keep the preview's product-specific hero while retaining the site's light theme. */
.observation-page--products.is-light .observation-hero {
  background: linear-gradient(118deg, #10223e 0%, #122d53 68%, #16487b 100%);
}
.observation-page--products.is-light .observation-hero__copy h1 { color: #fff; }
.observation-page--products.is-light .observation-hero__copy > p:not(.observation-hero__note) { color: #c9daf1; }
.observation-page--products.is-light .observation-preview-back { color: #b5cfff; }
.product-catalog-card__observation { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin: 0 0 16px; color: #245ed7; font-size: 14px; font-weight: 750; }
.product-catalog-card__observation:hover { text-decoration: underline; }
.observation-admin-preview-note { margin: 0; padding: 12px 16px; border: 1px solid #6b552a; border-radius: 10px; background: #2d271b; color: #f0d59d; font-size: 13px; }

/* Cinematic home concept: one authentic brand mark, not a decorative product carousel. */
.home-b .license-home-hero {
  position: relative;
  min-height: min(770px, calc(100dvh - 120px));
  overflow: hidden;
  padding: 50px 0 66px;
  background: radial-gradient(ellipse at 75% 46%, #102744 0%, #060f1d 39%, #03070d 79%);
  color: #f6f8fc;
}

.home-b .license-home-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(28, 161, 215, 0.04) 65%, transparent 100%), repeating-linear-gradient(0deg, transparent 0 72px, rgba(130, 176, 228, 0.045) 73px 74px);
  pointer-events: none;
  content: "";
}

.home-b .license-home-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr); gap: 10px; align-items: center; }
.home-b .license-home-copy { position: relative; z-index: 2; }
.home-b .license-home-eyebrow { color: #efc85f; }
.home-b .license-home-eyebrow::before { background: #efc85f; }
.home-b .license-home-hero h1 { color: #f6f8fc; font-size: clamp(56px, 5.5vw, 77px); }
.home-b .license-home-product strong {
  background: linear-gradient(100deg, #f4d674 0%, #f9f5dd 42%, #72daf4 95%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-b .license-home-summary { color: #b7c5d6; }
.home-b .license-home-actions .primary-button { border-color: #f3cd6b; background: #f3cd6b; color: #081526; }
.home-b .license-home-actions .primary-button:hover { border-color: #ffe297; background: #ffe297; }
.home-b .license-home-actions .secondary-button { border-color: #58718c; background: rgba(15, 32, 53, 0.75); color: #f4f7fb; }
.home-b .license-home-actions .secondary-button:hover { border-color: #8daac7; background: rgba(32, 59, 88, 0.88); }
.home-b .license-home-observation-link { color: #8bdafa; }

.home-b .license-home-visual {
  position: relative;
  display: block;
  width: 100%;
  min-height: 580px;
  margin: 0;
  overflow: visible;
  isolation: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-b .license-home-visual::before { content: none; }
.license-home-visual__aura {
  position: absolute;
  inset: 9% -8% 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(21, 109, 180, 0.23), rgba(12, 65, 118, 0.14) 42%, transparent 72%);
  filter: blur(26px);
  animation: home-aura-breathe 8s ease-in-out infinite;
}

.license-home-visual__trace {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 98%;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 148, 210, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.license-home-visual__trace--one::after,
.license-home-visual__trace--two::after {
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-top-color: rgba(93, 208, 244, 0.65);
  border-radius: 50%;
  content: "";
  animation: home-trace-spin 28s linear infinite;
}

.license-home-visual__trace--two { width: 73%; opacity: 0.5; }
.license-home-visual__trace--two::after { border-top-color: rgba(244, 191, 62, 0.68); animation-duration: 35s; animation-direction: reverse; }
.license-home-visual__brand {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(113%, 620px);
  aspect-ratio: 1;
  mix-blend-mode: screen;
  transform: translate(-50%, -51%);
  animation: home-brand-drift 8s ease-in-out infinite;
}

.license-home-visual__brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(0 0 25% 0);
  filter: drop-shadow(0 12px 36px rgba(0, 183, 255, 0.12));
}
@keyframes home-aura-breathe { 50% { opacity: 0.58; transform: scale(1.08); } }
@keyframes home-brand-drift { 50% { transform: translate(-50%, -52.5%); } }
@keyframes home-trace-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .home-b .license-home-hero { min-height: 0; padding: 76px 0 56px; }
  .home-b .license-home-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-b .license-home-visual { width: min(100%, 620px); min-height: 510px; margin: 8px auto 0; }
}

@media (max-width: 560px) {
  .home-b .license-home-hero { padding: 52px 0 35px; }
  .home-b .license-home-hero h1 { font-size: clamp(43px, 10vw, 58px); }
  .home-b .license-home-visual { min-height: 365px; }
  .license-home-visual__brand { width: min(120%, 430px); }
}

/* Product catalog: put product choice ahead of the eligibility explanation. */
.product-catalog-hero { padding: 38px 0 17px; }
.product-catalog-hero h1 { margin: 7px 0 8px; font-size: clamp(40px, 4.2vw, 54px); }
.product-catalog-hero__summary { max-width: 650px; color: var(--muted); font-size: 15px; }
.product-catalog-page.is-dark .product-catalog-hero__summary { color: var(--dark-muted); }

.bg-agent-benefit {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  min-height: 0;
  margin-bottom: 16px;
  padding: 20px 25px;
  border-radius: 18px;
  background: linear-gradient(110deg, #102541, #0b202c 72%, #0d3535);
  box-shadow: 0 14px 40px rgba(10, 30, 50, 0.1);
}

.bg-agent-benefit::after { content: none; }
.bg-agent-benefit__badge { padding: 3px 9px 3px 4px; font-size: 11px; }
.bg-agent-benefit__brand { min-height: 22px; gap: 4px; padding: 1px 7px 1px 2px; }
.bg-agent-benefit__brand img { width: 18px; height: 18px; border-radius: 5px; }
.bg-agent-benefit__brand b { font-size: 10px; }
.bg-agent-benefit h2 { max-width: none; margin: 8px 0 4px; font-size: clamp(20px, 2.1vw, 25px); letter-spacing: -0.025em; }
.bg-agent-benefit__main > p { max-width: 700px; font-size: 13px; line-height: 1.55; }
.bg-agent-benefit__actions { display: flex; width: 218px; flex-wrap: wrap; gap: 7px 13px; justify-content: flex-end; align-content: center; margin: 0; }
.bg-agent-benefit__primary { width: 100%; min-height: 40px; padding: 8px 14px; border-radius: 9px; font-size: 13px; box-shadow: none; }
.bg-agent-benefit .bg-agent-benefit__signup { margin: 0; font-size: 11px; white-space: nowrap; }
.bg-agent-benefit__secondary { min-height: 0; padding: 0; border: 0; background: transparent; color: #c3d7e9; font-size: 11px; }
.bg-agent-benefit__secondary:hover { color: #fff; text-decoration: underline; }

.product-catalog-controls {
  gap: 12px 20px;
  margin-bottom: 14px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-catalog-page.is-dark .product-catalog-controls { border: 0; background: transparent; box-shadow: none; }
.product-category-tabs button { min-height: 38px; }
.product-catalog-grid { gap: 18px; }

.product-catalog-card {
  --catalog-accent: #285fde;
  position: relative;
  min-height: 325px;
  overflow: hidden;
  padding: 24px;
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(32, 63, 103, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-catalog-card[data-category="gold"] { --catalog-accent: #bb8a24; }
.product-catalog-card[data-category="forex"] { --catalog-accent: #188da9; }
.product-catalog-card[data-category="multi"] { --catalog-accent: #3566d8; }
.product-catalog-card::before { position: absolute; top: 0; left: 24px; width: 72px; height: 3px; border-radius: 0 0 6px 6px; background: var(--catalog-accent); content: ""; }
.product-catalog-card:hover { transform: translateY(-4px); border-color: #b9cbe4; box-shadow: 0 19px 43px rgba(32, 63, 103, 0.12); }
.product-catalog-page.is-dark .product-catalog-card:hover { border-color: #47749e; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.product-catalog-card__top { gap: 16px; align-items: flex-start; }
.product-catalog-card__mark { width: 76px; height: 76px; border-radius: 17px; }
.product-catalog-card__status-row { gap: 7px; }
.product-catalog-card__category { padding: 4px 8px; background: color-mix(in srgb, var(--catalog-accent) 10%, white); color: var(--catalog-accent) !important; font-size: 11px !important; }
.product-catalog-card h2 { margin: 7px 0 0; font-size: clamp(22px, 2.2vw, 26px); }
.product-catalog-card > p { min-height: 0; margin: 17px 0 0; font-size: 14px; line-height: 1.55; -webkit-line-clamp: 2; line-clamp: 2; }
.product-catalog-card__points { display: grid; gap: 6px; margin: 14px 0 17px; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.product-catalog-card__points li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-catalog-card__points li::before { display: inline-block; width: 13px; color: var(--catalog-accent); font-weight: 900; content: "✓"; }
.product-catalog-page.is-dark .product-catalog-card__points { color: var(--dark-muted); }
.product-catalog-card__footer { gap: 12px; padding-top: 14px; }
.product-catalog-card__details { display: inline-flex; min-height: 39px; gap: 10px; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 9px; background: #275bd0; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.product-catalog-card__details:hover { background: #194bb8; }
.product-catalog-card__details:focus-visible,
.product-catalog-card__observation:focus-visible { outline: 3px solid #8db6ff; outline-offset: 3px; }
.product-catalog-card__observation { margin: 0; padding: 8px 4px; min-height: 44px; box-sizing: border-box; color: #275bd0; font-size: 12px; white-space: nowrap; }
.bg-agent-benefit-modal [aria-invalid="true"] { border-color: #ff8d9c; outline: 2px solid #ff8d9c; outline-offset: 2px; }
.product-catalog-page.is-dark .product-catalog-card__observation { color: #94baff; }

@media (max-width: 900px) {
  .bg-agent-benefit { grid-template-columns: minmax(0, 1fr); }
  .bg-agent-benefit__actions { width: auto; justify-content: flex-start; }
  .bg-agent-benefit__primary { width: auto; }
}

@media (max-width: 560px) {
  .product-catalog-hero { padding: 23px 0 10px; }
  .product-catalog-hero h1 { font-size: 38px; }
  .product-catalog-hero__summary { font-size: 13px; line-height: 1.45; }
  .bg-agent-benefit { gap: 13px; padding: 16px 18px; }
  .bg-agent-benefit h2 { font-size: 20px; }
  .bg-agent-benefit__main > p { font-size: 12px; }
  .bg-agent-benefit__actions { display: flex; flex-wrap: wrap; }
  .bg-agent-benefit__primary { width: 100%; }
  .product-catalog-controls { gap: 9px; padding: 9px 0; }
  .product-catalog-search { width: 100%; }
  .product-category-tabs { gap: 5px; }
  .product-category-tabs button { min-height: 33px; gap: 5px; padding: 5px 8px; font-size: 11px; }
  .product-category-tabs button small { min-width: 17px; height: 17px; font-size: 9px; }
  .product-catalog-card { min-height: 0; padding: 20px; }
  .product-catalog-card__mark { width: 64px; height: 64px; }
  .product-catalog-card__footer { align-items: center; flex-direction: row; }
  .product-catalog-card__footer a { width: auto; }
}

/* Bitcoin Breakout: distinct API/EX5 delivery and email-based web authorization. */
.public-nav__item--bitcoin {
  border: 1px solid rgba(24, 194, 170, 0.38);
  border-radius: 999px;
  background: rgba(24, 194, 170, 0.08);
  color: #087f73 !important;
}

.is-dark .public-nav__item--bitcoin,
.home-b.is-dark .public-nav__item--bitcoin {
  border-color: rgba(44, 226, 201, 0.34);
  background: rgba(20, 185, 166, 0.12);
  color: #6df2df !important;
}

.bitcoin-edition-selector {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(250px, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(24px, 4vw, 54px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.bitcoin-edition-selector__heading h3 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.025em;
}

.bitcoin-edition-selector__heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.bitcoin-edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bitcoin-edition-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(21, 54, 96, 0.07);
}

.bitcoin-edition-card.is-ready {
  border-color: rgba(16, 170, 148, 0.42);
  background: linear-gradient(145deg, rgba(31, 211, 181, 0.09), var(--surface) 56%);
}

.bitcoin-edition-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bitcoin-edition-card__mark {
  display: inline-grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #0d2a42;
  color: #54ead4;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.bitcoin-edition-card h4 { margin: 22px 0 9px; font-size: 20px; }
.bitcoin-edition-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.bitcoin-edition-card .primary-button,
.bitcoin-edition-card .secondary-button { width: 100%; margin-top: auto; }

.product-catalog-page.is-dark .bitcoin-edition-selector { border-top-color: #26384d; }
.product-catalog-page.is-dark .bitcoin-edition-selector__heading > p:last-child,
.product-catalog-page.is-dark .bitcoin-edition-card p { color: var(--dark-muted); }
.product-catalog-page.is-dark .bitcoin-edition-card { border-color: #2b425d; background: #0c1928; }
.product-catalog-page.is-dark .bitcoin-edition-card.is-ready { border-color: rgba(63, 224, 198, 0.42); background: linear-gradient(145deg, rgba(20, 185, 166, 0.14), #0c1928 58%); }

.bitcoin-access-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(42, 211, 184, 0.3);
  border-radius: 24px;
  background: linear-gradient(125deg, #0a1728 0%, #102b40 58%, #0b383c 100%);
  color: #f7fbff;
  box-shadow: 0 24px 64px rgba(0, 14, 33, 0.28);
}

.bitcoin-access-card__glow {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 202, 0.22), transparent 68%);
  animation: bitcoin-access-pulse 6s ease-in-out infinite;
}

.bitcoin-access-card__content { padding: clamp(28px, 5vw, 48px); }
.bitcoin-access-card__badge { display: inline-flex; gap: 9px; align-items: center; color: #98b7cf; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.bitcoin-access-card__badge span { display: inline-grid; min-width: 42px; height: 28px; place-items: center; border: 1px solid rgba(68, 239, 213, 0.42); border-radius: 8px; background: rgba(29, 203, 177, 0.12); color: #5cf0da; font-family: var(--font-mono); }
.bitcoin-access-card h2 { margin: 18px 0 10px; color: #fff; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.035em; }
.bitcoin-access-card p { max-width: 820px; margin: 0; color: #aac1d4; font-size: 15px; line-height: 1.75; }
.bitcoin-access-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 28px 0 24px; overflow: hidden; border: 1px solid rgba(134, 181, 213, 0.2); border-radius: 14px; background: rgba(134, 181, 213, 0.18); }
.bitcoin-access-card__facts span { display: grid; gap: 6px; padding: 16px 18px; background: rgba(7, 24, 41, 0.78); }
.bitcoin-access-card__facts small { color: #7898b0; }
.bitcoin-access-card__facts strong { color: #f4f9ff; font-size: 14px; }
.bitcoin-access-card .secondary-button { border-color: rgba(166, 198, 222, 0.34); background: rgba(255, 255, 255, 0.04); color: #eaf5ff; }

.web-access-issuer-note,
.web-access-output {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(43, 210, 184, 0.28);
  border-radius: 14px;
  background: rgba(23, 181, 158, 0.08);
}

.web-access-issuer-note > span,
.web-access-output > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 7px; background: #0f3c3b; color: #6cf0dc; font-family: var(--font-mono); font-size: 11px; font-weight: 900; }
.web-access-issuer-note div { display: grid; gap: 3px; }
.web-access-issuer-note p { margin: 0; color: var(--dark-muted); font-size: 12px; line-height: 1.55; }
.web-access-output { justify-content: space-between; }
.web-access-output .primary-button { margin-left: auto; }

@keyframes bitcoin-access-pulse {
  50% { transform: scale(1.08) translate(-3%, 2%); opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
  .bitcoin-access-card__glow { animation: none; }
}

@media (max-width: 820px) {
  .bitcoin-edition-selector { grid-template-columns: 1fr; }
  .bitcoin-access-card__facts { grid-template-columns: 1fr; }
  .web-access-output { align-items: stretch; flex-direction: column; }
  .web-access-output .primary-button { width: 100%; margin-left: 0; }
}

@media (max-width: 620px) {
  .bitcoin-edition-grid { grid-template-columns: 1fr; }
  .bitcoin-edition-card { min-height: 0; }
  .bitcoin-access-card__content { padding: 24px 20px; }
}

/* Linear Flux local concept */
:root {
  color-scheme: dark;
  --font-sans: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --linear-bg: #07070a;
  --linear-bg-raised: #0a0a10;
  --linear-surface: rgba(17, 17, 24, 0.78);
  --linear-surface-solid: #101017;
  --linear-surface-soft: rgba(25, 25, 35, 0.74);
  --linear-ink: #f6f5fb;
  --linear-muted: #9695a7;
  --linear-faint: #666678;
  --linear-line: rgba(255, 255, 255, 0.09);
  --linear-line-strong: rgba(255, 255, 255, 0.16);
  --linear-violet: #8d7cff;
  --linear-violet-strong: #a99cff;
  --linear-cyan: #50e3d3;
  --linear-amber: #f6c978;
  --linear-rose: #ff829f;
  --linear-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --linear-shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.28);
}

html { background: var(--linear-bg); }

body {
  background:
    radial-gradient(circle at 12% -8%, rgba(114, 91, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(50, 214, 204, 0.08), transparent 32rem),
    var(--linear-bg);
  color: var(--linear-ink);
  font-family: var(--font-sans);
}

body::selection,
.page-root ::selection {
  background: rgba(141, 124, 255, 0.7);
  color: #fff;
}

.page-root,
.checkout-shell,
.auth-page,
.dashboard-page,
.gold-breakout-static-page {
  --bg: var(--linear-bg);
  --surface: var(--linear-surface-solid);
  --surface-soft: #161620;
  --ink: var(--linear-ink);
  --muted: var(--linear-muted);
  --line: var(--linear-line);
  --accent: var(--linear-violet);
  --accent-strong: var(--linear-violet-strong);
  --accent-soft: rgba(141, 124, 255, 0.13);
  --dark-bg: var(--linear-bg);
  --dark-surface: var(--linear-surface-solid);
  --dark-soft: #161620;
  --dark-line: var(--linear-line);
  --dark-ink: var(--linear-ink);
  --dark-muted: var(--linear-muted);
  --shadow: var(--linear-shadow);
  --shadow-soft: var(--linear-shadow-soft);
  color-scheme: dark;
  background: transparent;
  color: var(--linear-ink);
}

.page-root {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: clip;
}

.page-root::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 38% at 50% -8%, rgba(141, 124, 255, 0.12), transparent 72%),
    radial-gradient(ellipse 34% 28% at 100% 38%, rgba(80, 227, 211, 0.055), transparent 74%),
    linear-gradient(180deg, #08080c 0%, #07070a 54%, #09090d 100%);
  content: "";
  pointer-events: none;
}

.prototype-toolbar {
  border-bottom: 1px solid var(--linear-line) !important;
  background: rgba(7, 7, 10, 0.86) !important;
  color: var(--linear-muted) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(140%);
}

.prototype-toolbar select,
.prototype-toolbar button {
  border-color: var(--linear-line-strong) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--linear-ink) !important;
}

.public-header,
.public-header--dark,
.public-header--light,
.home-b.is-dark .public-header--dark,
.observation-page .public-header--dark,
.product-catalog-page .public-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--linear-line) !important;
  background: rgba(7, 7, 10, 0.72) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(24px) saturate(145%);
}

.public-page .site-nav,
.observation-page .site-nav,
.checkout-shell .site-nav {
  min-height: 78px;
  border-color: transparent !important;
}

.public-wordmark,
.home-b.is-dark .public-wordmark,
.observation-page .public-wordmark {
  color: var(--linear-ink) !important;
}

.public-wordmark__logo,
.home-b.is-dark .public-wordmark__logo,
.observation-page .public-wordmark__logo {
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.24);
}

.public-wordmark__copy > span,
.public-wordmark span,
.home-b.is-dark .public-wordmark span,
.observation-page .public-wordmark span {
  color: var(--linear-muted) !important;
}

.public-page .site-nav__links a,
.public-page .site-nav__links > button,
.observation-page .site-nav__links a,
.observation-page .site-nav__links > button {
  min-height: 38px;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: #aaa9b8 !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.public-page .site-nav__links a:hover,
.public-page .site-nav__links > button:hover,
.public-page .site-nav__links a[aria-current="page"],
.observation-page .site-nav__links a:hover,
.observation-page .site-nav__links > button:hover,
.observation-page .site-nav__links a[aria-current="page"] {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.public-page .site-nav__links .public-nav__item.is-primary,
.observation-page .site-nav__links .public-nav__item.is-primary {
  border-color: rgba(164, 151, 255, 0.4) !important;
  background: linear-gradient(135deg, rgba(141, 124, 255, 0.95), rgba(104, 86, 228, 0.95)) !important;
  color: #fff !important;
  box-shadow: 0 10px 32px rgba(112, 91, 255, 0.24) !important;
}

.public-page .site-nav__links > .public-language-toggle,
.home-b.is-dark .public-language-toggle,
.observation-page.is-dark .site-nav__links > .public-language-toggle,
.public-menu-button {
  border-color: var(--linear-line-strong) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #dedde7 !important;
}

.public-page .primary-button,
.observation-page .observation-hero__cta,
.auth-b .primary-button,
.dashboard-page .primary-button {
  min-height: 48px;
  border: 1px solid rgba(180, 170, 255, 0.48) !important;
  border-radius: 11px !important;
  background: var(--public-primary-background) !important;
  color: #fff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 14px 36px rgba(112, 91, 255, 0.24) !important;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease !important;
}

.public-page .primary-button:hover,
.observation-page .observation-hero__cta:hover,
.auth-b .primary-button:hover,
.dashboard-page .primary-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.26), 0 18px 44px rgba(112, 91, 255, 0.32) !important;
}

.public-page .secondary-button,
.observation-page .observation-hero__secondary,
.public-page .ghost-button,
.auth-b .secondary-button,
.auth-b .ghost-button,
.dashboard-page .secondary-button,
.home-b.is-dark .secondary-button {
  min-height: 48px;
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #e8e7ef !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease !important;
}

.public-page .secondary-button:hover,
.observation-page .observation-hero__secondary:hover,
.public-page .ghost-button:hover,
.auth-b .secondary-button:hover,
.auth-b .ghost-button:hover,
.dashboard-page .secondary-button:hover,
.home-b.is-dark .secondary-button:hover {
  border-color: rgba(171, 159, 255, 0.42) !important;
  background: rgba(141, 124, 255, 0.1) !important;
  transform: translateY(-2px);
}

.home-b,
.home-b.is-light,
.home-b.is-dark {
  color-scheme: dark;
  background: transparent !important;
  color: var(--linear-ink);
}

.home-b .container {
  width: min(1240px, calc(100% - 64px));
}

.license-home-hero {
  position: relative;
  min-height: min(850px, calc(100dvh - 78px));
  overflow: hidden;
  padding: clamp(80px, 9vw, 132px) 0 96px;
  border-bottom: 1px solid var(--linear-line);
}

.license-home-hero::before {
  position: absolute;
  inset: -42% -28% auto 34%;
  width: 92%;
  aspect-ratio: 1.35;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 44%, rgba(236, 230, 255, 0.68) 45%, rgba(141, 124, 255, 0.42) 47%, rgba(80, 227, 211, 0.25) 49%, transparent 54%);
  filter: blur(18px);
  opacity: 0.72;
  transform: rotate(-11deg);
  content: "";
  pointer-events: none;
  animation: hm-linear-flow 15s ease-in-out infinite alternate;
}

.license-home-hero::after {
  position: absolute;
  inset: auto 3% -46% 37%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 102, 255, 0.14), transparent 64%);
  filter: blur(10px);
  content: "";
  pointer-events: none;
}

.license-home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: clamp(46px, 7vw, 92px);
}

.license-home-copy { max-width: 760px; }

.license-home-eyebrow {
  color: #afa5ff !important;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.license-home-eyebrow::before {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--linear-violet), var(--linear-cyan));
  box-shadow: 0 0 14px var(--linear-violet);
}

.license-home-hero h1 {
  max-width: 10.8ch;
  color: var(--linear-ink) !important;
  font-size: clamp(62px, 6.4vw, 98px);
  font-weight: 660;
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.license-home-product strong {
  background: linear-gradient(105deg, #fff 4%, #d5ceff 42%, #8d7cff 72%, #65e9da 108%);
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 8px 28px rgba(141, 124, 255, 0.18));
}

.license-home-summary {
  max-width: 31em;
  margin-top: 30px;
  color: var(--linear-muted) !important;
  font-size: 17px;
  line-height: 1.75;
}

.license-home-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.license-home-signals span {
  padding: 7px 10px;
  border: 1px solid var(--linear-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #858496;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.license-home-actions { gap: 12px; margin-top: 31px; }
.license-home-actions .primary-button,
.license-home-actions .secondary-button { min-width: 158px; }

.license-home-observation-link {
  color: #a9a0f9 !important;
  text-decoration: none !important;
}

.license-home-observation-link:hover { color: #d2ccff !important; }

.license-home-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 32%),
    radial-gradient(circle at 66% 36%, rgba(141, 124, 255, 0.16), transparent 36%),
    rgba(12, 12, 18, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 44px 110px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(130%);
}

.license-home-visual::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  content: "";
}

.license-home-visual__aura {
  position: absolute;
  inset: 8% 5% 7%;
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, transparent 0 18%, rgba(80, 227, 211, 0.45) 26%, #eeeaff 31%, rgba(141, 124, 255, 0.55) 38%, transparent 47% 72%, rgba(246, 201, 120, 0.44) 82%, transparent 91%);
  filter: blur(26px);
  opacity: 0.48;
  animation: hm-linear-orbit 18s linear infinite;
}

.license-home-visual__trace {
  position: absolute;
  border: 1px solid transparent;
  border-radius: 50%;
  pointer-events: none;
}

.license-home-visual__trace--one {
  inset: 15% 10%;
  border-top-color: rgba(235, 231, 255, 0.66);
  border-right-color: rgba(141, 124, 255, 0.42);
  transform: rotate(-20deg);
  box-shadow: 0 -9px 30px rgba(141, 124, 255, 0.16);
  animation: hm-linear-orbit 22s linear infinite;
}

.license-home-visual__trace--two {
  inset: 26% 20%;
  border-bottom-color: rgba(80, 227, 211, 0.52);
  border-left-color: rgba(255, 255, 255, 0.26);
  transform: rotate(28deg);
  animation: hm-linear-orbit 17s linear infinite reverse;
}

.license-home-visual__brand {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 164px;
  height: 164px;
  place-items: center;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(11, 11, 16, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 26px 74px rgba(0, 0, 0, 0.52), 0 0 70px rgba(141, 124, 255, 0.16);
  backdrop-filter: blur(20px);
}

.license-home-visual__brand img { width: 78%; height: 78%; object-fit: contain; }

.license-home-visual__brand::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 34%);
  content: "";
  pointer-events: none;
}

.license-home-visual__chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--linear-line-strong);
  border-radius: 11px;
  background: rgba(10, 10, 15, 0.76);
  color: #aaa9b8;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.license-home-visual__chip::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--linear-cyan);
  box-shadow: 0 0 14px var(--linear-cyan);
  content: "";
}

.license-home-visual__chip--auth { top: 17%; left: -5%; }
.license-home-visual__chip--runtime { right: -4%; bottom: 18%; }

.license-home-visual__pulse {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(141, 124, 255, 0.3);
  border-radius: 50%;
  animation: hm-linear-pulse 3.8s ease-out infinite;
}

.public-page .site-footer,
.home-b.is-dark .site-footer,
.product-catalog-page.is-dark .site-footer,
.observation-page .site-footer {
  position: relative;
  border-color: var(--linear-line) !important;
  background: rgba(5, 5, 8, 0.72) !important;
  color: var(--linear-faint) !important;
}

.site-footer__identity strong,
.site-footer__contact,
.home-b.is-dark .site-footer__identity strong,
.home-b.is-dark .site-footer__contact,
.product-catalog-page.is-dark .site-footer__identity strong,
.product-catalog-page.is-dark .site-footer__contact,
.observation-page:not(.is-light) .site-footer__identity strong,
.observation-page:not(.is-light) .site-footer__contact {
  color: #d8d6e2 !important;
}

@keyframes hm-linear-flow {
  0% { transform: translate3d(-2%, -2%, 0) rotate(-12deg) scale(0.96); opacity: 0.5; }
  100% { transform: translate3d(4%, 5%, 0) rotate(-7deg) scale(1.06); opacity: 0.82; }
}

@keyframes hm-linear-orbit { to { transform: rotate(360deg); } }

@keyframes hm-linear-pulse {
  0% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.78); }
  75%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.48); }
}

/* Product catalog and product detail surfaces. */
.product-catalog-page,
.product-catalog-page.is-light,
.product-catalog-page.is-dark {
  color-scheme: dark;
  background: transparent !important;
  color: var(--linear-ink) !important;
}

.product-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  border-bottom: 1px solid var(--linear-line);
  background: transparent !important;
}

.product-catalog-hero::after {
  position: absolute;
  top: -260px;
  left: 34%;
  width: 880px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, transparent 42%, rgba(238, 232, 255, 0.56) 44%, rgba(141, 124, 255, 0.35) 47%, rgba(80, 227, 211, 0.15) 50%, transparent 56%);
  filter: blur(16px);
  opacity: 0.64;
  transform: rotate(-8deg);
  transform-origin: 50% 46%;
  will-change: transform, opacity;
  content: "";
  pointer-events: none;
}

@keyframes product-catalog-aura-drift {
  0% { opacity: 0.52; transform: translate3d(-3%, -1%, 0) rotate(-10deg) scale(0.98); }
  100% { opacity: 0.64; transform: translate3d(3%, 2%, 0) rotate(-6deg) scale(1.02); }
}

@media (prefers-reduced-motion: no-preference) {
  .product-catalog-hero::after { animation: product-catalog-aura-drift 13s ease-in-out infinite alternate; }
}

.product-catalog-hero .container { position: relative; z-index: 1; }

.product-catalog-hero h1 {
  margin: 12px 0 0;
  color: var(--linear-ink) !important;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.065em;
}

.product-catalog-hero__summary {
  max-width: 36em;
  margin-top: 22px;
  color: var(--linear-muted) !important;
  font-size: 16px;
  line-height: 1.75;
}

.bg-agent-benefit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  overflow: hidden;
  margin-top: 34px;
  padding: 28px 30px !important;
  border: 1px solid rgba(80, 227, 211, 0.18) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 0 50%, rgba(80, 227, 211, 0.09), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), var(--linear-shadow-soft) !important;
}

.bg-agent-benefit::after {
  position: absolute;
  right: 4%;
  bottom: -1px;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--linear-cyan), rgba(141, 124, 255, 0.7), transparent);
  box-shadow: 0 0 26px rgba(80, 227, 211, 0.25);
  content: "";
}

.bg-agent-benefit__badge,
.bg-agent-benefit__main p { color: var(--linear-muted) !important; }
.bg-agent-benefit h2 { color: var(--linear-ink) !important; }

.bg-agent-benefit__primary,
.bg-agent-benefit__secondary,
.bg-agent-benefit__signup {
  border-color: var(--linear-line-strong) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #e9e8ef !important;
}

.bg-agent-benefit__primary {
  border-color: rgba(80, 227, 211, 0.34) !important;
  background: rgba(80, 227, 211, 0.1) !important;
  color: #91f5eb !important;
}

.product-catalog-controls {
  margin-top: 28px;
  padding: 18px !important;
  border: 1px solid var(--linear-line) !important;
  border-radius: 18px !important;
  background: rgba(15, 15, 22, 0.72) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 46px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px);
}

.product-catalog-search input,
.product-catalog-page.is-light .product-catalog-search input,
.product-catalog-page.is-dark .product-catalog-search input {
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--linear-ink) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035) !important;
}

.product-catalog-search input::placeholder { color: #6e6d7c !important; }

.product-catalog-search input:focus {
  border-color: rgba(154, 137, 255, 0.56) !important;
  box-shadow: 0 0 0 4px rgba(141, 124, 255, 0.1) !important;
  outline: 0;
}

.product-category-tabs button {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--linear-muted) !important;
}

.product-category-tabs button:hover {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #fff !important;
}

.product-category-tabs button[aria-pressed="true"] {
  border-color: rgba(157, 143, 255, 0.36) !important;
  background: rgba(141, 124, 255, 0.13) !important;
  color: #d7d1ff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05) !important;
}

.product-category-tabs small { color: #757483 !important; }

.product-catalog-grid {
  gap: 16px !important;
  padding-top: 26px !important;
  padding-bottom: 92px !important;
}

.product-catalog-card,
.product-catalog-page.is-light .product-catalog-card,
.product-catalog-page.is-dark .product-catalog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linear-line) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), var(--linear-shadow-soft) !important;
  transition: transform 250ms cubic-bezier(.2,.8,.2,1), border-color 250ms ease, box-shadow 250ms ease !important;
}

.product-catalog-card::before {
  position: absolute;
  top: -1px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(170, 158, 255, 0.72), transparent);
  box-shadow: 0 0 22px rgba(141, 124, 255, 0.25);
  content: "";
}

.product-catalog-card:hover {
  border-color: rgba(159, 145, 255, 0.28) !important;
  transform: translateY(-7px) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 30px 76px rgba(0, 0, 0, 0.42) !important;
}

.product-catalog-card h2,
.product-catalog-page.is-light .product-catalog-card h2,
.product-catalog-page.is-dark .product-catalog-card h2 {
  color: var(--linear-ink) !important;
}

.product-catalog-card > p,
.product-catalog-card__points,
.product-catalog-card__category,
.product-catalog-page.is-light .product-catalog-card > p,
.product-catalog-page.is-dark .product-catalog-card > p {
  color: var(--linear-muted) !important;
}

.product-catalog-card__mark {
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 17px !important;
  background: #08080c !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.07) !important;
}

.product-catalog-card__footer {
  border-color: var(--linear-line) !important;
}

.product-catalog-card__details { color: #b5acff !important; }
.product-catalog-card__observation { color: #77dfd5 !important; }

.product-catalog-pagination { padding-bottom: 82px; }

.product-details-toolbar {
  border-color: var(--linear-line) !important;
  color: var(--linear-muted) !important;
}

.product-details-back { color: #b5acff !important; }

.product-introduction,
.product-catalog-page.is-light .product-introduction,
.product-catalog-page.is-dark .product-introduction {
  color: var(--linear-ink) !important;
}

.product-introduction__copy,
.product-introduction__features,
.product-introduction__philosophy,
.product-introduction__environment,
.bitcoin-edition-card {
  border: 1px solid var(--linear-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), var(--linear-shadow-soft) !important;
}

.product-introduction h2,
.product-introduction h3,
.product-introduction h4,
.product-introduction dd,
.bitcoin-edition-card h4 { color: var(--linear-ink) !important; }

.product-introduction p,
.product-introduction dt,
.product-introduction li,
.product-introduction small,
.bitcoin-edition-card p { color: var(--linear-muted) !important; }

.product-introduction__facts,
.product-introduction__title-row,
.product-introduction__philosophy-grid li,
.product-introduction__environment li,
.bitcoin-edition-selector { border-color: var(--linear-line) !important; }

.product-introduction__features li > span { color: var(--linear-cyan) !important; }

.bitcoin-edition-card.is-ready {
  border-color: rgba(80, 227, 211, 0.26) !important;
  background: linear-gradient(145deg, rgba(80, 227, 211, 0.08), rgba(255, 255, 255, 0.016) 60%) !important;
}

/* Public observation uses the same dark canvas and glass hierarchy. */
.observation-page,
.observation-page.is-light,
.observation-page.is-dark,
.observation-page--catalog.is-light,
.observation-page--catalog.is-dark {
  color-scheme: dark;
  background: transparent !important;
  color: var(--linear-ink) !important;
}

.observation-hero,
.observation-page--products .observation-hero {
  position: relative;
  border-color: var(--linear-line) !important;
  background:
    radial-gradient(circle at 76% 36%, rgba(141, 124, 255, 0.13), transparent 30%),
    radial-gradient(circle at 88% 54%, rgba(80, 227, 211, 0.06), transparent 28%),
    transparent !important;
}

.observation-hero::before {
  position: absolute;
  top: -290px;
  right: -120px;
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, transparent 43%, rgba(222, 215, 255, 0.55) 45%, rgba(141, 124, 255, 0.32) 48%, transparent 54%);
  filter: blur(19px);
  opacity: 0.58;
  content: "";
  pointer-events: none;
}

.observation-hero__copy h1,
.observation-page--products .observation-hero__copy h1 { color: var(--linear-ink) !important; }
.observation-hero__copy > p:not(.observation-hero__note),
.observation-page--products .observation-hero__copy > p:not(.observation-hero__note) { color: var(--linear-muted) !important; }

.observation-hero__snapshot,
.home-observation__panel,
.observation-product-card,
.observation-page--catalog.is-light .observation-product-card,
.observation-page--catalog.is-dark .observation-product-card {
  border: 1px solid var(--linear-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), var(--linear-shadow) !important;
  backdrop-filter: blur(18px);
}

.observation-hero__snapshot-head,
.observation-hero__snapshot-meta,
.home-observation__header,
.home-observation__chart,
.home-observation__ledger,
.home-observation table,
.home-observation th,
.home-observation td { border-color: var(--linear-line) !important; }

.observation-catalog,
.observation-page--catalog.is-light .observation-catalog,
.observation-page--catalog.is-dark .observation-catalog,
.home-observation { background: transparent !important; }

.observation-catalog__toolbar h2,
.observation-page--catalog.is-light .observation-catalog__toolbar h2,
.observation-page--catalog.is-dark .observation-catalog__toolbar h2,
.observation-product-card h2,
.home-observation h2,
.home-observation strong { color: var(--linear-ink) !important; }

.observation-catalog__toolbar input,
.observation-page--catalog.is-light .observation-catalog__toolbar input,
.observation-page--catalog.is-dark .observation-catalog__toolbar input {
  border: 1px solid var(--linear-line-strong) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--linear-ink) !important;
}

.observation-catalog__filters button {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: var(--linear-muted) !important;
}

.observation-catalog__filters button[aria-pressed="true"] {
  border-color: rgba(141, 124, 255, 0.34) !important;
  background: rgba(141, 124, 255, 0.13) !important;
  color: #d6d0ff !important;
}

.home-observation tr,
.home-observation tbody tr { background: transparent !important; }

/* Checkout: focused dark workflow with luminous progress. */
.checkout-shell {
  color-scheme: dark;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% -12%, rgba(141, 124, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 100% 52%, rgba(80, 227, 211, 0.055), transparent 32rem),
    var(--linear-bg) !important;
  color: var(--linear-ink) !important;
}

.checkout-shell > main { position: relative; }

.checkout-product-picker {
  margin-top: 34px;
  border: 1px solid var(--linear-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), var(--linear-shadow-soft) !important;
}

.checkout-product-picker > div:first-child,
.checkout-bundle-offer { border-color: var(--linear-line) !important; }

.checkout-product-picker span,
.checkout-bundle-offer { color: var(--linear-muted) !important; }
.checkout-product-picker strong { color: var(--linear-ink) !important; }

.checkout-product-picker__options button {
  border-color: var(--linear-line) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--linear-muted) !important;
}

.checkout-product-picker__options button[aria-pressed="true"] {
  border-color: rgba(141, 124, 255, 0.4) !important;
  background: rgba(141, 124, 255, 0.13) !important;
  color: #d9d4ff !important;
}

.checkout-header h1 { color: var(--linear-ink) !important; }
.checkout-progress { color: #b4aaff !important; }

.checkout-progress__segments i { background: rgba(255, 255, 255, 0.08) !important; }
.checkout-progress__segments i.is-active {
  background: linear-gradient(90deg, var(--linear-violet), var(--linear-cyan)) !important;
  box-shadow: 0 0 16px rgba(141, 124, 255, 0.46);
}

.checkout-form,
.order-summary {
  border: 1px solid var(--linear-line) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.07), transparent 28%),
    rgba(14, 14, 21, 0.82) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), var(--linear-shadow) !important;
  backdrop-filter: blur(20px);
}

.form-section h2,
.checkout-account-quantity h2,
.order-summary h2,
.summary-row strong { color: var(--linear-ink) !important; }

.public-page .field label { color: #b8b6c4 !important; }

.public-page .field input,
.public-page .field select,
.public-page .field textarea {
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--linear-ink) !important;
}

.public-page .field input:focus,
.public-page .field select:focus,
.public-page .field textarea:focus {
  border-color: rgba(157, 143, 255, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(141, 124, 255, 0.1) !important;
}

.choice-button,
.account-quantity-button {
  border: 1px solid var(--linear-line) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.026) !important;
  color: var(--linear-ink) !important;
}

.choice-button span,
.account-quantity-button__price { color: var(--linear-muted) !important; }

.choice-button:hover,
.choice-button[aria-pressed="true"],
.account-quantity-button:hover,
.account-quantity-button[aria-pressed="true"] {
  border-color: rgba(157, 143, 255, 0.46) !important;
  background: rgba(141, 124, 255, 0.11) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 12px 30px rgba(90, 71, 210, 0.11) !important;
}

.renewal-timeline,
.checkout-build-row,
.consent-box {
  border-color: var(--linear-line) !important;
  border-radius: 13px !important;
  background: rgba(141, 124, 255, 0.07) !important;
  color: var(--linear-muted) !important;
}

.renewal-timeline strong,
.checkout-build-row strong { color: #d5cfff !important; }
.checkout-build-row span { color: var(--linear-muted) !important; }
.checkout-step-actions,
.form-section + .form-section,
.checkout-account-quantity,
.summary-total { border-color: var(--linear-line) !important; }

.summary-row { color: var(--linear-muted) !important; }

.public-page .error-summary,
.auth-b .form-error {
  border-color: rgba(255, 130, 159, 0.28) !important;
  background: rgba(255, 130, 159, 0.075) !important;
  color: #ffacbe !important;
}

/* Authentication becomes a compact luminous access surface. */
.auth-page,
.auth-b.auth-page,
.auth-a.auth-page,
.auth-c.auth-page {
  color-scheme: dark;
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px 22px;
  background:
    radial-gradient(ellipse 46% 38% at 50% -4%, rgba(141, 124, 255, 0.22), transparent 72%),
    radial-gradient(circle at 12% 82%, rgba(80, 227, 211, 0.07), transparent 28rem),
    #07070a !important;
  color: var(--linear-ink) !important;
}

.auth-page::before {
  position: absolute;
  top: -32%;
  left: 20%;
  width: 78%;
  aspect-ratio: 1.55;
  border-radius: 50%;
  background: radial-gradient(ellipse, transparent 43%, rgba(238, 232, 255, 0.6) 45%, rgba(141, 124, 255, 0.38) 48%, rgba(80, 227, 211, 0.16) 50%, transparent 56%);
  filter: blur(20px);
  opacity: 0.64;
  transform: rotate(-9deg);
  content: "";
  pointer-events: none;
  animation: hm-linear-flow 14s ease-in-out infinite alternate;
}

.auth-b .auth-card,
.auth-a .auth-card,
.auth-c .auth-card,
.auth-card {
  position: relative;
  z-index: 2;
  width: min(480px, 100%);
  margin: 0 !important;
  padding: clamp(30px, 5vw, 48px) !important;
  overflow: hidden;
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 18, 0.82) !important;
  color: var(--linear-ink) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 38px 110px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(28px) saturate(135%);
}

.auth-card::before {
  position: absolute;
  top: -1px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 225, 255, 0.84), rgba(141, 124, 255, 0.7), transparent);
  box-shadow: 0 0 28px rgba(141, 124, 255, 0.45);
  content: "";
}

.auth-card .brand { color: var(--linear-ink) !important; }
.auth-card .brand span,
.auth-card > p { color: var(--linear-muted) !important; }

.auth-b .auth-card h1,
.auth-card h1 {
  margin-top: 30px;
  color: var(--linear-ink) !important;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 650;
  letter-spacing: -0.05em;
}

.auth-b .field label,
.auth-card .field label { color: #b7b5c3 !important; }

.auth-b .field input,
.auth-card .field input {
  min-height: 52px;
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--linear-ink) !important;
}

.auth-b .field input:focus,
.auth-card .field input:focus {
  border-color: rgba(157, 143, 255, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(141, 124, 255, 0.1) !important;
}

.auth-card form .primary-button,
.auth-card form .ghost-button { width: 100%; }

/* Customer portal and operations: quieter glass, clearer active state. */
.dashboard-page {
  color-scheme: dark;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 15% -10%, rgba(141, 124, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 100% 28%, rgba(80, 227, 211, 0.045), transparent 34rem),
    var(--linear-bg) !important;
  color: var(--linear-ink) !important;
}

.app-shell { min-height: 100dvh; background: transparent !important; }

.app-sidebar {
  border-right: 1px solid var(--linear-line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 22%),
    rgba(8, 8, 12, 0.86) !important;
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
}

.app-sidebar .brand { color: var(--linear-ink) !important; }
.app-sidebar .brand span,
.sidebar-footer { color: var(--linear-muted) !important; }

.sidebar-nav { gap: 5px; }

.sidebar-button {
  position: relative;
  min-height: 46px;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #8f8e9e !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sidebar-button:hover {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #e6e4ed !important;
  transform: translateX(2px);
}

.sidebar-button[aria-current="page"] {
  border-color: rgba(153, 139, 255, 0.28) !important;
  background:
    linear-gradient(90deg, rgba(141, 124, 255, 0.16), rgba(80, 227, 211, 0.045)) !important;
  color: #f3f1ff !important;
  box-shadow: inset 3px 0 #9181ff, inset 0 1px rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

.sidebar-footer {
  border-color: var(--linear-line) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.app-main { background: transparent !important; }

.app-topbar {
  border-bottom: 1px solid var(--linear-line) !important;
  background: rgba(7, 7, 10, 0.7) !important;
  backdrop-filter: blur(22px) saturate(145%);
}

.app-topbar h1,
.dashboard-page h1,
.dashboard-page h2,
.dashboard-page h3,
.dashboard-page h4,
.dashboard-page strong { color: var(--linear-ink); }

.dashboard-page .eyebrow,
.dashboard-page .panel-header p,
.dashboard-page .muted,
.dashboard-page small { color: var(--linear-muted) !important; }

.metric-strip {
  gap: 12px;
  border: 0 !important;
  background: transparent !important;
}

.metric {
  min-height: 118px;
  border: 1px solid var(--linear-line) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 46px rgba(0, 0, 0, 0.2) !important;
}

.metric span { color: var(--linear-muted) !important; }
.metric-status-active { color: #74e5d9 !important; }

.dashboard-page .dark-panel,
.dashboard-page .panel,
.license-overview-panel,
.portal-license-switcher,
.license-detail-hero,
.license-detail-stack > section,
.account-device-card,
.license-key-card {
  border: 1px solid var(--linear-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.055), transparent 30%),
    rgba(255, 255, 255, 0.024) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), var(--linear-shadow-soft) !important;
}

.dashboard-page .panel-header,
.dashboard-page .panel-body,
.dashboard-page .summary-row,
.dashboard-page .table-wrap,
.dashboard-page table,
.dashboard-page th,
.dashboard-page td,
.dashboard-page .account-row,
.dashboard-page .version-row { border-color: var(--linear-line) !important; }

.dashboard-page table,
.dashboard-page .table-wrap { background: transparent !important; }

.dashboard-page tbody tr { background: transparent !important; }
.dashboard-page tbody tr:hover { background: rgba(141, 124, 255, 0.045) !important; }
.dashboard-page th { color: #777685 !important; }
.dashboard-page td { color: #c5c3cf !important; }

.dashboard-page .field input,
.dashboard-page .field select,
.dashboard-page .field textarea {
  border: 1px solid var(--linear-line-strong) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.033) !important;
  color: var(--linear-ink) !important;
}

.dashboard-page .field input:focus,
.dashboard-page .field select:focus,
.dashboard-page .field textarea:focus {
  border-color: rgba(157, 143, 255, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(141, 124, 255, 0.09) !important;
}

.portal-license-option {
  border-color: var(--linear-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.portal-license-option[aria-pressed="true"] {
  border-color: rgba(157, 143, 255, 0.42) !important;
  background: rgba(141, 124, 255, 0.09) !important;
}

/* Static product dossiers: editorial dark product pages. */
.gold-breakout-static-page {
  color-scheme: dark;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% -10%, rgba(141, 124, 255, 0.13), transparent 32rem),
    var(--linear-bg) !important;
  color: var(--linear-ink) !important;
}

.gold-breakout-static-header {
  border-color: var(--linear-line) !important;
  background: rgba(7, 7, 10, 0.76) !important;
  backdrop-filter: blur(24px) saturate(145%);
}

.gold-breakout-static-nav a {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: var(--linear-muted) !important;
}

.gold-breakout-static-nav a:hover,
.gold-breakout-static-nav a[aria-current="page"] {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #fff !important;
}

.gold-breakout-document { background: transparent !important; }

.gold-breakout-hero {
  position: relative;
  overflow: hidden;
  border-color: var(--linear-line) !important;
  background: transparent !important;
}

.gold-breakout-hero::before {
  position: absolute;
  top: -330px;
  left: 35%;
  width: 900px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(ellipse, transparent 43%, rgba(239, 234, 255, 0.58) 45%, rgba(141, 124, 255, 0.35) 48%, rgba(80, 227, 211, 0.12) 51%, transparent 56%);
  filter: blur(20px);
  opacity: 0.62;
  transform: rotate(-9deg);
  content: "";
  pointer-events: none;
}

.gold-breakout-hero__grid { position: relative; z-index: 1; }

.gold-breakout-title-row h1,
.gold-breakout-section-heading h2,
.gold-breakout-subheading,
.gold-breakout-static-page h3,
.gold-breakout-static-page h4 { color: var(--linear-ink) !important; }

.gold-breakout-title-row h1 {
  font-size: clamp(58px, 7vw, 92px) !important;
  font-weight: 640 !important;
  line-height: 0.94 !important;
  letter-spacing: -0.065em !important;
}

.gold-breakout-hero p,
.gold-breakout-section-heading > p,
.gold-breakout-prose,
.gold-breakout-static-page li,
.gold-breakout-static-page dt,
.gold-breakout-static-page small { color: var(--linear-muted) !important; }

.gold-breakout-facts,
.gold-breakout-toc,
.gold-breakout-section,
.gold-breakout-card-grid > article,
.gold-breakout-definition-grid > div,
.gold-breakout-note,
.gold-breakout-callout,
.gold-breakout-risk,
.gold-breakout-environment,
.gold-breakout-release-card,
.gold-breakout-accordion,
.gold-breakout-visual {
  border: 1px solid var(--linear-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.055), transparent 34%),
    rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), var(--linear-shadow-soft) !important;
}

.gold-breakout-facts div,
.gold-breakout-toc a,
.gold-breakout-section,
.gold-breakout-accordion__summary,
.gold-breakout-accordion__content { border-color: var(--linear-line) !important; }

.gold-breakout-facts dd,
.gold-breakout-card-grid strong,
.gold-breakout-static-page code { color: #e8e5f4 !important; }

.gold-breakout-toc a { color: var(--linear-muted) !important; }
.gold-breakout-toc a:hover { color: #c8c0ff !important; }

.gold-breakout-card-grid > article > span,
.gold-breakout-definition-grid > div > strong,
.gold-breakout-note > strong,
.gold-breakout-callout > strong { color: #b9afff !important; }

.gold-breakout-static-page pre,
.gold-breakout-static-page code {
  border-color: var(--linear-line) !important;
  background: rgba(0, 0, 0, 0.28) !important;
}

.gold-breakout-inline-warning {
  border-color: rgba(246, 201, 120, 0.25) !important;
  background: rgba(246, 201, 120, 0.065) !important;
  color: #d7c59e !important;
}

/* Responsive refinement across the local concept. */
@media (max-width: 1100px) {
  .license-home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr); gap: 42px; }
  .license-home-visual { min-height: 440px; }
  .license-home-visual__brand { width: 138px; height: 138px; border-radius: 31px; }
  .license-home-visual__chip--auth { left: -2%; }
  .license-home-visual__chip--runtime { right: -2%; }
  .bg-agent-benefit { grid-template-columns: 1fr; }
}

@media (max-width: 959px) {
  .public-page .site-nav__links,
  .observation-page .site-nav__links {
    border-color: var(--linear-line) !important;
    background: rgba(8, 8, 12, 0.96);
  }

  .license-home-hero { min-height: 0; padding: 72px 0 78px; }
  .license-home-hero__inner { grid-template-columns: 1fr; }
  .license-home-copy { max-width: 760px; }
  .license-home-hero h1 { max-width: 11ch; }
  .license-home-visual { min-height: 460px; width: min(620px, 100%); }
  .gold-breakout-static-nav { border-color: var(--linear-line) !important; background: rgba(8, 8, 12, 0.96); }
}

@media (max-width: 760px) {
  .home-b .container,
  .observation-page .container { width: min(100% - 30px, 680px); }

  .license-home-hero::before { inset: -20% -55% auto 8%; width: 150%; }
  .license-home-hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .license-home-summary { font-size: 15px; }
  .license-home-actions { align-items: stretch; flex-direction: column; }
  .license-home-actions .primary-button,
  .license-home-actions .secondary-button { width: 100%; }
  .license-home-visual { min-height: 390px; border-radius: 25px; }
  .license-home-visual__brand { width: 118px; height: 118px; border-radius: 27px; }
  .license-home-visual__chip { font-size: 8px; }
  .license-home-visual__chip--auth { top: 12%; left: 5%; }
  .license-home-visual__chip--runtime { right: 4%; bottom: 12%; }

  .product-catalog-hero { padding: 72px 0 58px; }
  .product-catalog-hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .product-catalog-controls { padding: 14px !important; }
  .product-category-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .product-category-tabs button { flex: 0 0 auto; }
  .product-catalog-card { border-radius: 17px !important; }

  .checkout-shell > main { width: min(100% - 24px, 720px) !important; }
  .checkout-product-picker { margin-top: 20px; }
  .checkout-header { padding-top: 32px; }
  .checkout-form { padding: 22px !important; }
  .checkout-step-panel .choice-grid,
  .account-quantity-grid { grid-template-columns: 1fr !important; }

  .auth-page { padding: 22px 14px; }
  .auth-card { padding: 30px 22px !important; border-radius: 20px !important; }

  .metric-strip { grid-template-columns: 1fr 1fr !important; }
  .metric { min-height: 100px; }

  .gold-breakout-title-row h1 { font-size: clamp(48px, 14vw, 70px) !important; }
  .gold-breakout-toc { overflow-x: auto; flex-wrap: nowrap !important; }
  .gold-breakout-toc a { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .license-home-visual { min-height: 330px; }
  .license-home-visual__chip { display: none; }
  .license-home-visual__brand { width: 104px; height: 104px; border-radius: 24px; }
  .metric-strip { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  .license-home-hero::before,
  .license-home-visual__aura,
  .license-home-visual__trace,
  .license-home-visual__pulse,
  .auth-page::before {
    animation: none !important;
  }

  .product-catalog-card,
  .primary-button,
  .secondary-button { transition-duration: 0.01ms !important; }
}

/* The local concept intentionally replaces the legacy illustrated badges with one quiet HM system mark. */
.public-wordmark__logo,
.brand-logo,
.license-home-visual__brand img,
.product-catalog-card__mark img,
.observation-product-card__logo img,
.observation-orbit__node-logo img {
  display: none !important;
}

.public-wordmark::before,
.brand::before {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(166, 153, 255, 0.28);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(141, 124, 255, 0.06)),
    #0d0d14;
  color: #d8d2ff;
  content: "HM";
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.08em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 30px rgba(141, 124, 255, 0.08);
}

.brand::before { width: 48px; height: 48px; flex-basis: 48px; }

.license-home-visual__brand::before {
  position: relative;
  z-index: 1;
  background: linear-gradient(112deg, #fff 2%, #d8d1ff 42%, #8d7cff 69%, #66e8da 102%);
  color: transparent;
  content: "HM";
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-sans);
  font-size: 58px;
  font-weight: 720;
  letter-spacing: -0.11em;
  line-height: 1;
  filter: drop-shadow(0 10px 28px rgba(141, 124, 255, 0.28));
}

.product-catalog-card__mark::after,
.observation-product-card__logo::after,
.observation-orbit__node-logo::after {
  background: linear-gradient(120deg, #eeeaff, #9d8fff 58%, #62e4d6);
  color: transparent;
  content: "HM";
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.09em;
}

.product-catalog-card[data-category="gold"] .product-catalog-card__mark::after,
.observation-product-card[data-category="gold"] .observation-product-card__logo::after { content: "AU"; }

.product-catalog-card[data-category="forex"] .product-catalog-card__mark::after,
.observation-product-card[data-category="forex"] .observation-product-card__logo::after { content: "FX"; }

.product-catalog-card[data-category="multi"] .product-catalog-card__mark::after,
.observation-product-card[data-category="multi"] .observation-product-card__logo::after { content: "MX"; }

.product-catalog-card[data-category="crypto"] .product-catalog-card__mark::after,
.observation-product-card[data-category="crypto"] .observation-product-card__logo::after { content: "₿"; }

.gold-breakout-accordion__summary-copy h2,
.gold-breakout-accordion__summary h2,
.gold-breakout-accordion__summary-copy strong {
  color: var(--linear-ink) !important;
}

.gold-breakout-accordion__summary-copy p { color: var(--linear-muted) !important; }

@media (max-width: 760px) {
  .public-page .site-nav,
  .observation-page .site-nav,
  .checkout-shell .site-nav {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    display: flex;
    flex-wrap: wrap;
  }

  .public-wordmark {
    min-width: 0;
    max-width: calc(100% - 84px);
  }

  .public-wordmark::before {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .public-wordmark strong { font-size: 21px !important; }
  .public-menu-button { display: inline-flex !important; flex: 0 0 auto; margin-left: auto; }
  .observation-theme-toggle--compact { display: none !important; }

  .bg-agent-benefit,
  .bg-agent-benefit__main,
  .bg-agent-benefit__actions {
    min-width: 0;
    width: 100%;
  }

  .bg-agent-benefit {
    overflow: hidden;
    padding: 24px 18px !important;
  }

  .bg-agent-benefit__main p { overflow-wrap: anywhere; }

  .bg-agent-benefit__actions {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .bg-agent-benefit__primary,
  .bg-agent-benefit__secondary,
  .bg-agent-benefit__signup {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

/* Local concept terminal overrides: the SVG mark replaces every earlier badge fallback. */
.public-wordmark::before,
.brand::before,
.license-home-visual__brand::before,
.product-catalog-card__mark::after,
.observation-product-card__logo::after,
.observation-orbit__node-logo::after {
  display: none !important;
}

.public-wordmark__logo,
.brand-logo,
.license-home-visual__brand img {
  display: block !important;
  object-fit: contain !important;
}

.public-wordmark__logo,
.brand-logo {
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid rgba(166, 153, 255, 0.26) !important;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 50% 34%, rgba(141, 124, 255, 0.11), transparent 68%),
    #0d0d14 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 28px rgba(141, 124, 255, 0.07) !important;
}

.public-wordmark__logo { width: 48px !important; height: 48px !important; flex: 0 0 48px !important; }
.brand-logo { width: 42px !important; height: 42px !important; flex: 0 0 42px !important; }

.license-home-visual__brand img {
  position: relative;
  z-index: 1;
  width: 72% !important;
  height: 72% !important;
  clip-path: none !important;
  filter: drop-shadow(0 14px 28px rgba(141, 124, 255, 0.24)) !important;
}

.product-catalog-card__mark,
.observation-product-card__logo,
.observation-orbit__node-logo {
  background:
    url("./assets/hedgematrix-mark-original.png") center / 62% no-repeat,
    radial-gradient(circle at 50% 35%, rgba(141, 124, 255, 0.11), transparent 70%),
    #09090d !important;
}

.product-catalog-card__mark img,
.observation-product-card__logo img,
.observation-orbit__node-logo img { display: none !important; }

@media (max-width: 760px) {
  .public-wordmark__logo { width: 40px !important; height: 40px !important; flex-basis: 40px !important; padding: 7px; }
}

/* Terminal glass tuning from the approved reference. */
.auth-card,
.license-home-visual {
  border-color: rgba(158, 145, 255, 0.18) !important;
}

.auth-card::after,
.license-home-visual::after {
  padding: 2px;
  filter: drop-shadow(0 0 7px rgba(141, 124, 255, 0.55)) drop-shadow(0 0 3px rgba(80, 227, 211, 0.28));
}

.auth-card .primary-button::before {
  position: absolute;
  z-index: 3;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--hm-border-angle),
    transparent 0deg 228deg,
    rgba(202, 193, 255, 0.18) 248deg,
    rgba(239, 235, 255, 0.94) 282deg,
    rgba(80, 227, 211, 0.7) 304deg,
    transparent 330deg 360deg
  );
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hm-border-orbit 5.5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .auth-card .primary-button::before { animation: none !important; }
}

/* Account-replacement review: show the evidence behind every manual decision. */
.replacement-review-row {
  grid-template-columns: minmax(300px, 1.15fr) minmax(390px, 1.45fr) 96px minmax(300px, 1.15fr);
  align-items: start;
}

.replacement-risk-summary {
  display: grid;
  gap: 10px;
  align-items: stretch;
  padding: 12px;
}

.replacement-risk-heading {
  display: grid;
  gap: 7px;
}

.replacement-risk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.replacement-risk-chips span {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(249, 201, 112, 0.22);
  border-radius: 999px;
  background: rgba(249, 201, 112, 0.08);
}

.replacement-risk-evidence {
  border-top: 1px solid rgba(249, 201, 112, 0.2);
  padding-top: 9px;
}

.replacement-risk-evidence summary {
  width: fit-content;
  color: #f9c970;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
}

.replacement-risk-evidence dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 10px 0 0;
}

.replacement-risk-evidence dl > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.replacement-risk-evidence dt {
  color: var(--dark-muted);
  font-size: 10px;
  font-weight: 650;
}

.replacement-risk-evidence dd {
  margin: 0;
  color: var(--dark-text);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.replacement-risk-evidence .is-mono dd {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .replacement-review-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .replacement-review-row { grid-template-columns: 1fr; }
  .replacement-risk-evidence dl { grid-template-columns: 1fr; }
}

/* Local QA closeout: keep the selected dark theme and catalog rhythm across routes. */
html[data-theme="dark"] {
  color-scheme: dark;
  background: var(--linear-bg);
}

body[data-theme="dark"],
.page-root.is-dark {
  background-color: var(--linear-bg) !important;
  color: var(--linear-ink);
}

.plans-page.is-dark .public-subpage__header {
  border-color: var(--linear-line) !important;
}

.plans-page.is-dark .public-subpage__header h1,
.plans-page.is-dark .plan-row h3,
.plans-page.is-dark .plan-price {
  color: var(--linear-ink) !important;
}

.plans-page.is-dark .plan-board {
  overflow: hidden;
  border-color: var(--linear-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.07), transparent 32%),
    rgba(15, 15, 22, 0.82) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), var(--linear-shadow-soft) !important;
}

.plans-page.is-dark .plan-row {
  border-color: var(--linear-line) !important;
}

.plans-page.is-dark .plan-row:hover,
.plans-page.is-dark .plan-row.is-selected {
  background: rgba(141, 124, 255, 0.09) !important;
}

.home-a.is-dark .hero-copy,
.home-c.is-dark .decision-shell,
.home-c.is-dark .decision-console,
.home-c.is-dark .decision-console__actions {
  border-color: var(--linear-line) !important;
  background: rgba(15, 15, 22, 0.82) !important;
  color: var(--linear-ink) !important;
}

.home-a.is-dark h1,
.home-a.is-dark h2,
.home-c.is-dark h1,
.home-c.is-dark h2,
.home-c.is-dark h3,
.home-c.is-dark .decision-option {
  color: var(--linear-ink) !important;
}

.home-a.is-dark p,
.home-c.is-dark p {
  color: var(--linear-muted) !important;
}

.product-catalog-grid {
  align-items: stretch;
  padding-bottom: 30px !important;
}

.product-catalog-card {
  height: 100%;
}

.product-catalog-card h2 {
  text-wrap: balance;
}

.product-catalog-pagination {
  width: min(460px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto clamp(64px, 8vw, 96px);
  padding: 10px 12px !important;
  border: 1px solid var(--linear-line);
  border-radius: 999px;
  background: rgba(15, 15, 22, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.product-catalog-pagination .secondary-button {
  min-width: 116px;
  min-height: 44px;
}

.product-catalog-pagination span {
  min-width: 90px;
  color: var(--linear-muted) !important;
  text-align: center;
}

@media (max-width: 620px) {
  .product-catalog-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-radius: 18px;
  }

  .product-catalog-pagination .secondary-button {
    min-width: 0;
    padding-inline: 12px;
  }

  .product-catalog-card__footer {
    flex-wrap: wrap;
  }
}

/* Product lockups: retain the approved symbol while restoring EA-level identity. */
.product-catalog-card__mark.product-mark-lockup,
.observation-product-card__logo.product-mark-lockup,
.observation-orbit__node-logo.product-mark-lockup {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 2px;
  padding: 6px 5px 5px !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(141, 124, 255, 0.15), transparent 66%),
    #09090d !important;
}

.product-mark-lockup > .product-mark-lockup__symbol {
  display: block !important;
  width: 37px !important;
  height: 37px !important;
  min-width: 0;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 10px rgba(141, 124, 255, 0.18));
}

.product-mark-lockup__copy {
  display: grid;
  max-width: 100%;
  justify-items: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.product-mark-lockup__copy small {
  color: #8e8b9d !important;
  font-size: 4.5px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-mark-lockup__copy strong {
  max-width: 100%;
  overflow: hidden;
  color: #f5f3fb !important;
  font-size: 6.4px !important;
  font-weight: 820;
  letter-spacing: -0.015em;
  text-overflow: clip;
}

.product-catalog-card__mark.product-mark-lockup {
  width: 86px !important;
  height: 86px !important;
  flex-basis: 86px !important;
  padding: 7px 6px 6px !important;
}

.product-catalog-card__mark.product-mark-lockup > .product-mark-lockup__symbol {
  width: 42px !important;
  height: 42px !important;
}

.product-catalog-card__mark .product-mark-lockup__copy small {
  font-size: 5px !important;
}

.product-catalog-card__mark .product-mark-lockup__copy strong {
  font-size: 7.2px !important;
}

.observation-product-card__logo.product-mark-lockup {
  width: 70px !important;
  height: 70px !important;
  flex-basis: 70px !important;
  padding: 5px 4px 4px !important;
}

.observation-product-card__logo.product-mark-lockup > .product-mark-lockup__symbol {
  width: 33px !important;
  height: 33px !important;
}

.observation-orbit__node-logo.product-mark-lockup {
  gap: 1px;
  padding: 3px !important;
}

.observation-orbit__node-logo.product-mark-lockup > .product-mark-lockup__symbol {
  width: 22px !important;
  height: 22px !important;
}

.observation-orbit__node-logo .product-mark-lockup__copy small {
  display: none;
}

.observation-orbit__node-logo .product-mark-lockup__copy strong {
  font-size: 3.6px !important;
  letter-spacing: -0.04em;
}

/* Full-site QA pass: stable navigation, polished benefit banner and shared Linear rhythm. */
.public-page .site-nav,
.observation-page .site-nav,
.checkout-shell .site-nav,
.gold-breakout-static-header__inner {
  width: min(1360px, calc(100% - 40px)) !important;
  max-width: none !important;
}

.public-wordmark {
  flex: 0 0 auto;
}

.public-wordmark__logo,
.brand-logo {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 7px 18px rgba(91, 119, 255, 0.16));
}

.public-page .site-nav__links,
.observation-page .site-nav__links {
  min-width: 0;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 3px;
}

.public-page .site-nav__links .public-nav__item,
.observation-page .site-nav__links .public-nav__item {
  min-width: max-content;
  flex: 0 0 auto;
  padding-inline: 12px !important;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.public-header--lang-en .public-wordmark__copy > span {
  display: none;
}

.public-header--lang-en .public-wordmark__copy {
  gap: 0;
}

.bg-agent-benefit {
  grid-template-columns: minmax(0, 1fr) 286px !important;
  gap: clamp(28px, 4vw, 64px) !important;
  align-items: center;
  padding: 26px 30px !important;
}

.bg-agent-benefit__main {
  max-width: 780px;
}

.bg-agent-benefit h2 {
  margin-top: 10px !important;
  font-size: clamp(25px, 2.5vw, 34px) !important;
  line-height: 1.08;
}

.bg-agent-benefit__main > p {
  max-width: 760px !important;
  margin-top: 8px !important;
  color: #a6a4b1 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.bg-agent-benefit__actions {
  width: 286px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  align-content: center;
  margin: 0 !important;
}

.bg-agent-benefit__primary {
  width: 100% !important;
  min-height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px !important;
  border-color: rgba(80, 227, 211, 0.38) !important;
  background: linear-gradient(110deg, rgba(80, 227, 211, 0.14), rgba(141, 124, 255, 0.1)) !important;
  color: #a4f8ee !important;
  font-size: 13px !important;
  text-align: left;
}

.bg-agent-benefit__primary > span:last-child {
  color: #6ee9dc;
  font-size: 17px;
  transition: transform 180ms ease;
}

.bg-agent-benefit__primary:hover > span:last-child,
.bg-agent-benefit__primary:focus-visible > span:last-child {
  transform: translateX(3px);
}

.bg-agent-benefit__quick-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.bg-agent-benefit .bg-agent-benefit__quick-links > .bg-agent-benefit__signup,
.bg-agent-benefit .bg-agent-benefit__quick-links > .bg-agent-benefit__secondary {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.026) !important;
  color: #c0beca !important;
  font-size: 12px !important;
  font-weight: 680;
  line-height: 1.25;
  text-align: left;
  text-decoration: none !important;
  white-space: normal;
}

.bg-agent-benefit .bg-agent-benefit__quick-links > :is(a, button):hover,
.bg-agent-benefit .bg-agent-benefit__quick-links > :is(a, button):focus-visible {
  border-color: rgba(141, 124, 255, 0.28) !important;
  background: rgba(141, 124, 255, 0.075) !important;
  color: #f0edf9 !important;
}

.bg-agent-benefit__quick-links > :is(a, button) > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bg-agent-benefit__quick-links > :is(a, button) > span:last-child {
  flex: 0 0 auto;
  color: #8f8c9c;
  font-size: 14px !important;
}

.plans-page main {
  min-height: calc(100dvh - 190px);
  background:
    radial-gradient(circle at 18% 4%, rgba(141, 124, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 86% 52%, rgba(80, 227, 211, 0.045), transparent 25rem);
}

.plans-page .public-subpage__header {
  position: relative;
  padding-top: 76px !important;
  padding-bottom: 24px !important;
}

.plans-page .public-subpage__header::before {
  display: block;
  margin-bottom: 13px;
  color: #8f82ff;
  content: "LICENSE OPTIONS";
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.plans-page .public-subpage__section {
  padding-top: 8px !important;
  padding-bottom: 24px !important;
}

.plans-page .plan-board {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.plans-page .plan-row {
  min-height: 168px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 8px 18px;
  align-items: start;
  padding: 24px !important;
  overflow: hidden;
  border: 1px solid var(--linear-line) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), var(--linear-shadow-soft);
}

.plans-page .plan-row h3 {
  grid-column: 1;
  color: var(--linear-ink) !important;
  font-size: 21px;
}

.plans-page .plan-price {
  grid-column: 2;
  color: #b9b5c8 !important;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.plans-page .plan-row > button {
  grid-row: 3;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 42px;
  justify-content: space-between;
}

.plans-page .plan-row > button::after {
  content: "→";
}

.plans-page .plan-row.is-selected {
  border-color: rgba(157, 143, 255, 0.45) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 124, 255, 0.16), transparent 44%),
    rgba(141, 124, 255, 0.07) !important;
}

.plans-page .public-subpage__action {
  display: flex;
  justify-content: flex-end;
  padding-top: 0 !important;
}

.checkout-shell main.container {
  width: min(1180px, calc(100% - 48px)) !important;
}

.checkout-header::before {
  display: block;
  margin-bottom: 9px;
  color: #8f82ff;
  content: "SECURE CHECKOUT";
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.dashboard-page .app-topbar {
  position: sticky;
  top: 0;
  z-index: 12;
}

.dashboard-page .content-stack {
  gap: 18px;
}

@media (max-width: 1200px) {
  .public-page .site-nav,
  .observation-page .site-nav,
  .checkout-shell .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-block: 12px;
  }

  .public-menu-button {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .observation-theme-toggle--compact {
    display: inline-grid !important;
    flex: 0 0 auto;
  }

  .public-page .site-nav__links,
  .observation-page .site-nav__links,
  .checkout-shell .site-nav__links {
    order: 3;
    width: 100%;
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 4px 0 0 !important;
    padding: 10px 0 2px;
    border-top: 1px solid var(--linear-line) !important;
  }

  .public-page .site-nav__links.is-open,
  .observation-page .site-nav__links.is-open,
  .checkout-shell .site-nav__links.is-open {
    display: grid !important;
  }

  .public-page .site-nav__links .public-nav__item,
  .observation-page .site-nav__links .public-nav__item,
  .checkout-shell .site-nav__links .public-nav__item {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    justify-content: flex-start;
  }

  .public-page .site-nav__links > .public-language-toggle,
  .observation-page .site-nav__links > .public-language-toggle {
    justify-self: start;
    margin: 3px 0 0 !important;
  }

  .observation-theme-toggle--menu {
    display: none !important;
  }

  .bg-agent-benefit {
    grid-template-columns: minmax(0, 1fr) 270px !important;
  }
}

@media (max-width: 820px) {
  .bg-agent-benefit {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bg-agent-benefit__actions {
    width: 100% !important;
  }

  .plans-page .plan-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans-page .plan-row {
    min-height: 150px;
  }
}

@media (max-width: 760px) {
  .public-page .site-nav,
  .observation-page .site-nav,
  .checkout-shell .site-nav,
  .gold-breakout-static-header__inner {
    width: calc(100% - 20px) !important;
  }

  .public-wordmark__copy > span {
    display: none !important;
  }

  .public-page .site-nav__links,
  .observation-page .site-nav__links,
  .checkout-shell .site-nav__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .bg-agent-benefit {
    gap: 20px !important;
    padding: 22px 18px !important;
  }

  .bg-agent-benefit h2 {
    font-size: 23px !important;
  }

  .bg-agent-benefit__main > p {
    font-size: 13px !important;
  }

  .checkout-shell main.container {
    width: min(100% - 20px, 680px) !important;
  }

  .dashboard-page .app-shell {
    display: block;
  }

  .dashboard-page .app-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 10px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--linear-line) !important;
  }

  .dashboard-page .app-sidebar .brand {
    min-width: max-content;
    margin: 0;
    padding: 0 4px;
  }

  .dashboard-page .app-sidebar .brand-logo {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }

  .dashboard-page .app-sidebar .brand span {
    display: none;
  }

  .dashboard-page .sidebar-nav {
    min-width: 0;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
  }

  .dashboard-page .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-page .sidebar-button {
    min-width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 12px;
  }

  .dashboard-page .sidebar-footer {
    display: none;
  }

  .dashboard-page .app-main {
    min-width: 0;
  }

  .dashboard-page .app-topbar {
    top: 58px;
  }

  .portal-quick-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  .portal-quick-actions h2 {
    width: 100%;
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .portal-quick-actions .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .portal-quick-actions .button-row > button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 430px) {
  .portal-quick-actions .button-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* UI/UX Pro Max: coherent graphite + violet/cyan live-results experience. */
#prototype-toolbar,
#prototype-switcher {
  display: none !important;
}

:root {
  --hm-canvas: #05060a;
  --hm-canvas-soft: #080a10;
  --hm-surface: #0d1018;
  --hm-surface-raised: #121722;
  --hm-border: rgba(148, 163, 184, 0.16);
  --hm-border-strong: rgba(167, 139, 250, 0.34);
  --hm-text: #f4f7fb;
  --hm-muted: #a6afbf;
  --hm-subtle: #7d8798;
  --hm-violet: #8b73ff;
  --hm-cyan: #38d5e8;
  --hm-success: #45d6ad;
}

.public-header,
.observation-page .public-header,
.home-b .public-header {
  position: sticky !important;
  top: 0;
  z-index: 60 !important;
  border-bottom: 1px solid var(--hm-border) !important;
  background: rgba(5, 6, 10, 0.88) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(135%);
}

.public-page .site-nav,
.observation-page .site-nav {
  min-height: 72px !important;
}

.public-page .site-nav__links .public-nav__item,
.observation-page .site-nav__links .public-nav__item {
  min-height: 40px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  padding-inline: 13px !important;
  color: #b5bdca !important;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.public-page .site-nav__links .public-nav__item:hover,
.observation-page .site-nav__links .public-nav__item:hover {
  border-color: var(--hm-border) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--hm-text) !important;
}

.public-page .site-nav__links .public-nav__item[aria-current="page"],
.observation-page .site-nav__links .public-nav__item[aria-current="page"],
.public-page .site-nav__links .public-nav__item.is-primary[aria-current="page"],
.observation-page .site-nav__links .public-nav__item.is-primary[aria-current="page"] {
  border-color: rgba(139, 115, 255, 0.38) !important;
  background: rgba(139, 115, 255, 0.14) !important;
  color: #e8e3ff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.public-language-toggle,
.observation-theme-toggle {
  border-color: var(--hm-border) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #c7cfdb !important;
  box-shadow: none !important;
}

.public-language-toggle:hover,
.observation-theme-toggle:hover {
  border-color: var(--hm-border-strong) !important;
  background: rgba(139, 115, 255, 0.1) !important;
  color: #fff !important;
}

.license-home-hero {
  min-height: min(700px, calc(100dvh - 72px)) !important;
  padding: clamp(72px, 7vw, 104px) 0 72px !important;
}

.license-home-hero h1 {
  font-size: clamp(58px, 5.4vw, 84px) !important;
}

.observation-page--catalog,
.observation-page--catalog.is-light,
.observation-page--catalog.is-dark {
  background:
    radial-gradient(circle at 80% 8%, rgba(56, 213, 232, 0.055), transparent 28rem),
    radial-gradient(circle at 22% 18%, rgba(139, 115, 255, 0.075), transparent 31rem),
    var(--hm-canvas) !important;
  color: var(--hm-text) !important;
}

.observation-catalog-hero {
  position: relative;
  min-height: 0 !important;
  padding: 58px 0 52px !important;
  border-bottom: 1px solid var(--hm-border) !important;
  background:
    linear-gradient(105deg, rgba(139, 115, 255, 0.055), transparent 34%),
    transparent !important;
  color: var(--hm-text) !important;
}

.observation-catalog-hero::before {
  inset: -55% -12% auto auto !important;
  width: min(740px, 60vw) !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  background: radial-gradient(circle, rgba(139, 115, 255, 0.12), rgba(56, 213, 232, 0.045) 34%, transparent 67%) !important;
  filter: blur(10px);
}

.observation-catalog-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000 52%, #000 86%, transparent);
  content: "";
  pointer-events: none;
}

.observation-catalog-hero__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr) !important;
  gap: clamp(42px, 6vw, 90px) !important;
  min-height: 330px !important;
}

.observation-catalog-hero__copy {
  max-width: 720px;
}

.observation-catalog-hero__eyebrow,
.observation-catalog__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aaa0f7 !important;
  font-family: var(--font-mono);
  font-size: 10px !important;
  font-weight: 760 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

.observation-catalog-hero__eyebrow::before,
.observation-catalog__kicker::before {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--hm-violet), var(--hm-cyan));
  box-shadow: 0 0 12px rgba(139, 115, 255, 0.44);
  content: "";
}

.observation-catalog-hero h1 {
  max-width: 13ch !important;
  margin: 18px 0 0 !important;
  color: var(--hm-text) !important;
  font-size: clamp(48px, 4.35vw, 68px) !important;
  font-weight: 660 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance;
}

.observation-catalog-hero__summary {
  max-width: 42em;
  margin: 22px 0 0;
  color: var(--hm-muted);
  font-size: 15px;
  line-height: 1.75;
}

.observation-catalog-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.observation-catalog-hero__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--hm-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #9099a9;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.observation-catalog-hero__cta {
  min-height: 44px;
  margin-top: 24px !important;
  padding: 0 17px !important;
  border: 1px solid rgba(139, 115, 255, 0.56) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #8067f3, #6b55df) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(79, 57, 185, 0.24), inset 0 1px rgba(255, 255, 255, 0.16);
}

.observation-catalog-hero__cta:hover {
  border-color: rgba(165, 148, 255, 0.84) !important;
  background: linear-gradient(135deg, #8d77f8, #735de6) !important;
  box-shadow: 0 14px 34px rgba(79, 57, 185, 0.3), inset 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px) !important;
}

.observation-hero-art {
  height: 310px !important;
}

.observation-orbit {
  width: min(100%, 430px) !important;
  background: radial-gradient(circle at 50% 50%, rgba(139, 115, 255, 0.09), rgba(56, 213, 232, 0.025) 38%, transparent 68%) !important;
}

.observation-orbit__grid {
  background:
    linear-gradient(rgba(139, 115, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 213, 232, 0.08) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  opacity: 0.34 !important;
}

.observation-orbit__ring--outer {
  width: 264px !important;
  height: 264px !important;
  border: 1px solid rgba(139, 115, 255, 0.25) !important;
  border-top-color: rgba(167, 139, 250, 0.86) !important;
  border-right-color: rgba(56, 213, 232, 0.7) !important;
  box-shadow: 0 0 52px rgba(99, 75, 219, 0.11), inset 0 0 36px rgba(56, 213, 232, 0.025) !important;
}

.observation-orbit__ring--outer::after {
  top: 13px !important;
  right: 44px !important;
  background: var(--hm-cyan) !important;
  box-shadow: 0 0 13px rgba(56, 213, 232, 0.8) !important;
}

.observation-orbit__ring--inner {
  width: 178px !important;
  height: 178px !important;
  border-color: rgba(139, 115, 255, 0.28) !important;
  border-bottom-color: rgba(56, 213, 232, 0.58) !important;
}

.observation-orbit__core {
  width: 96px !important;
  height: 96px !important;
  gap: 5px !important;
  border: 1px solid var(--hm-border-strong) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 24%, rgba(139, 115, 255, 0.15), transparent 62%),
    #0b0e16 !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.08) !important;
}

.observation-orbit__core img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(139, 115, 255, 0.2));
}

.observation-orbit__core small {
  color: #858c9b !important;
  font-family: var(--font-mono);
  font-size: 7px !important;
  letter-spacing: 0.13em !important;
}

.observation-orbit__node {
  width: 160px !important;
  min-height: 52px !important;
  gap: 8px !important;
  padding: 6px 8px !important;
  border: 1px solid var(--hm-border) !important;
  border-left-color: var(--node-accent, var(--hm-violet)) !important;
  border-radius: 12px !important;
  background: rgba(13, 16, 24, 0.88) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px) saturate(130%);
}

.observation-orbit__node--1,
.observation-orbit__node--3 { --node-accent: var(--hm-violet) !important; }
.observation-orbit__node--2,
.observation-orbit__node--4 { --node-accent: var(--hm-cyan) !important; }
.observation-orbit__node--1 { top: 14px !important; left: 0 !important; }
.observation-orbit__node--2 { top: 31px !important; right: 0 !important; }
.observation-orbit__node--3 { bottom: 35px !important; left: 0 !important; }
.observation-orbit__node--4 { right: 0 !important; bottom: 15px !important; }

.observation-orbit__node-name {
  color: #e6e9ef !important;
  font-size: 11px !important;
  font-weight: 680 !important;
}

.observation-catalog,
.observation-page--catalog.is-light .observation-catalog,
.observation-page--catalog.is-dark .observation-catalog {
  min-height: 560px !important;
  padding: 34px 0 80px !important;
  background: transparent !important;
  color: var(--hm-text) !important;
}

.observation-catalog__controls {
  scroll-margin-top: 90px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 115, 255, 0.07), transparent 32%),
    rgba(13, 16, 24, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.observation-catalog__toolbar {
  margin-bottom: 16px !important;
}

.observation-catalog__toolbar > div:first-child {
  display: grid;
  gap: 8px;
}

.observation-catalog__toolbar h2,
.observation-page--catalog.is-light .observation-catalog__toolbar h2,
.observation-page--catalog.is-dark .observation-catalog__toolbar h2 {
  color: var(--hm-text) !important;
  font-size: 23px !important;
  letter-spacing: -0.035em !important;
}

.observation-catalog__search {
  width: min(390px, 100%) !important;
}

.observation-catalog__toolbar input,
.observation-page--catalog.is-light .observation-catalog__toolbar input,
.observation-page--catalog.is-dark .observation-catalog__toolbar input {
  height: 46px !important;
  border-color: var(--hm-border) !important;
  border-radius: 11px !important;
  background: rgba(4, 6, 11, 0.72) !important;
  color: var(--hm-text) !important;
  font-size: 14px;
}

.observation-catalog__toolbar input::placeholder {
  color: #737d8d !important;
}

.observation-catalog__toolbar input:focus {
  border-color: rgba(139, 115, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(139, 115, 255, 0.16) !important;
}

.observation-catalog__filter-row {
  margin-bottom: 0 !important;
  padding-top: 15px;
  border-top: 1px solid rgba(148, 163, 184, 0.11);
}

.observation-catalog__filters button,
.observation-page--catalog.is-light .observation-catalog__filters button,
.observation-page--catalog.is-dark .observation-catalog__filters button {
  min-height: 36px;
  padding: 7px 14px !important;
  border-color: var(--hm-border) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #9da6b6 !important;
}

.observation-catalog__filters button:hover:not([aria-pressed="true"]) {
  border-color: rgba(56, 213, 232, 0.28) !important;
  background: rgba(56, 213, 232, 0.055) !important;
  color: #dbe8ec !important;
}

.observation-catalog__filters button[aria-pressed="true"],
.observation-page--catalog.is-light .observation-catalog__filters button[aria-pressed="true"],
.observation-page--catalog.is-dark .observation-catalog__filters button[aria-pressed="true"] {
  border-color: rgba(139, 115, 255, 0.45) !important;
  background: rgba(139, 115, 255, 0.14) !important;
  color: #e7e2ff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 8px 22px rgba(67, 44, 165, 0.12) !important;
}

.observation-catalog__count {
  color: #8d96a6 !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
}

.observation-catalog__status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.07);
  color: #d9bd89;
  font-size: 13px;
}

.observation-catalog__grid {
  gap: 16px !important;
}

.observation-catalog__grid.is-single-result {
  grid-template-columns: minmax(0, 640px) !important;
  justify-content: center;
}

.observation-product-card,
.observation-page--catalog.is-light .observation-product-card,
.observation-page--catalog.is-dark .observation-product-card {
  min-height: 316px;
  padding: 22px !important;
  border: 1px solid var(--hm-border) !important;
  border-radius: 17px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    var(--hm-surface) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 14px 38px rgba(0, 0, 0, 0.22) !important;
  color: var(--hm-text) !important;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease !important;
}

.observation-product-card:focus-visible,
.observation-page--catalog.is-dark .observation-product-card:focus-visible {
  border-color: rgba(139, 115, 255, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(139, 115, 255, 0.2), 0 18px 42px rgba(0, 0, 0, 0.32) !important;
}

@media (hover: hover) {
  .observation-product-card:hover,
  .observation-page--catalog.is-dark .observation-product-card:hover {
    border-color: rgba(139, 115, 255, 0.4) !important;
    background:
      linear-gradient(145deg, rgba(139, 115, 255, 0.065), transparent 46%),
      #10141e !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 20px 48px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) !important;
  }
}

.observation-product-card h2,
.observation-page--catalog.is-dark .observation-product-card h2 {
  color: var(--hm-text) !important;
  font-size: 20px !important;
}

.observation-product-card__heading p,
.observation-product-card__description,
.observation-product-card__metrics small,
.observation-page--catalog.is-dark .observation-product-card__heading p,
.observation-page--catalog.is-dark .observation-product-card__description,
.observation-page--catalog.is-dark .observation-product-card__metrics small {
  color: var(--hm-muted) !important;
}

.observation-product-card__description {
  margin: 17px 0 19px !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  min-height: 3.3em;
  max-height: 3.3em;
}

.observation-product-card__metrics {
  gap: 12px !important;
  padding-top: 16px !important;
  border-top-color: var(--hm-border) !important;
}

.observation-product-card__metrics small {
  margin-bottom: 6px !important;
  font-size: 11px !important;
}

.observation-product-card__metrics strong {
  color: #eef1f6 !important;
  font-family: var(--font-mono);
  font-size: 14px !important;
}

.observation-product-card__metrics strong.positive,
.observation-page--catalog.is-dark .observation-product-card__metrics strong.positive {
  color: var(--hm-success) !important;
}

.observation-product-card__status {
  background: rgba(148, 163, 184, 0.1) !important;
  color: #aeb7c6 !important;
}

.observation-product-card__status.is-ready {
  background: rgba(69, 214, 173, 0.09) !important;
  color: var(--hm-success) !important;
}

.observation-product-card__footer,
.observation-page--catalog.is-dark .observation-product-card__footer {
  margin-top: 18px !important;
  padding-top: 15px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #aaa0ff !important;
  font-size: 13px !important;
}

.observation-catalog__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.observation-catalog__pagination button {
  min-width: 96px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #c8cfda;
  font-weight: 680;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.observation-catalog__pagination button:hover:not(:disabled) {
  border-color: var(--hm-border-strong);
  background: rgba(139, 115, 255, 0.1);
  color: #fff;
}

.observation-catalog__pagination button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.observation-catalog__pagination span {
  color: var(--hm-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
}

@media (max-width: 1040px) {
  .observation-catalog-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr) !important;
    gap: 30px !important;
  }

  .observation-orbit__node {
    width: 145px !important;
  }
}

@media (max-width: 820px) {
  .license-home-hero {
    min-height: 0 !important;
  }

  .observation-catalog-hero {
    padding: 50px 0 42px !important;
  }

  .observation-catalog-hero__layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    min-height: 0 !important;
  }

  .observation-catalog-hero__copy {
    max-width: 680px;
  }

  .observation-hero-art {
    width: min(100%, 520px);
    height: 270px !important;
    margin-inline: auto;
  }

  .observation-orbit {
    margin-inline: auto !important;
  }

  .observation-catalog__toolbar {
    align-items: stretch !important;
    flex-direction: column;
  }

  .observation-catalog__search {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .public-page .site-nav,
  .observation-page .site-nav {
    min-height: 62px !important;
  }

  .observation-catalog-hero {
    padding: 42px 0 34px !important;
  }

  .observation-catalog-hero h1 {
    max-width: 12ch !important;
    font-size: clamp(40px, 12vw, 54px) !important;
  }

  .observation-catalog-hero__summary {
    margin-top: 18px;
    font-size: 14px;
  }

  .observation-hero-art {
    height: 230px !important;
  }

  .observation-orbit__ring--outer {
    width: 208px !important;
    height: 208px !important;
  }

  .observation-orbit__ring--inner {
    width: 140px !important;
    height: 140px !important;
  }

  .observation-orbit__core {
    width: 82px !important;
    height: 82px !important;
  }

  .observation-orbit__core img {
    width: 42px;
    height: 42px;
  }

  .observation-orbit__node {
    width: 128px !important;
    min-height: 46px !important;
  }

  .observation-orbit__node--1 { top: 5px !important; }
  .observation-orbit__node--2 { top: 19px !important; }
  .observation-orbit__node--3 { bottom: 22px !important; }
  .observation-orbit__node--4 { bottom: 6px !important; }

  .observation-orbit__node-name {
    display: none;
  }

  .observation-catalog {
    padding: 22px 0 58px !important;
  }

  .observation-catalog__controls {
    padding: 17px;
    border-radius: 15px;
  }

  .observation-catalog__filter-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .observation-catalog__filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .observation-catalog__filters::-webkit-scrollbar {
    display: none;
  }

  .observation-catalog__filters button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .observation-catalog__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .observation-product-card {
    min-height: 0;
    padding: 19px !important;
  }

  .observation-product-card__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .observation-product-card__metrics > div:last-child {
    grid-column: 1 / -1;
  }

  .observation-catalog__pagination {
    justify-content: space-between;
  }

  .observation-catalog__pagination button {
    min-width: 0;
    min-height: 44px;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .observation-catalog-hero__cta,
  .observation-product-card,
  .observation-catalog__pagination button {
    transition: none !important;
  }
}

/* Final hierarchy corrections after visual QA. */
.public-page .site-nav__links .public-nav__item.is-primary:not([aria-current="page"]),
.observation-page .site-nav__links .public-nav__item.is-primary:not([aria-current="page"]) {
  border-color: transparent !important;
  background: transparent !important;
  color: #b5bdca !important;
  box-shadow: none !important;
}

.public-page .site-nav__links .public-nav__item--bitcoin,
.observation-page .site-nav__links .public-nav__item--bitcoin {
  border-color: rgba(56, 213, 232, 0.12) !important;
  background: rgba(56, 213, 232, 0.055) !important;
  color: #a9e9f0 !important;
}

.public-page .site-nav__links .public-nav__item--bitcoin:hover,
.observation-page .site-nav__links .public-nav__item--bitcoin:hover {
  border-color: rgba(56, 213, 232, 0.3) !important;
  background: rgba(56, 213, 232, 0.09) !important;
  color: #e4fbfd !important;
}

.license-home-product strong {
  background: linear-gradient(102deg, #c4b5fd 0%, #8b73ff 48%, #38d5e8 100%) !important;
  color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.observation-catalog-hero h1 {
  font-size: clamp(48px, 4vw, 60px) !important;
}

@media (max-width: 600px) {
  .observation-orbit__node {
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    justify-content: center;
    padding: 4px !important;
  }

  .observation-orbit__node-logo.product-mark-lockup {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-height: 500px) and (min-width: 700px) {
  .observation-catalog-hero {
    padding: 26px 0 24px !important;
  }

  .observation-catalog-hero__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr) !important;
    gap: 24px !important;
  }

  .observation-catalog-hero h1 {
    margin-top: 12px !important;
    font-size: clamp(39px, 5vw, 48px) !important;
  }

  .observation-catalog-hero__summary {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.55;
  }

  .observation-catalog-hero__signals {
    display: none;
  }

  .observation-catalog-hero__cta {
    margin-top: 15px !important;
  }

  .observation-hero-art {
    height: 242px !important;
  }

  .observation-orbit__node {
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    justify-content: center;
    padding: 4px !important;
  }

  .observation-orbit__node-name {
    display: none;
  }

  .observation-orbit__node-logo.product-mark-lockup {
    width: 40px !important;
    height: 40px !important;
  }
}

/* UI/UX Pro Max closeout: remove hard hero frames and unify product, benefit and status flows. */
.home-b .license-home-visual,
.license-home-visual {
  width: min(100%, 560px) !important;
  min-height: 460px !important;
  justify-self: end;
  overflow: visible !important;
  isolation: isolate;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.home-b .license-home-visual::before,
.home-b .license-home-visual::after,
.license-home-visual::before,
.license-home-visual::after {
  display: none !important;
  content: none !important;
}

.license-home-visual__aura {
  inset: 5% 2% !important;
  background:
    radial-gradient(circle at 52% 48%, rgba(139, 115, 255, 0.22), rgba(56, 213, 232, 0.07) 36%, transparent 66%) !important;
  filter: blur(20px) !important;
  opacity: 0.74 !important;
}

.license-home-visual__trace--one { inset: 13% 7% !important; }
.license-home-visual__trace--two { inset: 25% 19% !important; }

.license-home-visual__brand {
  width: 148px !important;
  height: 148px !important;
  border-radius: 34px !important;
}

.license-home-visual__chip--auth { top: 18% !important; left: 2% !important; }
.license-home-visual__chip--runtime { right: 1% !important; bottom: 18% !important; }

/* Bitget benefit banner: one decision and one status action. */
.bg-agent-benefit {
  grid-template-columns: minmax(0, 1fr) 230px !important;
  gap: clamp(24px, 3vw, 42px) !important;
  align-items: center !important;
  padding: 24px 26px !important;
  overflow: hidden;
  border-color: rgba(112, 219, 210, 0.18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(56, 213, 232, 0.075), transparent 26rem),
    radial-gradient(circle at 100% 100%, rgba(139, 115, 255, 0.09), transparent 24rem),
    rgba(14, 15, 21, 0.88) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 50px rgba(0, 0, 0, 0.22) !important;
}

.bg-agent-benefit::before,
.bg-agent-benefit::after { display: none !important; }

.bg-agent-benefit__main { max-width: 780px !important; }

.bg-agent-benefit h2 {
  max-width: 22ch !important;
  margin: 10px 0 6px !important;
  color: #f2f3f7 !important;
  font-size: clamp(24px, 2.35vw, 32px) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.bg-agent-benefit__main > p {
  max-width: 690px !important;
  margin: 0 !important;
  color: #9ba3b1 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.bg-agent-benefit__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.bg-agent-benefit__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #aeb7c5;
  font-size: 11px;
}

.bg-agent-benefit__facts li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55d7d0;
  box-shadow: 0 0 10px rgba(85, 215, 208, 0.55);
  content: "";
}

.bg-agent-benefit__actions {
  width: 230px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.bg-agent-benefit__primary,
.bg-agent-benefit__secondary {
  width: 100% !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 720 !important;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.bg-agent-benefit__primary {
  border: 1px solid rgba(93, 222, 211, 0.36) !important;
  background: linear-gradient(120deg, rgba(56, 213, 232, 0.12), rgba(139, 115, 255, 0.12)) !important;
  color: #b9f5f0 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055) !important;
}

.bg-agent-benefit__secondary {
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #c2c7d1 !important;
}

.bg-agent-benefit__primary:hover,
.bg-agent-benefit__primary:focus-visible,
.bg-agent-benefit__secondary:hover,
.bg-agent-benefit__secondary:focus-visible {
  border-color: rgba(151, 135, 255, 0.5) !important;
  background: rgba(139, 115, 255, 0.1) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Product cards: restrained semantic accents instead of unrelated bright blue. */
.product-catalog-card__category {
  --category-color: #9ca3af;
  --category-bg: rgba(156, 163, 175, 0.09);
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px !important;
  border: 1px solid color-mix(in srgb, var(--category-color) 28%, transparent) !important;
  border-radius: 999px !important;
  background: var(--category-bg) !important;
  color: var(--category-color) !important;
}

.product-catalog-card__category::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  content: "";
}

.product-catalog-page .product-catalog-card__category.is-gold {
  --category-color: #e7b84b;
  --category-bg: rgba(231, 184, 75, 0.09);
  border-color: rgba(231, 184, 75, 0.26) !important;
  background: rgba(231, 184, 75, 0.09) !important;
  color: #e7b84b !important;
}

.product-catalog-page .product-catalog-card__category.is-forex {
  --category-color: #48c6e5;
  --category-bg: rgba(72, 198, 229, 0.09);
  border-color: rgba(72, 198, 229, 0.26) !important;
  background: rgba(72, 198, 229, 0.09) !important;
  color: #48c6e5 !important;
}

.product-catalog-page .product-catalog-card__category.is-multi,
.product-catalog-page .product-catalog-card__category.is-indices {
  --category-color: #9c86ff;
  --category-bg: rgba(156, 134, 255, 0.1);
  border-color: rgba(156, 134, 255, 0.28) !important;
  background: rgba(156, 134, 255, 0.1) !important;
  color: #9c86ff !important;
}

.product-catalog-page .product-catalog-card__category.is-crypto {
  --category-color: #55d7d0;
  --category-bg: rgba(85, 215, 208, 0.09);
  border-color: rgba(85, 215, 208, 0.26) !important;
  background: rgba(85, 215, 208, 0.09) !important;
  color: #55d7d0 !important;
}

.product-catalog-card__points li::before {
  width: 16px !important;
  color: #63d8e7 !important;
  font-weight: 850 !important;
  text-shadow: 0 0 10px rgba(99, 216, 231, 0.35);
}

.product-catalog-card__details {
  min-height: 44px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(139, 115, 255, 0.44) !important;
  border-radius: 10px !important;
  background: linear-gradient(125deg, rgba(139, 115, 255, 0.2), rgba(56, 213, 232, 0.08)) !important;
  color: #ddd8ff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 10px 24px rgba(42, 29, 112, 0.16) !important;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.product-catalog-card__details:hover,
.product-catalog-card__details:focus-visible {
  border-color: rgba(166, 151, 255, 0.72) !important;
  background: linear-gradient(125deg, rgba(139, 115, 255, 0.3), rgba(56, 213, 232, 0.12)) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.product-catalog-card__details span { color: #77dbe8; }

.product-introduction__title-row .status {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Observation states must remain distinct in copy, shape and color. */
.observation-product-card__status,
.observation-hero__sync {
  display: inline-flex !important;
  align-items: center;
  align-self: start;
  justify-self: start;
  gap: 7px;
  width: max-content !important;
  min-width: 0 !important;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.observation-product-card__status::before {
  display: none !important;
  content: none !important;
}

.observation-product-card__status i,
.observation-hero__sync i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background-color: currentColor !important;
  box-shadow: 0 0 9px currentColor;
}

.observation-product-card__metrics > div:last-child {
  display: grid;
  align-content: start;
  justify-items: start;
}

.observation-product-card__status.is-online,
.observation-hero__sync.is-online {
  border-color: rgba(69, 214, 173, 0.2) !important;
  background: rgba(69, 214, 173, 0.09) !important;
  color: #62dfba !important;
}

.observation-product-card__status.is-offline,
.observation-hero__sync.is-offline {
  border-color: rgba(248, 113, 113, 0.28) !important;
  background: rgba(248, 113, 113, 0.12) !important;
  color: #ff98a2 !important;
}

.observation-product-card__status.is-loading,
.observation-hero__sync.is-loading {
  border-color: rgba(148, 163, 184, 0.17) !important;
  background: rgba(148, 163, 184, 0.08) !important;
  color: #bcc4d1 !important;
}

.observation-product-card__status.is-loading i,
.observation-hero__sync.is-loading i { animation: hm-status-pulse 1.3s ease-in-out infinite; }

@keyframes hm-status-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.78); }
  50% { opacity: 1; transform: scale(1); }
}

/* Observation detail contrast repair. */
.observation-page--products,
.observation-page--products.is-light,
.observation-page--products.is-dark {
  background: #06080e !important;
  color: #f1f3f7 !important;
}

.observation-page--products .observation-hero__snapshot {
  border-color: rgba(139, 115, 255, 0.24) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 115, 255, 0.13), transparent 46%),
    #10131d !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.observation-page--products .observation-hero__snapshot-head > span,
.observation-page--products .observation-hero__snapshot-meta span,
.observation-page--products .home-observation .empty-cell p {
  color: #9ca7b8 !important;
}

.observation-page--products .observation-hero__snapshot > strong,
.observation-page--products .observation-hero__snapshot-meta time,
.observation-page--products .home-observation .empty-cell h2 {
  color: #eef1f6 !important;
}

.observation-page--products .observation-hero__snapshot-meta {
  border-top-color: rgba(148, 163, 184, 0.14) !important;
}

/* Bitget application modal: dark, progressive and consistent with the public site. */
.bg-agent-modal-backdrop {
  padding: 24px !important;
  overflow-y: auto;
  background: rgba(3, 5, 10, 0.82) !important;
  backdrop-filter: blur(18px) saturate(120%);
}

.bg-agent-benefit-modal,
.bg-agent-review-pending,
.bg-agent-status-modal {
  position: relative;
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  overflow-y: auto;
  padding: 28px !important;
  border: 1px solid rgba(139, 115, 255, 0.24) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 115, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 0 0, rgba(56, 213, 232, 0.075), transparent 24rem),
    #0d1018 !important;
  color: #f1f3f7 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 40px 120px rgba(0, 0, 0, 0.6) !important;
  color-scheme: dark;
}

.bg-agent-modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #c7cdd7;
  font-size: 22px;
  cursor: pointer;
}

.bg-agent-modal-close:hover,
.bg-agent-modal-close:focus-visible {
  border-color: rgba(139, 115, 255, 0.45);
  background: rgba(139, 115, 255, 0.1);
  color: #fff;
}

.bg-agent-benefit-modal__header {
  display: grid !important;
  gap: 11px !important;
  padding: 0 58px 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bg-agent-benefit-modal__header h2 {
  margin: 0 !important;
  color: #f5f6f8 !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.bg-agent-benefit-modal__header > p {
  max-width: 720px;
  margin: 0 !important;
  color: #a2acbb !important;
  font-size: 14px !important;
  line-height: 1.68 !important;
}

.bg-agent-benefit-modal__onboarding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(56, 213, 232, 0.19);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(56, 213, 232, 0.075), rgba(139, 115, 255, 0.055));
}

.bg-agent-benefit-modal__onboarding-index,
.bg-agent-benefit-modal__section-title b,
.bg-agent-benefit-modal__product-picker legend b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(139, 115, 255, 0.28);
  border-radius: 9px;
  background: rgba(139, 115, 255, 0.1);
  color: #bdb4ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 780;
}

.bg-agent-benefit-modal__onboarding div { display: grid; gap: 3px; }
.bg-agent-benefit-modal__onboarding strong { color: #e9edf3; font-size: 14px; }
.bg-agent-benefit-modal__onboarding p { margin: 0; color: #929dad; font-size: 12px; line-height: 1.55; }

.bg-agent-benefit-modal__onboarding a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(56, 213, 232, 0.28);
  border-radius: 10px;
  background: rgba(56, 213, 232, 0.08);
  color: #9ff3ef;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.bg-agent-benefit-modal__product-picker {
  margin: 18px 0 0 !important;
  min-inline-size: 0;
  padding: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.085) !important;
  border-radius: 15px !important;
  background: rgba(4, 6, 11, 0.34) !important;
}

.bg-agent-benefit-modal__product-picker legend {
  float: left;
  box-sizing: border-box;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 12px !important;
  color: #e9edf3 !important;
}

.bg-agent-benefit-modal__product-picker legend > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.bg-agent-benefit-modal__product-picker legend small { color: #8f99a8 !important; }

.bg-agent-benefit-modal__product-options {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

.bg-agent-benefit-modal__product-options label > span {
  min-height: 76px !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #e9edf3 !important;
  box-shadow: none !important;
}

.bg-agent-benefit-modal__product-options label > span small { color: #919baa !important; }

.bg-agent-benefit-modal__product-options label > span strong {
  color: #edf0f5 !important;
}

.bg-agent-benefit-modal__product-options input:checked + span {
  border-color: rgba(139, 115, 255, 0.62) !important;
  background: linear-gradient(130deg, rgba(139, 115, 255, 0.15), rgba(56, 213, 232, 0.055)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 0 0 2px rgba(139, 115, 255, 0.08) !important;
}

.bg-agent-benefit-modal__product-options input:checked + span::after {
  background: linear-gradient(135deg, #8b73ff, #5d8dff) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(79, 64, 190, 0.34) !important;
}

.bg-agent-benefit-modal__fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(4, 6, 11, 0.34);
}

.bg-agent-benefit-modal__section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e9edf3;
  font-size: 14px;
  font-weight: 760;
}

.bg-agent-benefit-modal__fields label,
.bg-agent-benefit-modal__fields label > span { color: #c9d0da !important; }

.bg-agent-benefit-modal__fields [data-bitget-mt5-field][hidden] {
  display: none !important;
}

.bg-agent-benefit-modal__fields input,
.bg-agent-benefit-modal__fields select {
  min-height: 46px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 10px !important;
  background: #080b12 !important;
  color: #f1f3f7 !important;
  font-size: 14px !important;
}

.bg-agent-benefit-modal__fields input::placeholder { color: #687384 !important; }

.bg-agent-benefit-modal__fields input:focus,
.bg-agent-benefit-modal__fields select:focus {
  border-color: rgba(139, 115, 255, 0.72) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 115, 255, 0.15) !important;
}

.bg-agent-benefit-modal__actions,
.bg-agent-review-pending__actions,
.bg-agent-status-modal__actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 9px !important;
  margin-top: 18px !important;
}

.bg-agent-benefit-modal__actions .primary-button,
.bg-agent-review-pending__actions .primary-button,
.bg-agent-status-modal__actions .primary-button {
  border-color: rgba(139, 115, 255, 0.5) !important;
  background: linear-gradient(135deg, #8069ee, #6251d4) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(75, 59, 180, 0.24) !important;
}

.bg-agent-benefit-modal__actions .secondary-button,
.bg-agent-review-pending__actions .secondary-button,
.bg-agent-status-modal__actions .secondary-button {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #c7cdd7 !important;
}

.bg-agent-benefit-modal__actions > button,
.bg-agent-review-pending__actions > button,
.bg-agent-status-modal__actions > button { min-height: 44px; }

/* Keep the form actions reachable at every viewport height and zoom level. */
.bg-agent-benefit-modal--form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0 !important;
  overflow: hidden;
}

.bg-agent-benefit-modal--form .bg-agent-benefit-modal__scroll {
  min-height: 0;
  padding: 28px 28px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.bg-agent-benefit-modal--form > .bg-agent-benefit-modal__actions {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 16px 28px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(13, 16, 24, 0.97);
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.2);
}

.bg-agent-benefit-modal--form > .bg-agent-benefit-modal__actions > button {
  flex: 1 1 190px;
}

.bg-agent-benefit-modal__demo-note {
  display: block;
  margin-top: 12px !important;
  color: #7f8998 !important;
  font-size: 11px !important;
  line-height: 1.55;
}

.bg-agent-review-pending { max-width: 660px !important; }

.bg-agent-review-pending__status {
  width: fit-content;
  border-color: rgba(245, 183, 79, 0.22) !important;
  background: rgba(245, 183, 79, 0.08) !important;
  color: #e9c47e !important;
}

.bg-agent-review-pending__product,
.bg-agent-review-pending__timeline {
  border-color: rgba(255, 255, 255, 0.085) !important;
  background: rgba(4, 6, 11, 0.34) !important;
  color: #e9edf3 !important;
}

.bg-agent-review-pending__timeline small,
.bg-agent-review-pending__product small,
.bg-agent-review-pending__product span { color: #929dad !important; }

/* Small application-status window. */
.bg-agent-status-modal {
  width: min(540px, 100%) !important;
  max-width: 540px !important;
  padding: 28px !important;
}

.bg-agent-status-modal__eyebrow {
  padding-right: 54px;
  color: #aaa0f7;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.bg-agent-status-modal__state {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 20px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  color: #bcc4d1;
  font-size: 12px;
}

.bg-agent-status-modal__state > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
}

.bg-agent-status-modal__state.is-approved { border-color: rgba(69, 214, 173, 0.22); background: rgba(69, 214, 173, 0.08); color: #65dfba; }
.bg-agent-status-modal__state.is-pending { border-color: rgba(245, 183, 79, 0.22); background: rgba(245, 183, 79, 0.08); color: #e9c47e; }
.bg-agent-status-modal__state.is-rejected { border-color: rgba(248, 113, 113, 0.22); background: rgba(248, 113, 113, 0.08); color: #f0959d; }

.bg-agent-status-modal h2 {
  margin: 16px 0 8px;
  color: #f3f5f8 !important;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.bg-agent-status-modal > p { margin: 0; color: #a2acbb; font-size: 14px; line-height: 1.65; }

.bg-agent-status-modal__facts {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 13px;
  background: rgba(4, 6, 11, 0.34);
}

.bg-agent-status-modal__facts > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 13px;
}

.bg-agent-status-modal__facts > div + div { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.bg-agent-status-modal__facts dt { color: #818c9c; font-size: 11px; }
.bg-agent-status-modal__facts dd { margin: 0; color: #dbe0e8; font-size: 12px; overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .home-b .license-home-visual,
  .license-home-visual {
    min-height: 410px !important;
    justify-self: center;
    margin-inline: auto !important;
  }

  .bg-agent-benefit { grid-template-columns: minmax(0, 1fr) !important; }
  .bg-agent-benefit__actions {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .home-b .license-home-visual,
  .license-home-visual { min-height: 330px !important; }
  .license-home-visual__brand { width: 108px !important; height: 108px !important; border-radius: 25px !important; }
  .license-home-visual__chip { display: none !important; }

  .bg-agent-benefit { padding: 20px 18px !important; }
  .bg-agent-benefit h2 { font-size: 23px !important; }
  .bg-agent-benefit__actions { grid-template-columns: minmax(0, 1fr) !important; }

  .bg-agent-modal-backdrop { padding: 10px !important; }
  .bg-agent-benefit-modal,
  .bg-agent-review-pending,
  .bg-agent-status-modal {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .bg-agent-benefit-modal--form { padding: 0 !important; }
  .bg-agent-benefit-modal--form .bg-agent-benefit-modal__scroll { padding: 20px 16px 14px; }
  .bg-agent-benefit-modal--form > .bg-agent-benefit-modal__actions {
    padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  }

  .bg-agent-modal-close { top: 12px; right: 12px; }
  .bg-agent-benefit-modal__header { padding-right: 46px !important; }
  .bg-agent-benefit-modal__header h2 { font-size: 29px !important; }

  .bg-agent-benefit-modal__onboarding {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .bg-agent-benefit-modal__onboarding a {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .bg-agent-benefit-modal__product-picker legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .bg-agent-benefit-modal__product-options,
  .bg-agent-benefit-modal__fields { grid-template-columns: minmax(0, 1fr) !important; }
  .bg-agent-benefit-modal__fields label.is-wide,
  .bg-agent-benefit-modal__section-title { grid-column: 1; }
  .bg-agent-status-modal__facts > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .product-catalog-card__details { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .product-catalog-hero::after,
  .observation-product-card__status.is-loading i,
  .observation-hero__sync.is-loading i,
  .license-home-visual__aura,
  .license-home-visual__trace,
  .license-home-visual__pulse { animation: none !important; }
}

/* Product detail spacious revision: open page rhythm instead of nested compact frames. */
.product-details-page {
  --detail-surface: #0d1018;
  --detail-surface-raised: #111521;
  --detail-surface-soft: #090c13;
  --detail-line: rgba(177, 187, 205, 0.14);
  --detail-line-strong: rgba(139, 115, 255, 0.24);
  --detail-text: #f2f4f8;
  --detail-muted: #a5aebd;
}

.product-details-page main {
  padding-bottom: clamp(72px, 8vw, 120px);
}

.product-details-page .product-details-toolbar,
.product-details-page .product-introduction {
  width: min(1320px, calc(100% - clamp(40px, 6vw, 88px)));
}

.product-details-page .product-details-toolbar {
  padding-top: clamp(40px, 5vw, 68px);
  padding-bottom: 10px;
}

.product-details-page .product-introduction,
.product-details-page.is-light .product-introduction,
.product-details-page.is-dark .product-introduction {
  grid-template-columns: minmax(0, 1.3fr) minmax(350px, 0.7fr);
  column-gap: clamp(24px, 2.6vw, 36px);
  row-gap: clamp(32px, 4vw, 52px);
  margin-top: 22px;
  margin-bottom: 0;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-details-page .product-introduction__copy,
.product-details-page .product-introduction__features {
  min-height: 500px;
  padding: clamp(38px, 4vw, 58px) !important;
  border: 1px solid var(--detail-line) !important;
  border-radius: 26px !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 24px 72px rgba(0, 0, 0, 0.28) !important;
}

.product-details-page .product-introduction__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background:
    radial-gradient(circle at 0 0, rgba(56, 213, 232, 0.07), transparent 23rem),
    var(--detail-surface) !important;
}

.product-details-page .product-introduction__features {
  background:
    radial-gradient(circle at 100% 0, rgba(139, 115, 255, 0.12), transparent 24rem),
    var(--detail-surface-raised) !important;
}

.product-details-page .product-introduction__copy .license-home-eyebrow {
  margin: 0 0 8px;
}

.product-details-page .product-introduction__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.product-details-page .product-introduction h2 {
  max-width: 13ch;
  margin: 24px 0 28px;
  color: var(--detail-text) !important;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.product-details-page .product-introduction__title-row .status {
  align-self: start;
  margin-top: 28px;
  padding: 8px 11px;
}

.product-details-page .product-introduction__copy > p:not(.license-home-eyebrow) {
  max-width: 62ch;
  margin: 0 !important;
  color: var(--detail-muted) !important;
  font-size: 17px;
  line-height: 1.82;
}

.product-details-page .product-introduction__facts,
.product-details-page.is-light .product-introduction__facts,
.product-details-page.is-dark .product-introduction__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: auto 0 0;
  padding-top: 44px;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
}

.product-details-page .product-introduction__facts div,
.product-details-page.is-dark .product-introduction__facts div {
  min-height: 92px;
  align-content: center;
  gap: 9px;
  padding: 18px 19px;
  border: 1px solid var(--detail-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026) !important;
}

.product-details-page .product-introduction__facts dt {
  color: #8f99a9 !important;
  font-size: 12px;
}

.product-details-page .product-introduction__facts dd {
  color: #eef1f5 !important;
  font-size: 17px;
}

.product-details-page .product-introduction__features h3 {
  margin: 0 0 30px;
  color: var(--detail-text) !important;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.product-details-page .product-introduction__features ul {
  gap: 0;
  margin: 0 0 36px;
}

.product-details-page .product-introduction__features li {
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.product-details-page .product-introduction__features li:first-child { padding-top: 0; }
.product-details-page .product-introduction__features li:last-child { border-bottom: 0; }

.product-details-page .product-introduction__features li > span {
  color: #58ddd5 !important;
  font-size: 18px;
  line-height: 1.55;
}

.product-details-page .product-introduction__features li strong {
  color: #dce1e9 !important;
  font-size: 16px;
  line-height: 1.65;
}

.product-details-page .product-introduction__features .primary-button {
  min-height: 52px;
  border-radius: 12px;
}

.product-details-page .product-introduction__features small {
  margin-top: 16px;
  color: #929cab !important;
  font-size: 12px;
  line-height: 1.6;
}

.product-details-page .product-introduction__philosophy,
.product-details-page .product-introduction__environment,
.product-details-page .bitcoin-edition-selector {
  grid-column: 1 / -1;
  padding: clamp(40px, 4vw, 58px) !important;
  border: 1px solid var(--detail-line) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 115, 255, 0.07), transparent 30rem),
    var(--detail-surface) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 24px 72px rgba(0, 0, 0, 0.24) !important;
}

.product-details-page .product-introduction__philosophy-heading {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 14px clamp(40px, 6vw, 84px);
  align-items: start;
  margin-bottom: 38px;
}

.product-details-page .product-introduction__philosophy-heading h3,
.product-details-page .product-introduction__environment h3,
.product-details-page .bitcoin-edition-selector__heading h3 {
  color: var(--detail-text) !important;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.14;
}

.product-details-page .product-introduction__philosophy-heading > p:last-child,
.product-details-page .bitcoin-edition-selector__heading > p:last-child {
  max-width: 52ch;
  color: var(--detail-muted) !important;
  font-size: 15px;
  line-height: 1.8;
}

.product-details-page .product-introduction__philosophy-grid,
.product-details-page.is-dark .product-introduction__philosophy-grid {
  gap: 18px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent !important;
}

.product-details-page .product-introduction__philosophy-grid li,
.product-details-page.is-dark .product-introduction__philosophy-grid li {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  min-height: 224px;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid var(--detail-line) !important;
  border-radius: 18px;
  background: var(--detail-surface-soft) !important;
}

.product-details-page .product-introduction__philosophy-index {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 115, 255, 0.28);
  border-radius: 10px;
  background: rgba(139, 115, 255, 0.09);
  color: #ae9fff !important;
  line-height: 1;
}

.product-details-page .product-introduction__philosophy-grid h4 {
  margin: 2px 0 14px;
  color: #edf0f5 !important;
  font-size: 19px;
  line-height: 1.45;
}

.product-details-page .product-introduction__philosophy-grid p {
  color: var(--detail-muted) !important;
  font-size: 15px;
  line-height: 1.85;
}

.product-details-page .product-introduction__environment ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-details-page .product-introduction__environment li {
  min-height: 86px;
  padding: 18px 20px;
  border: 1px solid var(--detail-line) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
}

.product-details-page .bitcoin-edition-selector {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 5vw, 70px);
}

.product-details-page .bitcoin-edition-grid { gap: 18px; }

.product-details-page .bitcoin-edition-card {
  min-height: 290px;
  padding: 30px !important;
}

@media (max-width: 980px) {
  .product-details-page .product-introduction {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-details-page .product-introduction__copy,
  .product-details-page .product-introduction__features {
    grid-column: 1;
    min-height: auto;
  }

  .product-details-page .product-introduction__features ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .product-details-page .product-introduction__philosophy-heading,
  .product-details-page .bitcoin-edition-selector { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .product-details-page .product-details-toolbar,
  .product-details-page .product-introduction {
    width: min(100% - 32px, 1320px);
  }

  .product-details-page .product-details-toolbar {
    padding-top: 28px;
    padding-bottom: 4px;
  }

  .product-details-page .product-details-toolbar > span { display: none; }

  .product-details-page .product-introduction {
    row-gap: 22px;
    margin-top: 16px;
  }

  .product-details-page .product-introduction__copy,
  .product-details-page .product-introduction__features,
  .product-details-page .product-introduction__philosophy,
  .product-details-page .product-introduction__environment,
  .product-details-page .bitcoin-edition-selector {
    padding: 26px 22px !important;
    border-radius: 20px !important;
  }

  .product-details-page .product-introduction__title-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .product-details-page .product-introduction h2 {
    margin: 20px 0 22px;
    font-size: clamp(38px, 12vw, 50px);
  }

  .product-details-page .product-introduction__title-row .status {
    grid-row: 1;
    width: fit-content;
    margin-top: 12px;
  }

  .product-details-page .product-introduction__copy > p:not(.license-home-eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .product-details-page .product-introduction__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 32px;
  }

  .product-details-page .product-introduction__facts div { min-height: 80px; }

  .product-details-page .product-introduction__features ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-details-page .product-introduction__philosophy-heading { margin-bottom: 28px; }

  .product-details-page .product-introduction__philosophy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .product-details-page .product-introduction__philosophy-grid li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 24px 20px;
  }

  .product-details-page .product-introduction__philosophy-index {
    width: 32px;
    height: 32px;
  }

  .product-details-page .product-introduction__environment ul,
  .product-details-page .bitcoin-edition-grid { grid-template-columns: minmax(0, 1fr); }

  .product-details-page .bitcoin-edition-card {
    min-height: 0;
    padding: 24px !important;
  }
}

/* Shared public-page canvas and layout: keep route changes on the same frame. */
:root {
  --public-content-width: 1240px;
  --public-gutter: clamp(16px, 2.5vw, 32px);
  --public-card-background: linear-gradient(145deg, rgba(141, 124, 255, 0.045), transparent 60%), #0e1017;
  --public-primary-background: linear-gradient(135deg, #9a89ff 0%, #7562e8 54%, #6654d7 100%);
  --public-selected-background: rgba(141, 124, 255, 0.1);
  --public-selected-border: rgba(157, 143, 255, 0.46);
}

html { scrollbar-gutter: stable; }
body.has-modal { overflow: hidden !important; }

.page-root.public-page.is-dark {
  background: var(--linear-bg) !important;
}

.page-root.public-page::before {
  background:
    radial-gradient(ellipse 50% 38% at 50% -8%, rgba(141, 124, 255, 0.1), transparent 72%),
    radial-gradient(ellipse 34% 28% at 100% 38%, rgba(80, 227, 211, 0.025), transparent 74%),
    var(--linear-bg);
}

.page-root.public-page .container {
  width: min(var(--public-content-width), calc(100% - var(--public-gutter) * 2)) !important;
  max-width: none !important;
  margin-inline: auto;
}

.page-root.public-page .public-wordmark__logo {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-root { animation: none !important; }

@media (prefers-reduced-motion: no-preference) {
  .page-root > main.route-enter { animation: page-enter 180ms ease-out both; }
}

.page-root.public-page .site-footer {
  border-top: 1px solid var(--linear-line) !important;
  background: transparent !important;
}

.page-root.public-page :is(.product-catalog-card, .observation-product-card, .product-catalog-controls, .observation-catalog__controls, .bg-agent-benefit, .observation-hero__snapshot, .home-observation__panel) {
  background: var(--public-card-background) !important;
  border-color: var(--linear-line) !important;
}

.page-root.public-page :is(.product-catalog-card, .observation-product-card):hover {
  border-color: rgba(141, 124, 255, 0.35) !important;
}

.page-root.public-page :is(.product-catalog-controls, .observation-catalog__controls, #bitcoin-edition-selector) {
  scroll-margin-top: 100px;
}

.home-b {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.home-b > main {
  min-height: 0;
  display: flex;
}

.page-root.public-page .license-home-hero {
  width: 100%;
  flex: 1 1 auto;
  overflow: visible !important;
  border-bottom-color: transparent !important;
  background: transparent !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.page-root.public-page .license-home-hero::before,
.page-root.public-page .observation-catalog-hero::after {
  display: none;
}

.page-root.public-page :is(.product-catalog-hero, .observation-catalog-hero, .observation-hero) {
  border-bottom-color: transparent !important;
  background: transparent !important;
}

.page-root.public-page .observation-catalog-hero::before {
  background: radial-gradient(circle, rgba(139, 115, 255, 0.09), transparent 67%) !important;
}

.page-root.public-page .product-catalog-hero::after {
  opacity: 0.42;
}

.observation-page--catalog .observation-catalog__grid.is-single-result {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  justify-content: stretch;
}

.public-page .site-nav__links .public-nav__item--bitcoin,
.observation-page .site-nav__links .public-nav__item--bitcoin {
  border-color: transparent !important;
  background: transparent !important;
  color: #b5bdca !important;
}

.public-page .site-nav__links .public-nav__item--bitcoin span,
.observation-page .site-nav__links .public-nav__item--bitcoin span {
  color: #68dce7;
  opacity: 0.78;
}

.public-page .site-nav__links .public-nav__item--bitcoin:hover,
.observation-page .site-nav__links .public-nav__item--bitcoin:hover {
  border-color: var(--hm-border) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--hm-text) !important;
}

@media (max-width: 760px) {
  .observation-page--catalog .observation-catalog__grid.is-single-result {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.product-catalog-card > p {
  display: block !important;
  min-height: 4.95em !important;
  overflow: visible !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

.bg-agent-benefit__badge {
  gap: 0 !important;
  padding: 3px !important;
  border-color: rgba(135, 151, 178, 0.24) !important;
  background: rgba(7, 10, 15, 0.7) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(10px);
}

.bg-agent-benefit__brand {
  min-height: 28px !important;
  gap: 5px !important;
  padding: 3px 9px 3px 3px !important;
  background: transparent !important;
  color: var(--bitget-accent) !important;
}

.bg-agent-benefit__brand img {
  width: 90px !important;
  height: auto !important;
  max-width: none;
  display: block;
}

.bg-agent-benefit__label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  padding: 0 10px;
  border-left: 1px solid rgba(159, 172, 194, 0.16);
  color: #b9c2d0 !important;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.observation-product-card__metrics > div:last-child {
  align-items: start;
  background: transparent !important;
}

.observation-product-card__metrics .observation-product-card__status {
  width: auto !important;
  min-width: 0 !important;
  justify-self: start !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
}

.observation-product-card__metrics .observation-product-card__status.is-offline {
  border-color: rgba(255, 130, 159, 0.3) !important;
  background: rgba(255, 130, 159, 0.09) !important;
  color: #ff98ad !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Bitget artwork retains its brand color; containers share the site materials. */
:root { --bitget-accent: #1cd8e9; --bitget-line: rgba(28, 216, 233, 0.27); --bitget-soft: rgba(28, 216, 233, 0.075); }

.bg-agent-benefit,
.modal.bg-agent-benefit-modal,
.modal.bg-agent-status-modal,
.modal.bg-agent-review-pending {
  border-color: var(--linear-line) !important;
  background: var(--public-card-background) !important;
}

.bg-agent-benefit__badge {
  padding: 5px 8px !important;
  border-color: var(--bitget-line) !important;
  background: rgba(28, 216, 233, 0.035) !important;
  box-shadow: none !important;
}

.bg-agent-benefit__label {
  border-left-color: var(--bitget-line);
  color: var(--bitget-accent) !important;
}

.bg-agent-benefit__facts li::before {
  background: var(--linear-violet-strong);
  box-shadow: none;
}

.bg-agent-benefit__primary,
.bg-agent-benefit-modal__onboarding a,
.bg-agent-benefit-modal__onboarding-index,
.bg-agent-benefit-modal__section-title b,
.bg-agent-benefit-modal__product-picker legend b {
  border-color: var(--public-selected-border) !important;
  background: var(--public-selected-background) !important;
  color: #c9c1ff !important;
}

.bg-agent-benefit-modal__onboarding,
.bg-agent-benefit-modal__product-picker,
.bg-agent-benefit-modal__fields,
.bg-agent-status-modal__facts,
.bg-agent-review-pending__product,
.bg-agent-review-pending__timeline {
  border-color: var(--linear-line) !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.bg-agent-benefit__primary:is(:hover, :focus-visible),
.bg-agent-benefit__secondary:is(:hover, :focus-visible),
.bg-agent-benefit-modal__onboarding a:is(:hover, :focus-visible),
.bg-agent-modal-close:is(:hover, :focus-visible) {
  border-color: var(--public-selected-border) !important;
  background: var(--public-selected-background) !important;
  color: #e6e1ff !important;
}

.bg-agent-benefit-modal__product-options input:checked + span {
  border-color: var(--public-selected-border) !important;
  background: var(--public-selected-background) !important;
  box-shadow: none !important;
}

.bg-agent-benefit-modal__product-options input:checked + span::after,
.bg-agent-benefit-modal__actions .primary-button,
.bg-agent-review-pending__actions .primary-button,
.bg-agent-status-modal__actions .primary-button {
  border-color: rgba(180, 170, 255, 0.48) !important;
  background: var(--public-primary-background) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.bg-agent-benefit-modal__fields :is(input, select):focus {
  border-color: var(--public-selected-border) !important;
  box-shadow: 0 0 0 3px var(--public-selected-background) !important;
}

.bg-agent-benefit-modal__product-options input:focus-visible + span {
  outline-color: var(--linear-violet-strong);
}

.bg-agent-status-modal__eyebrow { color: var(--linear-violet-strong); }

/* Observation drill-down must not introduce a second blue canvas below the halo. */
.page-root.public-page.observation-page--products .observation-hero::after { display: none; }
.page-root.public-page.observation-page--products :is(.observation-hero, .home-observation) {
  background: transparent !important;
  border-color: transparent !important;
}
.observation-page--products .observation-preview-back { color: #bdb3ff; }
.observation-page--products .observation-hero__demo {
  border-color: var(--public-selected-border);
  background: var(--public-selected-background);
  color: #c9c1ff;
}

@media (max-width: 600px) {
  .bg-agent-benefit-modal__fields :is(input, select) { font-size: 16px !important; }
}

/* Motion-only refinement: retain the approved artwork, layout and palette. */
.public-page .license-home-visual__brand,
.public-page .license-home-visual__trace--one,
.public-page .license-home-visual__trace--two,
.public-page .observation-orbit__node,
.public-page .observation-orbit__core::after {
  animation: none !important;
}

.public-page .license-home-visual__pulse {
  animation: none !important;
  opacity: 0.12;
}

/* Preserve the ring silhouette. Light travels around it; the frame stays anchored. */
.public-page {
  --hm-ring-light: conic-gradient(from 0deg,
    transparent 0deg 150deg,
    rgba(141, 124, 255, .08) 210deg,
    rgba(141, 124, 255, .38) 265deg,
    rgba(173, 204, 255, .75) 305deg,
    rgba(240, 246, 255, .95) 318deg,
    rgba(111, 224, 233, .62) 332deg,
    transparent 350deg 360deg);
}

.public-page .license-home-visual__trace::before,
.public-page .license-home-visual__trace::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border: 0;
  border-radius: inherit;
  background: var(--hm-ring-light);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.public-page .license-home-visual__trace::before { filter: blur(2.5px); opacity: .6; }
.public-page .license-home-visual__trace--two::before { opacity: .25; }
.public-page .license-home-visual__trace--two::after { opacity: .72; }

.public-page .observation-orbit__ring--outer::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--hm-ring-light);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .8;
  pointer-events: none;
}

@keyframes hm-aura-glide {
  from { transform: translate3d(-1%, 0, 0) scale(.99); }
  to { transform: translate3d(1%, .5%, 0) scale(1.01); }
}

@media (prefers-reduced-motion: no-preference) {
  .public-page .license-home-visual__aura { animation: hm-aura-glide 20s ease-in-out infinite alternate; }
  .public-page .license-home-visual__trace--one::before,
  .public-page .license-home-visual__trace--one::after { animation: home-trace-spin 24s linear infinite; }
  .public-page .license-home-visual__trace--two::before,
  .public-page .license-home-visual__trace--two::after { animation: home-trace-spin 32s linear infinite reverse; }
  .public-page .observation-orbit__ring--outer { animation: observation-orbit-turn 24s linear infinite; }
  .public-page .observation-orbit__ring--inner { animation: observation-orbit-turn 32s linear infinite reverse; }
  .public-page .product-catalog-hero::after { animation-duration: 16s; animation-delay: -4s; }
  .public-page.observation-page--products .observation-hero::before { animation: product-catalog-aura-drift 16s -4s ease-in-out infinite alternate; }
  .public-page > main.route-enter { animation-duration: 220ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
}

@media (prefers-reduced-motion: reduce) {
  .public-page .license-home-visual__trace,
  .public-page .license-home-visual__trace::before,
  .public-page .license-home-visual__trace::after,
  .public-page .license-home-visual__aura,
  .public-page .observation-orbit__ring,
  .public-page .product-catalog-hero::after,
  .public-page.observation-page--products .observation-hero::before { animation: none !important; }
}
/* Wallet and manual balance operations — main-site only. */
.wallet-page-stack { gap: 22px; }

.wallet-balance-card {
  position: relative;
  display: grid;
  min-height: 286px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(143, 124, 255, .32);
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(22, 23, 40, .98), rgba(13, 16, 29, .98) 58%, rgba(14, 21, 38, .98)),
    #0e111c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .045);
  isolation: isolate;
}

.wallet-balance-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  content: "";
}

.wallet-balance-card__glow {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -90px;
  width: 520px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(84, 157, 255, .17), rgba(132, 105, 255, .11) 34%, transparent 69%);
  filter: blur(4px);
  transform: rotate(-12deg);
}

.wallet-balance-card__copy { max-width: 720px; }
.wallet-eyebrow { display: inline-flex; color: #a99aff; font-family: var(--font-mono); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.wallet-balance-card h2 { margin: 20px 0 5px; color: #aeb5c7; font-size: 14px; font-weight: 650; letter-spacing: .02em; }
.wallet-balance-value { display: flex; align-items: baseline; gap: 12px; color: #f6f7fb; font-size: clamp(46px, 6vw, 76px); font-weight: 720; letter-spacing: -.055em; line-height: 1; }
.wallet-balance-value small { color: #8f9ab2; font-size: 15px; font-weight: 750; letter-spacing: .08em; }
.wallet-balance-card__copy > p { max-width: 640px; margin: 20px 0 0; color: #9099ad; line-height: 1.75; }
.wallet-balance-card__actions { display: grid; min-width: 164px; gap: 10px; }

.wallet-policy {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(151, 159, 185, .14);
  color: #848da2;
  font-size: 12px;
}
.wallet-policy strong { color: #cbcfe0; }

.wallet-ledger-panel { overflow: hidden; }
.wallet-ledger-table td strong,
.wallet-admin-ledger td strong { display: block; color: #e3e6ef; }
.wallet-ledger-table td small,
.wallet-admin-ledger td small { display: block; margin-top: 5px; color: #727c93; }
.wallet-amount { font-family: var(--font-mono); font-weight: 750; white-space: nowrap; }
.wallet-amount.is-credit { color: #76c7ad; }
.wallet-amount.is-debit { color: #e58b9a; }

.wallet-checkout-note {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(143, 124, 255, .22);
  border-radius: 12px;
  background: rgba(126, 103, 244, .065);
  color: #8e97aa;
  font-size: 12px;
}
.wallet-checkout-note strong { color: #d5d8e4; }
.wallet-checkout-note.is-ready { border-color: rgba(103, 151, 238, .3); background: rgba(65, 112, 203, .08); }

.wallet-topup-modal,
.wallet-purchase-modal,
.wallet-adjustment-modal { width: min(600px, calc(100vw - 32px)); }
.modal.wallet-topup-modal,
.modal.wallet-purchase-modal,
.modal.wallet-adjustment-modal,
.modal.wallet-reversal-modal {
  border: 1px solid rgba(143, 124, 255, .34);
  background:
    radial-gradient(circle at 88% 0%, rgba(104, 137, 246, .11), transparent 36%),
    linear-gradient(145deg, #171827, #0f121d 58%, #0c1019);
  color: #e8eaf1;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .055);
  color-scheme: dark;
}
.modal.wallet-topup-modal h2,
.modal.wallet-purchase-modal h2,
.modal.wallet-adjustment-modal h2,
.modal.wallet-reversal-modal h2 { color: #f3f4f8; }
.modal.wallet-topup-modal > p,
.modal.wallet-purchase-modal > p,
.modal.wallet-adjustment-modal > p,
.modal.wallet-reversal-modal > p { color: #959eb2; line-height: 1.7; }
.modal.wallet-topup-modal .field label,
.modal.wallet-purchase-modal .field label,
.modal.wallet-reversal-modal .field label { color: #c8ccd8; }
.modal.wallet-topup-modal :is(input, select),
.modal.wallet-purchase-modal input,
.modal.wallet-reversal-modal textarea {
  min-height: 48px;
  border-color: rgba(151, 159, 185, .25);
  background: rgba(5, 8, 14, .66);
  color: #eef0f5;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}
.modal.wallet-reversal-modal textarea { min-height: 104px; }
.modal.wallet-topup-modal :is(input, select):focus,
.modal.wallet-purchase-modal input:focus,
.modal.wallet-reversal-modal textarea:focus {
  border-color: rgba(151, 133, 255, .78);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(126, 103, 244, .18);
}
.modal.wallet-topup-modal .primary-button,
.modal.wallet-purchase-modal .primary-button {
  border-color: rgba(183, 173, 255, .44);
  background: linear-gradient(135deg, #8d7cff, #6954dc);
  color: #fff;
  box-shadow: 0 12px 30px rgba(91, 70, 202, .23), inset 0 1px rgba(255, 255, 255, .17);
}
.modal.wallet-topup-modal .secondary-button,
.modal.wallet-purchase-modal .secondary-button,
.modal.wallet-adjustment-modal .secondary-button,
.modal.wallet-reversal-modal .secondary-button {
  border-color: rgba(151, 159, 185, .24);
  background: rgba(255, 255, 255, .035);
  color: #d7dae4;
}
.wallet-topup-modal .wallet-eyebrow,
.wallet-purchase-modal .wallet-eyebrow,
.sensitive-action-modal .wallet-eyebrow { margin-bottom: 12px; }
.wallet-topup-summary { display: flex; justify-content: space-between; margin: 16px 0; padding: 14px 0; border-block: 1px solid rgba(151, 159, 185, .14); color: #8992a5; }
.wallet-topup-summary strong { color: #f0f2f7; }
.wallet-purchase-review { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(140px, .55fr); gap: 10px; margin: 18px 0; }
.wallet-purchase-review > div { display: grid; gap: 7px; min-width: 0; padding: 14px; border: 1px solid rgba(143, 124, 255, .2); border-radius: 12px; background: rgba(126, 103, 244, .055); }
.wallet-purchase-review span { color: #7f889b; font-size: 11px; }
.wallet-purchase-review strong { overflow-wrap: anywhere; color: #edeef5; font-size: 13px; }
.wallet-adjustment-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.wallet-adjustment-review > div { display: grid; min-width: 0; gap: 7px; padding: 14px; border: 1px solid rgba(143, 124, 255, .2); border-radius: 12px; background: rgba(126, 103, 244, .055); }
.wallet-adjustment-review > .is-wide { grid-column: 1 / -1; }
.wallet-adjustment-review span { color: #858ea2; font-size: 11px; }
.wallet-adjustment-review strong { overflow-wrap: anywhere; color: #edeef5; font-size: 13px; }

.wallet-search-form { display: grid; grid-template-columns: minmax(260px, 520px) auto; align-items: end; gap: 12px; }
.admin-wallet-balance {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 24px;
  align-items: end;
  padding: 26px 30px;
  border: 1px solid rgba(143, 124, 255, .3);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(25, 25, 44, .98), rgba(13, 18, 32, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}
.admin-wallet-balance span { color: #8f99ae; font-family: var(--font-mono); font-size: 12px; }
.admin-wallet-balance h2 { margin: 7px 0 0; color: #dadde8; font-size: 15px; }
.admin-wallet-balance > strong { color: #f5f5fa; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.admin-wallet-balance > strong small { color: #919bad; font-size: 13px; letter-spacing: .08em; }
.admin-wallet-balance > p { grid-column: 1 / -1; margin: 9px 0 0; color: #747e92; font-size: 11px; }
.admin-wallet-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wallet-operation-form { display: grid; gap: 18px; }
.wallet-operation-form .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (prefers-reduced-motion: no-preference) {
  .wallet-balance-card__glow { animation: wallet-glow-drift 12s ease-in-out infinite alternate; }
}
@keyframes wallet-glow-drift {
  from { transform: translate3d(-12px, -5px, 0) rotate(-12deg) scale(.96); opacity: .78; }
  to { transform: translate3d(22px, 14px, 0) rotate(-4deg) scale(1.06); opacity: 1; }
}

@media (max-width: 900px) {
  .wallet-balance-card { grid-template-columns: 1fr; }
  .wallet-balance-card__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-wallet-forms { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wallet-balance-card { min-height: 0; padding: 25px 20px; border-radius: 18px; }
  .wallet-balance-value { font-size: 46px; }
  .wallet-balance-card__actions { grid-template-columns: 1fr; }
  .wallet-policy { grid-template-columns: 1fr; }
  .wallet-search-form { grid-template-columns: 1fr; }
  .admin-wallet-balance { grid-template-columns: 1fr; padding: 22px 20px; }
  .wallet-operation-form .field-grid,
  .wallet-purchase-review,
  .wallet-adjustment-review { grid-template-columns: 1fr; }
  .wallet-adjustment-review > .is-wide { grid-column: auto; }

  .wallet-ledger-panel .table-wrap { padding: 12px; overflow: visible; }
  .wallet-ledger-table,
  .wallet-ledger-table tbody,
  .wallet-ledger-table tr,
  .wallet-ledger-table td { display: block; width: 100%; min-width: 0; }
  .wallet-ledger-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .wallet-ledger-table tbody { display: grid; gap: 10px; }
  .wallet-ledger-table tr {
    padding: 14px 16px;
    border: 1px solid rgba(151, 159, 185, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .018);
  }
  .wallet-ledger-table td {
    display: grid;
    grid-template-columns: minmax(92px, .48fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(151, 159, 185, .11);
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .wallet-ledger-table td:last-child { border-bottom: 0; }
  .wallet-ledger-table td::before {
    content: attr(data-label);
    color: #7f8799;
    font-size: 11px;
    font-weight: 650;
    text-align: left;
  }
  .wallet-ledger-table td > :is(strong, small) { justify-self: end; }
  .wallet-ledger-table .empty-cell { display: block; text-align: center; }
  .wallet-ledger-table .empty-cell::before { display: none; }
}
