/* Chains: upload, quote, brand pages (on top of site.css + nearby.css). */
main.chains-page{max-width:980px}
.ch-errors{margin:8px 0 0;padding-left:20px}
.ch-errors li{margin:2px 0}
.ch-sched{width:auto;min-width:260px}
.ch-sched td,.ch-sched th{padding:6px 14px 6px 0}
.ch-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0}
.ch-table{min-width:640px}
.ch-table td.num,.ch-table th.num{text-align:right;white-space:nowrap}
.ch-st{display:inline-block;padding:2px 8px;border-radius:999px;font-size:13px;font-weight:700;border:1px solid var(--line);white-space:nowrap}
.ch-st.open,.ch-st.partly{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.ch-st.taken,.ch-st.full,.ch-st.busy{color:var(--no);border-color:var(--no)}
.ch-totals{width:100%;max-width:560px}
.ch-totals th{font-weight:600}
.ch-totals td{text-align:right;white-space:nowrap}
.ch-totals tr.sum th,.ch-totals tr.sum td{font-weight:800;font-size:18px}
.ch-progress{width:100%;height:14px;border-radius:999px;background:var(--line);overflow:hidden;margin:14px 0}
.ch-progress > span{display:block;height:100%;background:var(--accent)}
.ch-counts{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0;padding:0;list-style:none}
.ch-paste{width:100%;min-height:120px;font-family:ui-monospace,Menlo,monospace;font-size:15px}
.ch-or{margin:14px 0 4px;font-weight:600}
.ch-forced{border-left:4px solid var(--hi);padding:8px 12px;background:var(--card)}
@media (max-width:600px){.ch-table{min-width:600px;font-size:14px}
  .ch-table td:nth-child(2){min-width:170px}
  /* the totals: label and value share the width (a nowrap value squeezed the label to one word a line) */
  .ch-totals th{width:52%}.ch-totals td{white-space:normal}
  .ch-totals tr.sum th,.ch-totals tr.sum td{font-size:16px}}
.ch-progress > span.w0{width:0%}
.ch-progress > span.w5{width:5%}
.ch-progress > span.w10{width:10%}
.ch-progress > span.w15{width:15%}
.ch-progress > span.w20{width:20%}
.ch-progress > span.w25{width:25%}
.ch-progress > span.w30{width:30%}
.ch-progress > span.w35{width:35%}
.ch-progress > span.w40{width:40%}
.ch-progress > span.w45{width:45%}
.ch-progress > span.w50{width:50%}
.ch-progress > span.w55{width:55%}
.ch-progress > span.w60{width:60%}
.ch-progress > span.w65{width:65%}
.ch-progress > span.w70{width:70%}
.ch-progress > span.w75{width:75%}
.ch-progress > span.w80{width:80%}
.ch-progress > span.w85{width:85%}
.ch-progress > span.w90{width:90%}
.ch-progress > span.w95{width:95%}
.ch-progress > span.w100{width:100%}
