.bp-wrap{
  width:min(2200px, 100%);
  overflow-x:hidden;
  border-color:transparent;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.bp-wrap > .topbar{
  margin:0 0 6px;
  padding:0 0 6px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.bp-wrap > .footer{
  margin:10px 0 0;
  padding:8px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
html[data-theme] .bp-wrap > .footer{
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:0;
}
.bp-page{
  width:min(var(--satoshi-shell-width), 100%);
  margin:0 auto;
  display:grid;
  gap:8px;
  min-width:0;
}
.bp-hero,
.bp-card,
.bp-panel{
  border:1px solid var(--border,rgba(255,255,255,.1));
  background:var(--dw-surface);
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.bp-hero{
  padding:16px 18px;
  border-radius:8px;
}
.bp-hero h1{
  margin:0 0 8px;
  color:var(--text);
  font-size:clamp(1.45rem, 2.2vw, 2.15rem);
  line-height:1.05;
  letter-spacing:0;
}
.bp-kicker{
  margin:0 0 6px;
  color:var(--btcAccent);
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bp-subtitle,
.bp-note{
  max-width:980px;
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.55;
}
.bp-note{ margin-top:8px; }
.bp-note strong{ color:var(--text); font-weight:700; }
.bp-note code{
  color:var(--text);
  font-family:var(--mono);
  font-size:.82em;
}
.bp-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
.bp-card{
  min-width:0;
  border-radius:8px;
  padding:12px 13px;
}
.bp-card-label{
  color:var(--muted);
  font-size:.69rem;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.2;
  text-transform:uppercase;
}
.bp-card-value{
  margin-top:7px;
  color:var(--text);
  font-size:1.24rem;
  font-weight:740;
  line-height:1.15;
  word-break:break-word;
}
.bp-card-sub{
  margin-top:5px;
  color:var(--muted);
  font-size:.76rem;
  line-height:1.35;
}
.bp-card-sub a,
.bp-note a,
.bp-table a,
.bp-mile-meta a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px dotted color-mix(in srgb, currentColor 45%, transparent);
}
.bp-positive{ color:var(--accent,#3ddc97); }
.bp-negative{ color:var(--error,#ef4444); }
.bp-table td.bp-positive{ color:var(--accent,#3ddc97); }
.bp-table td.bp-negative{ color:var(--error,#ef4444); }
html[data-theme-mode="day"] .bp-positive{ color:var(--dw-ok); }
html[data-theme-mode="day"] .bp-negative{ color:var(--dw-bad); }
html[data-theme-mode="day"] .bp-table td.bp-positive{ color:var(--dw-ok); }
html[data-theme-mode="day"] .bp-table td.bp-negative{ color:var(--dw-bad); }
.bp-fiat-switch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  padding:8px 10px;
  border:1px solid var(--border,rgba(255,255,255,.1));
  border-radius:8px;
  background:var(--dw-surface);
}
.bp-fiat-label{
  color:var(--muted);
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}
.bp-fiat-options{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  flex-wrap:wrap;
}
.bp-fiat-btn{
  min-width:38px;
  min-height:28px;
  padding:3px 7px;
  border:1px solid var(--border,rgba(255,255,255,.1));
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-family:var(--mono);
  font-size:.69rem;
  font-weight:740;
  letter-spacing:0;
  line-height:1;
  transition:background .12s ease, color .12s ease, border-color .12s ease;
}
.bp-fiat-btn:hover{
  color:var(--btcAccent);
  background:color-mix(in srgb, var(--dw-btc) 12%, var(--dw-surface));
}
.bp-fiat-btn[aria-pressed="true"]{
  color:var(--text);
  background:color-mix(in srgb, var(--dw-btc) 12%, var(--dw-surface));
  border-color:var(--dw-btc);
}
.bp-panel{
  min-width:0;
  border-radius:8px;
  overflow:hidden;
}
.bp-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-bottom:1px solid var(--border,rgba(255,255,255,.1));
  background:var(--dw-raised);
}
.bp-section-title{
  color:var(--text);
  font-size:.9rem;
  font-weight:700;
  line-height:1.25;
}
.bp-panel-note{
  margin-top:2px;
  color:var(--muted);
  font-size:.73rem;
  line-height:1.35;
}
.bp-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.bp-segment{
  display:inline-flex;
  align-items:center;
  gap:2px;
  padding:2px;
  border:1px solid var(--border,rgba(255,255,255,.1));
  border-radius:8px;
  background:var(--dw-surface);
}
.bp-segment button,
.bp-icon-btn,
.bp-table-download{
  min-height:28px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font:inherit;
  transition:background .12s ease, color .12s ease, border-color .12s ease;
}
.bp-segment button{
  padding:3px 7px;
  font-family:var(--mono);
  font-size:.69rem;
  font-weight:700;
  letter-spacing:.02em;
}
.bp-segment button[aria-pressed="true"]{
  color:var(--text);
  background:color-mix(in srgb, var(--dw-btc) 12%, var(--dw-surface));
  border-color:var(--dw-btc);
}
.bp-segment button:hover,
.bp-icon-btn:hover,
.bp-table-download:hover{
  color:var(--btcAccent);
  background:color-mix(in srgb, var(--dw-btc) 12%, var(--dw-surface));
}
.bp-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  padding:0;
  border-color:var(--border,rgba(255,255,255,.1));
}
.bp-icon-btn svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bp-chart-wrap{
  position:relative;
  min-height:330px;
  padding:8px 8px 0;
}
.bp-chart{
  display:block;
  width:100%;
  height:auto;
  min-height:320px;
  overflow:visible;
}
.bp-chart-grid{ stroke:rgba(148,163,184,.18); stroke-width:.8; }
.bp-chart-axis{ stroke:rgba(148,163,184,.32); stroke-width:1; }
.bp-chart-txt{ fill:var(--muted); font-size:10px; font-family:var(--mono); }
.bp-chart-line{ fill:none; stroke:var(--btcAccent); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
.bp-chart-area{ opacity:.18; }
.bp-chart-hover-line{ stroke:rgba(247,147,26,.55); stroke-width:1; stroke-dasharray:4 4; pointer-events:none; }
.bp-chart-hover-dot{ fill:var(--btcAccent); stroke:rgba(255,255,255,.7); stroke-width:1.5; pointer-events:none; }
.bp-chart-overlay{ position:absolute; inset:8px 8px 0; cursor:crosshair; }
.bp-chart-empty{
  padding:60px 12px;
  color:var(--muted);
  text-align:center;
  font-size:.86rem;
}
.bp-brush-wrap{
  height:58px;
  margin:0 8px 8px;
  border-top:1px solid var(--border,rgba(255,255,255,.08));
  cursor:default;
  touch-action:none;
  overflow:hidden;
}
.bp-brush-svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.bp-brush-line{ fill:none; stroke:var(--btcAccent); stroke-width:1.1; opacity:.75; }
.bp-brush-area{ fill:var(--btcAccent); opacity:.08; }
.bp-brush-dim{ fill:rgba(0,0,0,.42); }
html:not([data-theme="dark"]) .bp-brush-dim{ fill:rgba(0,0,0,.16); }
.bp-brush-border{ fill:none; stroke:rgba(255,255,255,.55); stroke-width:1; }
html:not([data-theme="dark"]) .bp-brush-border{ stroke:rgba(0,0,0,.42); }
.bp-brush-handle{ fill:rgba(255,255,255,.72); cursor:ew-resize; }
html:not([data-theme="dark"]) .bp-brush-handle{ fill:rgba(70,70,70,.62); }
.bp-brush-hit{ fill:transparent; pointer-events:all; }
.bp-brush-hit-left,
.bp-brush-hit-right{ cursor:ew-resize; }
.bp-brush-hit-move{ cursor:grab; }
.bp-brush-wrap.is-dragging .bp-brush-hit-move{ cursor:grabbing; }
.bp-tooltip{
  position:absolute;
  z-index:10;
  min-width:190px;
  padding:8px 9px;
  border:1px solid var(--border,rgba(255,255,255,.12));
  border-radius:8px;
  background:var(--dw-surface);
  box-shadow:0 14px 30px rgba(0,0,0,.22);
  color:var(--text);
  font-size:.74rem;
  line-height:1.3;
  pointer-events:none;
  opacity:0;
  transform:translateY(3px);
  transition:opacity .1s ease, transform .1s ease;
}
.bp-tooltip.visible{ opacity:1; transform:translateY(0); }
.bp-tooltip-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:2px 0;
}
.bp-tooltip-label{ color:var(--muted); }
.bp-tooltip-val{ font-family:var(--mono); color:var(--text); text-align:right; }
.bp-milestones{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:0;
}
.bp-mile{
  padding:12px;
  border-top:1px solid var(--border,rgba(148,163,184,.10));
  border-right:1px solid var(--border,rgba(148,163,184,.10));
  min-width:0;
}
.bp-mile:last-child{ border-right:0; }
.bp-mile-label{
  color:var(--text);
  font-size:1rem;
  font-weight:740;
  line-height:1.2;
}
.bp-mile-meta{
  margin-top:4px;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.35;
}
.bp-mile-meta span{
  display:block;
}
.bp-mile.is-pending .bp-mile-label,
.bp-mile.is-pending .bp-mile-meta{
  color:var(--muted);
}
.bp-table-wrap{ overflow-x:auto; }
.bp-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
.bp-table th,
.bp-table td{
  padding:8px 10px;
  border-top:1px solid var(--border,rgba(148,163,184,.10));
  color:var(--text);
  font-size:.78rem;
  text-align:right;
  white-space:nowrap;
}
.bp-table th{
  color:var(--muted);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  background:var(--dw-surface);
}
.bp-table th:first-child,
.bp-table td:first-child{ text-align:left; }
.bp-table-download{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 8px;
  border-color:var(--border,rgba(255,255,255,.1));
  font-size:.72rem;
  font-weight:700;
}
@media(max-width:1120px){
  .bp-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bp-milestones{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px){
  .bp-grid,
  .bp-milestones{ grid-template-columns:1fr; }
  .bp-fiat-switch{ align-items:flex-start; flex-direction:column; }
  .bp-fiat-options{ justify-content:flex-start; }
  .bp-panel-head{ align-items:flex-start; flex-direction:column; }
  .bp-actions{ justify-content:flex-start; }
  .bp-chart-wrap{ min-height:250px; }
  .bp-chart{ min-height:240px; }
  .bp-brush-wrap{ height:52px; }
  .bp-mile{ border-right:0; }
}
