/* the Decision Mesh demo: on top of the explorer's tokens and components (noisestate/explorer.css) */
.explorer.mesh .meshbar { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px 16px; }
.explorer.mesh .meshbar select { width: 100%; }
.explorer.mesh .stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
@media (max-width: 760px) { .explorer.mesh .stage { grid-template-columns: 1fr 1fr; } }
.explorer.mesh figure { margin: 0; }
.explorer.mesh .cv { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--panel-2); }
.explorer.mesh .cv.wide { aspect-ratio: auto; height: 220px; }
.explorer.mesh .cv canvas { width: 100%; height: 100%; display: block; }
.explorer.mesh figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.explorer.mesh figcaption b { color: var(--text); font-weight: 650; }
.explorer.mesh figcaption span { font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; }
.explorer.mesh label.check { display: inline-flex; gap: 6px; align-items: center; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.explorer.mesh label.check input { accent-color: var(--accent); }
.explorer.mesh .scale { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--faint); font-family: ui-monospace, Menlo, monospace; }
.explorer.mesh .scale i { display: inline-block; width: 140px; height: 8px; border-radius: 4px; }
.explorer.mesh .ctl select { width: 100%; font: inherit; font-size: 0.9rem; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); margin-top: 4px; }
.explorer.mesh .legend { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.explorer.mesh .legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.explorer.mesh .meshbar .ctl { display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 700px) { .explorer.mesh .meshbar .ctl label { white-space: nowrap; } }
.explorer.mesh .ctl input.box { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.explorer.mesh .speedctl input[type=range] { width: 110px; accent-color: var(--accent); }
.explorer.mesh .speedctl .val { font-family: ui-monospace, Menlo, monospace; color: var(--text); min-width: 1.5em; text-align: right; }
.explorer.mesh .ctl sup { font-size: 0.7em; color: var(--faint); margin-left: 1px; }
.explorer.mesh .scopenote { font-size: 0.78rem; color: var(--faint); }
/* /gate */
.explorer.gate .stage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .explorer.gate .stage { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.explorer.gate #cvtruth { touch-action: none; }
.explorer.gate .brushrow { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.explorer.gate button.small { padding: 3px 10px; font-size: 0.82rem; }
.explorer.gate i.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.explorer.gate .cap { font-size: 0.72rem; color: var(--warn); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.explorer.gate .cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 600px) { .explorer.gate .cards { grid-template-columns: 1fr 1fr; } .explorer.gate .card .v { font-size: 1.15rem; } }
/* the standings, in the stage's sixth cell */
.explorer.mesh .board { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); font-size: 0.86rem; }
.explorer.mesh .board .bhead { color: var(--muted); font-size: 0.8rem; }
.explorer.mesh .board .brow { display: grid; grid-template-columns: 1fr; gap: 4px; }
.explorer.mesh .board .bname { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.explorer.mesh .board .brow.lead .bname { color: var(--text); font-weight: 650; }
.explorer.mesh .board .bname i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.explorer.mesh .board .bbar { display: block; height: 7px; border-radius: 4px; background: var(--border); overflow: hidden; margin-right: 58px; position: relative; }
.explorer.mesh .board .bbar b { display: block; height: 100%; border-radius: 4px; transition: width 0.2s; }
.explorer.mesh .board .brow { position: relative; }
.explorer.mesh .board .bval { position: absolute; right: 0; bottom: -3px; font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; color: var(--text); }
.explorer.mesh .board .bfoot { color: var(--faint); font-size: 0.75rem; }
@media (max-width: 760px) { .explorer.mesh .board { padding: 10px; gap: 7px; font-size: 0.78rem; } .explorer.mesh .board .bhead, .explorer.mesh .board .bfoot { display: none; } }
