:root{--background:#090a0f;--surface:#101118;--surface-raised:#151720;--surface-soft:#1a1c26;--text:#f4f5f8;--muted:#9a9eac;--muted-strong:#c3c6d0;--line:#292c38;--line-strong:#3a3e4d;--accent:#766cf1;--accent-hover:#8e85ff;--accent-soft:rgba(118,108,241,.14);--radius:18px}
*,*::before,*::after{box-sizing:border-box}
html{color-scheme:dark}
body{margin:0;background:radial-gradient(circle at 50% 0%,rgba(118,108,241,.08),transparent 33rem),var(--background);color:var(--text);font-family:Manrope,system-ui,sans-serif;line-height:1.55}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--accent-hover);outline-offset:3px}
.shell{width:min(1440px,calc(100% - 48px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line);background:rgba(9,10,15,.86);backdrop-filter:blur(18px)}
.nav{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;font-weight:800;letter-spacing:-.02em}
.brand-mark{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised)}
.brand-mark img{width:25px;height:25px;object-fit:contain}
.home-link{color:var(--muted);font-size:.88rem;font-weight:700}.home-link:hover{color:var(--text)}
.intro{padding:76px 0 48px;max-width:850px}.eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:17px;color:var(--accent-hover);font-family:'DM Mono',monospace;font-size:.72rem;font-weight:500;letter-spacing:.17em}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--accent-hover);box-shadow:0 0 12px var(--accent)}
h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15}h1{margin-bottom:18px;font-size:clamp(2.65rem,6vw,5.4rem);font-weight:800;letter-spacing:-.065em}h1 span{color:var(--accent-hover)}.intro p{max-width:720px;margin-bottom:0;color:var(--muted-strong);font-size:1.05rem}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 24px 70px rgba(0,0,0,.14)}
.upload-panel,.filters-panel{padding:27px;margin-bottom:22px}.panel-heading,.results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-heading h2,.results-head h2{margin:0 0 5px;font-size:1.45rem;letter-spacing:-.035em}.panel-heading p,.results-head p{margin:0;color:var(--muted);font-size:.88rem}.privacy-badge{white-space:nowrap;border:1px solid rgba(118,108,241,.35);border-radius:100px;padding:7px 12px;background:var(--accent-soft);color:#c4bfff;font-size:.73rem;font-weight:800}
.dropzone{display:flex;min-height:170px;align-items:center;justify-content:center;flex-direction:column;gap:4px;margin-top:22px;border:1px dashed var(--line-strong);border-radius:14px;background:linear-gradient(150deg,rgba(118,108,241,.07),transparent 65%),var(--surface-raised);text-align:center;cursor:pointer;transition:border-color .16s,background .16s}.dropzone:hover,.dropzone.dragging{border-color:var(--accent);background:var(--accent-soft)}.dropzone strong{font-size:1.05rem}.dropzone span:last-child{color:var(--muted);font-size:.86rem}.drop-icon{display:grid;width:38px;height:38px;margin-bottom:7px;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent-hover);font-size:1.6rem}
.upload-actions,.filter-actions,.result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.upload-actions{margin-top:16px}.button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 16px;border:1px solid transparent;border-radius:10px;font-size:.82rem;font-weight:800;transition:background .16s,border-color .16s,transform .16s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.43;cursor:not-allowed}.primary{border-color:var(--accent);background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:var(--accent-hover)}.secondary{border-color:var(--line-strong);background:var(--surface-raised);color:var(--text)}.secondary:hover:not(:disabled),.subtle:hover:not(:disabled){border-color:#515665;background:var(--surface-soft)}.subtle{border-color:var(--line);background:transparent;color:var(--muted-strong)}.text-button{border:0;background:none;color:var(--accent-hover);font-size:.82rem;font-weight:800}.text-button:disabled{opacity:.4;cursor:not-allowed}.text-button:hover:not(:disabled){text-decoration:underline}
.status{margin:14px 0 0;color:var(--muted-strong);font-size:.84rem}.file-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.file-list span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);border-radius:7px;padding:5px 9px;background:var(--surface-raised);color:var(--muted-strong);font-family:'DM Mono',monospace;font-size:.72rem}.issues{margin-top:14px;border:1px solid #695343;border-radius:10px;padding:10px 14px;color:#f3be91;font-size:.82rem}.issues summary{cursor:pointer;font-weight:800}.issues ol{max-height:160px;overflow:auto;margin-bottom:0;padding-left:22px;overflow-wrap:anywhere}
.filters-panel{margin-bottom:58px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:24px}.filter-grid label,.table-tools label,.stats-head label{display:flex;flex-direction:column;gap:6px;color:var(--muted-strong);font-size:.76rem;font-weight:700}.filter-grid label.wide{grid-column:span 2}input,select{min-width:0;width:100%;height:40px;border:1px solid var(--line-strong);border-radius:8px;padding:0 10px;background:var(--surface-raised);color:var(--text);font-size:.84rem}input::placeholder{color:#727684}input:focus,select:focus{border-color:var(--accent);outline:none}.filter-actions{margin-top:22px}.error{color:#ffaaa8;font-size:.8rem}
.results-head{align-items:center;margin-bottom:16px}.tab-list{display:flex;gap:4px;margin-bottom:0;border-bottom:1px solid var(--line)}.tab{position:relative;border:0;padding:12px 20px;background:none;color:var(--muted);font-size:.85rem;font-weight:800}.tab:hover,.tab.active{color:var(--text)}.tab.active::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--accent-hover);content:''}.result-panel{min-height:360px;padding:20px;border-top:0;border-top-left-radius:0;border-top-right-radius:0}.table-tools,.stats-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px;color:var(--muted);font-size:.78rem}.table-tools label,.stats-head label{flex-direction:row;align-items:center;white-space:nowrap}.table-tools select{width:90px}.stats-head select{width:195px}.stats-head p{margin:0}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.76rem}th,td{height:39px;border-bottom:1px solid var(--line);padding:7px 13px;text-align:left}th{position:sticky;top:0;z-index:1;background:var(--surface-soft);color:var(--muted-strong);font-size:.71rem;letter-spacing:.02em}td{max-width:290px;overflow:hidden;text-overflow:ellipsis;color:#e0e2e9}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:rgba(118,108,241,.08)}#events-table tbody tr{cursor:pointer}#events-table tbody tr.selected{background:var(--accent-soft)}th button{border:0;padding:0;background:none;color:inherit;font-size:inherit;font-weight:inherit;white-space:nowrap}th button:hover{color:var(--accent-hover)}.empty-cell{height:95px;color:var(--muted);text-align:center}.pager{display:flex;align-items:center;justify-content:center;gap:14px;margin:17px 0 23px;color:var(--muted-strong);font-size:.8rem}.pager .button{min-height:34px}.detail-head{display:flex;align-items:center;justify-content:space-between}.detail-head h3{margin:0 0 10px;font-size:1rem}.detail{max-height:420px;min-height:160px;overflow:auto;margin:0;border:1px solid var(--line);border-radius:10px;padding:17px;background:#0b0c12;color:#cfd2ea;font-family:'DM Mono',monospace;font-size:.75rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.footer{padding:44px 0 30px;color:var(--muted);font-size:.75rem;text-align:center}
@media(max-width:900px){.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.results-head,.stats-head{align-items:flex-start;flex-direction:column}.result-actions{width:100%}}
@media(max-width:570px){.shell{width:min(100% - 28px,1440px)}.intro{padding:54px 0 36px}.upload-panel,.filters-panel{padding:19px}.panel-heading{flex-direction:column}.filter-grid{grid-template-columns:1fr}.filter-grid label.wide{grid-column:auto}.table-tools{align-items:flex-start;flex-direction:column}.upload-actions .button{flex:1}.result-panel{padding:12px}.pager{gap:8px}.home-link{font-size:.75rem}}
