.layout {
  position: fixed;
  inset: 0;
  overflow: hidden;
  outline: none;
}

/* --- Conductor slots: geometry injected as .slot--<path> --- */
.slot {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  transition: opacity var(--dur-cross) ease;
}

/* mode spotlight: the conductor dims slots outside the focus */
.slot--dimmed {
  opacity: 0.25;
  pointer-events: none;
}

/* sidebar folds and docks left on horizontal scroll: glide the reflow */
.slot--viewport-desk-sidebar,
.slot--viewport-desk-columns {
  transition: left var(--dur-cross) ease, width var(--dur-cross) ease;
}

/* folded sidebar: let the hover flyout escape the narrow slot */
.slot--viewport-desk-sidebar:has(.sidebar--folded) {
  overflow: visible;
}

.slot--viewport-desk-columns {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.slot--viewport-desk-columns::-webkit-scrollbar { display: none; }

/* place columns get a right divider */
.slot--viewport-desk-columns > .slot {
  border-right: 1px solid rgba(0,0,0,0.1);
}

/* navigation nutro (positioned by its slot) */
.navigation {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0 0 16px;
}

.layout__navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 0 0 16px;
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
}

/* Column stub base */
.column {
  position: absolute;
  height: 100%;
  transition: left var(--dur-cross) ease, width var(--dur-cross) ease, box-shadow var(--dur-cross) ease, opacity var(--dur-cross) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  scroll-snap-align: start;
}

.column:last-child {
  border-right: none;
}

/* колонки без вариантов */
.column--sidebar {
  border-right: none;
}

.column--sidebar,
.column--dialog,
.column--assistant {
  cursor: default;
}

.column--widget {
  align-items: stretch;
  justify-content: flex-start;
  cursor: default;
}

/* transparent flex passthrough so the chat's height:100% still resolves */
.col-fade {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  animation: fade-in var(--dur-base) ease;
}

/* Text */

/* stub column fills its slot so the whole area enters the mode on click */
.column-stub {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 30px;
  cursor: pointer;
}

.column__name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* nav stubs */
.navigation__logotype {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  /* constant transparent stroke: selection fades in by color only
     (stroke is centered, so 6px + fill on top = 3px outside) */
  -webkit-text-stroke-width: 6px;
  -webkit-text-stroke-color: transparent;
  paint-order: stroke fill;
  transition: -webkit-text-stroke-color var(--dur-move) ease;
}

.navigation__logotype--selected {
  -webkit-text-stroke-color: #fff;
}

.navigation__settings {
  margin-left: auto;
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
}
