/* Fit the board by height; give surplus width to useful research panes. */
#guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av{
  --guest-notation-fit:clamp(230px,var(--guest-notation-width,300px),380px);
  --guest-reference-min:280px;
}
#guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av .guest-reference-menu[open] .guest-reference-actions{
  left:auto;right:0;min-width:210px;max-width:calc(var(--app-viewport-width,100vw) - 32px);
}
@media(min-width:901px){
 #guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av:not(.guest-stacked-layout):not(.guest-games-collapsed) .guest-workspace{
   grid-template-columns:minmax(var(--guest-reference-min),1fr) 5px minmax(0,min(calc(var(--guest-height-fit,640px) + var(--guest-notation-fit) + 31px),calc(100% - var(--guest-reference-min) - 15px)))!important;
 }
 #guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av.guest-reference-expanded{--guest-reference-min:440px;--guest-custom-min:440px}
 #guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av.guest-dock-notation-collapsed{--guest-notation-fit:0px}
 #guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av.guest-reference-custom-width:not(.guest-stacked-layout):not(.guest-games-collapsed) .guest-workspace{
   grid-template-columns:clamp(var(--guest-custom-min,260px),var(--guest-games-width,400px),min(4096px,calc(100% - var(--guest-notation-fit) - 290px))) 5px minmax(0,1fr)!important;
 }
}
/* Keep mini boards legible when Games shares the left panel with Explorer. */
@container(max-width:520px){
 #guestConsoleRoot.guest-console.guest-layout-v2180au.guest-layout-v2180av .guest-reference-content .guest-live-board-wall{grid-template-columns:minmax(0,1fr)!important}
}
/* TEAM_LEAGUE_TEAL_BEGIN */

