/* Single-column QR tool. Shell width follows shared tool-page.css. */
body.qr-tool h1{font-size:clamp(32px,4vw,44px);line-height:1.15;margin:0 0 8px}
body.qr-tool .intro{margin:0 0 20px;max-width:none}
body.qr-tool .sheet{margin-top:4px}
body.qr-tool textarea,
body.qr-tool select{width:100%;min-width:0;font:inherit;padding:12px 14px;border:1px solid #d8deea;border-radius:8px;background:#fff;color:var(--ink)}
body.qr-tool textarea{min-height:96px;resize:vertical;line-height:1.5}
body.qr-tool select{appearance:none;-webkit-appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23596579' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}
body.qr-tool .char-count,body.qr-tool .hint{margin:6px 0 0;font-size:13px;color:var(--muted);font-weight:400}
body.qr-tool .char-count{text-align:right}
body.qr-tool .qr-options{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:16px 0}
body.qr-tool .qr-options label{margin-bottom:6px}
body.qr-tool .preview{min-height:280px;border:1px dashed var(--line);border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;padding:16px;margin:0 0 12px}
body.qr-tool .preview.is-error{border-color:#f59e0b;background:#fffbeb}
body.qr-tool .preview p{margin:0;text-align:center;max-width:280px;font-size:14px}
body.qr-tool #qr-canvas{display:block;max-width:100%;height:auto;background:#fff}
body.qr-tool #qr-canvas[hidden]{display:none}
body.qr-tool #status{min-height:1.25em;margin:0 0 12px}
body.qr-tool #status.is-error{color:#b45309;font-weight:650}
body.qr-tool .qr-primary{margin:0 0 8px}
body.qr-tool .btn{border:0;min-height:44px}
body.qr-tool button:disabled,
body.qr-tool .btn:disabled,
body.qr-tool .btn:disabled:hover{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none;background:var(--accent)}
body.qr-tool .text-btn:disabled,
body.qr-tool .text-btn:disabled:hover{background:transparent;box-shadow:none}
body.qr-tool .qr-secondary{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center}
body.qr-tool .text-btn{background:transparent;border:0;box-shadow:none;color:var(--accent);font:inherit;font-weight:650;padding:8px 0;min-height:44px;cursor:pointer}
body.qr-tool .text-btn:hover:not(:disabled){text-decoration:underline;background:transparent}
body.qr-tool .sep{color:var(--muted)}
body.qr-tool #notes h2{font-size:22px;margin:28px 0 8px}
body.qr-tool #notes li{color:var(--muted)}
body.qr-tool #notes .soon{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:650}
@media(max-width:760px){
 body.qr-tool .qr-options{grid-template-columns:1fr}
 body.qr-tool .qr-primary .btn,
 body.qr-tool .qr-secondary .text-btn{width:100%;min-height:44px}
 body.qr-tool .qr-secondary{flex-direction:column;align-items:stretch;gap:0}
 body.qr-tool .sep{display:none}
 body.qr-tool .preview,
 body.qr-tool #qr-canvas{max-width:100%}
}
