:root {
  --circle-yellow: #ffd91c;
  --circle-yellow-soft: #fff9d8;
  --circle-ink: #111318;
  --circle-muted: #6f7889;
  --circle-line: #e3e7ed;
  --circle-page: #f3f5f7;
  --circle-surface: #ffffff;
  --circle-green: #079447;
  --circle-red: #b95c5c;
  --circle-radius: 7px;
}

.carrot-announcement { display: none; }
.carrot-announcement[hidden] { display: none !important; }

body {
  min-width: 320px;
  background: var(--circle-page) !important;
  color: var(--circle-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 217, 28, .55);
  outline-offset: 2px;
}

.journeyTopbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 66px;
  border-bottom: 1px solid var(--circle-line);
  background: rgba(255, 255, 255, .98);
}

.journeyTopbarShell {
  width: min(1760px, calc(100% - 40px));
  min-height: 66px;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  margin: 0 auto;
}

.journeyBrand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.journeyBrandMark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--circle-radius);
  background: var(--circle-yellow);
  font-size: 16px;
  font-weight: 800;
}

.journeyBrand strong { display: block; }

.journeyBrand strong {
  font-size: 15px;
}

.journeyCurrent {
  justify-self: center;
  font-size: 14px;
}

.journeyActions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.journeyLiveBadge {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid var(--circle-line);
  border-radius: 20px;
  background: #fafbfc;
  color: #4e5868;
  font-size: 11px;
  font-weight: 600;
}

.journeyLiveBadge i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #13ae62;
}

.journeyMenu {
  position: relative;
}

.journeyMenu summary {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--circle-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.journeyMenu summary::-webkit-details-marker { display: none; }
.journeyMenu summary span { width: 17px; height: 2px; border-radius: 2px; background: var(--circle-ink); }
.journeyMenu[open] summary { background: var(--circle-yellow); border-color: #d2b100; }
.journeyMenu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  overflow: hidden;
  border: 1px solid var(--circle-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 19, 24, .16);
}
.journeyMenu nav a {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  color: var(--circle-ink);
  text-decoration: none;
}
.journeyMenu nav a + a { border-top: 1px solid var(--circle-line); }
.journeyMenu nav a:hover { background: #f6f7f8; }
.journeyMenu nav strong { font-size: 13px; }
.journeyMenu nav small { color: var(--circle-muted); font-size: 10px; line-height: 1.4; }

.shell {
  width: min(1760px, calc(100% - 40px)) !important;
  max-width: 1760px !important;
  margin: 0 auto !important;
  padding: 0 0 52px !important;
}

.analyticsSubnav {
  position: sticky !important;
  top: 67px !important;
  z-index: 25 !important;
  min-height: 58px;
  display: grid !important;
  grid-template-columns: 178px minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--circle-line) !important;
  border-radius: 0 !important;
  background: rgba(243, 245, 247, .97) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.analyticsSubnavLabel {
  display: grid;
  gap: 2px;
}

.analyticsSubnavLabel small {
  color: #8a7500;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.analyticsSubnavLabel strong {
  font-size: 13px;
}

.analyticsSubnav .navTabs {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  gap: 2px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--circle-line);
  border-radius: var(--circle-radius);
  background: var(--circle-surface);
  scrollbar-width: thin;
}

.analyticsSubnav .nav,
.analyticsSubnav .analyticsNavLink {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: var(--circle-muted) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.analyticsSubnav .nav:hover,
.analyticsSubnav .analyticsNavLink:hover {
  color: var(--circle-ink) !important;
  background: #f4f5f7 !important;
}

.analyticsSubnav .nav.active {
  color: var(--circle-ink) !important;
  background: var(--circle-yellow) !important;
  box-shadow: none !important;
}

.analyticsSubnav .wallet {
  max-width: 150px;
  overflow: hidden;
  padding: 8px 10px !important;
  border: 1px solid var(--circle-line) !important;
  border-radius: 18px !important;
  background: #fafbfc !important;
  color: #4e5868 !important;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brokerWork,
body[data-view="positions"] .brokerWork,
body[data-view="startingCapital"] .brokerWork,
body[data-view="financialPlan"] .brokerWork,
body[data-view="notifications"] .brokerWork {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.brokerSidebar,
body[data-view="positions"] .brokerSidebar {
  display: none !important;
}

.brokerMain {
  width: 100%;
  min-width: 0;
  padding: 0 0 32px;
}

.debankHero {
  margin: 20px 0 16px !important;
  padding: 18px !important;
  border: 1px solid var(--circle-line) !important;
  border-radius: var(--circle-radius) !important;
  background: var(--circle-surface) !important;
  box-shadow: none !important;
}

.heroCenter {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(480px, 1.28fr);
  align-items: center;
  column-gap: 28px;
}

.heroCenter h1 {
  grid-column: 1;
  margin: 0 0 7px !important;
  font-size: clamp(25px, 2.3vw, 36px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

.heroCenter > p {
  grid-column: 1;
  margin: 0 !important;
  color: var(--circle-muted) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

.debankSearch {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: none !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 6px 6px 6px 16px !important;
  border: 1px solid var(--circle-line) !important;
  border-radius: var(--circle-radius) !important;
  background: #fafbfc !important;
  box-shadow: none !important;
}

.debankSearch input {
  font-size: 14px !important;
}

.debankSearch .primary {
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 5px !important;
  background: var(--circle-ink) !important;
}

.heroActions,
.personaBar,
.walletBook,
.brokerSummaryBanner {
  grid-column: 1 / -1;
}

.heroActions {
  justify-content: flex-start !important;
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--circle-line);
}

.heroActions .ghost,
.chipBtn,
.ghost {
  border-radius: 5px !important;
  box-shadow: none !important;
}

.brokerSummaryBanner {
  min-height: 96px;
  margin-top: 16px;
  padding: 20px 24px !important;
  border: 1px solid #e0bd00 !important;
  border-radius: var(--circle-radius) !important;
  background: linear-gradient(90deg, var(--circle-yellow), #fff0a0) !important;
  box-shadow: none !important;
}

.brokerSummaryBanner strong {
  width: 56px;
  height: 56px;
  border-width: 6px;
  font-size: 27px;
}

.quickActions {
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}

.primary,
.ghost,
.chipBtn,
.miniBtn {
  border-radius: 5px !important;
  box-shadow: none !important;
}

.primary {
  background: var(--circle-ink) !important;
}

.panel,
.metric,
.state,
.notice,
.debankPanel,
.tablePanel {
  border-color: var(--circle-line) !important;
  border-radius: var(--circle-radius) !important;
  background: var(--circle-surface) !important;
  box-shadow: none !important;
}

.metric.main {
  background: var(--circle-ink) !important;
}

.metric.warm,
.metric.score,
.advisorPanel {
  background: var(--circle-surface) !important;
}

.panelHead h2 {
  font-size: 17px;
}

.protocolCard,
.hint,
.protocolDetail,
.opSummary div,
.advisorStats div,
.step,
.rateCards div,
.callout,
.resultMain,
.resultSide div {
  border-radius: 5px !important;
  box-shadow: none !important;
}

.protocolCard:hover {
  transform: none;
  border-color: #d9bd22;
  background: #fffdf0;
}

.seg,
.toolbar input,
.inputBox input,
.inputBox select {
  border-radius: 5px !important;
}

.seg button {
  border-radius: 4px !important;
}

.seg button.active {
  color: var(--circle-ink) !important;
  background: var(--circle-yellow) !important;
  box-shadow: none !important;
}

.analyticsDisclaimer {
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px solid var(--circle-line);
  background: var(--circle-surface);
  color: var(--circle-muted);
  font-size: 10px;
  line-height: 1.5;
}

.analyticsDisclaimer strong {
  color: var(--circle-ink);
}

@media (max-width: 1100px) {
  .journeyTopbarShell {
    grid-template-columns: 220px 1fr auto;
  }

  .analyticsSubnav {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .analyticsSubnav .wallet {
    display: none;
  }

  .heroCenter {
    grid-template-columns: 1fr;
  }

  .heroCenter h1,
  .heroCenter > p,
  .debankSearch {
    grid-column: 1;
    grid-row: auto;
  }

  .heroCenter > p {
    margin-bottom: 14px !important;
  }
}

@media (max-width: 720px) {
  .journeyTopbarShell {
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding: 10px 0;
  }

  .journeyNav {
    order: 3;
    grid-column: 1 / -1;
    height: 38px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
  }

  .journeyCurrent { display: none; }

  .journeyLiveBadge {
    padding: 8px;
    font-size: 0;
  }

  .journeyLiveBadge i {
    margin: 0;
  }

  .shell {
    width: calc(100% - 20px) !important;
  }

  .analyticsSubnav {
    top: 92px !important;
    grid-template-columns: 1fr;
    gap: 7px !important;
    padding: 9px 0 !important;
  }

  .analyticsSubnavLabel {
    display: none;
  }

  .analyticsSubnav .navTabs {
    width: 100%;
  }

  .debankHero {
    margin-top: 12px !important;
    padding: 14px !important;
  }

  .debankSearch {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    height: auto !important;
    padding: 10px !important;
  }

  .debankSearch .primary {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .brokerSummaryBanner {
    padding: 16px !important;
  }

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

  .quickActions > * {
    width: 100%;
  }
}

/* Version 2 Carrot journey — opt-in through ?design=carrot. */
html[data-design="carrot"] {
  --circle-yellow: #d0ff37;
  --circle-yellow-soft: #f2ffc7;
  --circle-ink: #171717;
  --circle-muted: #626662;
  --circle-line: #d9dcd7;
  --circle-page: #fbfbf7;
  --circle-surface: #fff;
  --circle-green: #00a958;
  --circle-red: #a9342a;
  --circle-radius: 16px;
  --bg: #fbfbf7;
  --paper: #fff;
  --paper2: #f7f8f5;
  --line: #d9dcd7;
  --line2: #bfc3be;
  --text: #171717;
  --muted: #626662;
  --dim: #8b8f8b;
  --blue: #7b36ff;
  --cyan: #00bf63;
  --green: #00a958;
  --red: #a9342a;
  --amber: #fc7c01;
  --violet: #7b36ff;
  --shadow: none;
  --radius: 16px;
  --carrot-green: #00bf63;
  --carrot-orange: #fc7c01;
  --carrot-lilac: #a7a7ff;
  --carrot-purple: #7b36ff;
}
html[data-design="carrot"] body {
  background:
    radial-gradient(circle at 4% 18%, rgba(167, 167, 255, .10), transparent 20rem),
    radial-gradient(circle at 96% 31%, rgba(0, 191, 99, .07), transparent 22rem),
    var(--circle-page) !important;
  color: var(--circle-ink);
  font-family: "Golos Text", Inter, sans-serif !important;
}
html[data-design="carrot"] .carrot-announcement {
  min-height: 42px;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--carrot-green);
  color: #111;
  font-size: 12px;
}
html[data-design="carrot"] .carrot-announcement strong { font-weight: 800; }
html[data-design="carrot"] .carrot-announcement span { font-weight: 600; }
html[data-design="carrot"] .carrot-announcement i { margin-left: 5px; font-style: normal; }
html[data-design="carrot"] button:focus-visible,
html[data-design="carrot"] a:focus-visible,
html[data-design="carrot"] input:focus-visible,
html[data-design="carrot"] select:focus-visible {
  outline: 3px solid rgba(123, 54, 255, .28);
  outline-offset: 3px;
}
html[data-design="carrot"] .journeyTopbar {
  min-height: 76px;
  border-bottom: 1.5px solid var(--circle-ink);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
html[data-design="carrot"] .journeyTopbarShell {
  width: min(1600px, calc(100% - 48px));
  min-height: 76px;
  grid-template-columns: 280px 1fr auto;
}
html[data-design="carrot"] .journeyBrandMark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--circle-ink);
  border-radius: 50%;
  background: var(--circle-yellow);
  box-shadow: 3px 3px 0 var(--circle-ink);
  color: var(--circle-ink);
}
html[data-design="carrot"] .journeyBrand strong { font-size: 15px; letter-spacing: -.02em; }
html[data-design="carrot"] .journeyCurrent { font-size: 15px; }
html[data-design="carrot"] .journeyMenu summary { border: 1.5px solid var(--circle-ink); }
html[data-design="carrot"] .journeyMenu[open] summary { box-shadow: 2px 2px 0 var(--circle-ink); }
html[data-design="carrot"] .journeyMenu nav { border: 1.5px solid var(--circle-ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--carrot-lilac); }
html[data-design="carrot"] .journeyNav {
  position: relative;
  align-items: center;
  gap: 48px;
}
html[data-design="carrot"] .journeyNav::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1.5px;
  z-index: -1;
  background: var(--circle-ink);
}
html[data-design="carrot"] .journeyNav a {
  display: flex;
  gap: 7px;
  background: #fff;
  color: #727672;
  font-size: 11px;
  font-weight: 700;
}
html[data-design="carrot"] .journeyNav a::before {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--circle-ink);
  border-radius: 50%;
  background: #fff;
  color: var(--circle-ink);
  font-size: 9px;
}
html[data-design="carrot"] .journeyNav a:nth-child(1)::before { content: "1"; }
html[data-design="carrot"] .journeyNav a:nth-child(2)::before { content: "2"; }
html[data-design="carrot"] .journeyNav a:nth-child(3)::before { content: "3"; }
html[data-design="carrot"] .journeyNav a:nth-child(4)::before { content: "4"; }
html[data-design="carrot"] .journeyNav a.active { color: var(--circle-ink); }
html[data-design="carrot"] .journeyNav a.active::before {
  background: var(--circle-yellow);
  box-shadow: 2px 2px 0 var(--circle-ink);
}
html[data-design="carrot"] .journeyNav a.active::after { display: none; }
html[data-design="carrot"] .journeyLiveBadge {
  border: 1.5px solid var(--circle-ink);
  background: #fff;
  color: var(--circle-ink);
}
html[data-design="carrot"] .journeyLiveBadge i { background: var(--carrot-green); }
html[data-design="carrot"] .shell {
  width: min(1600px, calc(100% - 48px)) !important;
}
html[data-design="carrot"] .analyticsSubnav {
  top: 77px !important;
  min-height: 66px;
  border-bottom: 1.5px solid var(--circle-ink) !important;
  background: rgba(251, 251, 247, .96) !important;
}
html[data-design="carrot"] .analyticsSubnavLabel small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0e3;
  color: #ad4f00;
}
html[data-design="carrot"] .analyticsSubnavLabel strong { margin-top: 3px; font-size: 14px; }
html[data-design="carrot"] .analyticsSubnav .navTabs {
  gap: 3px;
  padding: 5px;
  border: 1.5px solid var(--circle-ink);
  border-radius: 999px;
  background: #fff;
}
html[data-design="carrot"] .analyticsSubnav .nav,
html[data-design="carrot"] .analyticsSubnav .analyticsNavLink {
  min-height: 36px;
  padding: 0 13px !important;
  border-radius: 999px !important;
  color: #666a66 !important;
}
html[data-design="carrot"] .analyticsSubnav .nav:hover,
html[data-design="carrot"] .analyticsSubnav .analyticsNavLink:hover {
  background: #eef0eb !important;
  color: var(--circle-ink) !important;
}
html[data-design="carrot"] .analyticsSubnav .nav.active {
  background: var(--circle-yellow) !important;
  color: var(--circle-ink) !important;
}
html[data-design="carrot"] .analyticsSubnav .wallet {
  border: 1.5px solid var(--circle-ink) !important;
  background: #fff !important;
  color: var(--circle-ink) !important;
}
html[data-design="carrot"] .debankHero {
  margin-top: 24px !important;
  padding: 28px !important;
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 7px 7px 0 #dff2e3 !important;
}
html[data-design="carrot"] .heroBadge {
  width: fit-content;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: #fff0e3;
  color: #ad4f00;
  font-size: 9px;
}
html[data-design="carrot"] .heroBadge::before { background: var(--carrot-orange); box-shadow: none; }
html[data-design="carrot"] .heroCenter h1 {
  color: var(--circle-ink) !important;
  font-size: clamp(34px, 3.5vw, 50px) !important;
  font-weight: 700;
  letter-spacing: -.05em !important;
}
html[data-design="carrot"] .heroCenter > p {
  color: var(--circle-muted) !important;
  font-size: 13px !important;
}
html[data-design="carrot"] .debankSearch {
  height: 58px !important;
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 4px 4px 0 var(--carrot-lilac) !important;
}
html[data-design="carrot"] .debankSearch .primary,
html[data-design="carrot"] .primary {
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 999px !important;
  background: var(--circle-ink) !important;
  color: #fff !important;
  box-shadow: 3px 3px 0 var(--circle-yellow) !important;
}
html[data-design="carrot"] .debankSearch .primary:hover,
html[data-design="carrot"] .primary:hover {
  background: var(--carrot-purple) !important;
  box-shadow: 3px 3px 0 var(--circle-ink) !important;
}
html[data-design="carrot"] .ghost,
html[data-design="carrot"] .chipBtn,
html[data-design="carrot"] .miniBtn,
html[data-design="carrot"] .heroActions .ghost {
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--circle-ink) !important;
}
html[data-design="carrot"] .brokerSummaryBanner {
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 16px !important;
  background: var(--circle-yellow-soft) !important;
}
html[data-design="carrot"] .panel,
html[data-design="carrot"] .metric,
html[data-design="carrot"] .state,
html[data-design="carrot"] .notice,
html[data-design="carrot"] .debankPanel,
html[data-design="carrot"] .tablePanel,
html[data-design="carrot"] .protocolDetail,
html[data-design="carrot"] .opSummary div,
html[data-design="carrot"] .checkpointPanel,
html[data-design="carrot"] .planSettingsPanel,
html[data-design="carrot"] .planScenarioSettings {
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 4px 4px 0 #eceeea !important;
}
html[data-design="carrot"] .metric {
  min-height: 108px;
  padding: 18px;
}
html[data-design="carrot"] .metric.main {
  background: var(--circle-yellow) !important;
  color: var(--circle-ink) !important;
  box-shadow: 4px 4px 0 var(--circle-ink) !important;
}
html[data-design="carrot"] .metric.main span,
html[data-design="carrot"] .metric.main em { color: #4d590d !important; }
html[data-design="carrot"] .metric.warm { background: #fff0e3 !important; }
html[data-design="carrot"] .metric.score { background: #ededff !important; }
html[data-design="carrot"] .panelHead { padding-bottom: 12px; border-bottom: 1px solid var(--circle-line); }
html[data-design="carrot"] .panelHead h2 {
  color: var(--circle-ink);
  font-size: 19px;
  letter-spacing: -.035em;
}
html[data-design="carrot"] .protocolCard,
html[data-design="carrot"] .hint,
html[data-design="carrot"] .advisorStats div,
html[data-design="carrot"] .step,
html[data-design="carrot"] .rateCards div,
html[data-design="carrot"] .callout,
html[data-design="carrot"] .resultMain,
html[data-design="carrot"] .resultSide div,
html[data-design="carrot"] .inputBox input,
html[data-design="carrot"] .inputBox select {
  border: 1.5px solid var(--circle-ink) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}
html[data-design="carrot"] .protocolCard:hover {
  border-color: var(--circle-ink);
  background: var(--circle-yellow-soft) !important;
  box-shadow: 3px 3px 0 var(--circle-ink) !important;
  transform: translate(-1px, -1px);
}
html[data-design="carrot"] .seg {
  border: 1.5px solid var(--circle-ink);
  border-radius: 999px !important;
  background: #fff;
}
html[data-design="carrot"] .seg button { border-radius: 999px !important; }
html[data-design="carrot"] .seg button.active {
  background: var(--circle-yellow) !important;
  color: var(--circle-ink) !important;
}
html[data-design="carrot"] .dbTableHead,
html[data-design="carrot"] .capitalMonthHead,
html[data-design="carrot"] .capitalPositionHead,
html[data-design="carrot"] .checkpointHeader { background: #f7f8f5; }
html[data-design="carrot"] .dbRow:hover,
html[data-design="carrot"] .checkpointRow:hover { background: var(--circle-yellow-soft); }
html[data-design="carrot"] .capitalKpis,
html[data-design="carrot"] .checkpointKpis,
html[data-design="carrot"] .capitalEquation,
html[data-design="carrot"] .planScenarioResults,
html[data-design="carrot"] .planHorizonBar {
  border: 1.5px solid var(--circle-ink);
  border-radius: 16px;
  box-shadow: none;
}
html[data-design="carrot"] .capitalKpi.main,
html[data-design="carrot"] .capitalEquation .result {
  background: var(--circle-ink);
}
html[data-design="carrot"] .capitalKpi.important,
html[data-design="carrot"] .checkpointKpis .important,
html[data-design="carrot"] .planScenarioResult.base,
html[data-design="carrot"] .checkpointMonth.current {
  background: var(--circle-yellow-soft);
  box-shadow: inset 0 4px 0 var(--circle-yellow);
}
html[data-design="carrot"] .planHorizon button.active {
  background: var(--circle-yellow);
  color: var(--circle-ink);
}
html[data-design="carrot"] .capitalQuality {
  border: 1.5px solid var(--circle-ink);
  border-left: 7px solid var(--carrot-orange);
  border-radius: 14px;
  background: #fff0e3;
}
html[data-design="carrot"] .capitalQuality.good {
  border-color: var(--circle-ink);
  border-left-color: var(--carrot-green);
  background: #e5f9eb;
}
html[data-design="carrot"] .analyticsDisclaimer {
  border: 1.5px solid var(--circle-ink);
  border-radius: 14px;
  background: #fff;
}
html[data-design="carrot"] button,
html[data-design="carrot"] a {
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}
html[data-design="carrot"] button:active { transform: scale(.97); }

@media (max-width: 1100px) {
  html[data-design="carrot"] .journeyTopbarShell {
    width: min(100% - 32px, 1600px);
    grid-template-columns: 220px 1fr auto;
  }
  html[data-design="carrot"] .analyticsSubnav { grid-template-columns: 145px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  html[data-design="carrot"] .carrot-announcement {
    min-height: 38px;
    padding: 8px 14px;
    justify-content: space-between;
    font-size: 10px;
  }
  html[data-design="carrot"] .carrot-announcement strong { display: none; }
  html[data-design="carrot"] .carrot-announcement span { margin: 0 auto; text-align: center; }
  html[data-design="carrot"] .journeyTopbar { min-height: 102px; }
  html[data-design="carrot"] .journeyTopbarShell {
    width: calc(100% - 24px);
    min-height: 70px;
  }
  html[data-design="carrot"] .journeyTopbar { min-height: 70px; }
  html[data-design="carrot"] .journeyCurrent { display: none; }
  html[data-design="carrot"] .shell { width: calc(100% - 24px) !important; }
  html[data-design="carrot"] .analyticsSubnav {
    top: 71px !important;
    padding: 9px 0 !important;
  }
  html[data-design="carrot"] .debankHero { padding: 20px !important; }
  html[data-design="carrot"] .heroCenter h1 { font-size: 34px !important; }
  html[data-design="carrot"] .debankSearch {
    height: auto !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px !important;
    border-radius: 16px !important;
    box-shadow: 4px 4px 0 var(--carrot-lilac) !important;
  }
  html[data-design="carrot"] .debankSearch .primary {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  html[data-design="carrot"] .journeyBrand strong { font-size: 13px; }
  html[data-design="carrot"] .debankHero { padding: 17px !important; }
  html[data-design="carrot"] .heroCenter h1 { font-size: 31px !important; }
}
