/* Visual setup: image collection and reveal style are independent choices. */
.jcg-pq-intro.jcg-pq-setup { max-width: 1040px; margin: 24px auto; }
.jcg-pq-setup-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; max-width: 680px; margin: 24px auto 20px; text-align: left; }
.jcg-pq-step-progress { color: #5b6478; font-size: 14px; font-weight: 700; }
.jcg-pq-step-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #eaf0ff; color: #12347e; }
.jcg-pq-step-context .jcg-tool { font-size: 13px; }
.jcg-pq-picker { min-width: 0; border: 0; margin: 0; padding: 0; }
.jcg-pq-picker legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 19px; }
.jcg-pq-picker legend > span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: #12347e; color: #fff; }
.jcg-pq-pick-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.jcg .jcg-pq-pick { position: relative; min-width: 0; padding: 10px; border: 3px solid #dfe5f1; border-radius: 16px; background: #fff; color: #1c2030; font: inherit; text-align: left; cursor: pointer; }
.jcg .jcg-pq-pick:is(:hover,:focus) { background: #fff; color: #1c2030; border-color: #9eb0d7; }
.jcg .jcg-pq-pick[aria-pressed="true"] { border-color: #12347e; background: #edf2ff; color: #12347e; }
.jcg-pq-pick[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid white; border-radius: 50%; background: #12347e; color: #fff; font-weight: 800; }
.jcg-pq-pick:focus-visible { outline: 3px solid #e8a54b; outline-offset: 3px; }
.jcg .jcg-pq-pick :is(strong,small) { display: block; color: inherit; -webkit-text-fill-color: currentColor; }
.jcg-pq-pick strong { margin-top: 10px; font-size: 16px; line-height: 1.3; }
.jcg-pq-pick small { margin-top: 5px; font-size: 12px; line-height: 1.5; font-weight: 400; }
.jcg-pq-preview { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 9px; overflow: hidden; background: #fff; }
.jcg-pq-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jcg-pq-preview-cover { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); }
.jcg-pq-preview-cover i { border: 1px solid #fff7; background: #12347e; }
.jcg-pq-preview-cover i:nth-child(5) { opacity: 0; }
.jcg-pq-selection { font-weight: 800; color: #12347e; }
.jcg-pq-setup [data-pq-setup-status]:empty { display: none; }
.jcg-pq-setup-help { max-width: 760px; margin: 20px auto 0; text-align: left; font-size: 14px; }
.jcg-pq-setup-help summary { color: #12347e; font-weight: 700; cursor: pointer; }
.jcg-pq-setup .jcg-pq-setup-note { max-width: 760px; margin: 10px auto; font-size: 14px; line-height: 1.6; }
.jcg-pq[data-library="coloring"] .jcg-pq-canvas { background: white; }
.jcg-pq[data-library="coloring"] .jcg-pq-gallery img { background: white; }
@media (max-width: 760px) {
    .jcg-pq-setup-grid { gap: 24px; margin: 22px auto 16px; }
    .jcg-pq-pick-options { gap: 10px; }
    .jcg .jcg-pq-pick { padding: 8px; }
    .jcg-pq-pick strong { font-size: 15px; }
    .jcg-pq-picker legend { font-size: 17px; }
}
