/* BANKING §4 · "How it works today": the queue card.
   Today = the bank's steps as tiles (widths follow where the time goes; release window is the widest, hatched),
   with a Move now / Wait split after prioritize. With Zeroday = the loop as four teal tiles and "4 mins".
   Load: queue-card.js drives one timeline per lane. The number counts up while a scan bar (red for Today, teal for Zeroday) sweeps the tiles and reveals them as it passes. Today is slow, Zeroday is the same motion, faster. */
.pg #gap .head{margin-bottom:0}
.pg #gap .qc{margin-top:28px;max-width:1040px}
.pg .qc{padding:26px 28px 28px;border:1px solid var(--card-bd);border-radius:24px;background:var(--card-bg);box-shadow:var(--card-sh)}
.pg .qc-h{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.pg .qc-h h3{font:600 20px/26px var(--sans);color:var(--ink)}
.pg .qc-big{display:flex;align-items:baseline;gap:10px}
.pg .qc-big b{display:inline-block;min-width:5ch;text-align:right;font:600 36px/40px var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-1px;color:var(--red)}
.pg .qc-big span{font:400 15px/22px var(--mono);letter-spacing:2px;text-transform:uppercase;color:var(--ink2)}
.pg .qc-chips{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.pg .qc-chip{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid var(--hair2);border-radius:999px;background:color-mix(in srgb,var(--ink) 3%,transparent);font:500 15px/20px var(--sans);color:var(--ink)}
.pg .qc-chip svg{width:16px;height:16px;color:var(--ink2)}
.pg .qc-arr{width:22px;height:1.5px;background:var(--ink4);position:relative}
.pg .qc-arr::after{content:"";position:absolute;right:-1px;top:-3.5px;border:4px solid transparent;border-left:6px solid var(--ink4);border-right:0}
.pg .qc-chip.now{border-color:var(--red-line);background:var(--red-wash);font:600 15px/20px var(--mono);letter-spacing:1.5px;text-transform:uppercase}
.pg .qc-chip.now i,.pg .qc-chip.wait i{width:8px;height:8px;border-radius:50%;background:var(--red)}
.pg .qc-chip.wait{border-style:dashed;color:var(--ink3);background:transparent;font:600 15px/20px var(--mono);letter-spacing:1.5px;text-transform:uppercase}
.pg .qc-chip.wait i{background:var(--ink3)}
.pg .qc-row{display:flex;gap:6px;margin-top:14px}
.pg .qc-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-height:76px;padding:12px 14px;border-radius:10px;font:500 15px/20px var(--sans);color:var(--ink);overflow:hidden}
.pg .qc-tile svg{width:20px;height:20px}
.pg .qc-row.t .qc-tile{min-width:0}
.pg .qc-row.t .qc-tile{border:1px solid var(--red-line);background:linear-gradient(180deg,rgba(255,75,62,.12),rgba(255,75,62,.05))}
.pg .qc-row.t .qc-tile svg{color:var(--red)}
.pg .qc-tile.hatch{background:repeating-linear-gradient(135deg,rgba(255,75,62,.24) 0 10px,rgba(255,75,62,.07) 10px 20px)!important;background-size:28.28px 28.28px!important;border-color:rgba(255,75,62,.7)!important;animation:qcstall 3s linear infinite}
@keyframes qcstall{to{background-position:28.28px 0}}
.pg .qc-tile.dash{border-style:dashed!important;background:transparent!important}
.pg .qc-rule{height:1px;margin:18px 0 14px;background:var(--hair)}
.pg .qc-z{display:flex;align-items:center;justify-content:space-between;gap:20px}
.pg .qc-z h3{font:600 20px/26px var(--sans);color:var(--ink)}
.pg .qc-big.z b{color:var(--teal);min-width:3ch}
.pg .qc-row.z .qc-tile{flex:1;border:1px solid var(--teal-line);background:linear-gradient(180deg,rgba(45,224,196,.1),rgba(45,224,196,.04))}
.pg .qc-row.z .qc-tile svg{color:var(--teal)}
.pg .qc-src{margin-top:16px;font:400 15px/22px var(--mono);color:var(--ink3)}
/* scan regions: the bar sweeps left to right, JS reveals each chip / tile as the bar passes (nothing hidden without JS) */
.pg .qc-sc{position:relative}
.pg .qc-zr{display:flex;align-items:stretch;gap:0}
.pg .qc-sc.z{width:50%;flex:none}   /* the loop is four short steps: half the width, so the bar crosses it in half the time */
.pg .qc-scan{position:absolute;top:0;bottom:0;left:0;width:2px;margin-left:-1px;border-radius:2px;pointer-events:none;z-index:3;opacity:0}
.pg .qc-sc.t .qc-scan{background:linear-gradient(180deg,transparent,var(--red) 14%,var(--red) 86%,transparent);box-shadow:0 0 14px rgba(255,75,62,.45)}
.pg .qc-sc.z .qc-scan{background:linear-gradient(180deg,transparent,var(--teal) 14%,var(--teal) 86%,transparent);box-shadow:0 0 14px rgba(45,224,196,.45)}
@media (max-width:980px){.pg .qc-sc.z{width:100%}.pg .qc{padding:24px 20px}.pg .qc-row{flex-wrap:wrap}.pg .qc-row.t .qc-tile{flex:1 1 30%!important}.pg .qc-row.z .qc-tile{flex:1 1 40%}.pg .qc-z{flex-direction:column;align-items:flex-start}.pg .qc-scan{display:none}}

/* certified: lands in the space Zeroday frees up, while Today is still loading */
.pg .qc-cert{flex:1;min-width:0;display:flex;align-items:center;gap:12px;margin-top:14px;padding:0 0 0 32px}   /* no box: it reads as the next step of the pipeline */
.pg .qc-cert .qc-arr{flex:none;width:26px;background:var(--teal)}
.pg .qc-cert .qc-arr::after{border-left-color:var(--teal)}
.pg .qc-cert>svg{width:40px;height:40px;flex:none;color:var(--ink)}
.pg .qc-cert b{font:600 20px/26px var(--sans);color:var(--ink)}
.pg .qc.anim .qc-cert{opacity:0;transform:translateX(-12px);transition:opacity .5s ease,transform .5s ease}
.pg .qc.anim .qc-cert.on{opacity:1;transform:none}
.pg .qc-cert .ck{stroke-dasharray:32;stroke-dashoffset:0}
.pg .qc.anim .qc-cert .ck{stroke-dashoffset:32;transition:stroke-dashoffset .4s ease .35s}
.pg .qc.anim .qc-cert.on .ck{stroke-dashoffset:0}
@media (max-width:980px){.pg .qc-zr{flex-direction:column;gap:0}.pg .qc-sc.z{width:100%}.pg .qc-cert{padding-left:0;margin-top:12px}.pg .qc-cert .qc-arr{display:none}}
