*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f5f5;color:#222}.container{max-width:700px;margin:0 auto;padding:8px}.header{text-align:center;padding:12px 0 8px;border-bottom:2px solid #222;margin-bottom:12px}.header h1{font-size:22px;font-weight:700;letter-spacing:1px}.header h2{font-size:16px;font-weight:600;margin-top:2px}.header p{font-size:13px;color:#555}.date-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;justify-content:center}.date-row input{font-size:16px;padding:8px 12px;border:1px solid #ccc;border-radius:6px}.date-row .nav-btn{font-size:20px;padding:6px 14px;border:1px solid #ccc;border-radius:6px;background:#fff;cursor:pointer}.tabs{display:flex;gap:8px;margin-bottom:12px;justify-content:center}.tabs button{padding:8px 20px;border:1px solid #ccc;border-radius:6px;background:#fff;font-size:14px;cursor:pointer}.tabs button.active{background:#222;color:#fff;border-color:#222}.sheet-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #bbb}.sheet-table th{background:#333;color:#fff;font-size:12px;padding:8px 4px;text-align:center;font-weight:600}.sheet-table td{border:1px solid #ddd;padding:2px;text-align:center;vertical-align:middle}.sheet-table td:first-child{font-weight:700;font-size:15px;width:42px;background:#f9f9f9}.sheet-table input[type=text],.sheet-table input[type=number]{width:100%;border:none;font-size:14px;padding:8px 4px;text-align:center;background:transparent;outline:none}.sheet-table input[type=number]{-moz-appearance:textfield}.sheet-table input::-webkit-outer-spin-button,.sheet-table input::-webkit-inner-spin-button{-webkit-appearance:none}.sheet-table input:focus{background:#fffde7}.row-filled,.row-filled td{background:#e8f5e9!important}.total-row td{font-weight:700;font-size:15px;background:#f0f0f0!important;border-top:2px solid #333}.submit-row{text-align:center;margin-top:16px}.submit-btn{padding:14px 40px;font-size:16px;font-weight:700;border:none;border-radius:8px;background:#2e7d32;color:#fff;cursor:pointer}.submit-btn:disabled{background:#aaa;cursor:default}.submitted-badge{display:inline-block;padding:10px 24px;background:#e8f5e9;color:#2e7d32;border-radius:8px;font-weight:700;font-size:15px;border:2px solid #2e7d32}.church-name{width:100%;margin-top:4px;padding:4px 6px;font-size:12px;border:1px solid #ccc;border-radius:4px;background:#fffde7}.photo-section{margin-bottom:16px}.photo-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.photo-thumb{position:relative;width:80px;height:80px;border-radius:6px;overflow:hidden;border:1px solid #ddd}.photo-thumb img{width:100%;height:100%;object-fit:cover;cursor:pointer}.photo-del{position:absolute;top:2px;right:2px;background:#dc2626d9;color:#fff;border:none;border-radius:50%;width:20px;height:20px;font-size:11px;cursor:pointer;line-height:20px;text-align:center;padding:0}.notes-field{width:100%;padding:12px;font-size:14px;font-family:inherit;border:1px solid #ddd;border-radius:8px;resize:vertical;margin-bottom:16px;background:#fafafa}.notes-field:focus{outline:none;border-color:#2e7d32;background:#fff}.history-list{background:#fff;border-radius:8px;border:1px solid #ddd}.history-item{padding:14px 16px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.history-item:last-child{border-bottom:none}.history-item:hover{background:#f5f5f5}@media print{body{background:#fff}.tabs,.submit-row,.date-row .nav-btn{display:none}.sheet-table input{border:none}.container{max-width:100%}}
