#dashboard-view { display: block; }
.observatory-home { padding: 46px 0 80px; }
.home-risk-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: clamp(34px, 7vw, 100px); align-items: center; padding: clamp(34px, 6vw, 82px); border: 1px solid var(--line); border-radius: 26px 26px 0 0; background: radial-gradient(circle at 88% 15%, #f7931a20, transparent 36%), linear-gradient(145deg, #fffdf8, #f7f0e2); box-shadow: 0 30px 90px #2720140d; }
.home-hero-intro h1 { max-width: 760px; margin: 10px 0 20px; font: 400 clamp(46px, 6vw, 82px)/.98 Georgia, serif; letter-spacing: -.055em; }
.home-hero-intro > p { max-width: 660px; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; }
.home-btc { display: grid; gap: 3px; width: max-content; margin-top: 34px; padding: 14px 18px; border-left: 3px solid #f7931a; background: #ffffffa8; }
.home-btc span, .home-current-card p, .home-example span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-btc strong { font: 400 30px/1.1 Georgia, serif; }
.home-btc small { color: var(--muted); font-size: 9px; }
.home-pro-card { padding: clamp(28px, 4vw, 46px); border: 1px solid #d8c49c; border-radius: 22px; background: #1f2926; color: #fffdf8; box-shadow: 0 20px 55px #202a2729; }
.home-pro-card > div { display: flex; align-items: baseline; margin: 28px 0 16px; }
.home-pro-card > div strong { font: 400 clamp(58px, 7vw, 88px)/.7 Georgia, serif; letter-spacing: .03em; }
.home-pro-card > div span { margin-left: 10px; color: #d5d1c8; }
.home-pro-card small { display: block; color: #d5d1c8; line-height: 1.5; }
.home-pro-card em { display: block; margin-top: 12px; color: #9fa9a3; font-size: 9px; font-style: normal; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 28px; }
.home-hero-actions button:first-child { border-color: #f7931a; background: #f7931a; color: #231d14; }
.home-hero-actions a { margin-left: 6px; color: #77501e; font-size: 11px; }
.home-current-card { padding: clamp(28px, 4vw, 46px); border: 1px solid #d8c49c; border-radius: 22px; background: #1f2926; color: #fffdf8; box-shadow: 0 20px 55px #202a2729; }
.home-current-card > div:first-child { padding-bottom: 24px; border-bottom: 1px solid #ffffff24; }
.home-current-card > div:first-child > strong { display: inline-block; margin: 20px 5px 12px 0; font: 400 clamp(54px, 6vw, 82px)/.8 Georgia, serif; letter-spacing: -.06em; }
.home-risk-indicator { --risk-color: #75817c; display: grid; place-items: center; width: clamp(150px, 15vw, 190px); aspect-ratio: 1; margin: 20px auto 12px; border: 12px solid var(--risk-color); border-radius: 50%; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff18, 0 12px 28px #0003; }
.home-risk-indicator.is-low { --risk-color: #4ba67f; }
.home-risk-indicator.is-moderate { --risk-color: #d1b34f; }
.home-risk-indicator.is-high { --risk-color: #df852e; }
.home-risk-indicator.is-very-high { --risk-color: #cc5549; }
.home-risk-indicator strong { margin: 0 !important; font: 400 clamp(52px, 6vw, 78px)/1 Georgia, serif !important; letter-spacing: -.06em; }
.home-risk-classification { display: block; margin-bottom: 14px; color: #dce2de; font-size: 11px; letter-spacing: .16em; text-align: center; }
.home-current-card > div:first-child > small { display: block; text-align: center; }
.home-current-card > div:first-child span, .home-current-card small { color: #aeb8b2; font-size: 10px; }
.risk-scale i { position: relative; }
#home-risk-position { position: absolute; top: 50%; width: 14px; height: 14px; border: 3px solid #1f2926; border-radius: 50%; background: #f7931a; box-shadow: 0 0 0 2px #fff; transform: translate(-50%,-50%); }
.home-current-btc { padding-top: 22px; }
.home-current-btc strong { display: block; margin: 7px 0; font: 400 28px/1 Georgia, serif; }
.home-current-diagnostic { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff24; }
.home-current-diagnostic summary { color: #f4b45e; font-size: 10px; cursor: pointer; }
#home-current-diagnostic-body { display: grid; gap: 7px; max-height: 340px; margin-top: 12px; overflow-y: auto; }
.home-current-diagnostic-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 8px; border-radius: 7px; background: #ffffff0b; }
.home-current-diagnostic-row strong, .home-current-diagnostic-row b { font-size: 9px; }
.home-current-diagnostic-row b { color: #9ac8b5; }
.home-current-diagnostic-row span, .home-current-diagnostic-row small { grid-column: 1 / -1; color: #aeb8b2; font-size: 8px; }
.home-current-diagnostic-row.is-blocking b { color: #f19a8d; }
.home-pro-action, #home-open-dca, #home-open-return-explorer { margin-top: 22px; border: 0; border-radius: 999px; background: #f7931a; color: #231d14; font-weight: 800; }
.home-disclaimer { padding: 13px clamp(34px, 6vw, 82px); border: 1px solid #d8c49c; border-top: 0; border-radius: 0 0 26px 26px; background: #f8f1df; color: #665632; font-size: 11px; }
.home-flagship, .home-returns { margin-top: 26px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.home-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.home-section-head h2, .home-dca-entry h2, .home-custody h2, .home-final-cta h2 { margin: 7px 0 10px; font: 400 clamp(28px, 4vw, 48px)/1.05 Georgia, serif; letter-spacing: -.035em; }
.home-section-head p, .home-dca-entry p, .home-custody > p { max-width: 720px; color: var(--muted); line-height: 1.65; }
.home-chart-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.home-chart-actions .is-active { border-color: #f7931a; color: #ad5a00; }
.home-chart-wrap { position: relative; height: clamp(390px, 54vw, 650px); margin-top: 24px; }
.home-chart-cursor { margin-top: 18px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.home-chart-wrap output { position: absolute; left: 16px; bottom: 48px; padding: 8px 12px; border-radius: 7px; background: #1f2926e8; color: white; font-size: 11px; }
.home-chart-wrap output dl { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.home-chart-wrap output dt { color: #b8c1bc; font-size: 8px; text-transform: uppercase; }
.home-chart-wrap output dd { margin: 3px 0 0; font-variant-numeric: tabular-nums; }
.home-chart-wrap output > button { float: right; margin: -4px -5px 4px 8px; padding: 2px 7px; border-color: #ffffff35; color: white; }
.stablecoin-explorer { padding: 46px 0 80px; }
.stablecoin-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 26px; padding: clamp(30px, 5vw, 58px); border-radius: 20px; background: linear-gradient(145deg, #fffdf8, #f4ead5); }
.stablecoin-hero h1 { margin: 8px 0 12px; font: 400 clamp(40px, 6vw, 72px)/1 Georgia, serif; }
.stablecoin-hero p { max-width: 720px; color: var(--muted); line-height: 1.6; }
.stablecoin-current { display: grid; min-width: 240px; padding: 22px; border-radius: 14px; background: #253631; color: white; }
.stablecoin-current span, .stablecoin-current small { color: #bfc9c3; font-size: 9px; }
.stablecoin-current strong { margin: 9px 0; font: 400 38px/1 Georgia, serif; }
.stablecoin-chart-actions, .stablecoin-date-controls { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.stablecoin-chart-actions .is-active { border-color: #e27828; color: #ad5a00; }
.stablecoin-date-controls { margin: 18px 0 8px; }
.stablecoin-date-controls label { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 10px; }
.stablecoin-chart { position: relative; min-height: 520px; }
.stablecoin-definition { margin-top: 24px; }
.stablecoin-definition p, .stablecoin-definition li { color: var(--muted); line-height: 1.6; }
.home-risk-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr); gap: 20px; align-items: end; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #faf7f0; }
.home-risk-zone-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.home-risk-zone-inputs label { display: grid; grid-template-columns: 1fr 72px; gap: 5px 10px; align-items: center; color: var(--muted); font-size: 9px; }
.home-risk-zone-inputs input[type="range"] { grid-column: 1 / -1; width: 100%; min-height: 28px; accent-color: #e27828; touch-action: pan-y; }
.home-risk-zone-presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.home-risk-zone-presets button { padding: 5px 9px; font-size: 9px; }
#home-risk-zone-stats { display: grid; gap: 3px; padding-left: 18px; border-left: 1px solid var(--line); }
#home-risk-zone-stats strong { color: var(--muted); font-size: 9px; text-transform: uppercase; }
#home-risk-zone-stats b { font: 400 34px/1 Georgia, serif; }
#home-risk-zone-stats span, #home-risk-zone-stats small { color: var(--muted); font-size: 9px; }
.home-cutoff-cta { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; margin-top: 18px; padding: 18px 22px; border-radius: 12px; background: #f8f1df; }
.home-cutoff-cta span { color: var(--muted); font-size: 10px; }
.home-cutoff-cta .home-pro-action { margin: 0; background: transparent; color: #9c5200; }
.home-example { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #faf7f0; }
.home-example p { display: flex; justify-content: space-between; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.home-example p:last-child { border: 0; }
.home-dca-entry { display: grid; grid-template-columns: 1.1fr .7fr auto; gap: 36px; align-items: center; padding: clamp(30px, 5vw, 62px); border-radius: 20px; background: #253631; color: #fff; }
.home-dca-entry p { color: #cad1cc; }
.home-dca-entry ul { margin: 0; padding-left: 18px; color: #e8e9e5; font-size: 12px; line-height: 2; }
#home-open-dca { white-space: nowrap; }
.home-dca-calculator { grid-column: 1 / -1; padding-top: 34px; border-top: 1px solid #ffffff24; }
.home-dca-settings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.home-dca-settings label, .home-dca-rule-columns label { display: grid; gap: 7px; color: #d9ddda; font-size: 10px; }
.home-dca-settings input, .home-dca-settings select, .home-dca-rule-columns input { width: 100%; }
.home-dca-rule-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.home-dca-rule-columns fieldset { padding: 20px; border: 1px solid #ffffff24; border-radius: 12px; }
.home-dca-rule-columns legend { padding: 0 8px; font-weight: 800; }
#home-dca-rules { display: grid; gap: 12px; }
.home-buy-ruler { display: flex; min-height: 58px; overflow: hidden; border: 1px solid #ffffff38; border-radius: 8px; }
.home-buy-ruler span { display: grid; place-content: center; min-width: 34px; padding: 6px 2px; background: color-mix(in srgb, #f7931a calc(20% + var(--band, 0%)), #253631); text-align: center; }
.home-buy-ruler span:nth-child(odd) { background: #7e5a2f; }
.home-buy-ruler b, .home-buy-ruler small { font-size: 9px; }
.home-buy-boundaries, .home-buy-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.home-buy-boundaries label { grid-template-columns: 1fr auto; padding: 8px; border: 1px solid #ffffff1f; border-radius: 7px; }
.home-buy-boundaries input[type="range"] { grid-column: 1 / -1; }
.home-buy-boundaries button { padding: 3px 7px; }
.home-buy-amounts label { padding: 8px; border-radius: 7px; background: #ffffff0b; }
.home-add-boundary, .home-dca-date-presets, .home-sell-rule { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.home-add-boundary label { max-width: 130px; }
.home-dca-date-presets { margin-top: 10px; }
.home-dca-date-presets span { align-self: center; color: #aeb8b2; font-size: 9px; }
.home-dca-rule-columns fieldset:last-child { display: grid; gap: 10px; align-content: start; }
.home-sell-rule { padding: 10px; border: 1px solid #ffffff1f; border-radius: 8px; }
.home-sell-rule label { flex: 1 1 80px; }
.home-dca-rule-columns small { grid-column: 1 / -1; color: #aeb8b2; }
.home-dca-results { margin-top: 18px; border-radius: 10px; background: #fff; color: var(--ink); overflow: hidden; }
.home-dca-headlines { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.home-dca-headlines article { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 18px; background: white; }
.home-dca-headlines article > span { grid-column: 1 / -1; color: #8c5b16; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.home-dca-headlines article div { display: grid; gap: 5px; }
.home-dca-headlines small { color: var(--muted); font-size: 9px; }
.home-dca-headlines strong { font-size: 13px; }
.home-dca-detail { margin-top: 10px; padding: 12px 16px; border: 1px solid #ffffff24; border-radius: 9px; }
#home-dca-detail-results > div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #ffffff18; font-size: 10px; }
.home-dca-chart-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.home-dca-chart-controls .is-active { border-color: #f7931a; background: #f7931a; color: #231d14; }
.home-dca-result-head { background: #f4ead5; }
.home-capital-warning { margin: 0; padding: 14px; color: #714b13 !important; background: #fff4d9; }
.home-dca-chart { height: 360px; margin-top: 18px; padding: 12px; border-radius: 10px; background: white; }
.home-access { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 14px; margin-top: 26px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; }
.home-access > div { padding-right: 22px; }
.home-access h2 { margin: 7px 0 10px; font: 400 clamp(27px, 3vw, 40px)/1.08 Georgia, serif; letter-spacing: -.03em; }
.home-access p, .home-access li { color: var(--muted); line-height: 1.6; }
.home-access article { padding: 20px; border-radius: 12px; background: #f4ead5; }
.home-access article:last-child { background: #253631; color: white; }
.home-access article > span { color: #a65a12; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.home-access article:last-child > span { color: #f4b45e; }
.home-access h3 { margin: 9px 0; font: 400 22px/1.1 Georgia, serif; }
.home-access ul { margin: 0; padding-left: 17px; font-size: 11px; }
.home-access article:last-child li { color: #d9ddda; }
.home-heatmap-wrap { overflow-x: auto; margin-top: 24px; padding-bottom: 7px; }
#home-monthly-returns { min-width: 960px; width: 100%; border-collapse: separate; border-spacing: 4px; }
#home-monthly-returns th { padding: 7px; color: var(--muted); font-size: 9px; }
#home-monthly-returns td { min-width: 60px; padding: 9px 5px; border-radius: 5px; background: #f0ede6; font-size: 10px; font-variant-numeric: tabular-nums; text-align: center; }
#home-monthly-returns .return-positive { background: #dcece4; color: #19584c; }
#home-monthly-returns .return-negative { background: #f1deda; color: #813930; }
#home-monthly-returns .return-positive.strength-2, #home-monthly-returns .return-positive.strength-3, #home-monthly-returns .return-positive.strength-4 { background: #397f70; color: white; }
#home-monthly-returns .return-negative.strength-2, #home-monthly-returns .return-negative.strength-3, #home-monthly-returns .return-negative.strength-4 { background: #b34f45; color: white; }
#home-monthly-returns td[data-monthly-period] { cursor: pointer; touch-action: manipulation; outline-offset: -2px; }
#home-monthly-returns td[data-monthly-period]:focus-visible { outline: 2px solid #253631; }
#home-monthly-returns td.is-selected { box-shadow: inset 0 0 0 3px #253631, 0 2px 7px #25363138; font-weight: 800; }
.home-return-stats { display: grid; grid-template-columns: repeat(12, minmax(74px, 1fr)); gap: 0; margin-top: 18px; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-return-stats div { display: grid; gap: 3px; padding: 11px 8px; border-right: 1px solid var(--line); }
.home-return-stats span, .home-return-stats small { color: var(--muted); font-size: 10px; }
.home-monthly-selection { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #f4f0e6; font-size: 11px; }
.home-monthly-selection p { margin: 0; color: var(--muted); }
.home-monthly-selection dl { display: flex; align-items: center; gap: 8px 18px; flex: 1 1 680px; flex-wrap: wrap; margin: 0; }
.home-monthly-selection dl div { display: flex; gap: 5px; white-space: nowrap; }
.home-monthly-selection dt { color: var(--muted); }
.home-monthly-selection dd { margin: 0; font-weight: 700; }
.home-monthly-selection button { margin-left: auto; padding: 6px 9px; }
.home-yearly-chart { height: 360px; margin-top: 24px; }
.home-return-explorer #home-return-explorer-slot > .panel { margin: 22px 0 0; padding: 0; border: 0; box-shadow: none; }
.home-return-explorer #home-return-explorer-slot, .home-return-explorer .preserved-yearly-return-explorer { min-width: 0; }
.home-return-explorer .return-explore-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 11px; }
.home-return-explorer .return-explore-controls label { display: flex; align-items: center; gap: 6px; }
.home-return-explorer .return-controls { margin-top: 12px; }
.home-return-explorer #return-chart-wrap { height: clamp(430px, 42vw, 540px); min-width: 0; }
.home-return-explorer #return-chart { max-width: 100%; }
.return-custom-dates { margin: 16px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #faf7ef; }
.return-custom-dates > div:first-child { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.return-custom-dates label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.return-custom-dates > p { margin: 10px 0; color: var(--muted); font-size: 11px; }
.return-custom-date-list { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.return-custom-date-list button { padding: 6px 9px; }
.return-custom-table-wrap { overflow-x: auto; }
#return-custom-results { min-width: 1040px; width: 100%; border-collapse: collapse; font-size: 11px; }
#return-custom-results th, #return-custom-results td { padding: 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
#return-custom-results th:first-child, #return-custom-results th:nth-child(2), #return-custom-results td:first-child, #return-custom-results td:nth-child(2) { text-align: left; }
.home-custody { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 72px 0; padding: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-final-cta { display: grid; place-items: center; padding: clamp(44px, 8vw, 90px); border-radius: 24px; background: #f4ead5; text-align: center; }
.home-final-cta p { color: var(--muted); }
.home-final-cta small { margin-top: 12px; color: var(--muted); }
#dashboard-view > :not(.observatory-home) { display: none !important; }

@media (max-width: 900px) {
  .home-risk-hero, .home-custody { grid-template-columns: 1fr; }
  .home-dca-entry, .home-access { grid-template-columns: 1fr; }
  .home-dca-settings { grid-template-columns: 1fr 1fr; }
  .home-dca-rule-columns { grid-template-columns: 1fr; }
  .home-cutoff-cta { grid-template-columns: 1fr; }
  .home-return-stats { grid-template-columns: repeat(12, minmax(74px, 1fr)); }
}
@media (max-width: 560px) {
  .observatory-home { padding-top: 22px; }
  .home-risk-hero { padding: 28px 22px; border-radius: 16px 16px 0 0; }
  .home-pro-card, .home-current-card { padding: 28px 24px; }
  .home-disclaimer { padding: 13px 22px; border-radius: 0 0 16px 16px; }
  .home-section-head { display: block; }
  .home-chart-actions { margin-top: 16px; }
  .home-chart-wrap { height: 430px; }
  .home-risk-zone, .home-risk-zone-inputs { grid-template-columns: 1fr; }
  .stablecoin-hero { grid-template-columns: 1fr; }
  .stablecoin-current { min-width: 0; }
  #home-risk-zone-stats { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .home-access { padding: 24px 20px; }
  .home-access > div { padding-right: 0; }
  .home-dca-headlines, .home-dca-headlines article { grid-template-columns: 1fr 1fr; }
  .home-return-stats { grid-template-columns: repeat(12, minmax(74px, 1fr)); }
  .home-custody { gap: 12px; padding: 38px 8px; }
}
.risk-scale { display:flex; align-items:center; gap:.7rem; margin-top:1rem; max-width:34rem; }
.risk-scale > div { display:flex; flex-direction:column; min-width:6.5rem; }
.risk-scale > div:last-child { text-align:right; }
.risk-scale i { flex:1; height:.55rem; border-radius:1rem; background:linear-gradient(90deg,#397f70,#d4ad55,#b34f45); }
.risk-scale-note { margin:.5rem 0; font-size:.82rem; }
.risk-method summary,.home-current-diagnostic summary { cursor:pointer; font-weight:700; }
.quick-tour-open { position:fixed; right:1rem; bottom:1rem; z-index:30; }
.quick-tour { position:fixed; right:1rem; bottom:4.25rem; z-index:31; width:min(24rem,calc(100vw - 2rem)); padding:1.25rem; border:1px solid #c8bcae; border-radius:.8rem; background:#fffdf8; box-shadow:0 1rem 3rem rgba(25,31,28,.2); }
.quick-tour-close { float:right; border:0; background:transparent; font-size:1.4rem; }
.quick-tour > div { display:flex; justify-content:space-between; margin-top:1rem; }
@media (max-width:640px) { .risk-scale > div { min-width:5.5rem; font-size:.72rem; } .quick-tour-open { bottom:.6rem; } }
