  :root {
    --bg-primary: #0a0e1a;
    --bg-card: #1a2236;
    --border-subtle: rgba(255,255,255,0.06);
    --text-primary: #e8ecf4;
    --text-secondary: #8892a8;
    --text-muted: #5a6478;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: 'DM Sans', sans-serif; background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; }
  .bg-grid { position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }
  .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }

  /* Hidden utility class for CSS-based filtering */
  .hidden { display: none !important; }

  /* Vendor Tabs */
  .vendor-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 12px; }
  .vendor-tab {
    font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; font-weight: 700;
    padding: 12px 36px; cursor: pointer; transition: all 0.3s ease;
    color: var(--text-muted); position: relative; letter-spacing: 1px;
    border: none; background: none; border-bottom: 3px solid transparent;
    min-height: 44px; min-width: 44px;
  }
  .vendor-tab:hover { color: var(--text-secondary); }
  .vendor-tab.active-intel { color: #60a5fa; border-bottom-color: #60a5fa; }
  .vendor-tab.active-amd { color: #ef4444; border-bottom-color: #ef4444; }
  .vendor-tab-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); align-self: center; margin: 0 4px; }

  header { text-align: center; margin-bottom: 40px; }
  header h1 { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 6px; }
  .header-intel { background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .header-amd { background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  header p { color: var(--text-secondary); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }

  .search-wrap { max-width: 400px; margin: 0 auto 20px; position: relative; }
  .search-wrap input { width: 100%; padding: 10px 40px 10px 40px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-primary); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; outline: none; transition: border-color 0.2s ease; }
  .search-wrap input:focus { border-color: rgba(255,255,255,0.2); }
  .search-wrap input::placeholder { color: var(--text-muted); }
  .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; }
  .search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, color 0.2s ease; }
  .search-clear.visible { opacity: 1; pointer-events: auto; }
  .search-clear:hover { color: var(--text-primary); }

  .legend { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
  .legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--border-subtle); cursor: pointer; transition: all 0.25s ease; user-select: none; min-height: 40px; }
  .legend-item:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); }
  .legend-item.active { border-color: var(--tag-color, rgba(255,255,255,0.2)); background: color-mix(in srgb, var(--tag-color, #fff) 10%, transparent); color: var(--text-secondary); }
  .legend-item.inactive { opacity: 0.35; border-color: transparent; }
  .legend-item.inactive:hover { opacity: 0.6; border-color: rgba(255,255,255,0.08); }
  .legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; transition: opacity 0.25s ease; }
  .legend-item.inactive .legend-dot { opacity: 0.4; }
  .legend-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); margin: 0 4px; flex-shrink: 0; }

  .controls { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
  .filter-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 500; padding: 10px 18px; border: 1px solid var(--border-subtle); border-radius: 6px; background: var(--bg-card); color: var(--text-secondary); cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.5px; min-height: 44px; }
  .filter-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text-primary); }
  .filter-btn.active { border-color: currentColor; color: var(--text-primary); background: rgba(255,255,255,0.05); }
  .filter-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.1); margin: 0 4px; flex-shrink: 0; }
  .filter-btn[data-filter="all"].active { border-color: #60a5fa; color: #60a5fa; }
  .filter-btn[data-filter="desktop"].active { border-color: #4ade80; color: #4ade80; }
  .filter-btn[data-filter="mobile"].active, .filter-btn[data-filter="laptop"].active { border-color: #f472b6; color: #f472b6; }
  .filter-btn[data-filter="server"].active { border-color: #fbbf24; color: #fbbf24; }
  .filter-btn[data-filter="embedded"].active { border-color: #c084fc; color: #c084fc; }

  .toolbar { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
  .expand-all-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; padding: 10px 16px; border: 1px solid var(--border-subtle); border-radius: 5px; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.5px; min-height: 44px; }
  .expand-all-btn:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.15); }

  .era-separator { display: flex; align-items: center; gap: 16px; margin: 28px 0 18px; padding-left: 4px; }
  .era-separator:first-child { margin-top: 0; }
  .era-separator .era-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
  .era-separator .era-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.08), transparent); }

  .timeline { position: relative; padding-left: 48px; }
  .timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 5%, rgba(255,255,255,0.08) 95%, transparent); }

  .arch-group { position: relative; margin-bottom: 8px; transition: opacity 0.4s ease, transform 0.4s ease; animation: slideUp 0.5s ease both; }
  @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

  .arch-header { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px 20px; cursor: pointer; border-radius: 10px; transition: background 0.2s ease; user-select: none; position: relative; overflow: hidden; }
  .arch-header:hover { background: rgba(255,255,255,0.03); }
  .arch-header.unreleased-arch::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(239,68,68,0.04) 12px, rgba(239,68,68,0.04) 24px),
      rgba(239,68,68,0.08);
    pointer-events: none;
    z-index: 0;
  }
  .arch-header.unreleased-arch > * { position: relative; z-index: 1; }
  .timeline-dot { position: absolute; left: -38px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; border: 2px solid; background: var(--bg-primary); z-index: 2; transition: all 0.3s ease; }
  .arch-header:hover .timeline-dot { transform: translateY(-50%) scale(1.3); box-shadow: 0 0 12px currentColor; }
  .arch-name { font-family: 'JetBrains Mono', monospace; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.3px; }
  .arch-year { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--text-muted); background: rgba(255,255,255,0.04); padding: 3px 10px; border-radius: 4px; }
  .arch-segment-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
  .arch-segment-badge.client-badge { color: #818cf8; background: rgba(129,140,248,0.1); border: 1px solid rgba(129,140,248,0.2); }
  .arch-segment-badge.server-badge { color: #fbbf24; background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); }
  .arch-segment-badge.workstation-badge { color: #34d399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); }
  .unreleased-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; color: #ef4444; margin-left: 8px; font-style: italic; opacity: 0.8; }
  .expand-icon { margin-left: auto; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: transform 0.3s ease; font-size: 1.2rem; }
  .arch-group.expanded .expand-icon { transform: rotate(180deg); }

  .arch-body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease; padding: 0 20px; }
  .arch-group.expanded .arch-body { max-height: 15000px; padding: 0 20px 20px; }
  .skus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-top: 8px; }

  .sku-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 14px 16px; transition: all 0.25s ease; cursor: default; position: relative; overflow: hidden; }
  .sku-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; opacity: 0.6; transition: opacity 0.2s ease; }
  .sku-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
  .sku-card:hover::before { opacity: 1; }
  .sku-card.selected { border-color: var(--arch-color); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 1px var(--arch-color), 0 4px 12px rgba(0,0,0,0.3); }
  .sku-card.selected::before { opacity: 1; width: 4px; }
  .sku-name { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
  .sku-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
  .sku-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
  .sku-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; padding: 2px 8px; border-radius: 3px; background: rgba(255,255,255,0.05); color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
  .sku-tag.desktop { color: #4ade80; background: rgba(74,222,128,0.1); }
  .sku-tag.mobile, .sku-tag.laptop { color: #f472b6; background: rgba(244,114,182,0.1); }
  .sku-tag.server { color: #fbbf24; background: rgba(251,191,36,0.1); }
  .sku-tag.embedded { color: #c084fc; background: rgba(192,132,252,0.1); }
  .sku-tag.handheld { color: #22d3ee; background: rgba(34,211,238,0.1); }
  .sku-tag.pro { color: #f0abfc; background: rgba(240,171,252,0.1); border: 1px solid rgba(240,171,252,0.2); }
  .sku-tag.iot { color: #c084fc; background: rgba(192,132,252,0.1); }

  /* Intel brand tags */
  .sku-tag.brand-core-ultra { color: #38bdf8; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.25); }
  .sku-tag.brand-core { color: #fb923c; background: rgba(251,146,60,0.12); border: 1px solid rgba(251,146,60,0.25); }
  .sku-tag.brand-xeon { color: #a78bfa; background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.25); }
  .sku-tag.brand-xeon-6-p { color: #ef4444; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); }
  .sku-tag.brand-xeon-6-e { color: #14b8a6; background: rgba(20,184,166,0.12); border: 1px solid rgba(20,184,166,0.25); }
  /* AMD brand tags */
  .sku-tag.brand-ryzen { color: #f97316; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.25); }
  .sku-tag.brand-threadripper { color: #f59e0b; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }
  .sku-tag.brand-epyc { color: #10b981; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); }
  .sku-tag.brand-athlon { color: #8b5cf6; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25); }
  .sku-tag.brand-ryzen-ai { color: #06b6d4; background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); }

  /* Dynamic arch theme colors via CSS custom properties set inline */
  .arch-group { --arch-color: #60a5fa; }
  .arch-group .timeline-dot { border-color: var(--arch-color); }
  .arch-group .arch-name { color: var(--arch-color); }
  .arch-group .sku-card::before { background: var(--arch-color); }

  /* Links & Notes */
  .links-area { margin-top: 12px; width: 100%; }
  .links-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .links-label, .notes-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
  .notes-label { margin-bottom: 6px; }
  .add-link-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; padding: 3px 10px; border: 1px dashed rgba(255,255,255,0.15); border-radius: 4px; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s ease; }
  .add-link-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text-secondary); }
  .links-list { display: flex; flex-direction: column; gap: 6px; }
  .link-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: 6px; transition: all 0.2s ease; }
  .link-item:hover { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); }
  .link-icon { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }
  .link-item a { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #60a5fa; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; transition: color 0.2s ease; }
  .link-item a:hover { color: #93c5fd; text-decoration: underline; }
  .link-label-text { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-secondary); flex-shrink: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .link-remove-btn { font-size: 0.8rem; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0 4px; line-height: 1; flex-shrink: 0; opacity: 0; transition: opacity 0.2s ease, color 0.2s ease; }
  .link-item:hover .link-remove-btn { opacity: 1; }
  .link-remove-btn:hover { color: #ef4444; }
  .link-empty { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted); padding: 6px 0; font-style: italic; }
  .add-link-form { display: none; gap: 6px; margin-top: 8px; }
  .add-link-form.visible { display: flex; }
  .add-link-form input { flex: 1; padding: 6px 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 5px; color: var(--text-primary); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; outline: none; min-width: 0; }
  .add-link-form input:focus { border-color: rgba(255,255,255,0.2); }
  .add-link-form input::placeholder { color: var(--text-muted); }
  .add-link-form button { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; padding: 6px 12px; border-radius: 5px; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
  .add-link-save { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; }
  .add-link-save:hover { background: rgba(74,222,128,0.2); }
  .add-link-cancel { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-muted); }
  .add-link-cancel:hover { border-color: rgba(255,255,255,0.15); color: var(--text-secondary); }
  .notes-area { margin-top: 8px; width: 100%; }
  .notes-area textarea { width: 100%; min-height: 60px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: 6px; color: var(--text-secondary); font-family: 'DM Sans', sans-serif; font-size: 0.8rem; padding: 10px 12px; resize: vertical; outline: none; }
  .notes-area textarea:focus { border-color: rgba(255,255,255,0.2); }
  .notes-area textarea::placeholder { color: var(--text-muted); }

  /* Arch subtitle */
  .arch-subtitle {
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted);
    width: 100%; margin-top: -6px; letter-spacing: 0.3px; line-height: 1.5;
  }
  .arch-subtitle .sub-sep { opacity: 0.4; margin: 0 5px; }

  /* Codename reference table (AMD) */
  .codename-table-wrap {
    margin-bottom: 28px; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--border-subtle); background: rgba(255,255,255,0.015);
  }
  .codename-table-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; cursor: pointer; user-select: none;
    min-height: 44px;
  }
  .codename-table-header:hover { background: rgba(255,255,255,0.02); }
  .codename-table-title {
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 600;
    color: var(--text-secondary); letter-spacing: 0.5px;
  }
  .codename-table-toggle {
    font-size: 1rem; color: var(--text-muted); transition: transform 0.3s ease;
    padding: 8px;
  }
  .codename-table-wrap.collapsed .codename-table-toggle { transform: rotate(-90deg); }
  .codename-table-body { overflow: hidden; transition: max-height 0.4s ease; max-height: 600px; overflow-x: auto; }
  .codename-table-wrap.collapsed .codename-table-body { max-height: 0; }
  .codename-table {
    min-width: 100%; width: max-content; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  }
  .codename-table th {
    text-align: left; padding: 8px 12px; color: var(--text-muted); font-weight: 500;
    letter-spacing: 0.8px; text-transform: uppercase; font-size: 0.6rem;
    border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,0.02);
  }
  .codename-table td {
    padding: 7px 12px; border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--text-secondary); vertical-align: top;
  }
  .codename-table tr { cursor: pointer; transition: background 0.15s ease; }
  .codename-table tbody tr:hover { background: rgba(255,255,255,0.03); }
  .codename-table tr:last-child td { border-bottom: none; }
  .ct-zen { font-weight: 600; white-space: nowrap; }
  .ct-process { color: var(--text-muted); font-size: 0.65rem; }
  .ct-codename { color: var(--text-primary); }
  .ct-dim { color: var(--text-muted); font-style: italic; font-size: 0.65rem; }
  .ct-hedt { color: var(--text-muted); font-size: 0.62rem; display: block; margin-top: 2px; }

  /* Tech sub-tabs (CPU / GPU) */
  .tech-tabs { display: none; justify-content: center; gap: 0; margin-bottom: 6px; }
  .tech-tabs.visible { display: flex; }
  .tech-tab {
    font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 600;
    padding: 10px 28px; cursor: pointer; transition: all 0.25s ease;
    color: var(--text-muted); border: none; background: none;
    border-bottom: 2px solid transparent; letter-spacing: 0.5px;
    min-height: 44px; min-width: 44px;
  }
  .tech-tab:hover { color: var(--text-secondary); }
  .tech-tab.active { color: #ef4444; border-bottom-color: #ef4444; }
  .tech-tab-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.1); align-self: center; margin: 0 4px; }

  /* GPU spec tables inside cards */
  .gpu-spec-table {
    min-width: 100%; width: max-content; border-collapse: collapse; font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem; margin-top: 10px;
  }
  .gpu-spec-table th {
    text-align: left; padding: 6px 10px; color: var(--text-muted); font-weight: 500;
    letter-spacing: 0.6px; text-transform: uppercase; font-size: 0.58rem;
    border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,0.02);
    white-space: nowrap;
  }
  .gpu-spec-table td {
    padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--text-secondary); white-space: nowrap;
  }
  .gpu-spec-table tbody tr { transition: background 0.15s ease; }
  .gpu-spec-table tbody tr:hover { background: rgba(255,255,255,0.03); }
  .gpu-spec-table tbody tr:last-child td { border-bottom: none; }
  .gpu-spec-table .gpu-model-name { color: var(--text-primary); font-weight: 600; }
  .gpu-spec-table .gpu-val-highlight { color: #4ade80; }
  .gpu-family-desc {
    font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 4px;
  }
  .gpu-spec-overflow {
    overflow-x: auto;
    margin-top: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .gpu-spec-overflow::-webkit-scrollbar, .cpu-spec-overflow::-webkit-scrollbar { height: 8px; }
  .gpu-spec-overflow::-webkit-scrollbar-track, .cpu-spec-overflow::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
  .gpu-spec-overflow::-webkit-scrollbar-thumb, .cpu-spec-overflow::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
  .gpu-spec-overflow::-webkit-scrollbar-thumb:hover, .cpu-spec-overflow::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
  .gpu-spec-overflow, .cpu-spec-overflow { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) rgba(255,255,255,0.04); }

  /* CPU Spec Dropdown Tables */
  .sku-card.has-specs { cursor: pointer; position: relative; }
  .sku-card.has-specs:hover { border-color: rgba(255,255,255,0.15); }
  .sku-spec-toggle { position: absolute; top: 8px; right: 8px; font-size: 0.6rem; color: var(--text-muted); opacity: 0.5; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.5px; text-transform: uppercase; transition: opacity 0.2s; pointer-events: none; }
  .sku-card.has-specs:hover .sku-spec-toggle { opacity: 1; }
  .sku-spec-count { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--accent); opacity: 0.7; margin-left: 6px; }
  .unreleased-notice { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: #94a3b8; opacity: 0.6; margin-left: 6px; font-style: italic; }
  .unreleased-text { color: #94a3b8 !important; opacity: 0.6 !important; }
  .sku-card.unreleased-sku { opacity: 0.75; border-color: rgba(148,163,184,0.15); }
  .sku-card { order: var(--card-order, 0); }
  .cpu-spec-wrapper { display: none; grid-column: 1 / -1; margin: -4px 0 8px 0; order: var(--spec-order, 0); max-width: 100%; width: 100%; box-sizing: border-box; }
  .cpu-spec-wrapper.open { display: block; animation: fadeSlide 0.2s ease; }
  @keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
  .cpu-spec-overflow {
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: rgba(0,0,0,0.15);
    -webkit-overflow-scrolling: touch;
  }
  .cpu-spec-table { min-width: 100%; width: max-content; border-collapse: collapse; font-size: 0.68rem; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
  .cpu-spec-table th { padding: 8px 10px; text-align: left; color: var(--text-muted); font-weight: 600; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,0.02); position: sticky; top: 0; z-index: 1; }
  .cpu-spec-table td { padding: 6px 10px; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.03); }
  .cpu-spec-table tbody tr { transition: background 0.15s ease; }
  .cpu-spec-table tbody tr:hover { background: rgba(255,255,255,0.03); }
  .cpu-spec-table tbody tr:last-child td { border-bottom: none; }
  .cpu-spec-table tbody tr.search-match { background: rgba(251, 191, 36, 0.15); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3); animation: highlightPulse 0.6s ease; }
  .cpu-spec-table tbody tr.row-selected { background: rgba(34, 197, 94, 0.15); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.3); cursor: pointer; }
  .cpu-spec-table tbody tr { cursor: pointer; }
  @keyframes highlightPulse { 0% { background: rgba(251, 191, 36, 0.3); } 100% { background: rgba(251, 191, 36, 0.15); } }
  .cpu-spec-table .cpu-model-name { color: var(--text-primary); font-weight: 600; }
  .cpu-spec-table .cpu-val-highlight { color: #4ade80; }
  .cpu-spec-table .cpu-val-gpu { color: #38bdf8; }
  .collapse-specs-btn { visibility: hidden; opacity: 0; margin: 4px 0 2px auto; padding: 3px 10px; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); border-radius: 4px; cursor: pointer; transition: all 0.15s ease; pointer-events: none; }
  .collapse-specs-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
  .collapse-specs-btn.visible { visibility: visible; opacity: 1; pointer-events: auto; }
  .cpu-spec-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; }
  .cpu-spec-header-title { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

  /* Tablet breakpoint */
  @media (max-width: 768px) {
    .container { padding: 32px 16px 60px; }
    header h1 { font-size: 1.5rem; }
    .skus-grid { grid-template-columns: minmax(0, 1fr); max-width: 100%; width: 100%; }
    .legend { font-size: 0.7rem; }
    .legend-item { padding: 7px 12px; gap: 5px; }
    .filter-btn { padding: 10px 14px; font-size: 0.7rem; }
    .search-wrap { max-width: 100%; }
    .cpu-spec-table { font-size: 0.6rem; }
    .cpu-spec-table th, .cpu-spec-table td { padding: 5px 6px; }
    .codename-table-body {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  /* Mobile breakpoint */
  @media (max-width: 640px) {
    .container { padding: 20px 12px 60px; }
    header h1 { font-size: 1.2rem; }
    header p { font-size: 0.75rem; letter-spacing: 1.5px; }
    .timeline { padding-left: 30px; }
    .timeline::before { left: 10px; width: 1.5px; }
    .timeline-dot { left: -26px; width: 10px; height: 10px; }
    .skus-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 100%; width: 100%; }
    .arch-name { font-size: 0.95rem; }
    .arch-year { font-size: 0.7rem; padding: 2px 8px; }
    .arch-segment-badge { display: none; }
    .arch-header { padding: 12px 14px; gap: 10px; }
    .arch-body { padding: 0 14px; }
    .arch-group.expanded .arch-body { padding: 0 14px 16px; }
    .add-link-form { flex-wrap: wrap; }
    .vendor-tab { font-size: 1rem; padding: 10px 24px; min-height: 44px; }
    .vendor-tabs { margin-bottom: 10px; }
    .filter-btn { padding: 10px 14px; font-size: 0.7rem; }
    .controls { gap: 6px; margin-bottom: 20px; }
    .legend { gap: 6px; margin-bottom: 20px; }
    .legend-item { padding: 7px 10px; font-size: 0.7rem; }
    .expand-all-btn { padding: 8px 14px; font-size: 0.65rem; }
    .toolbar { gap: 6px; margin-bottom: 14px; }
    .codename-table-wrap { margin-bottom: 20px; }
    .codename-table-body {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .codename-table { font-size: 0.6rem; }
    .codename-table th, .codename-table td { padding: 5px 4px; }
    .arch-subtitle { font-size: 0.6rem; }
    .gpu-spec-table { font-size: 0.58rem; }
    .gpu-spec-table th, .gpu-spec-table td { padding: 4px 5px; }
    .gpu-spec-overflow {
      border-radius: 6px;
    }
    .cpu-spec-overflow {
      border-radius: 6px;
    }
    .cpu-spec-table { font-size: 0.6rem; }
    .cpu-spec-table th, .cpu-spec-table td { padding: 5px 4px; }
    .tech-tab { font-size: 0.75rem; padding: 8px 20px; min-height: 44px; }
    .tech-tabs { margin-bottom: 8px; }
    .sku-card { padding: 12px 14px; max-width: 100%; width: 100%; box-sizing: border-box; }
    .sku-name { font-size: 0.8rem; margin-bottom: 5px; }
    .sku-desc { font-size: 0.75rem; }
    .sku-tags { gap: 5px; margin-top: 8px; }
    .sku-tag { font-size: 0.6rem; padding: 2px 6px; }
    .search-wrap { margin-bottom: 16px; }
    .search-wrap input { padding: 10px 14px 10px 38px; font-size: 0.75rem; }
    .links-area { margin-top: 10px; }
    .notes-area { margin-top: 6px; }
    .notes-area textarea { font-size: 0.75rem; padding: 8px 10px; min-height: 50px; }
  }

  /* Small mobile breakpoint */
  @media (max-width: 375px) {
    .container { padding: 16px 10px 50px; }
    header h1 { font-size: 1.1rem; }
    .vendor-tab { font-size: 0.9rem; padding: 10px 20px; }
    .timeline { padding-left: 24px; }
    .timeline-dot { left: -20px; }
    .arch-name { font-size: 0.9rem; }
    .arch-header { padding: 10px 12px; }
    .filter-btn { padding: 10px 12px; font-size: 0.65rem; }
    .legend-item { padding: 6px 8px; font-size: 0.65rem; }
    .controls { gap: 5px; }
    .legend { gap: 5px; }
  }
