/* Machines: the list and a machine's page (machine-page.js). Flat: hairlines, no boxed cards, no coloured edges; a state
   is a dot and words; colour only for warn and bad. Theme tokens only (docs/THEMES.md). Laid out by the room it has
   (container queries), so it reads the same in the full area and beside the rail; one column on a phone. */

/* ---------------------------------------------------------------- shared: the state, the glyph, chips, badges */
.mp-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
.mp-st > i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); }
.mp-st.t-ok > i { background: var(--ok); }
.mp-st.t-busy > i { background: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent); }
.mp-st.t-warn { color: var(--warn); } .mp-st.t-warn > i { background: var(--warn); }
.mp-st.t-bad { color: var(--bad-2); } .mp-st.t-bad > i { background: var(--bad); }
.mp-st.t-off { color: var(--text-2); } .mp-st.t-off > i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.mp-st.t-wait { color: var(--warn); } .mp-st.t-wait > i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--warn); }
.mp-st.sm { font-size: 12px; font-weight: 400; color: var(--text-2); gap: 6px; }
.mp-st.sm > i { width: 6px; height: 6px; }
.mp-st.sm.t-busy > i { box-shadow: none; }

.mp-g { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 8px; color: var(--text-2); background: var(--ink-3); }
.mp-g .mp-gi { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mp-g.big { width: 52px; height: 52px; border-radius: 12px; }
.mp-g.big .mp-gi { width: 30px; height: 30px; stroke-width: 1.35; }

.mp-cap { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.mp-cap .mi-ic { width: 13px; height: 13px; color: var(--text-3); }
.mp-cap.more { padding: 0 7px; color: var(--text-3); }
.mp-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--text-2); background: var(--ink-3); text-decoration: none; }
.mp-badge.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.mp-badge.bad { color: var(--bad-2); background: color-mix(in srgb, var(--bad) 13%, transparent); }

/* meters: a label, a thin bar, the number */
.mm { display: inline-grid; grid-template-columns: 30px 1fr 38px; align-items: center; gap: 6px; min-width: 0; font-size: 11.5px; color: var(--text-3); }
.mm-t { height: 4px; border-radius: 2px; background: var(--ink-3); overflow: hidden; min-width: 24px; }
.mm-t i { display: block; height: 100%; border-radius: 2px; background: var(--text-3); }
.mm-v { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mm.warn .mm-t i { background: var(--warn); } .mm.warn .mm-v { color: var(--warn); }
.mm.bad .mm-t i { background: var(--bad); } .mm.bad .mm-v { color: var(--bad-2); }
.mm.stale, .mm.none { opacity: .55; }

/* ---------------------------------------------------------------- the list */
#mchList { container: mlist / inline-size; }
.mr-bar { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; }
.mr-bar #mchSum { flex: 1; min-width: 0; }
.mr-sum { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; font-size: 13.5px; color: var(--text-2); }
.mr-sum b { color: var(--text); font-weight: 600; }
.mr-sum > :not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--text-3); font-weight: 400; }
.mr-sum .need { color: var(--warn); font-weight: 500; }
#mchAdd { border-top: 1px solid var(--line); }
#mchAdd[hidden] { display: none; }
.mr-list { border-top: 1px solid var(--line); }
.mr-head, .mr-a { display: grid; grid-template-columns: minmax(200px, 1.5fr) minmax(150px, 1fr) minmax(170px, 220px) minmax(150px, 1.5fr) 14px; gap: 0 24px; align-items: center; padding: 0 16px; }
.mr-head { height: 32px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.mr { border-bottom: 1px solid var(--line); }
.mr-a { min-height: 68px; padding-top: 12px; padding-bottom: 12px; color: inherit; text-decoration: none; }
.mr-a:hover { background: color-mix(in srgb, var(--ink-3) 45%, transparent); }
.mr-a:focus-visible { outline: var(--focus-w, 2px) solid var(--focus); outline-offset: -2px; }
.mr.on .mr-a { background: color-mix(in srgb, var(--ink-3) 55%, transparent); }
.mr-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mr-id { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.mr-n { font-size: 14.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-spec { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-st { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mr-sub { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-sub:empty { display: none; }
.mr-ms { display: grid; gap: 5px; min-width: 0; }
.mr-cap { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.mr-go { color: var(--text-3); display: grid; place-items: center; }
.mr-go svg { width: 14px; height: 14px; transform: rotate(180deg); }
.mr.off .mr-who .mp-g { opacity: .6; }
/* narrower: the meters go under the state; the chips under the name */
@container mlist (max-width: 900px) {
  .mr-head { display: none; }
  .mr-a { grid-template-columns: minmax(0, 1fr) auto 14px; grid-template-areas: "who st go" "ms ms go" "cap cap go"; gap: 10px 16px; }
  .mr-who { grid-area: who; } .mr-st { grid-area: st; align-items: flex-end; text-align: right; } .mr-go { grid-area: go; }
  .mr-ms { grid-area: ms; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; padding-left: 48px; }
  .mr-cap { grid-area: cap; padding-left: 48px; }
  .mr-cap:empty, .mr-ms:empty { display: none; }
}
@container mlist (max-width: 520px) {
  .mr-a { grid-template-columns: minmax(0, 1fr) 14px; grid-template-areas: "who go" "st go" "ms go" "cap go"; padding: 12px 12px; gap: 8px 10px; }
  .mr-st { flex-direction: row; align-items: baseline; gap: 8px; padding-left: 48px; text-align: left; min-width: 0; }
  .mr-st .mp-st { flex: none; }
  .mr-ms { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 48px; gap: 4px 14px; }
  /* a phone: each meter is its label and number over its bar, three across */
  .mm { grid-template-columns: auto 1fr; grid-template-areas: "l v" "t t"; gap: 3px 4px; }
  .mm-l { grid-area: l; } .mm-v { grid-area: v; } .mm-t { grid-area: t; }
}
/* none yet */
.mr-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 16px 32px; gap: 6px; }
.mr-art { width: 220px; max-width: 70%; height: auto; color: var(--text-3); margin-bottom: 10px; }
.mr-art .mr-art-l { color: var(--line-2); stroke: var(--line-2); }
.mr-art .mr-art-c { stroke: var(--canopy); }
.mr-empty-t { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.mr-empty-n { margin: 0; max-width: 44ch; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.mr-empty-a { margin: 10px 0 0; }
/* With one machine, its page sits under its row. */
#mchPage.inline { padding-top: 22px; }
#mchPage.inline .mp-back { display: none; }

/* ---------------------------------------------------------------- the page */
.mp { container: mpage / inline-size; max-width: 1480px; }
.mp-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--text-2); text-decoration: none; }
.mp-back svg { width: 14px; height: 14px; }
.mp-back:hover { color: var(--text); }
.mp-h { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 14px; }
.mp-hl { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 14px; flex: 1; min-width: 0; }
.mp-ttl { min-width: 0; flex: 1; }
.mp-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.mp-name h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.01em; color: var(--text); overflow-wrap: anywhere; }
.mp-meta { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--text-2); }
.mp-meta > span:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--text-3); }
.mp-caps { flex-basis: 100%; margin: 10px 0 0 66px; display: flex; flex-wrap: wrap; gap: 6px; }
.mp-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.mp-acts .btn svg { width: 14px; height: 14px; }
.mp-more { position: relative; }
.mp-more .iconbtn { width: 32px; height: 32px; border: 1px solid var(--line-2); }
.mp-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: var(--z-popover); min-width: 210px; padding: 4px; background: var(--pop-bg); border: 1px solid var(--line-2); border-radius: 6px;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--elev-ink) var(--elev-a1), transparent), 0 10px 28px color-mix(in srgb, var(--elev-ink) var(--elev-a2), transparent); }
.mp-menu[hidden] { display: none; }
.mp-menu > span { display: block; }
.mp-mi { display: flex; width: 100%; align-items: center; height: 32px; padding: 0 10px; border: 0; border-radius: 4px; background: none; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.mp-mi:hover, .mp-mi:focus-visible { background: var(--ink-3); outline: none; }
.mp-mi.ok { color: var(--ok); }
.mp-mi.bad { color: var(--bad-2); border-top: 1px solid var(--line); border-radius: 0 0 4px 4px; margin-top: 4px; }
.mp-menu .locked .mp-mi { opacity: .5; cursor: not-allowed; }

/* small labels over a band */
.mp-k { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.mp-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }

/* Needs attention: hairline rows, the icon in colour, the fix beside it */
.mp-attn { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.mp-at { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0 8px; }
.mp-at + .mp-at { border-top: 1px solid var(--line); padding-top: 10px; }
.mp-at > .mi-ic { margin-top: 2px; color: var(--text-3); }
.mp-at.warn > .mi-ic { color: var(--warn); }
.mp-at.bad > .mi-ic { color: var(--bad); }
.mp-at-m { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.mp-at-t { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text); flex: 1 1 340px; min-width: 0; }
.mp-at-t span { font-weight: 400; color: var(--text-2); }
.mp-fix { flex: 0 0 auto; max-width: 100%; font-size: 13px; } /* never shrinks under its words: it wraps to its own line */
.mp-fix > summary { cursor: pointer; color: var(--sky); white-space: nowrap; list-style: none; }
.mp-fix > summary::-webkit-details-marker { display: none; }
.mp-fix > summary::after { content: " ›"; }
.mp-fix[open] { flex-basis: 100%; }
.mp-fix[open] > summary::after { content: " ⌄"; }
.mp-fix ol { margin: 8px 0 4px; padding-left: 20px; color: var(--text-2); line-height: 1.55; max-width: 80ch; }
.mp-fix .mf-update { margin-top: 8px; }
.mp-fixa { font-size: 13px; color: var(--sky); text-decoration: none; white-space: nowrap; }
.mp-fixa::after { content: " ›"; }

/* Live: one ruled row of figures, hairlines between, never boxes */
.mp-live { border-top: 1px solid var(--line); padding: 12px 0 14px; }
.mp-live:empty { display: none; }
.mts { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
.mt { display: grid; grid-template-rows: auto auto auto auto; gap: 4px; padding: 2px 18px; border-left: 1px solid var(--line); min-width: 0; }
.mt:first-child { border-left: 0; padding-left: 0; }
.mt-l { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-l .mi-ic { width: 14px; height: 14px; }
.mt-v { font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.mt-v small { font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 1px; }
.mt-bar { height: 4px; border-radius: 2px; background: var(--ink-3); overflow: hidden; }
.mt-bar i { display: block; height: 100%; border-radius: 2px; background: var(--text-2); }
.mt-s { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.mt.warn .mt-v, .mt.warn .mt-v small { color: var(--warn); } .mt.warn .mt-bar i { background: var(--warn); }
.mt.bad .mt-v, .mt.bad .mt-v small { color: var(--bad-2); } .mt.bad .mt-bar i { background: var(--bad); }
.mts.stale { opacity: .6; }

/* the tabs, with Find on the right */
.mp-tabbar { display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: var(--z-raise); background: var(--content-bg); }
.mp-tabs { display: flex; gap: 22px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 40px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 13.5px; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.mp-tabs a:hover { color: var(--text); }
.mp-tabs a[aria-selected="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--canopy); }
.mp-tabs a:focus-visible { outline: var(--focus-w, 2px) solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.mp-tn { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--text-2); background: var(--ink-3); font-variant-numeric: tabular-nums; }
.mp-tn.bad { color: var(--bad-2); background: color-mix(in srgb, var(--bad) 15%, transparent); }
.mp-find { display: flex; align-items: center; gap: 6px; flex: 0 1 260px; min-width: 150px; height: 32px; margin-bottom: 4px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--text-3); background: var(--ink-1); }
.mp-find:focus-within { border-color: var(--focus); }
.mp-find svg { width: 14px; height: 14px; flex: none; }
.mp-find input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; height: 30px; font: inherit; font-size: 13px; color: var(--text); outline: none; }
.mp-find:focus-within kbd { display: none; }
.mp-found[hidden], .mp-panel[hidden] { display: none; }
.mp-found mark { background: color-mix(in srgb, var(--warn) 30%, transparent); color: inherit; border-radius: 2px; }
a.mp-hit { color: inherit; text-decoration: none; }
a.mp-hit:hover { background: color-mix(in srgb, var(--ink-3) 45%, transparent); }
.mp-panel:focus { outline: none; }

/* Overview: who works here beside At a glance; then the hardware and the jobs */
.mp-ov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 32px; }
.mp-ov > div > .mi-sec { border-top: 0; }
.mp-w .ag-av { width: 32px; height: 32px; }
.mp-w .ag-av svg { width: 16px; height: 16px; }
.mp-ini { font-weight: 600; font-size: 11.5px; }
.gls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.gl { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 14px 12px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); color: inherit; text-decoration: none; }
.gl:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.gl:hover .gl-l { color: var(--text); }
.gl:hover .gl-l::after { opacity: 1; }
.gl:focus-visible { outline: var(--focus-w, 2px) solid var(--focus); outline-offset: -2px; }
.gl-l { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.gl-l::after { content: "›"; margin-left: auto; opacity: .45; }
.gl-l .mi-ic { width: 14px; height: 14px; }
.gl-v { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-s { font-size: 12px; line-height: 1.4; color: var(--text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gl.warn .gl-v { color: var(--warn); }
.gl.bad .gl-v { color: var(--bad-2); }
.mp-json { margin: 6px 0 0; max-height: 420px; overflow: auto; padding: 10px 12px; font: 12px/1.5 var(--mono); color: var(--text-2); background: var(--ink-0); border-radius: 3px; white-space: pre; }
.mp-danger .mi-row { border-top: 0; }
/* H.264 (docs/STREAMS.md step 7): the state, Cisco's notice, and its licence opened under the row before switching on.
   Flat: the licence text between two hairlines, scrolled in place; its buttons wrap under it on a phone. */
.mp-h264 .mi-s + .mi-s { margin-top: 4px; }
.mp-h264 .mi-m > div:first-child { margin-bottom: 3px; }
.mp-h264 .mp-notice { color: var(--text-3); font-style: italic; }
.mp-lic { padding: 4px 0 10px; min-width: 0; }
.mp-lic[hidden] { display: none; }
.mp-lic-h { margin: 4px 0 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.mp-lic-t { margin: 10px 0; max-height: 260px; overflow: auto; padding: 10px 0; font: 12px/1.55 var(--mono); color: var(--text-2);
  white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mp-lic-t:focus-visible { outline: var(--focus-w, 2px) solid var(--focus); outline-offset: 2px; }
.mp-lic-ok { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
.mp-lic-ok input { margin: 2px 0 0; flex: none; }
.mp-lic-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 560px) { .mp-h264 .mi-side { padding-left: 0; } .mp-lic-t { max-height: 50vh; } }
.mp-join { border-top: 1px solid var(--line); padding: 14px 0; max-width: 640px; }
.mp-join > p { margin: 0 0 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.mp-join .mp-code { display: block; margin-top: 4px; font-size: 20px; letter-spacing: .18em; width: 12ch; height: 40px; }
.mp-join .vf-row { justify-content: flex-start; align-items: flex-end; gap: 12px; }
.mp-join .vf-row label { flex: 0 0 auto; }
.mp-join .vf-row .btn { height: 40px; }
.mp-ap { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.mp-h { position: relative; }
/* the host and the account slots draw their own panels: flat here */
#mpHost .panel, #mpSlots .panel { border-top: 0; padding: 0; }
#mpHost .ph, #mpSlots .ph { padding: 0 0 10px; }
#mpHost .ph h2 { display: none; }
#mpHost .ph p, #mpSlots .ph p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; max-width: 90ch; }
#mpSlots .ph h2 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
#mpSlotsS { padding-top: 12px; }

@container mpage (max-width: 1100px) {
  .mts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .mt:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
@container mpage (max-width: 860px) {
  .mp-ov { grid-template-columns: 1fr; }
  .mp-ov > .mp-ov-b > .mi-sec { border-top: 1px solid var(--line); }
}
@container mpage (max-width: 620px) {
  .mp-h { flex-wrap: wrap; gap: 12px; }
  .mp-hl { flex-basis: 100%; }
  .mp-caps { margin-left: 0; }
  .mp-g.big { width: 44px; height: 44px; border-radius: 10px; }
  .mp-g.big .mp-gi { width: 26px; height: 26px; }
  .mp-name h2 { font-size: 20px; }
  .mp-acts { width: 100%; }
  .mp-acts .mp-more { margin-left: auto; }
  .mts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt, .mt:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 14px; }
  .mt:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .mt-v { font-size: 22px; }
  .gls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gl, .gl:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 12px; }
  .gl:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .mp-tabbar { flex-wrap: wrap; gap: 0; }
  .mp-find { order: -1; flex: 1 1 100%; margin: 0 0 4px; }
  .mp-tabs { flex: 1 1 100%; gap: 18px; }
  .mp-tabbar { position: static; }
  .mp-find kbd { display: none; }
  .mp-at-t { flex-basis: 100%; }
}
:root[data-motion="reduced"] .mp-pulse { box-shadow: none; }
@container mlist (max-width: 520px) { .mr-wide { display: none; } }
/* Devices and Settings: short sections in two columns where there is room */
.mp-panel.cols { columns: 2 440px; column-gap: 44px; }
.mp-panel.cols > .mi-sec { break-inside: avoid; }
.mp-panel.cols > .mi-sec.mp-wide { column-span: all; }
@container mpage (max-width: 620px) { .mp-h.solo .mp-acts { position: absolute; top: 0; right: 0; width: auto; } .mp-h.solo .mp-hl { padding-right: 44px; } }
/* None yet: the illustration first, then the Add a machine flow it opens by itself */
#mchList { display: flex; flex-direction: column; }
#mchList[hidden], #mchPage[hidden] { display: none; }
#mchList > .mr-bar { order: 0; } #mchList > #mchAdd { order: 2; } #mchList > #mchRows { order: 3; }
#mchList:has(.mr-empty) > #mchRows { order: 1; border-top: 0; }
#mchList:has(#mchAdd:not([hidden])) .mr-empty-a { display: none; }
#mchList:has(#mchAdd:not([hidden])) .mr-empty { padding-bottom: 12px; }
