*{box-sizing:border-box;padding:0}*,body{margin:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f1f5f9;color:#0f172a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root,.App,.app-root{min-height:100vh}.app-root{display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#1e1b4b,#3730a3 48%,#4f46e5);box-shadow:0 4px 24px #1e1b4b40;color:#fff;flex-shrink:0}.app-header-inner{margin:0 auto;max-width:920px;padding:1.1rem 1.5rem}.app-header-bar{flex-wrap:wrap;gap:1.25rem;justify-content:space-between}.app-header-bar,.app-top-nav{align-items:center;display:flex}.app-top-nav{flex-shrink:0;gap:6px}.app-top-nav-link{border-radius:10px;color:#ffffffd1;font-size:.88rem;font-weight:600;padding:8px 14px;text-decoration:none;transition:background .15s,color .15s}.app-top-nav-link:hover{background:#ffffff1f;color:#fff}.app-top-nav-link.active{background:#ffffff38;box-shadow:0 1px 0 #00000014;color:#fff}.app-brand{align-items:center;display:flex;gap:14px}.app-brand-mark{background:linear-gradient(145deg,#ffffff59,#ffffff14);border:1px solid #ffffff40;border-radius:12px;box-shadow:0 2px 8px #0000001f;height:40px;width:40px}.app-brand-text{display:flex;flex-direction:column;gap:2px}.app-brand-title{font-size:1.15rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}.app-brand-sub{color:#ffffffc7;font-size:.8rem;font-weight:500;line-height:1.3}.app-body{background:radial-gradient(ellipse 80% 50% at 50% -20%,#6366f11f,#0000),linear-gradient(180deg,#f8fafc,#eef2ff);flex:1 1;min-height:0;padding:1.75rem 1.25rem 2.5rem}@media (min-width:640px){.app-body{padding:2rem 1.75rem 3rem}}.card{background:#fff;border:1px solid #e2e8f0f2;border-radius:16px;box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a0f}.btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:600;gap:8px;justify-content:center;padding:10px 20px;transition:background .2s,transform .15s,box-shadow .2s}.btn-primary{background:linear-gradient(180deg,#6366f1,#4f46e5);box-shadow:0 2px 8px #4f46e559;color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(180deg,#4f46e5,#4338ca);box-shadow:0 4px 14px #4f46e566}.btn-primary:disabled{box-shadow:none;cursor:not-allowed;opacity:.6}.btn-secondary{background:#f1f5f9;border:1px solid #e2e8f0;color:#334155}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-danger{background:#fee2e2;color:#dc2626}.btn-danger:hover:not(:disabled){background:#fecaca}.btn-outline-danger{background:#fff;border:1.5px solid #fecaca;color:#b91c1c}.btn-outline-danger:hover:not(:disabled){background:#fef2f2;border-color:#f87171}.btn-outline-danger:disabled{cursor:not-allowed;opacity:.55}.btn-sm{font-size:.82rem;padding:6px 12px}.form-label{color:#374151;display:block;font-size:.85rem;font-weight:600;margin-bottom:6px}.form-input{background:#fafafa;border:1px solid #e2e8f0;border-radius:10px;box-sizing:border-box;font-size:.9rem;max-width:100%;padding:10px 12px;transition:border-color .15s,box-shadow .15s,background .15s;width:100%}.form-input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f12e;outline:none}.badge{border-radius:20px;display:inline-flex;font-size:.72rem;font-weight:600;padding:2px 8px}.badge-token{background:#ede9fe;color:#6d28d9}.badge-voucher{background:#dbeafe;color:#2563eb}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 24px 64px #0f172a33;display:flex;flex-direction:column;max-height:85vh;max-width:94vw;width:560px}.modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:18px 22px}.modal-header h2{color:#1e1b4b;font-size:1.1rem;margin:0}.modal-close{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:1.5rem;line-height:1}.modal-body{flex:1 1;overflow-y:auto;padding:20px 22px}.modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:10px;justify-content:flex-end;padding:14px 22px}.loading-container{align-items:center;color:#6b7280;display:flex;gap:12px;padding:1rem 0}.spinner{animation:spin .7s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#6366f1;height:22px;width:22px}@keyframes spin{to{transform:rotate(1turn)}}.empty-state{color:#6b7280;font-size:.9rem;padding:1.5rem;text-align:center}.settings-page{margin:0 auto;max-width:820px}.settings-hero{margin-bottom:1.5rem}.page-header h1{color:#0f172a;font-size:clamp(1.35rem,2.5vw,1.65rem);font-weight:700;letter-spacing:-.03em;margin:0 0 .5rem}.page-header p{color:#64748b;font-size:.95rem;line-height:1.55;margin:0 0 1rem;max-width:68ch}.page-header p strong{color:#4338ca;font-weight:600}.settings-card{margin-bottom:1.25rem;padding:1.5rem 1.5rem 1.35rem}.settings-step-card{border-left:4px solid #818cf8;padding-left:1.35rem;position:relative}.settings-step-card-highlight{background:linear-gradient(135deg,#fff,#f5f3ff 55%,#fff);border-left-color:#4f46e5}.settings-step-kicker{color:#6366f1;font-size:.72rem;font-weight:700;letter-spacing:.08em;margin-bottom:.35rem;text-transform:uppercase}.settings-api-key-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.settings-enable-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:14px 16px}.settings-enable-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.settings-enable-title{color:#1e1b4b;font-size:.95rem;font-weight:600}.settings-enable-sub{color:#64748b;font-size:.8rem}.settings-toggle-wrap{align-items:center;display:flex;flex-shrink:0;gap:12px}.settings-toggle{background:#cbd5e1;border:none;border-radius:999px;cursor:pointer;flex-shrink:0;height:30px;padding:0;position:relative;transition:background .2s ease;width:52px}.settings-toggle:focus-visible{outline:2px solid #6366f1;outline-offset:3px}.settings-toggle-on{background:linear-gradient(180deg,#6366f1,#4f46e5);box-shadow:0 2px 8px #4f46e559}.settings-toggle:disabled{cursor:not-allowed;opacity:.45}.settings-toggle-thumb{background:#fff;border-radius:50%;box-shadow:0 1px 4px #0f172a33;height:24px;left:3px;position:absolute;top:3px;transition:transform .2s ease;width:24px}.settings-toggle-on .settings-toggle-thumb{transform:translateX(22px)}.settings-toggle-label{color:#475569;font-size:.88rem;font-weight:700;min-width:2rem}.settings-toggle-label-disabled{color:#94a3b8}.settings-confirm-modal{max-width:440px;width:100%}.settings-modal-text{color:#475569;font-size:.9rem;line-height:1.55;margin:0}.settings-section{margin-bottom:1.75rem}.settings-section h2{color:#312e81;font-size:1.02rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .75rem}.settings-section-api-key .settings-hint{margin-top:.75rem}.settings-api-key-status{align-items:center;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;display:flex;flex-wrap:wrap;font-size:.9rem;gap:10px 14px;padding:12px 14px}.settings-api-key-status-saved{background:#ecfdf5;border-color:#a7f3d0}.settings-api-key-status-label{color:#374151;font-weight:600}.settings-api-key-status-saved .settings-api-key-status-label{color:#065f46}.settings-api-key-status-mask{color:#047857;font-family:ui-monospace,monospace;font-weight:600;letter-spacing:.02em}.settings-tenant-warning{background:#fffbeb;border-left:4px solid #f59e0b;margin-bottom:1rem;padding:1rem 1.25rem}.settings-tenant-warning strong{color:#92400e;display:block;margin-bottom:.5rem}.settings-tenant-warning p{color:#78350f;font-size:.9rem;line-height:1.5;margin:0}.settings-section-actions{margin-top:1rem}.settings-hint{color:#6b7280;font-size:.85rem;line-height:1.45;margin:0 0 1rem}.settings-muted{color:#9ca3af;font-size:.9rem}.settings-check{align-items:center;cursor:pointer;display:flex;font-size:.9rem;gap:8px;margin-top:12px}.reward-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.reward-list{list-style:none;margin:0;padding:0}.reward-row{align-items:center;background:linear-gradient(180deg,#fafafa,#f8fafc);border:1px solid #e2e8f0;border-radius:12px;display:flex;gap:12px;justify-content:space-between;margin-bottom:8px;padding:12px 14px;transition:border-color .15s}.reward-row:hover{border-color:#c7d2fe}.reward-row-main{align-items:center;display:flex;flex-wrap:wrap;gap:10px;min-width:0}.reward-title{color:#374151;font-size:.9rem;word-break:break-word}.reward-row-actions{display:flex;flex-shrink:0;gap:8px}.settings-footer{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1rem}.settings-error{padding:2rem;text-align:center}.settings-error p{color:#dc2626;margin-bottom:1rem}.settings-toast{border-radius:10px;font-size:.9rem;margin-bottom:1rem;padding:12px 16px}.settings-toast-success{background:#dcfce7;color:#166534}.settings-toast-error{background:#fee2e2;color:#991b1b}.grant-history-page{margin:0 auto;max-width:1100px}.grant-history-tenant-warning{background:#fffbeb;border-left:4px solid #f59e0b;margin-bottom:1rem;padding:1rem 1.25rem}.grant-history-tenant-warning strong{color:#92400e;display:block;margin-bottom:.5rem}.grant-history-tenant-warning p{color:#78350f;font-size:.9rem;line-height:1.5;margin:0}.grant-history-hero{margin-bottom:1.5rem}.grant-history-hero h1{color:#0f172a;font-size:clamp(1.35rem,2.5vw,1.65rem);font-weight:700;letter-spacing:-.03em;margin:0 0 .5rem}.grant-history-hero p{color:#64748b;font-size:.95rem;line-height:1.55;margin:0;max-width:68ch}.grant-history-hero p strong{color:#4338ca;font-weight:600}.grant-history-card{padding:1.25rem 1.5rem 1.5rem}.grant-history-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-bottom:1rem}.grant-history-count{color:#475569;font-size:.88rem;font-weight:600}.grant-history-count-sub{color:#94a3b8;font-weight:500}.grant-history-empty{color:#64748b;font-size:.9rem;line-height:1.55;margin:0;max-width:62ch}.grant-history-error{padding:2rem;text-align:center}.grant-history-error p{color:#dc2626;margin-bottom:1rem}.grant-history-table-wrap{border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.grant-history-table{border-collapse:collapse;font-size:.88rem;width:100%}.grant-history-table th{background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#475569;font-weight:700;padding:10px 12px;text-align:left;white-space:nowrap}.grant-history-table td{border-bottom:1px solid #f1f5f9;padding:12px;vertical-align:top}.grant-history-table tbody tr:last-child td{border-bottom:none}.grant-cell-grant-meta{vertical-align:top}.grant-col-empty-lines{color:#94a3b8;font-size:.85rem;font-style:italic}.grant-col-time{color:#64748b;white-space:nowrap}.grant-col-user{min-width:140px}.grant-username{color:#1e293b;display:block;font-weight:600;margin-bottom:4px}.grant-userid{color:#64748b;display:block;font-size:.78rem;word-break:break-all}.grant-status{align-items:center;border-radius:999px;display:inline-flex;font-size:.75rem;font-weight:700;letter-spacing:.03em;padding:4px 10px;text-transform:uppercase}.grant-status-success{background:#dcfce7;color:#166534}.grant-status-partial{background:#fef3c7;color:#92400e}.grant-status-failed{background:#fee2e2;color:#991b1b}.grant-status-unknown{background:#f1f5f9;color:#64748b}.grant-line-type-badge{border-radius:6px;display:inline-block;font-size:.72rem;font-weight:700;padding:3px 8px}.grant-line-type-token{background:#ede9fe;color:#5b21b6}.grant-line-type-voucher{background:#dbeafe;color:#1d4ed8}.grant-col-reward-name{color:#334155;font-weight:500;max-width:260px;word-break:break-word}.grant-col-action-head{width:1%}.grant-col-action{vertical-align:middle;white-space:nowrap;width:1%}.grant-line-status-ok{color:#15803d;font-size:.8rem;font-weight:700}.grant-line-status-fail{color:#b91c1c;font-size:.8rem;font-weight:700}.grant-line-err{color:#7f1d1d;font-size:.78rem;line-height:1.4;margin-top:6px;max-width:320px;word-break:break-word}.grant-line-err-label{color:#991b1b;font-weight:700}.auth-modal-overlay{align-items:center;animation:fadeIn .2s ease-in;background-color:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.auth-modal-content{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:450px;padding:2.5rem;text-align:center;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.auth-modal-icon{animation:bounce .6s ease-in-out;font-size:4rem;margin-bottom:1rem}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.auth-modal-title{color:#2d3748;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.auth-modal-message{color:#4a5568;font-size:1rem;line-height:1.6;margin-bottom:2rem}.auth-modal-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;max-width:250px;padding:.875rem 2rem;transition:all .2s;width:100%}.auth-modal-button:hover{box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.auth-modal-button:active{transform:translateY(0)}@media (max-width:480px){.auth-modal-content{padding:2rem 1.5rem}.auth-modal-icon{font-size:3rem}.auth-modal-title{font-size:1.25rem}.auth-modal-message{font-size:.95rem}}
/*# sourceMappingURL=main.6bf62617.css.map*/