/* QR widgets - preview beside the details on wide frames, stacked on narrow ones. */
.qrw { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.qrw-stage {
    flex: 0 0 auto; width: 180px; max-width: 100%; aspect-ratio: 1 / 1; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--e-line); border-radius: 10px; background: #fff; overflow: hidden;
}
.qrw-stage svg, .qrw-stage canvas { display: block; width: 100%; height: auto; }
.qrw-stage.qrw-empty { background: var(--e-surface); }
.qrw-side { flex: 1 1 220px; min-width: 0; }
.qrw-side .e-note:first-child, .qrw-side .e-error { margin-top: 0; }
.qrw-info { margin-top: 0; }
.qrw-side [hidden] { display: none; }
.qrw-details { margin-top: 10px; font-size: .86em; color: var(--e-ink-2); }
.qrw-details summary { cursor: pointer; }
.qrw-details summary:focus-visible { outline: 2px solid var(--e-focus); outline-offset: 2px; }
.qrw-payload { margin-top: 6px; max-height: 140px; }
@media (min-width: 440px) { .qrw-stage { margin: 0; } }
.qrw-addr > summary { cursor: pointer; font-size: .86em; font-weight: 600; color: var(--e-ink-2); padding: 4px 0; }
.qrw-addr > summary:focus-visible { outline: 2px solid var(--e-focus); outline-offset: 2px; }
.qrw-addr[open] > summary { margin-bottom: 8px; }
