/* Clean stage for the 3D view (design option 1, owner 2026-10-29: "Yes, build option 1"): one slim line bar, the model gets the room.
   Computers only – phones keep their own line sheet and Cuts chip (map-phone.css, Index.cshtml round 2). kg-clean3d.js adds the button. */
#l3more { display:none; }
@media (min-width:761px) {
  /* the line bar stays one row in 3D: the 3D line tools (Isolate, Chargeability / Resistivity, Slice see-through, Line views,
     3D line view) open from "3D tools ▾" as a drop-down under it, not as a second row */
  body.v3d #linebar .lseg button { white-space:nowrap; }   /* ("N/S line" never breaks in two) */
  body.v3d #l3more { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
  body.v3d.l3open #l3more { background:var(--gold); color:var(--ink); border-color:var(--gold); }
  body.v3d #linebar .l3t { position:absolute; top:calc(100% + 6px); z-index:30; display:none; flex-direction:column; align-items:stretch; gap:10px;
    padding:12px 14px; min-width:250px; background:#1f2d3a; border:1px solid #3a4a58; border-radius:10px; box-shadow:0 10px 28px rgba(0,0,0,.45); }
  body.v3d.l3open #linebar .l3t:not([hidden]) { display:flex; }
  body.v3d #linebar .l3t > * { align-self:flex-start; }
  body.v3d #linebar .l3t::before { content:"3D line tools"; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--gold); }
  /* Cuts folds to its "✂ Cuts ▸" chip until clicked, as on phones */
  body.v3d:not(.cutsopen) .cuts > :not(.ch) { display:none !important; }
  body.v3d .cuts .ch { cursor:pointer; padding:2px 2px; }
  body.v3d:not(.cutsopen) .cuts .ch::after { content:" ▸"; } body.v3d.cutsopen .cuts .ch::after { content:" ▾"; }
}
/* one row once it fits (~1060 px); narrower, the bar may wrap, but it is still one row shorter than before */
@media (min-width:1100px) { body.v3d #linebar { flex-wrap:nowrap; } }
