:root{color-scheme:light;--bg:#f5f5f7;--surface:#fff;--surface-subtle:#fafafc;--surface-dark:#000;--text:#1d1d1f;--text-soft:#1d1d1fb8;--text-faint:#1d1d1f7a;--text-dark:#fff;--text-dark-soft:#ffffffc2;--line:#1d1d1f14;--line-dark:#ffffff24;--accent:#0071e3;--accent-hover:#0077ed;--link:#06c;--link-dark:#2997ff;--good:#2d7d46;--warn:#b26b00;--bad:#c9342c;--radius:12px;--pill-radius:980px}*{box-sizing:border-box}html{background:var(--bg)}body{-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--text);min-height:100vh;margin:0;font-family:SF Pro Text,SF Pro Display,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif}.wrap{max-width:1480px;margin:0 auto;padding:32px 24px 48px}.hero{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:18px;margin-bottom:24px;display:grid}.card{background:var(--surface);border-radius:var(--radius);box-shadow:inset 0 0 0 1px var(--line);min-width:0;padding:28px}.hero>*,.grid>*,.charts-2>*,.inline>*,.content-grid,.controls{min-width:0}.hero-primary{color:var(--text-dark);text-align:center;background:#1d1d1f;place-items:center;min-height:360px;display:grid;box-shadow:inset 0 0 0 1px #ffffff0a}.hero-primary .title{max-width:12ch;line-height:120%}.hero-primary .subtitle{color:var(--text-dark-soft);max-width:40rem}.hero-primary .mono{color:var(--text-dark)}.hero-primary .pill-row{justify-content:center}.hero-secondary{flex-direction:column;justify-content:space-between;display:flex}.hero-secondary .subtitle{max-width:none}.title{letter-spacing:-.028em;margin:0 0 12px;font-family:SF Pro Display,SF Pro Text,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(2.5rem,4vw,3.5rem);font-weight:600;line-height:1.07}.subtitle{color:var(--text-soft);letter-spacing:-.022em;margin:0;font-size:17px;line-height:1.47}.pill-row{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.pill{border-radius:var(--pill-radius);color:var(--text-dark-soft);letter-spacing:-.01em;background:#ffffff0f;border:1px solid #ffffff24;padding:8px 14px;font-size:12px;line-height:1.33}h2{letter-spacing:-.024em;color:inherit;margin:0 0 16px;font-family:SF Pro Display,SF Pro Text,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(1.6rem,2vw,2.125rem);font-weight:600;line-height:1.14}h3{letter-spacing:-.014em;margin:0 0 10px;font-size:21px;font-weight:600;line-height:1.19}.grid{grid-template-columns:minmax(320px,360px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.controls{gap:18px;display:grid;position:sticky;top:24px}label{letter-spacing:-.01em;color:var(--text-soft);margin-bottom:8px;font-size:12px;font-weight:600;line-height:1.33;display:block}input,select,textarea{background:var(--surface-subtle);width:100%;color:var(--text);font:inherit;box-shadow:inset 0 0 0 1px var(--line);border:1px solid #0000;border-radius:11px;outline:none;padding:12px 14px;transition:box-shadow .15s,background-color .15s}input::placeholder,textarea::placeholder{color:var(--text-faint)}input:focus,select:focus,textarea:focus{background:#fff;box-shadow:inset 0 0 0 1px #0071e36b,0 0 0 2px #0071e32e}textarea{resize:vertical;min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5}input[type=file]{box-shadow:none;background:0 0;padding:0}input[type=file]::file-selector-button{border-radius:var(--pill-radius);background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:0;margin-right:12px;padding:10px 16px;transition:background-color .12s}input[type=file]::file-selector-button:hover{background:var(--accent-hover)}button{cursor:pointer;background:var(--accent);color:#fff;border-radius:var(--pill-radius);letter-spacing:-.022em;border:1px solid #0000;width:auto;min-width:128px;padding:12px 18px;font-size:17px;font-weight:400;line-height:1;transition:transform .12s,background-color .12s,color .12s,border-color .12s}button:hover{background:var(--accent-hover);transform:translateY(-1px)}button:active{transform:translateY(0)}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.secondary{color:var(--link);background:0 0;border-color:#0066cc38}button.secondary:hover{background:#0066cc0d}.muted{color:var(--text-soft)}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.inline{grid-template-columns:1fr 1fr;gap:10px;display:grid}.triple{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.stat{background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;flex-direction:column;justify-content:space-between;padding:18px;display:flex}.stat .k{color:var(--text-soft);letter-spacing:-.01em;margin-bottom:8px;font-size:12px;font-weight:600;line-height:1.33}.stat .v{letter-spacing:-.03em;font-family:SF Pro Display,SF Pro Text,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(1.9rem,3vw,2.5rem);font-weight:600;line-height:1.07}#statDate{font-size:clamp(1.5rem,2vw,2rem)}.content-grid{gap:18px;display:grid}.charts-2{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px;display:grid}.card-dark{background:var(--surface-dark);color:var(--text-dark);box-shadow:inset 0 0 0 1px #ffffff0f}.card-dark .subtitle,.card-dark .muted,.card-dark .footer-note,.card-dark label{color:var(--text-dark-soft)}.card-dark button.secondary{color:var(--link-dark);border-color:#2997ff3d}.chart{width:100%;height:420px}.table-wrap{background:var(--surface-subtle);max-width:100%;box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;overflow:auto}.table-wrap-scroll{max-height:500px}table{border-collapse:separate;border-spacing:0;width:100%;min-width:760px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;letter-spacing:-.016em;padding:14px 16px;font-size:14px;line-height:1.43}th{backdrop-filter:saturate(180%)blur(20px);z-index:1;color:#1d1d1fb8;background:#fafafceb;font-weight:600;position:sticky;top:0}tbody tr:last-child td{border-bottom:0}tr:hover td{background:#0071e30a}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}pre{white-space:pre-wrap;word-break:break-word;background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);color:var(--text);border-radius:12px;margin:0;padding:16px;font-size:12px;line-height:1.5;overflow:auto}.section-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.file-input{background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;padding:12px}details{background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;padding:16px}summary{cursor:pointer;font-weight:600;line-height:1.24}.ok{color:var(--good)}.warn{color:var(--warn)}.bad{color:var(--bad)}.footer-note{color:var(--text-soft);letter-spacing:-.01em;margin-top:16px;font-size:12px;line-height:1.5}.page-footer{color:var(--text-soft);letter-spacing:-.01em;text-align:center;margin-top:28px;padding:8px 4px 0;font-size:12px;line-height:1.5}.page-footer a{color:var(--link);text-decoration:none}.page-footer a:hover{text-decoration:underline}.drag-overlay{z-index:50;backdrop-filter:saturate(180%)blur(20px);color:var(--text);text-align:center;pointer-events:none;opacity:0;visibility:hidden;background:#f5f5f7e0;border:2px dashed #0071e357;border-radius:20px;place-items:center;padding:24px;transition:opacity .16s,visibility .16s,transform .16s;display:grid;position:fixed;inset:20px;transform:scale(.985)}.drag-overlay strong{letter-spacing:-.024em;margin-bottom:8px;font-family:SF Pro Display,SF Pro Text,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(1.6rem,3vw,2.25rem);font-weight:600;line-height:1.14;display:block}.drag-overlay span{letter-spacing:-.016em;color:var(--text-soft);font-size:14px;line-height:1.43}body.is-file-dragging .drag-overlay{opacity:1;visibility:visible;transform:scale(1)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#1d1d1f2e;border-radius:999px}::-webkit-scrollbar-track{background:0 0}@media (width<=1100px){.hero,.grid,.charts-2,.stats{grid-template-columns:1fr}.controls{position:static}.hero-primary{min-height:auto}.chart{height:360px}}@media (width<=720px){.wrap{padding:20px 16px 32px}.card{padding:22px}.inline,.triple,.stats{grid-template-columns:1fr}.section-actions button{width:100%}.drag-overlay{padding:20px;inset:12px}table{min-width:560px}}@media (width<=420px){table{min-width:480px}}
