.atc-panel { margin-block: 1rem; min-width: 0; }
.atc-panel h2 small { font-size: .65em; opacity: .8; }
.atc-panel .actions { display:flex; flex-wrap:wrap; gap:.7rem; align-items:end; }
.atc-panel label { display:grid; gap:.3rem; }
.atc-address, .atc-history { overflow-wrap:anywhere; }
.atc-panel li { margin-block:.8rem; }
.atc-panel li .input { max-width:100%; }
.atc-panel dialog, dialog.atc-panel { max-width:min(38rem,90vw); max-height:85vh; overflow:auto; }
.atc-swatch { display:inline-block; width:1em; height:1em; border-radius:50%; background:#79d9c5; vertical-align:middle; }
dialog.atc-panel::backdrop { background:rgba(0,0,0,.65); }
.atc-qr-dialog { width:min(28rem,90vw); }
.atc-qr-image { width:min(18rem,100%); margin:1rem auto; background:white; }
.atc-qr-image svg { display:block; width:100%; height:auto; }
.atc-products { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:1rem; }
.atc-products article { border:1px solid var(--border,rgba(255,255,255,.15)); border-radius:12px; padding:1rem; }
@media(max-width:600px) { .atc-panel .actions > * { width:100%; } }
