*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333;line-height:1.6}.container{max-width:900px;margin:0 auto;padding:32px 20px}.page-title{font-size:2rem;font-weight:700;margin-bottom:16px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1);letter-spacing:-.5px}.tab-bar{display:flex;gap:8px;margin-bottom:24px}.tab-button{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:10px;font-size:.9375rem;font-weight:600;cursor:pointer;border:2px solid rgba(255,255,255,.3);background:#ffffff26;color:#ffffffd9;transition:all .2s ease}.tab-button:hover{background:#ffffff40;color:#fff}.tab-button-active{background:#fff;color:#667eea;border-color:#fff;box-shadow:0 4px 6px -1px #0000001a}.tab-button-active:hover{background:#fff;color:#667eea}.tab-count{background:#ffffff40;color:inherit;font-size:.75rem;font-weight:700;padding:2px 8px;border-radius:12px;min-width:22px;text-align:center}.tab-button-active .tab-count{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.center-content{display:flex;justify-content:center;padding:48px}.spinner{border:3px solid rgba(255,255,255,.3);border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.spinner-sm{width:16px;height:16px;margin-right:8px;border-width:2px}.spinner-md{width:40px;height:40px}@keyframes spin{to{transform:rotate(360deg)}}.badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:20px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge-pending{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;box-shadow:0 2px 4px #f59e0b4d}.badge-accepted{background:linear-gradient(135deg,#34d399,#10b981);color:#fff;box-shadow:0 2px 4px #10b9814d}.badge-declined{background:linear-gradient(135deg,#f87171,#ef4444);color:#fff;box-shadow:0 2px 4px #ef44444d}.badge-legacy{background:linear-gradient(135deg,#9ca3af,#6b7280);color:#fff;box-shadow:0 2px 4px #6b72804d}.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;border:none;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#5a67d8,#6b46c1)}.btn-success{background:linear-gradient(135deg,#34d399,#10b981);color:#fff}.btn-success:hover:not(:disabled){background:linear-gradient(135deg,#2dd4a0,#059669)}.btn-secondary{background:#fff;color:#4b5563;border:2px solid #e5e7eb;box-shadow:none}.btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.btn-danger{background:linear-gradient(135deg,#f87171,#ef4444);color:#fff}.btn-danger:hover:not(:disabled){background:linear-gradient(135deg,#ef4444,#dc2626)}.btn-outline-danger{background:transparent;color:#ef4444;border:2px solid #fca5a5;box-shadow:none}.btn-outline-danger:hover:not(:disabled){background:#fef2f2;border-color:#ef4444}.btn-disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed;box-shadow:none}.btn-load-more{padding:14px 40px;font-size:1rem}.webhook-card{background:#fff;border-radius:16px;padding:24px;margin-bottom:20px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transition:all .2s ease;border:1px solid rgba(255,255,255,.2)}.webhook-card:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;transform:translateY(-2px)}.webhook-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f3f4f6}.webhook-header-right{display:flex;align-items:center;gap:16px}.webhook-reference{font-family:SF Mono,Monaco,Inconsolata,monospace;font-size:.875rem;color:#667eea;background:#f0f1ff;padding:4px 10px;border-radius:6px;font-weight:500}.webhook-sum{font-size:1.5rem;font-weight:700;color:#1f2937;letter-spacing:-.5px}.webhook-name{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:8px}.webhook-details{font-size:.875rem;color:#6b7280;margin-bottom:8px;display:flex;gap:8px;flex-wrap:wrap}.webhook-details:before{content:""}.webhook-timestamp{font-size:.75rem;color:#9ca3af;margin-bottom:16px;display:flex;align-items:center;gap:4px}.webhook-actions{display:flex;gap:12px;padding-top:16px;border-top:1px solid #f3f4f6}.modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:50;padding:20px;overflow-y:auto;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:20px;padding:32px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-sm{max-width:420px}.modal-lg{max-width:720px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f3f4f6}.modal-header h2{font-size:1.5rem;font-weight:700;color:#1f2937;letter-spacing:-.5px}.modal-close{background:#f3f4f6;border:none;font-size:1.25rem;color:#6b7280;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.modal-close:hover{background:#e5e7eb;color:#1f2937}.modal-title{font-size:1.25rem;font-weight:700;margin-bottom:12px;color:#1f2937}.modal-message{color:#6b7280;margin-bottom:24px;line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:12px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:2px solid #f3f4f6}.input{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:10px;font-size:.9375rem;transition:all .2s ease;background:#fff}.input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a}.input:hover:not(:focus){border-color:#d1d5db}.input-readonly{background-color:#f9fafb;color:#6b7280}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.875rem;font-weight:600;color:#374151}.form-group-full{grid-column:1 / -1}.member-search{background:linear-gradient(135deg,#f0f1ff,#fdf2f8);border:2px solid #e5e7eb;border-radius:12px;padding:20px;margin-bottom:24px}.member-search-title{font-size:1rem;font-weight:700;margin-bottom:16px;color:#1f2937;display:flex;align-items:center;gap:8px}.member-search-title:before{content:"*";color:#ef4444}.member-list{border:2px solid #e5e7eb;border-radius:10px;max-height:180px;overflow-y:auto;margin-top:12px;background:#fff}.member-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:all .15s ease;border-bottom:1px solid #f3f4f6}.member-item:last-child{border-bottom:none}.member-item:hover{background:linear-gradient(135deg,#f0f1ff,#fdf2f8)}.member-item input{margin-left:12px;width:18px;height:18px;accent-color:#667eea}.member-selected{color:#10b981;font-size:.9375rem;font-weight:600;margin-top:12px;padding:10px 14px;background:#ecfdf5;border-radius:8px;display:flex;align-items:center;gap:8px}.member-selected:before{content:"✓";font-weight:700}.text-muted{color:#6b7280;font-size:.875rem}.warning-text{color:#d97706;font-size:.9375rem;font-weight:500;margin-bottom:20px;padding:12px 16px;background:#fffbeb;border-radius:8px;border-left:4px solid #f59e0b}.error-container{text-align:center;padding:64px 24px;background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a}.error-title{font-size:1.5rem;font-weight:700;color:#dc2626;margin-bottom:16px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f3f4f6;border-radius:4px}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}@media(max-width:640px){.container{padding:20px 16px}.page-title{font-size:1.5rem}.form-grid{grid-template-columns:1fr}.webhook-actions{flex-direction:column}.webhook-header{flex-direction:column;align-items:flex-start;gap:12px}.webhook-header-right{width:100%;justify-content:space-between}.modal-content{padding:20px;border-radius:16px}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}
