/* /sessions/ : "Which command do I need?" chooser (CSS only, radio buttons) */
.chooser { position: relative; margin: 1rem 0 2rem; padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.ch-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ch-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.ch-q { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-right: 4px; }
.ch-labels label { cursor: pointer; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink-2); font-size: 14px; line-height: 1.3; transition: background .15s, border-color .15s, color .15s; }
.ch-labels label:hover { border-color: var(--green-line); color: var(--ink); }
.ch-p { display: none; padding: 4px 2px 0; }
.ch-p > :last-child { margin-bottom: 0; }
.ch-h { font-weight: 650; color: var(--ink); margin: 0 0 .5rem; }
.ch-p .code { margin: .6rem 0 .8rem; }
#ch-new:checked ~ .ch-p-new, #ch-ls:checked ~ .ch-p-ls, #ch-back:checked ~ .ch-p-back, #ch-leave:checked ~ .ch-p-leave,
#ch-switch:checked ~ .ch-p-switch, #ch-rename:checked ~ .ch-p-rename, #ch-kill:checked ~ .ch-p-kill, #ch-all:checked ~ .ch-p-all { display: block; animation: fadeUp .25s var(--ease); }
#ch-new:checked ~ .ch-labels [for=ch-new], #ch-ls:checked ~ .ch-labels [for=ch-ls], #ch-back:checked ~ .ch-labels [for=ch-back], #ch-leave:checked ~ .ch-labels [for=ch-leave],
#ch-switch:checked ~ .ch-labels [for=ch-switch], #ch-rename:checked ~ .ch-labels [for=ch-rename], #ch-kill:checked ~ .ch-labels [for=ch-kill], #ch-all:checked ~ .ch-labels [for=ch-all] {
  background: var(--green-soft); border-color: var(--green-line); color: var(--green); font-weight: 600; }
#ch-new:focus-visible ~ .ch-labels [for=ch-new], #ch-ls:focus-visible ~ .ch-labels [for=ch-ls], #ch-back:focus-visible ~ .ch-labels [for=ch-back], #ch-leave:focus-visible ~ .ch-labels [for=ch-leave],
#ch-switch:focus-visible ~ .ch-labels [for=ch-switch], #ch-rename:focus-visible ~ .ch-labels [for=ch-rename], #ch-kill:focus-visible ~ .ch-labels [for=ch-kill], #ch-all:focus-visible ~ .ch-labels [for=ch-all] {
  outline: 2px solid var(--green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ch-p { animation: none !important; } }
@media print { .ch-p { display: block; } .ch-labels { display: none; } }

/* long error messages and paths must wrap on phones */
.callout-t, .callout code, .answer-a p code, .page-article li code { overflow-wrap: anywhere; white-space: normal; }
.callout > div { min-width: 0; }
