html,body,#root{min-width:320px;min-height:100%;margin:0}*{box-sizing:border-box}body{color:#1f2937;background:#f6f7f9;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;width:250px;padding:20px 16px}.brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.brand-mark{background:#2563eb;border-radius:10px;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.brand-title{font-weight:700}.brand-subtitle{color:#9ca3af;margin-top:2px;font-size:12px}.nav-list{flex-direction:column;gap:6px;display:flex}.nav-item{color:#d1d5db;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.nav-item:hover{color:#fff;background:#1f2937}.nav-item.active{color:#fff;background:#2563eb}.main-area{flex:1;min-width:0}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.user-chip{background:#f3f4f6;border-radius:999px;padding:8px 12px;font-size:14px}.content-area{padding:28px}h1{margin-top:0}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.page-description{color:#6b7280;margin-top:6px}.primary-button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-weight:600;text-decoration:none;display:inline-flex}.primary-button:hover{background:#1d4ed8}.toolbar{gap:12px;margin-bottom:16px;display:flex}.search-input,.filter-select{height:40px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px}.search-input{width:320px}.filter-select{min-width:150px}.table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:visible}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-size:12px}.data-table td{border-bottom:1px solid #f0f1f3;padding:16px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafafa}.public-code{align-items:center;gap:8px;display:flex}.public-code code{background:#f3f4f6;border-radius:6px;padding:5px 8px}.status-badge{border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:600;display:inline-flex}.status-badge.active{color:#166534;background:#dcfce7}.row-actions{justify-content:flex-end;gap:4px;display:flex}.icon-button{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px}.icon-button:hover{color:#111827;background:#f3f4f6}.wizard-steps{align-items:center;max-width:720px;margin-bottom:28px;display:flex}.wizard-step{color:#9ca3af;white-space:nowrap;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.wizard-step span{color:#6b7280;background:#e5e7eb;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.wizard-step.active{color:#1f2937}.wizard-step.active span{color:#fff;background:#2563eb}.wizard-line{background:#d1d5db;flex:1;height:1px;margin:0 14px}.section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-width:980px;padding:24px}.section-card h2{margin-top:0;margin-bottom:6px}.section-description{color:#6b7280;margin-top:0;margin-bottom:22px}.qr-type-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.qr-type-card{text-align:left;cursor:pointer;font:inherit;background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .15s}.qr-type-card:hover{background:#f8fbff;border-color:#93c5fd}.qr-type-card.selected{background:#eff6ff;border-color:#2563eb}.qr-type-icon{color:#2563eb;background:#eff6ff;border-radius:10px;place-items:center;width:46px;height:46px;margin-bottom:16px;display:grid}.qr-type-title{margin-bottom:8px;font-size:17px;font-weight:700}.qr-type-description{color:#6b7280;font-size:14px;line-height:1.45}.wizard-actions{justify-content:flex-end;gap:10px;margin-top:26px;display:flex}.secondary-button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 16px;font-weight:600}.secondary-button:hover{background:#f9fafb}.primary-button:disabled{opacity:.45;cursor:not-allowed}.step-heading{justify-content:space-between;align-items:flex-start;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.form-field{flex-direction:column;gap:7px;display:flex}.form-field.full-width{grid-column:1/-1}.form-field label{color:#374151;font-size:13px;font-weight:600}.form-field input,.form-field textarea{width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px}.form-field input:focus,.form-field textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.review-list{border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.review-list>div{border-bottom:1px solid #e5e7eb;grid-template-columns:180px 1fr;gap:20px;padding:14px 16px;display:grid}.review-list>div:last-child{border-bottom:0}.review-list span{color:#6b7280}.review-list strong{overflow-wrap:anywhere}.design-section{border-top:1px solid #e5e7eb;grid-template-columns:minmax(0,1fr) 320px;gap:28px;margin-top:30px;padding-top:28px;display:grid}.design-controls{min-width:0}.design-controls h3{margin:0 0 20px}.pattern-options{flex-wrap:wrap;gap:8px;display:flex}.pattern-button{color:#374151;cursor:pointer;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 14px;font-weight:500}.pattern-button:hover{background:#f8fbff;border-color:#93c5fd}.pattern-button.selected{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.color-row{grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;margin-bottom:20px;display:grid}.color-control{align-items:center;gap:8px;display:flex}.color-control input[type=color]{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;flex:0 0 46px;width:46px;height:42px;padding:3px}.color-control input[type=text]{flex:1;width:auto}.design-controls>.form-field{margin-top:20px}.design-controls input[type=file]{padding:9px}.design-controls input[type=range]{accent-color:#2563eb;width:100%;padding:0}.design-preview{border-left:1px solid #e5e7eb;flex-direction:column;align-items:center;padding-left:28px;display:flex}.preview-label{color:#374151;align-self:stretch;margin-bottom:16px;font-size:13px;font-weight:700}.qr-preview-placeholder{border:1px solid #d1d5db;border-radius:12px;place-items:center;width:220px;height:220px;font-size:42px;font-weight:800;display:grid;box-shadow:0 1px 3px #0000000f}.preview-note{color:#9ca3af;text-align:center;margin-top:12px;font-size:12px}@media (width<=1000px){.design-section{grid-template-columns:1fr}.design-preview{border-top:1px solid #e5e7eb;border-left:0;padding-top:24px;padding-left:0}}.qr-live-preview{place-items:center;width:220px;height:220px;display:grid}.qr-live-preview canvas,.qr-live-preview svg{max-width:100%;max-height:100%}.selected-logo{color:#6b7280;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:13px;display:flex}.auth-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-width:480px;padding:32px}.auth-card button{margin:8px 8px 0 0}.user-chip button{cursor:pointer;margin-left:12px}
