*,:before,:after{box-sizing:border-box}body{color:#212529;-webkit-font-smoothing:antialiased;background:#f8f9fa;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}.app{max-width:900px;margin:0 auto;padding:1rem}.app-header{border-bottom:2px solid #dee2e6;margin-bottom:1.5rem;padding:1rem 0}.app-header h1{color:#212529;margin:0;font-size:1.75rem;font-weight:600}.actions{flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem;display:flex}.btn{cursor:pointer;text-align:center;white-space:nowrap;border:none;border-radius:6px;padding:.55rem 1.1rem;font-size:.95rem;font-weight:500;line-height:1.4;display:inline-block}.btn-primary{color:#fff;background:#0d6efd}.btn-primary:hover{background:#0b5ed7}.btn-outline{color:#0d6efd;background:0 0;border:1.5px solid #0d6efd}.btn-outline:hover{background:#e8f0fe}.form-overlay{z-index:100;background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.bill-form{background:#fff;border-radius:10px;flex-direction:column;gap:.8rem;width:100%;max-width:440px;padding:1.5rem;display:flex}.bill-form h2{color:#212529;margin:0 0 .25rem;font-size:1.25rem}.bill-form label{color:#495057;flex-direction:column;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.bill-form input:not([type=checkbox]),.bill-form select{color:#212529;background:#fff;border:1.5px solid #ced4da;border-radius:5px;padding:.45rem .65rem;font-size:1rem}.bill-form select:focus,.bill-form input:not([type=checkbox]):focus{border-color:#0d6efd;outline:none;box-shadow:0 0 0 3px #0d6efd26}.checkbox-label{cursor:pointer;align-items:center;font-size:.95rem;color:#212529!important;flex-direction:row!important;gap:.5rem!important}.form-buttons{gap:.75rem;margin-top:.25rem;display:flex}.table-wrapper{overflow-x:auto}.bill-table{border-collapse:collapse;width:100%;font-size:.9rem}.bill-table th{text-align:left;color:#495057;white-space:nowrap;background:#e9ecef;border-bottom:2px solid #dee2e6;padding:.6rem .75rem;font-weight:600}.bill-table td{vertical-align:middle;border-bottom:1px solid #dee2e6;padding:.55rem .75rem}.bill-table tr:last-child td{border-bottom:none}.row-actions{white-space:nowrap;gap:.4rem;display:flex}.btn-small{cursor:pointer;color:#495057;background:#fff;border:1.5px solid #ced4da;border-radius:4px;padding:.25rem .65rem;font-size:.8rem}.btn-small:hover{background:#f8f9fa}.btn-danger{color:#dc3545;border-color:#dc3545}.btn-danger:hover{background:#fff5f5}.month-heading-row{border-bottom:2px solid #dee2e6;align-items:center;gap:.75rem;margin-bottom:.5rem;padding-bottom:.35rem;display:flex}.month-heading-row .month-heading{border-bottom:none;flex:1;margin:0;padding-bottom:0}.fallback-textarea{resize:vertical;border:1.5px solid #ced4da;border-radius:5px;width:100%;height:160px;padding:.5rem;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}.month-group{margin-bottom:2rem}.month-heading{color:#495057;margin:0;font-size:1.1rem;font-weight:600}.total-row td{color:#212529;background:#f1f3f5;border-top:2px solid #dee2e6;padding:.5rem .75rem;font-weight:600}.total-all td{background:#e9ecef;border-top:none}.empty-state{color:#6c757d;text-align:center;padding:2.5rem 1rem;font-size:.95rem}.processing-card{color:#495057;background:#fff;border-radius:10px;flex-direction:column;align-items:center;gap:1rem;padding:2rem 2.5rem;font-size:.95rem;display:flex}.processing-card p{margin:0}.processing-hint{color:#adb5bd;text-align:center;font-size:.78rem}.progress-pct{color:#0d6efd;font-size:1.25rem;font-weight:600}.spinner{border:3px solid #dee2e6;border-top-color:#0d6efd;border-radius:50%;width:36px;height:36px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.ocr-output{background:#f8f9fa;border:1.5px solid #dee2e6;border-radius:6px;margin-bottom:.25rem;padding:.75rem}.ocr-label{text-transform:uppercase;letter-spacing:.05em;color:#6c757d;margin:0 0 .4rem;font-size:.75rem;font-weight:600}.ocr-text{color:#495057;white-space:pre-wrap;max-height:140px;margin:0;font-family:ui-monospace,Consolas,monospace;font-size:.78rem;line-height:1.5;overflow-y:auto}
