/* Sistema visual: pesquisa financeira, superfícies claras e navegação azul-profundo. */
:root {
  --bg: #f3f5f8;
  --bg-soft: #eef1f5;
  --panel: #fff;
  --line: #dde3eb;
  --text: #152238;
  --muted: #59677b;
  --accent: #1b527e;
  --accent-2: #17476e;
  --radius: 12px;
  --grad: linear-gradient(135deg, #17476e, #216896);
  --grad-soft: linear-gradient(120deg, #edf3f8, #fff);
  --shadow: 0 2px 4px #14223804;
  --orange: #ad570d;
  --rail: 224px;
  --header: 76px;
}
body {
  font-size: 16px;
  line-height: 1.6;
}
h1 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
h3 {
  line-height: 1.4;
}
p {
  margin: 10px 0 16px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  min-height: 42px;
}
a {
  text-underline-offset: 3px;
}
img,
svg {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.small {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.topbar {
  height: var(--header);
  padding: 12px 28px;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 35;
}
.brand {
  min-width: 240px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: #f7931a;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 28px;
}
.brand strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}
.brand-bitcoin {
  font-weight: 400;
}
.brand small {
  font-size: 12px;
  color: var(--muted);
}
.topbar-context {
  font-size: 12px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.net {
  font-size: 13px;
  white-space: nowrap;
  color: #20644f;
  background: #edf7f1;
  padding: 4px 10px;
  border-radius: 6px;
}
.net.off {
  color: #95491a;
  background: #fff2e5;
}
.install-btn {
  box-shadow: none;
  border-radius: 7px;
  min-height: 34px;
  font-size: 14px;
}
.tabs {
  position: fixed;
  left: 0;
  top: var(--header);
  bottom: 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 14px;
  background: #111c30;
  overflow-y: auto;
  overflow-x: hidden;
  border: 0;
}
.tabs a {
  flex: 0 0 auto;
  border: 0;
  border-radius: 7px;
  min-height: 42px;
  padding: 8px 12px;
  color: #bbc6d8;
  font-size: 14px;
  gap: 11px;
}
.tabs a:hover {
  background: #1c2c45;
  color: #fff;
  transform: none;
}
.tabs a.active {
  background: #263b57;
  color: #fff;
  box-shadow: inset 3px 0 #f7931a;
}
.nav-symbol {
  font-size: 19px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  width: 20px;
  color: #91a2bc;
}
.active .nav-symbol {
  color: #ffb258;
}
.nav-group {
  color: #7f90ab;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin: 17px 12px 6px;
}
.nav-group:first-child {
  margin-top: 0;
}
.nav-beta {
  font-size: 9px;
  margin-left: auto;
  letter-spacing: 0.04em;
  border: 1px solid #57657a;
  padding: 0 4px;
  border-radius: 3px;
  color: #c9d2df;
}
.nav-note {
  margin: 28px 12px 6px;
  padding-top: 18px;
  border-top: 1px solid #2b374a;
  color: #8fa0b8;
  font-size: 13px;
}
.nav-note strong {
  color: #c7d1df;
  font-weight: 500;
}
.nav-note a {
  padding: 8px 0;
  font-size: 12px;
  min-height: 0;
  text-decoration: underline;
}
.app {
  margin-left: var(--rail);
  min-height: calc(100vh - 152px);
}
.pad,
.legacy-page {
  max-width: 1240px;
  padding: 32px clamp(20px, 3vw, 40px) 48px;
  margin: 0 auto;
}
.pad > * {
  min-width: 0;
}
.site-footer {
  margin-left: var(--rail);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.site-footer > span:first-child {
  font-weight: 650;
  color: var(--text);
}
.site-footer a {
  margin-left: auto;
  color: var(--muted);
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.page-head h1 {
  margin: 6px 0 8px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 660px;
  font-size: 15px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.head-actions button {
  margin: 0;
}
.data-status {
  font-size: 12px;
  color: var(--muted);
}
.data-status[data-state="stale"] {
  color: #994812;
}
.market-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}
.network-label {
  font-weight: 600;
  color: #39506b;
}
.network-label:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #387e61;
  margin-right: 7px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.market-metric {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 154px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.market-metric .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 550;
}
.market-metric .value {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.market-metric .detail {
  font-size: 13px;
  color: var(--muted);
}
.market-metric .source {
  margin-top: auto;
  font-size: 11px;
  color: #68768a;
}
.market-metric.price {
  border-top: 3px solid #ed8b27;
  padding-top: 18px;
}
.data-unavailable {
  color: var(--muted);
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: stretch;
  margin: 20px 0;
}
.surface {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.surface h2 {
  margin: 0;
  font-size: 19px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading a {
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
}
.surface .intro {
  color: var(--muted);
  font-size: 14px;
}
.halving-surface {
  background: #13263d;
  color: #fff;
  border-color: #13263d;
}
.halving-surface .eyebrow,
.halving-surface .intro,
.halving-surface .small {
  color: #b7c6d8;
}
.halving-surface h2 {
  color: #fff;
}
.halving-surface a {
  color: #ffd2a0;
}
.halving-count {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 24px 0 8px;
  font-variant-numeric: tabular-nums;
}
.halving-count small {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  color: #c9d4e3;
}
.cycle-progress {
  height: 7px;
  background: #35465d;
  border-radius: 9px;
  margin: 24px 0 8px;
  overflow: hidden;
}
.cycle-progress > span {
  display: block;
  height: 100%;
  background: #f5a04a;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #c1cfe0;
}
.halving-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #3c4c62;
}
.halving-facts span {
  display: block;
  font-size: 12px;
  color: #b6c5d9;
}
.halving-facts strong {
  display: block;
  font-size: 19px;
  margin: 3px 0;
  color: #fff;
}
.halving-surface .fine-print {
  font-size: 12px;
  color: #b6c5d9;
  line-height: 1.5;
  margin: 20px 0 0;
}
.stat-rows {
  margin: 0;
}
.stat-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid #e9edf2;
}
.stat-rows > div:last-child {
  border-bottom: 0;
}
.stat-rows dt {
  font-size: 14px;
  color: var(--muted);
}
.stat-rows dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.block-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}
.block-tile {
  border: 1px solid #cdd9e4;
  border-top: 3px solid #5c819e;
  border-radius: 7px;
  text-decoration: none;
  padding: 12px 8px;
  background: #f7f9fb;
  text-align: center;
  min-width: 0;
  color: var(--text);
}
.block-tile:first-child {
  border-top-color: #ed8b27;
  background: #fff9f1;
}
.block-tile strong {
  display: block;
  font-size: 13px;
}
.block-tile span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.source-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
}
.topic-card .topic-index {
  color: #ad601a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.topic-card h3 {
  font-size: 17px;
  margin: 0;
}
.topic-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}
.topic-card .topic-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--accent);
}
.topic-card:hover {
  border-color: #839eb7;
}
.info-note {
  padding: 14px 18px;
  background: #eaf0f6;
  border-left: 3px solid #7090af;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #41546b;
}
.source-details {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.source-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.source-details ul {
  padding-left: 20px;
}
.source-details li {
  margin: 9px 0;
}
.source-details a {
  overflow-wrap: anywhere;
}
.cycle-chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 24px 0 8px;
}
.cycle-chart text {
  font: 13px system-ui;
  fill: #637185;
}
.cycle-chart .chart-label {
  fill: #152238;
  font-weight: 600;
}
.cycle-table td,
.cycle-table th {
  padding: 14px 12px;
  white-space: nowrap;
}
.cycle-table tr.current td {
  background: #fff5e8;
}
.cycle-table th {
  background: #f0f4f8;
  color: #314761;
}
.cycle-table tr:nth-child(even):not(.current) td {
  background: #fafbfd;
}
.cycle-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.event-list li:last-child {
  border: 0;
}
.event-date {
  background: #eef3f8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 55px;
  font-size: 11px;
  color: var(--muted);
}
.event-date strong {
  font-size: 19px;
  color: var(--text);
}
.event-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}
.event-list p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.event-list a {
  font-size: 13px;
}
.calculator-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.calculator-form label {
  font-size: 14px;
  color: var(--muted);
}
.calculator-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #f9fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 10px;
  min-height: 44px;
}
.calculator-output {
  padding: 18px;
  border-radius: 8px;
  background: #edf3f8;
  font-size: 15px;
}
.calculator-output strong {
  font-size: 23px;
  letter-spacing: -0.02em;
}
.calculator-output p {
  font-size: 14px;
  margin-bottom: 0;
}
/* Mesma escala para as telas existentes: títulos, superfícies e formulários. */
.card,
.watchonly,
.crown,
.ck-group,
.tl-card {
  box-shadow: none;
  border-radius: var(--radius);
}
.card h3 {
  font-size: 15px;
}
.card .big {
  font-size: 28px;
}
.cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}
.watchonly {
  padding: 24px;
  margin: 20px 0;
}
.watchonly h2 {
  font-size: 20px;
}
.crown {
  padding: 24px;
  background: #fff;
}
.crown h1 {
  font-size: 30px;
}
.banner {
  font-size: 14px;
}
.regform {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  padding: 18px;
  background: #f7f9fc;
  box-shadow: none;
}
.regform label {
  font-size: 14px;
  min-width: 0;
}
.regform input,
.regform select,
.regform textarea {
  font-size: 16px;
  background: #fff;
  min-height: 44px;
}
.regform button,
.btn-primary {
  height: auto;
  min-height: 44px;
  font-size: 14px;
  box-shadow: none;
  border-radius: 7px;
  font-weight: 600;
}
.btn-ghost {
  font-size: 14px;
  padding: 9px 14px;
  margin-top: 0;
  border-radius: 7px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}
.regactions {
  gap: 8px;
}
.regactions > * {
  max-width: 100%;
  white-space: normal;
}
.mono {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.legacy-hero {
  padding: 28px 32px;
  border-radius: 12px;
  background: #152b43;
  box-shadow: none;
  margin: 0 0 20px;
}
.legacy-hero h1 {
  font-size: 34px;
  max-width: 720px;
}
.legacy-hero p {
  font-size: 16px;
  max-width: 800px;
}
.legacy-hero::after {
  display: none;
}
.legacy-trustline {
  margin-top: 16px;
}
.legacy-kicker {
  font-size: 12px;
}
.legacy-health {
  gap: 16px;
}
.legacy-metric-label {
  font-size: 12px;
}
.legacy-metric {
  border-top-width: 2px;
}
.legacy-package-grid > div,
.legacy-roadmap-grid > div,
.legacy-path-step {
  background: #f6f8fb;
}
.legacy-proof {
  background: #f0f5f9;
  border-color: #a8bbcf;
}
.legacy-roadmap-grid .is-current {
  background: #edf3f8;
  border-color: #a8bbcf;
}
.legacy-confirm {
  font-size: 14px;
}
.soon,
.ro-badge {
  font-size: 12px;
}
.quick .q {
  font-size: 15px;
  box-shadow: none;
}
.progress {
  background: #e5ebf2;
}
.layout {
  max-width: 1240px;
  margin: auto;
}
.sidebar {
  top: var(--header);
  width: 242px;
  min-width: 242px;
  height: calc(100vh - var(--header));
  padding: 22px 12px;
  background: #f3f5f8;
}
.content {
  padding: 32px;
  min-width: 0;
}
.doc {
  max-width: 760px;
}
.doc h1 {
  font-size: 30px;
}
.doc h3 {
  color: #244867;
}
.doc code {
  color: #204f77;
  background: #edf3f8;
}
.doc pre,
.doc blockquote {
  background: #edf3f8;
}
.nav-foot {
  font-size: 12px;
  color: var(--muted);
}
#chapterList a:hover,
#chapterList a.active {
  background: #e1eaf3;
}
.tl-card p {
  color: var(--muted);
}
.tl-tag {
  font-size: 12px;
}
.seedwords li {
  background: #f1f5f9;
}
.msg .bubble {
  font-size: 16px;
}
.msg.assistant .bubble code {
  background: #edf3f8;
}
.hero {
  display: none;
}
.app .pad > h1 {
  margin-bottom: 14px;
}
.tool-disclosure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 12px 0;
  scroll-margin-top: 135px;
}
.tool-disclosure > summary {
  cursor: pointer;
  padding: 18px 22px;
  list-style-position: outside;
  margin-left: 18px;
  color: var(--accent);
}
.tool-disclosure > summary h2 {
  display: inline;
  font-size: 18px;
  color: var(--text);
  margin: 0;
}
.tool-disclosure > summary h2 span {
  font-size: 12px;
}
.tool-disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
}
.tool-disclosure > .watchonly {
  margin: 0;
  border: 0;
  background: transparent;
}
.tool-disclosure > summary:hover {
  background: #f6f9fc;
}
.tool-disclosure .banner {
  margin-top: 0;
}
.market-metric .value small {
  font-size: 15px;
  font-weight: 450;
  letter-spacing: 0;
}
@media (min-width: 1500px) {
  :root {
    --rail: 244px;
  }
  .tabs {
    padding: 24px 20px;
  }
}
@media (max-width: 1180px) {
  :root {
    --rail: 200px;
  }
  .tabs {
    padding: 20px 8px;
  }
  .tabs a {
    gap: 8px;
    padding: 8px;
  }
  .nav-beta {
    display: none;
  }
  .market-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 1fr);
  }
  .metric-grid {
    gap: 12px;
  }
  .market-metric {
    padding: 16px;
  }
  .market-metric.price {
    padding-top: 14px;
  }
  .block-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topbar-context {
    display: none;
  }
  .legacy-package-grid,
  .legacy-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    padding: 18px;
  }
  .page-head {
    align-items: flex-start;
  }
  .head-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .legacy-health {
    grid-template-columns: 1fr;
  }
  .calculator-form {
    grid-template-columns: 1fr 1fr;
  }
  .block-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  :root {
    --header: 68px;
    --rail: 0px;
  }
  .topbar {
    padding: 10px 16px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    gap: 8px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand small {
    font-size: 11px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 25px;
  }
  .net {
    font-size: 12px;
    padding: 3px 7px;
  }
  .tabs {
    position: sticky;
    top: var(--header);
    bottom: auto;
    width: 100%;
    height: 53px;
    flex-direction: row;
    gap: 6px;
    padding: 7px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    z-index: 25;
  }
  .tabs a {
    font-size: 13px;
    min-height: 36px;
    padding: 6px 11px;
    gap: 7px;
  }
  .tabs a.active {
    box-shadow: inset 0 -2px #f7931a;
  }
  .nav-group,
  .nav-note {
    display: none;
  }
  .nav-symbol {
    font-size: 16px;
    width: 16px;
  }
  .app {
    margin-left: 0;
  }
  .pad,
  .legacy-page {
    padding: 24px 16px 36px;
  }
  .site-footer {
    margin-left: 0;
    padding: 20px 16px;
    gap: 8px 16px;
  }
  .site-footer a {
    margin-left: 0;
  }
  .page-head {
    gap: 12px;
    margin-bottom: 20px;
  }
  .page-head p {
    font-size: 14px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .head-actions button {
    font-size: 13px;
    padding: 7px 10px;
    min-height: 36px;
  }
  .head-actions .data-status {
    display: none;
  }
  .market-toolbar {
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .surface {
    padding: 20px;
  }
  .metric-grid {
    gap: 10px;
    margin-bottom: 16px;
  }
  .market-metric {
    padding: 15px;
    min-height: 141px;
  }
  .market-metric.price {
    padding-top: 13px;
  }
  .market-metric .value {
    font-size: 25px;
  }
  .market-metric .label {
    font-size: 12px;
  }
  .market-metric .detail {
    font-size: 12px;
  }
  .market-grid {
    margin: 16px 0;
    gap: 16px;
  }
  .block-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .halving-count {
    font-size: 48px;
  }
  .legacy-hero {
    padding: 24px;
  }
  .legacy-hero h1 {
    font-size: 30px;
  }
  .legacy-hero p {
    font-size: 15px;
  }
  .watchonly,
  .crown {
    padding: 20px;
  }
  .crown h1 {
    font-size: 28px;
  }
  .legacy-package-grid,
  .legacy-roadmap-grid {
    grid-template-columns: 1fr;
  }
  .legacy-path {
    grid-template-columns: 1fr;
  }
  .legacy-proof > div {
    grid-template-columns: 1fr;
  }
  .sidebar {
    z-index: 40;
    width: 270px;
    min-width: 270px;
    top: 0;
    height: 100vh;
  }
  .content {
    padding: 24px 16px;
  }
  .backdrop {
    z-index: 38;
  }
  .topbar .menu-btn {
    min-width: 36px;
    width: 36px;
    height: 36px;
    min-height: 36px;
  }
  .install-btn {
    font-size: 12px;
    padding: 6px 8px;
  }
  .legacy-path-line {
    width: 2px;
    height: 18px;
    margin-left: 25px;
  }
}
@media (max-width: 860px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
  .book-close {
    display: block;
    margin-bottom: 16px;
  }
}
@media (min-width: 861px) {
  .book-close {
    display: none;
  }
}
@media (max-width: 400px) {
  .brand-bitcoin {
    display: none;
  }
  .market-metric .value {
    font-size: 21px;
  }
  .market-metric {
    padding: 12px;
  }
  .market-metric.price {
    padding-top: 10px;
  }
  .calculator-form {
    grid-template-columns: 1fr;
  }
  .section-heading {
    gap: 8px;
    flex-wrap: wrap;
  }
  .metric-grid {
    gap: 8px;
  }
  .head-actions .btn-ghost {
    font-size: 12px;
  }
  .legacy-hero {
    padding: 20px;
  }
}
