.webhook-market-button{border:1px solid #E2E8F0!important;background:#ffffff!important;color:#334155!important;font-size:11px!important;min-height:34px!important;padding:8px 12px!important;border-radius:4px!important;white-space:nowrap}.webhook-market-button>span{display:inline-block;font-size:10px;line-height:16px;min-width:18px;text-align:center;margin-left:7px;border-radius:10px;background:#60A5FA;color:#ffffff;padding:0 5px}.webhook-settings-link{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #EFF6FF;padding:16px;background:#F8FAFC;border-radius:5px;margin:17px 0}.webhook-settings-link strong{color:#1D4ED8;font-size:13px}.webhook-settings-link p{font-size:11px;color:#64748B;margin:6px 0 0}.webhook-settings-link button{font-size:11px;white-space:nowrap;min-height:34px;border-radius:4px}
#modal.webhooks-dialog{width:min(740px,calc(100vw - 28px));max-height:calc(100dvh - 34px);padding:0;border-radius:5px;color:#334155;overflow-y:auto;scrollbar-width:thin;border:1px solid #E2E8F0}.webhooks-dialog .modal-head{position:sticky;top:0;z-index:4;padding:20px 24px 15px;background:#ffffff;border-bottom:1px solid #F1F5F9;margin:0;gap:20px}.webhooks-dialog .modal-head h2{font-size:18px;letter-spacing:0;color:#334155;margin:0}.webhook-heading-actions{display:flex;gap:8px;align-items:center}.webhook-heading-actions button{min-height:32px;padding:7px 11px;font-size:11px;border-radius:3px}.webhook-heading-actions [data-webhook-cancel]{color:#64748B;background:#ffffff;border-color:#F1F5F9}.webhook-config{padding:5px 24px 23px}.webhook-intro{font-size:12px;line-height:1.85;color:#64748B;margin:13px 0}.webhook-tools{display:flex;align-items:center;gap:9px;margin:12px 0 22px;flex-wrap:wrap}.webhook-tools button{font-size:10px;min-height:28px;padding:6px 9px;border-color:#EFF6FF;color:#2563EB;background:#F8FAFC;border-radius:3px}.webhook-tools small{font-size:10px;color:#64748B;margin-left:auto}.webhook-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;gap:11px;align-items:start;margin-bottom:17px}.webhook-url-column>input{height:35px;min-height:35px;font-size:11px;border-radius:3px;border-color:#E2E8F0;background:#ffffff;color:#475569;padding:8px 10px;margin:0;width:100%}.webhook-row-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:7px}.webhook-row-meta label{display:flex;gap:5px;align-items:center;font-size:10px;color:#64748B;margin:0!important}.webhook-row-meta input{width:12px;height:12px;min-height:12px;margin:0;accent-color:#60A5FA}.webhook-row-meta button{font-size:9px;min-height:20px;border:0;border-bottom:1px dotted #93C5FD;background:none;border-radius:0;padding:0;color:#64748B}.webhook-row-meta small{font-size:9px;color:#94A3B8}.webhook-row-meta .webhook-warning{color:#af7e3c}.webhook-event-select{width:100%;min-height:35px;border:1px solid #E2E8F0;border-radius:3px;background:#ffffff;color:#475569;font-size:11px;padding:8px;display:flex;align-items:flex-start;gap:7px;text-align:left;font-weight:400}.webhook-event-summary{display:flex;flex-direction:column;gap:6px;line-height:1.3}.webhook-event-summary small{font-size:10px;color:#64748B}.webhook-no-events{color:#94A3B8}.webhook-down{margin-left:auto;color:#94A3B8}.webhook-remove{padding:4px 0;min-height:31px;font-size:19px;border:0;background:none;color:#d0767c;width:24px;border-radius:3px}.webhook-remove:hover{color:#b54954;background:#fff3f4}.webhook-add{font-size:11px;min-height:32px;padding:7px 12px;color:#64748B;border:1px dashed #DBEAFE;background:#ffffff;border-radius:3px;margin-top:5px}.webhook-footnote{font-size:10px;color:#64748B;line-height:1.8;margin-top:19px}.webhook-save-error{font-size:12px;color:#b54e5c;line-height:1.8}.webhook-empty{font-size:12px;line-height:1.9;padding:20px;background:#F8FAFC;border:1px dashed #DBEAFE;border-radius:4px;color:#64748B}.webhook-event-popover{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #E2E8F0;border-radius:4px;background:#ffffff;color:#475569;box-shadow:0 9px 28px #1E40AF25;overflow:hidden;font-family:"Segoe UI",Arial,sans-serif}.webhook-event-popover:popover-open{display:flex;flex-direction:column}.webhook-event-search{padding:10px 11px 7px;flex-shrink:0}.webhook-event-search input{height:32px;min-height:32px;margin:0;border:1px solid #DBEAFE;border-radius:3px;background:#F8FAFC;font-size:11px;padding:7px 9px}.webhook-select-all{display:flex;justify-content:space-between;gap:10px;padding:0 11px 8px;border-bottom:1px solid #F1F5F9;flex-shrink:0}.webhook-select-all button{border:0;background:none;padding:4px 0;min-height:23px;font-size:10px;color:#2563EB;font-weight:500}.webhook-event-options{overflow-y:auto;min-height:60px;scrollbar-width:thin;overscroll-behavior:contain;padding:4px 0 10px}.webhook-event-options h4{font-size:10px;color:#94A3B8;padding:11px 13px 5px;margin:0;font-weight:600}.webhook-event-options label{display:flex;gap:8px;align-items:flex-start;padding:9px 13px;margin:0!important;font-size:11px;line-height:1.5;color:#475569;cursor:pointer}.webhook-event-options label:hover{background:#F8FAFC}.webhook-event-options input{width:13px;min-height:13px;height:13px;margin:2px 0 0;accent-color:#60A5FA;flex-shrink:0}.webhook-event-options label>span{display:flex;flex-direction:column;gap:3px}.webhook-event-options small{font-size:9px;color:#94A3B8}.webhook-event-options .is-unsupported{color:#94A3B8;cursor:default}.webhook-events-done{border:0;border-top:1px solid #EFF6FF;border-radius:0;font-size:11px;min-height:33px;padding:8px;color:#60A5FA;background:#F8FAFC;flex-shrink:0}
.webhook-sub-dialog{width:min(750px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;border:1px solid #EFF6FF;padding:22px;border-radius:6px;color:#475569;font-family:"Segoe UI",Arial,sans-serif;scrollbar-width:thin}.webhook-sub-dialog::backdrop{background:#0F172A4a}.webhook-sub-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.webhook-sub-dialog h2{font-size:18px;margin:0;color:#1D4ED8}.webhook-sub-dialog>header button{border:0;background:none;color:#94A3B8;padding:5px 7px;min-height:26px}.webhook-sub-dialog p{font-size:12px;color:#64748B;line-height:1.9}.webhook-sub-dialog input[data-hook-secret]{font-family:Consolas,monospace;font-size:12px;border-color:#DBEAFE;background:#F8FAFC;margin-top:14px;min-height:38px}.webhook-sub-actions{display:flex;gap:9px;margin-top:15px}.webhook-sub-dialog button{font-size:11px;min-height:32px;padding:7px 10px;border-radius:3px}.webhook-guide pre{font-size:11px;line-height:1.8;white-space:pre;overflow-x:auto;background:#F8FAFC;color:#475569;border:1px solid #EFF6FF;border-radius:4px;padding:15px;max-width:100%}.webhook-guide h3{font-size:14px;color:#475569;margin:22px 0 12px}.webhook-log-tools{display:flex;gap:8px;flex-wrap:wrap}.webhook-log-tools select{font-size:11px;min-height:32px;padding:6px 9px;width:auto;max-width:220px}.webhook-delivery-list article{border:1px solid #EFF6FF;border-radius:4px;padding:14px;margin:10px 0}.webhook-delivery-list header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.webhook-delivery-list strong{font-size:12px;color:#475569}.webhook-delivery-list p{font-size:10px;overflow-wrap:anywhere;margin:8px 0}.webhook-delivery-list small{font-size:10px;color:#64748B}.webhook-delivery-list article>div{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.webhook-delivery-list button{font-size:10px;min-height:27px;padding:5px 8px}.webhook-status{font-size:10px;white-space:nowrap;padding:3px 6px;border-radius:4px;background:#F8FAFC;color:#64748B}.webhook-status.status-delivered{background:#e8f6ee;color:#398667}.webhook-status.status-failed{background:#fff0f0;color:#b35c65}.webhook-status.status-pending,.webhook-status.status-sending{background:#fff5e3;color:#a28045}.webhooks-dialog button:focus-visible,.webhook-event-popover button:focus-visible,.webhook-sub-dialog button:focus-visible{outline:2px solid #60A5FA;outline-offset:3px}
@media(max-width:600px){.webhook-market-button{font-size:9px!important;min-height:29px!important;padding:6px 7px!important}.webhook-market-button>span{margin-left:4px;font-size:9px;min-width:15px;line-height:15px}.webhooks-dialog .modal-head{padding:16px 14px;gap:10px}.webhooks-dialog .modal-head h2{font-size:16px}.webhook-heading-actions{gap:5px}.webhook-heading-actions button{font-size:10px;padding:6px 8px;min-height:30px}.webhook-config{padding:4px 14px 18px}.webhook-intro{font-size:11px}.webhook-tools{gap:7px;margin-bottom:17px}.webhook-tools small{margin-left:0;width:100%}.webhook-row{grid-template-columns:minmax(0,1fr) 23px;gap:6px 8px;border-bottom:1px solid #EFF6FF;padding-bottom:14px}.webhook-url-column{grid-column:1;grid-row:1}.webhook-event-column{grid-column:1;grid-row:2}.webhook-remove{grid-column:2;grid-row:1}.webhook-url-column>input,.webhook-event-select{font-size:12px}.webhook-event-summary{gap:5px}.webhook-row-meta{margin:6px 0}.webhook-event-popover label{font-size:12px;padding:9px 12px}.webhook-sub-dialog{padding:17px}.webhook-sub-dialog h2{font-size:16px}.webhook-delivery-list header{align-items:flex-start;flex-wrap:wrap}.webhook-settings-link{align-items:flex-start;flex-direction:column;gap:12px}.webhook-event-search input{width:100%}.webhook-guide pre{font-size:10px}.market-shell .top-right .header-avatar{display:none}}
.webhooks-dialog #modal-content{padding:0}.webhooks-dialog .webhook-heading-actions button{width:auto;height:auto;white-space:nowrap;text-transform:none;letter-spacing:0}.webhooks-dialog .webhook-heading-actions .primary{background:#60A5FA;border:1px solid #2563EB;color:#ffffff;box-shadow:none}.webhook-remove svg{width:15px;height:15px;vertical-align:middle}
