/* QR Studio home (moved from orders-tabs share-* rules) */
.qrs-home-back { display: inline-block; margin: 0 0 0.75rem; color: var(--muted, #6f6b63); text-decoration: none; font-size: 0.9rem; }
.qrs-home-hero { background: #11261a; color: #fff; border-radius: 18px; padding: 1.25rem; margin: 0 0 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.qrs-home-eyebrow { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.qrs-home-hero h1 { margin: 0.3rem 0 0.4rem; font-size: 1.5rem; color: #fff; }
.qrs-home-hero p { margin: 0 0 0.9rem; opacity: .8; font-size: 0.9rem; }
.qrs-home-url { background: rgba(255,255,255,.12); border-radius: 10px; padding: 0.6rem 0.75rem; margin: 0 0 0.8rem; }
.qrs-home-url code { color: #fff; background: none; word-break: break-all; font-size: 0.85rem; }
.qrs-home-hero-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.qrs-home-light { background: #fff; color: #11261a; border: 0; font-weight: 600; }
.qrs-home-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.qrs-home-card { margin: 0 0 1rem; }
.qrs-home-card h3 { margin: 0 0 0.6rem; }
.qrs-home-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.75rem; }
.qrs-home-chips button { border: 1px solid var(--border, #e5e2d9); background: transparent; color: inherit; font: inherit; font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 999px; cursor: pointer; }
.qrs-home-chips button[aria-pressed="true"] { background: #11261a; color: #fff; border-color: #11261a; }
#qrs-home-msg { width: 100%; box-sizing: border-box; font: inherit; padding: 0.6rem 0.7rem; border: 1px solid var(--border, #e5e2d9); border-radius: 10px; resize: vertical; margin: 0.25rem 0 0.75rem; background: transparent; color: inherit; }
.qrs-home-channels { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.qrs-home-ch { border: 1px solid var(--border, #e5e2d9); background: transparent; color: inherit; font: inherit; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 999px; cursor: pointer; text-decoration: none; }
.qrs-home-ch:hover, .qrs-home-ch:focus-visible { border-color: #11261a; outline: none; }
.qrs-home-ch[hidden] { display: none; }
.qrs-home-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; padding: 0.6rem 0; border-top: 1px solid var(--border, #e5e2d9); }
.qrs-home-row:first-of-type { border-top: 0; padding-top: 0; }
.qrs-home-row-main { flex: 1; min-width: 12rem; }
.qrs-home-row-main strong { display: block; }
.qrs-home-row-main code { font-size: 0.8rem; word-break: break-all; }
.qrs-home-qr-list { display: flex; flex-direction: column; }
.qrs-home-qr { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--border, #e5e2d9); text-align: left; }
.qrs-home-qr:first-child { border-top: 0; padding-top: 0; }
.qrs-home-qr-th { width: 64px; height: 80px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border, #e5e2d9); border-radius: 8px; overflow: hidden; background: #fff; }
.qrs-home-qr-th img, .qrs-home-qr-th canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.qrs-home-qr-th img[hidden] { display: none; }
.qrs-home-qr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; justify-content: center; }
.qrs-home-qr-acts { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* —— Catalog editor: flat, no nested cards —— */

.qrs-home-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0 0 1rem; }
.qrs-home-quick .btn { justify-content: center; }

.qrs-share-panel { flex: 0 0 100%; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.5rem 0 0.25rem; }
.qrs-share-panel[hidden] { display: none; }
.qrs-share-panel textarea { width: 100%; box-sizing: border-box; }

.qrs-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.qrs-home-tile { display: flex; flex-direction: column; gap: 0.4rem; text-decoration: none; color: inherit; min-width: 0; }
.qrs-home-tile-th { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border: 1px solid var(--border, #e5e2d9); border-radius: 10px; overflow: hidden; background: #fff; }
.qrs-home-tile-th canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.qrs-home-tile b { font-size: 0.9rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrs-home-tile:focus-visible .qrs-home-tile-th { outline: 2px solid #11261a; }
.qrs-del { color: #b3261e; border-color: #b3261e; }
.qrs-del[hidden] { display: none; }
