/* Estilos de /qr.html (antes <style> inline; archivo propio para la CSP de estilos). */
:root {
  --bg-main: #0b0f19;
  --bg-card: #131a2b;
  --bg-card-subtle: #1a233a;
  --bg-input: #0f172a;
  --border: #263352;
  --border-active: #3b82f6;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #8b9ab3;
  --glass: rgba(19, 26, 43, 0.62);
  --glass-border: rgba(148, 163, 184, 0.16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60vw 60vw at 85% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(50vw 50vw at -10% 110%, rgba(6, 182, 212, 0.12), transparent 60%);
  background-attachment: fixed;
}

/* Header */
.studio-header {
  background: rgba(19, 26, 43, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.header-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.header-logo-badge {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.header-titles h1 { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.2px; }
.header-titles p { font-size: 12px; color: var(--text-muted); }
.header-comercio {
  background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav {
  background: transparent; border: 1px solid var(--border); color: var(--text-primary);
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .15s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-nav:hover { background: var(--bg-card-subtle); border-color: var(--text-subtle); }

/* Contenedor Principal en 2 Columnas */
.studio-layout {
  max-width: 1380px; width: 100%; margin: 0 auto; padding: 24px 20px 60px;
  display: grid; grid-template-columns: 1fr 420px; gap: 28px;
  align-items: start;
}
@media (max-width: 1024px) {
  .studio-layout { grid-template-columns: 1fr; }
}

/* Tarjetas del editor */
.studio-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .studio-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 48px -20px rgba(0, 0, 0, 0.6), 0 0 32px -12px var(--accent-glow);
  }
}
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-card-subtle); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #60a5fa;
}
.step-header h2 { font-size: 16px; font-weight: 700; color: #fff; }
.step-header p { font-size: 12px; color: var(--text-muted); margin-left: auto; }

/* Step 1: Contenido */
.type-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 14px;
}
.type-btn {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 6px; color: var(--text-muted); font-size: 12px; font-weight: 600;
  cursor: pointer; text-align: center; transition: all .15s ease; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.type-btn span.ic { display: inline-flex; align-items: center; justify-content: center; }
.type-btn span.ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chip-link svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.type-btn.active {
  background: rgba(37, 99, 235, 0.15); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}
.type-btn:hover:not(.active) { background: var(--bg-card-subtle); border-color: var(--text-subtle); color: #fff; }

.content-box { margin-top: 10px; }
.input-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-input {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; color: #fff; font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input:focus { border-color: var(--border-active); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.campos-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.campos-form .full { grid-column: 1 / -1; }
.campos-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
.campos-form select.form-input { appearance: auto; }
.campos-form .chk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); min-height: 44px; }
.campos-form .chk input { width: 18px; height: 18px; }
.campos-preview { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); background: var(--bg-input); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 8px 10px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 640px) { .campos-form { grid-template-columns: 1fr; } }
.quick-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-link {
  background: var(--bg-card-subtle); border: 1px solid var(--border); border-radius: 20px;
  padding: 4px 10px; font-size: 11.5px; color: #93c5fd; cursor: pointer; transition: all .15s ease;
}
.chip-link:hover { background: rgba(59, 130, 246, 0.2); border-color: var(--border-active); }

/* Step 2: Estilos Principales */
.styles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 640px) { .styles-grid { grid-template-columns: 1fr; } }
.style-card {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 12px; cursor: pointer; text-align: center; transition: all .2s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.style-card:hover { border-color: var(--border-active); transform: translateY(-2px); }
.style-card.active {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.15) 0%, rgba(19, 26, 43, 0.6) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.style-card-preview {
  width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; margin-bottom: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.style-card-title { font-size: 13px; font-weight: 700; color: #fff; }
.style-card-desc { font-size: 11px; color: var(--text-muted); }

/* Step 3: Pestañas de Personalización */
.tabs-nav {
  display: flex; border-bottom: 1px solid var(--border); gap: 4px; margin-bottom: 20px;
}
.tab-btn {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  padding: 10px 18px; color: var(--text-muted); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s ease;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
  color: #60a5fa; border-bottom-color: var(--accent);
}

/* Tab 1: Plantillas */
.presets-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.btn-surprise {
  background: linear-gradient(135deg, #4f46e5, #06b6d4); color: #fff; border: none;
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: opacity .15s ease, transform .1s ease; display: inline-flex; align-items: center; gap: 6px;
}
.btn-surprise:hover { opacity: .9; transform: scale(1.02); }
.presets-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px;
}
.preset-card {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 10px; text-align: center; cursor: pointer; transition: all .15s ease;
}
.preset-card:hover { border-color: var(--border-active); transform: translateY(-2px); }
.preset-card.active { border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.preset-thumb {
  width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 8px; display: grid; place-items: center;
}
.preset-name { font-size: 12px; font-weight: 600; color: #fff; }

/* Tab 2: Logo */
.logo-section { display: flex; flex-direction: column; gap: 18px; }
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 24px 16px;
  text-align: center; cursor: pointer; transition: all .15s ease; background: var(--bg-input);
}
.dropzone:hover, .dropzone.dragover { border-color: var(--border-active); background: var(--bg-card-subtle); }
.dropzone-ic { font-size: 32px; margin-bottom: 6px; }
.dropzone p { font-size: 13px; font-weight: 600; color: #fff; }
.dropzone span { font-size: 11px; color: var(--text-muted); }

.preset-logos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 8px;
}
.preset-logo-btn {
  position: relative; min-height: 84px; border-radius: 14px; background: var(--bg-input);
  border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 4px 8px; cursor: pointer; color: var(--text-muted); font-family: var(--font); font-size: 11px; font-weight: 600;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.preset-logo-btn canvas { width: 40px; height: 40px; display: block; transition: transform .25s var(--ease); }
.preset-logo-btn span { line-height: 1.2; text-align: center; }
.preset-logo-btn:hover { border-color: var(--border-active); color: #fff; transform: translateY(-2px); box-shadow: 0 0 16px -6px var(--accent-glow); }
.preset-logo-btn:hover canvas { transform: scale(1.08); }
.preset-logo-btn.active {
  color: #fff; border: 1px solid transparent;
  background: linear-gradient(var(--bg-input), var(--bg-input)) padding-box, linear-gradient(135deg, #3b82f6, #06b6d4) border-box;
  box-shadow: 0 0 22px -4px var(--accent-glow);
}
.preset-logo-btn.active::after {
  content: "\2713"; position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 10px var(--accent-glow);
}
.preset-logo-btn:focus-visible, .type-btn:focus-visible, .shape-btn:focus-visible, .chip-link:focus-visible,
.format-chip:focus-visible, .tab-btn:focus-visible, .style-card:focus-visible, .color-mode-btn:focus-visible {
  outline: 2px solid #60a5fa; outline-offset: 2px;
}

.logo-controls {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px;
}
.range-wrap { display: flex; flex-direction: column; gap: 4px; }
.range-wrap span { font-size: 12px; color: var(--text-muted); }
.range-input { accent-color: var(--accent); cursor: pointer; }

/* Tab 3: Estilo (Formas y Colores) */
.style-section-title { font-size: 13px; font-weight: 700; color: #fff; margin: 16px 0 10px; display: flex; align-items: center; gap: 6px; }
.shape-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px;
}
.shape-btn {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 4px; text-align: center; cursor: pointer; font-size: 11.5px; font-weight: 600;
  color: var(--text-muted); transition: all .15s ease; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.shape-btn svg { width: 28px; height: 28px; stroke: currentColor; fill: currentColor; }
.shape-btn:hover { border-color: var(--border-active); color: #fff; }
.shape-btn.active {
  background: rgba(37, 99, 235, 0.15); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.color-modes { display: flex; gap: 8px; margin-bottom: 12px; }
.color-mode-btn {
  flex: 1; padding: 8px 10px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all .15s ease;
}
.color-mode-btn.active { background: rgba(37, 99, 235, 0.2); border-color: var(--accent); color: #fff; }

.colors-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 10px;
}
.color-picker-box {
  display: flex; align-items: center; gap: 10px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px;
}
.color-picker-box input[type="color"] {
  width: 32px; height: 32px; border: none; border-radius: 6px; cursor: pointer; background: transparent;
}
.color-picker-info { display: flex; flex-direction: column; }
.color-picker-info span { font-size: 11px; color: var(--text-muted); }
.color-picker-info b { font-size: 13px; font-family: var(--font-mono); color: #fff; }

/* Columna Derecha: Previsualización en Vivo */
.preview-column { position: sticky; top: 80px; }
.preview-card {
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: 24px;
  padding: 24px; text-align: center; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 28px 60px -24px rgba(0, 0, 0, 0.7), 0 0 60px -30px var(--accent-glow);
}
.preview-canvas-wrap {
  background: #fff; border-radius: var(--radius-lg); padding: 16px; margin: 0 auto 18px;
  width: 100%; max-width: 320px; aspect-ratio: 1; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); position: relative; overflow: hidden;
}
.preview-canvas-wrap canvas {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

/* Medidor de Escaneabilidad */
.escaneabilidad-box {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 14px; margin-bottom: 18px; text-align: left;
}
.esc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.esc-title { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.esc-badge { font-size: 12px; font-weight: 700; color: var(--success); }
.esc-track {
  width: 100%; height: 7px; background: rgba(255, 255, 255, 0.1); border-radius: 10px;
  overflow: hidden; margin-bottom: 6px;
}
.esc-bar {
  height: 100%; width: 100%; border-radius: 10px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
  transition: width .3s ease;
}
.esc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.esc-body { display: flex; align-items: center; gap: 14px; }
.esc-ring {
  --p: 100; --c: #10b981;
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; position: relative;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center;
  box-shadow: 0 0 18px -4px var(--c);
}
.esc-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-input); }
.esc-ring b { position: relative; font-family: var(--font-mono); font-size: 17px; color: #fff; }
.esc-body .esc-txt { flex: 1; min-width: 0; }
.escaneabilidad-box { transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.escaneabilidad-box.esc-mid { border-color: rgba(245, 158, 11, 0.45); }
.escaneabilidad-box.esc-low { border-color: rgba(239, 68, 68, 0.6); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.escaneabilidad-box.esc-low .esc-ring { animation: escPulse 1.6s ease-in-out infinite; }
.escaneabilidad-box.esc-low .esc-desc { color: #fca5a5; }
@keyframes escPulse { 0%, 100% { box-shadow: 0 0 10px -4px var(--c); } 50% { box-shadow: 0 0 26px 2px var(--c); } }

/* Selector de formatos */
.format-selector {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; justify-content: center;
}
.format-chip {
  background: var(--bg-input); border: 1px solid var(--border); color: var(--text-muted);
  padding: 6px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .15s ease;
}
.format-chip.active {
  background: rgba(37, 99, 235, 0.2); border-color: var(--accent); color: #fff;
}

/* Botones de Descarga */
.btn-download {
  width: 100%; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; border: none; border-radius: var(--radius-md); padding: 14px 18px;
  font-size: 15px; font-weight: 700; font-family: var(--font); cursor: pointer;
  transition: all .2s ease; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5); }
.btn-download:active { transform: translateY(0); }
.btn-cartel { margin-top: 10px; background: linear-gradient(135deg, #E9965A, #d9773a); }
.btn-qr-comun { align-self: center; margin-top: 8px; }

.btn-print-action {
  width: 100%; background: transparent; border: 1px solid var(--border);
  color: var(--text-primary); border-radius: var(--radius-md); padding: 10px 16px;
  font-size: 13px; font-weight: 600; font-family: var(--font); cursor: pointer;
  margin-top: 8px; transition: all .15s ease; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-print-action:hover { background: var(--bg-card-subtle); border-color: var(--text-subtle); }

/* Notificación Toast */
#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: #0f172a; color: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 20px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100; transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .3s;
  opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Celular / tablet chica: áreas táctiles >=44px e inputs de 16px (evita zoom en iOS) */
@media (max-width: 640px) {
  .studio-header { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
  .header-titles p { display: none; }
  .header-actions { width: 100%; }
  .header-actions .btn-nav { flex: 1; justify-content: center; min-height: 44px; }
  .preview-column { position: static; }
  .studio-layout { padding: 16px 12px 48px; gap: 16px; }
  .studio-card { padding: 16px; }
  .step-header { flex-wrap: wrap; }
  .step-header p { margin-left: 40px; width: 100%; }
  .form-input { font-size: 16px; }
  .chip-link { min-height: 44px; padding: 8px 14px; font-size: 13px; display: inline-flex; align-items: center; }
  .format-chip, .color-mode-btn, .tab-btn, .btn-surprise, .btn-print-action { min-height: 44px; }
  .tabs-nav { overflow-x: auto; }
  .tab-btn { padding: 10px 14px; white-space: nowrap; }
  .color-modes { flex-wrap: wrap; }
  .logo-controls { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .preview-column { position: static; }
  .header-titles p { display: none; }
  .btn-nav { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Media Queries de impresión */
@media print {
  body { background: #fff !important; background-image: none !important; color: #000 !important; }
  .studio-header, .tabs-nav, .type-grid, .styles-grid, .presets-header, .presets-grid,
  .logo-section, .shape-grid, .color-modes, .colors-row, .escaneabilidad-box,
  .format-selector, .btn-download, .btn-print-action, .quick-links, .studio-card { display: none !important; }
  .studio-layout { display: block; padding: 0; margin: 0; }
  .preview-column { position: static; }
  .preview-card { border: none; box-shadow: none; padding: 0; }
  .preview-canvas-wrap { max-width: 90%; margin: 40px auto; box-shadow: none; }
}
/* Acceso solo para el admin de plataforma (verificado con /api/admin/me). */
body.qr-bloqueado .studio-layout, body.qr-bloqueado header { display: none !important; }
.qr-gate { display: none; }
.qr-gate.visible { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; width: min(420px, calc(100% - 32px)); box-sizing: border-box; margin: 18vh auto 0; padding: 28px 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; font-family: Poppins, system-ui, sans-serif; color: #334155; }
.qr-gate b { font-size: 20px; color: #0D47A1; }
.qr-gate a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: #0D47A1; color: #fff; text-decoration: none; font-weight: 600; }
