.vb-lines { scroll-margin-top: 84px; }
.vb-li-select { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: end; }
.vb-li-select label { display: grid; min-width: 0; gap: 3px; font-weight: 650; }
.vb-li-select form > div { display: flex; gap: 5px; }
.vb-li-select input { width: 7rem; }
.vb-li-select input, .vb-li-select select, .vb-lines button {
  min-height: 44px; max-width: 100%; font: inherit; padding: 4px 8px;
  color: #183933; border: 1px solid #a7bfb0; border-radius: 5px; background: #fff;
}
.vb-lines button { font-weight: 650; cursor: pointer; }
.vb-lines button:disabled { opacity: .5; cursor: default; }
.vb-li-jumps, .vb-li-table-navigation { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0; }
.vb-li-jumps button { min-width: 44px; }
.vb-li-result { border-left: 4px solid #427e63; padding: 9px 12px; background: #edf4ef; }
.vb-li-result h3, .vb-li-result p { margin: 0 0 5px; }
.vb-li-horizontal {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px;
  list-style: none; padding: 0; margin: 6px 0;
}
.vb-li-horizontal li { padding: 8px 5px; border-radius: 5px; background: #e3edf1; color: #193b4e; text-align: center; }
.vb-li-horizontal li:nth-child(4) { background: #eae4f5; color: #523762; }
.vb-li-horizontal li[data-line-type] { background: #f6e8d0; color: #664216; }
.vb-li-horizontal li[data-line-type="active"] { background: #ddeee0; color: #1d4d38; }
.vb-li-horizontal span { display: block; font-size: .83rem; }
.vb-li-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 12px; }
.vb-li-table caption { font-weight: 700; text-align: left; padding-bottom: 4px; }
.vb-li-table th, .vb-li-table td { padding: 5px; text-align: left; border-bottom: 1px solid #c8d8cf; }
.vb-li-table th:first-child { width: 5.8rem; }
.vb-li-table [aria-current] { background: #e3f0e7; font-weight: 650; }
.vb-li-notes { padding: 9px 12px; margin-top: 9px; border: 1px solid #b0c5b9; border-radius: 6px; }
.vb-li-notes summary { cursor: pointer; font-weight: 700; }
.vb-li-notes dt { margin-top: 7px; font-weight: 700; }
.vb-li-notes dd { margin: 3px 0 0; }
.vb-li-sources { font-size: .9rem; }
@media (max-width: 680px) { .vb-li-horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vb-li-frame { margin: 1.25rem 0; padding: clamp(.7rem, 2vw, 1.25rem); background: #f4f7f6; border-radius: .7rem; }
.vb-li-frame figcaption, .vb-li-key { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.vb-li-frame figcaption { justify-content: space-between; margin-bottom: .6rem; }
.vb-li-frame svg { display: block; width: 100%; height: auto; cursor: crosshair; }
.vb-li-frame figcaption span, .vb-li-key, .vb-li-frame p, .vb-li-scale { font-size: .875rem; }
.vb-li-key { margin: .65rem 0; }
.vb-li-key span::before { content: ''; display: inline-block; width: .8em; height: .8em; margin-right: .35em; background: #526780; }
.vb-li-key span:nth-child(2)::before { background: #367568; }
.vb-li-key span:nth-child(3)::before { background: #e0b574; }
.vb-li-frame p, .vb-li-detail p:last-child { margin-bottom: 0; }
.vb-li-track { position: relative; height: 24px; background: linear-gradient(to right, #526780 12.7273%, #367568 12.7273%); }
.vb-lines[data-active-line="false"] .vb-li-track { background: linear-gradient(to right, #526780 12.7273%, #e0b574 12.7273%); }
.vb-li-track i { position: absolute; top: -3px; bottom: -3px; border-left: 3px solid #ffdc5e; box-shadow: 1px 0 #243d3c; }
.vb-li-scale { display: flex; justify-content: space-between; }
.vb-li-horizontal button { background: #edf2f4; line-height: 1.4; }
.vb-li-horizontal button[aria-pressed="true"] { background: #173e44; color: white; outline: 2px solid #173e44; outline-offset: 1px; }
.vb-li-detail { padding: .85rem 1rem; border-left: 4px solid #285b65; background: #f0f5f5; }
.vb-li-detail h4, .vb-li-detail p { margin: 0 0 .4rem; }

.vb-li-switch { margin: 1.5rem 0; scroll-margin-top: 84px; }
.vb-li-switch-lab { padding: 1rem; border: 1px solid #b0c5b9; border-radius: .7rem; }
.vb-li-switch-lab label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 650; }
.vb-li-switch-lab select { max-width: 100%; min-height: 44px; font: inherit; }
.vb-li-switch-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .35rem; }
.vb-li-switch-steps button { display: grid; align-content: start; gap: .25rem; border-top: 4px solid #376b81; text-align: left; line-height: 1.4; }
.vb-li-switch-steps [data-zone="switch"] { border-top-color: #ad7234; }
.vb-li-switch-steps [data-zone="after"], .vb-li-switch-steps [data-zone="post"], .vb-li-switch-steps [data-zone="active"] { border-top-color: #367568; }
.vb-li-switch-steps [aria-pressed="true"] { background: #173e44; color: white; }
.vb-li-switch-readout { background: #edf4ef; padding: .75rem; margin-bottom: 0; }
.vb-li-switch dt { font-weight: 700; margin-top: .8rem; }
.vb-li-switch dd { margin: .3rem 0; }
@media (max-width: 700px) {
  .vb-li-switch-steps { grid-template-columns: 1fr; }
  .vb-li-switch-steps button { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: center; border-top-width: 3px; }
}
