/* Meplar / The Gallery. No external fonts, images, imports, or dependencies. */
body.gallery-page {
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #142b34;
  --muted: #596971;
  --line: #dcded7;
  --accent: #286b70;
  --gallery-wall: #eceee9;
  --gallery-rule: #dcded7;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01";
}
.gallery-page .wrap { width: min(1440px, calc(100% - 96px)); }
.gallery-page .masthead { border-bottom: 0; }
.gallery-page .nav { height: 84px; }
.gallery-page .brand { font-size: 25px; letter-spacing: -1.3px; }
.gallery-page .nav-links { gap: 31px; }
.gallery-page .nav-links a { font-size: 13px; }
.gallery-page a { text-underline-offset: .2em; }
.gallery-page a:hover { text-decoration-thickness: 1px; }
.gallery-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.gallery-main { padding-top: 42px; padding-bottom: 104px; }
.gallery-intro { display: grid; grid-template-columns: 1fr minmax(280px, 390px); gap: 32px; align-items: end; margin-bottom: 30px; }
.gallery-intro .eyebrow { grid-column: 1 / -1; margin: 0 0 -17px; font: 12px/1.4 var(--mono); letter-spacing: .15em; color: var(--muted); }
.gallery-intro h1 { margin: 0; font-size: clamp(56px, 4.7vw, 72px); font-weight: 620; line-height: 1.02; letter-spacing: -.054em; }
.gallery-lead { margin: 0; font-size: 18px; line-height: 1.5; max-width: 390px; color: var(--muted); text-wrap: pretty; }
.gallery-summary { grid-column: 1 / -1; color: var(--muted); font-size: 12px; margin: 0; }
.gallery-summary p { margin: 0; }
.gallery-toolbar, .collection-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; margin: 0 0 20px; border-top: 1px solid var(--gallery-rule); }
.gallery-count, .collection-label { margin: 0; font-size: 12px; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.gallery-count span, .collection-label span { color: var(--muted); font-weight: 400; margin-left: 10px; }
.gallery-ranking-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 470px; }
.gallery-discovery { margin-left: auto; }
.gallery-discovery summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 0 0 16px; color: var(--ink); font-size: 12px; font-weight: 500; list-style: none; }
.gallery-discovery summary::-webkit-details-marker { display: none; }
.gallery-discovery summary svg { width: 16px; height: 16px; flex: none; }
.gallery-discovery summary::after { content: "+"; font-size: 19px; font-weight: 350; width: 16px; text-align: center; }
.gallery-discovery[open] summary::after { content: "−"; }
.gallery-discovery[open] summary { color: var(--accent); }
.gallery-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.gallery-discovery .gallery-controls { position: absolute; z-index: 4; right: 0; top: calc(100% + 2px); width: min(580px, 100%); border-radius: 0; }
.gallery-search { flex-basis: 100%; position: relative; }
.gallery-search input[type=search] { height: 46px; width: 100%; background: #f5f5f0; border: 1px solid transparent; border-radius: 6px; padding: 10px 14px; font-size: 14px; }
.gallery-search input[type=search]:focus { background: #fff; border-color: var(--line); }
.gallery-search input::placeholder { color: #62675e; }
.gallery-topic { max-width: 100%; background: #fff; border-color: var(--line); border-radius: 6px; }
.gallery-topic-pills { display: flex; flex-wrap: wrap; gap: 2px 5px; width: 100%; }
.gallery-topic-pill { min-height: 44px; padding: 8px 13px; border: 1px solid transparent; border-radius: 24px; background: transparent; font-size: 12px; white-space: nowrap; }
.gallery-topic-pill[aria-pressed=true] { background: var(--ink); color: #fff; }
.gallery-topic-pill:hover { border-color: var(--line); }
.gallery-controls-note { margin: 0; width: 100%; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 68px 40px; }
.insight-card { min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.insight-card.is-featured { grid-column: 1 / -1; margin-bottom: 8px; }
.insight-media { position: relative; display: flex; flex-direction: column; background: transparent; overflow: clip; }
.insight-image-link { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 24px; background: var(--gallery-wall); }
.insight-image-link picture { display: block; width: 100%; }
.insight-image-link img { display: block; width: 100%; height: auto; max-height: 710px; object-fit: contain; }
.insight-media.is-native .insight-image-link, .is-featured .insight-media.is-native .insight-image-link { padding: 0; }
.insight-media.is-native .insight-image-link img { max-height: none; }
.insight-card.is-featured .insight-media { background: transparent; }
.insight-card.is-featured .insight-image-link { padding: 36px 46px; }
.insight-card.is-featured .insight-image-link img { max-height: 645px; }
.insight-image-link:hover { text-decoration: none; }
.insight-media > .chart-open { align-self: flex-end; }
.chart-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 0; background: transparent; padding: 8px 20px; font-size: 12px; line-height: 1.4; font-weight: 500; color: #3c443a; }
.chart-open span { font-size: 15px; }
.chart-open:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.insight-content { padding: 19px 0 0; }
.insight-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.insight-topic { font: 12px/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; color: var(--muted); }
.insight-rank { display: inline-flex; align-items: baseline; gap: 6px; font: 12px/1.4 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.insight-rank strong, .exhibit-number { color: var(--ink); font-weight: 450; }
.insight-rank.is-unranked { font-family: inherit; font-size: 12px; letter-spacing: 0; }
.insight-title { margin: 0 0 10px; max-width: 660px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 580; letter-spacing: -.037em; line-height: 1.13; text-wrap: pretty; }
.insight-title a { color: var(--ink); }
.insight-takeaway { font-size: 18px; line-height: 1.6; margin: 0 0 15px; max-width: 610px; color: var(--muted); text-wrap: pretty; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 4px 17px; font-size: 12px; line-height: 1.55; color: var(--muted); margin: 0; }
.insight-meta span { min-width: 0; }
.insight-traction { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 8px 0 0; }
.insight-traction strong { font-weight: 550; color: #42483f; }
.insight-traction a { text-decoration: underline; }
.insight-source-details, details.insight-traction { margin: 0; min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.insight-source-details > summary, details.insight-traction > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 0; list-style: none; font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.insight-source-details > summary::-webkit-details-marker, details.insight-traction > summary::-webkit-details-marker { display: none; }
.insight-source-details > summary::after, details.insight-traction > summary::after { content: "+"; flex: 0 0 16px; width: 16px; text-align: right; font-size: 17px; line-height: 1; font-weight: 350; color: var(--muted); }
.insight-source-details[open] > summary::after, details.insight-traction[open] > summary::after { content: "−"; }
.insight-source-details > summary:hover, details.insight-traction > summary:hover { color: var(--ink); }
.insight-source-details > p, details.insight-traction > p { margin: 1px 0 16px; color: var(--muted); font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.insight-source-details > p a { text-decoration: underline; }
.insight-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 12px; }
.insight-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 570; }
.insight-link span { font-size: 15px; }
.insight-link.secondary { color: var(--muted); font-weight: 400; }
.is-featured .insight-content { display: grid; grid-template-columns: 1.08fr 1fr; gap: 0 52px; padding: 25px 0 0; }
.is-featured .insight-topline { grid-column: 1 / -1; }
.is-featured .insight-title { grid-column: 1; grid-row: 2 / span 2; font-size: clamp(30px, 3vw, 44px); max-width: 650px; margin-bottom: 0; }
.is-featured .insight-takeaway { grid-column: 2; grid-row: 2; font-size: 18px; }
.is-featured .insight-meta { grid-column: 2; }
.is-featured .insight-source-details { grid-column: 2; }
.is-featured .insight-traction { grid-column: 2; }
.is-featured .insight-actions { grid-column: 1; grid-row: 4 / span 2; align-self: start; margin-top: 8px; }
.gallery-empty { padding: 90px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.gallery-empty h2 { font-size: 26px; font-weight: 550; letter-spacing: -.035em; margin: 0 0 12px; }
.gallery-empty p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery-reset { margin-top: 16px; min-height: 44px; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; }
.gallery-footer-note { margin: 58px 0 0; border-top: 1px solid var(--line); padding-top: 22px; max-width: 880px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.gallery-footer-note a { text-decoration: underline; }
.gallery-methods { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.gallery-methods summary { padding: 0; min-height: 44px; font-size: 12px; }
.gallery-methods p, .gallery-methods li { font-size: 12px; color: var(--muted); line-height: 1.7; }
.gallery-page footer { border-top-color: var(--line); padding: 35px 0 44px; }
.gallery-page .footer-signature { font-size: 12px; line-height: 1.6; }
.gallery-page .footer-links { font-size: 12px; gap: 28px; }
.gallery-page .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
/* Individual work: full artwork followed by an editorial reading column. */
.insight-detail { padding: 20px 0 100px; }
.insight-breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 0 0 32px; }
.insight-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.insight-header { max-width: 1030px; margin: 0 0 34px; }
.insight-header .eyebrow { font: 12px/1.4 var(--mono); letter-spacing: .12em; margin: 0 0 14px; }
.insight-header h1 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.05em; font-weight: 600; text-wrap: pretty; margin: 0 0 19px; }
.insight-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 800px; text-wrap: pretty; }
.insight-detail-meta { display: flex; flex-wrap: wrap; gap: 5px 20px; font-size: 12px; line-height: 1.65; color: var(--muted); margin-top: 22px; }
.insight-header .insight-traction { margin-top: 10px; }
.insight-hero { margin: 0; padding: 0; background: transparent; position: relative; }
.insight-hero .insight-image-link { padding: 38px; }
.insight-hero .insight-image-link img { max-height: 850px; }
.insight-hero.is-native .insight-image-link { padding: 0; }
.insight-hero figcaption { padding: 16px 24px 20px; color: var(--muted); font-size: 12px; line-height: 1.65; max-width: 950px; }
.insight-hero .chart-open { margin: 0 4px 0 auto; display: flex; }
.insight-reading { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 300px); justify-content: space-between; gap: 80px; padding: 58px 0 0; }
.insight-prose { min-width: 0; }
.insight-prose section { margin-bottom: 35px; }
.insight-prose h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.15; font-weight: 580; letter-spacing: -.035em; }
.insight-prose h3 { margin: 25px 0 8px; font-size: 17px; font-weight: 600; }
.insight-prose p, .insight-prose li { font-size: 18px; line-height: 1.7; color: var(--muted); }
.insight-prose p { margin: 0 0 15px; }
.insight-prose ul, .insight-prose ol { padding-left: 20px; }
.insight-prose li { padding-left: 3px; margin-bottom: 9px; }
.insight-prose a, .insight-resources a { text-decoration: underline; }
.insight-resources { border-top: 1px solid var(--ink); padding-top: 20px; align-self: start; min-width: 0; }
.insight-resources h2 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 20px; }
.insight-downloads { margin: 0; padding: 0; list-style: none; }
.insight-downloads li { border-bottom: 1px solid var(--line); margin: 0; padding: 0; }
.insight-downloads a { display: flex; align-items: center; min-height: 50px; padding: 10px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.insight-resources p { font-size: 12px; line-height: 1.65; color: var(--muted); }
.method-block { border-left: 2px solid var(--accent); padding-left: 18px; margin: 22px 0; }
.insight-back { margin-top: 15px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 550; }
/* A real fullscreen gallery viewer. The image remains intact at every size. */
.chart-viewer { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; color: #f5f5ee; background: #142b34; }
.chart-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.chart-viewer::backdrop { background: #142b34; }
.chart-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 16px 30px; border-bottom: 1px solid #42555c; }
.chart-viewer-title { margin: 0; font-size: 15px; font-weight: 450; line-height: 1.4; letter-spacing: -.015em; max-width: 860px; }
.chart-close { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 66px; padding: 8px 17px; border: 1px solid #727b69; border-radius: 24px; background: transparent; color: #f5f5ee; font-size: 12px; flex: none; }
.chart-close:hover { background: #2a424a; border-color: #a8b8bb; }
.chart-viewer-stage { min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 25px 36px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.chart-viewer-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; margin: auto; }
.chart-viewer-stage[data-zoomed=true] { display: block; }
.chart-viewer-stage[data-zoomed=true] .chart-viewer-image { max-width: none; max-height: none; width: auto; height: auto; }
.chart-viewer[data-viewer-mode=mobile] .chart-viewer-stage { display: block; }
.chart-viewer[data-viewer-mode=mobile] .chart-viewer-image { width: 100%; max-width: 100%; max-height: none; height: auto; }
.chart-viewer[data-zoom="2"] .chart-viewer-stage, .chart-viewer[data-zoom="3"] .chart-viewer-stage { display: block; }
.chart-viewer[data-zoom="2"] .chart-viewer-image, .chart-viewer[data-zoom="3"] .chart-viewer-image { max-width: none; max-height: none; margin: 0; }
.chart-viewer[data-viewer-mode=mobile] .chart-viewer-stage[data-fit=center] { display: flex; align-items: center; justify-content: center; }
.chart-viewer[data-viewer-mode=mobile] .chart-viewer-stage[data-fit=scroll] { display: block; }
.chart-viewer-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 32px; padding: 9px 24px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #42555c; background: #142b34; }
.chart-viewer-footer a, .chart-viewer-footer button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 0; color: #e0e5da; font-size: 12px; background: transparent; border: 0; }
.chart-viewer-footer a:hover, .chart-viewer-footer button:hover { color: white; text-decoration: underline; }
.chart-viewer-zoom { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; }
.chart-viewer-footer .chart-viewer-zoom button { flex: 0 0 auto; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid transparent; border-radius: 24px; font-size: 20px; line-height: 1; }
.chart-viewer-footer .chart-viewer-zoom [data-chart-zoom-reset] { width: 52px; min-width: 52px; border-color: #637b83; font-size: 12px; }
.chart-viewer-footer .chart-viewer-zoom button:hover:not(:disabled) { background: #2a424a; border-color: #8ca5ad; text-decoration: none; }
.chart-viewer-footer .chart-viewer-zoom button:disabled { color: #8ca0a5; cursor: default; }
.chart-viewer-zoom [data-chart-zoom-label] { min-width: 46px; margin-left: 9px; padding-left: 15px; border-left: 1px solid #637b83; color: #c1d2d5; font: 12px/1.4 var(--mono); text-align: left; }
.chart-viewer[data-zoom="1"] [data-chart-zoom-label] { display: none; }
.chart-viewer-hint { color: #b4bdac; margin: 0; font-size: 12px; line-height: 1.4; }
.chart-viewer-source { color: #d8e3e4; max-width: 900px; }
.chart-viewer-source summary { color: inherit; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 12px; }
.chart-viewer-source summary::after { content: "+"; font-size: 17px; font-weight: 400; }
.chart-viewer-source[open] summary::after { content: "−"; }
.chart-viewer-source[open] { flex-basis: 100%; }
.chart-viewer-source[open] summary { justify-content: center; }
.chart-viewer-source-content { max-height: 28dvh; overflow: auto; padding: 15px 0 12px; border-top: 1px solid #42555c; color: #c1d2d5; font-size: 13px; line-height: 1.6; }
.chart-viewer-source-content p { margin: 0 0 9px; }
.chart-viewer-source-content a { display: inline; color: #f0f4f2; text-decoration: underline; font-size: 13px; }
.chart-viewer-source > div { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 28px; max-height: 28dvh; overflow: auto; padding: 12px 0 4px; border-top: 1px solid #42555c; }
.chart-viewer-source > div a { padding-inline: 8px; }
.chart-viewer :focus-visible { outline-color: #b9e4e1; }
@media (prefers-reduced-motion: no-preference) {
  .chart-open, .insight-link, .gallery-topic-pill { transition: color .18s, background-color .18s, border-color .18s; }
  .chart-viewer[open] { animation: viewer-arrive .17s ease-out both; }
  @keyframes viewer-arrive { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 1100px) {
  .gallery-page .wrap { width: calc(100% - 64px); }
  .gallery-intro { grid-template-columns: 1fr 330px; }
  .gallery-grid { gap: 60px 30px; }
  .is-featured .insight-content { gap: 0 34px; }
  .insight-reading { gap: 48px; grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 760px) {
  .gallery-page .wrap { width: calc(100% - 40px); }
  .gallery-page .nav { height: 56px; }
  .gallery-page .nav-links { gap: 19px; }
  .gallery-page .nav-links a { font-size: 12px; }
  .gallery-main { padding-top: 18px; padding-bottom: 68px; }
  .gallery-intro { display: block; margin-bottom: 16px; }
  .gallery-intro .eyebrow { margin: 0 0 11px; font-size: 9px; }
  .gallery-intro h1 { font-size: 36px; line-height: 1.06; letter-spacing: -.052em; }
  .gallery-lead { font-size: 17px; line-height: 1.5; margin-top: 8px; max-width: 440px; }
  .gallery-summary { margin-top: 14px; }
  .gallery-toolbar, .collection-bar { min-height: 44px; margin-bottom: 12px; gap: 12px; }
  .gallery-count, .collection-label { font-size: 12px; }
  .gallery-count span, .collection-label span { margin-left: 6px; }
  .gallery-ranking-note { font-size: 12px; }
  .gallery-discovery summary { font-size: 12px; padding-left: 6px; }
  .gallery-discovery .gallery-controls { width: 100%; padding: 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 60px; }
  .insight-card.is-featured { margin-bottom: 0; }
  .insight-image-link, .insight-card.is-featured .insight-image-link { padding: 0; }
  .insight-image-link img { max-height: none; }
  .insight-card.is-featured .insight-image-link img { max-height: none; }
  .chart-open { font-size: 12px; padding: 8px 15px; }
  .insight-content, .is-featured .insight-content { display: block; padding-top: 17px; }
  .insight-topline { margin-bottom: 10px; }
  .insight-title, .is-featured .insight-title { font-size: 32px; letter-spacing: -.044em; line-height: 1.13; margin-bottom: 11px; }
  .insight-takeaway, .is-featured .insight-takeaway { font-size: 17px; line-height: 1.6; margin-bottom: 13px; }
  .insight-meta { font-size: 12px; gap: 3px 12px; }
  .insight-traction { font-size: 12px; margin-top: 8px; }
  .insight-actions, .is-featured .insight-actions { margin-top: 9px; }
  .insight-link { font-size: 12px; }
  .gallery-footer-note { margin-top: 42px; font-size: 12px; }
  .gallery-page .footer-inner { display: block; }
  .gallery-page .footer-links { gap: 6px 23px; margin-top: 13px; }
  .insight-detail { padding: 0 0 65px; }
  .insight-breadcrumb { font-size: 12px; margin-bottom: 22px; }
  .insight-header { margin-bottom: 24px; }
  .insight-header h1 { font-size: 38px; line-height: 1.07; margin-bottom: 16px; }
  .insight-lead { font-size: 16px; line-height: 1.6; }
  .insight-detail-meta { font-size: 12px; gap: 4px 13px; margin-top: 17px; }
  .insight-hero .insight-image-link { padding: 0; }
  .insight-hero .insight-image-link img { max-height: none; }
  .insight-hero figcaption { padding: 13px 15px 18px; font-size: 12px; }
  .insight-reading { display: block; padding-top: 35px; }
  .insight-prose h2 { font-size: 24px; }
  .insight-prose p, .insight-prose li { font-size: 17px; }
  .insight-resources { margin-top: 35px; }
  .insight-back { margin-top: 28px; }
  .chart-viewer-header { min-height: 76px; gap: 15px; padding: max(12px, env(safe-area-inset-top)) 18px 12px; }
  .chart-viewer-title { font-size: 12px; line-height: 1.4; max-width: 260px; }
  .chart-close { min-width: 58px; padding: 8px 12px; font-size: 12px; }
  .chart-viewer-stage { padding: 18px 10px; }
  .chart-viewer-footer { column-gap: 8px; padding-inline: 12px; }
  .chart-viewer-footer a, .chart-viewer-footer button { font-size: 12px; }
  .chart-viewer-zoom { gap: 4px; }
  .chart-viewer-zoom [data-chart-zoom-label] { display: none; }
  .chart-viewer-hint { flex-basis: 100%; text-align: center; padding-bottom: 7px; }
}
@media (max-width: 370px) {
  .gallery-page .wrap { width: calc(100% - 32px); }
  .gallery-page .brand { font-size: 22px; }
  .gallery-page .nav-links { gap: 13px; }
  .gallery-page .nav-links a { font-size: 12px; }
  .gallery-intro h1 { font-size: 34px; }
  .gallery-count span, .collection-label span { display: block; margin: 0; }
  .insight-title, .is-featured .insight-title { font-size: 30px; }
  .insight-header h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.gallery-page) { scroll-behavior: auto; }
  .gallery-page { scroll-behavior: auto; }
  .gallery-page *, .gallery-page *::before, .gallery-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .insight-media, .insight-hero, .gallery-controls { border: 1px solid CanvasText; }
  .gallery-topic-pill[aria-pressed=true] { border-color: Highlight; background: Highlight; color: HighlightText; }
  .chart-close { border-color: ButtonText; }
  .chart-viewer, .chart-viewer-footer { background: Canvas; color: CanvasText; }
  .chart-viewer a, .chart-viewer button, .chart-viewer-title, .chart-viewer-hint { color: CanvasText; }
}
@media print {
  .gallery-page .masthead, .gallery-page footer, .gallery-controls, .gallery-discovery, .chart-open, .chart-viewer { display: none !important; }
  .gallery-page .wrap { width: 100%; }
  .gallery-grid { display: block; }
  .insight-card { break-inside: avoid; margin-bottom: 30px; }
  .gallery-main { padding: 0; }
  .insight-image-link, .insight-card.is-featured .insight-image-link { padding: 0; }
}
