.qr-style-controls { font-family: system-ui, sans-serif; font-size: 14px; color: #202332; text-align: left; min-width: 0; }
.qr-style-controls details { margin: 12px 0; border: 1px solid #d5d9e2; border-radius: 8px; background: #fff; padding: 12px; }
.qr-style-controls summary { cursor: pointer; font-weight: 650; min-height: 32px; line-height: 1.6; }
.qr-style-controls p { font: inherit; line-height: 1.5; margin: 10px 0; }
.qr-style-controls fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qr-style-controls legend { font-size: 0; }
.qr-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qr-style-controls label { display: flex; flex-direction: column; position: static; pointer-events: auto; color: #303448; font: 500 13px/1.4 system-ui, sans-serif; gap: 5px; min-width: 0; margin: 0; transform: none; }
.qr-style-controls input, .qr-style-controls select { box-sizing: border-box; position: static; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; border: 1px solid #9ba3b5; border-radius: 5px; background: #fff; color: #111827; padding: 6px; font: 14px system-ui, sans-serif; }
.qr-style-controls input[type="color"] { padding: 3px; }
.qr-style-controls input[type="checkbox"] { width: 22px; min-height: 44px; margin: 0; }
.qr-style-controls button { min-height: 44px; border: 1px solid #8a93a8; border-radius: 5px; padding: 7px 11px; color: #202332; background: #f7f8fb; font: 500 13px system-ui, sans-serif; cursor: pointer; }
.qr-style-controls button:disabled { opacity: .55; cursor: default; }
.qr-style-controls :focus-visible { outline: 3px solid #315fce; outline-offset: 2px; }
.qr-style-presets, .qr-style-downloads { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 14px; align-items: end; }
.qr-style-controls .qr-style-help { font-size: 12px; color: #525b70; }
.qr-style-controls [role="status"] { overflow-wrap: anywhere; font-size: 13px; }
@media (max-width: 420px) { .qr-style-grid { grid-template-columns: 1fr; } }
/* An optional colour: its picker, then "Use my colors" on one line (November 24, 2026). */
.qr-style-colour { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qr-style-controls .qr-style-colour .qr-style-mine { flex-direction: row; align-items: center; gap: 8px; }
