/* Excel-style interactions with the Latest Operation Tracker workbench skin. */
.table-wrap{overflow:auto;max-height:65vh;border-top:1px solid var(--line);scroll-padding:46px 0 0 220px;background:var(--surface-strong)}
.table-wrap:focus-visible{outline:3px solid rgba(53,92,255,.18);outline-offset:-3px}
.table-wrap table{min-width:940px;width:100%;border-collapse:separate;border-spacing:0;background:var(--surface-strong);text-align:left;white-space:nowrap}
.table-wrap thead{position:sticky;top:0;z-index:5}
.table-wrap th{position:sticky;top:0;z-index:3;padding:12px 17px;border-bottom:1px solid var(--line);background:#f8faf7;color:var(--muted);font-size:10px;font-weight:600}
.table-wrap td{height:58px;padding:13px 17px;border-bottom:1px solid #eef0ec;border-right:1px solid #f4f5f2;color:color-mix(in srgb,var(--ink),var(--muted) 22%);font-size:12px;cursor:cell;user-select:none}
.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;min-width:220px;box-shadow:1px 0 0 var(--line)}
.table-wrap th:first-child{z-index:6}
.table-wrap td:first-child{z-index:2;background:var(--surface-strong);font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;color:var(--ink);font-weight:650}
.table-wrap tbody tr:hover,.table-wrap tbody tr:hover td:first-child{background:#fafcf8}
.table-wrap tr.group-even,.table-wrap tr.group-even td:first-child{background:#fbfcfa}
.table-wrap tr.group-even:hover,.table-wrap tr.group-even:hover td:first-child{background:#f5f7f2}
.table-wrap td.selected-cell,.table-wrap tr.group-even td.selected-cell,.table-wrap tbody tr:hover td.selected-cell{background:#e9eeff;box-shadow:inset 0 0 0 2px var(--brand);color:var(--ink)}
.table-wrap td.active-cell{box-shadow:inset 0 0 0 3px var(--ink)}
.table-wrap td.selected-cell.active-cell{box-shadow:inset 0 0 0 2px var(--brand),inset 0 0 0 4px var(--ink)}
.table-wrap td.empty{cursor:default;position:static;padding:54px 18px;text-align:center;font-family:inherit;color:var(--muted)}
.sort-button{min-height:28px;padding:3px 0;border:0;background:transparent;color:inherit;font-size:10px;text-align:left;box-shadow:none}
.sort-button:hover:not(:disabled){box-shadow:none;color:var(--ink)}
.sort-button span{margin-left:7px;color:#9aa3ff}
.filter-button{margin-left:8px;min-height:24px;padding:4px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-strong);color:var(--muted);font-size:9px;box-shadow:none}
.filter-button:hover,.filter-button.active{border-color:rgba(53,92,255,.28);background:var(--soft);color:var(--brand);box-shadow:none}
.filter-popover{position:fixed;z-index:30;width:min(320px,calc(100vw - 28px));max-height:min(520px,calc(100dvh - 28px));padding:16px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:var(--surface-strong);box-shadow:0 20px 58px rgba(0,0,0,.16)}
.filter-popover-head,.filter-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}
.filter-popover-head strong{font-size:13px}
.filter-popover button{min-height:28px;padding:5px 10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:11px;border-radius:999px;box-shadow:none}
.filter-popover .popover-close{width:28px;padding:0;font-size:18px}
.filter-search{width:100%;min-height:36px;margin:12px 0;padding:9px 12px;border-radius:999px;font-size:12px}
.filter-tools{margin-bottom:10px;color:var(--muted);font-size:10px}
.filter-option-list{display:grid;align-content:start;gap:4px;overflow:auto;min-height:45px;max-height:280px;padding-right:4px}
.filter-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px;border-radius:11px;font-size:12px;font-weight:400;cursor:pointer}
.filter-option span{overflow-wrap:anywhere}
.filter-option:hover{background:#f3f5f1}
.filter-option input{appearance:none;width:16px;height:16px;min-height:16px;margin:0;padding:0;border:1.5px solid #cfd5cf;border-radius:5px;background:#fff}
.filter-option input:checked{background:var(--brand);border-color:var(--brand)}
.filter-option input:checked:after{content:"";display:block;width:7px;height:4px;margin:4px 0 0 3px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.filter-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.filter-footer [data-action="ok"]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.filter-empty{font-size:12px;color:var(--muted);padding:15px 8px}
.copy-toast{position:fixed;left:50%;top:78px;right:auto;bottom:auto;transform:translateX(-50%);z-index:40;width:fit-content;max-width:min(720px,calc(100% - 28px));padding:12px 18px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(18,23,30,.88);color:#fff;font-size:12px;font-weight:650;box-shadow:0 14px 34px rgba(0,0,0,.16);pointer-events:none}
@media(max-width:700px){.table-wrap{max-height:62vh;scroll-padding-left:200px}.table-wrap th:first-child,.table-wrap td:first-child{min-width:200px}.copy-toast{top:68px;width:calc(100% - 28px);text-align:center}.filter-popover{border-radius:18px}}
