/* Wide chrome for /qr-code-gerador/. Frame drawing stays in qr-gerador.css. */
body.page-qr-code-gerador .qrg-page,
body.page-qr-code-gerador .qrg-page *,
body.page-qr-code-gerador .qrg-page *::before,
body.page-qr-code-gerador .qrg-page *::after {
  box-sizing: border-box;
}
body.page-qr-code-gerador .qrg-page {
  position: relative;
  word-break: normal;
}
body.page-qr-code-gerador .qrg-page .conv-title {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: break-word;
}
body.page-qr-code-gerador .article .qrg-page .conv-lede {
  margin-bottom: 22px;
  color: #4f63b8;
  font-size: 1.02rem;
  line-height: 1.4;
}
body.page-qr-code-gerador .qrg-page .conv-perks strong { color: #1d4ed8; }
body.page-qr-code-gerador .qrg-page .conv-perk.is-palette {
  background-color: #ede9fe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2'%3E%3Cpath d='M12 3a9 9 0 0 0 0 18h1.5a2 2 0 0 0 0-4H12a2 2 0 0 1 0-4h.5'/%3E%3Ccircle cx='7.5' cy='10' r='1' fill='%237c3aed'/%3E%3Ccircle cx='10.5' cy='7.5' r='1' fill='%237c3aed'/%3E%3Ccircle cx='14' cy='8' r='1' fill='%237c3aed'/%3E%3C/svg%3E");
}
body.page-qr-code-gerador .qrg-page .conv-perk.is-types {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
body.page-qr-code-gerador .qrg-page .conv-perk.is-star {
  background-color: #fef3c7;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f59e0b' d='m12 3 2.4 5.4 5.9.6-4.4 3.9 1.3 5.7L12 16.2 6.8 18.6 8.1 12.9 3.7 9l5.9-.6z'/%3E%3C/svg%3E");
}
body.page-qr-code-gerador .article .qrg-page img.conv-art {
  max-width: 100%;
  margin: 6px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
body.page-qr-code-gerador .qrg-page .qrg-app {
  --qrg-accent: #2563eb;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.page-qr-code-gerador .qrg-page .qrg-shell-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.page-qr-code-gerador .qrg-page .qrg-shell { grid-template-columns: 1fr; gap: 12px; }
body.page-qr-code-gerador .qrg-page .qrg-side { position: static; top: auto; }
@media (min-width: 1100px) {
  body.page-qr-code-gerador .qrg-page { --cv-aside: clamp(230px, 18vw, 280px); }
  body.page-qr-code-gerador .qrg-page .qrg-main > .qrg-card { margin-bottom: 0; }
  body.page-qr-code-gerador .qrg-page .qrg-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.84fr);
  }
  body.page-qr-code-gerador .qrg-page .qrg-main { display: contents; }
  body.page-qr-code-gerador .qrg-page .qrg-types-card { grid-column: 1 / -1; }
  body.page-qr-code-gerador .qrg-page .qrg-side {
    grid-column: 2;
    grid-row: 2 / span 3;
    position: sticky;
    top: 86px;
    align-self: start;
  }
}
body.page-qr-code-gerador .qrg-page .qrg-card,
body.page-qr-code-gerador .qrg-page .qrg-preview-card {
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}
body.page-qr-code-gerador .qrg-page .qrg-step-title { color: #1d4ed8; font-size: 1.05rem; }
body.page-qr-code-gerador .qrg-page .qrg-step-sub {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}
body.page-qr-code-gerador .qrg-page .qrg-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}
body.page-qr-code-gerador .qrg-page .qrg-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-qr-code-gerador .qrg-page .qrg-type {
  display: inline-flex;
  flex: 1 1 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 8px 6px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-align: center;
  word-break: normal;
}
body.page-qr-code-gerador .qrg-page .qrg-type svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  fill: currentColor;
}
body.page-qr-code-gerador .qrg-page .qrg-type span {
  display: block;
  font-size: 0.74rem;
  line-height: 1.15;
  white-space: normal;
}
body.page-qr-code-gerador .qrg-page .qrg-type.is-active,
body.page-qr-code-gerador .qrg-page .qrg-type.is-active:hover {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}
body.page-qr-code-gerador .qrg-page .qrg-type.is-active svg { fill: #fff; }
body.page-qr-code-gerador .qrg-page .qrg-input,
body.page-qr-code-gerador .qrg-page .qrg-select,
body.page-qr-code-gerador .qrg-page textarea.qrg-textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
}
body.page-qr-code-gerador .qrg-page textarea.qrg-textarea { min-height: 88px; }
body.page-qr-code-gerador .qrg-page .qrg-design-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
body.page-qr-code-gerador .qrg-page .qrg-design-tab {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}
body.page-qr-code-gerador .qrg-page .qrg-design-tab.is-active,
body.page-qr-code-gerador .qrg-page .qrg-design-tab.is-active:hover {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}
body.page-qr-code-gerador .qrg-page .qrg-design-tab.is-active::after { display: none; }
body.page-qr-code-gerador .qrg-page .qrg-frame-scroll {
  max-width: 100%;
  gap: 6px;
}
body.page-qr-code-gerador .qrg-page .qrg-frame-option {
  flex: 1 1 66px;
  width: auto;
  min-width: 66px;
  height: 82px;
  padding: 4px 2px;
}
body.page-qr-code-gerador .qrg-page .qrg-frame-option.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}
body.page-qr-code-gerador .qrg-page .qrg-frame-option.is-active .qrg-option-name { color: #2563eb; }
body.page-qr-code-gerador .qrg-page .qrg-url-field .qrg-input {
  padding-left: 40px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 18px 18px;
}
body.page-qr-code-gerador .qrg-page .qrg-color-split {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
body.page-qr-code-gerador .qrg-page .qrg-color-split .qrg-color-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
body.page-qr-code-gerador .qrg-page .qrg-color-split .qrg-label {
  flex: 1 0 100%;
  margin-bottom: 0;
}
body.page-qr-code-gerador .qrg-page .qrg-color-split .qrg-swatches {
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}
body.page-qr-code-gerador .qrg-page .qrg-color-split .qrg-color-chip {
  width: 22px;
  height: 22px;
}
body.page-qr-code-gerador .qrg-page .qrg-hex {
  width: 78px;
  min-height: 32px;
  margin-top: 0;
  padding: 4px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}
body.page-qr-code-gerador .qrg-page .qrg-color-custom {
  gap: 0;
  font-size: 0;
}
body.page-qr-code-gerador .qrg-page .qrg-color-custom input[type="color"] {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  border-radius: 50% !important;
}
body.page-qr-code-gerador .qrg-page .qrg-color-custom input[type="color"]::-webkit-color-swatch {
  border-radius: 50%;
}
body.page-qr-code-gerador .qrg-page .qrg-size-row { margin-top: 14px; }
body.page-qr-code-gerador .qrg-page .qrg-preview-stage {
  background-color: #f8fbff;
  background-image: linear-gradient(#e7eef8 1px, transparent 1px), linear-gradient(90deg, #e7eef8 1px, transparent 1px);
  background-size: 18px 18px;
}
body.page-qr-code-gerador .qrg-page .qrg-preview-stage::before { display: none; }
body.page-qr-code-gerador .qrg-page .qrg-size-read {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}
body.page-qr-code-gerador .qrg-page .qrg-btn-primary,
body.page-qr-code-gerador .article .qrg-page .qrg-btn-primary,
body.page-qr-code-gerador .article .qrg-page button.qrg-btn-primary {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0 !important;
  border-radius: 12px;
  background: #f5b400 !important;
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  font-weight: 800;
  box-shadow: none;
  transition: none;
}
body.page-qr-code-gerador .qrg-page .qrg-btn-primary svg,
body.page-qr-code-gerador .article .qrg-page .qrg-btn-primary svg,
body.page-qr-code-gerador .article .qrg-page button.qrg-btn-primary svg {
  fill: currentColor !important;
  color: #1f2937 !important;
}
body.page-qr-code-gerador .qrg-page #qrg-download:disabled,
body.page-qr-code-gerador .article .qrg-page button#qrg-download:disabled {
  background: #f3f0e4 !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
body.page-qr-code-gerador .article .qrg-page button#qrg-download:disabled svg {
  fill: currentColor !important;
  color: #94a3b8 !important;
}
body.page-qr-code-gerador .qrg-page .qrg-btn-secondary {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border-radius: 12px;
}
body.page-qr-code-gerador .qrg-page .qrg-btn-secondary:disabled { opacity: 0.55; }
body.page-qr-code-gerador .qrg-page .qrg-status.is-ok { color: #027a48; font-weight: 700; }
body.page-qr-code-gerador .qrg-page .qrg-status.is-err { color: #b42318; font-weight: 700; }
body.page-qr-code-gerador .qrg-page .conv-tips { margin-top: 12px; }
body.page-qr-code-gerador .qrg-page .qrg-bulb {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background-color: #fef3c7;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M9 18h6v2H9zm1 2h4v1h-4zM12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
body.page-qr-code-gerador .article .qrg-page .conv-tips li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #facc15;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  color: transparent;
  font-size: 0;
}
body.page-qr-code-gerador .qrg-page [hidden] { display: none !important; }
body.page-qr-code-gerador .qrg-page .qrg-app > .util-success {
  position: static;
  margin: 0 0 12px;
}
@media (min-width: 720px) {
  body.page-qr-code-gerador .qrg-page .qrg-color-split { grid-template-columns: 1fr 1fr; }
}
html[data-theme="dark"] body.page-qr-code-gerador .qrg-page .qrg-type {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
html[data-theme="dark"] body.page-qr-code-gerador .qrg-page .qrg-type.is-active {
  background: #2563eb;
  color: #fff;
}
html[data-theme="dark"] body.page-qr-code-gerador .qrg-page .qrg-btn-primary {
  color: #1f2937;
}
