.xp { display: grid; gap: 8px; margin-top: 6px; }
.xp__row { display: grid; gap: 8px; }
.xp__kinds { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, currentcolor calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, currentcolor calc(100% - 28px), transparent); padding-right: 28px; }
.xp__kinds::-webkit-scrollbar { display: none; }
.xp__kinds > .seg { flex-wrap: nowrap; max-width: none; }
.xp__kinds .seg button { flex: 0 0 auto; white-space: nowrap; }
.xp__n { margin-left: 2px; font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .03em; opacity: .75; }
.xp__btns { display: none; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.xp__btns .tl-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.xp__btns .tl-btn .i { width: 14px; height: 14px; }
.xp__bar { display: flex; align-items: stretch; gap: 6px; }
.xp__sent { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 46px; padding: 6px 6px 6px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.xp__sent b { text-decoration: underline dotted; text-underline-offset: 3px; }
.xp__s { min-width: 0; }
.xp__go { margin-left: auto; flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.xp__w { display: none; }
.xp-ibtn { min-width: 40px; min-height: 46px; padding: 0; font-size: 16px; }
.xp__count { margin: 0; padding: 2px 0; color: var(--muted); font-size: 14px; }
.xp__filters .dx-key { margin: 0; }
.xp-x { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 2px 6px 2px 0; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--chip); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.xp-x:hover { border-color: var(--text); }
.xp__t { min-height: 220px; margin-bottom: 0; }
.xp[data-xp-state="loading"] .xp__t { min-height: 560px; }
.xp__skel td { padding: 10px 0; border: 0; }
.xp__skel .skel { display: block; height: 46px; margin: 0 0 8px; border-radius: 12px; background: var(--line); }
.xp__t .xp-c { vertical-align: middle; }
.xp__t .xp-abils { display: flex; flex-wrap: wrap; gap: 4px; }
.xp__t td .ab__effect, .xp__t td:not(.n):not(.lt__name) { max-width: 34rem; }
.xp__t td { white-space: nowrap; }
.xp-veil td { padding-block: 6px; }
.xp-veil__b { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 10px; border: 1px dashed var(--line-2); border-radius: 12px; }
.xp-veil__what { font-weight: 700; }
.xp-veil__b .tl-btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.xp__empty { padding: 16px 0; }
.xp__empty p { margin: 0 0 8px; }
.xp__more { justify-self: start; min-width: 200px; }
.xp__nojs { padding: 12px 0; }
.xp__pg { display: inline-flex; align-items: center; min-height: 36px; margin: 0 12px 0 0; color: var(--link, var(--text)); font-weight: 700; }
.xp__fold { margin-top: 24px; }
.xp-arows { display: grid; gap: 8px; }
.xp-arow { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.xp-arow > summary { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 4px 10px; min-height: 52px; padding: 8px 14px; list-style: none; cursor: pointer; }
.xp-arow > summary::-webkit-details-marker { display: none; }
.xp-led { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.xp-t { font-weight: 700; }
.xp-a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; }
.xp-arow[open] > summary .xp-led { background: var(--red-fill); }
.xp-arow__body { padding: 4px 14px 12px; }
.xp-panel { position: absolute; z-index: 60; width: min(360px, calc(100vw - 16px)); max-height: min(70dvh, 560px); overflow: auto; padding: 12px 14px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 28px var(--shade-30); }
.xp-panel--sheet { position: fixed; inset: auto 0 0 0; width: auto; max-height: 82dvh; border-radius: 16px 16px 0 0; z-index: 70; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.xp-scrim { position: fixed; inset: 0; z-index: 65; background: var(--scrim); }
.xp-panel__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.xp-panel__h .tl-btn { min-height: 36px; min-width: 36px; padding: 0; }
.xp-panel__b { display: grid; gap: 8px; }
.xp-k { margin: 6px 0 0; font-family: var(--pixel); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim, var(--muted)); }
.xp-tiles, .xp-conds { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-tile { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.xp-tile[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.xp-range { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-range label, .xp-text { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.xp-range input, .xp-text input { min-height: 40px; width: 8rem; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; }
.xp-text input { width: 100%; }
.xp-go { justify-self: start; }
.xp-go[disabled] { opacity: .5; cursor: default; }
html[data-xp-wait] .xp__row, html[data-xp-wait] .xp__bar, html[data-xp-wait] .xp__count, html[data-xp-wait] .xp__t { visibility: hidden; }
@media (max-width: 759px) { .xp__t .xp-w, .xp__t .xp-o { display: none; } .xp__t td > .types > .type:nth-child(n+2) { display: none; } }
.xp__t .types { flex-wrap: nowrap; }
@media (min-width: 900px) {
  .xp-p { display: none; }
  .xp__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .xp__kinds { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; }
  .xp__btns { display: flex; flex: 1 1 auto; }
}
@media (max-width: 899px) { .xp-d { display: none; } }
@media (min-width: 600px) { .xp__w { display: inline; } }
