/* Personalisation designers (worker/personal-pages.ts, designer/personal.js). On top of star-map.css and site.css. */
.pz-intro { padding: 24px 0 8px; }
.pz-intro .quick { font-size: 18px; max-width: 46em; }
.pz-sheet { background: #f4f1ea; aspect-ratio: 3 / 4; }
.pz-sheet img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pz-progress { margin: 0 0 4px; color: var(--text-2); }
.pz-nav { display: flex; gap: 10px; justify-content: space-between; padding-top: 8px; }
.pz-nav .btn { min-height: 46px; flex: 1; }
.pz-count { justify-self: end; color: var(--text-3); }
.pz-count.over { color: #a12a2a; font-weight: 500; }
.controls input[aria-invalid=true] { border-color: #a12a2a; }
.pz-fix { color: #a12a2a; font-weight: 500; }
.pz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-chip { font: inherit; font-size: 14px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.pz-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pz-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pz-add { position: relative; cursor: pointer; }
.pz-cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
.pz-cells li { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px dashed var(--border); }
.pz-cells li img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-cells li.low { border: 2px solid #c27a12; }
.pz-empty { display: grid; place-items: center; height: 100%; font-size: 13px; color: var(--text-2); cursor: pointer; text-align: center; padding: 6px; }
.pz-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; cursor: pointer; }
.pz-warn { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(194, 122, 18, .92); color: #fff; font-size: 11px; line-height: 1.25; padding: 4px 6px; }
.pz-photo { display: grid; gap: 10px; }
#pz-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#pz-sizes .swatch { justify-content: space-between; border-radius: var(--radius); }
@media (min-width: 900px) { .pz-cells li { aspect-ratio: 1; } }
