.room-layout.adjustable-layout{grid-template-columns:minmax(0,1fr) 12px var(--room-dock-width,376px);grid-template-areas:"board divider dock"}.adjustable-layout>.room-main{grid-area:board}.adjustable-layout>.room-dock{grid-area:dock;border-left:0;min-width:0}.adjustable-layout[data-dock-side=left]{grid-template-columns:var(--room-dock-width,376px) 12px minmax(0,1fr);grid-template-areas:"dock divider board"}
.adjustable-layout.dock-collapsed{grid-template-columns:minmax(0,1fr) 24px 0}.adjustable-layout.dock-collapsed[data-dock-side=left]{grid-template-columns:0 24px minmax(0,1fr)}
.room-divider{grid-area:divider;position:relative;cursor:col-resize;touch-action:none;background:var(--ui-raised);border-inline:1px solid var(--ui-line);outline-offset:-3px;min-height:0;z-index:2}.room-divider:before{content:"";position:absolute;top:46%;left:4px;width:2px;height:40px;border-radius:2px;background:var(--ui-secondary);opacity:.5}.room-divider:hover,.resizing-dock .room-divider{background:var(--ui-tint)}.room-dock-toggle{position:absolute;top:8px;left:0;width:100%;min-height:32px;padding:0;background:var(--ui-surface);color:var(--ui-text);border-block:1px solid var(--ui-line);font-size:18px;cursor:pointer}.dock-collapsed .room-divider{cursor:default}.dock-collapsed .room-divider:before{display:none}.resizing-dock{user-select:none;cursor:col-resize}
@media(max-width:680px){.room-layout.adjustable-layout{display:flex;flex-direction:column}.adjustable-layout>.room-main{order:0}.adjustable-layout>.room-dock{order:2}.room-divider{order:1;height:24px;min-height:24px;width:100%;cursor:default;border-inline:0;border-block:1px solid var(--ui-line)}.room-divider:before{display:none}.room-dock-toggle{inset:0;min-height:22px;border:0;font-size:16px;width:100%}}
@media(max-width:680px){.room-divider{height:44px;min-height:44px}.room-dock-toggle{min-height:42px}}
.connection-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.connection-controls .text-button{font-size:11px;min-height:32px}

/* Landscape phones and short windows need room for the chat composer. */
@media(min-width:681px) and (max-height:600px){
  .in-room .main-shell{height:auto;min-height:100dvh;overflow:visible}
  .room-page{flex:none}
  .room-layout.adjustable-layout{flex:none;height:560px}
}
@media(min-width:681px){
  .room-divider:before{left:3px;width:4px;height:56px;border-radius:3px;opacity:.85}
  .room-divider:hover:before,.room-divider:focus-visible:before,.resizing-dock .room-divider:before{background:var(--ui-accent);opacity:1}
  .room-divider:focus-visible{outline:2px solid var(--ui-accent)}
  .resizing-dock .room-divider:after{content:attr(aria-valuetext);position:absolute;top:calc(46% + 64px);left:50%;transform:translateX(-50%);padding:4px 8px;border-radius:4px;white-space:nowrap;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-line);font-size:12px;pointer-events:none}
}
