/* Gold reference dashboard; market data and estimates retain their existing sources. */
.gold-dashboard { padding-block: 0 72px; background: linear-gradient(#fff, #f5f8fc); }
.gold-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.gold-market { position: relative; isolation: isolate; overflow: hidden; padding: 30px 32px; border: 1px solid #263f60; border-radius: 20px; background: radial-gradient(ellipse at 100% 0, #b38b3730, transparent 65%), #0d1e38; color: #fff; }
.gold-market-label { display: flex; align-items: center; gap: 14px; }
.gold-emblem { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #d6b66e50; border-radius: 12px; background: #d6b66e0d; color: #e6c782; font-size: 1.5rem; }
.gold-market h2 { margin: 0; color: #dbe5f4; font-size: 1rem; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.gold-currency { margin-inline-start: auto; color: #b6c5dc; font-size: .8125rem; white-space: nowrap; }
.gold-market-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gold-market-price > bdi { color: #fff; font: 600 clamp(2rem, 3.7vw, 3.25rem)/1.25 var(--heading); letter-spacing: -.035em; }
.gold-market-price > span { color: #d7bd83; font-size: .875rem; }
.gold-source { margin: 16px 0 0; color: #a5b9d3; font-size: .8125rem; }
.gold-market-art { position: absolute; z-index: -1; inset-inline-end: -16px; inset-block-end: -38px; color: #d6b66e0b; font-size: 13rem; line-height: 1; transform: rotate(-18deg); }
.gold-rate { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; border: 1px solid #dce5f1; border-radius: 20px; background: #fff; }
.gold-rate-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.gold-rate-heading > i { color: #205fe5; font-size: 1.5rem; }
.gold-rate-heading h2 { margin: 0; color: #1b3557; font-size: 1.125rem; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.gold-rate > label { margin-bottom: 10px; color: #5d708a; font-size: .9375rem; }
.gold-select-wrap { position: relative; }
.gold-select-wrap select { display: block; appearance: none; width: 100%; min-height: 56px; padding: 12px 18px; padding-inline-end: 100px; border: 1px solid #cbd9ec; border-radius: 10px; background: #f6f9fe; color: #14365e; font: 600 1.125rem/1.5 var(--body); cursor: pointer; }
.gold-select-wrap select:focus { outline: 3px solid #205fe526; border-color: #205fe5; }
.gold-select-wrap select:disabled { opacity: .55; cursor: not-allowed; }
.gold-select-wrap > span { position: absolute; inset-inline-end: 44px; top: 18px; color: #7389a6; font-size: .875rem; pointer-events: none; }
.gold-select-wrap > i { position: absolute; inset-inline-end: 18px; top: 20px; color: #43648e; font-size: .8125rem; pointer-events: none; }
.gold-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-block: 40px 20px; }
.gold-section-heading .eyebrow { margin-bottom: 8px; font-size: .8125rem; }
.gold-section-heading h2 { margin: 0; font-size: 1.375rem; line-height: 1.5; letter-spacing: -.025em; }
.gold-unit { color: #60738f; font-size: .875rem; white-space: nowrap; }
.gold-purities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gold-purity { min-width: 0; padding: 24px; border: 1px solid #dce5f1; border-radius: 16px; background: #fff; }
.gold-purity-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 22px; }
.gold-purity h3 { margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.gold-purity-top > i { color: #b58a38; font-size: 1.125rem; }
.gold-purity > strong { display: block; color: #193a62; font: 600 clamp(1.25rem, 2vw, 1.75rem)/1.5 var(--heading); white-space: nowrap; letter-spacing: -.025em; }
.gold-purity .afn-symbol { font-size: .65em; font-weight: 400; }
.gold-purity-unit { display: block; margin-top: 8px; color: #73849c; font-size: .8125rem; }
.gold-purity-featured { border-color: #c5a45f; background: linear-gradient(140deg, #20334e, #0d1e38); color: #fff; }
.gold-purity-featured h3, .gold-purity-featured > strong { color: #fff; }
.gold-purity-featured .gold-purity-top > i { color: #e5c57e; }
.gold-purity-featured .gold-purity-unit { color: #c1cfe2; }
.gold-chart-panel { margin-top: 28px; padding: 30px 32px; border: 1px solid #dce5f1; border-radius: 20px; background: #fff; }
.gold-chart-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.gold-chart-heading h2 { margin-bottom: 8px; color: #173353; font-size: 1.375rem; line-height: 1.5; letter-spacing: -.025em; }
.gold-chart-heading p { margin: 0; color: #6a7c94; font-size: .9375rem; }
.gold-chart-icon { color: #b58a38; font-size: 1.5rem; }
.gold-chart-area { position: relative; height: 300px; }
.gold-chart-area canvas { width: 100%; height: 100%; }
.gold-chart-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; height: 100%; padding: 24px; border: 1px dashed #dce5f1; border-radius: 12px; background: #f8fafd; text-align: center; }
.gold-chart-empty i { color: #98aac2; font-size: 2.5rem; }
.gold-chart-empty p { max-width: 420px; margin: 0; color: #687d99; font-size: 1rem; }
.gold-estimate-note { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 0; color: #6a7b92; font-size: .875rem; line-height: 1.8; }
.gold-estimate-note i { color: #a97e2d; flex-shrink: 0; }
.gold-notice { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; padding: 16px 20px; border: 1px solid #e7d7b4; border-radius: 12px; background: #fffbf2; color: #785b22; font-size: 1rem; }
@media (max-width: 1199.98px) { .gold-purity { padding: 20px 16px; } .gold-currency { display: none; } }
@media (max-width: 991.98px) { .gold-purities { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gold-market, .gold-rate { padding: 24px; } }
@media (max-width: 767.98px) {
  .gold-dashboard { padding-bottom: 48px; }
  .gold-overview { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gold-market, .gold-rate, .gold-chart-panel { padding: 24px 20px; border-radius: 16px; }
  .gold-market-price > bdi { font-size: 2.5rem; }
  .gold-section-heading { margin-top: 32px; }
  .gold-section-heading h2 { font-size: 1.125rem; }
  .gold-purities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gold-purity-featured { grid-column: 1 / -1; }
  .gold-purity { padding: 20px; }
  .gold-purity-top { margin-bottom: 14px; }
  .gold-purity > strong { font-size: 1.375rem; }
  .gold-chart-heading h2 { font-size: 1.125rem; }
  .gold-chart-area { height: 260px; }
}
