.lb-page {
  --lb-bg: #fff;
  --lb-card: #fff;
  --lb-ink: #162948;
  --lb-text: #25344d;
  --lb-muted: #566780;
  --lb-line: #d9e1ed;
  --lb-accent: #234fa8;
  margin: 0;
  background: var(--lb-bg);
  color: var(--lb-text);
}
.lb-main *, .lb-main *::before, .lb-main *::after {box-sizing: border-box;}
.lb-page [hidden] {display: none !important;}
.lb-main {font-family: var(--sans,"Inter","Helvetica Neue",Arial,sans-serif); font-size: 15px;}

.lb-main :is(h1,h2,h3,p,dd,dl) {margin: 0;}
.lb-main :is(input,select,button) {font: inherit;}
.lb-main :is(button,select) {cursor: pointer;}
.lb-main a {color: inherit;}
.lb-main :is(a,input,select,button,div):focus-visible {outline: 2px solid #315dc0; outline-offset: 2px;}
.lb-sr,.lb-skip:not(:focus) {position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;}
.lb-skip:focus {position: fixed; z-index: 30; left: 12px; top: 10px; padding: 10px 16px; background: white; color: var(--lb-ink);}
.lb-intro {display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px,4.5vw,76px) 0 clamp(30px,3.3vw,60px); border-bottom: 1px solid var(--lb-line);}
.lb-intro h1 {font: 600 clamp(3.2rem,5.3vw,5rem)/1.05 var(--sans,"Inter","Helvetica Neue",Arial,sans-serif); color: var(--lb-ink); letter-spacing: -.065em;}
.lb-intro p {color: var(--lb-muted); margin-top: 22px; font-size: 15px; line-height: 1.8;}
.lb-responses {margin-top: 12px;}
.lb-totals {display: flex; align-items: stretch; gap: clamp(28px,3.6vw,65px); padding: 0 0 4px;}
.lb-totals div {display: grid; align-content: start; row-gap: 5px; padding-left: clamp(18px,2.1vw,36px); border-left: 1px solid var(--lb-line); white-space: nowrap;}
.lb-totals dd {display: contents;}
.lb-total-value {grid-row: 1; font: 550 clamp(30px,3.1vw,48px)/1.05 var(--sans,"Inter","Helvetica Neue",Arial,sans-serif); letter-spacing: -.055em; color: var(--lb-ink); font-variant-numeric: lining-nums tabular-nums;}
.lb-totals dt {grid-row: 2; line-height: 1.4;}
.lb-total-note {grid-row: 3; font-size: 11px; line-height: 1.4; color: var(--lb-muted);}
.lb-totals dt,.lb-table-note,.lb-legend {font-size: 12px; color: var(--lb-muted); }
.lb-workbench {display: grid; grid-template-columns: clamp(194px,18vw,252px) minmax(0,1fr); gap: clamp(23px,2.8vw,54px); padding: 40px 0 72px; scroll-margin-top: 20px;}
.lb-sidebar {align-self: start; border-right: 1px solid var(--lb-line); padding-right: clamp(16px,1.8vw,28px);}
.lb-sidebar h2 {font-size: 18px; letter-spacing: -.02em; color: var(--lb-ink); margin: 0 0 16px;}
.lb-search {min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; border: 1px solid var(--lb-line); border-radius: 5px; padding: 0 12px; background: #fff; color: var(--lb-muted);}
.lb-search:focus-within {outline: 2px solid #315dc0; outline-offset: 1px;}
.lb-search i {position: relative; width: 13px; height: 13px; border-radius: 100%; border: 1.5px solid currentColor; flex: 0 0 auto; margin-right: 2px;}
.lb-search i::after {content: ""; position: absolute; width: 6px; bottom: -2px; right: -4px; border-top: 1.5px solid currentColor; transform: rotate(45deg);}
.lb-search input {width: 100%; height: 100%; border: 0; padding: 0; background: transparent; color: var(--lb-text); font-size: 13px;}
.lb-search input::placeholder {color: #60708a;}
.lb-search input:focus-visible {outline: 0;}
.lb-finder {position: relative; min-width: 0;}
.lb-finder .lb-search {padding-right: 3px; gap: 8px;}
.lb-finder input {flex: 1; width: 0; min-width: 0;}
.lb-browse-toggle {display: grid; place-items: center; align-self: stretch; width: 28px; flex: none; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--lb-muted);}
.lb-browse-toggle::after,.lb-browse-scope::after,.lb-browse-back::before {content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;}
.lb-browse-toggle::after {transform: rotate(45deg);}
.lb-browse-toggle[aria-expanded="true"]::after {transform: rotate(225deg);}
.lb-browse-menu {position: absolute; left: 0; top: calc(100% + 5px); z-index: 8; width: min(310px, calc(100vw - 48px)); padding: 5px; background: white; border: 1px solid var(--lb-line); border-radius: 7px; box-shadow: 0 7px 24px #16294820; color: var(--lb-ink);}
.lb-browse-menu button {display: flex; align-items: center; gap: 8px; width: 100%; min-height: 37px; padding: 8px 10px; border: 0; border-radius: 3px; background: transparent; color: inherit; font-size: 13px; line-height: 1.4; text-align: left;}
.lb-browse-menu button:hover,.lb-browse-menu button:focus-visible,.lb-browse-toggle:hover {background: #eff4fc;}
.lb-browse-menu button:focus-visible {outline-offset: -2px;}
.lb-browse-menu .lb-browse-scope {justify-content: space-between; font-weight: 600;}
.lb-browse-scope::after {transform: rotate(-45deg);}
.lb-browse-menu .lb-browse-back {border-bottom: 1px solid var(--lb-line); border-radius: 0; font-weight: 650;}
.lb-browse-back::before {transform: rotate(135deg);}
.lb-browse-list {max-height: min(320px, 42vh); max-height: min(320px, 42dvh); overflow: auto; overscroll-behavior: contain;}
.lb-browse-menu h3 {padding: 9px 10px 3px; color: var(--lb-muted); font-size: 11px; font-weight: 600;}
.lb-browse-menu .lb-browse-option {flex-wrap: wrap; column-gap: 8px; row-gap: 0;}
.lb-browse-option small {color: var(--lb-muted); font-size: 11px;}
.lb-browse-menu button[aria-current] {color: var(--lb-accent); font-weight: 650;}
#model-menu {width: max(100%, min(340px, calc(100vw - 48px))); max-height: min(370px, 48vh); max-height: min(370px, 48dvh); overflow-y: auto; overscroll-behavior: contain;}
#model-menu[data-placement="above"] {top: auto; bottom: calc(100% + 5px);}
#model-menu .lb-browse-list {max-height: none; overflow: visible;}
#model-menu .lb-browse-option {overflow-wrap: anywhere;}
#model-menu .lb-browse-option small {margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums;}
.lb-list-section {margin-top: 26px;}
.lb-list-section h3 {font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-muted); margin-bottom: 7px;}
.lb-item {display: flex; align-items: center; position: relative; padding: 8px 11px; border-radius: 4px; font-size: 13px; line-height: 1.55; text-decoration: none; margin: 2px 0;}
.lb-item:hover {background: #f4f7fc;}
.lb-item[aria-current] {background: #edf3fd; color: var(--lb-ink); font-weight: 650;}
.lb-item[aria-current]::before {position: absolute; content: ""; width: 3px; height: 18px; left: 0; border-radius: 2px; background: var(--lb-accent);}
.lb-index-none {padding: 16px 0; font-size: 13px; color: var(--lb-muted);}
.lb-mobile-picker {display: none;}
.lb-results {min-width: 0;}
.lb-view-head {display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 65px;}
.lb-kicker {font-size: 11px; letter-spacing: .075em; text-transform: uppercase; color: var(--lb-accent); margin-bottom: 9px; font-weight: 650;}
.lb-view-head h2 {font-size: clamp(21px,2.2vw,33px); color: var(--lb-ink); font-weight: 600; letter-spacing: -.04em; line-height: 1.3;}
.lb-controls {display: flex; gap: 9px; margin: 23px 0 17px; align-items: center;}
.lb-model {flex: 1 1 235px; min-width: 140px; max-width: 380px;}
.lb-mobile-picker select,.lb-controls > button {height: 42px; padding: 0 11px; background: var(--lb-card); color: var(--lb-text); font-size: 13px; border-radius: 5px; border: 1px solid var(--lb-line);}
.lb-mobile-picker select {width: 100%; text-overflow: ellipsis;}
.lb-controls > button {flex: 0 0 auto; margin-left: auto; background: transparent;}
.lb-controls > button:hover:enabled {border-color: var(--lb-muted);}
.lb-controls > button:disabled {opacity: .55; cursor: default;}
.lb-table-note {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; line-height: 1.5; margin-bottom: 9px;}
.lb-spill {overflow: auto; overscroll-behavior-x: contain; max-height: min(80vh,1010px); border: 1px solid var(--lb-line); border-radius: 5px; background: var(--lb-card); position: relative; scrollbar-color: #b4c3d9 #f4f7fb; }
.lb-table {border-collapse: separate; border-spacing: 0; min-width: 100%; width: max-content; color: var(--lb-text); font-size: 13px; margin: 0; line-height: 1.4; text-align: left;}
.lb-table th,.lb-table td {border: none; border-bottom: 1px solid #e6eaf1; padding: 0;}
.lb-table thead th {position: sticky; top: 0; z-index: 2; vertical-align: bottom; background: #f5f7fa; color: var(--lb-ink); border-bottom-color: #d0d9e6;}
.lb-table thead th button {padding: 13px 14px; text-align: right; width: 100%; background: transparent; border: 0; color: inherit; line-height: 1.35;}
.lb-table thead th button:hover {background: #e4ebf8;}
.lb-table thead th button:focus-visible {outline-offset: -3px;}
.lb-table thead th strong,.lb-table thead th button span {display: block; white-space: normal; max-width: 170px; overflow-wrap: break-word;}
.lb-table thead th strong {font-size: 12px; font-weight: 650; margin-left: auto; min-width: 75px;}
.lb-table thead th button span {font-size: 11px; color: var(--lb-muted); margin: 4px 0 0 auto;}
.lb-table thead th button i {font: 600 13px/1 system-ui,sans-serif; margin-left: 5px;}
.lb-table .lb-sticky {position: sticky; left: 0; min-width: 209px; max-width: 265px; background: #fff; border-right: 1px solid var(--lb-line); z-index: 1; text-align: left;}
.lb-table thead .lb-sticky {z-index: 3; top: 0; background: #f5f7fa; text-align: left; padding: 14px; font-size: 12px;}
.lb-model-cell {display: flex; align-items: center; gap: 9px; padding: 8px 12px; text-decoration: none; min-height: 45px;}
.lb-model-label {display: grid; gap: 1px; overflow-wrap: anywhere;}
.lb-model-label b {font-size: 12px; font-weight: 620; line-height: 1.35;}
.lb-model-label small,.lb-rank {font: 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; color: var(--lb-muted);}
.lb-rank {min-width: 17px; text-align: center;}
.lb-table td {text-align: right; padding: 8px 16px; font: 13px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums;}
.lb-table td.lb-selected {background: #f6f9ff;}
.lb-table thead th.lb-selected {background: #e8eefb;}
.lb-table .lb-ours .lb-sticky {background: #edf3ff; box-shadow: inset 3px 0 var(--lb-accent);}
.lb-table .lb-ours .lb-model-label b {color: var(--lb-accent);}
.lb-table .lb-best {font-weight: 750; color: var(--lb-ink);}
.lb-table .lb-second {text-decoration: underline; text-underline-offset: 3px;}
.lb-table .lb-missing {color: #6b778e;}
.lb-table tbody tr:hover td {background: #f0f5fd;}
.lb-table .lb-group th {background: #f2f5fa; color: var(--lb-muted); text-align: left; font-size: 11px; padding: 7px 12px;}
.lb-legend {line-height: 1.9; padding: 13px 0;}
.lb-empty {text-align: center; padding: 55px 10px; border: 1px dashed var(--lb-line); border-radius: 5px; display: grid; gap: 15px; justify-items: center;}
.lb-empty b {font-size: 16px; color: var(--lb-ink);}
.lb-empty button {border: 0; color: var(--lb-ink); text-decoration: underline; text-underline-offset: 3px; background: transparent; font-size: 13px;}
@media(max-width:850px){
  .lb-workbench {grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 24px;}
  .lb-sidebar {display: grid; border: 0; padding: 0; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; align-items: end;}
  .lb-sidebar h2 {grid-column: 1/-1; margin: 0 0 4px;}
  .lb-index {display: none;}
  .lb-mobile-picker {display: block; font-size: 0;}
  .lb-mobile-picker select {font-size: 13px;}
  .lb-intro h1 {font-size: clamp(41px,7.2vw,62px);}
  .lb-totals {gap: 22px;}
}
@media(max-width:570px){
  
  .lb-intro {display: block; padding: 35px 0 24px;}
  .lb-intro p {margin: 12px 0 0; max-width: 30em; font-size: 13px;}
  .lb-responses {margin-bottom: 20px;}
  .lb-totals {gap: 32px; padding: 0;}
  .lb-totals div {row-gap: 3px; padding: 0; border: 0;}
  .lb-total-value {font-size: 25px;}
  .lb-totals dt {font-size: 11px;}
  .lb-workbench {padding-bottom: 40px; gap: 27px;}
  .lb-sidebar {grid-template-columns: minmax(0,1fr);}
  .lb-sidebar h2 {font-size: 16px;}
  .lb-view-head h2 {font-size: 21px; text-wrap: pretty;}
  .lb-view-head {align-items: start; flex-direction: column; gap: 12px;}
  .lb-controls {gap: 7px; margin-top: 15px;}
  .lb-model {flex: 1 1 auto; min-width: 0;}
  .lb-table .lb-sticky {min-width: 130px; max-width: 141px;}
  .lb-model-cell {gap: 5px; padding: 7px;}
  .lb-rank {min-width: 15px; font-size: 10px;}
  .lb-model-label b {font-size: 11px;}
  .lb-table td {padding: 7px 10px;}
  .lb-table thead th button {padding: 9px;}
  .lb-table-note,.lb-legend {font-size: 11px;}
}
@media(max-width:715px){
  .lb-page .mast-inner nav {min-width:0; max-width:100%; overflow-x:auto;}
}

.lb-fullscreen {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 14px;
  color: white;
  background: var(--lb-accent);
  border: 1px solid var(--lb-accent);
  border-radius: 5px;
  white-space: nowrap;
}
.lb-main .lb-fullscreen {font-size: 13px; font-weight: 620;}
.lb-fullscreen:hover {background: #193e8c;}
.lb-expand-icon {
  --corner: linear-gradient(currentColor, currentColor);
  width: 15px;
  height: 15px;
  background:
    var(--corner) left top / 6px 2px, var(--corner) left top / 2px 6px,
    var(--corner) right top / 6px 2px, var(--corner) right top / 2px 6px,
    var(--corner) left bottom / 6px 2px, var(--corner) left bottom / 2px 6px,
    var(--corner) right bottom / 6px 2px, var(--corner) right bottom / 2px 6px;
  background-repeat: no-repeat;
}
.lb-fullscreen[aria-pressed="true"] .lb-expand-icon {
  background: linear-gradient(45deg,transparent 44%,currentColor 45% 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,currentColor 45% 55%,transparent 56%);
  width: 12px; height: 12px;
}
.lb-screen-open, .lb-screen-open body {overflow: hidden;}
.lb-workbench.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  margin: 0;
  padding: max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--lb-card);
}
.lb-workbench.is-expanded::backdrop {background: white;}
.is-expanded .lb-sidebar {display: flex; flex: none; align-self: stretch; align-items: center; gap: 10px; border: 0; padding: 0;}
.is-expanded .lb-sidebar h2 {margin: 0 2px 0 0; font-size: 15px;}
.is-expanded .lb-index {display: none;}
.is-expanded .lb-sidebar .lb-search {width: clamp(150px,22vw,245px);}
.is-expanded .lb-mobile-picker {display: block; font-size: 0; flex: 0 1 400px; min-width: 0;}
.is-expanded .lb-sidebar select {font-size: 13px;}
.is-expanded .lb-results {display: flex; flex-direction: column; flex: 1 0 215px; min-height: 215px;}
.is-expanded .lb-view-head {min-height: auto; flex: none; align-items: center; flex-direction: row; justify-content: space-between;}
.is-expanded .lb-view-head h2 {font-size: clamp(18px,1.65vw,27px);}
.is-expanded .lb-kicker {margin-bottom: 4px;}
.is-expanded #view-panel {display: flex; flex: 1; flex-direction: column; min-height: 0;}
.is-expanded .lb-controls {flex: none; margin: 10px 0;}
.is-expanded .lb-table-note {margin-bottom: 6px;}
.is-expanded .lb-spill {flex: 1; min-height: 110px; max-height: none;}
.is-expanded .lb-legend {flex: none; padding: 7px 0 0; line-height: 1.4;}
.is-expanded .lb-empty {margin-top: 10px; padding: 15px 8px;}
.is-expanded #view-panel:has(#no-models:not([hidden])) .lb-spill {flex: none; min-height: 0;}
@media(max-width:700px){
  .lb-workbench.is-expanded {gap: 10px; padding: max(9px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));}
  .is-expanded .lb-sidebar {display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 7px;}
  .is-expanded .lb-sidebar h2 {display: none;}
  .is-expanded .lb-sidebar .lb-search {width: 100%;}
  .is-expanded .lb-results {flex-basis: 305px; min-height: 305px;}
  .is-expanded .lb-fullscreen {font-size: 12px; gap: 6px; min-height: 36px; padding: 7px 9px;}
  .is-expanded .lb-view-head h2 {font-size: 18px;}
  .is-expanded .lb-legend {font-size: 10px;}
}
.is-expanded .lb-model-cell {min-height: 36px; padding-block: 4px;}
.is-expanded .lb-table td {padding-block: 4px;}
.is-expanded .lb-table thead th button {padding: 8px 10px;}
@media(max-height:520px) and (min-width:640px){
  .lb-workbench.is-expanded {gap: 6px; padding: 5px 12px;}
  .is-expanded .lb-sidebar h2, .is-expanded .lb-kicker {display: none;}
  .is-expanded .lb-search, .is-expanded select, .is-expanded .lb-controls > button {height: 31px;}
  .is-expanded .lb-fullscreen {min-height: 31px; padding: 5px 9px;}
  .is-expanded .lb-view-head h2 {font-size: 18px;}
  .is-expanded .lb-controls {margin: 4px 0;}
  .is-expanded .lb-legend {font-size: 10px; padding-top: 3px;}
  .is-expanded .lb-model-cell {min-height: 28px;}
  .is-expanded .lb-model-label {display: flex; align-items: baseline; gap: 5px;}
  .is-expanded .lb-table thead th button {padding: 4px 8px;}
}
.lb-table .lb-reference {position: sticky; top: var(--lb-header-height, auto); z-index: 2; background: var(--lb-card);}
.lb-table .lb-reference > :is(th,td) {border-bottom: 2px solid #aabbd9;}
