/* Standalone viewer: the same frame and untreated image for every finish. */
:root {
  color-scheme: light;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --navy: #12385C;
  --line: #E5E5EA;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.viewer-wrap { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.viewer-header { border-bottom: 1px solid var(--line); }
.viewer-header .viewer-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.viewer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.viewer-logo img { display: block; width: auto; height: 22px; }
.viewer-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; }
.viewer-back:hover { text-decoration: underline; }
main.viewer-wrap { padding-top: 40px; padding-bottom: 48px; }
.viewer-heading { margin-bottom: 24px; }
h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.swatch-code { color: var(--navy); font-variant-numeric: tabular-nums; }
.swatch-code:empty { display: none; }
.swatch-type { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.swatch-status { margin: 20px 0; font-size: 16px; line-height: 1.5; }
.swatch-figure { width: 100%; aspect-ratio: 20 / 9; margin: 0; overflow: hidden; border-radius: 8px; outline: 1px solid var(--line); }
.swatch-figure picture, .swatch-figure img { display: block; width: 100%; height: 100%; }
.swatch-figure img { object-fit: contain; filter: none; transform: none; }
.swatch-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.swatch-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.download-link { flex-shrink: 0; display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 980px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; }
.download-link:hover { background: #0D2B47; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 12px; transform: translateY(-180%); padding: 12px 18px; border-radius: 8px; background: var(--navy); color: #fff; }
.skip-link:focus { transform: none; }

@media (max-width: 767px) {
  .viewer-wrap { width: calc(100% - 40px); }
  .viewer-header .viewer-wrap { min-height: 64px; gap: 16px; }
  .viewer-logo img { height: 20px; }
  main.viewer-wrap { padding-top: 28px; padding-bottom: 36px; }
  .viewer-heading { margin-bottom: 20px; }
  h1 { gap: 6px 12px; font-size: 28px; }
  .swatch-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 20px; }
}
