:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:2rem;line-height:1.1}h3{font-size:1.25rem}h4{font-size:1rem;font-weight:500}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:background-color .2s,border-color .2s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:2px solid #646cff;outline-offset:2px}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}button{background-color:#f9f9f9}}.app{max-width:1200px;margin:0 auto;padding:2rem}header{text-align:center;margin-bottom:2rem}header h1{margin-bottom:.5rem}header p{color:#888;max-width:600px;margin:0 auto}.form{background:#1a1a1a;padding:2rem;border-radius:12px;margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input[type=file]{width:100%;padding:1rem;border:2px dashed #444;border-radius:8px;background:transparent;cursor:pointer}.form-group input[type=number]{width:100%;padding:.75rem 1rem;border:1px solid #444;border-radius:8px;background:#242424;color:inherit;font-size:1rem;box-sizing:border-box}.form-group input[type=number]:focus{border-color:#646cff;outline:none}.file-name{display:block;margin-top:.5rem;color:#888;font-size:.9rem}.form button{width:100%;padding:1rem;font-size:1.1rem;background:#646cff;color:#fff;border:none}.form button:hover:not(:disabled){background:#535bf2}.form button:disabled{background:#444;cursor:not-allowed}.results{background:#1a1a1a;padding:2rem;border-radius:12px}.error{background:#ff50501a;border:1px solid #ff5050;border-radius:8px;padding:1rem}.error h3{color:#ff5050;margin-top:0}.summary{margin-bottom:2rem}.summary h3{margin-top:0}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.summary-item{background:#242424;padding:1rem;border-radius:8px;text-align:center}.summary-item .label{display:block;color:#888;font-size:.85rem;margin-bottom:.5rem}.summary-item .value{display:block;font-size:1.5rem;font-weight:600}.download-btn{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:1rem}.download-btn:hover{background:#059669}.benford-analysis{margin-bottom:2rem}.benford-analysis h3{margin-top:0}.benford-legend{color:#888;font-size:.85rem;margin-bottom:1rem}.warnings{margin-bottom:1rem}.warning{background:#ffb4001a;border:1px solid #ffb400;color:#ffb400;padding:.75rem 1rem;border-radius:8px;margin-bottom:.5rem;font-size:.9rem}.benford-section{margin-bottom:1.5rem}.benford-section h4{margin-bottom:.75rem;color:#888}.benford-table{width:100%;border-collapse:collapse;font-size:.9rem}.benford-table th,.benford-table td{padding:.5rem .75rem;text-align:right;border-bottom:1px solid #333}.benford-table th{color:#888;font-weight:500}.benford-table th:first-child,.benford-table td:first-child{text-align:center}.benford-table .improved{color:#10b981}.benford-stats{display:flex;gap:2rem;margin-top:.75rem;font-size:.85rem;color:#888;flex-wrap:wrap}.interpretation{font-weight:600}.interpretation.pass{color:#10b981}.interpretation.suspicious{color:#ffb400}.interpretation.fail{color:#ff5050}.changes h3{margin-top:0}.changes-table-container{overflow-x:auto}.changes-table{width:100%;border-collapse:collapse;font-size:.85rem}.changes-table th,.changes-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid #333}.changes-table th{color:#888;font-weight:500;white-space:nowrap}.changes-table .description{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.changes-table .negative{color:#ff5050}.changes-table .positive{color:#10b981}.more-changes{color:#888;font-size:.85rem;text-align:center;margin-top:.5rem}@media(prefers-color-scheme:light){.form,.results{background:#f5f5f5}.summary-item{background:#fff}.form-group input[type=file]{border-color:#ccc}.form-group input[type=number]{background:#fff;border-color:#ccc}.benford-table th,.benford-table td,.changes-table th,.changes-table td{border-bottom-color:#ddd}}
