/* Genome and Muse workspaces. Everything is prefixed gn- to stay out of other workspaces' way. */
.gn-audition { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 10px 12px 2px; margin-bottom: 16px; background: var(--panel); }
.gn-audition p { margin-bottom: 8px; }
.gn-top { margin-top: 14px; }
.gn-n { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); font-size: 0.85rem; }
.gn-view > h2 { margin-top: 4px; }
.gn-view .cols > div, .gn-set { min-width: 0; }
.gn-dials { list-style: none; margin: 0; padding: 0; }
.gn-dials > li { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) 2.6rem; gap: 10px; align-items: center; padding: 2px 0; font-size: 0.875rem; }
.gn-journey, .gn-themes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 8px 14px; font-size: 0.8rem; color: var(--muted); }
.gn-journey > li, .gn-themes > li { display: grid; gap: 2px; }
.gn-spark { width: 100%; height: 28px; display: block; }
.gn-contour { width: 100%; height: 56px; display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.gn-ops { margin: 0 0 12px; padding-left: 1.2em; font-size: 0.875rem; }
.gn-raw { max-height: 24rem; overflow: auto; font-size: 0.75rem; background: var(--soft); padding: 10px; border-radius: var(--radius); white-space: pre-wrap; overflow-wrap: anywhere; }
.gn-scroll { overflow-x: auto; margin-bottom: 8px; }
.gn-pairs th[scope="row"] { font-weight: 400; color: var(--ink); }
.gn-pair { display: grid; grid-template-columns: minmax(3rem, 1fr) 2.4rem; gap: 6px; align-items: center; min-width: 6rem; }
/* A and B are told apart by their column headings; the hatching is a second cue besides position. */
.gn-b > i { background: repeating-linear-gradient(135deg, var(--ink) 0 3px, var(--muted) 3px 6px); }
#gn-panel .list button.grow { text-align: left; }
.gn-parents > li > .grow { flex-basis: 7rem; }
.gn-contrib { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.85rem; }
.gn-set { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; padding: 8px 12px 10px; min-width: 0; }
.gn-set > legend { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; padding: 0 4px; }
.gn-checks { list-style: none; margin: 0; padding: 0; max-height: 14rem; overflow-y: auto; }
.gn-checks label { display: flex; gap: 8px; align-items: center; min-height: 2.25rem; overflow-wrap: anywhere; }
.gn-checks input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--ink); }
progress { width: 100%; height: 0.6rem; accent-color: var(--ink); }
.gn-plot { height: 240px; min-width: 520px; }
.gn-legend { columns: 12rem 3; font-size: 0.8rem; color: var(--muted); margin: 0 0 16px; padding-left: 2em; }
.gn-cands { min-width: 60rem; }
.gn-cands th, .gn-cands td { padding: 2px 6px; white-space: nowrap; }
.gn-cands thead button { padding: 0.2em 0.3em; min-height: 2rem; font-weight: 600; color: var(--muted); }
.gn-cands tbody th { font-weight: 400; color: var(--ink); }
.gn-cands tbody th button { text-align: left; white-space: normal; padding: 0.2em 0.3em; }
.gn-cands tr.gn-sel > * { background: var(--soft); }
.gn-cands tr.gn-sel > th { box-shadow: inset 3px 0 0 var(--accent); }
.gn-acts { display: flex; gap: 4px; }
.gn-acts button { padding: 0.2em 0.6em; min-height: 2rem; font-size: 0.85rem; }
.gn-tree, .gn-tree ul { list-style: none; margin: 0; padding: 0; }
.gn-tree ul { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.gn-tree li { position: relative; padding: 3px 0; }
.gn-tree ul > li::before { content: ""; position: absolute; left: -14px; top: 1.45rem; width: 12px; border-top: 1px solid var(--line); }
.gn-node { display: grid; gap: 1px; text-align: left; width: 100%; max-width: 30rem; min-height: 2.75rem; }
.gn-node small { color: var(--muted); overflow-wrap: anywhere; }
.gn-node[aria-current="true"] { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); background: var(--soft); }
.gn-node[aria-current="true"] strong::after { content: " — selected"; font-weight: 400; }
.gn-map { height: 440px; cursor: pointer; }
.gn-diverge th[scope="row"] { font-weight: 400; color: var(--ink); }
.gn-div { position: relative; height: 10px; min-width: 7rem; background: linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat; }
.gn-div > i { position: absolute; top: 2px; height: 6px; }
.gn-div > i.pos { left: 50%; background: var(--viz1); }
.gn-div > i.neg { right: 50%; background: var(--viz2); }
.gn-feedback button { min-height: 2.75rem; }
@media (max-width: 860px) {
  .gn-dials > li { grid-template-columns: minmax(0, 1fr) minmax(4rem, 1fr) 2.6rem; }
  .gn-map { height: 340px; }
}
