.color-studio-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin: 1.5rem 0;
      align-items: start;
    }
    @media (max-width: 800px) {
      .color-studio-grid {
        grid-template-columns: 1fr;
      }
    }
    .color-swatch-hero {
      width: 100%;
      height: 240px;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-xl);
      border: 4px solid var(--border-color);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: background-color 0.15s ease;
      position: relative;
      overflow: hidden;
    }
    .color-native-input {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
    }
    .color-swatch-label {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      font-weight: 900;
      font-family: ui-monospace, monospace;
      text-shadow: 0 2px 8px rgba(0,0,0,0.35);
      z-index: 2;
      pointer-events: none;
    }
    .color-swatch-hint {
      font-size: 0.85rem;
      font-weight: 700;
      margin-top: 0.4rem;
      z-index: 2;
      pointer-events: none;
      opacity: 0.9;
    }
    .code-cards-list {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }
    .code-card {
      background: var(--bg-surface-subtle);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 0.75rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .code-card-type {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      width: 50px;
    }
    .code-card-value {
      font-size: 1.15rem;
      font-weight: 800;
      font-family: ui-monospace, monospace;
      color: var(--text-primary);
      flex: 1;
    }
    .palette-swatches-row {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin: 0.75rem 0;
    }
    .palette-swatch-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 3px solid var(--bg-surface);
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: transform 0.15s;
    }
    .palette-swatch-btn:hover {
      transform: scale(1.18);
    }
    .wcag-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1rem;
      margin-top: 1rem;
      display: flex;
      gap: 1.5rem;
      align-items: center;
      justify-content: space-around;
    }
    .wcag-item {
      text-align: center;
    }
    .wcag-badge {
      display: inline-block;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 800;
      margin-top: 0.25rem;
    }
    @media (max-width: 560px) {
      .color-swatch-hero {
        height: 180px;
      }
      .code-card {
        padding: 0.6rem 0.85rem;
        gap: 0.5rem;
      }
      .code-card-value {
        font-size: 0.95rem;
      }
      .wcag-box {
        flex-direction: column;
        gap: 0.75rem;
      }
    }