/* middle.network: "Run next" panel and the inline arrow beside values (site/assets/js/mn-next.js?v=a720bdcff0). */
.mn-next-card { color: inherit; background: var(--cz-body-bg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.mn-next-card:hover, .mn-next-card:focus-visible { border-color: var(--cz-emphasis-color) !important; transform: translateY(-1px); box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06); }
.mn-next-card:hover .mn-next-go { color: var(--cz-emphasis-color) !important; transform: translateX(2px); }
.mn-next-go { transition: transform .15s; }
.mn-next-ico { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--cz-tertiary-bg); color: var(--cz-emphasis-color); font-size: 1.05rem; }
.mn-next-row + .mn-next-row { border-top: 1px dashed var(--cz-border-color); }
.mn-next-val { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .mn-next-val { flex: 0 0 16rem; } }
.mn-next-chip { --cz-btn-padding-y: .15rem; --cz-btn-padding-x: .55rem; font-size: .75rem; white-space: nowrap; }
.mn-next-more > summary { cursor: pointer; list-style: none; }
.mn-next-more > summary::before { content: '+ '; }
.mn-next-more[open] > summary::before { content: '− '; }

/* The floating arrow: sits just right of the hovered value, vertically centred on it. */
.mn-next-pop { position: absolute; z-index: 1060; transform: translateY(-50%); }
.mn-next-pop-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 1px solid var(--cz-border-color); border-radius: 50%;
  background: var(--cz-body-bg); color: var(--cz-emphasis-color); font-size: .8rem; box-shadow: 0 .125rem .375rem rgba(0, 0, 0, .08); cursor: pointer; }
.mn-next-pop-btn:hover, .mn-next-pop-btn[aria-expanded="true"] { background: var(--cz-emphasis-color); color: var(--cz-body-bg); border-color: var(--cz-emphasis-color); }
.mn-next-pop-btn:focus-visible { outline: 2px solid var(--cz-primary); outline-offset: 2px; }
.mn-next-menu { position: absolute; top: calc(100% + .35rem); left: 0; min-width: 14rem; max-width: 20rem; padding-bottom: .35rem; background: var(--cz-body-bg); }
.mn-next-menu-left { left: auto; right: 0; }
.mn-next-menu-up { top: auto; bottom: calc(100% + .35rem); }
.mn-next-menu .dropdown-item { padding: .35rem .9rem; }
@media (hover: none) { .mn-next-pop-btn { width: 1.9rem; height: 1.9rem; } }
@media (prefers-reduced-motion: reduce) { .mn-next-card, .mn-next-go { transition: none; } .mn-next-card:hover { transform: none; } }
