*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f5f6f8;color:#1a1a1a}.page{max-width:640px;margin:0 auto;padding:48px 20px 80px}header{text-align:center;margin-bottom:32px}h1{font-size:28px;margin:0 0 8px}.subtitle{color:#666;margin:0}.dropzone{border:2px dashed #c3c8d1;border-radius:12px;padding:48px 24px;text-align:center;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}.dropzone.dragging{border-color:#2563eb;background:#eef3ff}.dropzone p{margin:4px 0}.hint{font-size:13px;color:#888}.file-list{list-style:none;padding:0;margin:16px 0}.file-list li{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #e3e5e9;border-radius:8px;padding:8px 12px;margin-bottom:8px;font-size:14px}.file-list button{background:none;border:none;color:#999;font-size:18px;cursor:pointer;line-height:1}.file-list button:hover{color:#d33}.primary{display:block;width:100%;margin-top:16px;padding:14px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer}.primary:disabled{background:#b7c4e0;cursor:not-allowed}.error{color:#c0392b;background:#fdecea;border-radius:8px;padding:10px 14px;font-size:14px}.result{background:#fff;border:1px solid #e3e5e9;border-radius:12px;padding:28px 32px}.result-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:16px}.period{font-size:14px;color:#666}.grand-total{font-size:36px;font-weight:700;line-height:1.2;margin-top:2px}.grand-total-label{font-size:12px;color:#999;text-transform:uppercase;letter-spacing:.04em}.download{padding:10px 18px;background:#fff;border:1px solid #2563eb;color:#2563eb;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}.download:hover{background:#eef3ff}.narrative{font-size:15px;color:#333;line-height:1.5}.notes{background:#fffaf0;border:1px solid #f4dfa8;border-radius:8px;padding:12px 16px;font-size:14px;margin:16px 0}.notes ul{margin:6px 0 0;padding-left:18px}.reconciliation{border-radius:8px;padding:10px 16px;font-size:13px;margin:12px 0 16px;line-height:1.5}.reconciliation.ok{background:#f0fdf4;border:1px solid #bbf0cc;color:#14532d}.reconciliation.mismatch{background:#fef2f2;border:1px solid #f3c2c2;color:#7f1d1d}.source{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;text-transform:uppercase;letter-spacing:.02em}.source-printed{background:#f1f3f5;color:#555}.source-inferred{background:#fff3cd;color:#8a6416}.source-calculated{background:#e0e9ff;color:#3547a3}h2{font-size:16px;margin:28px 0 10px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{padding:9px 12px;text-align:left;font-size:14px;border-bottom:1px solid #eee}th{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#888;font-weight:600}th.num,td.num{text-align:right}tr.top-row td{font-weight:700}.badge{display:inline-block;background:#2563eb;color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;padding:2px 6px;border-radius:4px;margin-right:8px;vertical-align:middle}.bar-cell{background-repeat:no-repeat}.hint.notice{margin:.5rem 0 0;text-align:center}.progress{margin:16px 0;padding:14px 16px;background:#fff;border:1px solid #e3e5e9;border-radius:8px}.progress-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;font-size:14px}.progress-label{font-weight:600}.progress-elapsed{color:#666;font-variant-numeric:tabular-nums}.progress-track{height:10px;background:#e8ecf3;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:#2563eb;border-radius:999px;transition:width .3s ease-out}.progress-fill.is-working{background-image:linear-gradient(90deg,#2563eb,#5b8cf0,#2563eb);background-size:200% 100%;animation:progress-sheen 1.6s linear infinite}@keyframes progress-sheen{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.progress-fill,.progress-fill.is-working{transition:none;animation:none}}.progress-detail{margin:8px 0 0;font-size:13px;color:#666}.dropzone.locked{pointer-events:none;opacity:.6}.muted{color:#666}.hint{color:#8a6d00;font-size:12px}.total-row td{font-weight:600;border-top:2px solid #c3c8d1}.unmapped-row td{background:#fff8e1}.diff{font-variant-numeric:tabular-nums;white-space:nowrap}.diff-ok{color:#1e7b34}.diff-bad{color:#c0392b;font-weight:600}.diff-missing{color:#8a6d00}.report-notes{padding-left:20px;font-size:14px;line-height:1.5}.download-hint{font-size:13px;margin:-4px 0 12px}
