:root{--bg:#f4f5f7;--surface:#fff;--border:#e2e5ea;--border-light:#edeff2;--ink:#14181f;--muted:#5b6472;--accent:#1b4b91;--accent-dark:#163c74;--accent-tint:rgba(27,75,145,.06);--green:#1f8a4c;--red:#c4362b;--mono:Consolas,"Liberation Mono",ui-monospace,monospace}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{min-height:100vh;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,label{font:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.page{width:80vw;max-width:none;margin:0 auto;padding:56px 24px 40px}.eyebrow{margin:8px 0 0;color:var(--accent);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.brand{display:flex;align-items:center;gap:14px}.brand img{width:52px;height:52px;border-radius:12px;object-fit:cover}.brand h1{margin:0;font-size:30px;font-weight:800;letter-spacing:-.01em}.accent-rule{width:36px;height:3px;margin:14px 0 16px;border-radius:2px;background:var(--accent)}.subtitle{max-width:none;margin:0;color:var(--muted);font-size:15px;line-height:1.5}
.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;margin-top:22px}.view-tabs{display:flex;gap:18px;margin-top:15px;border-bottom:1px solid var(--border)}.view-tab{padding:0 0 10px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:13px}.view-tab:hover:not(:disabled){background:transparent;color:var(--ink)}.view-tab.active{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.view-tab:disabled{background:transparent;color:#a8b0ba;opacity:1}.tool-card{display:flex;flex-direction:column;gap:13px;padding:22px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.tool-card h2{margin:0;font-size:16px;font-weight:700}.tool-desc{min-height:60px;margin:0;color:var(--muted);font-size:13.5px;line-height:1.5}.dropzone{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border:1.5px dashed var(--border);border-radius:8px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.dropzone:hover,.dropzone:focus-within{border-color:var(--accent);background:var(--accent-tint)}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.file-name{min-width:0;overflow:hidden;color:var(--muted);font-family:var(--mono);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.file-name.chosen{color:var(--ink)}.file-button{flex-shrink:0;padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--accent);font-size:12.5px;font-weight:600}button{padding:10px 16px;border:0;border-radius:8px;background:var(--accent);color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;transition:background-color .15s ease}button:hover:not(:disabled){background:var(--accent-dark)}button:disabled{background:#c7ccd4;cursor:not-allowed}.status{min-height:18px;margin:0;color:var(--muted);font-size:12.5px}.status.ok{color:var(--green)}.status.error{color:var(--red);font-weight:650}
.preview-panel{margin-top:22px}.preview-empty{margin:22px 0;color:var(--muted);font-size:13px}.preview{margin-top:18px}.preview:first-of-type{margin-top:0}.preview+.preview{padding-top:18px;border-top:1px solid var(--border)}.preview[hidden]+.preview{padding-top:0;border-top:0}.preview h2{margin:0;font-size:16px}.preview h2+p{margin:.25rem 0 10px;color:var(--muted);font-size:13px}.preview-table{overflow-x:auto;border:1px solid #bfc9d4;border-radius:6px;scrollbar-width:thin;scrollbar-color:#aebbc8 transparent}.preview-table::-webkit-scrollbar{height:6px;width:6px}.preview-table::-webkit-scrollbar-thumb{border-radius:999px;background:#bcc7d3}.preview-table::-webkit-scrollbar-track{background:transparent}.preview-table table{width:max-content;min-width:100%;border-collapse:collapse;font-size:12px}.preview-table th,.preview-table td{padding:.5rem .6rem;border-right:1px solid #ced6df;border-bottom:1px solid #ced6df;white-space:nowrap;text-align:left}.preview-table th{position:sticky;top:0;background:#e8edf3;color:var(--ink);font-weight:700}.preview-table tbody tr:last-child{background:#e1e8f0;font-weight:700}
.activity{margin-top:40px}.activity h2{margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.activity-list{border-top:1px solid var(--border)}.activity-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--border);font-size:13px}.activity-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-time{flex-shrink:0;color:var(--muted);font-family:var(--mono);font-size:11.5px}.activity-empty{margin:0;padding:16px 0;color:var(--muted);font-size:13px}footer{padding:0 24px 42px;text-align:center;color:var(--muted);font-size:12px;user-select:none;-webkit-user-select:none}footer p{margin:0}.built-with{margin-bottom:8px;user-select:none;-webkit-user-select:none}.built-with span{display:inline-block;margin:0 3px;padding:2px 5px;border:1px solid var(--border);border-radius:3px;background:var(--surface);color:#47515d;font-family:var(--mono);font-size:10px;font-weight:700}.built-with i{font-style:normal;color:#a8b0ba}.eyebrow{font-size:12.833px}.brand h1{font-size:31.333px}.subtitle{font-size:16.333px}.view-tab{font-size:14.333px}.tool-card h2,.preview h2{font-size:17.333px}.tool-desc{font-size:14.833px}.file-name{font-size:13.333px}.file-button,.status{font-size:13.833px}button{font-size:14.833px}.preview h2+p,.preview-empty{font-size:14.333px}.preview-table table{font-family:var(--mono);font-size:13.333px}.activity h2{font-size:13.333px}.activity-row,.activity-empty{font-size:14.333px}.activity-time{font-size:12.833px}footer{font-size:13.333px}.built-with span{font-size:11.333px}@media(max-width:480px){.page{width:100%;padding:40px 18px 32px}.brand h1{font-size:26.333px}.dropzone{flex-wrap:wrap}.tool-desc{min-height:auto}}
