/* User-adjustable navigation and article panels; mobile keeps its stacked layout. */
.layout-splitter { display: none; }
@media (min-width: 701px) {
  .side-rail.layout-resizable { position: relative; width: var(--nav-width); flex-basis: var(--nav-width); }
  .layout-resizable .rail-item, .layout-resizable .rail-action { width: 100%; }
  .layout-resizable .rail-item span { max-width: 100%; }
  .layout-resizable .rail-bottom { width: calc(100% - 16px); }
  .article-layout.layout-resizable { grid-template-columns: var(--assistant-width) minmax(0, 1fr) 230px; }
  .article-assistant { position: relative; min-width: 0; }
  .layout-splitter { display: block; position: absolute; top: 0; bottom: 0; right: -4px; width: 9px; z-index: 8; cursor: col-resize; touch-action: none; outline: none; }
  .layout-splitter::before { content: ''; position: absolute; inset: 0 3px; background: #cbdcd0; transition: background .15s; }
  .layout-splitter::after { content: ''; position: absolute; top: 45%; left: 2px; width: 5px; height: 34px; border-radius: 5px; background: #0f766e; box-shadow: 0 0 0 2px #fff; }
  .layout-splitter:hover::before, .layout-splitter:focus-visible::before, .layout-splitter.is-dragging::before,
  .layout-splitter:hover::after, .layout-splitter:focus-visible::after, .layout-splitter.is-dragging::after { background: #0f766e; }
  .layout-splitter:focus-visible { box-shadow: inset 0 0 0 2px #0f766e; }
  html.layout-resizing, html.layout-resizing * { cursor: col-resize !important; user-select: none !important; }
}
@media (min-width: 1001px) and (max-width: 1450px) {
  .article-layout.layout-resizable { grid-template-columns: var(--assistant-width) minmax(0, 1fr) 50px; }
  .article-workspace.format-open .article-layout.layout-resizable { grid-template-columns: var(--assistant-width) minmax(0, 1fr) 220px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .article-workspace.format-open .article-layout.layout-resizable, .article-layout.layout-resizable { grid-template-columns: var(--assistant-width) minmax(0, 1fr); }
}
