main.doc.qr { max-width: 1180px; }
.qr .note { background: var(--band); border-radius: 12px; padding: 12px 16px; }
.qr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1040px) { .qr-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .qr-out { position: sticky; top: 16px; } }
.qr fieldset { border: 1px solid var(--border); border-radius: 14px; margin: 0 0 16px; padding: 12px 16px 16px; min-width: 0; }
.qr-grid > * { min-width: 0; }
.qr legend { font-weight: 600; padding: 0 6px; }
.qr .f { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.qr label { font-size: 0.95rem; }
.qr .chk { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.qr input[type=text], .qr input[type=url], .qr input[type=number], .qr input[type=time], .qr select { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); max-width: 100%; }
.qr small { color: var(--muted); }
.qr table.hours { border-collapse: collapse; width: 100%; min-width: 0; table-layout: fixed; }
.qr .hours th, .qr .hours td { border-bottom: 0; padding: 4px 8px 4px 0; }
.qr .hours th, .qr .hours td { text-align: left; padding: 6px 8px 6px 0; }
.qr .hours th:nth-child(1), .qr .hours td:nth-child(1) { width: 28%; }
.qr .hours th:nth-child(2), .qr .hours td:nth-child(2) { width: 12%; }
.qr .hours input[type=time] { width: 100%; min-width: 7.5em; box-sizing: border-box; padding: 6px 6px; font-size: 0.95rem; }
.qr input[type=text], .qr input[type=url], .qr input[type=number], .qr select { box-sizing: border-box; width: 100%; }
.qr .items input[type=url] { width: 100%; }
.qr .items select, .qr .items input[type=number] { width: auto; }
.qr .items { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.qr .items li { display: grid; grid-template-columns: auto minmax(0, 1fr) 84px auto; gap: 8px; align-items: center; }
@media (max-width: 700px) { .qr .items li { grid-template-columns: 1fr 84px; } .qr .items .p-url { grid-column: 1 / -1; order: 3; } }
.qr button, .qr .btn { font: inherit; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; text-decoration: none; display: inline-block; }
.qr button:hover, .qr .btn:hover { border-color: var(--accent); }
.qrbox { background: #fff; border-radius: 16px; padding: 12px; max-width: 460px; }
.qrbox svg { width: 100%; height: auto; display: block; }
.qr pre { max-height: 360px; overflow: auto; font-size: 0.8rem; }
.qr .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.qr .lbl { font-size: 0.95rem; }
.qr .items li { grid-template-columns: auto minmax(0, 1fr) 84px auto auto; }
.qr .p-mute { font-size: 0.85rem; white-space: nowrap; }
