/* Choose-sizes panel (pick.js): a sheet from the bottom on phones, a centred box on computers. */
.pk-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(11,16,32,.45); display: flex; align-items: flex-end; justify-content: center; }
.pk-sh { width: 100%; max-width: 480px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--ink); border-radius: 18px 18px 0 0; padding: 8px 18px 0; font-family: var(--body); }
@media (min-width: 700px) { .pk-scrim { align-items: center; } .pk-sh { border-radius: 16px; max-height: 84vh; } .pk-grab { display: none; } }
.pk-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 10px; }
.pk-hd { display: flex; align-items: center; gap: 12px; padding: 6px 0 4px; }
.pk-hd img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--soft); flex: none; }
.pk-hd div { flex: 1; min-width: 0; }
.pk-hd b { display: block; font-size: 17px; line-height: 1.25; }
.pk-hd span { display: block; font-size: 13px; color: var(--grey); }
.pk-lk { border: 0; background: none; color: var(--blue); font: 600 15px/1.2 var(--body); padding: 10px 0; cursor: pointer; }
.pk-lbl { margin: 16px 0 6px; font-size: 13px; font-weight: 600; color: var(--grey); }
.pk-lbl span { font-weight: 400; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px/1 var(--body); cursor: pointer; }
.pk-chip.on { border-color: var(--blue); color: var(--blue); background: var(--soft); font-weight: 600; box-shadow: inset 0 0 0 1px var(--blue); }
.pk-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pk-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pk-t b { display: block; font-size: 15px; line-height: 1.3; }
.pk-t small { display: block; font-size: 12.5px; color: var(--grey); line-height: 1.35; }
.pk-add { flex: none; min-width: 72px; height: 40px; border: 1.5px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue); font: 600 14px/1 var(--body); cursor: pointer; }
.pk-add:disabled { border-color: var(--line); color: #b4b9c7; cursor: default; }
.pk-step { flex: none; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; height: 42px; }
.pk-step button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.pk-step input { width: 52px; border: 0; text-align: center; font: 600 16px var(--body); color: var(--ink); background: none; }
.pk-other { border-bottom: 0; }
.pk-in { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 16px/1.3 var(--body); color: var(--ink); background: #fff; }
.pk-other .pk-in { flex: 1; min-width: 0; }
.pk-help { display: block; font-size: 13px; padding: 4px 0 6px; text-align: left; }
.pk-hbox { background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--grey); }
.pk-dims { display: flex; gap: 8px; margin-top: 6px; }
.pk-hres { margin-top: 6px; color: var(--ink); font-size: 13px; }
.pk-hres:empty { display: none; }
.pk-mt { margin-top: 8px; max-width: 200px; }
.pk-noteb { display: block; font-size: 13px; font-weight: 500; color: var(--grey); margin-top: 8px; }
.pk-note { margin-top: 14px; font-size: 15px; resize: none; }
.pk-foot { position: sticky; bottom: 0; background: #fff; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); margin-top: 8px; }
.pk-go { width: 100%; height: 50px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font: 600 16px/1 var(--body); cursor: pointer; }
.pk-go:disabled { background: var(--soft); color: var(--grey); cursor: default; }
.pk-mini { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--grey); }
.pk-toast { position: fixed; z-index: 95; left: 50%; top: 76px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 20px rgba(11,16,32,.2); }
.pk-toast a { color: #fff; font-weight: 600; text-decoration: underline; }
/* Card: a small round + on the photo (the tap area stays large). */
.card-pw { position: absolute; z-index: 2; left: 1px; right: 1px; top: 1px; aspect-ratio: 1; pointer-events: none; }
.card-pick { position: absolute; right: 2px; bottom: 2px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.card-pick i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font: 500 20px/1 var(--body); font-style: normal; box-shadow: 0 1px 4px rgba(11,16,32,.18); }
.card-pick.on i { background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; }
/* Catalogue: anything not shown can still be asked for. */
.ask-any { display: flex; align-items: center; gap: 14px; width: 100%; margin: 28px 0 8px; padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; font-family: var(--body); color: var(--ink); }
.ask-any > span { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 22px; color: var(--grey); }
.ask-any b { display: block; font-size: 15px; }
.ask-any small { display: block; font-size: 13px; color: var(--grey); }
.pk-lbl-u { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pk-lbl-u > span { font-weight: 600; }
.pk-unit button { height: 32px; min-width: 48px; font-size: 13px; }
.pk-tag { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--blue); background: #e6ebff; border-radius: 999px; padding: 3px 7px; vertical-align: 1px; }
.pk-tchint { text-align: left; margin: 8px 0 0; }
.pk-toast-big { white-space: normal; flex-direction: column; align-items: stretch; gap: 10px; width: min(92vw, 420px); box-sizing: border-box; line-height: 1.45; }
.pk-tb { display: flex; justify-content: flex-end; gap: 8px; }
.pk-tb .pk-keep, .pk-tb .pk-goq { text-decoration: none; border-radius: 10px; padding: 8px 14px; font: 600 14px var(--body); cursor: pointer; }
.pk-tb .pk-keep { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.pk-tb .pk-goq { background: #fff; color: var(--blue); font-weight: 700; }
.pk-sw { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #d5d9e6; vertical-align: -3px; margin-right: 8px; }
@media (max-width: 759px) { .pk-toast-big { top: auto; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
.pk-book { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--grey); }
.pk-book a { color: var(--blue); font-weight: 600; }

/* 11-29 (T12 #3): tick list for "Quote the whole series" */
.pk-sel { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--grey); padding: 2px 0 4px; }
.pk-sel .pk-lk { font-size: 13px; padding: 6px 0; }
.pk-srow { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pk-srow img, .pk-sph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--soft); flex: none; }
.pk-srow .pk-t { display: block; }
.pk-box { flex: none; width: 24px; height: 24px; border: 2px solid #b5bacb; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 15px; line-height: 1; }
.pk-srow.on .pk-box { background: var(--blue); border-color: var(--blue); }
.pk-srow.had { cursor: default; opacity: .6; }
