/* v6.4.0 — compact professional SortBy/search controls for data tables. */
.smart-sort-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 8px;padding:8px;border:1px solid color-mix(in srgb,var(--blue,#1769ff) 18%,#dfe6f1);border-radius:14px;background:rgba(255,255,255,.72);box-shadow:0 6px 20px rgba(25,53,94,.06)}
.smart-sort-tools label{display:flex;align-items:center;gap:7px;margin:0}.smart-sort-search{flex:1 1 210px;min-width:160px}.smart-sort-search input{width:100%;min-width:0}.smart-sort-select{flex:0 1 260px}.smart-sort-select span{font-size:11px;font-weight:900;color:var(--muted,#718096);white-space:nowrap}.smart-sort-select select{min-width:150px;max-width:220px}.smart-sort-dir,.smart-sort-reset{min-height:34px;border:1px solid var(--line,#d9e1ec);border-radius:10px;background:#fff;padding:6px 10px;font-weight:800;color:var(--site-text-color,#182236);cursor:pointer}.smart-sort-dir:hover,.smart-sort-reset:hover{border-color:var(--blue,#1769ff);color:var(--blue,#1769ff)}.smart-sort-count{margin-left:auto;font-size:11px;font-weight:800;color:var(--muted,#718096);white-space:nowrap}
th.smart-sortable{cursor:pointer;user-select:none;white-space:nowrap}th.smart-sortable:hover{box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--blue,#1769ff) 55%,transparent)}.smart-sort-indicator{display:inline-grid;place-items:center;margin-left:5px;min-width:16px;height:16px;border-radius:999px;font-size:10px;line-height:1;background:rgba(255,255,255,.55);opacity:.7}th.is-sort-asc .smart-sort-indicator,th.is-sort-desc .smart-sort-indicator{background:var(--blue,#1769ff);color:#fff;opacity:1}
@media(max-width:620px){.smart-sort-tools{gap:6px;padding:7px}.smart-sort-search{flex:1 1 100%}.smart-sort-select{flex:1 1 calc(100% - 112px)}.smart-sort-select select{width:100%;max-width:none}.smart-sort-dir{flex:0 0 auto}.smart-sort-reset{padding-inline:8px}.smart-sort-count{width:100%;margin-left:0;text-align:right}}
