/* Collection viewer — layered on site.css tokens (paper ground, purple brand). */
#collection-viewer { margin: 1.5rem 0 2rem; }
#collection-viewer noscript p { padding: 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-sunk); }

.cv-source-picker { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--paper-sunk); }
.cv-source-heading { margin: 0 auto 1.1rem; text-align: center; }
.cv-source-heading h2 { margin: 0 0 .3rem; font-size: 1.35rem; }
.cv-source-heading p { margin: 0; color: var(--ink-muted); }
.cv-source-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: .9rem; }
.cv-source-card {
  min-height: 245px; padding: 1.35rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-sm); text-align: left;
}
.cv-source-card h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.cv-source-card p { margin: 0; color: var(--ink-muted); font-size: .9rem; }
.cv-source-card > .btn { align-self: flex-start; margin-top: auto; }
.cv-source-card > small { color: var(--ink-muted); font-size: .78rem; }
.cv-source-icon {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 12px;
  background: var(--accent-soft); color: var(--brand);
}
.cv-source-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cv-source-icon-pair { background: var(--accent-soft); color: var(--brand); }
/* The pairing card leads, and takes the full row: it is the route for everyone,
   and its QR code needs the width. */
.cv-pair-wrap { grid-column: 1 / -1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; border-color: var(--brand); }
.cv-pair-how { width: 100%; padding: .8rem 0; border-block: 1px solid var(--line); }
.cv-pair-how > strong { display: block; margin-bottom: .55rem; font-size: .92rem; }
.cv-pair-how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem 1.25rem; margin: 0; padding-left: 1.25rem; }
.cv-pair-how li { padding-left: .15rem; color: var(--ink); font-size: .86rem; line-height: 1.45; }
.cv-pair-how p { margin-top: .65rem; color: var(--ink-muted); font-size: .8rem; }
.cv-pair-panel { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 1rem 1.5rem; align-items: center; width: 100%; }
.cv-pair-panel[hidden] { display: none; }
.cv-qr { grid-row: span 3; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: .5rem; }
.cv-qr svg { display: block; width: 100%; height: auto; }
.cv-pair-steps { margin: 0; padding-left: 1.2rem; font-size: .95rem; line-height: 1.7; }
.cv-pair-status { margin: 0; font-weight: 600; color: var(--brand); }
.cv-pair-generating { display: inline-flex; align-items: center; gap: .55rem; }
.cv-pair-spinner {
  width: 1rem; height: 1rem; flex: 0 0 auto; box-sizing: border-box;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: cv-spin .7s linear infinite;
}
#cv-pair .cv-pair-spinner { color: #fff; }
.cv-pair-panel .btn { justify-self: start; }
/* How long the code lasts: present, but never louder than the status line above it. */
.cv-pair-expiry { margin: 0; font-size: 0.86rem; color: var(--ink-muted); }
.cv-pair-remember { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: .88rem; }
.cv-pair-remember label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.cv-pair-remember small { flex-basis: 100%; color: var(--ink-muted); font-size: .78rem; }
.cv-link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; }
.cv-link[hidden] { display: none; }
@media (max-width: 560px) {
  .cv-pair-how ol { grid-template-columns: 1fr; gap: .45rem; }
  .cv-pair-panel { grid-template-columns: 1fr; }
  .cv-qr { grid-row: auto; max-width: 240px; }
}
.cv-source-card[hidden] { display: none !important; }
.cv-privacy { margin: 1rem auto 0; max-width: 46rem; font-size: 0.84rem; color: var(--ink-muted); text-align: center; }
.cv-privacy strong { color: var(--green); }

.cv-workspace-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.cv-workspace-head[hidden] { display: none; }
.cv-workspace-brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.cv-workspace-brand img { border-radius: 10px; }
.cv-workspace-brand span { display: grid; line-height: 1.15; }
.cv-workspace-brand small { margin-top: .15rem; color: var(--ink-muted); font-size: .75rem; font-weight: 500; }

body.cv-workspace { background: var(--paper-sunk); }
body.cv-workspace > .site-header,
body.cv-workspace > footer,
body.cv-workspace .sticky-cta,
body.cv-workspace .article > :not(#collection-viewer),
body.cv-workspace .aside-card { display: none !important; }
body.cv-workspace .article-wrap { width: 100%; max-width: none; padding: 0 1.25rem 2rem; }
body.cv-workspace .article-layout { display: block; max-width: 1500px; margin: 0 auto; }
body.cv-workspace .article { max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.cv-workspace #collection-viewer { margin: 0; }
body.cv-workspace #cv-status { max-width: 760px; margin: .75rem auto; }
body.cv-workspace.cv-has-collection #cv-source-picker { display: none; }

#cv-status { margin: 0.9rem 0 0; padding: 0.7rem 0.9rem; border-radius: var(--radius-md); background: var(--accent-soft); font-size: 0.92rem; }
#cv-status.is-error { background: rgba(178, 60, 60, 0.1); color: #8a2a2a; }

/* ---- app shell */
#cv-app { margin-top: 1.25rem; }
.cv-snapshot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-bottom: 0.9rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-md); background: var(--accent-soft); font-size: 0.92rem; }
.cv-snapshot[hidden] { display: none; }
.cv-snapshot p { flex: 1 1 320px; margin: 0; }
/* Its own row under the copy-taken-at line, above the refresh button. */
.cv-snapshot p.cv-snapshot-expiry { flex: 1 1 100%; font-size: 0.86rem; color: var(--ink-muted); }
.cv-snapshot p.cv-snapshot-expiry[hidden] { display: none; }
.cv-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.6rem; margin-bottom: 0.9rem; }
.cv-stat { padding: 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.cv-stat-wide { grid-column: span 2; }
.cv-stat-n { display: block; font-size: 1.15rem; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.cv-stat-l { display: block; font-size: 0.74rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.cv-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.9rem; }
.cv-toolbar input[type="search"], .cv-toolbar select {
  font: inherit; padding: 0.5rem 0.7rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); min-width: 0;
}
.cv-toolbar input[type="search"] { flex: 1 1 200px; }
.cv-toolbar .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

.cv-layout { display: block; }
.cv-albums { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.8rem; }
.cv-album {
  display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; font-size: 0.88rem;
  padding: 0.35rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink-soft); cursor: pointer;
}
.cv-album small { color: var(--ink-muted); }
.cv-album:hover { background: var(--paper-sunk); }
.cv-album.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.cv-album.is-active small { color: rgba(255,255,255,.8); }

.cv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.cv-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; }
.cv-card:hover, .cv-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lg); outline: none; border-color: var(--brand-light); }
.cv-thumb { position: relative; aspect-ratio: 4 / 5; background: var(--paper-sunk); display: flex; align-items: center; justify-content: center; }
.cv-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cv-type { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 1px 7px; border-radius: 999px; background: rgba(25,23,19,.72); color: #fff; font-size: 0.68rem; letter-spacing: .03em; text-transform: uppercase; }
.cv-type-warn { position: static; background: var(--gold); }
.cv-fav { position: absolute; right: 8px; top: 4px; color: var(--gold); font-size: 1.1rem; }
.cv-nophoto { font-size: 0.78rem; color: var(--ink-muted); padding: 0.5rem; text-align: center; }
.cv-card-body { padding: 0.55rem 0.7rem 0.7rem; }
.cv-card-body h3 { margin: 0 0 0.15rem; font-size: 0.95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cv-card-body p { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.cv-card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem !important; }
.cv-card-meta span { color: var(--ink-soft); }
.cv-none { grid-column: 1 / -1; color: var(--ink-muted); padding: 2rem; text-align: center; }

/* ---- drawer */
#cv-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); z-index: 1200; overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper); box-shadow: var(--shadow-lg); padding: 1.1rem 1.2rem 2rem; border-left: 1px solid var(--line);
}
#cv-drawer.cv-editor-dialog {
  inset: 0; width: 100%; max-width: none; padding: 0; border: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(320px, 38%) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  background: var(--paper-sunk);
}
.cv-editor-dialog .cv-drawer-head {
  grid-column: 1 / -1; padding: 1rem 1.5rem; align-items: center;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.cv-editor-dialog .cv-drawer-head h2 { margin-top: .25rem; padding: 0; border: 0; font-size: 1.4rem; }
.cv-editor-dialog .cv-drawer-photos {
  grid-column: 1; grid-row: 2; grid-template-columns: 1fr; align-content: start;
  margin: 0; padding: 1.5rem; overflow: auto; background: #e9e4da;
}
.cv-editor-dialog .cv-drawer-photos figure { padding: .8rem; background: var(--paper); box-shadow: var(--shadow-sm); }
.cv-editor-dialog .cv-drawer-photos img { max-height: calc(100vh - 155px); }
.cv-editor-dialog .cv-form {
  grid-column: 2; grid-row: 2; overflow: auto; padding: 1.4rem clamp(1.25rem, 3vw, 3rem) 2rem;
  background: var(--paper);
}
.cv-editor-dialog .cv-form fieldset {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem;
  padding: 1.1rem 0 .8rem;
}
.cv-editor-dialog .cv-form legend { width: 100%; padding-bottom: .2rem; font-size: .95rem; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; }
.cv-editor-dialog .cv-field { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; margin: 0; }
.cv-editor-dialog .cv-field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.cv-editor-dialog .cv-field input,
.cv-editor-dialog .cv-field select,
.cv-editor-dialog .cv-field textarea { padding: .65rem .7rem; }
.cv-editor-dialog .cv-field:has(textarea),
.cv-editor-dialog .cv-form-hint { grid-column: 1 / -1; }
.cv-editor-dialog .cv-field-error { grid-column: auto; }
.cv-editor-dialog .cv-form-actions { bottom: -1.4rem; z-index: 2; padding: .9rem 0; box-shadow: 0 -8px 16px var(--paper); }
.cv-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(178, 60, 60, .25); }
.cv-danger-zone strong { font-size: .9rem; color: #8a2a2a; }
.cv-danger-zone p { margin: .15rem 0 0; font-size: .8rem; color: var(--ink-muted); }
.cv-danger-zone .cv-danger { flex-shrink: 0; }
/* Sits above the sticky site header (z-index 999) and the sticky mobile CTA, so the
   close button is never buried under them while the page behind is scroll-locked. */
.cv-backdrop {
  position: fixed; inset: 0; z-index: 1100; border: 0; padding: 0; margin: 0; width: 100%;
  background: rgba(20, 14, 8, 0.45); cursor: pointer;
}
body.cv-drawer-open { overflow: hidden; }
body.cv-drawer-open .sticky-cta { display: none !important; }
.cv-drawer-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.cv-drawer-head h2 { margin: 0.4rem 0 0.2rem; font-size: 1.25rem; line-height: 1.25; }
.cv-drawer-head .cv-type { position: static; }
.cv-in-albums { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }
.cv-close { font: inherit; font-size: 1.4rem; line-height: 1; width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper-sunk); cursor: pointer; flex-shrink: 0; }
.cv-drawer-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; margin: 0.9rem 0; }
.cv-drawer-photos figure { margin: 0; background: var(--paper-sunk); border-radius: var(--radius-md); padding: 0.4rem; text-align: center; }
.cv-drawer-photos figcaption { font-size: 0.72rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 0.3rem; }
.cv-drawer-photos img { width: 100%; max-height: 260px; object-fit: contain; border-radius: var(--radius-sm); }
.cv-dl { margin: 0; }
.cv-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0.6rem; padding: 0.4rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.cv-row dt { color: var(--ink-muted); }
.cv-row dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.cv-drawer-foot { margin-top: 1rem; font-size: 0.8rem; color: var(--ink-muted); }

@media (max-width: 760px) {
  .cv-source-picker { padding: 1rem; }
  .cv-source-options { grid-template-columns: 1fr; }
  .cv-source-card { min-height: 220px; }
  .cv-workspace-head { align-items: flex-start; }
  .cv-workspace-head .btn { padding: .45rem .65rem; font-size: .8rem; }
  body.cv-workspace .article-wrap { padding-inline: .75rem; }
  .cv-stat-wide { grid-column: span 1; }
  .cv-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .cv-row { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (max-width: 900px) {
  #cv-drawer.cv-editor-dialog { display: block; overflow: auto; }
  .cv-editor-dialog .cv-drawer-head { position: sticky; top: 0; z-index: 3; padding: .8rem 1rem; }
  .cv-editor-dialog .cv-drawer-photos { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 1rem; overflow: visible; }
  .cv-editor-dialog .cv-drawer-photos img { max-height: 260px; }
  .cv-editor-dialog .cv-form { overflow: visible; padding: 1rem 1rem 2rem; }
}

@media (max-width: 560px) {
  .cv-editor-dialog .cv-form fieldset { grid-template-columns: 1fr; }
  .cv-editor-dialog .cv-field:has(textarea),
  .cv-editor-dialog .cv-form-hint { grid-column: 1; }
  .cv-danger-zone { align-items: flex-start; flex-direction: column; }
}

@media print {
  @page { margin: 0; }
  body { margin: 0 !important; padding: 12mm !important; background: #fff !important; }
  body.cv-workspace .article-wrap { padding: 0; }
  header, footer, nav, .cc-overlay, .cv-workspace-head, .cv-snapshot, .cv-privacy, .cv-toolbar, .cv-form, .cv-albums, #cv-status, .skip-link, .aside-card, .cv-intro, .article-hero, .download-cta-card, [data-sticky-cta] { display: none !important; }
  #cv-app { margin-top: 0; }
  .cv-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .cv-card { break-inside: avoid; box-shadow: none; }
  #cv-drawer { position: static; width: auto; box-shadow: none; border: 0; }
  .cv-backdrop { display: none !important; }
  body.cv-drawer-open { overflow: visible; }
}


/* ---- edit mode */
.cv-dirty { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.cv-album-tool { border-style: dashed; color: var(--brand); }
.cv-edit-btn { padding: 0.35rem 0.9rem; font-size: 0.88rem; }
.cv-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 0.8rem 0 0.4rem; min-width: 0; }
.cv-form legend { padding: 0 0.5rem 0 0; font-size: 0.74rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cv-field { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0.2rem 0.6rem; align-items: center; margin-bottom: 0.45rem; font-size: 0.9rem; }
.cv-field label { color: var(--ink-muted); }
.cv-field input, .cv-field select, .cv-field textarea {
  font: inherit; width: 100%; padding: 0.4rem 0.55rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); min-width: 0;
}
.cv-field textarea { resize: vertical; }
.cv-field [aria-invalid="true"] { border-color: #b23c3c; }
.cv-field-error { grid-column: 2; margin: 0; font-size: 0.8rem; color: #8a2a2a; }
.cv-check { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--ink); }
.cv-form-hint { margin: 0.3rem 0 0.6rem; font-size: 0.8rem; color: var(--ink-muted); }
.cv-form-actions { position: sticky; bottom: -2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.8rem 0; margin-top: 0.4rem; background: var(--paper); border-top: 1px solid var(--line); }
.cv-form-actions .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.cv-danger { margin-left: auto; border: 1px solid rgba(178, 60, 60, 0.45); background: transparent; color: #8a2a2a; }
.cv-danger.is-armed { background: #b23c3c; border-color: #b23c3c; color: #fff; }
@media (max-width: 760px) {
  .cv-field { grid-template-columns: 1fr; }
  .cv-field-error { grid-column: 1; }
  .cv-danger { margin-left: 0; }
}
#cv-save:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.cv-review h3 { margin: 1rem 0 0.3rem; font-size: 0.95rem; }
.cv-review-note { margin: 0.9rem 0 0; padding: 0.7rem 0.9rem; border-radius: var(--radius-md); background: var(--accent-soft); font-size: 0.9rem; }
.cv-review-note.is-warn { background: rgba(176, 125, 33, 0.16); border: 1px solid var(--gold); }
.cv-review-list { list-style: none; margin: 0; padding: 0; }
.cv-review-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.cv-review-list small { display: block; color: var(--ink-muted); }
.cv-review-list .btn { padding: 0.3rem 0.7rem; font-size: 0.82rem; flex-shrink: 0; }
.cv-save-heading { margin: 1.15rem 0 .35rem !important; font-size: 1rem !important; padding: 0 !important; border: 0 !important; }
.cv-save-feedback { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .65rem; align-items: center; margin: .2rem 0 .85rem; padding: .75rem .85rem; border: 1px solid var(--brand-light); border-radius: var(--radius-md); background: #f6f1ff; color: var(--ink); font-size: .9rem; }
.cv-save-feedback[hidden] { display: none; }
/* site.css sets .btn { display: inline-flex }, an author rule that beats the UA
   stylesheet's [hidden] { display: none }. Without this the review drawer's
   hidden Drive / iPhone buttons stay visible and clicking one only spins. */
.btn[hidden] { display: none; }
.cv-save-feedback small { grid-column: 2; color: var(--ink-muted); line-height: 1.45; }
.cv-save-feedback[data-state="success"] { border-color: rgba(47, 122, 70, .35); background: #eef7f0; }
.cv-save-feedback[data-state="error"] { border-color: rgba(178, 60, 60, .35); background: rgba(178, 60, 60, .08); }
.cv-save-feedback[data-state="idle"] { grid-template-columns: 1fr; border-color: var(--line); background: var(--paper-sunk); }
.cv-save-feedback[data-state="idle"] small { grid-column: 1; }
.cv-save-feedback[data-state="success"], .cv-save-feedback[data-state="error"] { grid-template-columns: 1fr; }
.cv-save-feedback[data-state="success"] small, .cv-save-feedback[data-state="error"] small { grid-column: 1; }
.cv-save-spinner { width: 1rem; height: 1rem; border: 2px solid rgba(124, 58, 237, .22); border-top-color: var(--brand); border-radius: 50%; animation: cv-spin .7s linear infinite; }
@keyframes cv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cv-save-spinner { animation: none; border-color: var(--brand); }
  .cv-pair-spinner { animation: none; border-color: currentColor; opacity: .7; }
}
/* ---- selection / bulk edit */
#cv-select[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cv-card.is-selected { outline: 3px solid var(--brand); outline-offset: -3px; }
.cv-pick { position: absolute; right: 8px; bottom: 8px; z-index: 1; width: 1.4rem; height: 1.4rem; border-radius: 6px; border: 2px solid var(--brand); background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #fff; }
.cv-card.is-selected .cv-pick { background: var(--brand); }
.cv-bulk[hidden] { display: none; }
.cv-bulk { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: -0.3rem 0 0.9rem; padding: 0.6rem 0.8rem; border: 1px solid var(--brand-light); border-radius: var(--radius-lg); background: #f6f1ff; font-size: 0.9rem; }
.cv-bulk strong { margin-right: 0.3rem; }
.cv-bulk .btn { padding: 0.35rem 0.75rem; font-size: 0.85rem; }
.cv-bulk .cv-danger { margin-left: 0; }
.cv-rate-note { margin: -0.5rem 0 0.7rem; font-size: 0.78rem; color: var(--ink-muted); }
