/* End-of-queue planner: the mini diagram, legend and small labels (shared styles: tools.css + tool-page.css) */
.tool-in .mini .eq-dirname { display: inline-block; width: auto; max-width: 60%; min-height: 40px; margin-left: 6px; padding: 6px 10px; }
.eq-svg { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.eq-svg svg { display: block; width: 100%; min-width: 540px; height: auto; }
.eq-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: -4px 0 0; font-size: .78rem; color: #cfd3da; }
.eq-legend span { display: inline-flex; align-items: center; gap: 6px; }
.eq-legend i { width: 11px; height: 11px; display: inline-block; transform: rotate(45deg); }
.eq-legend .lg-y { background: #ffc20e; } .eq-legend .lg-r { background: #e5322d; }
.eq-legend .lg-c { background: #ff8a1f; transform: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.eq-sub { margin: 0 0 -6px; font-weight: 800; font-size: .84rem; color: #e3e6ea; }
.eq-check li::marker { content: "☐  "; }
#tw-print .eq-svg { overflow: visible; }
#tw-print .eq-svg svg { min-width: 0; }
#tw-print .eq-svg .bg { fill: #fff; stroke: #999; }
#tw-print .eq-svg .rd { fill: #c9cdd2; }
#tw-print .eq-svg .lt { fill: #111; }
#tw-print .eq-legend i { border: 1px solid #000; }
#tool-out .out-table td:nth-child(2) { white-space: nowrap; }
