/* ============================================================
   ArtValue Design System — Premium Art Collection
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-stack: var(--font-sans);
  --bg: #fafafa;
  --card-bg: #ffffff;
  --card-radius: 12px;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.1);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #afafb2;
  --accent: #1a1a2e;
  --accent-hover: #2d2d44;
  --accent-light: #e8eaf0;
  --gold: #c5a258;
  --gold-light: rgba(197, 162, 88, 0.1);
  --sidebar-bg: #fbfbfd;
  --sidebar-width: 240px;
  --sidebar-border: #e8e8ed;
  --border: #e8e8ec;
  --row-alt: #fafafa;
  --row-hover: #f4f4f8;
  --green: #2d8a4e;
  --green-bg: rgba(45, 138, 78, 0.08);
  --orange: #c47f17;
  --orange-bg: rgba(196, 127, 23, 0.08);
  --red: #c0392b;
  --red-bg: rgba(192, 57, 43, 0.08);
  --transition: 0.2s ease;
}

*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-serif);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
}

/* ============================================================
   Sidebar
   ============================================================ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 16px 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.logo-icon {
  color: var(--gold);
  font-size: 22px;
}

.nav-links {
  list-style: none;
  padding: 0 8px;
}

.nav-links li {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--gold-light);
  color: var(--accent);
  border-left-color: var(--gold);
  font-weight: 600;
}

.nav-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-link.active svg {
  opacity: 1;
}

/* ============================================================
   Main Content
   ============================================================ */

.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 32px 40px 32px;
}

/* ---- Page header ---- */
.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.page-header p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.card.clickable-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.card-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* ---- Metric Cards ---- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.metric-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
}

.metric-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}
.metric-value--green { color: var(--green); }
.metric-value--orange { color: var(--orange); }

.metric-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 6px;
  letter-spacing: 0.2px;
}

/* ============================================================
   Artist / Content Cards Grid
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.artist-card {
  cursor: pointer;
}

.artist-card .card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.artist-card .card-meta {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   Badges
   ============================================================ */

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-high {
  background: var(--green-bg);
  color: var(--green);
}

.badge-medium {
  background: var(--orange-bg);
  color: var(--orange);
}

.badge-low {
  background: var(--red-bg);
  color: var(--red);
}

.badge-tier {
  background: var(--gold-light);
  color: var(--gold);
}

.badge-emerging {
  background: rgba(74, 61, 94, 0.08);
  color: #5a4a6e;
}

/* ============================================================
   Tables
   ============================================================ */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
  position: sticky;
  top: 0;
  white-space: nowrap;
  user-select: none;
}

thead th.sortable {
  cursor: pointer;
  transition: color var(--transition);
}
thead th.sortable:hover {
  color: var(--accent);
}
thead th.sorted-asc::after {
  content: " \25B2";
  font-size: 10px;
}
thead th.sorted-desc::after {
  content: " \25BC";
  font-size: 10px;
}

tbody tr {
  transition: background var(--transition);
}
tbody tr:nth-child(even) {
  background: var(--row-alt);
}
tbody tr:hover {
  background: var(--row-hover);
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  vertical-align: top;
}

td.currency {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold);
}

/* ============================================================
   Progress Bar
   ============================================================ */

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #e8e8ed;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.progress-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ============================================================
   Value Display
   ============================================================ */

.value-large {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--gold);
}

.value-range {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   Detail Layout
   ============================================================ */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.detail-grid.full {
  grid-template-columns: 1fr;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.detail-value {
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

/* ============================================================
   Artwork Grid
   ============================================================ */

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.artwork-card {
  cursor: pointer;
}

.artwork-card .artwork-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.artwork-card .artwork-meta {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   Filter Bar
   ============================================================ */

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.filter-bar select:focus,
.filter-bar input:focus {
  border-color: var(--accent);
}

/* ============================================================
   Chart Container
   ============================================================ */

.chart-container {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================================
   Two Column Layout
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  align-items: start;
}

/* ============================================================
   Breadcrumb
   ============================================================ */

.breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  margin: 0 6px;
  color: var(--text-tertiary);
}

/* ============================================================
   Empty State
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   Loading
   ============================================================ */

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-tertiary);
  font-size: 14px;
}
.loading-spinner::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 3px solid #e5e5e7;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Section Heading
   ============================================================ */

.section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  margin-top: 24px;
  color: var(--text-primary);
}
.section-heading--tight {
  margin-top: 8px;
}

/* ============================================================
   Trend Badges
   ============================================================ */

.trend-appreciating {
  color: var(--green);
}
.trend-stable {
  color: var(--orange);
}
.trend-declining {
  color: var(--red);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .detail-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Hover Effects on Cards
   ============================================================ */

.card.clickable-card,
.artist-card,
.artwork-card {
  transition: box-shadow var(--transition);
}

.card.clickable-card:hover,
.artist-card:hover,
.artwork-card:hover {
  box-shadow: var(--card-shadow-hover);
}

/* ============================================================
   Artwork Image Thumbnails
   ============================================================ */

.artwork-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--bg);
}

.artwork-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #e8e8ed 0%, #f5f5f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  text-align: center;
  overflow: hidden;
}

/* ============================================================
   Artwork Hero Image (detail page)
   ============================================================ */

.artwork-hero {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  background: #fafafa;
}

.artwork-hero-placeholder {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8e8ed 0%, #f0f0f5 50%, #e8e8ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-tertiary);
}

.artwork-hero-placeholder .placeholder-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 80%;
  text-align: center;
}

.artwork-hero-placeholder .placeholder-icon {
  font-size: 48px;
  opacity: 0.3;
}

/* ============================================================
   Artist Detail Header Band
   ============================================================ */

.artist-header-band {
  border-radius: var(--card-radius);
  padding: 24px 32px;
  margin-bottom: 32px;
  color: #fff;
}

.artist-header-band h1 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.artist-header-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  font-size: 14px;
}

.artist-header-band .badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.band-high { background: linear-gradient(135deg, #1a1a2e, #2d2d5e); }
.band-medium { background: linear-gradient(135deg, #3d3225, #5a4a35); }
.band-low { background: linear-gradient(135deg, #4a4a4f, #6b6b70); }
.band-emerging { background: linear-gradient(135deg, #2e2e4a, #4a3d5e); }
.band-default { background: linear-gradient(135deg, #1d1d1f, #3a3a3e); }

/* ============================================================
   Artist Bio Block
   ============================================================ */

.artist-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.artist-significance {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  margin-bottom: 16px;
}

/* ============================================================
   Market Tier Badges (colored)
   ============================================================ */

.tier-high {
  background: var(--green-bg);
  color: var(--green);
}

.tier-medium {
  background: var(--gold-light);
  color: var(--gold);
}

.tier-low {
  background: rgba(134, 134, 139, 0.12);
  color: var(--text-secondary);
}

.tier-emerging {
  background: rgba(74, 61, 94, 0.08);
  color: #5a4a6e;
}

/* ============================================================
   Valuation Card Prominent
   ============================================================ */

.valuation-hero {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(197, 162, 88, 0.04), rgba(26, 26, 46, 0.03));
  border-radius: 8px;
  margin-bottom: 16px;
}

.valuation-hero .value-large {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--gold);
}

.valuation-hero .value-range {
  font-size: 16px;
  margin-top: 4px;
}

.valuation-cta {
  text-align: center;
  padding: 32px 16px;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.06), rgba(255, 59, 48, 0.06));
  border-radius: 8px;
}

.valuation-cta h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.valuation-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.valuation-cta .cta-icon {
  font-size: 36px;
  margin-bottom: 8px;
  opacity: 0.6;
}

/* ============================================================
   Price Sparkline
   ============================================================ */

.sparkline-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.sparkline-container canvas {
  max-height: 80px;
}

/* ============================================================
   Progress Ring
   ============================================================ */

.progress-ring-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.progress-ring-wrapper svg {
  flex-shrink: 0;
}

.progress-ring-stats {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.progress-ring-stats .big-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

/* ============================================================
   Pilot Artworks Section (Dashboard)
   ============================================================ */

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.pilot-card {
  cursor: pointer;
}

.pilot-card .pilot-artist {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   Comparable Grid (visual)
   ============================================================ */

.comp-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.comp-visual-card {
  cursor: default;
}

.comp-visual-card .comp-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.comp-visual-card .comp-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   Market Summary Prominent
   ============================================================ */

.market-price-range {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(197, 162, 88, 0.04), rgba(26, 26, 46, 0.03));
  border-radius: 8px;
  margin-bottom: 16px;
}

.market-price-range .range-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.market-price-range .range-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================================
   Artists List — Featured + Search + Grid
   ============================================================ */

.featured-artists { margin-bottom: 32px; }
.section-label { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 12px; }

.featured-scroll {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
}

.featured-artist-card {
  cursor: pointer;
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: var(--card-shadow); border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.featured-artist-card:hover { box-shadow: var(--card-shadow-hover); }

.featured-image {
  width: 100%; height: 140px; background-size: cover; background-position: center;
  background-color: #f0f0f0;
}
.featured-info { padding: 12px 12px 14px; }
.featured-name { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.featured-meta { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.featured-stats { font-size: 12px; color: var(--text-tertiary); margin-top: 8px; display: flex; justify-content: space-between; }
.featured-value { font-weight: 600; color: var(--gold); }

/* Toolbar */
.artist-toolbar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 16px; padding: 16px; background: #fff;
  border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.search-box {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px;
  padding: 8px 12px; background: var(--bg-main); border-radius: 8px; border: 1px solid #e5e5e7;
}
.search-box svg { color: var(--text-tertiary); flex-shrink: 0; }
.search-box input {
  border: none; background: none; outline: none; width: 100%;
  font-size: 14px; font-family: inherit; color: var(--text-primary);
}
.search-box input::placeholder { color: var(--text-tertiary); }

.toolbar-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar-filters select {
  padding: 8px 12px; border-radius: 8px; border: 1px solid #e5e5e7;
  font-size: 13px; font-family: inherit; background: #fff; color: var(--text-primary);
  cursor: pointer; appearance: auto;
}
.toggle-label {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  color: var(--text-secondary); cursor: pointer; white-space: nowrap;
}
.toggle-label input { cursor: pointer; accent-color: var(--accent); }

.artist-count { font-size: 13px; color: var(--text-tertiary); margin-bottom: 12px; }

/* Artist list cards — horizontal layout */
.artist-list-grid { display: flex; flex-direction: column; gap: 8px; }

.artist-list-card {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s; cursor: pointer;
}
.artist-list-card:hover { box-shadow: var(--card-shadow-hover); }

.artist-list-image {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  flex-shrink: 0; background: #f0f0f2;
}
.artist-list-image img { width: 100%; height: 100%; object-fit: cover; }
.artist-list-initials {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: var(--text-tertiary);
  background: linear-gradient(135deg, #f5f5f7, #e8e8ed);
}

.artist-list-info { flex: 1; min-width: 0; }
.artist-list-header { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.artist-list-name { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--text-primary); }
.artist-list-dates { font-size: 13px; color: var(--text-secondary); }
.artist-list-bio { font-size: 12px; color: var(--text-tertiary); line-height: 1.4; margin-top: 4px; }

.artist-list-stats {
  display: flex; gap: 20px; align-items: center; flex-shrink: 0;
}
.stat-block { text-align: center; }
.stat-number { display: block; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.stat-label { display: block; font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value .stat-number { color: var(--gold); }

/* ============================================================
   Artists List v2 — Explorer Layout
   ============================================================ */

/* -- Search bar -- */
.al-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}
.al-search-bar:focus-within {
  box-shadow: 0 0 0 2px var(--gold), var(--card-shadow);
}
.al-search-icon { color: var(--text-tertiary); flex-shrink: 0; }
.al-search-bar input {
  border: none; background: none; outline: none; width: 100%;
  font-size: 14px; font-family: inherit; color: var(--text-primary);
}
.al-search-bar input::placeholder { color: var(--text-tertiary); }
.al-search-hint {
  font-size: 11px; font-family: inherit; color: var(--text-tertiary);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 2px 6px; flex-shrink: 0; pointer-events: none;
}

/* -- Chips bar -- */
.al-chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
  padding-bottom: 4px;
}
.al-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; font-family: inherit;
  background: var(--card-bg); color: var(--text-secondary);
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.15s ease; white-space: nowrap;
}
.al-chip:hover {
  background: var(--accent-light);
  border-color: rgba(26, 26, 46, 0.2);
  color: var(--accent);
}
.al-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.al-chip.active svg { stroke: #fff; }
.al-chip svg { transition: stroke 0.15s ease; }

/* -- Layout: sidebar + main -- */
.al-layout {
  display: flex; gap: 24px; align-items: flex-start;
}

/* -- Sidebar -- */
.al-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--card-bg); border-radius: 12px;
  box-shadow: var(--card-shadow); overflow: hidden;
  position: sticky; top: 20px;
}
.al-sidebar.collapsed { width: auto; }
.al-sidebar-toggle {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 14px 16px;
  font-size: 13px; font-weight: 600; font-family: inherit;
  color: var(--text-primary); background: none; border: none;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.al-sidebar-toggle:hover { background: rgba(0,0,0,0.02); }
.al-filter-count {
  display: none; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; font-size: 11px; font-weight: 700;
  background: var(--accent); color: #fff;
}
.al-sidebar-body { padding: 8px 0 12px; }
.al-filter-group { padding: 8px 16px 12px; }
.al-filter-group + .al-filter-group { border-top: 1px solid var(--border); }
.al-filter-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-tertiary);
  margin-bottom: 8px;
}
.al-filter-option {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 13px; color: var(--text-primary);
  cursor: pointer; transition: color 0.15s;
}
.al-filter-option:hover { color: var(--accent); }
.al-filter-option input[type="checkbox"] {
  accent-color: var(--accent); cursor: pointer;
  width: 14px; height: 14px; flex-shrink: 0;
}
.al-filter-label { flex: 1; }
.al-filter-badge {
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  background: var(--bg); padding: 1px 7px; border-radius: 10px;
}
.al-clear-filters {
  display: block; width: calc(100% - 32px); margin: 8px 16px 0;
  padding: 8px; border-radius: 8px; border: 1px solid var(--border);
  background: none; font-size: 12px; font-weight: 500; font-family: inherit;
  color: var(--text-secondary); cursor: pointer; transition: all 0.15s;
}
.al-clear-filters:hover { background: var(--bg); color: var(--accent); border-color: var(--accent); }

/* -- Main content area -- */
.al-main { flex: 1; min-width: 0; }

/* -- Toolbar (results + sort + view toggle) -- */
.al-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 16px; flex-wrap: wrap;
}
.al-results { font-size: 13px; color: var(--text-secondary); }
.al-results strong { color: var(--text-primary); }
.al-toolbar-right { display: flex; align-items: center; gap: 12px; }
.al-sort { display: flex; align-items: center; gap: 6px; }
.al-sort label { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; }
.al-sort select {
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 13px; font-family: inherit; background: var(--card-bg);
  color: var(--text-primary); cursor: pointer;
}
.al-view-toggle { display: flex; gap: 2px; background: var(--bg); border-radius: 8px; padding: 2px; }
.al-view-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 28px; border-radius: 6px;
  border: none; background: none; cursor: pointer; color: var(--text-tertiary);
  transition: all 0.15s;
}
.al-view-btn:hover { color: var(--text-primary); }
.al-view-btn.active { background: var(--card-bg); color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* -- Active filter pills -- */
.al-active-filters {
  display: none; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.al-active-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 14px; font-size: 12px; font-weight: 500;
  background: var(--accent-light); color: var(--accent);
  cursor: pointer; transition: background 0.15s;
}
.al-active-pill:hover { background: rgba(26, 26, 46, 0.12); }
.al-pill-x { font-size: 14px; line-height: 1; opacity: 0.6; }

/* -- Grid view -- */
.al-grid--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.al-card {
  background: var(--card-bg); border-radius: 12px;
  box-shadow: var(--card-shadow); border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  cursor: pointer; transition: box-shadow 0.2s ease;
}
.al-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.al-card-image {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: linear-gradient(135deg, #e8e8ed, #f5f5f7);
}
.al-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.al-card:hover .al-card-image img { transform: scale(1.05); }
.al-card-initials {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700; color: var(--text-tertiary);
  background: linear-gradient(135deg, #f0f0f2, #e0e0e5);
}
.al-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
}
.al-card-name {
  font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.al-card-dates {
  font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.al-card-tier {
  position: absolute; top: 10px; right: 10px;
}
.al-card-body { padding: 12px 16px 16px; }
.al-card-stats {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-size: 12px; color: var(--text-secondary);
}
.al-card-stat strong { font-weight: 600; color: var(--text-primary); }
.al-card-value { font-weight: 600; color: var(--gold); }
.al-card-nationality {
  font-size: 11px; color: var(--text-tertiary); margin-top: 4px;
}

/* -- List view -- */
.al-grid--list { display: flex; flex-direction: column; gap: 0; }

.al-row {
  display: grid;
  grid-template-columns: 44px 1.8fr 0.8fr 0.8fr 0.5fr 0.5fr 0.7fr;
  align-items: center; gap: 12px;
  padding: 10px 16px;
  cursor: pointer; transition: background 0.12s;
  border-bottom: 1px solid var(--border);
}
.al-row:hover { background: var(--row-hover); }

.al-row-header {
  cursor: default; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-tertiary); padding: 8px 16px;
  background: var(--card-bg); border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--border);
}
.al-row-header:hover { background: var(--card-bg); }
.al-row-header .al-row-thumb { visibility: hidden; }

.al-row:not(.al-row-header) {
  background: var(--card-bg);
}
.al-row:not(.al-row-header):nth-child(even) {
  background: var(--row-alt);
}
.al-row:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }

.al-row-thumb {
  width: 36px; height: 36px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0; background: var(--bg);
}
.al-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.al-row-initials {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--text-tertiary);
  background: linear-gradient(135deg, #f5f5f7, #e8e8ed);
}

.al-row-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  min-width: 0;
}
.al-row-name-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.al-row-meta {
  font-size: 13px; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.al-row-num {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  text-align: right; font-variant-numeric: tabular-nums;
}
.al-row-value { color: var(--gold); }

/* -- Empty state -- */
.al-empty {
  text-align: center; padding: 80px 20px;
  grid-column: 1 / -1;
}
.al-empty-icon { margin-bottom: 16px; }
.al-empty h3 {
  font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px;
}
.al-empty p {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 20px;
}
.al-empty-clear {
  padding: 8px 20px; border-radius: 8px; border: 1px solid var(--accent);
  background: none; color: var(--accent); font-size: 13px; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: all 0.15s;
}
.al-empty-clear:hover { background: var(--accent); color: #fff; }

/* ============================================================
   iPad / Tablet Responsive (768px - 1024px)
   ============================================================ */

/* iPad portrait: sidebar becomes a collapsible hamburger menu */
@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: none;
  }
  .sidebar.open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .main-content {
    margin-left: 0 !important;
    padding: 20px;
  }

  /* Hamburger toggle button */
  .mobile-nav-toggle {
    display: flex !important;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-toggle svg { color: var(--text-primary); }

  /* Overlay when sidebar open */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
  }
  .sidebar-overlay.active { display: block; }

  /* Page header needs room for hamburger */
  .page-header { padding-top: 52px; }
  .page-header h1 { font-size: 28px; }

  /* Metric cards: 3 across on iPad, then 2 */
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }

  /* Detail grid: stack on tighter widths */
  .detail-grid { grid-template-columns: 1fr; }

  /* Featured artists: smaller cards */
  .featured-artist-card { flex: 0 0 170px; }
  .featured-image { height: 120px; }

  /* Artist grid: 2 columns on iPad */
  .al-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Artist filter sidebar: collapse by default */
  .al-sidebar { display: none; }
  .al-sidebar.al-sidebar-open { display: block; }
  .al-main { width: 100%; }
  .al-layout { flex-direction: column; }

  /* Artwork grid: 2 columns */
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tables: horizontal scroll */
  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrapper table { min-width: 600px; }

  /* Artwork hero image: constrain height */
  .artwork-hero { max-height: 400px; }

  /* Chips: horizontal scroll */
  .al-chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .al-chip { white-space: nowrap; flex-shrink: 0; }

  /* Search bar */
  .al-search-bar { margin: 0 0 12px 0; }
  .al-search-hint { display: none; }

  /* List view: hide less important columns on tablet */
  .al-list-header, .al-list-row { grid-template-columns: 40px 1fr 60px 60px; }
  .al-list-dates, .al-list-nationality, .al-list-value { display: none; }

  /* Toolbar: stack sort and view toggle */
  .al-toolbar { flex-wrap: wrap; gap: 8px; }
  .al-toolbar-right { gap: 8px; }

  /* Touch targets: ensure minimum 44px on tablet */
  .al-view-btn { width: 44px; height: 44px; }

  /* Prevent iOS auto-zoom on input focus (font-size must be >= 16px) */
  .col-search input,
  .filter-bar select,
  .filter-bar input,
  .col-filter-bar select { font-size: 16px; }

  /* Artist list view: simplify columns for tablet */
  .al-row { grid-template-columns: 44px 1.5fr 0.6fr 0.6fr 0.6fr; }
  .al-row-meta:nth-child(5) { display: none; }
}

/* iPad mini portrait and smaller tablets */
@media (max-width: 768px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .al-grid { grid-template-columns: 1fr !important; }
  .artwork-grid { grid-template-columns: 1fr; }
  .featured-scroll { gap: 12px; }
  .featured-artist-card { flex: 0 0 150px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }

  /* Artist header band */
  .artist-header-band h1 { font-size: 24px; }
  .artist-header-band { padding: 20px; }

  /* Valuation hero */
  .valuation-hero .value-large { font-size: 36px; }

  /* Artist list view: further simplify */
  .al-row { grid-template-columns: 44px 1fr 0.5fr 0.6fr; }
  .al-row-meta { display: none; }
}

/* Hide hamburger on desktop */
@media (min-width: 1025px) {
  .mobile-nav-toggle { display: none !important; }
  .sidebar-overlay { display: none !important; }
}

/* ============================================================
   iPhone / Small Screen (< 480px)
   ============================================================ */

@media (max-width: 480px) {
  .main-content { padding: 12px; }
  .page-header h1 { font-size: 24px; }
  .page-header p { font-size: 13px; }

  /* Metrics: stack to 2 columns */
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-grid--3 { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 12px; }
  .metric-card .value { font-size: 22px; }
  .metric-card .label { font-size: 11px; }
  .metric-value { font-size: 22px; white-space: normal; word-break: break-word; }

  /* Featured artists: 2 columns */
  .featured-scroll { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .featured-image { height: 100px; }
  .featured-info { padding: 8px; }
  .featured-name { font-size: 13px; }
  .featured-meta, .featured-stats { font-size: 11px; }

  /* Search bar */
  .al-search-bar { padding: 10px 12px; }
  .al-search-bar input { font-size: 16px; } /* prevents iOS zoom on focus */
  .al-search-hint { display: none; }

  /* Prevent iOS auto-zoom on ALL inputs and selects */
  .col-search input { font-size: 16px; }
  .filter-bar select,
  .filter-bar input { font-size: 16px; }
  .col-filter-bar select { font-size: 16px; }
  .al-sort select { font-size: 16px; }
  .artwork-sort-select { font-size: 16px; }

  /* Chips: scroll horizontally, smaller */
  .al-chips { gap: 6px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .al-chip { font-size: 12px; padding: 6px 10px; flex-shrink: 0; }

  /* Sidebar filters: full width overlay */
  .al-sidebar { width: 100%; }
  .al-layout { flex-direction: column; }

  /* Grid: single column */
  .al-grid { grid-template-columns: 1fr !important; }
  .artwork-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }

  /* List view: compact — simplify to 3 columns on phone */
  .al-row { grid-template-columns: 44px 1fr 0.6fr; gap: 8px; padding: 10px 12px; }
  .al-row-meta { display: none; }
  .al-row-num:not(.al-row-value) { display: none; }
  .al-list-row { padding: 10px; gap: 10px; }
  .al-list-thumb { width: 40px; height: 40px; }
  .al-list-name { font-size: 14px; }

  /* Toolbar: stack */
  .al-toolbar { flex-direction: column; align-items: stretch; }
  .al-toolbar-right { justify-content: space-between; }

  /* Touch targets: minimum 44px */
  .al-view-btn { width: 44px; height: 44px; }
  .al-chip { min-height: 44px; }
  .al-filter-option { padding: 8px 0; min-height: 44px; }

  /* Artist detail */
  .artist-header-band { padding: 16px; border-radius: 8px; flex-direction: column; text-align: center; }
  .artist-header-band h1 { font-size: 20px; }
  .artist-bio { font-size: 14px; }
  .artist-portrait { width: 64px; height: 64px; }

  /* Artwork detail */
  .artwork-hero { max-height: 300px; border-radius: 8px; }
  .valuation-hero .value-large { font-size: 32px; }
  .value-range { font-size: 13px; }

  /* Detail rows: allow wrapping for long values */
  .detail-row { flex-wrap: wrap; gap: 4px; }
  .detail-value { word-break: break-word; text-align: left; }
  .detail-value--wide { max-width: 100%; text-align: left; }

  /* Tables: compact */
  .table-wrapper table { font-size: 12px; }
  .table-wrapper th, .table-wrapper td { padding: 8px 6px; }

  /* Cards */
  .card { padding: 16px; border-radius: 10px; }

  /* Nav sidebar: full width on phone */
  .sidebar { width: 85vw; max-width: 280px; }

  /* Breadcrumb: wrap */
  .breadcrumb { font-size: 12px; display: flex; flex-wrap: wrap; }

  /* Progress bar */
  .progress-section .value-large { font-size: 28px; }

  /* Comparables page */
  .filter-bar { flex-direction: column; gap: 8px; }
  .filter-bar select { width: 100%; font-size: 16px; }

  /* Research queue */
  .progress-ring-wrapper { transform: scale(0.8); transform-origin: left center; }

  /* Artist list cards on phone */
  .artist-list-card { padding: 12px; gap: 10px; }
  .artist-list-image { width: 48px; height: 48px; }
  .artist-list-name { font-size: 14px; }
  .artist-list-bio { display: none; }
  .stat-number { font-size: 15px; }
  .stat-label { font-size: 10px; }
  .stat-block { min-width: 0; }
  .artist-list-stats { gap: 12px; }

  /* Prevent overflow from nowrap elements */
  .dash-table-val { font-size: 13px; }
  .dash-metric-val { white-space: normal; word-break: break-word; }
  .col-card-title { white-space: normal; }
  .meth-comp-row { flex-direction: column; gap: 2px; }
  .meth-comp-title { white-space: normal; }
  .meth-comp-detail { white-space: normal; }
  .confidence-tooltip { white-space: normal; min-width: 200px; left: auto; right: 0; }

  /* Collection list view: minimal columns */
  .col-row { grid-template-columns: 36px 1fr 0.6fr; gap: 8px; padding: 10px 10px; }
  .col-row-title { min-width: 0; }
  .col-row-artist { display: none; }
  .col-row-meta { display: none; }
  .col-row-conf { display: none; }
  .col-row-header .col-row-artist { display: none; }
  .col-row-header .col-row-meta { display: none; }
  .col-row-header .col-row-conf { display: none; }

  /* Ensure grid children don't overflow */
  .dash-panel { min-width: 0; }
  .al-main { min-width: 0; }
}

/* ============================================================
   Methodology Notes — Formatted Display
   ============================================================ */
.methodology-formatted { font-size: 14px; line-height: 1.6; }
.meth-section { margin-bottom: 16px; }
.meth-section:last-child { margin-bottom: 0; }
.meth-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-tertiary);
  margin-bottom: 4px;
}
.meth-content { color: var(--text-primary); }
.meth-comps-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.meth-comp-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; border-bottom: 1px solid #f0f0f2;
}
.meth-comp-row:last-child { border-bottom: none; }
.meth-comp-title { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 12px; }
.meth-comp-detail { font-size: 13px; color: var(--text-secondary); white-space: nowrap; }
.meth-raw { white-space: pre-wrap; word-break: break-word; color: var(--text-primary); }

/* ============================================================
   Artwork Detail — Confidence Tooltip
   ============================================================ */
.confidence-badge-wrapper {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
}
.confidence-info-toggle {
  cursor: help; font-size: 16px; color: var(--text-tertiary); line-height: 1;
  transition: color var(--transition);
}
.confidence-info-toggle:hover { color: var(--accent); }
.confidence-tooltip {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--text-primary); color: #fff; font-size: 12px; font-weight: 400;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap; z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); pointer-events: none;
}
.confidence-badge-wrapper:hover .confidence-tooltip { display: block; }

/* ============================================================
   Artwork Detail — Comp Recency Warning
   ============================================================ */
.comp-recency-warning {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange-bg); color: #8a6d3b;
  border: 1px solid rgba(255, 149, 0, 0.25);
  border-radius: var(--card-radius); padding: 12px 16px;
  font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.recency-icon { font-size: 18px; flex-shrink: 0; }

/* ============================================================
   Artwork Detail — Value Context
   ============================================================ */
.value-context {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-secondary);
}

/* ============================================================
   Artwork Detail — Related Works
   ============================================================ */
.related-works-row {
  display: flex; gap: 16px; overflow-x: auto;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.related-work-card {
  flex: 0 0 160px; background: var(--card-bg); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none;
  color: inherit; transition: transform var(--transition), box-shadow var(--transition);
}
.related-work-card:hover {
  box-shadow: var(--card-shadow-hover);
}
.related-work-image {
  width: 100%; height: 120px; background-size: cover; background-position: center;
  background-color: #f0f0f0;
}
.related-work-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--text-tertiary);
}
.related-work-info { padding: 8px 12px 12px; }
.related-work-title {
  font-family: var(--font-serif); font-size: 13px; font-weight: 600; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.related-work-value {
  font-size: 12px; color: var(--gold); font-weight: 600; margin-top: 2px;
}

@media (max-width: 480px) {
  .related-work-card { flex: 0 0 140px; }
  .related-work-image { height: 100px; }
}

/* ============================================================
   Value Analytics — Dashboard Cards
   ============================================================ */

.concentration-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.concentration-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.concentration-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gold);
}

.concentration-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.top-works-list .detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.top-works-list .detail-row:last-child {
  border-bottom: none;
}

.analytics-warning-card .warning-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 20px;
}

.warning-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ok-row {
  align-items: center;
  color: var(--green);
}

.warning-count {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--red);
}

.warning-count-orange {
  color: var(--orange);
}

.warning-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.analytics-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: color var(--transition);
}

.analytics-link:hover {
  color: var(--accent-hover);
}

/* ============================================================
   Collection Page — All Artworks Browser
   ============================================================ */

/* -- Filter bar -- */
.col-filter-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 16px;
  background: var(--card-bg); border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.col-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 180px;
  padding: 8px 12px; background: var(--bg);
  border-radius: 8px; border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.col-search:focus-within { border-color: var(--accent); }
.col-search-icon { color: var(--text-tertiary); flex-shrink: 0; }
.col-search input {
  border: none; background: none; outline: none; width: 100%;
  font-size: 14px; font-family: inherit; color: var(--text-primary);
}
.col-search input::placeholder { color: var(--text-tertiary); }

.col-filter-bar select {
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 13px; font-family: inherit; background: var(--card-bg);
  color: var(--text-primary); cursor: pointer; appearance: auto;
  max-width: 180px;
}
.col-filter-bar select:focus { border-color: var(--accent); }

.col-clear-btn {
  display: none; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--accent); background: none;
  font-size: 13px; font-weight: 500; font-family: inherit;
  color: var(--accent); cursor: pointer; transition: all 0.15s;
  white-space: nowrap;
}
.col-clear-btn:hover { background: var(--accent); color: #fff; }

/* -- Toolbar -- */
.col-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 16px; flex-wrap: wrap;
}
.col-results { font-size: 13px; color: var(--text-secondary); }
.col-results strong { color: var(--text-primary); }
.col-toolbar-right { display: flex; align-items: center; gap: 12px; }

/* -- Grid view -- */
.col-grid--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.col-card {
  background: var(--card-bg); border-radius: 12px;
  box-shadow: var(--card-shadow); border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  cursor: pointer; transition: box-shadow 0.2s ease;
}
.col-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.col-card-image {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: linear-gradient(135deg, #e8e8ed, #f5f5f7);
}
.col-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.col-card:hover .col-card-image img { transform: scale(1.05); }
.col-card-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--text-tertiary);
  background: linear-gradient(135deg, #f0f0f2, #e0e0e5);
  padding: 12px; text-align: center; overflow: hidden;
}

.col-card-body { padding: 12px 16px 16px; }
.col-card-title {
  font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 2px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.col-card-artist { font-size: 13px; margin-bottom: 4px; }
.col-card-artist a { color: var(--accent); }
.col-card-artist a:hover { color: var(--accent-hover); }
.col-card-meta {
  font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 6px;
}
.col-card-value {
  font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gold);
  letter-spacing: -0.3px;
}
.col-card-value--none {
  font-size: 13px; font-weight: 500; color: var(--text-tertiary);
}
.col-card-confidence { margin-top: 4px; }

/* -- List view -- */
.col-grid--list { display: flex; flex-direction: column; gap: 0; }

.col-row {
  display: grid;
  grid-template-columns: 40px 1.5fr 1fr 0.5fr 0.8fr 0.6fr 0.6fr 0.6fr;
  align-items: center; gap: 10px;
  padding: 10px 16px;
  cursor: pointer; transition: background 0.12s;
  border-bottom: 1px solid var(--border);
}
.col-row:hover { background: var(--row-hover); }

.col-row-header {
  cursor: default; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-tertiary); padding: 8px 16px;
  background: var(--card-bg); border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--border);
}
.col-row-header:hover { background: var(--card-bg); }
.col-row-header .col-row-thumb { visibility: hidden; }

.col-row:not(.col-row-header) { background: var(--card-bg); }
.col-row:not(.col-row-header):nth-child(even) { background: var(--row-alt); }
.col-row:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }

.col-row-thumb {
  width: 36px; height: 36px; border-radius: 6px;
  overflow: hidden; flex-shrink: 0; background: var(--bg);
}
.col-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-row-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text-tertiary);
  background: linear-gradient(135deg, #f5f5f7, #e8e8ed);
}

.col-row-title {
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.col-row-artist { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-row-artist a { color: var(--accent); }
.col-row-meta {
  font-size: 13px; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.col-row-num {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  text-align: right; font-variant-numeric: tabular-nums;
}
.col-row-value { color: var(--gold); }
.col-row-conf { font-size: 12px; text-align: center; }

/* -- Collection responsive -- */
@media (max-width: 1024px) {
  .col-grid--grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .col-filter-bar { gap: 8px; }
  .col-filter-bar select { max-width: 150px; }
  .col-row {
    grid-template-columns: 36px 1.2fr 0.8fr 0.5fr 0.7fr 0.6fr;
  }
  .col-row-meta:nth-child(6) { display: none; }
  .col-row-conf { display: none; }
  .col-row-header .col-row-meta:nth-child(6) { display: none; }
  .col-row-header .col-row-conf { display: none; }
}

@media (max-width: 768px) {
  .col-grid--grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .col-row {
    grid-template-columns: 36px 1fr 0.6fr 0.6fr;
  }
  .col-row-artist { display: none; }
  .col-row-meta { display: none; }
  .col-row-conf { display: none; }
  .col-row-header .col-row-artist { display: none; }
  .col-row-header .col-row-meta { display: none; }
  .col-row-header .col-row-conf { display: none; }
}

@media (max-width: 480px) {
  .col-filter-bar { flex-direction: column; align-items: stretch; }
  .col-filter-bar select { max-width: 100%; font-size: 16px; }
  .col-search { min-width: 100%; }
  .col-search input { font-size: 16px; }
  .col-grid--grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* Metric card links */
.metric-link { text-decoration: none; color: inherit; cursor: pointer; }
.metric-link .metric-card { transition: box-shadow 0.15s; }
.metric-link:hover .metric-card { box-shadow: var(--card-shadow-hover); }

/* Artist portrait in header */
.artist-portrait {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4); flex-shrink: 0;
}
.artist-header-band { display: flex; align-items: center; gap: 20px; }

/* ============================================================
   Chart Containers — Explicit Heights
   ============================================================ */
.chart-wrap--300 { position: relative; height: 240px; }
.chart-wrap--200 { position: relative; height: 130px; }
.chart-wrap--120 { position: relative; height: 120px; }

/* ============================================================
   Dashboard — Inline Style Replacements
   ============================================================ */

/* Largest holdings list rows */
.holdings-row { cursor: pointer; }
.holdings-link { color: var(--text-primary); font-weight: 500; }
.holdings-count { font-size: 16px; font-weight: 600; }

/* Featured works (pilot grid) */
.pilot-grid { margin-bottom: 32px; }
.pilot-title { font-size: 14px; font-weight: 600; }
.pilot-value { font-weight: 600; color: var(--gold); font-size: 14px; margin-top: 4px; }

/* Value concentration top works */
.top-work-info { flex: 1; min-width: 0; }
.top-work-title { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-work-artist { font-size: 13px; color: var(--text-secondary); }
.top-work-value { font-weight: 600; }

/* Analytics card subtitle */
.card-subtitle--spaced { margin-top: 16px; }

/* Warning row check icon */
.ok-icon { font-size: 20px; margin-right: 8px; }

/* Analytics link (stale data) */
.analytics-card-note { margin-top: 4px; color: var(--orange); }
.analytics-card-note--ok { color: var(--green); }

/* ============================================================
   Artist Detail — Inline Style Replacements
   ============================================================ */
.detail-value--emphasis { font-weight: 600; font-size: 16px; }
.detail-value--wide { max-width: 60%; text-align: right; }
.artwork-sort-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: inherit;
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
}
.artworks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.artworks-header .section-heading { margin-bottom: 0; margin-top: 0; }

/* Artwork card inline value/confidence */
.artwork-card-value { margin-top: 6px; font-weight: 600; color: var(--gold); }
.artwork-card-confidence { margin-top: 2px; }

/* Research queue */
.rq-progress-substats { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.rq-needs-research { margin-top: 4px; color: var(--orange); }
.rq-all-complete { margin-top: 4px; color: var(--green); opacity: 1; }

/* Card with bottom margin */
.card--mb { margin-bottom: 32px; }

/* Section heading with link */
.section-heading a { color: inherit; }
.section-heading a:hover { color: var(--accent-hover); }
.section-heading-count {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 8px;
}

/* Related works section heading */
.section-heading--related { margin-top: 48px; }

/* ============================================================
   Dashboard — Redesigned
   ============================================================ */

/* Metrics strip — equal height, no cards, just a clean row */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.dash-metric {
  background: var(--card-bg);
  padding: 20px 16px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: background 0.15s;
}
.dash-metric:first-child { border-radius: 12px 0 0 12px; }
.dash-metric:last-child { border-radius: 0 12px 12px 0; }
.dash-metric:hover { background: #f5f5f0; }
.dash-metric--muted { cursor: default; }
.dash-metric-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
}
.dash-metric-lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Main grid: 2/3 + 1/3 layout */
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.dash-panel {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--card-shadow);
  padding: 20px;
}

.dash-section-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

/* Dense table */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table-row { cursor: pointer; transition: background 0.1s; }
.dash-table-row:hover { background: rgba(0,0,0,0.02); }
.dash-table-row td { padding: 8px 4px; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 14px; }
.dash-table-rank { width: 28px; color: var(--text-tertiary); font-size: 12px; font-weight: 500; }
.dash-table-name { font-weight: 500; color: var(--text-primary); }
.dash-table-count { color: var(--text-secondary); font-size: 13px; text-align: right; padding-right: 12px; }
.dash-table-val { text-align: right; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Inline bar distribution */
.dash-bands { display: flex; flex-direction: column; gap: 6px; }
.dash-band { display: grid; grid-template-columns: 72px 1fr 36px; align-items: center; gap: 8px; }
.dash-band-label { font-size: 12px; color: var(--text-secondary); text-align: right; }
.dash-band-bar-wrap { height: 14px; background: rgba(0,0,0,0.04); border-radius: 3px; overflow: hidden; }
.dash-band-bar { height: 100%; background: var(--accent); border-radius: 3px; min-width: 2px; transition: width 0.4s ease; }
.dash-band-count { font-size: 12px; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }

/* Concentration */
.dash-concentration { display: flex; flex-direction: column; gap: 8px; }
.dash-conc-row { display: flex; align-items: baseline; gap: 8px; }
.dash-conc-pct { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--gold); min-width: 48px; }
.dash-conc-desc { font-size: 13px; color: var(--text-secondary); }

/* Holdings list */
.dash-holding { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,0.04); cursor: pointer; transition: background 0.1s; }
.dash-holding:hover { background: rgba(0,0,0,0.02); }
.dash-holding-name { font-size: 13px; color: var(--text-primary); }
.dash-holding-count { font-size: 13px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

/* Featured works grid */
.dash-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.dash-feat-card {
  text-decoration: none; color: inherit;
  border-radius: 8px; overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.15s;
}
.dash-feat-card:hover { box-shadow: var(--card-shadow-hover); }
.dash-feat-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.dash-feat-info { padding: 10px 12px; }
.dash-feat-title { font-family: var(--font-serif); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-feat-artist { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.dash-feat-val { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 4px; }

@media (max-width: 1024px) {
  .dash-metrics { grid-template-columns: repeat(3, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-featured { grid-template-columns: 1fr; }
  .dash-metric-val { font-size: 22px; }
}

/* ============================================================
   Methodology Page
   ============================================================ */
.methodology-page { max-width: 720px; }
.meth-intro {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 40px;
}
.meth-section-page { margin-bottom: 40px; }
.meth-section-page h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.meth-section-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.meth-steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.meth-step { display: flex; gap: 16px; align-items: flex-start; }
.meth-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.meth-step-content { font-size: 14px; line-height: 1.6; color: var(--text-primary); }
.meth-adjustments { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.meth-adj {
  padding: 16px; background: var(--card-bg); border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
}
.meth-adj-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--text-primary); }
.meth-adj-desc { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.meth-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.meth-value-card {
  padding: 20px; background: var(--card-bg); border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
}
.meth-value-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.meth-value-range { font-size: 12px; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.meth-value-card p { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.meth-confidence { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.meth-conf-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.meth-conf-row .badge { flex-shrink: 0; margin-top: 2px; }
.meth-sources { font-size: 14px; line-height: 1.8; padding-left: 20px; }
.meth-sources li { margin-bottom: 4px; }
@media (max-width: 768px) { .meth-values { grid-template-columns: 1fr; } }

/* Logo mark */
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent); color: var(--gold);
  font-family: var(--font-serif); font-size: 18px; font-weight: 700;
}
