
/* QR Generator MAX PRO — add-on (requires tools.css) */
.qrWrap{display:grid; gap:14px}
.qrHeader{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap}
.qrHeader h1{margin:0; font-size: clamp(22px, 3.2vw, 36px); font-weight: 950; letter-spacing: -.7px}
.qrHeader p{margin:8px 0 0; color: rgba(255,255,255,.72); font-weight: 650; line-height:1.65; max-width: 92ch}
.qrHeader__cta{display:flex; gap:10px; flex-wrap:wrap}

.seg{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r, 16px);
  background:
    radial-gradient(900px 240px at 12% 0%, rgba(227,6,19,.10), transparent 60%),
    rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.35));
}
.seg h2{margin:0 0 10px; font-size: 16px; font-weight: 950}
.hint{margin:6px 0 0; color: rgba(255,255,255,.65); font-weight: 650; line-height:1.6; font-size: 13px}

.grid2{display:grid; gap:14px}
@media (min-width: 1024px){.grid2{grid-template-columns: 1.08fr .92fr; align-items:start}}

.tabs{display:flex; gap:10px; flex-wrap:wrap}
.tabBtn{
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 950;
  color: rgba(255,255,255,.84);
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.tabBtn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18)}
.tabBtn.isActive{border-color: rgba(227,6,19,.40); background: rgba(227,6,19,.12); color:#fff}

.row2{display:grid; gap:12px}
@media (min-width: 760px){.row2{grid-template-columns: 1fr 1fr}}

.preview{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(0,0,0,.22);
  padding: 14px;
  display:grid;
  gap: 12px;
  position: sticky;
  top: 78px;
  height: fit-content;
}
.canvasWrap{
  display:grid;
  place-items:center;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding: 14px;
  min-height: 380px;
  overflow:hidden;
}
.canvasWrap canvas, .canvasWrap svg{
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  background: transparent;
}
.metaRow{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.pill b{font-weight: 950}

.actionsBar{display:flex; gap:10px; flex-wrap:wrap}
.actionsBar .btn{white-space: nowrap}

.warnBox{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,202,58,.22);
  background: rgba(255,202,58,.06);
  color: rgba(255,255,255,.82);
  font-weight: 700;
  line-height: 1.65;
  display:none;
}
.warnBox.show{display:block}

.okBox{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(64,255,171,.20);
  background: rgba(64,255,171,.06);
  color: rgba(255,255,255,.85);
  font-weight: 700;
  line-height: 1.65;
  display:none;
}
.okBox.show{display:block}

.smallNote{color: rgba(255,255,255,.62); font-weight: 700; font-size: 12px; line-height: 1.55; margin: 0}
.kbd{display:inline-block; padding:2px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:rgba(0,0,0,.25); font-weight:900; font-size:12px; color:rgba(255,255,255,.86)}

.logoRow{display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.logoThumb{
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  display:grid; place-items:center;
  overflow:hidden;
}
.logoThumb img{width:100%; height:100%; object-fit:cover}
