/* === colorpicker.css === */
.cp-layout { max-width: 900px; margin: 40px auto; padding: 0 20px; }
    .cp-desc { margin-bottom: 24px; color: var(--text-med); }
    .cp-card { background: var(--bg-card); border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.10); overflow: hidden; }
    .cp-hero { background: var(--secondary); padding: 30px 40px; }
    .cp-hero h2 { color: white; font-size: 28px; margin-bottom: 6px; }
    .cp-hero p { color: rgba(255,255,255,0.6); font-size: 15px; }
    .cp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    .cp-picker { padding: 30px 35px; border-right: 1px solid var(--border); }
    .cp-picker label { display: block; font-weight: 600; margin-bottom: 12px; font-size: 15px; }
    #color-picker-input { width: 100%; height: 100px; border: none; border-radius: 8px; cursor: pointer; padding: 0; background: none; }
    #cp-preview { width: 100%; height: 140px; border-radius: 8px; margin: 18px 0; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: background 0.1s; }
    .cp-values { padding: 30px 35px; }
    .cp-values h3 { font-size: 16px; margin-bottom: 20px; color: var(--text-med); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
    .cv-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 16px; background: var(--bg-light); border-radius: 6px; }
    .cv-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); width: 40px; flex-shrink: 0; }
    .cv-val { font-family: 'Consolas', monospace; font-size: 16px; font-weight: 700; flex: 1; }
    .cv-copy { background: none; border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--primary); font-weight: 600; transition: all 0.15s; }
    .cv-copy:hover { background: var(--primary); color: white; border-color: var(--primary); }
    .cp-swatches { padding: 25px 35px; border-top: 1px solid var(--border); }
    .cp-swatches h3 { font-size: 14px; font-weight: 600; color: var(--text-med); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
    .swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
    .swatch-item { border-radius: 6px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: transform 0.15s, box-shadow 0.15s; }
    .swatch-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
    .swatch-color { height: 60px; }
    .swatch-label { padding: 6px 8px; background: var(--bg-card); color: var(--text-dark); font-size: 11px; font-weight: 600; text-align: center; font-family: 'Consolas', monospace; }
    .cp-shades { padding: 0 35px 30px; }
    .cp-shades h3 { font-size: 14px; font-weight: 600; color: var(--text-med); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
    .shades-row { display: flex; gap: 8px; flex-wrap: wrap; }
    .shade-box { width: 60px; height: 60px; border-radius: 6px; cursor: pointer; transition: transform 0.15s; }
    .shade-box:hover { transform: scale(1.12); }
    @media (max-width: 600px) { .cp-body { grid-template-columns: 1fr; } .cp-picker { border-right: none; border-bottom: 1px solid var(--border); } }
  

