/* Color Palette from a Photo (ROADMAP-Calcs-PinPin.md PP7) — the photo, the palette, the readable
   text on each color and the pin kit. Everything else is the core stylesheet. */
.cp { display: grid; gap: 1.1rem; }
@media (min-width: 860px) { .cp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.cp-stage { display: flex; flex-direction: column; gap: .6rem; }
.cp-busy { opacity: .6; }
.cp-frame { position: relative; border-radius: 12px; overflow: hidden; background: var(--chqt-cream, #f6f2fa); cursor: crosshair; touch-action: manipulation; }
.cp-photo, .cp-canvas { display: block; width: 100%; height: auto; }
.cp-mark { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); pointer-events: none; }
.cp-hint { margin: 0; font-size: .95rem; min-height: 1.4em; transition: opacity .4s; }
.cp-hint--off { opacity: .55; }
.cp-samples { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.cp-strip { display: flex; height: 44px; border-radius: 10px; overflow: hidden; border: 1px solid var(--chqt-line, #ddd5e6); margin: .4rem 0 .8rem; }
.cp-strip i { display: block; min-width: 6px; }
.cp-list, .cp-text { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .45rem; }
.cp-list li, .cp-text li, .cp-pick-row { display: flex; align-items: center; gap: .7rem; }
.cp-sw { flex: 0 0 40px; height: 40px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cp-sw--big { flex-basis: 56px; height: 56px; }
.cp-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cp-t b { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cp-t small { font-size: .9rem; color: var(--chqt-muted, #4c4658); }
.cp-copy { flex: 0 0 auto; }
.cp-aa { flex: 0 0 64px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; font-size: 1.25rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cp-g-fail .cp-t small, .cp-g-large .cp-t small { font-weight: 700; }
.cp-card { border-top: 1px solid var(--chqt-line, #ddd5e6); padding-top: .8rem; margin-top: .8rem; }
.cp-h { font-weight: 700; margin: 0 0 .4rem; }
.cp-pick-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.cp-kit-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .7rem; }
.cp-pin { flex: 0 0 104px; height: 156px; border-radius: 10px; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cp-pin b { font-size: 1rem; line-height: 1.15; }
.cp-pin small { font-size: .7rem; margin-top: auto; opacity: .85; }
.cp-pin-bar { display: block; width: 42%; height: 7px; border-radius: 4px; }
.cp-kit-say { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.cp-mood { margin-top: .5rem; }
