.thqr{--thqr-border:#e5e7eb;--thqr-text:#111827;--thqr-muted:#6b7280;--thqr-bg:#f8fafc;max-width:1120px;margin:30px auto;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--thqr-text)}
.thqr *{box-sizing:border-box}.thqr-head{margin-bottom:18px}.thqr-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:#64748b}.thqr h2{margin:5px 0 7px;font-size:30px;line-height:1.15}.thqr-head p{margin:0;color:var(--thqr-muted);line-height:1.6}
.thqr-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:20px}.thqr-panel{background:#fff;border:1px solid var(--thqr-border);border-radius:18px;box-shadow:0 8px 30px rgba(15,23,42,.06);padding:20px}.thqr-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.thqr-tabs button{border:1px solid var(--thqr-border);background:#fff;color:#475569;border-radius:9px;padding:8px 12px;cursor:pointer;font-weight:700;font-size:13px}.thqr-tabs button.active{background:#111827;color:#fff;border-color:#111827}
.thqr-fields label,.thqr-section label{display:block;font-size:13px;font-weight:700;color:#334155;margin-bottom:13px}.thqr input[type=text],.thqr input[type=url],.thqr input[type=email],.thqr input[type=tel],.thqr input[type=datetime-local],.thqr textarea,.thqr select{display:block;width:100%;margin-top:7px;border:1px solid #dbe1e8;border-radius:9px;padding:11px 12px;background:#fff;color:#111827;font:inherit;font-weight:400;outline:none}.thqr textarea{resize:vertical;min-height:90px}.thqr input:focus,.thqr textarea:focus,.thqr select:focus{border-color:#94a3b8;box-shadow:0 0 0 3px rgba(100,116,139,.12)}
.thqr-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.thqr-section{border-top:1px solid #eef0f3;margin-top:8px;padding-top:18px}.thqr-section-title{font-weight:800;margin-bottom:14px}.thqr input[type=color]{display:block;width:100%;height:42px;margin-top:7px;padding:3px;border:1px solid #dbe1e8;border-radius:9px;background:#fff}.thqr input[type=range]{width:100%;margin-top:12px}.thqr output{display:block;color:#64748b;font-weight:600;margin-top:5px}.thqr-check{display:flex!important;align-items:center;gap:8px}.thqr-check input{width:auto!important;margin:0!important}
.thqr-actions,.thqr-downloads{display:flex;gap:10px;margin-top:17px}.thqr button{font-family:inherit}.thqr-primary,.thqr-secondary{border:0;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}.thqr-primary{background:#111827;color:#fff}.thqr-secondary{background:#eef2f7;color:#1f2937}.thqr-status{min-height:20px;margin-top:10px;color:#15803d;font-size:13px;font-weight:700}.thqr-status.error{color:#dc2626}
.thqr-preview{display:flex;flex-direction:column}.thqr-preview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.thqr-preview-top span{font-size:12px;color:#64748b}.thqr-canvas-wrap{min-height:390px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px dashed #d7dde5;border-radius:14px;padding:20px;overflow:auto}.thqr-placeholder{color:#94a3b8;text-align:center;font-size:13px}.thqr-qr canvas,.thqr-qr img{max-width:100%;height:auto;display:block;margin:auto}.thqr-downloads{margin-top:15px}.thqr-downloads button{flex:1}.thqr-note{font-size:12px;color:#64748b;line-height:1.5;margin:13px 0 0}.thqr-powered{text-align:center;color:#94a3b8;font-size:12px;margin-top:14px}
@media(max-width:820px){.thqr-layout{grid-template-columns:1fr}.thqr-canvas-wrap{min-height:330px}}@media(max-width:520px){.thqr-panel{padding:15px}.thqr-grid2{grid-template-columns:1fr}.thqr h2{font-size:25px}.thqr-actions,.thqr-downloads{flex-direction:column}.thqr-tabs button{font-size:12px;padding:7px 9px}}
