/* Report stack on the 2D map (owner 2026-10-31, options 1 + 10 + 6 – kg-stack.js). White like the rail's panels; desktop and tablet. */
#kgstk-b .kgstk-n { margin-left:auto; font-size:11px; font-weight:800; color:#111; background:#f2b705; border-radius:999px; padding:0 6px; line-height:16px; }
#kgstk-b .kgstk-n:empty { display:none; }
#kgstk { position:fixed; right:12px; top:112px; width:370px; max-height:calc(100vh - 128px); z-index:1200; background:#fff; color:#17222c;
  border:1px solid #d9d5cc; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.35); display:flex; flex-direction:column;
  font:14px/1.35 system-ui, "Segoe UI", sans-serif; overflow:hidden; }
#kgstk[hidden] { display:none; }
@media (max-width:760px) { #kgstk, #kgstk-b { display:none !important; } }
#kgstk .kgstk-h { display:flex; justify-content:space-between; align-items:center; padding:12px 14px 6px; font-size:17px; }
#kgstk .kgstk-x { width:36px; height:36px; border:0; border-radius:8px; background:#f1f3f5; cursor:pointer; font-size:15px; }
#kgstk .kgstk-q { display:flex; align-items:center; gap:8px; margin:4px 14px 8px; min-height:44px; padding:0 12px; border:2px solid #e0a91f; border-radius:10px; }
#kgstk .kgstk-q input { flex:1; border:0; outline:0; font:15px system-ui, sans-serif; min-width:0; background:transparent; }
#kgstk .kgstk-res { margin:0 14px 8px; max-height:300px; overflow:auto; border:1px solid #e6e2d8; border-radius:10px; }
#kgstk .kgstk-res[hidden] { display:none; }
#kgstk .kgstk-hit { display:flex; align-items:center; gap:10px; padding:8px 10px; border-top:1px solid #eee; min-height:48px; }
#kgstk .kgstk-hit:first-child { border-top:0; }
#kgstk .kgstk-hit > span, #kgstk .kgstk-t { display:flex; flex-direction:column; flex:1; min-width:0; }
#kgstk small { color:#6b7680; font-size:12px; font-weight:400; }
#kgstk .kgstk-hit button { flex:none; min-height:36px; padding:0 12px; border:0; border-radius:8px; background:#e0a91f; color:#111; font-weight:700; cursor:pointer; }
#kgstk .kgstk-hit button:disabled { opacity:.5; cursor:default; }
#kgstk .kgstk-hit em { font-style:normal; font-size:12px; font-weight:700; color:#2e7d32; }
#kgstk .kgstk-body { overflow:auto; padding:0 14px 14px; }
#kgstk h4 { margin:12px 0 6px; font-size:14px; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
#kgstk .kgstk-l { list-style:none; margin:0; padding:0; }
#kgstk .kgstk-r { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:8px 10px; margin-bottom:6px; border:1px solid #e6e2d8; border-radius:10px; background:#faf9f6; }
#kgstk .kgstk-r.drag { opacity:.5; outline:2px dashed #e0a91f; }
#kgstk .kgstk-g { cursor:grab; color:#9aa5b0; font-size:16px; letter-spacing:-2px; padding:4px 2px; }
#kgstk .kgstk-off { flex:none; width:32px; height:32px; border:0; border-radius:8px; background:#eef0f2; cursor:pointer; }
#kgstk .kgstk-off:disabled { opacity:.4; cursor:default; }
#kgstk .kgstk-op { display:flex; align-items:center; gap:8px; width:100%; font-size:12px; color:#6b7680; }
#kgstk .kgstk-op input { flex:1; accent-color:#e0a91f; }
#kgstk .kgstk-op output { width:38px; text-align:right; color:#17222c; }
#kgstk .kgstk-none, #kgstk .kgstk-lock { margin:6px 0; color:#6b7680; font-size:13px; }
#kgstk .kgstk-res .kgstk-none, #kgstk .kgstk-res .kgstk-lock { padding:8px 10px; margin:0; }
#kgstk .kgstk-clear { margin-left:auto; border:0; background:none; color:#a06b00; font-weight:700; cursor:pointer; }
#kgstk .kgstk-pins { overflow-x:auto; }
#kgstk .kgstk-pins table { border-collapse:collapse; font-size:12.5px; width:100%; }
#kgstk .kgstk-pins th, #kgstk .kgstk-pins td { border-bottom:1px solid #eee; padding:5px 6px; text-align:left; vertical-align:top; }
#kgstk .kgstk-pins thead th { white-space:nowrap; }
#kgstk .kgstk-pins thead button[data-pin] { width:28px; height:28px; border-radius:50%; border:0; background:#e0a91f; font-weight:800; cursor:pointer; }
#kgstk .kgstk-pins thead small { display:block; max-width:90px; overflow:hidden; text-overflow:ellipsis; }
#kgstk .kgstk-un { border:0; background:none; color:#9aa5b0; cursor:pointer; }
#kgstk .kgstk-pins tbody th { font-weight:600; color:#3b4650; }
