.le-modes { padding: 16px 16px 0; }
.le-paste { padding: 12px 16px 16px; }
.le-paste .io { min-height: 200px; }
.le-base { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }
.le-base input { flex: 1 1 260px; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.le-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 12px; }
.le-tile { border: 1px solid var(--border); border-radius: var(--r-ctl); padding: 10px 12px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); min-height: 44px; }
.le-tile b { display: block; font-size: 22px; line-height: 1.2; }
.le-tile span { font-size: 13px; color: var(--muted); }
.le-tile[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); }
.le-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.le-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.le-chip { border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; min-height: 32px; white-space: nowrap; }
.le-chip[aria-pressed="true"] { background: var(--blue-tint); color: var(--blue); border-color: transparent; font-weight: 600; }
.le-search { flex: 1 1 200px; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.le-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.le-table-wrap { max-height: 70vh; overflow: auto; border: 1px solid var(--border); border-radius: var(--r-ctl); }
.le-table thead th { position: sticky; top: 0; background: var(--canvas); z-index: 1; }
.le-table td:nth-child(1), .le-table td:nth-child(7) { color: var(--muted); white-space: nowrap; }
.le-table td:nth-child(2) { min-width: 220px; }
.le-table .rel { display: inline-block; font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--canvas); border: 1px solid var(--border); margin: 0 4px 2px 0; }
.le-table .rel.k { background: var(--warn-tint); color: var(--warn); border-color: transparent; }
.le-table .flag { color: var(--warn); cursor: help; margin-left: 4px; }
.le-table .more { color: var(--muted); font-size: 12px; }
.le-type { font-size: 12px; font-weight: 600; }
[data-action="more"] { margin-top: 8px; }
@media (max-width: 768px) {
  .le-modes { padding: 12px 12px 0; }
  .le-paste { padding: 12px; }
  .le-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .le-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .le-table-wrap { max-height: none; border: 0; overflow: visible; }
  .le-table thead { display: none; }
  .le-table, .le-table tbody, .le-table tr, .le-table td { display: block; width: 100%; }
  .le-table tr { border: 1px solid var(--border); border-radius: var(--r-ctl); margin-bottom: 8px; padding: 8px 10px; }
  .le-table td { border: 0; padding: 2px 0; min-width: 0 !important; }
  .le-table td:nth-child(1) { display: none; }
  .le-table td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: 12px; }
}
@media (max-width: 900px) {
  #tool > .le-modes { order: 1; } #tool > [data-url-form] { order: 2; } #tool > .le-paste { order: 3; } #tool > [data-options] { order: 4; }
  #tool > .notice { order: 5; } #tool > .wt-body { order: 6; }
}
