/* AltMind — phone layout (loaded only on screens up to 760px wide).
   The circuit tree lies down: the trunk comes in from the left edge and the branches
   run right to the nine switches. Name above each branch, short title below it.
   Black logo bar on top. */

/* logo bar on top instead of the vertical rail */
.rail { top: 0; right: 0; bottom: auto; width: auto; height: 56px; padding: 0 18px; align-items: center; justify-content: flex-start; }
.rail__logo { width: auto; height: 22px; }
.rail__logo svg { position: static; transform: none; width: auto; height: 22px; }

.stage { height: auto !important; min-height: 0 !important; padding: 56px 0 0 !important; overflow: hidden; }
.canopy { position: relative !important; left: 0 !important; top: 0 !important; margin: 0 !important; width: 100% !important;
  aspect-ratio: 390 / 900 !important; transform: none !important; animation: none !important; }
.tree--d { display: none !important; }
.tree--m { display: block !important; }

/* switch sits on the branch end: its left edge on the trace */
.u { transform: translate(0, -50%) !important; }
.u .lab { position: absolute !important; right: calc(100% + 12px) !important; left: auto !important; writing-mode: horizontal-tb !important;
  transform: none !important; text-align: right; white-space: nowrap; }
.u .lab--n { top: auto !important; bottom: calc(50% + 5px) !important; font-size: 17px !important; }
.u .lab--t { top: calc(50% + 7px) !important; font-size: 9.5px !important; letter-spacing: .12em !important; }

/* headline above the tree */
.idle { position: absolute !important; top: 18px !important; left: 20px !important; right: 20px; width: auto !important;
  transform: none !important; animation: none !important; text-align: left; justify-items: start; gap: 8px;
  padding: 0 !important; background: none !important; }
.idle h1, .idle p, .idle .k { background: none !important; }
.idle h1 { font-size: 28px !important; line-height: 1.08; margin: 0; max-width: 14ch; }
.idle p { font-size: 13px; }
.idle .k { font-size: 9.5px; }

/* content slides up from the bottom, full width */
.panel { left: 0 !important; width: 100% !important; }
