.mmm { --mmm-line: rgba(41,38,49,.14); color: var(--ink, #292631); }
.mmm [hidden] { display: none !important; }
.mmm-lock, .mmm-model { border: 1px solid var(--mmm-line); border-radius: 16px; background: rgba(255,255,255,.58); padding: 16px; }
.mmm-lock { max-width: 700px; margin: 0 auto; line-height: 1.75; }
.mmm-lock-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.mmm-badge { display: inline-flex; margin-left: 9px; padding: 3px 8px; border-radius: 999px; background: #292631; color: #fff; font-size: 11px; vertical-align: 2px; }
.mmm-cta, .mmm-notices { color: inherit; text-underline-offset: 3px; }
.mmm-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.mmm-btn { min-height: 44px; border: 1px solid var(--mmm-line); border-radius: 12px; padding: 9px 14px; background: rgba(255,255,255,.82); color: inherit; font: inherit; cursor: pointer; }
.mmm-btn.solid { background: #292631; color: #fff; border-color: #292631; }
.mmm-btn:disabled { opacity: .42; cursor: default; }
.mmm-meta { color: var(--ink-3, #797580); font-size: 12px; }
.mmm-controls { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(210px, .7fr); gap: 12px; margin: 14px 0; }
.mmm-slider, .mmm-check { min-height: 62px; border: 1px solid var(--mmm-line); border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.5); }
.mmm-slider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.mmm-slider input { width: 100%; min-width: 100px; accent-color: #292631; }
.mmm-slider output { min-width: 38px; font-variant-numeric: tabular-nums; color: var(--ink-3, #797580); }
.mmm-check { display: grid; grid-template-columns: 20px 1fr; column-gap: 8px; align-content: center; }
.mmm-check input { width: 20px; height: 20px; margin: 0; accent-color: #292631; grid-row: 1 / 3; }
.mmm-check small { color: var(--ink-3, #797580); }
.mmm-model { margin: 14px 0; }
.mmm-model-text { margin: 0 0 10px; line-height: 1.65; }
.mmm-notices { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--ink-3, #797580); }
.mmm-progress { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; margin: 10px 0; }
.mmm-bar { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(41,38,49,.1); }
.mmm-bar i { display: block; height: 100%; width: 0; background: #292631; transition: width .18s ease; }
.mmm-progress output { text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.mmm-go { justify-content: center; margin: 14px 0; }
.mmm-go .mmm-btn { min-width: 190px; }
.mmm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.mmm-compare figure { margin: 0; min-width: 0; }
.mmm-pic { min-height: 260px; border: 1px solid var(--mmm-line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.5); display: grid; place-items: center; position: relative; }
.mmm-pic.checker { background-color: #fff; background-image: linear-gradient(45deg, #e6e3e9 25%, transparent 25%), linear-gradient(-45deg, #e6e3e9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e6e3e9 75%), linear-gradient(-45deg, transparent 75%, #e6e3e9 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.mmm-pic img, .mmm-pic canvas { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; object-fit: contain; }
.mmm-empty { padding: 24px; text-align: center; color: var(--ink-3, #797580); line-height: 1.6; }
.mmm-compare figcaption { padding-top: 7px; text-align: center; color: var(--ink-3, #797580); font-size: 12px; }
.mmm-actions { justify-content: center; margin-top: 14px; }
.mmm-tier, .mmm-status { margin: 10px 0 0; text-align: center; color: var(--ink-3, #797580); font-size: 12px; line-height: 1.6; }
.mmm-status { min-height: 20px; }
.mmm-status.err { color: #b63f3a; }
@media (max-width: 700px) {
  .mmm-controls, .mmm-compare { grid-template-columns: 1fr; }
  .mmm-pic { min-height: 220px; }
  .mmm-slider { grid-template-columns: 1fr auto; }
  .mmm-slider input { grid-column: 1 / 3; }
  .mmm-row .mmm-btn { flex: 1 1 auto; }
}
