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

* { box-sizing: border-box; }
.carrot-announcement { display: none; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, Arial, sans-serif; letter-spacing: 0; }
button, input, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar { min-height: 66px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.topbar-shell { width: min(1760px, calc(100% - 40px)); min-height: 66px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr auto; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; width: max-content; }
.brand-mark { width: 32px; height: 32px; border-radius: 7px; background: var(--yellow); display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.topnav { display: flex; justify-content: center; height: 100%; gap: 30px; }
.topnav a { display: grid; place-items: center; position: relative; color: #646d7c; text-decoration: none; font-size: 13px; font-weight: 600; }
.topnav a.active { color: var(--ink); }
.topnav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.live-badge { justify-self: end; border: 1px solid var(--line); border-radius: 20px; padding: 8px 12px; font-size: 11px; font-weight: 600; color: #4e5868; background: #fafbfc; }
.live-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #13ae62; }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.profile-memory { position: relative; }
.profile-memory-trigger {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px 5px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.profile-memory-trigger > span { display: flex; align-items: center; gap: 6px; }
.profile-memory-trigger i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px #c8aa00; }
.profile-memory-trigger small { color: var(--muted); font-size: 10px; }
.profile-memory-trigger strong { font-size: 11px; }
.profile-memory-trigger > b { color: var(--muted); font-size: 12px; transition: transform 150ms ease; }
.profile-memory.open .profile-memory-trigger > b { transform: rotate(180deg); }
.profile-memory-card {
  position: absolute;
  z-index: 40;
  top: calc(100% + 9px);
  right: 0;
  width: min(390px, calc(100vw - 24px));
  display: block;
  padding: 16px;
  border: 1px solid #cfd5de;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 24, .11);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.profile-memory:hover .profile-memory-card,
.profile-memory:focus-within .profile-memory-card,
.profile-memory.peek .profile-memory-card,
.profile-memory.open .profile-memory-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.profile-memory-card > header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.profile-memory-card header div { display: grid; gap: 3px; }
.profile-memory-card header small,
.profile-memory-strategy > small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.profile-memory-card header strong { font-size: 14px; }
.profile-memory-card header a { color: #655600; font-size: 10px; font-weight: 700; text-decoration: none; }
.profile-memory-card header a:hover { color: var(--ink); text-decoration: underline; }
.profile-memory-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; border: 1px solid var(--line); }
.profile-memory-card dl div { min-width: 0; padding: 9px 10px; }
.profile-memory-card dl div:nth-child(even) { border-left: 1px solid var(--line); }
.profile-memory-card dl div:nth-child(n+3) { border-top: 1px solid var(--line); }
.profile-memory-card dl .profile-memory-target { grid-column: 1 / -1; border-left: 0; }
.profile-memory-card dt { color: var(--muted); font-size: 9px; }
.profile-memory-card dd { margin: 4px 0 0; font-size: 10px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.profile-memory-risk { margin-top: 10px; padding: 10px; border-left: 3px solid var(--green); background: #f1fbf5; }
.profile-memory-risk span { display: flex; align-items: center; gap: 6px; color: #126f3d; font-size: 10px; }
.profile-memory-risk span i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 9px; font-style: normal; }
.profile-memory-risk > small { display: block; margin-top: 6px; color: #397457; font-size: 9px; line-height: 1.4; }
.profile-memory-strategy { margin-top: 12px; }
.profile-memory-strategy ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: profile-position; }
.profile-memory-strategy li { counter-increment: profile-position; display: flex; justify-content: space-between; gap: 8px; padding: 8px; border: 1px solid var(--line); background: #fafbfc; font-size: 9px; }
.profile-memory-strategy li::before { content: "0" counter(profile-position); color: var(--muted); font-weight: 700; }
.profile-memory-strategy li span { margin-right: auto; font-weight: 700; }
.profile-memory-strategy li b { white-space: nowrap; }

main { width: min(1760px, calc(100% - 40px)); margin: 20px auto 52px; }
.workspace-head { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.eyebrow { margin: 0 0 5px; color: #6f7889; font-size: 11px; font-weight: 700; text-transform: uppercase; }
h1 { margin: 0; font-size: 28px; line-height: 1.1; }
.freshness { justify-self: end; font-size: 11px; color: var(--muted); }
.stepper { display: flex; list-style: none; margin: 0; padding: 5px; border: 1px solid var(--line); background: #fff; border-radius: 7px; }
.stepper li { display: flex; }
.stepper li + li::before { content: ""; width: 28px; height: 1px; margin: auto 4px; background: #ccd2db; }
.step { min-width: 104px; border: 0; background: transparent; color: #7a8392; display: flex; align-items: center; gap: 8px; padding: 7px 9px; cursor: pointer; }
.step b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #eff1f4; font-size: 11px; }
.step span { font-size: 12px; font-weight: 700; }
.step.active { color: var(--ink); }
.step.active b { background: var(--yellow); }

.notice { margin-bottom: 14px; padding: 12px 14px; border: 1px solid #e8c869; background: #fff9df; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; }
.hidden { display: none !important; }
.step-panel { display: none; }
.step-panel.active { display: block; }
.section-title { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title > div:first-child { display: flex; align-items: center; gap: 11px; }
.section-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid #d8dde4; background: #fff; font-size: 10px; font-weight: 800; color: #646d7b; }
h2 { margin: 0; font-size: 20px; }
.source-link { color: #555f70; font-size: 12px; font-weight: 600; text-decoration: none; }

.selection-strip { display: grid; grid-template-columns: 44px minmax(160px, 230px) 1fr auto; align-items: center; gap: 14px; min-height: 78px; margin-bottom: 14px; padding: 12px 14px; background: linear-gradient(90deg, var(--yellow) 0%, #ffe67a 64%, #fff3b0 100%); border: 1px solid #f1cf24; border-radius: 7px; }
.selection-logo { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.selection-logo img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; }
.selection-strip small, .selection-strip strong { display: block; }
.selection-strip small { color: #5e5521; font-size: 10px; margin-bottom: 4px; }
.selection-strip strong { font-size: 15px; }
.selection-strip p { margin: 0; color: #5a5226; font-size: 12px; }
.primary { border: 0; border-radius: 6px; padding: 12px 16px; color: #fff; background: var(--ink); font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
.primary:hover { background: #292d35; }
.primary:disabled { opacity: .55; cursor: wait; }
.primary span { margin-left: 8px; }

.discovery-tabs { display: inline-flex; gap: 4px; margin: 0 0 14px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #e9edf1; }
.discovery-tab { min-width: 128px; padding: 9px 14px; border: 0; border-radius: 4px; background: transparent; color: #6c7584; font-size: 11px; font-weight: 700; cursor: pointer; }
.discovery-tab.active { color: var(--ink); background: #fff; box-shadow: 0 1px 3px #cdd2d9; }
.discovery-panel { display: none; }
.discovery-panel.active { display: block; }
.network-mode-tabs { display: inline-flex; gap: 2px; margin: 0 0 10px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.network-mode-tab { min-width: 150px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.network-mode-tab.active { color: var(--ink); background: var(--yellow); }
.selection-disclaimer { max-width: 920px; margin: 0 0 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.network-selection { margin-bottom: 10px; }
.protocol-gateway {
  max-width: 1100px;
  margin: 0 auto 18px;
}
.protocol-presentation-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.protocol-presentation-progress button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a929f;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.protocol-presentation-progress button:disabled { cursor: default; opacity: .55; }
.protocol-presentation-progress button b {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf0f4;
  color: #6f7885;
  font-size: 9px;
}
.protocol-presentation-progress button.active { color: var(--ink); }
.protocol-presentation-progress button.active b { background: var(--yellow); color: var(--ink); }
.protocol-presentation-progress button.completed b { background: #fff3ad; color: #6e5b00; }
.protocol-presentation-progress i { height: 1px; background: #d8dde4; }
.protocol-presentation-slide {
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.protocol-presentation-slide[hidden] { display: none; }
.protocol-question-slide {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.protocol-slide-counter {
  margin-bottom: 9px;
  color: #806a00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.protocol-question-slide > h3 { max-width: 780px; margin: 0; font-size: 27px; line-height: 1.15; }
.protocol-question-slide > p { max-width: 750px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.protocol-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.protocol-choice-grid button {
  min-height: 140px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 18px;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
}
.protocol-choice-grid small { color: #7a828f; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.protocol-choice-grid strong { margin-top: 7px; color: var(--ink); font-size: 16px; }
.protocol-choice-grid span { margin-top: 16px; color: #5f6876; font-size: 10px; font-weight: 700; }
.protocol-choice-grid span b { margin-left: 4px; }
.protocol-choice-primary { border: 1px solid #e2bf13; background: var(--yellow-soft); }
.protocol-choice-primary:hover { border-color: #a98d00; background: #fff4b8; }
.protocol-choice-secondary { border: 1px solid var(--line); background: #fff; }
.protocol-choice-secondary:hover { border-color: var(--ink); background: #fafbfc; }
.protocol-slide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.protocol-slide-actions > button:not(.primary) {
  min-height: 39px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.protocol-slide-actions > button:not(.primary):hover { border-color: var(--ink); }
.protocol-slide-actions .primary:disabled { cursor: not-allowed; }
.protocol-presentation-slide .profile-handoff { margin: 0; }
.protocol-presentation-slide .protocol-gateway-intro { min-height: 280px; align-content: center; }
.protocol-presentation-slide .selector-risk-note { margin-top: 0; }
.discovery-route-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #e1c842;
  border-radius: 7px;
  background: var(--yellow-soft);
}
.discovery-route-summary p { margin: 0; }
.discovery-route-summary small { display: block; margin-bottom: 3px; color: #806a00; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.discovery-route-summary strong { font-size: 11px; }
.discovery-route-summary button {
  flex: none;
  padding: 8px 10px;
  border: 1px solid #ccb126;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.profile-handoff {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
.profile-handoff-copy { padding: 20px 20px 16px; }
.profile-handoff-copy > small,
.profile-handoff-next small {
  display: block;
  margin-bottom: 6px;
  color: #806a00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.profile-handoff h3 { margin: 0; font-size: 19px; }
.profile-handoff p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.profile-handoff-copy > p { max-width: 860px; }
.profile-handoff-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.profile-handoff-summary[hidden] { display: none; }
.profile-handoff-summary > div { min-width: 0; padding: 13px 18px; }
.profile-handoff-summary > div + div { border-left: 1px solid var(--line); }
.profile-handoff-summary dt {
  margin-bottom: 5px;
  color: #7b8493;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.profile-handoff-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}
.profile-handoff-next {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
}
.fundament-invite {
  padding: 13px 14px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-soft);
}
.fundament-invite p { margin: 0; color: #5f593e; }
.fundament-invite a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  text-underline-offset: 3px;
}
.protocol-gateway-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #f1cf24;
  border-radius: 7px;
  background: var(--yellow-soft);
}
.protocol-gateway-intro small {
  display: block;
  margin-bottom: 6px;
  color: #806a00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.protocol-gateway-intro h3 { margin: 0; font-size: 18px; }
.protocol-gateway-intro p { max-width: 850px; margin: 8px 0 0; color: #5f593e; font-size: 11px; line-height: 1.55; }
.selector-risk-note {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #b8d6c4;
  background: #e7f2ea;
  color: #24563d;
}
.selector-risk-note #selectorRiskTitle { display: block; max-width: 820px; font-size: 15px; line-height: 1.35; }
.selector-risk-note p { max-width: 900px; margin: 8px 0 0; font-size: 10px; line-height: 1.55; }
.selector-risk-note b { font-weight: 800; }
.selector-risk-critical {
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, .55);
}
.selector-risk-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #77ad8c;
  background: #f6fbf7;
  color: #24563d;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}
.selector-risk-link:hover { border-color: #24563d; background: #fff; }
.selector-risk-accept {
  position: relative;
  max-width: 780px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #77ad8c;
  background: #f6fbf7;
  cursor: pointer;
}
.selector-risk-accept:has(input:checked) { border-color: #24563d; background: #fff; }
.selector-risk-accept input { position: absolute; opacity: 0; }
.selector-risk-check {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #77ad8c;
  color: transparent;
  font-size: 14px;
  font-weight: 800;
}
.selector-risk-accept:has(input:checked) .selector-risk-check { background: var(--green); color: #fff; }
.selector-risk-accept > span:last-child { display: grid; gap: 4px; }
.selector-risk-accept strong { font-size: 11px; line-height: 1.35; }
.selector-risk-accept small { color: #3f6d54; font-size: 9px; line-height: 1.45; }
.protocol-route-question {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.protocol-route-question > small {
  color: #8b7500;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.protocol-route-question h3 { margin: 6px 0 0; font-size: 17px; }
.protocol-route-question > p { max-width: 800px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.protocol-route-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.protocol-route-actions button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.protocol-route-actions button:disabled { opacity: .42; cursor: not-allowed; }
.protocol-route-primary { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.protocol-route-primary:not(:disabled):hover { background: #292d35; }
.protocol-route-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.protocol-route-secondary:not(:disabled):hover { border-color: var(--ink); background: #fafbfc; }
.protocol-route-hint { font-size: 9px !important; }
#networkDiscovery { scroll-margin-top: 82px; outline: none; }
.data-section { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.data-section > header { min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.data-section h3 { margin: 0; font-size: 15px; }
.data-section header span { color: var(--muted); font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 610px; }
.protocol-table { min-width: 650px; }
.chain-table { min-width: 470px; }
.network-table { min-width: 900px; }
.network-table th, .network-table td { text-align: right; }
.network-table th:first-child, .network-table td:first-child { text-align: left; }
.network-name-cell { display: flex; align-items: center; gap: 10px; }
.expand-network { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; padding: 0; border: 1px solid #d9dee5; border-radius: 5px; color: #4c5563; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.expand-network:hover, .expand-network:focus-visible { border-color: #d4b400; background: var(--yellow-soft); outline: none; }
.network-row.expanded td { border-bottom-color: transparent; }
.network-detail-row > td { height: auto; padding: 0; background: #fafbfc; text-align: left !important; }
.protocol-drilldown { padding: 0 14px 12px 51px; }
.network-protocol-table { min-width: 680px; border: 1px solid #e4e8ed; background: #fff; }
.network-protocol-table th { height: 32px; background: #f5f7f9; }
.network-protocol-table th:first-child { width: 34%; }
.network-protocol-table td { height: 50px; padding-top: 6px; padding-bottom: 6px; }
.network-protocol-table th, .network-protocol-table td { text-align: right; }
.network-protocol-table th:first-child, .network-protocol-table td:first-child { text-align: left; }
.protocol-route-row td { background: #fffdf1; }
.protocol-route { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.protocol-route .protocol-entity { width: 100%; }
.protocol-route-arrow { margin-left: auto; color: #8a7200; font-size: 17px; font-weight: 800; }
.protocol-route:hover .protocol-entity strong, .protocol-route:focus-visible .protocol-entity strong { color: #7a6500; text-decoration: underline; }
.protocol-route:focus-visible { border-radius: 4px; outline: 2px solid rgba(255, 217, 28, .65); outline-offset: 3px; }
.protocol-entity img { width: 24px; height: 24px; }
.protocol-missing { color: #a0a7b2; font-weight: 500; }
.protocol-empty { min-height: 58px; display: flex; align-items: center; color: var(--muted); font-size: 11px; font-weight: 500; }
.sort-button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.sort-button span { display: inline; margin-left: 3px; color: #a7aeba; }
.sort-button.active { color: var(--ink); }
.sort-button.active span { color: #8d7300; }
th { height: 38px; padding: 0 14px; color: #7b8493; background: #fafbfc; font-size: 10px; text-align: right; font-weight: 700; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; }
td { height: 56px; padding: 8px 14px; border-top: 1px solid #edf0f3; text-align: right; font-size: 12px; font-weight: 600; }
tbody tr:first-child td { border-top: 0; }
tbody tr.selected { background: #fffcdd; box-shadow: inset 3px 0 var(--yellow); }
.entity { display: flex; align-items: center; gap: 9px; }
.entity img, .entity-mark { width: 27px; height: 27px; border-radius: 50%; object-fit: contain; background: #f2f4f6; }
.entity-mark { display: grid; place-items: center; color: #313743; font-weight: 800; font-size: 10px; }
.entity strong, .entity small { display: block; text-align: left; }
.entity strong { font-size: 12px; }
.entity small { color: var(--muted); font-size: 9px; margin-top: 3px; font-weight: 500; }
.entity-chain { display: block; max-width: 130px; margin: 3px 0 0 auto; color: var(--muted); font-size: 9px; font-weight: 500; white-space: normal; line-height: 1.25; }
.volume-main { font-weight: 800; }
.trend { font-weight: 700; }
.trend.positive { color: var(--green); }
.trend.negative { color: var(--red); }
.trend.neutral { color: var(--muted); }
.network-anomaly { background: #edf8f1; box-shadow: inset 3px 0 var(--green); }
.trend-anomaly {
  display: block;
  margin-top: 4px;
  color: #08763d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.network-guide {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 2.2fr);
  gap: 0;
  margin: 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
.network-guide > div { padding: 13px 15px; background: #fffbed; }
.network-guide > ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.network-guide li { min-width: 0; padding: 13px 15px; }
.network-guide li + li { border-left: 1px solid var(--line); }
.network-guide strong { display: block; margin-bottom: 4px; font-size: 11px; }
.network-guide small { display: block; margin-bottom: 4px; color: #8b7500; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.network-guide li span { display: block; color: var(--muted); font-size: 9px; line-height: 1.5; }
.network-guide li span strong { display: inline; color: var(--ink); font-size: inherit; }
.network-guide b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  float: left;
  margin: 0 9px 12px 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
}
.share-track { display: inline-block; width: 58px; height: 4px; margin-left: 7px; vertical-align: middle; background: #e8ebef; }
.share-track i { display: block; height: 100%; background: var(--yellow); }
.loading-cell { height: 150px; color: var(--muted); text-align: center !important; font-weight: 500; }

.segmented { display: inline-flex; padding: 3px; background: #e9edf1; border-radius: 6px; }
.segmented button { min-width: 64px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: #6c7584; font-size: 11px; font-weight: 700; cursor: pointer; }
.segmented button.active { color: var(--ink); background: #fff; box-shadow: 0 1px 3px #cdd2d9; }
.pool-filter-groups { display: flex; align-items: center; gap: 8px; }
.pool-guide {
  display: grid;
  grid-template-columns: 1fr;
  margin: 2px 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
.pool-guide-lead,
.pool-guide-recommendation { padding: 16px 18px; }
.pool-guide-lead > small,
.pool-guide-recommendation > small {
  display: block;
  margin-bottom: 5px;
  color: #806a00;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pool-guide h3 { margin: 0; font-size: 17px; }
.pool-guide p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.pool-guide-recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #a9d0b7;
  background: #eaf6ee;
}
.pool-guide-recommendation[hidden] { display: none; }
.pool-guide-recommendation strong { display: block; font-size: 14px; }
.pool-guide-recommendation p { max-width: 650px; margin: 0; color: #24563d; }
.pool-guide-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pool-guide-notes li {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  padding: 13px 14px;
}
.pool-guide-notes li + li { border-left: 1px solid var(--line); }
.pool-guide-notes li > b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
}
.pool-guide-notes li span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.pool-guide-notes li strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 10px; }
.pool-guide-details { border-top: 1px solid var(--line); }
.pool-guide-details summary {
  padding: 12px 18px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.pool-guide-details summary::marker { color: var(--muted); }
.pool-guide-details[open] summary { border-bottom: 1px solid var(--line); }
.pool-guide-details .pool-guide-notes { border-top: 0; }
.pools-section { margin-top: 0; }
.pool-mobile-list { display: none; }
.pool-table { min-width: 1420px; table-layout: auto; }
.pool-table td { height: 64px; }
.pool-table th:first-child, .pool-table td:first-child { width: 42px; text-align: center; }
.pool-table th:nth-child(2) { min-width: 210px; }
.pool-table th:nth-child(5), .pool-table th:nth-child(8), .pool-table th:nth-child(9) { min-width: 130px; }
.pool-table th:nth-child(6), .pool-table th:nth-child(7) { min-width: 118px; }
.top-apr-cell { background: #fffdf0; box-shadow: inset 2px 0 var(--yellow); }
.top-apr-badge { display: block; margin-top: 4px; color: #7b6800; font-size: 8px; font-weight: 800; white-space: nowrap; }
.top-apr-badge span { margin-right: 3px; }
.recommended-pool-row { background: #eaf6ee; box-shadow: inset 3px 0 var(--green); }
.recommended-pool-row .top-apr-cell { background: #dff1e5; box-shadow: inset 2px 0 var(--green); }
.recommended-pool-badge { display: block; margin-top: 4px; color: #08763d; font-size: 8px; font-weight: 800; letter-spacing: .02em; }
.pool-rank { color: var(--muted); font-size: 11px; font-weight: 700; }
.fee-tier { white-space: nowrap; font-weight: 700; }
.version-pill { display: inline-block; min-width: 30px; padding: 4px 7px; border: 1px solid #dce1e7; background: #f8f9fa; border-radius: 14px; font-size: 10px; text-align: center; }
.apy { color: var(--green); }
.row-action { border: 1px solid #d9dde3; background: #fff; border-radius: 5px; padding: 7px 10px; font-size: 10px; font-weight: 700; cursor: pointer; }
.row-action:hover { border-color: var(--yellow); background: var(--yellow-soft); }
.footnote, .disclaimer { color: var(--muted); font-size: 10px; line-height: 1.5; }
.footnote { margin-top: 10px; }

.chart-meta { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 7px 10px 7px 14px; border: 1px solid var(--line); border-bottom: 0; background: #fff; border-radius: 7px 7px 0 0; }
.chart-meta-info { min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.chart-meta strong { flex: none; font-size: 12px; }
.chart-meta span { color: var(--muted); font-size: 10px; }
.chart-controls { display: flex; align-items: center; gap: 8px; }
.chart-periods { display: flex; align-items: center; padding: 2px; border: 1px solid var(--line); background: #f2f4f6; border-radius: 6px; }
.chart-periods button, .chart-tool { min-height: 30px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.chart-periods button { min-width: 40px; padding: 0 9px; }
.chart-periods button:hover, .chart-periods button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(28, 34, 43, 0.13); }
.chart-tool { padding: 0 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.chart-tool:hover, .chart-tool.active { border-color: #d7b800; background: var(--yellow-soft); }
.chart-tool span { margin-right: 4px; color: inherit; font-size: 13px; }
.chart-shell { position: relative; height: 720px; border: 1px solid var(--line); background: #fff; border-radius: 0 0 7px 7px; overflow: hidden; }
.price-chart { width: 100%; height: 100%; }
.price-chart.measure-active { cursor: crosshair; }
.chart-measure-overlay { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.measure-point { position: absolute; width: 10px; height: 10px; border: 2px solid #111722; border-radius: 50%; background: var(--yellow); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); }
.measure-line { position: absolute; height: 2px; background: #111722; transform-origin: 0 50%; }
.measure-hint, .measure-label { position: absolute; padding: 7px 9px; border-radius: 5px; background: #111722; color: #fff; font-size: 10px; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 2px 8px rgba(17, 23, 34, 0.2); }
.measure-hint { transform: none; }
.measure-label strong, .measure-label span { display: block; color: inherit; }
.measure-label strong { font-size: 13px; }
.measure-label span { margin-top: 2px; opacity: 0.75; font-size: 9px; }
.measure-label.positive strong { color: #64d9a1; }
.measure-label.negative strong { color: #ef9d9d; }
.chart-loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; z-index: 2; }
.chart-loading.hidden { display: none; }
.range-toolbar { margin: 14px 0; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #e2c443; background: var(--yellow-soft); border-radius: 7px; }
.range-toolbar-copy { max-width: 820px; }
.range-toolbar-copy p { margin: 7px 0 0; color: #665f3e; font-size: 11px; line-height: 1.5; }
.range-toolbar-action { flex: 0 0 auto; display: grid; justify-items: end; gap: 7px; }
.range-toolbar-action > span { color: #766a31; font-size: 9px; font-weight: 700; }
.range-chart-guide + .chart-meta { margin-top: 14px; }
.range-toolbar small, .range-toolbar strong { display: block; }
.range-toolbar small { color: #806a00; font-size: 9px; font-weight: 800; margin-bottom: 5px; text-transform: uppercase; }
.range-toolbar strong { font-size: 17px; }
.range-summary { display: grid; grid-template-columns: 190px repeat(4, minmax(160px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.range-summary.empty { min-height: 170px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: var(--muted); }
.empty-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #f0f2f5; color: #5b6472; font-weight: 800; }
.range-summary.empty strong { color: var(--ink); font-size: 13px; }
.range-summary.empty span { font-size: 11px; }
.market-card, .band-card { min-height: 162px; padding: 18px; border-right: 1px solid var(--line); }
.band-card:last-child { border-right: 0; }
.market-card { background: var(--ink); color: #fff; }
.band-card { position: relative; border-width: 0 1px 0 0; border-style: solid; border-color: var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color 150ms ease, box-shadow 150ms ease; }
.band-card:hover { background: #fffdf0; }
.band-card:focus-visible { z-index: 1; outline: 2px solid #b99b00; outline-offset: -3px; }
.band-card.active { background: var(--yellow-soft); box-shadow: inset 0 3px var(--yellow); }
.market-card small, .band-card small { display: block; font-size: 9px; color: #8a93a2; text-transform: uppercase; font-weight: 700; }
.market-card strong { display: block; margin: 11px 0 6px; font-size: 28px; }
.market-card .positive { color: #5fe19c; }
.market-card .negative { color: #ef9d9d; }
.market-card p { margin: 20px 0 0; color: #abb2bd; font-size: 10px; }
.band-card h3 { margin: 8px 0 7px; font-size: 21px; line-height: 1.15; }
.band-card .band-price { margin: 0 0 18px; color: var(--ink); font-size: 13px; font-weight: 800; }
.band-gaps { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: -9px 0 15px; color: #4f5866; font-size: 9px; font-weight: 700; }
.band-history { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; }
.band-history b { color: var(--ink); white-space: nowrap; }
.band-action { display: block; margin-top: 13px; color: #806a00; font-size: 9px; font-weight: 700; }
.manual-band-card { cursor: default; border-right: 0; }
.manual-band-card h3 { font-size: 14px; }
.manual-boundary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.manual-boundary-grid label { min-width: 0; }
.manual-boundary-grid label span { display: block; margin: 0 0 3px; color: var(--muted); font-size: 8px; font-weight: 700; }
.manual-boundary-grid input { width: 100%; min-width: 0; height: 30px; padding: 0 6px; border: 1px solid #d9dde3; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; font-weight: 700; }
.manual-boundary-grid input:focus { outline: 2px solid rgba(255, 217, 28, 0.45); border-color: #c5a900; }
.manual-range-action { margin-top: 10px; padding: 0; border: 0; background: transparent; color: #806a00; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.manual-range-action:hover { color: var(--ink); }
.disclaimer { margin: 10px 2px 0; }
.site-disclaimer {
  width: min(1760px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.site-disclaimer strong { color: var(--ink); }

.range-next-bar { min-height: 70px; margin-top: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #e1c23a; border-radius: 7px; background: var(--yellow-soft); }
.range-next-bar small, .range-next-bar strong { display: block; }
.range-next-bar small { margin-bottom: 4px; color: #766a31; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.range-next-bar strong { font-size: 13px; }
.range-next-bar .primary:disabled { cursor: not-allowed; }
.range-chart-guide { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 7px; background: #fff; overflow: hidden; }
.range-chart-guide > div { padding: 14px 16px; }
.range-chart-guide > div + div { border-left: 1px solid var(--line); }
.range-chart-guide small, .range-chart-guide strong { display: block; }
.range-chart-guide small { margin-bottom: 5px; color: #806a00; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.range-chart-guide strong { font-size: 13px; }
.range-chart-guide p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.range-chart-guide b { color: var(--ink); }
.allocation-pool-badge { padding: 8px 11px; border: 1px solid #e2c443; border-radius: 5px; background: var(--yellow-soft); color: #504719; font-size: 11px; font-weight: 700; }
.allocation-intro { margin-bottom: 14px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr); align-items: center; gap: 24px; border: 1px solid #e2c443; border-radius: 8px; background: var(--yellow-soft); }
.allocation-intro small { color: #806a00; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.allocation-intro h3 { margin: 5px 0 6px; font-size: 20px; }
.allocation-intro p { margin: 0; color: #626b78; font-size: 11px; line-height: 1.55; }
.allocation-position-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.allocation-position-progress > span { min-width: 0; padding: 9px 6px; display: grid; justify-items: center; gap: 5px; border: 1px solid #dfd5a4; border-radius: 6px; background: rgba(255,255,255,.55); color: #737a85; font-size: 9px; font-weight: 700; }
.allocation-position-progress b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e9ebef; color: #626a76; }
.allocation-position-progress .is-current { border-color: #bfa400; background: #fff; color: var(--ink); }
.allocation-position-progress .is-current b { background: var(--yellow); color: var(--ink); }
.allocation-position-progress .is-complete { border-color: #8dc7a6; background: #edf9f2; color: #176f3e; }
.allocation-position-progress .is-complete b { background: #15924d; color: #fff; }
.allocation-wizard { display: grid; gap: 12px; }
.allocation-stage { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.allocation-stage > header { padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.allocation-stage > header > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: #e9ecf1; color: #707986; font-size: 11px; font-weight: 800; }
.allocation-stage > header small, .allocation-stage > header h3 { display: block; }
.allocation-stage > header small { margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.allocation-stage > header h3 { margin: 0; font-size: 15px; }
.allocation-stage.is-active > header > span { background: var(--yellow); color: var(--ink); }
.allocation-stage.is-locked > header { border-bottom: 0; opacity: .62; }
.allocation-stage-body { padding: 16px; }
.allocation-stage-body > p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.allocation-range-field { max-width: 660px; }
.allocation-range-field select { height: 48px; border-color: #c9aa00; background: #fffdf0; font-size: 14px; }
.allocation-source-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.allocation-source-choice button { min-height: 76px; padding: 14px; display: grid; gap: 5px; border: 1px solid #d7dce3; border-radius: 7px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.allocation-source-choice button:hover, .allocation-source-choice button:focus-visible, .allocation-source-choice button.active { border-color: #c5a700; background: var(--yellow-soft); outline: none; }
.allocation-source-choice b { font-size: 13px; }
.allocation-source-choice span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.allocation-lock-message { padding: 12px 16px; color: #7b8490; background: #f7f8fa; font-size: 10px; }
.allocation-stage:not(.is-locked) > .allocation-lock-message { display: none; }
.allocation-stage.is-locked > .allocation-form-body,
.allocation-stage.is-locked > .allocation-result { display: none; }
.allocation-network { padding: 9px 11px; border: 1px solid #d9dee5; border-radius: 5px; background: #f8f9fb; }
.allocation-network small, .allocation-network strong, .allocation-network span { display: block; }
.allocation-network small { margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.allocation-network strong { font-size: 12px; }
.allocation-network span { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.allocation-layout { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); align-items: start; gap: 14px; }
.allocation-form-head > div { min-width: 0; }
.allocation-form-head > div > span { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-add-button { min-height: 34px; padding: 0 10px 0 7px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d7dce3; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.wallet-add-button b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 15px; line-height: 1; }
.wallet-add-button:hover, .wallet-add-button:focus-visible { border-color: #c4a700; background: var(--yellow-soft); outline: none; }
.wallet-import-panel { padding: 12px 16px 13px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.wallet-import-panel.hidden { display: none; }
.wallet-import-panel > label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 11px; font-weight: 700; }
.wallet-import-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; }
.wallet-import-controls input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #d9dee5; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.wallet-import-controls input:focus { outline: 2px solid rgba(255, 217, 28, .42); border-color: #baa000; }
.wallet-import-controls .primary { padding: 9px 12px; }
.wallet-import-cancel { padding: 0 8px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.wallet-import-cancel:hover, .wallet-import-cancel:focus-visible { color: var(--ink); outline: none; text-decoration: underline; }
.wallet-import-panel p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.wallet-import-panel p.success { color: #16783e; }
.wallet-import-panel p.warning { color: #8a6500; }
.wallet-import-panel p.error { color: #a24b46; }
.wallet-debank-link { margin-top: 9px; display: inline-flex; align-items: center; gap: 5px; color: #246c4a; font-size: 10px; font-weight: 800; text-decoration: none; }
.wallet-debank-link:hover, .wallet-debank-link:focus-visible { color: var(--ink); text-decoration: underline; outline: none; }
.wallet-debank-link.hidden { display: none; }
.allocation-form-body { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.allocation-form-body:disabled { opacity: .65; }
.allocation-position-budget { grid-column: 1 / -1; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: center; gap: 24px; border: 1px solid #dfc332; border-radius: 6px; background: var(--yellow-soft); }
.allocation-position-budget small, .allocation-position-budget strong { display: block; }
.allocation-position-budget small { margin-bottom: 4px; color: #806a00; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.allocation-position-budget strong { font-size: 14px; }
.allocation-position-budget p { margin: 5px 0 0; color: #6a6759; font-size: 10px; line-height: 1.45; }
.allocation-position-budget .field > span { color: #5f571f; }
.profile-position-recommendation { margin-top: 6px; padding: 0; border: 0; background: transparent; color: #6d5b00; font: inherit; font-size: 9px; font-weight: 800; text-align: left; text-decoration: underline; cursor: pointer; }
.profile-position-recommendation:hover, .profile-position-recommendation:focus-visible { color: var(--ink); outline: none; }
.profile-position-recommendation.hidden { display: none; }
.field { min-width: 0; }
.field > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.field input, .field select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d9dee5; border-radius: 5px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.field input:focus, .field select:focus { outline: 2px solid rgba(255, 217, 28, .42); border-color: #baa000; }
.entry-token-control { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 7px; }
.icon-add, .icon-remove { display: grid; place-items: center; padding: 0; border: 1px solid #d7dce3; border-radius: 5px; background: #fff; color: var(--ink); cursor: pointer; font-weight: 700; }
.icon-add { width: 42px; height: 42px; font-size: 21px; }
.icon-remove { width: 32px; height: 42px; align-self: end; font-size: 18px; color: #7c8491; }
.icon-add:hover, .icon-add:focus-visible, .icon-remove:hover, .icon-remove:focus-visible { border-color: #c4a700; background: var(--yellow-soft); outline: none; }
.additional-entry-assets { grid-column: 1 / -1; display: grid; gap: 9px; }
.additional-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 7px; padding-top: 11px; border-top: 1px solid var(--line); }
.input-with-suffix { position: relative; }
.input-with-suffix input { padding-right: 52px; }
.input-with-suffix b { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 10px; }
.allocation-facts { grid-column: 1 / -1; min-height: 52px; padding: 10px 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; border: 1px solid var(--line); border-radius: 5px; background: #f8f9fb; color: var(--muted); font-size: 10px; line-height: 1.4; }
.allocation-facts span { white-space: nowrap; }
.allocation-facts strong { color: var(--ink); }
.allocation-result { min-height: 300px; background: #fff; overflow: hidden; }
.allocation-empty { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; color: var(--muted); text-align: center; }
.allocation-empty strong { color: var(--ink); font-size: 15px; }
.allocation-empty span { max-width: 440px; font-size: 11px; line-height: 1.5; }
.allocation-empty .row-action { margin-top: 7px; }
.allocation-result-head { min-height: 94px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.allocation-result-head small, .allocation-result-head span, .allocation-reserve small, .allocation-reserve span { display: block; color: var(--muted); font-size: 9px; }
.allocation-result-head h3 { margin: 5px 0 4px; font-size: 23px; }
.allocation-reserve { min-width: 94px; padding-left: 18px; border-left: 1px solid var(--line); text-align: right; }
.allocation-reserve strong { display: block; margin: 4px 0; font-size: 16px; }
.allocation-token-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.allocation-token { min-height: 94px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.allocation-token + .allocation-token { border-left: 1px solid var(--line); }
.token-symbol { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; }
.token-symbol.volatile { color: #fff; background: #292d35; }
.token-symbol.stable { color: #0b64cb; background: #eaf3ff; }
.allocation-token small, .allocation-token strong, .allocation-token div > span { display: block; }
.allocation-token small { color: var(--muted); font-size: 9px; }
.allocation-token strong { margin: 5px 0 3px; font-size: 15px; }
.allocation-token div > span { color: var(--muted); font-size: 10px; }
.allocation-token em { display: block; margin-top: 5px; color: #806a00; font-size: 9px; font-style: normal; font-weight: 700; }
.allocation-split { height: 7px; background: #dcecff; }
.allocation-split i { display: block; height: 100%; background: #292d35; }
.allocation-route { padding: 16px 18px 18px; }
.allocation-route-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.allocation-route-title small, .allocation-route-title strong { display: block; }
.allocation-route-title small { margin-bottom: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.allocation-route-title strong { font-size: 12px; }
.allocation-route ol { margin: 15px 0 16px; padding: 0; list-style: none; counter-reset: route; }
.allocation-route li { position: relative; min-height: 31px; padding: 2px 0 9px 34px; color: #4f5867; font-size: 11px; line-height: 1.45; counter-increment: route; }
.allocation-route li::before { content: counter(route); position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 800; }
.allocation-route li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 23px; bottom: 0; width: 1px; background: #d9dde3; }
.allocation-route li strong { color: var(--ink); }
.route-inline-action { display: inline-flex; min-height: 25px; margin: 4px 0 0 6px; padding: 4px 9px; align-items: center; gap: 5px; border: 1px solid #d4b600; border-radius: 5px; background: #fff4a8; color: var(--ink); font-size: 10px; font-weight: 800; line-height: 1; text-decoration: none; vertical-align: middle; }
.route-inline-action:hover, .route-inline-action:focus-visible { border-color: var(--ink); background: var(--yellow); }
.allocation-uniswap { display: inline-block; text-decoration: none; }
.allocation-complete { margin-left: 8px; padding: 11px 14px; border: 1px solid #c8ced7; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.allocation-complete:hover { border-color: #8d96a3; background: #f7f8fa; }
.verify-flow { display: block; }
.verify-card { min-height: 290px; }
.verify-body { padding: 22px; }
.verify-body > p { max-width: 700px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.verify-body > label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.verify-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.verify-controls input { min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #d6dbe2; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.verify-controls input:focus { outline: 2px solid rgba(255, 217, 28, .42); border-color: #baa000; }
.verify-status { margin-top: 13px; padding: 11px 12px; border-left: 3px solid #cbd1d9; background: #f7f8fa; color: var(--muted); font-size: 11px; line-height: 1.5; }
.verify-status.loading { border-color: #d1ae00; color: #6f5d00; }
.verify-status.success { border-color: #15924d; color: #126f3d; background: #f1fbf5; }
.verify-status.warning { border-color: #d1ae00; color: #765f00; background: #fffbea; }
.verify-status.error { border-color: #b85c55; color: #934b46; background: #fff6f5; }
.verify-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 18px; font-weight: 800; }
.verify-next-step { margin-top: 14px; padding: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid #8dc7a6; border-radius: 6px; background: #f1fbf5; }
.verify-next-step.hidden { display: none; }
.verify-next-step.not-found { border-color: #e1c23a; background: var(--yellow-soft); }
.verify-next-step small { display: block; margin-bottom: 3px; color: #537061; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.verify-next-step h3 { margin: 0; font-size: 15px; }
.verify-next-step p { margin: 5px 0 0; color: #596472; font-size: 10px; line-height: 1.5; }
.verify-next-step .primary { min-width: 250px; text-align: center; text-decoration: none; }
.swap-guide { margin-top: 14px; padding: 14px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #505967; }
.swap-guide > small { color: #8b7500; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.swap-guide h3 { margin: 4px 0 8px; color: var(--ink); font-size: 14px; }
.swap-guide p { margin: 0; max-width: 1120px; font-size: 10px; line-height: 1.55; }
.swap-guide p + p { margin-top: 6px; }
.swap-guide .swap-guide-subhead { margin-top: 11px; color: var(--ink); }
.swap-guide a { color: #6d5b00; font-weight: 700; text-decoration: none; }
.swap-guide a:hover, .swap-guide a:focus-visible { color: var(--ink); text-decoration: underline; }

@media (max-width: 1100px) {
  .network-guide { grid-template-columns: 1fr; }
  .network-guide > div { border-bottom: 1px solid var(--line); }
  .network-guide > ol { border-left: 0; }
  .topbar-shell { grid-template-columns: 220px 1fr auto; }
  .profile-memory-trigger small { display: none; }
  .workspace-head { grid-template-columns: 1fr; padding: 16px 0; gap: 13px; }
  .freshness { justify-self: start; }
  .range-summary { grid-template-columns: repeat(2, 1fr); }
  .market-card { grid-column: 1 / -1; }
  .band-card:nth-child(3) { border-right: 0; }
}

@media (max-width: 720px) {
  .network-guide { grid-template-columns: 1fr; }
  .network-guide > ol { grid-template-columns: 1fr; }
  .network-guide li + li { border-left: 0; border-top: 1px solid var(--line); }
  .topbar-shell { width: calc(100% - 20px); min-height: 62px; padding: 10px 0; grid-template-columns: 1fr auto; }
  .topnav { order: 3; grid-column: 1 / -1; height: 38px; justify-content: flex-start; gap: 22px; overflow-x: auto; }
  .live-badge { font-size: 0; padding: 8px; }
  .live-badge i { margin: 0; }
  .profile-memory-card { position: fixed; top: 64px; right: 10px; }
  main { width: calc(100% - 20px); margin-top: 10px; }
  .site-disclaimer { width: calc(100% - 20px); margin-bottom: 16px; }
  h1 { font-size: 23px; }
  .stepper { width: 100%; }
  .stepper li { flex: 1; }
  .step { min-width: 0; width: 100%; justify-content: center; }
  .stepper li + li::before { width: 10px; }
  .step span { display: none; }
  .selection-strip { grid-template-columns: 40px 1fr; }
  .selection-strip p { grid-column: 1 / -1; }
  .selection-strip .primary { grid-column: 1 / -1; width: 100%; }
  .protocol-gateway-intro,
  .selector-risk-note { grid-template-columns: 1fr; }
  .protocol-presentation-progress { gap: 5px; padding: 9px 10px; }
  .protocol-presentation-progress button span { display: none; }
  .protocol-presentation-progress i { min-width: 8px; }
  .protocol-presentation-slide { min-height: 0; padding: 16px; }
  .protocol-question-slide > h3 { font-size: 23px; }
  .protocol-choice-grid { grid-template-columns: 1fr; margin-top: 18px; }
  .protocol-choice-grid button { min-height: 118px; }
  .protocol-slide-actions { align-items: stretch; flex-direction: column-reverse; }
  .protocol-slide-actions button { width: 100%; }
  .discovery-route-summary { align-items: flex-start; flex-direction: column; }
  .profile-handoff-summary { grid-template-columns: 1fr; }
  .profile-handoff-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .profile-handoff-next { grid-template-columns: 1fr; gap: 14px; }
  .protocol-route-actions { display: grid; }
  .protocol-route-actions button { width: 100%; text-align: left; }
  .section-title { align-items: flex-start; padding: 10px 0; flex-direction: column; }
  .section-title .segmented { align-self: stretch; }
  .section-title .segmented button { flex: 1; }
  .pool-filter-groups { width: 100%; align-items: stretch; flex-direction: column; }
  .pool-guide { grid-template-columns: 1fr; }
  .pool-guide-recommendation { align-items: flex-start; flex-direction: column; gap: 7px; }
  .pool-guide-notes { grid-template-columns: 1fr; }
  .pool-guide-notes li + li { border-top: 1px solid var(--line); border-left: 0; }
  .discovery-tabs { display: flex; }
  .discovery-tab { flex: 1; min-width: 0; }
  .network-mode-tabs { display: flex; }
  .network-mode-tab { flex: 1; min-width: 0; }
  .protocol-drilldown { padding-left: 14px; }
  .pools-section > header span { display: none; }
  .chart-meta { align-items: stretch; flex-direction: column; gap: 8px; padding: 10px; }
  .chart-meta-info { align-items: flex-start; flex-direction: column; gap: 3px; }
  .chart-controls { align-items: stretch; flex-direction: column; }
  .chart-periods { display: grid; grid-template-columns: repeat(6, 1fr); }
  .chart-periods button { min-width: 0; padding: 0 4px; }
  .chart-tool { width: 100%; }
  .chart-shell { height: 520px; }
  .range-toolbar { align-items: stretch; flex-direction: column; }
  .range-toolbar-action { justify-items: stretch; }
  .range-toolbar .primary { width: 100%; }
  .range-summary { grid-template-columns: 1fr; }
  .market-card { grid-column: auto; }
  .market-card, .band-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .band-card:last-child { border-bottom: 0; }
  .range-next-bar { align-items: stretch; flex-direction: column; }
  .range-next-bar .primary { width: 100%; }
  .range-chart-guide { grid-template-columns: 1fr; }
  .range-chart-guide > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .allocation-pool-badge { width: 100%; text-align: center; }
  .allocation-intro { grid-template-columns: 1fr; padding: 15px; }
  .allocation-position-progress { grid-template-columns: repeat(2, 1fr); }
  .allocation-source-choice { grid-template-columns: 1fr; }
  .allocation-position-budget { grid-template-columns: 1fr; gap: 12px; }
  .allocation-layout { grid-template-columns: 1fr; }
  .allocation-form-head { align-items: flex-start !important; gap: 10px; }
  .wallet-add-button { flex: 0 0 auto; }
  .wallet-import-controls { grid-template-columns: 1fr auto; }
  .wallet-import-controls input { grid-column: 1 / -1; }
  .allocation-form-body { grid-template-columns: 1fr; }
  .allocation-facts { grid-column: auto; }
  .allocation-token-grid { grid-template-columns: 1fr; }
  .allocation-token + .allocation-token { border-left: 0; }
  .allocation-result-head, .allocation-route-title { align-items: flex-start; flex-direction: column; }
  .allocation-complete { display: block; width: 100%; margin: 8px 0 0; }
  .verify-controls { grid-template-columns: 1fr; }
  .verify-next-step { grid-template-columns: auto minmax(0, 1fr); }
  .verify-next-step .primary { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .allocation-reserve { padding: 0; border-left: 0; text-align: left; }
  .route-inline-action { margin-left: 0; }
  .additional-entry-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; }
  .swap-guide { padding: 13px 4px; }
}

/* Version 2 Carrot journey — opt-in through ?design=carrot. */
html[data-design="carrot"] {
  --yellow: #d0ff37;
  --yellow-soft: #f2ffc7;
  --ink: #171717;
  --muted: #626662;
  --line: #d9dcd7;
  --surface: #fff;
  --page: #fbfbf7;
  --green: #00a958;
  --red: #a9342a;
  --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, .11), transparent 20rem),
    radial-gradient(circle at 96% 31%, rgba(0, 191, 99, .08), transparent 22rem),
    var(--page);
  color: var(--ink);
  font-family: "Golos Text", Inter, sans-serif;
}
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"] .topbar {
  min-height: 76px;
  border-bottom: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
html[data-design="carrot"] .topbar-shell {
  width: min(1360px, calc(100% - 48px));
  min-height: 76px;
}
html[data-design="carrot"] .brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}
html[data-design="carrot"] .brand strong { font-size: 15px; letter-spacing: -.02em; }
html[data-design="carrot"] .brand small {
  color: #555;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html[data-design="carrot"] .topnav {
  position: relative;
  align-items: center;
  gap: 48px;
}
html[data-design="carrot"] .topnav::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1.5px;
  z-index: -1;
  background: var(--ink);
}
html[data-design="carrot"] .topnav a {
  display: flex;
  gap: 7px;
  background: #fff;
  color: #727672;
  font-size: 11px;
  font-weight: 700;
}
html[data-design="carrot"] .topnav a::before {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
}
html[data-design="carrot"] .topnav a:nth-child(1)::before { content: "1"; }
html[data-design="carrot"] .topnav a:nth-child(2)::before { content: "2"; }
html[data-design="carrot"] .topnav a:nth-child(3)::before { content: "3"; }
html[data-design="carrot"] .topnav a:nth-child(4)::before { content: "4"; }
html[data-design="carrot"] .topnav a.active { color: var(--ink); }
html[data-design="carrot"] .topnav a.active::before {
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
html[data-design="carrot"] .topnav a.active::after { display: none; }
html[data-design="carrot"] .live-badge,
html[data-design="carrot"] .profile-memory-trigger {
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
html[data-design="carrot"] .live-badge i { background: var(--carrot-green); }
html[data-design="carrot"] .profile-memory-trigger i {
  background: var(--yellow);
  box-shadow: 0 0 0 1px var(--ink);
}
html[data-design="carrot"] .profile-memory-card {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--carrot-lilac);
}
html[data-design="carrot"] main {
  width: min(1360px, calc(100% - 48px));
  margin-top: 24px;
}
html[data-design="carrot"] .workspace-head {
  min-height: 126px;
  margin-bottom: 8px;
}
html[data-design="carrot"] .eyebrow {
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ededff;
  color: #4336a3;
  font-size: 9px;
  letter-spacing: .07em;
}
html[data-design="carrot"] h1 {
  max-width: 330px;
  font-size: clamp(35px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}
html[data-design="carrot"] .freshness {
  padding: 8px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
html[data-design="carrot"] .stepper {
  padding: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
html[data-design="carrot"] .stepper li + li::before { background: var(--ink); }
html[data-design="carrot"] .step { color: #707470; }
html[data-design="carrot"] .step b {
  border: 1px solid transparent;
  background: #eef0ed;
}
html[data-design="carrot"] .step.active { color: var(--ink); }
html[data-design="carrot"] .step.active b {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
html[data-design="carrot"] .step.completed { color: var(--ink); }
html[data-design="carrot"] .step.completed b {
  border-color: var(--ink);
  background: var(--carrot-green);
  color: var(--ink);
}
html[data-design="carrot"] .step-panel[data-panel="protocol"] > .section-title { display: none; }
html[data-design="carrot"] .section-number {
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
html[data-design="carrot"] h2 { font-size: 23px; letter-spacing: -.035em; }
html[data-design="carrot"] .protocol-presentation-progress,
html[data-design="carrot"] .protocol-presentation-slide,
html[data-design="carrot"] .profile-handoff,
html[data-design="carrot"] .data-section,
html[data-design="carrot"] .protocol-route-question,
html[data-design="carrot"] .range-card,
html[data-design="carrot"] .entry-card,
html[data-design="carrot"] .verify-card {
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: #fff;
}
html[data-design="carrot"] .protocol-presentation-progress {
  padding: 13px 16px;
  box-shadow: 4px 4px 0 #dff2e3;
}
html[data-design="carrot"] .protocol-presentation-progress button b {
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
html[data-design="carrot"] .protocol-presentation-progress button.active b {
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
html[data-design="carrot"] .protocol-presentation-progress button.completed b {
  background: var(--carrot-green);
  color: var(--ink);
}
html[data-design="carrot"] .protocol-presentation-progress i { background: var(--ink); }
html[data-design="carrot"] .protocol-presentation-slide {
  min-height: 440px;
  padding: 32px;
  box-shadow: 7px 7px 0 #dff2e3;
}
html[data-design="carrot"] .protocol-slide-counter {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff0e3;
  color: #ad4f00;
}
html[data-design="carrot"] .protocol-question-slide > h3 {
  max-width: 900px;
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
html[data-design="carrot"] .protocol-question-slide > p {
  max-width: 820px;
  font-size: 14px;
}
html[data-design="carrot"] .protocol-choice-grid button {
  min-height: 156px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 #eceeea;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}
html[data-design="carrot"] .protocol-choice-primary { background: var(--yellow-soft); }
html[data-design="carrot"] .protocol-choice-secondary { background: #ededff; }
html[data-design="carrot"] .protocol-choice-grid button:hover {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-1px, -1px);
}
html[data-design="carrot"] .protocol-choice-grid strong { font-size: 18px; }
html[data-design="carrot"] .primary,
html[data-design="carrot"] .protocol-route-primary {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 4px 4px 0 var(--yellow);
}
html[data-design="carrot"] .primary:hover:not(:disabled),
html[data-design="carrot"] .protocol-route-primary:hover:not(:disabled) {
  background: var(--carrot-purple);
  box-shadow: 4px 4px 0 var(--ink);
}
html[data-design="carrot"] .protocol-slide-actions > button:not(.primary),
html[data-design="carrot"] .discovery-route-summary button,
html[data-design="carrot"] .protocol-route-secondary,
html[data-design="carrot"] .segmented,
html[data-design="carrot"] .network-mode-tabs,
html[data-design="carrot"] .chart-periods,
html[data-design="carrot"] .chart-tools {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
html[data-design="carrot"] .protocol-gateway-intro,
html[data-design="carrot"] .fundament-invite,
html[data-design="carrot"] .selection-strip,
html[data-design="carrot"] .discovery-route-summary {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow-soft);
}
html[data-design="carrot"] .selector-risk-note {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: #e5f9eb;
  color: #194f34;
}
html[data-design="carrot"] .selector-risk-accept,
html[data-design="carrot"] .selector-risk-link {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
html[data-design="carrot"] .selector-risk-accept:has(input:checked) { background: var(--yellow); }
html[data-design="carrot"] .selector-risk-check { border-color: var(--ink); border-radius: 8px; }
html[data-design="carrot"] .selector-risk-accept:has(input:checked) .selector-risk-check {
  background: var(--ink);
  color: var(--yellow);
}
html[data-design="carrot"] .network-guide,
html[data-design="carrot"] .allocation-guide,
html[data-design="carrot"] .swap-guide {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
}
html[data-design="carrot"] .network-mode-tab.active,
html[data-design="carrot"] .pool-filter.active,
html[data-design="carrot"] .segmented button.active,
html[data-design="carrot"] .chart-periods button.active {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none;
}
html[data-design="carrot"] .data-section { box-shadow: 5px 5px 0 #eceeea; }
html[data-design="carrot"] .pool-guide {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 #eceeea;
}
html[data-design="carrot"] .pool-guide-details { border-color: var(--ink); }
html[data-design="carrot"] .pool-guide-details summary {
  position: relative;
  padding: 13px 44px 13px 18px;
  background: #f7f8f5;
}
html[data-design="carrot"] .pool-guide-details summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--ink);
  font-size: 18px;
  transform: translateY(-50%);
}
html[data-design="carrot"] .pool-guide-details[open] summary::after { content: "−"; }
html[data-design="carrot"] .pool-table { min-width: 1280px; }
html[data-design="carrot"] .data-section > header,
html[data-design="carrot"] th,
html[data-design="carrot"] .network-protocol-table th { background: #f7f8f5; }
html[data-design="carrot"] tbody tr.selected,
html[data-design="carrot"] .protocol-route-row td {
  background: var(--yellow-soft);
  box-shadow: inset 4px 0 var(--yellow);
}
html[data-design="carrot"] .network-anomaly { background: #e5f9eb; }
html[data-design="carrot"] input,
html[data-design="carrot"] select {
  border-color: var(--ink);
  border-radius: 12px;
}
html[data-design="carrot"] button {
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
  touch-action: manipulation;
}
html[data-design="carrot"] button:active { transform: scale(.97); }
html[data-design="carrot"] th,
html[data-design="carrot"] td,
html[data-design="carrot"] .freshness { font-variant-numeric: tabular-nums; }
html[data-design="carrot"] .site-disclaimer {
  border-top: 1.5px solid var(--ink);
  background: #fff;
}

@media (max-width: 1100px) {
  html[data-design="carrot"] .workspace-head { grid-template-columns: 1fr; }
  html[data-design="carrot"] .stepper { width: 100%; border-radius: 18px; overflow-x: auto; }
}

@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"] .topbar-shell,
  html[data-design="carrot"] main { width: calc(100% - 24px); }
  html[data-design="carrot"] .topbar { min-height: 102px; }
  html[data-design="carrot"] .topbar-shell { min-height: 102px; }
  html[data-design="carrot"] .topnav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow: visible;
  }
  html[data-design="carrot"] .topnav::before { left: 14px; right: 14px; }
  html[data-design="carrot"] .topnav a { font-size: 10px; }
  html[data-design="carrot"] .topnav a::before { width: 24px; height: 24px; }
  html[data-design="carrot"] .workspace-head { min-height: 0; padding: 20px 0; }
  html[data-design="carrot"] h1 { font-size: 37px; }
  html[data-design="carrot"] .stepper { border-radius: 16px; }
  html[data-design="carrot"] .step { min-width: 90px; padding: 6px; }
  html[data-design="carrot"] .step span { font-size: 10px; }
  html[data-design="carrot"] .protocol-presentation-slide { min-height: 0; padding: 24px 18px; }
  html[data-design="carrot"] .protocol-question-slide > h3 { font-size: 31px; }
  html[data-design="carrot"] .protocol-choice-grid { grid-template-columns: 1fr; }
  html[data-design="carrot"] .protocol-choice-grid button { min-height: 128px; }
  html[data-design="carrot"] .pool-guide-lead { padding: 16px; }
  html[data-design="carrot"] .pool-guide-lead p { font-size: 11px; }
  html[data-design="carrot"] .pool-guide-details summary { min-height: 46px; display: flex; align-items: center; }
  html[data-design="carrot"] .pools-section .table-wrap { display: none; }
  html[data-design="carrot"] .pool-mobile-list {
    display: grid;
    gap: 12px;
    padding: 14px;
  }
  html[data-design="carrot"] .pool-mobile-card {
    padding: 16px;
    border: 1.5px solid var(--ink);
    border-radius: 15px;
    background: #fff;
    box-shadow: 3px 3px 0 #eceeea;
  }
  html[data-design="carrot"] .pool-mobile-card.recommended {
    background: var(--yellow-soft);
    box-shadow: 4px 4px 0 var(--ink);
  }
  html[data-design="carrot"] .pool-mobile-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
  }
  html[data-design="carrot"] .pool-mobile-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
  html[data-design="carrot"] .pool-mobile-identity img { flex: 0 0 32px; border-radius: 50%; }
  html[data-design="carrot"] .pool-mobile-identity div { min-width: 0; }
  html[data-design="carrot"] .pool-mobile-identity small,
  html[data-design="carrot"] .pool-mobile-identity strong { display: block; }
  html[data-design="carrot"] .pool-mobile-identity small { color: var(--muted); font-size: 9px; }
  html[data-design="carrot"] .pool-mobile-identity strong { margin-top: 4px; font-size: 18px; }
  html[data-design="carrot"] .pool-mobile-recommended,
  html[data-design="carrot"] .pool-mobile-rank {
    flex: 0 0 auto;
    padding: 5px 7px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  html[data-design="carrot"] .pool-mobile-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 13px 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  html[data-design="carrot"] .pool-mobile-card dl div { min-width: 0; padding: 10px; }
  html[data-design="carrot"] .pool-mobile-card dl div:nth-child(even) { border-left: 1px solid var(--line); }
  html[data-design="carrot"] .pool-mobile-card dl div:nth-child(n+3) { border-top: 1px solid var(--line); }
  html[data-design="carrot"] .pool-mobile-card dt { color: var(--muted); font-size: 8px; }
  html[data-design="carrot"] .pool-mobile-card dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  html[data-design="carrot"] .pool-mobile-action {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 3px 3px 0 var(--yellow);
  }
  html[data-design="carrot"] .pool-mobile-empty {
    margin: 0;
    padding: 24px;
    color: var(--muted);
    text-align: center;
  }
}

@media (max-width: 420px) {
  html[data-design="carrot"] .brand small,
  html[data-design="carrot"] .topnav a { font-size: 0; }
  html[data-design="carrot"] .topnav a::before { font-size: 9px; }
  html[data-design="carrot"] .protocol-question-slide > h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: ease-out; }
