.q-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.q-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.q-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.q-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--accent); }
.q-chip { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: #eef2f1; color: var(--muted); }
.q-meta { margin-top: 4px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.q-status { font-weight: 600; color: var(--ink); }
.q-printing .q-status { color: #1f8a5b; }
.q-ready .q-status { color: #b06a00; }
.q-when { margin-left: auto; }
.q-bar { margin-top: 8px; height: 6px; border-radius: 6px; background: #e6ebea; overflow: hidden; }
.q-bar i { display: block; height: 100%; background: #1f8a5b; transition: width .6s; }
.q-empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; list-style: none; }
.q-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.q-count { font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.q-live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.q-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa5a9; }
.q-live.on::before { background: #1f8a5b; box-shadow: 0 0 0 0 rgba(31,138,91,.6); animation: q-pulse 2s infinite; }
@keyframes q-pulse { 70% { box-shadow: 0 0 0 8px rgba(31,138,91,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); } }
@media (prefers-reduced-motion: reduce) { .q-live.on::before { animation: none; } .q-bar i { transition: none; } }
.track { display: flex; gap: 8px; flex-wrap: wrap; }
.track input { flex: 1 1 200px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; text-transform: uppercase; }
.track button { border: 0; border-radius: 8px; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; }
.track-out { margin-top: 12px; }
.track-out .q-item { border-color: var(--accent); }
.err { color: #a12a1e; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.home-lab { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .home-lab { grid-template-columns: 1.1fr 1fr; } }
.home-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.home-tools a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.home-tools a span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.home-tools a:hover { border-color: var(--accent); }
