.gold-risk-card{
  padding:15px 14px 15px;
}
.gold-risk-shell{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.gold-readout{
  display:grid;
  grid-template-columns:106px 1fr;
  gap:10px;
  align-items:stretch;
  padding:11px 12px;
  border:1px solid var(--rule2);
  border-radius:10px;
  background:linear-gradient(180deg,#fff,#fcfbf6);
  box-shadow:var(--sh);
}
.gold-heat-score{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  border-right:1px solid var(--rule2);
  padding-right:10px;
}
.gold-heat-label{
  color:var(--ink4);
  font-size:10px;
  letter-spacing:.08em;
  line-height:1.2;
  text-transform:uppercase;
}
.gold-heat-score strong{
  color:var(--navy);
  font-size:30px;
  font-weight:800;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.gold-state-pill{
  display:inline-flex;
  width:max-content;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:2px 8px;
  border-radius:999px;
  background:#EAF7F5;
  border:1px solid #CBE9E5;
  color:var(--teal);
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  white-space:nowrap;
}
.gold-readout-main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  min-width:0;
}
.gold-action{
  color:var(--navy);
  font-family:var(--serif);
  font-size:18px;
  font-weight:700;
  line-height:1.28;
}
.gold-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px 8px;
}
.gold-metric{
  min-width:0;
  font-size:12px;
  color:var(--ink);
  line-height:1.25;
  font-variant-numeric:tabular-nums;
}
.gold-metric b{
  display:block;
  color:var(--ink4);
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.05em;
  line-height:1.15;
  margin-bottom:2px;
  text-transform:uppercase;
}
.gold-gauge{
  position:relative;
  height:10px;
  margin-top:1px;
  border:1px solid rgba(24,40,72,.13);
  border-radius:999px;
  background:linear-gradient(90deg,var(--teal) 0%,#8FB0A0 31%,var(--gold2) 52%,#D89543 73%,var(--red) 100%);
  overflow:visible;
}
.gold-gauge-marker{
  position:absolute;
  top:-5px;
  width:4px;
  height:20px;
  border-radius:4px;
  background:var(--ink);
  box-shadow:0 0 0 2px rgba(255,255,255,.92);
}
.gold-chart-shell{
  position:relative;
  padding:8px 8px 6px;
  background:linear-gradient(180deg,#fff 0%,#fcfbf6 100%);
  border:1px solid var(--rule2);
  border-radius:10px;
  overflow:hidden;
}
.gold-chart-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 2px 4px;
}
.gold-range-label{
  color:var(--ink4);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.gold-range-toggle{
  display:inline-flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid var(--rule2);
  border-radius:8px;
  background:rgba(250,248,242,.74);
}
.gold-range-btn{
  min-width:42px;
  height:26px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--ink3);
  cursor:pointer;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.gold-range-btn.active{
  background:var(--navy);
  color:#fff;
  box-shadow:0 2px 8px rgba(24,40,72,.14);
}
.gold-risk-svg{
  width:100%;
  height:214px;
  display:block;
  touch-action:pan-y;
}
.gold-axis-text{
  fill:var(--ink4);
  font-family:var(--sans);
  font-size:9.5px;
}
.gold-grid-line{
  stroke:rgba(24,40,72,.08);
  stroke-width:1;
}
.gold-actual-line{
  fill:none;
  stroke:var(--navy);
  stroke-width:2.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.gold-proxy-line{
  fill:none;
  stroke:var(--gold);
  stroke-width:2;
  stroke-dasharray:5 5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.gold-event-marker-line{
  stroke:rgba(24,40,72,.24);
  stroke-width:1;
  stroke-dasharray:3 4;
}
.gold-event-marker-dot{
  fill:#fff;
  stroke:var(--gold);
  stroke-width:1.8;
}
.gold-event-marker-box{
  fill:rgba(255,255,255,.94);
  stroke:rgba(184,137,10,.42);
  stroke-width:1;
}
.gold-event-marker-title{
  fill:var(--navy);
  font-family:var(--sans);
  font-size:9.5px;
  font-weight:800;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:2px;
  stroke-linejoin:round;
}
.gold-event-marker-date{
  fill:var(--ink4);
  font-family:var(--sans);
  font-size:8.5px;
  font-weight:700;
}
.gold-ribbon-label{
  fill:var(--ink4);
  font-family:var(--sans);
  font-size:8.5px;
  font-weight:700;
}
.gold-focus-line{
  stroke:rgba(24,40,72,.28);
  stroke-width:1;
}
.gold-focus-dot{
  fill:var(--navy);
  stroke:#fff;
  stroke-width:1.8;
}
.gold-hit-area{
  fill:transparent;
  cursor:crosshair;
  pointer-events:all;
}
.gold-tooltip{
  position:absolute;
  z-index:8;
  min-width:188px;
  max-width:232px;
  padding:9px 10px;
  border:1px solid rgba(24,40,72,.14);
  border-radius:8px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(24,40,72,.16);
  color:var(--ink2);
  pointer-events:none;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.gold-tip-date{
  color:var(--navy);
  font-size:11px;
  font-weight:700;
  line-height:1.25;
  margin-bottom:6px;
}
.gold-tip-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 12px;
  font-size:10.5px;
  line-height:1.35;
}
.gold-tip-grid span{
  color:var(--ink4);
}
.gold-tip-grid strong{
  color:var(--ink);
  font-weight:600;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.gold-latest-date{
  color:var(--ink4);
  font-size:10.5px;
  line-height:1.35;
  margin-top:6px;
}
.gold-state-hot .gold-state-pill,
.gold-state-warm .gold-state-pill{
  background:#FBECEA;
  border-color:#F1C1BA;
  color:var(--red);
}
.gold-state-neutral .gold-state-pill{
  background:var(--gold-bg);
  border-color:#E8D8A0;
  color:#7a5a08;
}
.gold-state-cheap .gold-state-pill,
.gold-state-cool .gold-state-pill{
  background:#EAF7F5;
  border-color:#CBE9E5;
  color:var(--teal);
}
.gold-state-hot .gold-action,
.gold-state-warm .gold-action{
  color:var(--red);
}
.gold-state-cheap .gold-action,
.gold-state-cool .gold-action{
  color:var(--teal);
}
.indicator-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.indicator-note{
  margin-top:8px;
  color:var(--ink4);
  font-size:11px;
  line-height:1.65;
}
@media(max-width:370px){
  .gold-readout{
    grid-template-columns:1fr;
  }
  .gold-heat-score{
    border-right:0;
    border-bottom:1px solid var(--rule2);
    padding-right:0;
    padding-bottom:8px;
  }
  .gold-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .gold-chart-toolbar{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
  .gold-range-toggle{
    width:100%;
  }
  .gold-range-btn{
    flex:1;
    min-width:0;
  }
}