body[data-ad-page] {
  --ink: #142845;
  --muted: #536983;
  --blue: #245ce7;
  --blue-dark: #1b47c2;
  --line: #dbe5f2;
  --soft-blue: #eef4ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body[data-ad-page] > main { width: 100%; max-width: none; margin: 0; padding: 0; flex: 1; }
body[data-ad-page] main > .panel { width: min(100%, 1160px); margin: 30px auto; padding: 0 20px; }
body[data-ad-page] main > #mainStatus { width: min(calc(100% - 40px), 1120px); margin: 16px auto; }
body[data-ad-page="boot"] #ad-home { display: none; }
header.ad-header { display: block; padding: 0; background: white; border-bottom: 1px solid var(--line); }
.ad-header .header-inner {
  max-width: 1216px;
  padding: 0 32px;
  min-height: 74px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.ad-header .brand { width: 193px; margin-left: -12px; }
.ad-header .brand img { width: 100%; height: auto; display: block; }
.ad-header nav { width: auto; margin: 0; gap: 6px; }
.ad-header nav button {
  min-height: 43px;
  padding: 10px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #405673;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.ad-header nav button:hover, .ad-header nav button[aria-current] { background: var(--soft-blue); color: var(--blue-dark); }
.ad-header #login {
  justify-self: end;
  background: var(--soft-blue);
  color: #214ca8;
  border: 1px solid #d6e3fd;
  padding: 7px 13px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 650;
}
#ad-home { color: var(--ink); line-height: normal; }
#ad-home .wrap { max-width: 1216px; margin-inline: auto; padding-inline: 32px; }
#ad-home h1, #ad-home h2, #ad-home p { margin: 0; }
#ad-home h1 { letter-spacing: -.035em; }
#ad-home h2 { font-weight: 750; letter-spacing: -.025em; }
#ad-home a { color: inherit; text-decoration: none; }
#ad-home .hero { border-radius: 0; padding: 0; }
#ad-home .value { font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
#ad-home .dot-label::before { border-radius: 50%; background: var(--blue); display: inline-block; }
#ad-home .hero { background: #edf4ff; border-bottom: 1px solid #d8e6f6; }
#ad-home .hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(36px, 5.4vw, 86px); align-items: center; min-height: 525px; padding-block: 60px; }
#ad-home .product-name { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 760; color: #2454a8; margin-bottom: 18px; }
#ad-home .product-name span { width: 20px; height: 3px; border-radius: 2px; background: var(--blue); }
#ad-home .hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.17; font-weight: 800; }
#ad-home .hero h1 em { color: #2459d6; font-style: normal; }
#ad-home .hero-lede { color: #425b79; font-size: 18px; line-height: 1.85; margin-top: 22px; }
#ad-home .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#ad-home .button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; line-height: 1.3; font-weight: 680; font-size: 15px; text-align: center; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
#ad-home .hero-actions .button { min-height: 51px; padding-inline: 19px; }
#ad-home .primary { background: var(--blue); color: white; }
#ad-home .primary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 4px 9px #173d9a24; }
#ad-home .secondary { border-color: #c3d4ef; color: #25477f; background: white; }
#ad-home .secondary:hover { background: #f0f5ff; border-color: #92afdf; }
#ad-home .button.text { color: #4b5f7e; background: transparent; }
#ad-home .button.text:hover { background: #f0f4fb; }
#ad-home .hero-preview { padding: 24px 25px 17px; border: 1px solid #d3e1f4; border-radius: 15px; background: white; box-shadow: 0 17px 40px #204b9020, 0 2px 4px #204b900b; display: block; transition: transform .18s ease, box-shadow .18s ease; min-width: 0; }
#ad-home .hero-preview:hover { transform: translateY(-3px); box-shadow: 0 23px 43px #204b9027; }
#ad-home .preview-top, #ad-home .preview-chart-title, #ad-home .preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#ad-home .preview-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
#ad-home .preview-heading strong { display: block; font-size: 16px; }
#ad-home .preview-heading small { display: block; color: var(--muted); margin-top: 4px; font-size: 13px; }
#ad-home .preview-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto; color: var(--blue); background: #edf4ff; font-size: 24px; font-weight: 720; }
#ad-home .sample-tag { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 6px; color: #315386; background: #eff4fa; font-size: 12px; line-height: 1.2; font-weight: 670; padding: 6px 8px; white-space: nowrap; }
#ad-home .preview-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #e2eaf7; padding-block: 16px; margin-block: 19px 15px; }
#ad-home .preview-kpis > div { display: grid; gap: 5px; padding-inline: 13px; }
#ad-home .preview-kpis > div:first-child { padding-left: 0; }
#ad-home .preview-kpis > div + div { border-left: 1px solid #e2eaf7; }
#ad-home .preview-kpis .value { font-size: clamp(18px, 2.1vw, 27px); font-weight: 780; }
#ad-home .preview-kpis .label, #ad-home .preview-chart-title, #ad-home .preview-foot { font-size: 13px; color: var(--muted); }
#ad-home .preview-chart-title > span:first-child { font-weight: 690; color: #334f78; }
#ad-home .dot-label { display: flex; gap: 6px; align-items: center; font-size: 12px; }
#ad-home .dot-label::before { content: ""; width: 6px; height: 6px; }
#ad-home .preview-chart { height: 142px; margin-top: 7px; }
#ad-home canvas { display: block; width: 100%; height: 100%; }
#ad-home .preview-foot { padding-top: 13px; border-top: 1px solid #e5edf8; margin-top: 4px; }
#ad-home .preview-foot span:last-child { color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
#ad-home .home-details { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-block: 34px 37px; }
#ad-home .home-path + .home-path { border-left: 1px solid var(--line); padding-left: 33px; }
#ad-home .home-path h2 { font-size: 19px; margin-bottom: 6px; }
#ad-home .home-path p { color: var(--muted); line-height: 1.65; font-size: 15px; }
#ad-home .home-path a { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; min-height: 30px; color: var(--blue-dark); font-weight: 700; font-size: 14px; }
#ad-home .home-path a:hover { text-decoration: underline; }

.ad-footer { border-top: 1px solid var(--line); color: var(--muted); background: white; padding: 0; font-size: 12px; text-align: left; }
.ad-footer > div { max-width: 1216px; margin: auto; padding-inline: 32px; min-height: 65px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ad-footer a { color: inherit; text-decoration: none; }
.ad-footer a:hover { text-decoration: underline; }
main .back-link { display: inline-flex; align-items: center; min-height: 32px; color: #365789; font-size: 14px; font-weight: 650; margin-bottom: 11px; text-decoration: none; }
main .back-link:hover { text-decoration: underline; }
@media (max-width: 950px) {
  #ad-home .hero-grid { gap: 29px; min-height: 475px; padding-block: 44px; }
#ad-home .hero h1 { font-size: clamp(37px,5.6vw,56px); }
#ad-home .hero-preview { padding-inline: 17px; }
#ad-home .hero-lede { font-size: 16px; }
#ad-home .preview-kpis > div { padding-inline: 9px; }
}
@media (max-width: 715px) {
  .ad-header .header-inner { padding: 4px 21px 8px; grid-template-columns: 1fr auto; gap: 2px 15px; min-height: 0; }
  .ad-header .brand { width: 170px; }
  .ad-header nav { grid-row: 2; grid-column: 1 / -1; gap: 8px; }
  .ad-header nav button { flex: none; padding: 7px 12px; font-size: 14px; min-height: 37px; }
  .ad-footer > div { padding-inline: 21px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 70px; }
  body[data-ad-page] main > .panel { margin-block: 20px; }
  #ad-home .wrap { padding-inline: 21px; }
  #ad-home .hero-grid { grid-template-columns: 1fr; padding-block: 33px 28px; gap: 27px; }
#ad-home .hero h1 { font-size: clamp(34px, 8.25vw, 54px); }
#ad-home .product-name { margin-bottom: 13px; font-size: 14px; }
#ad-home .hero-lede { margin-top: 16px; }
#ad-home .hero-actions { margin-top: 20px; gap: 8px; }
#ad-home .hero-actions .button { padding-inline: 11px; min-height: 46px; font-size: 14px; gap: 6px; }
#ad-home .hero-preview { padding: 16px 15px 12px; }
#ad-home .preview-kpis .value { font-size: clamp(18px,5.3vw,26px); }
#ad-home .preview-chart { height: 124px; }
#ad-home .home-details { padding-block: 24px; gap: 18px; grid-template-columns: 1fr; }
#ad-home .home-path + .home-path { padding: 17px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 390px) {
  .ad-header .header-inner, .ad-footer > div, #ad-home .wrap { padding-inline: 15px; }
  #ad-home .preview-kpis .label { font-size: 12px; }
#ad-home .preview-heading small { font-size: 12px; }
}

.bc-onboarding { max-width: 780px; }
.bc-onboarding ol { margin: 0 0 20px; padding-inline-start: 23px; }
.bc-onboarding li { padding-inline-start: 5px; }
.bc-onboarding li + li { margin-top: 12px; }
.bc-onboarding li::marker { color: var(--blue-dark); font-weight: 700; }
.bc-onboarding li p { margin: 2px 0 0; }
.bc-onboarding .bc-actions { margin-block: 17px 12px; }
.bc-onboarding .bc-register { margin-bottom: 0; font-size: 14px; }
.bc-onboarding .note { margin: 5px 0 0; padding: 0; }
.bc-assistance { max-width: 780px; }
.bc-assistance > summary { padding: 0; font-weight: 600; }
.bc-assistance #application { margin-top: 16px; }
.bc-assistance #application select { display: block; width: 100%; margin-top: 5px; }

.bc-select { width: min(100%, 420px); margin-block: 15px 5px; }
#accountList h2 { margin: 0; }
.shop-select { position: relative; }
.shop-select > summary { border: 1px solid #d8e1ee; border-radius: 8px; background: #fff; color: #172d4d; padding: 10px; }
.shop-options { border: 1px solid #d8e1ee; border-radius: 8px; position: absolute; inset: auto auto auto 0; z-index: 3; margin-top: 4px; padding: 5px 12px; background: #fff; box-shadow: 0 8px 24px #172d4d19; width: max(100%, 252px); max-height: 290px; overflow: auto; }
.shop-options fieldset { margin: 0; padding: 0; border: 0; }
.shop-options .check { margin: 0; padding-block: 6px; min-height: 44px; align-items: center; overflow-wrap: anywhere; line-height: 1.35; }
.shop-options .shop-market { display: block; margin-top: 3px; color: #3d5881; font-size: 13px; }
.shop-options .check input { margin: 0; flex-shrink: 0; width: 16px; height: 16px; }
.shop-options .meta { font-size: 13px; margin: 7px 0; }

#accountList th:first-child, #accountList td:first-child { white-space: normal; overflow-wrap: anywhere; }
#accountList td:first-child small { display: block; }
#accountList th:last-child, #accountList td:last-child { width: 1%; }
#accountList td button { padding: 8px 10px; }
.account-scope button { text-align: left; overflow-wrap: anywhere; min-height: 46px; }
@media (max-width: 715px) {
 .shop-options { position: static; width: 100%; }
}

.nova-intro {
  background: #e8f1fd;
  border: 1px solid #d9e7f8;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 40px);
  color: #163459;
}
.nova-profile { display: flex; align-items: center; gap: 18px; }
.nova-profile strong { display: block; color: #173659; font-size: clamp(23px, 3vw, 32px); line-height: 1.2; }
.nova-profile p { margin: 4px 0 0; color: #465f80; font-size: 15px; }
.nova-avatar { width: 88px; aspect-ratio: 1; border-radius: 22px; background: #dbe9fc; flex: 0 0 auto; display: grid; place-items: center; position: relative; }
.nova-antenna { position: absolute; top: 18%; width: 3px; height: 14%; border-radius: 3px; background: #2373d2; }
.nova-antenna::before { position: absolute; content: ""; width: 9px; height: 9px; top: -4px; left: -3px; border-radius: 50%; background: #23b59e; }
.nova-robot { width: 54%; height: 51%; margin-top: 9%; position: relative; display: grid; place-items: center; border-radius: 40% 40% 45% 45%; background: linear-gradient(155deg, #2369d9 12%, #21adbb 91%); }
.nova-robot::before, .nova-robot::after { content: ""; position: absolute; width: 12%; height: 33%; top: 40%; border-radius: 5px; background: #2463e9; }
.nova-robot::before { left: -12%; }
.nova-robot::after { right: -12%; }
.nova-face { width: 74%; height: 52%; margin-top: 8%; border-radius: 45% 45% 42% 42%; position: relative; background: #f4f9ff; }
.nova-face::before { content: ""; position: absolute; width: 16%; height: 34%; top: 24%; left: 23%; border-radius: 50%; background: #133453; box-shadow: 13px 0 #133453; }
.nova-face::after { content: ""; position: absolute; width: 24%; height: 21%; bottom: 12%; left: 38%; border-bottom: 2px solid #133453; border-radius: 50%; }
.nova-intro h1 { color: #142e50; margin: 21px 0 7px; font-size: clamp(29px, 4vw, 47px); line-height: 1.2; letter-spacing: -.027em; }
.nova-welcome { margin: 0; color: #2459d9; font-size: clamp(19px, 2.65vw, 34px); font-weight: 730; line-height: 1.35; }
.nova-intro-copy { color: #485f7f; margin: 15px 0 20px; }
.nova-hero-actions { gap: 9px; }
.nova-hero-actions .primary, .nova-secondary { min-height: 47px; font-weight: 650; }
.nova-secondary { display: inline-flex; align-items: center; border: 1px solid #a9c5f4; border-radius: 8px; padding: 9px 14px; background: #fff; text-decoration: none; }
.nova-secondary:hover { background: #f2f7ff; }
.nova-no-account { margin: 13px 0 14px; font-size: 14px; }
.nova-no-account a { font-weight: 670; text-decoration: none; }
.nova-no-account a:hover { text-decoration: underline; }
.nova-example { margin-top: 17px; padding: clamp(16px, 2vw, 25px); background: #fff; border-radius: 15px; border: 1px solid #ecf1f9; }
.nova-example h2, .nova-workspace-heading h2 { margin: 0; line-height: 1.3; }
.nova-example p { margin: 13px 0 0; color: #314861; }
.nova-spark { color: #245de7; display: inline-block; margin-right: 3px; }
.nova-example-question { border-radius: 9px; padding: 12px 15px; background: #edf3fc; }
.nova-outcomes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 14px 0 0; }
.nova-outcomes div { display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; gap: 3px; padding: 10px 4px; background: #f3f6fb; border-radius: 9px; }
.nova-outcomes dt { font-size: 13px; text-align: center; }
.nova-outcomes dd { margin: 0; font-size: clamp(25px, 3vw, 35px); line-height: 1.12; font-weight: 750; color: #526580; }
.nova-outcomes div:first-child dd { color: #b82732; }
.nova-outcomes div:last-child dd { color: #087954; }
.nova-connected { padding: 18px 23px; }
.nova-connected .nova-avatar { width: 68px; border-radius: 16px; }
.nova-connected .nova-face::before { box-shadow: 10px 0 #133453; }
.nova-connected .nova-welcome { display: none; }
.nova-connected h1 { margin-top: 10px; font-size: clamp(26px, 3.1vw, 36px); }
.nova-connected .nova-intro-copy { margin: 6px 0 0; font-size: 14px; }
.nova-workspace-heading { margin-top: 23px; }
.nova-task-card .nova-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.nova-prompts button { min-height: 47px; color: #203a5d; font-weight: 650; text-align: left; }
.nova-prompts button:hover { background: #edf4ff; border-color: #9bb9f1; }
.nova-prompt-actions { justify-content: flex-end; margin-top: 9px; }
#novaPromptStatus { margin: 7px 0 0; text-align: right; }
@media (max-width: 480px) {
 .nova-avatar { width: 72px; border-radius: 16px; }
 .nova-face::before { box-shadow: 10px 0 #133453; }
 .nova-hero-actions > * { justify-content: center; }
 .nova-example h2 { font-size: 18px; }
 .nova-task-card .nova-prompts { gap: 6px; }
 .nova-prompts button { padding-inline: 8px; }
}
