/* Návrh 06, doplnok „Práve sa robí“ (Peter 11. 10.): the prototype's own CSS, copied verbatim from
   docs/navrh-portalu-2026-10/navrh-06/index.html (branch navrh-06, a142a72). Never edited here; app glue goes in portal.css. */
/* návrh 06 doplnok: Práve sa robí — one place for everything being made (Peter 11. 10.) */
.qpill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--raised); color: var(--text); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.qpill:hover, .qpill[aria-expanded="true"] { border-color: var(--accent-line); }
.qpill .dot { background: var(--warn); animation: qpulse 1.6s ease-in-out infinite; }
.qpill small { font-size: 12px; font-weight: 400; color: var(--muted); }
@keyframes qpulse { 50% { opacity: .3; } }
.drawer.qdrawer { width: min(470px, 100%); }
.drawer.qdrawer .body { grid-auto-rows: max-content; }
.qsum { display: grid; gap: 2px; }
.qsum b { font-size: 14px; }
.qsum span { font-size: 12.5px; color: var(--muted); }
.qgrp { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qgrp > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--raised); border: 0; }
.qgrp > header b { display: block; font-size: 13px; }
.qgrp > header small { display: block; font-size: 11.5px; color: var(--muted); }
.qgrp > header .acts { display: flex; align-items: center; gap: 10px; flex: none; }
.qgrp > header .btn.small { height: 28px; min-height: 28px; padding: 0 10px; font-size: 12px; }
.qrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); }
.qth { width: 40px; height: 40px; border-radius: 6px; display: block; background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); }
.qth.run { background: linear-gradient(90deg, #1b2024 0%, #2c353b 50%, #1b2024 100%); background-size: 200% 100%; animation: qshine 1.4s linear infinite; }
@keyframes qshine { to { background-position: -200% 0; } }
.qrow .qt { min-width: 0; }
.qrow .qt b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrow .qt small { display: block; font-size: 11.5px; color: var(--muted); }
.qrow .qst { display: grid; gap: 3px; justify-items: end; text-align: right; }
.qrow .qst small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.qrow .qacts { display: flex; gap: 10px; }
.qfoot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qdone { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qdone button { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; background: none; border: 0; border-top: 1px solid var(--line); color: var(--text); font-size: 12.5px; text-align: left; }
.qdone button:first-child { border-top: 0; }
.qdone button:hover { background: var(--hover); }
.qdone small { color: var(--muted); }
.cbatch .qline { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--text2); }
.cslot.making.wait { color: var(--muted); background: repeating-linear-gradient(135deg, #14171A 0 8px, #191D20 8px 16px); }
@media (prefers-reduced-motion: reduce) { .qpill .dot, .qth.run { animation: none; } }
@media (max-width: 560px) { .qpill .qlabel { display: none; } }
/* Peter 28. 10. (the card's panel): the line of what is being made is a row with gaps everywhere it stands, never words
   glued together ("1 čaká · na superpočítači SAVhotové asi o 1 minPráve sa robí →") */
.qline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
/* nothing made: the pill stays where it is, muted (koordinátor 28. 10.: the student always finds it) */
.qpill.idle { color: var(--muted); font-weight: 400; }
.qpill.idle .dot { background: var(--line2); animation: none; }
