/* Conversor SVG: usa a base do Gerador de QR Code (../qrcode/styles.css) e acrescenta estas peças. */

.drop {
  display: grid; place-items: center; gap: 4px; padding: 28px 16px; text-align: center;
  border: 1.5px dashed var(--rule); border-radius: var(--radius); background: var(--field);
  color: var(--muted); font-size: 13.5px; cursor: pointer; transition: border-color .15s, color .15s;
}
.drop b { color: var(--ink); font-size: 15px; }
.drop:hover, .drop.is-over { border-color: var(--pei); color: var(--ink); }
.drop:focus-within { outline: 2px solid var(--pei); outline-offset: 2px; }

.slider { width: 100%; accent-color: var(--ink); margin: 6px 0 0; }
.scale { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.field-label output { font-family: var(--mono); color: var(--ink); margin-left: 6px; }
.input select { font-family: var(--body); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 20px 16px; }
.compare figure { margin: 0; min-width: 0; }
.compare figcaption { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.box {
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 4px;
  background: repeating-conic-gradient(var(--check) 0 25%, transparent 0 50%) 0 0 / 16px 16px;
  border: 1px solid var(--rule);
}
.box img, .box svg { max-width: 100%; max-height: 100%; display: block; }
.box-svg svg { width: 100%; height: 100%; }
.box-svg path { fill: var(--ink); }
.box .vazio { font-size: 12px; color: var(--muted); text-align: center; padding: 8px; }
.box.carregando { opacity: .45; }
.result .problem { margin: 0 20px 14px; }

@media (max-width: 640px) {
  .compare { padding: 16px; }
  .result .problem { margin: 0 16px 14px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
