.rd-admin{margin-bottom:20px}.rd-admin details{margin:16px 0}.rd-admin summary{cursor:pointer;font-weight:650}.rd-admin li{padding:5px 0}.rd-admin p{line-height:1.6}.rd-layout{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:20px;align-items:start}.rd-layout>*,.rd-layout>div>*{min-width:0}.rd-order-card h2,.rd-history h2{margin:0 0 16px}.rd-order{padding:0;margin:0;list-style:none;display:grid;gap:8px}.rd-order li{display:flex;gap:10px;align-items:center;padding:10px;border-radius:8px;border:1px solid var(--line);min-width:0}.rd-order strong{font-size:.8rem;overflow-wrap:anywhere}.rd-order small{display:block;color:var(--muted);font-size:.68rem;margin-top:4px}.rd-step{flex-shrink:0;display:grid;place-items:center;width:26px;height:26px;background:#ffffff0a;border-radius:50%;font-size:.75rem;font-weight:700}.rd-step-state{margin-left:auto;font-size:.62rem;color:var(--muted);white-space:nowrap}.rd-order .active{border-color:var(--lime);background:#9ed66512;box-shadow:inset 3px 0 var(--lime)}.rd-order .active .rd-step{background:var(--lime);color:#172313}.rd-order .active .rd-step-state{color:var(--lime)}.rd-order .done{opacity:.65}.rd-order-card>p{font-size:.72rem;line-height:1.5;margin-bottom:0}.rd-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.rd-pokemon{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;min-width:0;padding:14px 10px}.rd-pokemon img{image-rendering:pixelated;object-fit:contain}.rd-pokemon .pokemon-name{overflow-wrap:anywhere}.rd-pokemon[aria-pressed=true]{border-color:var(--lime);background:#9ed66518;box-shadow:inset 0 0 0 1px var(--lime)}.rd-pick-state{font-size:.68rem;color:var(--muted)}.rd-pokemon[aria-pressed=true] .rd-pick-state{color:var(--lime);font-weight:700}.rd-pokemon:disabled:not([aria-pressed=true]){opacity:.5}.rd-counter{font-size:.83rem}.rd-counter strong{color:var(--lime)}.rd-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.rd-actions p{margin-right:auto}.rd-actions .button{white-space:normal}.rd-choice-group{border:0;padding:0;margin:22px 0;min-width:0}.rd-choice-group legend{font-weight:700;font-size:.9rem;margin-bottom:12px}.rd-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rd-panel>p,.rd-wait p{line-height:1.6}.rd-panel>.muted{font-size:.8rem}.rd-history{margin-top:20px}.rd-history article{display:flex;flex-direction:column;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.rd-history article:last-child{border:0;padding-bottom:0}.rd-history article>strong{font-size:.85rem}.rd-history article>.muted{font-size:.8rem}.rd-swaps{display:grid;gap:6px}.rd-swaps>span{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:.78rem}.rd-swaps img{width:36px;height:36px}.rd-swaps b{margin:0 4px;color:var(--lime)}.rd-finished{margin-bottom:20px}.nav-tab:disabled{opacity:.4;cursor:not-allowed}.rd-wait h2{margin-top:0}
@media(max-width:1100px){.rd-layout{grid-template-columns:1fr}.rd-order{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.rd-order-card{padding:18px}.rd-roster{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media(max-width:600px){.rd-candidates{gap:7px}.rd-candidates .rd-pokemon{padding:10px 5px}.rd-candidates img{width:65px;height:65px}.rd-candidates .pokemon-name{font-size:.72rem}.rd-actions .button{width:100%}.rd-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-order{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.rd-order li{padding:8px;gap:7px;flex-wrap:wrap}.rd-step-state{font-size:.58rem}.rd-order strong{font-size:.72rem}.rd-panel .card-heading{flex-wrap:wrap;gap:8px}}
