@media screen {
 body {grid-template-rows:auto auto minmax(0,1fr) auto}
 #wash-layer {grid-area:3 / 1 / 5 / 2}
}
#tunnel-strip {
 grid-area:4 / 1;
 min-width:0;
 background:#f7fafb;
 border-top:1px solid #b5c8d4;
 color:#21343e;
}
.tunnel-inner {
 display:grid;
 grid-template-columns:minmax(0,2fr) minmax(0,1fr);
 max-width:1540px;
 margin-inline:auto;
 padding:8px clamp(8px,2vw,30px);
}
.tunnel-group {min-width:0;display:flex;flex-direction:column;gap:5px}
.tunnel-queue {padding-right:12px}
.tunnel-belt {border-left:3px solid #809bab;padding-left:12px}
.tunnel-heading {display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:40px}
.tunnel-heading h2 {margin:0;font-size:14px}
.tunnel-count {margin-left:5px;font-size:12px;color:#506470;white-space:nowrap}
.tunnel-heading .soft {min-height:40px;padding:4px 12px;font-size:13px;background:#223843;border-color:#223843;color:white}
.tunnel-heading .soft:disabled {background:#e7ecef;border-color:#d5dfe4;color:#586974}
.tunnel-cars {display:grid;min-width:0;gap:5px;margin:0;padding:0;list-style:none;min-height:44px}
.tunnel-queue .tunnel-cars {grid-template-columns:repeat(6,minmax(0,1fr))}
.tunnel-belt .tunnel-cars {grid-template-columns:repeat(3,minmax(0,1fr))}
.tunnel-queue .tunnel-car {grid-column:var(--queue-slot)}
.tunnel-car {
 display:flex;
 min-width:0;
 flex-direction:column;
 justify-content:center;
 border-radius:5px;
 border:1px solid #c4d0d7;
 border-top:3px solid var(--package-color,#b8cbd5);
 background:white;
 padding:4px 6px;
 line-height:1.25;
}
.tunnel-car.is-next {border-color:#677f8c;border-top-color:var(--package-color,#b8cbd5);background:#eef4f7}
.tunnel-belt .tunnel-car {background:#e8f1ed;border-color:#c2d6ca;border-top-color:var(--package-color,#b8cbd5)}
.tunnel-car b,.tunnel-car small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tunnel-car b {font:700 13px/1.3 ui-monospace,monospace}
.tunnel-car small,.tunnel-empty {font-size:11px;color:#465e68}
.tunnel-empty {grid-column:1/-1;align-self:center}
.tunnel-notice {margin:6px 0 10px;color:#674917;background:#fff4cf;border-radius:6px;padding:7px 9px;font-size:13px}
.actions.receipts .soft:disabled,.member-redeem:disabled {color:#596970;background:#edf0f1;border-color:#d6dee2}
.actions.receipts .soft:disabled small {color:inherit}
@media (max-width:1050px) {
 .tunnel-inner {grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
 .tunnel-belt .tunnel-cars {grid-template-columns:repeat(2,minmax(0,1fr))}
 .tunnel-belt .tunnel-car:nth-child(n+3) {display:none}
}
@media (max-width:700px) {
 .tunnel-inner {grid-template-columns:minmax(0,4fr) minmax(0,1fr)}
 .tunnel-queue {padding-right:6px}
 .tunnel-belt {padding-left:6px}
 .tunnel-belt .tunnel-cars {grid-template-columns:minmax(0,1fr)}
 .tunnel-belt .tunnel-car:nth-child(n+2) {display:none}
}
@media (max-width:580px) {
 .tunnel-inner {grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
 .tunnel-queue .tunnel-cars {grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,36px)}
 .tunnel-belt .tunnel-cars {grid-template-rows:36px}
 .tunnel-queue .tunnel-car {grid-column:var(--compact-column);grid-row:var(--compact-row)}
 .tunnel-car b {font-size:12px}
 .tunnel-car small {font-size:10px}
 .tunnel-heading .soft {padding-inline:7px}
}
