/* lm-mktco: Cash out pill on market headers (LIME Original + LIME Exchange; not on html.skin-ex) */
html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco] { gap: 8px; }
html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco] > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco] > small { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco]::after {
  content: attr(data-lmco); flex: 0 0 auto; order: 9;
  font: 700 12px/18px Inter, -apple-system, system-ui, Roboto, sans-serif; letter-spacing: .01em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; cursor: pointer;
  background: #a3e635; color: #0e1608; box-shadow: 0 0 0 1px rgba(163, 230, 53, .35), 0 2px 8px rgba(163, 230, 53, .25);
}
html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco][data-lmco-st="off"]::after { background: rgba(140, 150, 142, .22); color: #9aa59c; box-shadow: none; cursor: default; }
html.skin-lx #mktHost .mkt > .mh[data-lmco][data-lmco-st="off"]::after { background: #eef0ee; color: #7a837c; }
@media (max-width: 560px) {
  /* on phones the limits text gives way to the pill */
  html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco] > small { display: none; }
  html:not(.skin-ex) #mktHost .mkt > .mh[data-lmco]::after { font-size: 12.5px; padding: 4px 11px; }
}

/* Confirm window */
.lmco-ov { position: fixed; inset: 0; z-index: 10050; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lmco-box { width: 100%; max-width: 380px; background: #131a14; color: #eef3ee; border: 1px solid #2c362d; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); overflow: hidden; font: 400 14px/1.4 Inter, -apple-system, system-ui, Roboto, sans-serif; }
.lmco-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 800; font-size: 16px; border-bottom: 1px solid #2c362d; }
.lmco-x { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .7; }
.lmco-bd { padding: 12px 16px 6px; }
.lmco-mk { font-weight: 700; margin-bottom: 8px; color: #a3e635; }
.lmco-bd table { width: 100%; border-collapse: collapse; }
.lmco-bd td { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lmco-bd td.r { text-align: right; font-variant-numeric: tabular-nums; }
.lmco-bd td.pos { color: #4ade80; font-weight: 700; }
.lmco-bd td.neg { color: #f87171; font-weight: 700; }
.lmco-note { margin: 10px 0 4px; font-size: 12px; color: #9aa59c; }
.lmco-msg { min-height: 18px; margin: 6px 0 4px; font-size: 13px; }
.lmco-msg.ok { color: #4ade80; } .lmco-msg.warn { color: #fbbf24; }
.lmco-ft { display: flex; gap: 10px; padding: 12px 16px 16px; }
.lmco-ft button { flex: 1; height: 44px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; border: 0; }
.lmco-no { background: #232b24; color: #eef3ee; }
.lmco-yes { background: #a3e635; color: #0e1608; }
.lmco-yes:disabled { opacity: .6; cursor: default; }
html.skin-lx .lmco-box { background: #fff; color: #111813; border-color: #e3e7e3; }
html.skin-lx .lmco-hd { border-color: #e3e7e3; }
html.skin-lx .lmco-mk { color: #3f6212; }
html.skin-lx .lmco-bd td { border-color: #eef0ee; }
html.skin-lx .lmco-bd td.pos { color: #15803d; } html.skin-lx .lmco-bd td.neg { color: #dc2626; }
html.skin-lx .lmco-no { background: #f1f3f1; color: #111813; }
html.skin-lx .lmco-note { color: #66706a; }
