@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap";:root{color:#161c22;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f7f9ff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}:root{--background:#f7f9ff;--surface:#fff;--surface-low:#eff4fc;--surface-high:#e3e9f0;--surface-highest:#dde3eb;--text:#161c22;--text-muted:#414844;--outline:#717974;--outline-soft:#c1c8c3;--primary:#3f6355;--primary-container:#587c6d;--primary-soft:#c4ebd9;--danger:#ba1a1a;--danger-soft:#ffdad6;--console:#212529;--console-header:#1a1d20;--console-border:#343a40}*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #3f635547}.app-shell{background:var(--background);min-height:100vh;color:var(--text)}.topbar{border-bottom:1px solid var(--outline-soft);height:64px}.topbar__content{justify-content:space-between;align-items:center;width:100%;height:100%;padding:0 32px;display:flex}.topbar h1{color:var(--primary);letter-spacing:-.01em;margin:0;font-size:24px;line-height:32px}.topbar__actions,.health{align-items:center;display:flex}.topbar__actions{gap:20px}.health{color:var(--text-muted);letter-spacing:.03em;gap:7px;font-size:13px;font-weight:500}.health__dot{background:var(--outline);border-radius:50%;width:8px;height:8px}.health--checking .health__dot{animation:1.2s ease-in-out infinite pulse}.health--healthy .health__dot{background:var(--primary-container)}.health--unavailable .health__dot{background:var(--danger)}@keyframes pulse{50%{opacity:.35}}.button{letter-spacing:.02em;background:0 0;border:1px solid #0000;border-radius:6px;min-height:34px;padding:7px 14px;font-size:13px;font-weight:600;line-height:18px;transition:background-color .16s,border-color .16s}.button--secondary{border-color:var(--outline);color:var(--text-muted)}.button--secondary:hover{background:var(--surface-high)}.button--danger{border-color:var(--danger);color:var(--danger)}.button--danger:hover{background:var(--danger-soft)}.button--primary{background:var(--primary-container);color:#fff}.button--primary:hover{background:var(--primary)}.page-content{width:100%;padding:20px 32px}.merchant-card,.workflow-card,.events-panel{background:var(--surface);border:1px solid var(--outline-soft);border-radius:6px;box-shadow:0 2px 4px #00000005}.merchant-card{flex-direction:column;align-items:stretch;gap:14px;min-height:100px;padding:16px 30px;display:flex}.merchant-card__main{justify-content:space-between;align-items:center;gap:20px;display:flex}.merchant-card__identity{align-items:center;gap:28px;min-width:0;display:flex}.merchant-card__icon{color:#fff;background:var(--primary-container);border-radius:16px;flex:none;place-items:center;width:60px;height:60px;display:grid}.merchant-card h2,.workflow-card h2{margin:0;font-size:20px;font-weight:650;line-height:28px}.merchant-card__metadata{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:11px;margin-top:8px;font-size:14px;display:flex}.merchant-card__metadata>span{overflow-wrap:anywhere}.separator{color:var(--outline)}.status-badge{background:var(--primary-soft);color:#2a4d40;letter-spacing:.03em;border-radius:6px;padding:3px 10px;font-size:13px;font-weight:600}.status-badge--inactive{color:#93000a;background:var(--danger-soft)}.api-key{font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:13px}.icon-button{width:24px;height:24px;color:var(--primary);background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.merchant-copy{gap:5px;width:auto}.merchant-copy span{min-width:0;color:var(--primary);font:600 11px/16px Inter,sans-serif}.merchant-card__actions{flex:none;gap:12px;display:flex}.merchant-deactivated{border:1px solid var(--danger);width:100%;color:var(--danger);background:#ffdad62e;border-radius:5px;align-items:center;gap:10px;padding:10px 14px;font-size:13px;line-height:20px;display:flex}.error-banner{border:1px solid var(--danger);color:#93000a;background:var(--danger-soft);border-radius:6px;margin-top:12px;padding:10px 14px;font-size:13px;line-height:20px}.workspace{grid-template-columns:minmax(0,2fr) minmax(360px,1fr);align-items:stretch;gap:24px;margin-top:24px;display:grid}.workspace--merchant-inactive .workflow-step:not(.workflow-step--inactive) .workflow-card{opacity:.78}.workflow{flex-direction:column;gap:20px;display:flex;position:relative}.workflow__line{border-left:2px solid var(--outline-soft);position:absolute;top:20px;bottom:20px;left:39px}.workflow-step{z-index:1;grid-template-columns:80px minmax(0,1fr);gap:20px;display:grid;position:relative}.workflow-step__rail{justify-content:center;padding-top:20px;display:flex}.workflow-step__icon{background:var(--surface-highest);border:2px solid var(--outline-soft);width:40px;height:40px;color:var(--text-muted);border-radius:14px;place-items:center;display:grid}.workflow-step--inactive .workflow-step__icon{color:#fff;background:var(--primary-container);border-color:var(--primary)}.workflow-card{min-height:122px;padding:20px}.workflow-step--inactive .workflow-card{opacity:.72;min-height:88px;padding-block:18px}.workflow-step--inactive .workflow-card h2{color:var(--text-muted)}.workflow-card p{color:var(--outline);margin:4px 0 0;font-size:14px;line-height:20px}.resource-card,.payment-ready{flex-direction:column;gap:10px;display:flex}.resource-card__topline{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.resource-heading{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.resource-heading h2{overflow-wrap:anywhere}.resource-status{letter-spacing:.03em;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:600;line-height:18px}.resource-status--success{color:#2a4d40;background:var(--primary-soft)}.resource-status--pending{color:#755c63;background:#f9d7e0}.resource-status--error{color:#93000a;background:var(--danger-soft)}.resource-actions,.payment-actions,.refund-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.resource-actions{grid-template-columns:repeat(2,minmax(118px,1fr));align-items:stretch;display:grid}.resource-actions .button{border-radius:6px;width:100%;min-height:36px;padding:8px 14px}.compact-edit-row{align-items:center;gap:12px;max-width:520px;display:flex}.order-card{justify-content:space-between;align-items:center;gap:24px;display:flex}.order-card__form{flex:auto}.amount-row{align-items:center;gap:16px;margin-top:12px;display:flex}.amount-input{border:1px solid var(--outline-soft);height:42px;color:var(--text-muted);background:var(--background);border-radius:3px;flex:auto;align-items:center;padding-left:13px;font-size:16px;font-weight:700;display:flex}.amount-input input{width:100%;height:100%;color:inherit;font-weight:inherit;background:0 0;border:0;outline:0;padding:0 8px 0 3px}.amount-input input::placeholder{color:var(--outline);opacity:1;font-weight:400}.currency{color:var(--text-muted);font-size:16px;font-weight:600}.create-order{white-space:nowrap;align-self:flex-end;min-height:42px;padding-inline:26px;font-size:15px}.amount-summary{color:var(--text-muted);background:var(--surface-low);border-radius:5px;padding:10px 12px;font-size:14px}.developer-metadata{border-bottom:1px dashed var(--outline-soft);color:var(--text-muted);justify-content:space-between;align-items:center;gap:16px;padding:5px 0;font-size:13px;display:flex}.developer-metadata code,.payment-metadata code{border:1px solid var(--outline-soft);color:var(--text);background:var(--surface-low);overflow-wrap:anywhere;border-radius:4px;padding:4px 8px;font:12px/18px JetBrains Mono,SFMono-Regular,Consolas,monospace}.payment-create{width:100%}.payment-resource p{margin-top:0}.payment-metadata{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:9px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex}.replay-note{border:1px solid var(--outline);color:var(--outline);border-radius:3px;padding:2px 6px;font-size:11px;font-style:italic}.failure-detail{color:#93000a;background:var(--danger-soft);border-radius:4px;padding:8px 10px;font-size:13px}.payment-actions{border-top:1px solid var(--outline-soft);padding-top:10px}.refund-ready,.refund-resource{flex-direction:column;gap:10px;display:flex}.refund-payment-id,.refund-resource__details{color:var(--text-muted);font-size:13px}.refund-payment-id code,.refund-resource__details code{font:12px/18px JetBrains Mono,SFMono-Regular,Consolas,monospace}.refund-form-row{grid-template-columns:minmax(0,1fr) minmax(190px,.7fr);gap:12px;display:grid}.refund-form-row>label{min-width:0;color:var(--text-muted);flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.refund-form-row .amount-input{width:100%;height:38px;font-size:14px}.refund-form-row select{border:1px solid var(--outline-soft);width:100%;height:38px;color:var(--text-muted);background:var(--background);border-radius:3px;padding:0 10px;font-size:13px}.refund-summary{border:1px solid var(--outline-soft);background:var(--surface-low);border-radius:4px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 20px;margin:0;padding:9px 11px;font-size:12px;display:grid}.refund-summary>div{justify-content:space-between;gap:12px;min-width:0;display:flex}.refund-summary dt{color:var(--text-muted)}.refund-summary dd{color:var(--text);margin:0;font-weight:600}.refund-summary__pending dd{color:var(--primary)}.refund-key{padding-block:3px}.refund-create{width:100%}.refund-resource__details{flex-wrap:wrap;gap:6px 18px;display:flex}.refund-actions{border-top:1px solid var(--outline-soft);padding-top:10px}.refund-actions .button{min-width:136px}.refund-another{align-self:flex-start}.refund-history{border-top:1px dashed var(--outline-soft);flex-direction:column;gap:6px;padding-top:8px;display:flex}.refund-history__title{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}.refund-history__item{color:var(--text-muted);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;font-size:12px;display:grid}.refund-history__item code{white-space:normal;overflow-wrap:anywhere;min-width:0;font:11px/17px JetBrains Mono,SFMono-Regular,Consolas,monospace}.events-panel{flex-direction:column;min-width:0;height:0;min-height:100%;padding:20px;display:flex;overflow:hidden}.events-panel__events,.events-panel__details{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.events-panel__events{flex:40%}.events-panel__details{flex:60%}.events-panel__heading-row{align-items:flex-start;gap:10px;display:flex}.events-panel__heading-row .events-panel__title{flex:auto}.events-refresh{border:1px solid var(--outline-soft);min-height:29px;color:var(--primary);background:0 0;border-radius:4px;align-items:center;gap:5px;padding:4px 7px;font-size:11px;font-weight:650;display:inline-flex}.events-panel__title{border-bottom:1px solid var(--outline-soft);color:var(--text-muted);letter-spacing:.07em;text-transform:uppercase;align-items:center;gap:13px;margin:0;padding-bottom:10px;font-size:13px;font-weight:750;line-height:18px;display:flex}.empty-events{color:var(--outline);text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:10px;display:flex}.empty-events p,.event-placeholder p{color:var(--text-muted);margin:0;font-size:14px}.webhook-list{scrollbar-gutter:stable;flex-direction:column;flex:auto;gap:8px;min-width:0;min-height:0;margin-top:12px;padding:0 4px 0 16px;display:flex;position:relative;overflow:hidden auto}.webhook-list:before{content:"";background:var(--outline-soft);width:2px;position:absolute;top:12px;bottom:12px;left:5px}.webhook-list__item{border:1px solid var(--outline-soft);width:100%;color:var(--text);background:var(--surface-low);text-align:left;border-radius:5px;padding:9px 10px;position:relative}.webhook-list__item:hover{border-color:var(--primary)}.webhook-list__item--selected{border-color:var(--primary);box-shadow:inset 3px 0 0 var(--primary);background:#c4ebd947}.webhook-list__dot{border:2px solid var(--surface);background:var(--outline);width:10px;height:10px;box-shadow:0 0 0 1px var(--outline-soft);border-radius:50%;position:absolute;top:14px;left:-17px}.webhook-list__dot--delivered{background:var(--primary)}.webhook-list__dot--failed{background:var(--danger)}.webhook-list__dot--pending{background:#a67800}.webhook-list__content{flex-direction:column;gap:3px;min-width:0;display:flex}.webhook-list__type{overflow-wrap:anywhere;font:600 12px/17px JetBrains Mono,SFMono-Regular,Consolas,monospace}.webhook-list__metadata{color:var(--text-muted);justify-content:space-between;align-items:center;gap:10px;font-size:10px;display:flex}.webhook-list__item:has(.webhook-list__dot--delivered) .webhook-list__metadata strong{color:var(--primary)}.webhook-list__item:has(.webhook-list__dot--failed) .webhook-list__metadata strong{color:var(--danger)}.webhook-list__item:has(.webhook-list__dot--pending) .webhook-list__metadata strong{color:#755c00}.webhook-list time{color:var(--outline);font-size:10px}.event-placeholder{border:1px dashed var(--outline-soft);background:var(--surface-low);text-align:center;border-radius:5px;flex:auto;place-items:center;min-width:0;min-height:72px;margin-top:12px;padding:12px;display:grid}.event-details{background:var(--surface-low);border-radius:5px;flex:auto;width:100%;min-width:0;max-width:100%;min-height:0;margin-top:12px;padding:10px;overflow:hidden auto}.event-details dl{flex-direction:column;gap:7px;margin:0;display:flex}.event-details dl>div{grid-template-columns:minmax(98px,.8fr) minmax(0,1.2fr);align-items:start;gap:10px;min-width:0;font-size:11px;display:grid}.event-details dt{min-width:0;color:var(--text-muted);overflow-wrap:anywhere}.event-details dd{text-align:right;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;margin:0}.event-details code{white-space:normal;overflow-wrap:anywhere;word-break:break-word;max-width:100%;font:10px/15px JetBrains Mono,SFMono-Regular,Consolas,monospace;display:block}.event-details__failure{color:var(--danger);font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace}.event-details__action{width:100%;margin-top:11px}.event-details__note{border-top:1px solid var(--outline-soft);color:#755c00;text-align:center;margin:10px 0 0;padding-top:8px;font-size:11px;font-weight:650}.event-details__note--success{color:var(--primary)}.api-console{border:1px solid var(--console-border);color:#dde3eb;background:var(--console);border-radius:6px;margin-top:24px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;overflow:hidden;box-shadow:inset 0 2px 5px #0000002e}.api-console__header{border-bottom:1px solid var(--console-border);background:var(--console-header);justify-content:space-between;align-items:center;gap:24px;min-height:48px;padding:0 30px;font-size:13px;display:flex}.api-console__request{align-items:center;gap:14px;min-width:0;display:flex}.api-console__endpoint{overflow-wrap:anywhere;min-width:0}.api-console__method{color:#a8cfbd}.api-console__status{color:#2a4d40;background:var(--primary-soft);border-radius:3px;padding:4px 10px;font-family:Inter,sans-serif;font-size:10px;font-weight:750}.api-console__status--loading{color:#574148;background:#fbdae3}.api-console__status--error{color:#93000a;background:var(--danger-soft)}.api-console__copy{color:#9bcbf8;min-width:70px;font:inherit;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:7px;padding:6px;display:inline-flex}.api-console__body{min-height:64px;max-height:280px;margin:0;padding:18px 30px;font:600 14px/22px JetBrains Mono,SFMono-Regular,Consolas,monospace;overflow:auto}.api-console code{font:inherit}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=950px){.page-content{padding:20px}.merchant-card__main{flex-direction:column;align-items:flex-start}.workspace{grid-template-columns:1fr}.events-panel{height:min(620px,75vh);min-height:420px}.api-console{margin-top:24px}}@media (width<=620px){.topbar{height:auto}.topbar__content{flex-direction:column;align-items:flex-start;gap:12px;min-height:72px;padding:12px 20px}.topbar h1{font-size:21px}.topbar__actions{justify-content:space-between;width:100%}.merchant-card{padding:20px}.merchant-card__identity{align-items:flex-start;gap:14px}.merchant-card__icon{border-radius:12px;width:44px;height:44px}.merchant-card__actions{flex-wrap:wrap;width:100%}.workflow-step{grid-template-columns:44px minmax(0,1fr);gap:10px}.workflow__line{left:21px}.workflow-step__icon{width:36px;height:36px}.workflow-card,.events-panel{padding:20px}.order-card{flex-direction:column;align-items:stretch}.create-order{align-self:stretch}.resource-card__topline,.developer-metadata{flex-direction:column;align-items:stretch}.refund-form-row,.refund-summary{grid-template-columns:1fr}.refund-actions .button,.refund-another{width:100%}.api-console__header,.api-console__request{flex-direction:column;align-items:flex-start}.api-console__header{padding:18px 20px}.api-console__request{gap:8px}.api-console__copy{align-self:flex-end}}
