.qr21-merged{
  --bg:#0b1020;
  --panel:#121935;
  --panel-2:#0f1730;
  --text:#eef2ff;
  --muted:#a9b3d1;
  --line:rgba(255,255,255,.08);
  --accent:#f59e0b;
  --accent-2:#fb7185;
  --radius:18px;
  --shadow:0 18px 50px rgba(0,0,0,.25);
  max-width:1200px;
  margin:24px auto;
  color:var(--text);
}

.qr21-merged *,
.qr21-merged *::before,
.qr21-merged *::after{
  box-sizing:border-box;
}

.qr21-merged .layout{
  display:flex;
  gap:24px;
  align-items:flex-start;
  flex-wrap:nowrap;
}

.qr21-merged .builder-col{
  flex:1 1 680px;
  min-width:0;
}

.qr21-merged .preview-col{
  flex:0 0 360px;
  min-width:320px;
}

.qr21-merged .panel{
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.qr21-merged .panel-head{
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}

.qr21-merged .panel-head h2,
.qr21-merged .panel-head h3{
  margin:0;
  color:#fff;
}

.qr21-merged .panel-body{
  padding:18px;
}

.qr21-merged details.acc{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  margin-bottom:14px;
  overflow:hidden;
}

.qr21-merged details.acc > summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:#fff;
}

.qr21-merged details.acc > summary::-webkit-details-marker{
  display:none;
}

.qr21-merged .acc-body{
  padding:0 18px 18px;
}

.qr21-merged .field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}

.qr21-merged .field label{
  font-weight:600;
  color:#fff;
}

.qr21-merged .field small{
  color:var(--muted);
  line-height:1.35;
}

.qr21-merged input[type="url"],
.qr21-merged input[type="text"],
.qr21-merged input[type="number"],
.qr21-merged input[type="file"],
.qr21-merged select{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:#fff;
}

.qr21-merged input::placeholder{
  color:#b8c0d9;
}

.qr21-merged .inline{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}



.qr21-merged .palette{
  display:block;
}

.qr21-merged .hue-range{
  width:100%;
  max-width:100%;
  height:18px;
  border-radius:999px;
  border:1px solid #cbd5e1;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  background:linear-gradient(
    90deg,
    hsl(0, 92%, 22%) 0%,
    hsl(30, 92%, 22%) 8.33%,
    hsl(60, 92%, 22%) 16.66%,
    hsl(90, 92%, 22%) 25%,
    hsl(120, 92%, 22%) 33.33%,
    hsl(150, 92%, 22%) 41.66%,
    hsl(180, 92%, 22%) 50%,
    hsl(210, 92%, 22%) 58.33%,
    hsl(240, 92%, 22%) 66.66%,
    hsl(270, 92%, 22%) 75%,
    hsl(300, 92%, 22%) 83.33%,
    hsl(330, 92%, 22%) 91.66%,
    hsl(360, 92%, 22%) 100%
  );
  --thumb-color:#000000;
}

.qr21-merged .chip{
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid #cbd5e1;
  background:#000;
}

.qr21-merged .secondary{
  background:#fff;
  color:#0b1220;
  border:1px solid #cbd5e1;
}

.qr21-merged .actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.qr21-merged button,
.qr21-merged .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}

.qr21-merged .preview-box{
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  padding:18px;
}

.qr21-merged .preview-box img{
  max-width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  background:#fff;
}

.qr21-merged .download-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:16px;
}

.qr21-merged .download-list a,
.qr21-merged .download-list button{
  width:100%;
}

.qr21-merged .helper{
  color:var(--muted);
  font-size:.95rem;
}

.qr21-merged .overlay{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.qr21-merged .spinner{
  width:38px;
  height:38px;
  border:4px solid #d1d5db;
  border-top-color:#111827;
  border-radius:50%;
  animation:qr21spin 1s linear infinite;
  margin-right:12px;
}

@keyframes qr21spin{
  to{ transform:rotate(360deg); }
}

@media (max-width: 980px){
  .qr21-merged .layout{
    flex-direction:column;
  }

  .qr21-merged .builder-col,
  .qr21-merged .preview-col{
    flex:1 1 auto;
    min-width:0;
    width:100%;
  }
}

/* Chrome / Edge / Safari */
.qr21-merged .hue-range::-webkit-slider-runnable-track{
  height:18px;
  border-radius:999px;
  background:transparent;
  border:none;
}

/* Chrome / Edge / Safari */
.qr21-merged .hue-range::-webkit-slider-runnable-track{
  height:18px;
  border-radius:999px;
  background:transparent;
  border:none;
}


.qr21-merged .hue-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid #ffffff;
  background:var(--thumb-color);
  cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  margin-top:-3px;
}

.qr21-merged select{
  background:#111827;
  color:#f9fafb;
  border:1px solid #374151;
}

.qr21-merged select option{
  background:#111827;
  color:#f9fafb;
}

.qr21-merged select optgroup{
  background:#111827;
  color:#f9fafb;
}

.qr21-merged .qr-request-cta{
  color:#111827;
}

.qr21-merged .qr-request-cta p{
  color:#374151;
}