
    :root {
      --charcoal: #151a1b;
      --charcoal-light: #252a2b;
      --ivory: #fffdf7;
      --gold: #d6a33d;
      --champagne: #f0ce78;
      --bronze: #a96d13;
      --ink: #121516;
      --muted: #767b80;
      --muted-readable: #62676b;
      --rule: #e6d8bc;
    }
    @font-face { font-family: Inter; src: url("../assets/inter-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
    @font-face { font-family: Inter; src: url("../assets/inter-semibold.woff2") format("woff2"); font-style: normal; font-weight: 500 600; font-display: swap; }
    @font-face { font-family: Inter; src: url("../assets/inter-bold.woff2") format("woff2"); font-style: normal; font-weight: 650 900; font-display: swap; }
    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; min-width: 280px; min-height: 100vh; background: var(--ivory); color: var(--ink); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
    .rates-page.container { width: calc(100% - 48px); max-width: 970px; margin: 56px auto; padding: 0; }
    .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
    h1 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.03em; line-height: 1.3; }
    .sample-label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-readable); font-size: 12px; font-weight: 500; white-space: nowrap; }
    .sample-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
    .market-grid.row { display: flex; flex-wrap: nowrap; gap: 14px; margin: 0 0 10px; }
    .market-grid.row::before, .market-grid.row::after { display: none; }
    .market-grid > .col-4 { flex: 1 1 0; min-width: 0; max-width: none; padding: 0; }
    .market-card { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 104px; height: 100%; padding: 8px 20px; border-radius: 12px; background: linear-gradient(135deg, var(--charcoal-light), var(--charcoal)); color: var(--ivory); overflow: hidden; box-shadow: 0 5px 12px rgb(21 26 27 / 8%); }
    .market-content { position: relative; z-index: 1; min-width: 0; }
    .market-name { margin: 0 0 3px; font-size: 13px; line-height: 1.3; font-weight: 650; letter-spacing: .04em; }
    .market-unit { display: block; min-height: 18px; color: #b9bdbb; font-size: 10px; font-weight: 500; letter-spacing: .05em; }
    .market-value { display: block; margin-top: 4px; font-size: 29px; font-weight: 650; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
    .market-image { flex-shrink: 0; width: 90px; height: 82px; margin-left: 6px; object-fit: contain; filter: drop-shadow(0 2px 3px rgb(240 206 120 / 25%)) drop-shadow(0 0 11px rgb(240 206 120 / 42%)); }
    .market-image.silver { filter: drop-shadow(0 2px 3px rgb(230 238 250 / 25%)) drop-shadow(0 0 11px rgb(220 231 245 / 38%)); }
    .rates-table-wrap.table-responsive { width: 100%; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
    .rates-table.table { width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; color: var(--ink); }
    .product-col { width: 46%; }
    .price-col { width: 27%; }
    .rates-table thead { background: #f7efdf; }
    .rates-table.table thead th { height: 36px; padding: 0 24px; border: 0; border-bottom: 1px solid var(--rule); color: #42423a; font-size: 12px; font-weight: 650; vertical-align: middle; letter-spacing: .035em; }
    .rates-table.table thead th.numeric { text-align: right; }
    .currency-symbol { margin-left: 3px; font-weight: 500; }
    .rates-table.table tbody th, .rates-table.table tbody td { height: 64px; padding: 0 24px; border: 0; border-bottom: 1px solid var(--rule); vertical-align: middle; background: transparent; }
    .rates-table.table tbody tr:last-child > * { border-bottom: 0; }
    .rates-table tbody tr { background: var(--ivory); transition: background-color 150ms ease-out; }
    .rates-table tbody tr:hover { background: #fbf6eb; }
    .product { display: flex; align-items: center; gap: 17px; }
    .product-image { flex: 0 0 auto; width: 50px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 3px rgb(169 109 19 / 18%)) drop-shadow(0 0 6px rgb(240 206 120 / 30%)); }
    .product-image.silver { filter: drop-shadow(0 2px 3px rgb(82 103 126 / 18%)) drop-shadow(0 0 6px rgb(196 211 231 / 35%)); }
    .product-name { display: block; font-size: 16px; font-weight: 650; line-height: 1.4; }
    .product-unit { display: block; margin-top: 5px; font-size: 11px; font-weight: 500; line-height: 1.3; color: var(--muted-readable); letter-spacing: .025em; }
    .price { text-align: right; font-size: 27px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
    .data-note { margin: 6px 2px 0; color: var(--muted-readable); font-size: 11px; line-height: 1.6; }
    /* Price feedback changes paint only; these boxes keep the same dimensions at rest and during updates. */
    .isg-live-board .rates-table .price-link { width: 100%; height: 44px; min-width: 0; white-space: nowrap; transition: none; font-variant-numeric: tabular-nums lining-nums; }
    .isg-live-board .market-value { width: 100%; border-radius: 5px; font-variant-numeric: tabular-nums lining-nums; }
    @media (min-width: 768px) { .isg-live-board .market-content { flex: 1 1 0; min-width: 0; } }
    @media (max-width: 991px) {
      .rates-page.container { margin-top: 36px; }
      .market-card { min-height: 104px; padding: 8px 16px; }
      .market-value { font-size: 29px; }
      .market-image { width: 62px; height: 62px; }
      .rates-table.table thead th { padding: 0 18px; }
      .rates-table.table tbody th, .rates-table.table tbody td { height: 60px; padding: 0 18px; }
      .product { gap: 12px; }
      .product-image { width: 44px; height: 40px; }
      .product-name { font-size: 14px; }
      .price { font-size: 26px; }
    }
    @media (max-width: 767px) {
      .rates-page.container { width: calc(100% - 24px); margin: 24px auto; }
      .section-heading { margin-bottom: 14px; }
      h1 { font-size: 21px; }
      .sample-label { font-size: 10px; gap: 5px; }
      .market-grid.row { gap: 7px; margin-bottom: 10px; }
      .market-card { flex-direction: column-reverse; justify-content: flex-end; min-height: 130px; padding: 8px 5px; text-align: center; border-radius: 10px; }
      .market-image { width: 48px; height: 42px; margin: 0 0 4px; }
      .market-content { width: 100%; }
      .market-name { margin-bottom: 2px; font-size: clamp(10px, 2.7vw, 13px); letter-spacing: .015em; }
      .market-unit { min-height: 13px; font-size: 8px; }
      .market-value { margin-top: 4px; font-size: clamp(16px, 5.2vw, 29px); letter-spacing: -.04em; }
      .rates-table-wrap.table-responsive { border-radius: 9px; }
      .rates-table.table thead th { height: 32px; padding: 0 10px; font-size: 10px; letter-spacing: 0; }
      .currency-symbol { margin-left: 1px; }
      .rates-table.table tbody th, .rates-table.table tbody td { height: 58px; padding: 0 10px; }
      .product { gap: 7px; }
      .product-image { width: 34px; height: 34px; }
      .product-name { font-size: clamp(10px, 2.8vw, 13px); line-height: 1.45; }
      .product-unit { margin-top: 4px; font-size: 9px; }
      .price { font-size: clamp(17px, 4.7vw, 24px); letter-spacing: -.04em; }
      .data-note { margin-top: 6px; font-size: 10px; }
    }
    @media (max-width: 359px) {
      .rates-page.container { width: calc(100% - 16px); }
      .rates-table.table thead th, .rates-table.table tbody th, .rates-table.table tbody td { padding-right: 8px; padding-left: 8px; }
      .product { gap: 5px; }
      .product-image { width: 27px; height: 29px; }
    }
    @media (prefers-reduced-motion: reduce) { .rates-table tbody tr { transition: none; } }
  
