/* Mix Check, free preview: how the locked parts sit in the page (the locks themselves: /assets/pro.css).
   One small sage lock per item; where a label carries its own lock, the corner lock is off. */

/* buttons with a lock after the label */
.button.pro-locked:has(> .pro-lock-icon)::after { content: none; }
.controls .button.pro-locked { padding-right: 16px; }
.modes .button.pro-locked { padding-right: 26px; }
.button .pro-lock-icon { margin-left: 0; }

/* the locked reference drop zone */
.pv-locked-zone { cursor: pointer; }
.pv-locked-zone p .pro-lock-icon { display: none; }
.pv-locked-zone.pro-locked::after { top: 22px; right: 20px; transform: none; }
.pv-locked-zone:focus-visible, .pv-lock:focus-visible { outline: 2px solid var(--t300); outline-offset: 3px; }

/* a locked panel body (A–B section, notes) */
.pv-lock { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 44px 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0, 0, 0, 0.18); color: var(--muted); font-size: 15px; line-height: 1.5; }
.pv-lock > .pro-lock-icon { display: none; }
.pv-lock:hover { border-color: rgba(244, 243, 236, 0.4); }

/* the free result: the integrated loudness explained under the big number */
.pv-help { margin: 14px 0 0; max-width: 34ch; color: var(--t300); font-size: 13px; line-height: 1.5; }

/* what Pro adds to the measurements */
.pv-more { margin-top: 22px; }
.pv-scopes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.pv-scope { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 120px; padding: 14px 14px 12px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pv-scope .lcd-title { margin: 0; padding-right: 24px; }
.pv-scope.lcd.pro-locked::after { inset: 14px 14px auto auto; transform: none; }
.pv-scope-art { flex: 1 1 auto; min-height: 54px; opacity: 0.45; background-repeat: no-repeat; background-position: center; background-size: contain; }
.pv-art-curve { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' fill='none' stroke='%23F4F3EC' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 50C30 44 34 30 52 32s28 14 44 4 22-26 40-22 22 16 34 12 18-10 22-8'/%3E%3Cpath d='M4 30h192' stroke-dasharray='5 4' stroke-width='1' opacity='.6'/%3E%3C/svg%3E"); }
.pv-art-vector { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23F4F3EC' stroke-width='1.2'%3E%3Ccircle cx='30' cy='30' r='26' opacity='.5'/%3E%3Cpath d='M12 12l36 36M48 12L12 48' opacity='.4'/%3E%3Cellipse cx='30' cy='30' rx='6' ry='20' fill='%23F4F3EC' fill-opacity='.25'/%3E%3C/svg%3E"); }
.pv-art-checks { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' fill='none' stroke='%23F4F3EC' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='6' width='90' height='20' rx='3' opacity='.6'/%3E%3Crect x='104' y='6' width='90' height='20' rx='3' opacity='.6'/%3E%3Crect x='4' y='34' width='90' height='20' rx='3' opacity='.6'/%3E%3Crect x='104' y='34' width='90' height='20' rx='3' opacity='.6'/%3E%3C/svg%3E"); background-size: 100% 100%; }
.pv-metrics .metric { display: block; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pv-metrics .metric-name { display: block; padding-right: 22px; }
.pv-metrics .metric strong { color: var(--muted); text-shadow: none; }
.pv-metrics .metric strong .pro-lock-icon { display: none; }
.pv-metrics .metric.pro-locked::after { top: 16px; right: 12px; transform: none; }
.pv-metrics .metric:focus-visible, .pv-scope:focus-visible { outline: 2px solid var(--t300); outline-offset: 2px; }

@media (max-width: 820px) {
  .pv-scopes { grid-template-columns: minmax(0, 1fr); }
  .pv-scope { min-height: 96px; }
}

/* the "+N more with Pro" rows (pro.js folds the locked modes and numbers): one quiet line, no LED dot */
.modes .button.pro-more-row { flex-direction: row; gap: 8px; }
.modes .button.pro-more-row::before { content: none; }
.pv-metrics .metric.pro-more-row { grid-column: 1 / -1; display: flex; min-height: 48px; font-size: 15px; }

/* layout pass (2026-11-10): in the A–B section | Listening modes pair the locked A–B body fills its panel,
   and the folded "+N more" mode row gets room for its label */
.check-pair .pv-lock { flex: 1 1 auto; align-items: flex-start; }
.check-pair .modes .button.pro-more-row { grid-column: span 2; }
@media (max-width: 620px) {
  .check-pair .pv-lock { align-items: center; }
  .check-pair .modes .button.pro-more-row { grid-column: auto; }
}
