/* How many names (names.js): button under Labels + slider beside the tool column; the click chip (click.js) */
#shTools .nm-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; line-height: 1.05; height: 38px; }
#shTools .nm-btn b { font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; }
#nmBox { position: fixed; z-index: 30; width: 220px; padding: 10px 12px 12px; display: grid; gap: 6px; }
#nmBox[hidden] { display: none; }
#nmBox .nm-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; }
#nmBox output { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--accent, #e2bd72); font-weight: 700; }
#nmBox input { width: 100%; margin: 4px 0 0; accent-color: var(--accent, #e2bd72); }
#nmBox .nm-ends { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--soft, #a8b0aa); }
#nmBox small { font-size: 11px; color: var(--soft, #a8b0aa); font-variant-numeric: tabular-nums; }
#clChip { position: fixed; z-index: 25; left: 50%; top: 58px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(9, 33, 30, .94); color: #f6ead2; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); font-size: 13px; }
#clChip[hidden] { display: none; }
#clChip b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#clChip small { color: #b9c2bc; white-space: nowrap; }
#clChip button { border: 0; border-radius: 999px; padding: 5px 11px; font: inherit; font-weight: 700; cursor: pointer; background: #e2bd72; color: #1b1712; white-space: nowrap; }
#clChip button.x { background: transparent; color: #f6ead2; padding: 5px 7px; font-weight: 400; }
@media (max-width: 600px) { #nmBox { left: 64px !important; } #clChip { top: 62px; } }
/* Labels menu (30 Nov): the choices above the How many slider; the Labels button names the choice */
#nmBox { width: 240px; }
#nmBox .nm-modes { display: grid; gap: 2px; }
#nmBox .nm-modes button { display: block; width: 100%; text-align: left; padding: 6px 9px; border: 0; border-radius: 7px; background: rgba(246, 234, 210, .07); color: var(--ink, #f6ead2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#nmBox .nm-modes button small { display: block; font-size: 10.5px; font-weight: 400; color: var(--soft, #a8b0aa); }
#nmBox .nm-modes button:hover { background: rgba(246, 234, 210, .14); }
#nmBox .nm-modes button.on { background: var(--accent, #e2bd72); color: #1b1712; }
#nmBox .nm-modes button.on small { color: #3b2f1d; }
#nmBox .nm-how { display: grid; gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(246, 234, 210, .14); }
#nmBox .nm-how[hidden] { display: none; }
#shTools [data-t="labels"] { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; height: auto; min-height: 38px; padding: 3px 0; }
/* the choice under "Labels": whole words, never cut (30 Nov: "Comm…"); a long one breaks at its hyphen onto a second line */
#shTools [data-t="labels"] .nm-tag { font-size: 8.5px; font-weight: 700; opacity: .8; max-width: 100%; white-space: normal; overflow-wrap: normal; hyphens: manual; text-align: center; line-height: 1.1; }
