

.ltpen {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 0 10px; padding: 2px 9px 2px 7px;
  border: 1px solid var(--primary); border-radius: 999px;
  background: transparent; color: var(--primary);
  font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap;
  vertical-align: middle; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.ltpen:hover { background: var(--primary); color: #fff; }
.ltpen:active { transform: translateY(1px); }

.ltpen svg { flex: none; width: 13px; height: 13px; display: block; }

@media (min-width: 721px) {
  .fxsec > h2:has(> .ltadd) { display: flex; align-items: center; }
  .fxsec > h2 > .ltadd { margin-left: auto; }
}

.ltgn-text {
  margin-top: 5px;
  font-size: 11.5px; font-weight: 400; line-height: 1.5;
  color: var(--ink-2); text-align: left; white-space: pre-wrap; overflow-wrap: anywhere;
}
.ltgn-text.none { color: var(--ink-3); font-style: normal; opacity: .6; }
.ltgn.is-sel .ltgn-text { color: inherit; opacity: .92; }

.ltgn-hides { display: block; margin-top: 5px; padding: 2px 7px; border-radius: 6px;
  border: 1px solid #C99A2E; background: #FDF6E7; color: #8E5B12;
  font-size: 11px; line-height: 1.5; font-weight: 700; }
.ltgn.is-sel .ltgn-hides { border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.14); color: #fff; }

.ltgnact { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.ltgnbtn {
  padding: 3px 10px; border: 1px solid var(--line-ctl); border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  font-size: 11.5px; font-weight: 700; line-height: 1.6; cursor: pointer;
}
.ltgnbtn:hover { border-color: var(--primary); color: var(--primary); }
.ltgnbtn.pri { border-color: var(--primary); color: var(--primary); }
.ltgnbtn.pri:hover, .ltgnbtn.pri.on { background: var(--primary); color: #fff; }

.lttoast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 400; max-width: min(560px, 92vw);
  background: #2A313C; color: #fff; font-size: 13.5px; line-height: 1.6;
  padding: 10px 16px; border-radius: 9px; box-shadow: 0 10px 30px rgba(0,0,0,.28);
  animation: ltfade .18s ease-out;
}
.lttoast.bad { background: #8E2432; }
.lttoast.ok  { background: #23701A; }
@keyframes ltfade { from { opacity: 0; transform: translate(-50%, 8px); } }

.ltov .m3dovin { width: min(1040px, 100%); height: min(760px, 92vh); }

.ltov .lyrbody { flex: 1; min-height: 0; display: flex; flex-direction: column;
  padding: 0 0 10px; }

.ltwrap { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 372px; }
.ltwrap.ltsolo { grid-template-columns: minmax(0, 1fr); }
.ltwrap.ltsolo .ltright { display: none; }
.ltleft  { min-width: 0; display: flex; flex-direction: column; padding: 12px 14px; overflow-y: auto; }
.ltright { min-width: 0; border-left: 1px solid var(--line); background: var(--sidebar);
  padding: 12px 14px 14px; overflow-y: auto; }

.ltsec { margin-bottom: 12px; }
.ltsec > h4 { margin: 0 0 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.ltrow1 { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ltsp { flex: 1; }

.ltchip {
  font: inherit; font-size: 12.5px; line-height: 1; padding: 6px 11px; cursor: pointer;
  border: 1px solid var(--line-ctl); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); white-space: nowrap;
}
.ltchip:hover { border-color: var(--primary); color: var(--primary); }
.ltchip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ltchip.on i { color: #fff; opacity: .85; }
.ltchip i { font-style: normal; color: var(--ok); margin-left: 4px; }
.ltchip:disabled { opacity: .45; cursor: not-allowed; }

.ltta {
  font: inherit; font-size: 14.5px; line-height: 1.85; width: 100%; min-height: 132px;
  resize: vertical; padding: 10px 12px; border: 1px solid var(--line-ctl);
  border-radius: 9px; background: var(--surface); color: var(--ink);
}
.ltta:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(73,84,103,.1); }
.ltcnt { font-size: 12px; color: var(--ink-3); }
.ltcnt.bad { color: var(--danger); font-weight: 700; }

.ltbtn {
  font: inherit; font-size: 13px; line-height: 1; padding: 7px 13px; cursor: pointer;
  border: 1px solid var(--line-ctl); border-radius: 8px;
  background: var(--surface); color: var(--ink-2);
}
.ltbtn:hover { border-color: var(--primary); color: var(--primary); background: var(--sel); }
.ltbtn.pri { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

.ltbtn.pri.warn { background: #B4453C; border-color: #B4453C; }
.ltbtn.pri:hover { filter: brightness(1.1); background: var(--primary); color: #fff; }
.ltbtn.warn { color: #B4453C; }
.ltbtn.warn:hover { border-color: #B4453C; color: #B4453C; background: #FDF1F0; }
.ltbtn:disabled { opacity: .5; cursor: default; filter: none; }
.ltbtn.mini { font-size: 12px; padding: 5px 9px; border-radius: 7px; }

.ltprev {
  border: 1px solid var(--line-ctl); border-radius: 9px; background: var(--surface);
  padding: 9px 12px; min-height: 48px; font-size: 15px; line-height: 1.95;
  white-space: pre-wrap;
}
.ltprev .dp { margin: 0 0 6px; }
.ltprev .dp:last-child { margin-bottom: 0; }
.ltprev.none { color: var(--ink-3); font-size: 13px; }

.ltwarn { margin-top: 7px; font-size: 12.5px; line-height: 1.7; color: #8E5B12; }
.ltwarn.blk { color: #B4453C; font-weight: 600; }
.ltnote { font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.ltnote b { color: var(--ink-2); }
.ltnote.warn { color: #8E5B12; }
.ltnote.bad { color: #B4453C; }

.ltid { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11.5px;
  background: var(--surface-2); border: 1px solid var(--line-mid); border-radius: 4px;
  padding: 0 4px; color: var(--ink-2); white-space: nowrap; user-select: all; }

.ltpit .ltdup { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px;
  color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.ltpick { margin-top: 8px; border: 1px solid var(--line-mid); border-radius: 10px;
  background: var(--surface-2); padding: 9px 10px; }
.ltpick input[type=search] {
  font: inherit; font-size: 13.5px; padding: 7px 10px; width: 100%;
  border: 1px solid var(--line-ctl); border-radius: 8px; background: var(--surface); color: var(--ink);
}
.ltpick input[type=search]:focus { outline: none; border-color: var(--primary); }
.ltplist { margin-top: 7px; max-height: 208px; overflow-y: auto; display: flex;
  flex-direction: column; gap: 3px; }
.ltpit { display: flex; align-items: center; gap: 8px; text-align: left; width: 100%;
  font: inherit; font-size: 13.5px; padding: 5px 8px; cursor: pointer;
  border: 1px solid transparent; border-radius: 7px; background: var(--surface); color: var(--ink); }
.ltpit:hover { border-color: var(--primary); background: var(--sel); }
.ltpit img { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; flex: none; }
.ltpit .v { color: var(--ink-3); font-size: 11.5px; margin-left: auto; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 44%; }

.ltchain { display: flex; flex-direction: column; gap: 9px; }
.ltcard { border: 1px solid var(--line-ctl); border-radius: 10px; background: var(--surface);
  padding: 8px 10px; }
.ltcard.cur { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(73,84,103,.08); }
.ltcard.hid { background: var(--surface-2); }
.ltcard.hid .ltcbd { text-decoration: line-through; opacity: .5; }
.ltchd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.ltcbd { font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; color: var(--ink); }
.ltcbd .dp { margin: 0 0 4px; }
.ltcbd .dp:last-child { margin-bottom: 0; }
.ltcft { margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.ltcft .lthist { margin-left: auto; }
.ltmeta { font-size: 11.5px; color: var(--ink-3); }
.ltmeta.hidmark { color: #B4453C; }

.ltmeta.winmark { color: var(--primary); font-weight: 700; }

.ltord { font-size: 11px; line-height: 1; padding: 3px 7px; border-radius: 999px;
  font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
  border: 1px solid var(--primary); color: var(--surface); background: var(--primary); }
.ltcard.hid .ltord { display: none; }   
.lttag { font-size: 11px; line-height: 1; padding: 3px 7px; border-radius: 999px;
  border: 1px solid var(--line-ctl); color: var(--ink-2); background: var(--surface-2); }
.lttag.base { border-color: var(--primary); color: var(--primary); font-weight: 700; }

.lttag.pend { border-color: #C99A2E; color: #8E5B12; background: #FDF6E7; }
.lttag.rej { border-color: #D08279; color: #B4453C; background: #FDF1F0; }
.lttag.pub { border-color: #7FBF74; color: #23701A; background: #F0F8EE; }

.ltqrow { border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  padding: 11px 13px; margin-bottom: 10px; }
.ltqhd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.ltqhd img.ico { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.ltqhd b { font-size: 14.5px; color: var(--ink); }

.ltqid { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
.ltqbd { border: 1px solid var(--line-ctl); border-radius: 9px; padding: 8px 11px;
  font-size: 14px; line-height: 1.85; white-space: pre-wrap; background: var(--surface-2); }
.ltqbd .dp { margin: 0 0 5px; }
.ltqbd .dp:last-child { margin-bottom: 0; }
.ltqold { margin-top: 7px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3);
  border-left: 3px solid var(--line-mid); padding-left: 9px; white-space: pre-wrap; }
.ltqft { margin-top: 9px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ltqft input[type=text] {
  font: inherit; font-size: 13px; padding: 6px 10px; flex: 1; min-width: 170px;
  border: 1px solid var(--line-ctl); border-radius: 8px; background: var(--surface); color: var(--ink); }
.ltqft input[type=text]:focus { outline: none; border-color: var(--primary); }

.ltmov .m3dovin { width: min(680px, 100%); }

.ltmov .m3dovhd b em { font-style: normal; font-weight: 400; font-size: 13px;
  color: var(--ink-3); margin-left: 8px; }
.ltmine { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; }
.ltmrow { border: 1px solid var(--line-ctl); border-radius: 9px; background: var(--surface);
  padding: 8px 10px; }

.ltmrow.dim { background: var(--surface-2); opacity: .72; }
.ltmhd { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 4px; }

.ltmhd a:hover { text-decoration: underline; }

.ltmhd img.ico { width: 20px; height: 20px; object-fit: contain; image-rendering: pixelated; }

.ltgrp { display: flex; flex-direction: column; gap: 3px; }
.ltsub { display: flex; flex-direction: column; gap: 6px;
  margin-left: 5px; padding-left: 9px; border-left: 2px solid var(--line-mid); }

.ltsub[hidden] { display: none; }
.ltsubb { align-self: flex-start; font: inherit; font-size: 12.5px; color: var(--ink-3);
  background: none; border: 0; padding: 1px 2px; margin-left: 10px; cursor: pointer; }
.ltsubb:hover { color: var(--primary); text-decoration: underline; }
.ltmbd { font-size: 13px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap;
  overflow-wrap: anywhere; }
.ltintro { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin-bottom: 12px; }
.ltintro b { color: var(--ink); }

@media (max-width: 720px) {
  .ltpen { display: none; }
  .ltwrap { grid-template-columns: minmax(0, 1fr); }
  .ltright { border-left: 0; border-top: 1px solid var(--line); }
}

.ltsel {
  width: 100%; padding: 7px 9px; border: 1px solid var(--line-ctl); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13px;
}
.ltsel:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(73,84,103,.1); }
.ltspitem { border: 1px solid var(--line-ctl); border-radius: 9px; background: var(--surface-2);
  padding: 7px 8px; margin-top: 7px; }
.ltspitem .ltta { min-height: 74px; background: var(--surface); }
.ltsphd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }

.ltspcard { border: 1px dashed var(--line-ctl); border-radius: 8px; padding: 6px 8px;
  margin-top: 6px; }
.ltspcard:first-child { margin-top: 0; }

.ltgsec h4 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ltgcnt { font-size: 11.5px; font-weight: 400; color: var(--ink-3); }

.ltgbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 2px 0 7px; font-size: 11.5px; color: var(--ink-3); }
.ltglg { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ltglg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block;
  border: 1px solid var(--line-ctl); background: var(--surface); }
.ltglg i.k-empty  { border-style: dashed; }
.ltglg i.k-text   { border-color: var(--line-mid); background: var(--surface); position: relative; }
.ltglg i.k-text::after { content: ""; position: absolute; top: 1px; right: 1px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }
.ltglg i.k-sel    { border-color: var(--primary); background: var(--primary); }
.ltglg i.k-hide   { border-color: #C99A2E; background: #FDF6E7; }

.ltglg i.k-hid    { border-color: #D08279; background: #FDF1F0; position: relative; }
.ltglg i.k-hid::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%;
  height: 1.5px; background: #B4453C; transform: translateY(-50%); }

.ltglg i.k-norole { background: var(--surface-2); border-style: dotted; }
.ltgsp { flex: 1 1 auto; }

.ltgfocus { display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 7px 9px; margin-bottom: 7px; font-size: 12px;
  border: 1px solid #C99A2E; border-radius: 9px; background: #FDF6E7; color: #8E5B12; }
.ltgfc-lb { color: var(--ink-3); }
.ltgfc-sel { font-weight: 700; color: var(--ink); }
.ltgfc-arrow { color: #8E5B12; }
.ltgfc-dep { position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 4px 2px 7px; border-radius: 7px;
  border: 1px solid var(--line-ctl); background: var(--surface); }

.ltgfc-dep .ltghide { position: static; }
.ltgfc-dep b { font-weight: 600; color: var(--ink-2); max-width: 12em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ltgfc-q { font: inherit; font-size: 12px; padding: 3px 7px; min-width: 9em;
  border: 1px solid var(--line-ctl); border-radius: 7px;
  background: var(--surface); color: var(--ink); }
.ltgfc-q:focus { outline: none; border-color: #C99A2E; }
.ltgfc-none { color: var(--ink-3); }

#ltGraphHost, .ltgsec {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
}

#ltMine:empty { margin: 0; padding: 0; }

.ltgwrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }

.ltgraph { position: relative; flex: 1; min-height: 320px; overflow: auto;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); padding: 8px;
  cursor: grab; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; }
.ltgraph::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ltgraph.panning { cursor: grabbing; user-select: none; }

.ltghelp { position: absolute; right: 8px; bottom: 8px; z-index: 3;
  display: flex; align-items: center; gap: 5px;
  padding: 3px 6px 3px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  font-size: 11px; color: var(--ink-3); }
.ltghelp .ltgzn { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 700;
  min-width: 34px; text-align: right; }

.ltgrule { margin: 5px 2px 0 auto; max-width: min(560px, 100%);
  font-size: 11px; line-height: 1.55; color: var(--ink-3); text-align: right; }

.ltgzb { font: inherit; font-size: 13px; line-height: 1; width: 20px; height: 20px;
  border: 1px solid var(--line-ctl); border-radius: 6px; cursor: pointer;
  background: var(--surface); color: var(--ink-2); padding: 0; }
.ltgzb:hover { border-color: var(--primary); color: var(--primary); }
.ltginner { position: relative; }
.ltgedges { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }

.ltge { fill: none; stroke: var(--ink-3); stroke-width: 1.8; opacity: .55; }
.ltge.hot { stroke: #C99A2E; stroke-width: 2.6; opacity: 1; }

.ltgdot { fill: var(--ink-3); opacity: .55; }
.ltgdot.hot { fill: #C99A2E; opacity: 1; }

.ltginner.lr { display: flex; align-items: center; gap: 76px; padding: 240px;
  width: max-content; }
.ltglane { position: relative; display: flex; flex-direction: column; gap: 10px;
  flex: none; padding: 0; border-top: 0; }

.ltglh { font-size: 11.5px; line-height: 1.5; color: var(--ink-3); white-space: nowrap;
  text-align: center; }

.ltginner.lr .ltggrid { display: flex; flex-direction: row; gap: 14px; align-items: center; }
.ltginner.lr .ltgcol  { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ltglh b { display: block; color: var(--ink-2); font-weight: 600; }

.ltglh em, .ltglh span { display: block; font-style: normal; }

.ltggrid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); }

.ltgncell { position: relative; }
.ltgn { position: relative; display: flex; flex-direction: column; gap: 1px;
  width: max-content; min-width: 150px; max-width: 300px; text-align: left;
  font: inherit; font-size: 12px; line-height: 1.45; padding: 7px 9px;
  border: 1px solid var(--line-ctl); border-radius: 8px;
  background: var(--surface); color: var(--ink-2); cursor: pointer; }
.ltgn:hover { border-color: var(--line-mid); }
.ltgn:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.ltgn-ord  { display: block; font-size: 10.5px; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--primary); }

.ltgn-name { display: block; font-weight: 600; color: var(--ink);
  white-space: normal; overflow-wrap: anywhere; }
.ltgn-id   { display: block; font-size: 10.5px; color: var(--ink-3);
  white-space: normal; overflow-wrap: anywhere; }
.ltgn-fan  { display: block; font-size: 10.5px; color: var(--ink-3); }
.ltgn-fan.big { color: #8E5B12; }
.ltgn-dot  { position: absolute; top: 5px; right: 6px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ok); }

.ltgn.is-empty { border-style: dashed; color: var(--ink-3); background: var(--surface); }
.ltgn.is-empty .ltgn-name { font-weight: 400; color: var(--ink-2); }

.ltgn.has-text { border-color: var(--line-mid); color: var(--ink); }

.ltgn.is-sel { background: var(--primary); border-color: var(--primary); color: #fff; }
.ltgn.is-sel .ltgn-name { color: #fff; }
.ltgn.is-sel .ltgn-id, .ltgn.is-sel .ltgn-ord,
.ltgn.is-sel .ltgn-fan { color: rgba(255,255,255,.82); }
.ltgn.is-sel .ltgn-dot { background: #fff; }

.ltgncell.can-hide .ltgn { border-color: #C99A2E; background: #FDF6E7; }
.ltgncell.can-hide .ltgn.is-sel { background: var(--primary); }

.ltghide { font: inherit; font-size: 11px;
  line-height: 1.6; padding: 3px 9px; border-radius: 999px; cursor: pointer;
  border: 1px solid #C99A2E; background: #FDF6E7; color: #8E5B12; }
.ltghide:hover { background: #F7EACB; }
.ltghide:disabled { opacity: .55; cursor: default; }
.ltghide.undo { border-color: #7FBF74; background: #F0F8EE; color: #23701A; }
.ltghide.undo:hover { background: #E3F2E0; }

.ltgn.is-hidden { border-color: #D08279; background: #FDF1F0; }
.ltgn.is-hidden .ltgn-name { text-decoration: line-through; color: #B4453C; }
.ltgn.is-hidden .ltgn-ord { display: none; }
.ltgn.is-hidden .ltgn-dot { background: #D08279; }

.ltgn.is-hidden.is-sel { background: var(--primary); border-color: #D08279; }
.ltgn.is-hidden.is-sel .ltgn-name { color: #fff; text-decoration: line-through;
  text-decoration-color: #FFB4AC; text-decoration-thickness: 2px; }
.ltgn.is-hidden.is-sel .ltgn-id,
.ltgn.is-hidden.is-sel .ltgn-fan { color: rgba(255,255,255,.82); }
.ltgn.is-hidden.is-sel .ltgn-text { color: #fff; opacity: .9; text-decoration: line-through;
  text-decoration-color: rgba(255,180,172,.75); }
.ltgn.is-hidden.is-sel .ltgn-dot { background: #FF9E93; }

.ltgn.is-hidden .ltgn-text { text-decoration: line-through; text-decoration-color: #E3A9A2; }

.ltgn.no-role { background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; opacity: .8; }
.ltgn.no-role .ltgn-name::before { content: "🔒 "; }

.ltgn.out-scope { border-style: dotted; opacity: .46; cursor: not-allowed; }

.ltghint { margin-top: 7px; }
.ltgempty { padding: 10px 12px; border: 1px dashed var(--line-ctl); border-radius: 10px;
  background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; line-height: 1.7; }
.ltgempty b { color: var(--ink); }

@media (max-width: 720px) {
  .ltgraph  { max-height: 38vh; }
  
  .ltgedges { display: none; }
  .ltggrid  { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .ltglane  { grid-template-columns: minmax(0, 1fr); }
  .ltglh    { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
  .ltglh b  { display: inline; }
  .ltgn-id  { display: none; }
  .ltgfocus { flex-direction: column; align-items: stretch; }
  .ltgbar .ltglg:nth-child(n+5) { display: none; }
}
