/* Card picker (lib/card-picker.js): big chips, one step at a time on phones. */
.pk-head h1 { margin: 4px 0 16px; }
.pk { max-width: 640px; }
.pk-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; background: none; }
.pk-step legend { font: 700 20px var(--body); padding: 0; margin-bottom: 12px; outline: none; }
.pk-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pk-two { grid-template-columns: 1fr 1fr; }
.pk-chip { position: relative; display: block; }
.pk-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pk-chip span { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); font: 700 17px var(--body); color: var(--fg); transition: border-color .15s, background .15s; }
.pk-chip small { font: 500 13px var(--body); color: var(--muted); margin-top: 2px; }
.pk-chip input:checked + span { border-color: var(--fg); background: var(--sunken); }
.pk-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) { .pk-chip:hover span { border-color: var(--muted); } }
.pk-more { margin-top: 12px; }
.pk-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--muted); }
.pk-more .pk-chips { margin-top: 6px; }
.pk-text { display: block; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.pk-text input { display: block; width: 100%; min-height: 48px; margin-top: 6px; font-size: 17px; }
.pk-go-other { margin-top: 14px; min-height: 48px; }
.pk-nav { display: flex; gap: 10px; margin-top: 4px; }
.pk-nav .btn { min-height: 48px; }
.pk-js .pk-go-other { display: inline-flex; }
.pk-foot { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .pk-chip span { transition: none; } }
