:root {
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
}

a:hover {
    color: #535bf2;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 2rem;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

#app {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}


#fileInput {
    border: 2px dashed #aaa;
    border-radius: 8px;
    padding: 1.2rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: #666;
}

#fileInput:hover,
#fileInput.active {
    border-color: #333;
    background: #fafafa;
}

input[type="file"] {
    display: none;
}

.status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
}

.output {
    margin-top: 4rem;
}

pre {
    background: #333;
    color: #999;
    text-align: left;
    word-wrap: break-word;
    text-wrap: pretty;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    max-width: 600px;
    max-height: 400px;
}