/* Watch and the shortage page (batch T). Source: _ops/watch/assets/watch.css, copied to /assets/ by _ops/watch/build_pages.py.
   Tokens are the site's own (style.css); .fr, .fr-tool and .fr-in come from records.css. */
.gw-follow{margin:1.2rem 0 1.8rem}
.gw-state{margin:0 0 .6rem;color:var(--gp-text-body);line-height:1.55}
.gw-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 .9rem;padding:0;list-style:none}
.gw-chips li{display:inline-flex;align-items:center;gap:.1rem;padding:0 .85rem;border-radius:999px;background:var(--gp-surface-raised);border:1px solid var(--gp-border);font-size:var(--text-sm);min-height:40px}
.gw-chips li:has(button){padding-right:0}
.gw-chips a{color:var(--gp-text-primary);text-decoration:none}
.gw-chips a:hover{text-decoration:underline}
.gw-chips button{font:inherit;font-size:1.2rem;line-height:1;width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--gp-text-tertiary);cursor:pointer}
.gw-chips button:hover{color:var(--gp-error)}
.gw-chips button:focus-visible{outline:2px solid var(--gp-teal);outline-offset:2px}
.gw-combo{position:relative}
.gw-opts{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);margin:0;padding:.3rem;list-style:none;max-height:19rem;overflow:auto;
  background:var(--gp-surface-overlay);border:1px solid var(--gp-border-strong);border-radius:12px;box-shadow:0 12px 32px rgb(0 0 0 / .35)}
.gw-opts[hidden]{display:none}
.gw-opts li[role=option]{display:grid;gap:.1rem;padding:.6rem .7rem;border-radius:8px;cursor:pointer;min-height:44px;align-content:center}
.gw-opts li b{color:var(--gp-text-primary);font-weight:600}
.gw-opts li span{font-size:var(--text-xs);color:var(--gp-text-tertiary)}
.gw-opts li[aria-selected=true],.gw-opts li[role=option]:hover{background:var(--gp-teal-muted)}
.gw-opts .gw-nomatch{padding:.7rem;color:var(--gp-text-secondary);font-size:var(--text-sm);line-height:1.45}
.gw-msg{margin:.5rem 0 0;min-height:1.4em;font-size:var(--text-sm);color:var(--gp-teal)}
.gw-seen{margin:.2rem 0 0;font-size:var(--text-sm);color:var(--gp-text-tertiary)}
.gw-seen:empty{display:none}

.gw-panel{border-top:2px solid var(--gp-text-primary);margin:2.2rem 0 0;padding:.9rem 0 0}
.gw-panel>h2{margin:0 0 .2rem;font-size:1.3rem}
.gw-status{margin:0 0 .8rem;font-size:var(--text-sm);color:var(--gp-text-tertiary);line-height:1.5}
.gw-body:empty::after{content:"";display:block;height:3.2rem;border-radius:8px;background:linear-gradient(90deg,var(--gp-surface) 25%,var(--gp-surface-raised) 50%,var(--gp-surface) 75%);background-size:200% 100%;animation:gw-load 1.4s linear infinite}
@keyframes gw-load{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.gw-body:empty::after{animation:none}}
.gw-body h4{margin:1.2rem 0 .1rem;font-size:1rem;color:var(--gp-text-primary);display:flex;flex-wrap:wrap;gap:.2rem .7rem;align-items:baseline}
.gw-body h4 span{font-weight:400;font-size:var(--text-sm);color:var(--gp-text-tertiary)}
.gw-list{list-style:none;margin:0;padding:0}
.gw-list li{padding:.75rem 0;border-top:1px solid var(--gp-border-subtle);display:grid;gap:.15rem .9rem}
.gw-list li:first-child{border-top:0}
.gw-list time{font-size:var(--text-sm);color:var(--gp-text-tertiary);font-variant-numeric:tabular-nums}
.gw-list b{color:var(--gp-text-primary);font-weight:600;line-height:1.4}
.gw-list b a{color:inherit;text-decoration-color:var(--gp-border-strong);text-underline-offset:3px}
.gw-list b a:hover{color:var(--gp-teal)}
.gw-list p{margin:0;line-height:1.55;color:var(--gp-text-body);overflow-wrap:anywhere}
.gw-list .gw-meta{font-size:var(--text-sm);color:var(--gp-text-tertiary)}
@media(min-width:720px){.gw-list li{grid-template-columns:9.5rem 1fr}.gw-list li>time{grid-row:1 / span 4}.gw-list li>:not(time){grid-column:2}}
.gw-more{margin:.2rem 0 0;border-top:1px solid var(--gp-border-subtle)}
.gw-more>summary{cursor:pointer;padding:.7rem 0;min-height:44px;font-weight:600;color:var(--gp-teal)}
.gw-more[open]>summary{color:var(--gp-text-tertiary);font-weight:400}
.gw-new{display:inline-block;margin-left:.4rem;padding:.05rem .5rem;border-radius:999px;background:var(--gp-teal-muted);color:var(--gp-teal);font-size:var(--text-xs);font-weight:600;white-space:nowrap}
.gw-none{margin:0;padding:.7rem .9rem;border-radius:10px;background:var(--gp-surface);color:var(--gp-text-secondary);line-height:1.55}
.gw-note{margin:.7rem 0 0;font-size:var(--text-sm);color:var(--gp-text-tertiary);line-height:1.55}
.gw-note a,.gw-site a{color:var(--gp-teal)}
.gw-site{margin:2rem 0 0;padding:.9rem 1rem;border-radius:12px;background:var(--gp-surface);line-height:1.6}

/* ---- the shortage page ---- */
.sh-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.6rem;margin:1.2rem 0 1.4rem;padding:0;list-style:none}
.sh-tiles li{border:1px solid var(--gp-border);border-radius:12px;background:var(--gp-surface);padding:.8rem .9rem}
.sh-tiles b{display:block;font-size:1.7rem;line-height:1.1;color:var(--gp-text-primary);font-variant-numeric:tabular-nums}
.sh-tiles span{font-size:var(--text-sm);color:var(--gp-text-secondary);line-height:1.4}
.sh-live{margin:0 0 1.2rem;padding:.75rem .9rem;border-radius:10px;background:var(--gp-surface-raised);color:var(--gp-text-body);line-height:1.55}
.sh-live button{font:inherit;font-size:var(--text-sm);min-height:40px;padding:.3rem .9rem;margin-left:.4rem;border-radius:999px;border:1px solid var(--gp-border-strong);background:transparent;color:var(--gp-text-primary);cursor:pointer}
.sh-live button:hover{background:var(--gp-surface)}
.sh-live button:focus-visible{outline:2px solid var(--gp-teal);outline-offset:2px}
.sh-entry{border-top:1px solid var(--gp-border);padding:1.1rem 0 .4rem;scroll-margin-top:7.5rem}
.sh-entry h3{margin:0 0 .15rem;font-size:1.15rem}
.sh-entry h3 a{color:var(--gp-text-primary)}
.sh-entry>p{margin:.2rem 0 .6rem}
.sh-t{border-collapse:collapse;font-size:var(--text-sm);min-width:100%}
.sh-t th,.sh-t td{border-bottom:1px solid var(--gp-border-subtle);padding:.5rem .6rem .5rem 0;text-align:left;vertical-align:top;line-height:1.45}
.sh-t th{color:var(--gp-text-tertiary);font-weight:600;white-space:nowrap}
.sh-t td:first-child{color:var(--gp-text-primary);min-width:13rem}
.sh-t th:first-child,.sh-t td:first-child{padding-left:.75rem}
.sh-t tbody tr:last-child td{border-bottom:0}
.sh-live ul{margin:.3rem 0 .3rem 1.1rem;padding:0}.sh-live p{margin:.5rem 0 0}
.sh-st{display:inline-block;padding:.05rem .55rem;border-radius:999px;font-size:var(--text-xs);font-weight:600;white-space:nowrap}
.sh-st[data-s="Current"]{background:var(--gp-error-bg);color:var(--gp-text-primary)}
.sh-st[data-s="To Be Discontinued"]{background:var(--gp-warning-bg);color:var(--gp-text-primary)}
.sh-st[data-s="Resolved"]{background:var(--gp-surface-raised);color:var(--gp-text-secondary)}
.sh-off{columns:3 12rem;padding-left:1.1rem;line-height:1.7;font-size:var(--text-sm)}
.sh-def{margin:.6rem 0;padding:.6rem .9rem;border-left:4px solid var(--gp-teal);background:var(--gp-surface);border-radius:0 8px 8px 0;color:var(--gp-text-primary);line-height:1.6}
.sh-def cite{display:block;margin-top:.3rem;font-style:normal;font-size:var(--text-xs);color:var(--gp-text-tertiary)}
