.rm-page{padding:2.28571rem;min-height:100%;color:var(--rs-text,#344054);font-family:Inter,Arial,sans-serif;font-size:1rem;box-sizing:border-box}.rm-page *{box-sizing:border-box}.rm-page h1,.rm-page h2,.rm-page h3,.rm-page p{margin:0}.rm-page h1{font-size:1.85714rem;letter-spacing:-0.08929rem;line-height:2.42857rem;font-weight:650;color:var(--rs-text-strong,#111827)}.rm-page h2{font-size:1.21429rem;line-height:1.71429rem;font-weight:500;letter-spacing:-0.02143rem}.rm-head{display:flex;align-items:center;justify-content:space-between;gap:1.42857rem;min-height:2.57143rem}.rm-head .rs-btn{white-space:nowrap}.rm-tabs{display:flex;align-items:stretch;margin-top:1.71429rem;}.rm-tabs button{appearance:none;border:0;background:transparent;color:var(--rs-text,#344054);cursor:pointer}.rm-tabs button[aria-selected=true]{border-bottom-color:var(--rs-blue,#0259f0)}.rm-analytics{margin-top:2.5rem}.rm-legend{display:inline-flex;align-items:center;gap:0.42857rem;padding:0;border:0;background:none;font:inherit;font-size:0.92857rem;color:#808080;cursor:pointer}.rm-legend[aria-pressed=false]{opacity:.4;text-decoration:line-through}.rm-dot{height:0.5rem;width:0.5rem;border-radius:50%;display:inline-block}.rm-blue{background:var(--rs-blue,#0259f0)}.rm-plum{background:#913569}.rm-catalogue{margin-top:1.07143rem}.rm-catalogue-toolbar{display:flex;justify-content:space-between;gap:1.42857rem;align-items:center;min-height:2.21429rem}.rm-catalogue-actions{display:flex;gap:1.28571rem;align-items:center}.rm-catalogue-actions .rs-btn{min-height:2.21429rem}.rm-copy-button{padding:0.28571rem;display:inline-flex;align-items:center;justify-content:center;border:none;box-shadow:none;background:none;color:var(--rs-text-secondary,#667085);cursor:pointer}.rm-search{display:flex;align-items:center;gap:0.57143rem;background:white;border:0.07143rem solid var(--rs-line,#d6e1ee);height:2.57143rem;border-radius:0.5rem;padding:0 0.57143rem;color:var(--rs-text-secondary,#667085);width:20.57143rem}.rm-search input{font:inherit;width:100%;min-width:0;outline:none;border:0;background:transparent;color:var(--rs-text,#344054)}.rm-search input::placeholder{color:var(--rs-text-secondary,#667085)}.rm-search:focus-within{outline:0.14286rem solid #0259f0;outline-offset:0.14286rem}.rm-search[hidden]{display:none}.rm-catalogue-search{width:15.35714rem;height:2.21429rem}.rm-filter-wrap{position:relative}.rm-filter-wrap>.rs-text-button{display:inline-flex;align-items:center;gap:0.64286rem;white-space:nowrap}.rm-popover{position:absolute;top:calc(100% + 4px);right:0;width:14.57143rem;padding:0.42857rem;background:#fff;border:0.07143rem solid var(--rs-line,#d6e1ee);border-radius:0.5rem;box-shadow:0 0.71429rem 2.5rem #1e40651a;z-index:10}.rm-popover[hidden]{display:none}.rm-popover label{display:flex;align-items:center;gap:0.64286rem;padding:0.71429rem 0.5rem;font-size:0.92857rem;border-radius:0.28571rem;cursor:pointer}.rm-popover label:hover{background:#f6faff}.rm-popover input{margin:0;accent-color:#0259f0}.rm-category-select{appearance:auto;background:transparent;border:0;outline-offset:0.28571rem;padding:0;font:inherit;color:inherit;max-width:7.14286rem;cursor:pointer}.rm-pill{display:inline-block;background:#eff4ff;color:#526381;border-radius:1.42857rem;padding:0.07143rem 0.71429rem;line-height:1.14286rem;font-size:0.78571rem}.rm-pill-page{background:#d7f0eb;color:#038978}.rm-pill-error{background:#ffdde3;color:#d50036}.rm-live-head{padding-bottom:2.5rem;border-bottom:0.07143rem solid var(--rs-line,#d6e1ee)}.rm-capture-controls{display:flex;align-items:center;gap:0.71429rem}.rm-capture-time{font-size:1.21429rem;font-variant-numeric:tabular-nums;margin-right:0.14286rem}.rm-pause{background:#d6e1ee!important;border-color:#d6e1ee!important;color:var(--rs-text,#344054)!important}.rm-live-toolbar{display:flex;align-items:center;gap:1.35714rem;margin:1.14286rem 0}.rm-live-toolbar>.rs-text-button{margin-left:0.85714rem}.rm-live-grid{display:grid;grid-template-columns:minmax(0,1.665fr) minmax(0,1fr);gap:1.14286rem;align-items:start}.rm-events{background:white;border:0.07143rem solid #e1e1e1;border-radius:0.5rem;padding:0 0.42857rem;overflow:hidden}.rm-events-head{height:2.5rem;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding:0 0.64286rem;border-bottom:0.07143rem solid #e7e7e7;color:var(--rs-text-secondary,#667085);font-size:0.92857rem}.rm-events-head span:last-child{padding-left:1.07143rem}.rm-events-list{padding-top:0.57143rem;padding-bottom:0.64286rem}.rm-event-row{display:grid;grid-template-columns:1fr 4.42857rem 1fr;align-items:center;min-height:3.64286rem;gap:0.07143rem}.rm-event-before,.rm-event-after{font:inherit;display:flex;align-items:flex-start;text-align:left;gap:0.64286rem;border:0;border-radius:0.5rem;background:none;padding:0.28571rem 0.71429rem;color:var(--rs-text,#344054);width:100%;min-width:0;min-height:2.92857rem;cursor:pointer}.rm-event-before>img,.rm-event-after>img,.rm-event-before>svg,.rm-event-after>svg{flex:0 0 1.28571rem;width:1.28571rem;height:1.28571rem;margin-top:0.07143rem}.rm-event-before>span:not(.rm-status),.rm-event-after>span:not(.rm-status):not(.rm-result-arrow){min-width:0}.rm-event-before strong,.rm-event-after strong{font-weight:500;font-size:0.92857rem;line-height:1.35714rem;white-space:nowrap;display:block}.rm-event-before small,.rm-event-after small{display:block;font-size:0.92857rem;color:var(--rs-text-secondary,#667085);line-height:1.35714rem;white-space:nowrap}.rm-event-before:hover,.rm-event-after:hover{box-shadow:inset 0 0 0 0.07143rem #d6e1ee}.rm-event-arrow{color:var(--rs-text-secondary,#667085);display:flex;justify-content:flex-start;padding-left:0.07143rem;align-self:start;margin-top:0.57143rem}.rm-status{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-family:Arial,sans-serif;font-weight:700;width:0.92857rem;height:0.92857rem;margin-top:0.21429rem;flex:0 0 0.92857rem;font-size:0.71429rem;color:#fff}.rm-status-ok{background:#009a2e}.rm-status-error{background:#e50038;font-size:0.92857rem;line-height:0.85714rem}.rm-status-warning{background:#e58500;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0.14286rem;height:0.92857rem;font-size:0.71429rem;line-height:1.07143rem;padding-top:0.14286rem}.rm-event-dropped{background:#fff1e1;color:#db7b00}.rm-event-error{background:#ffdae1;color:#e90036}.rm-result-arrow{margin-left:auto;align-self:center;color:var(--rs-text-secondary,#667085);padding-left:0.28571rem}.rm-payload{background:#fff;border:0.07143rem solid #e1e1e1;border-radius:0.5rem;overflow:hidden}.rm-code-head{height:1.78571rem;background:#d6e1ee;display:flex;align-items:center;justify-content:space-between;padding:0 0.85714rem;font:600 0.71429rem 'SFMono-Regular',Consolas,monospace;color:var(--rs-text,#344054)}.rm-code-head .rm-copy-button{color:var(--rs-text-secondary,#667085)}.rm-code-body{padding:0.92857rem 0 0.85714rem;overflow:auto;max-height:47.14286rem;min-height:14.28571rem}.rm-code-body pre{font:0.78571rem/1.14286rem 'SFMono-Regular',Consolas,'Liberation Mono',monospace;margin:0}.rm-code-line{display:flex;min-height:1.14286rem}.rm-line-number{display:block;flex:0 0 2.14286rem;padding-left:0.78571rem;color:#aaa;user-select:none;font-size:0.71429rem}.rm-code-line code{white-space:pre-wrap;overflow-wrap:anywhere;padding-right:0.71429rem;min-width:0;font:inherit}.rm-json-key{color:#5867de}.rm-json-string{color:#df800f}.rm-json-literal{color:#ff0040}.rm-json-number{color:#8a4fb0}.rm-empty{padding:2.57143rem 1.42857rem!important;color:var(--rs-text-secondary,#667085);text-align:center}.rm-dialog{font-family:Inter,Arial,sans-serif;font-size:1rem;color:var(--rs-text,#344054);width:min(38.57143rem,calc(100vw - 3.42857rem));max-height:calc(100vh - 4.57143rem);padding:1.71429rem;border:0.07143rem solid #d6e1ee;border-radius:0.71429rem;box-shadow:0 1.07143rem 4.64286rem #122b4c30;background:#fff;overflow:auto}.rm-dialog::backdrop{background:#19304a55}.rm-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:1.42857rem;margin-bottom:1.5rem}.rm-dialog-header h2{font-size:1.57143rem;line-height:2rem;letter-spacing:-0.03571rem;font-weight:600}.rm-dialog-header .rs-text-button{display:inline-flex;padding:0.28571rem}.rm-dialog-description{line-height:1.6;color:var(--rs-text-secondary,#667085);margin-bottom:1.42857rem!important}.rm-dialog form>label,.rm-form-columns>label{display:flex;flex-direction:column;gap:0.5rem;margin-top:1.14286rem;font-size:0.92857rem}.rm-dialog input:not([type=checkbox]),.rm-dialog select{width:100%;height:2.71429rem;border:0.07143rem solid #d6e1ee;border-radius:0.35714rem;padding:0 0.71429rem;background:#fff;font:inherit;color:inherit}.rm-dialog label small{color:var(--rs-text-secondary,#667085);font-size:0.78571rem}.rm-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.14286rem}.rm-dialog .rm-checkbox-label{flex-direction:row;align-items:center;gap:0.57143rem}.rm-checkbox-label input{accent-color:#0259f0}.rm-dialog-footer{display:flex;justify-content:flex-end;gap:0.71429rem;margin-top:1.78571rem}.rm-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.28571rem;margin:1.42857rem 0 1.71429rem}.rm-detail-grid dt{font-size:0.85714rem;color:var(--rs-text-secondary,#667085);margin-bottom:0.35714rem}.rm-detail-grid dd{font-size:1rem;margin:0}.rm-dialog h3{font-size:1rem;font-weight:600;margin:1rem 0}.rm-dialog-code{font:0.85714rem/1.6 'SFMono-Regular',Consolas,monospace;background:#f6faff;padding:1.14286rem;border:0.07143rem solid #d6e1ee;border-radius:0.5rem;white-space:pre-wrap;overflow-wrap:anywhere}.rm-page button:focus-visible,.rm-page select:focus-visible,.rm-page .rm-code-body:focus-visible,.rm-dialog :focus-visible{outline:0.14286rem solid var(--rs-blue,#0259f0);outline-offset:0.21429rem}.rm-page .rs-btn svg,.rm-page .rs-text-button svg{flex-shrink:0}.rm-page button{transition:background-color .12s ease,box-shadow .12s ease}.rm-event-row:has(button:focus-visible){position:relative;z-index:1}@media(max-width:1200px){.rm-page{padding:1.85714rem}.rm-live-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.rm-event-row{grid-template-columns:1fr 2.14286rem 1fr}.rm-event-before,.rm-event-after{gap:0.42857rem;padding:0.28571rem 0.42857rem}.rm-event-before strong,.rm-event-after strong,.rm-event-before small,.rm-event-after small{font-size:0.85714rem}.rm-code-body pre{font-size:0.71429rem}.rm-result-arrow{display:none}}@media(max-width:980px){.rm-page{padding:1.71429rem}.rm-live-grid{grid-template-columns:1fr}.rm-payload-slot{grid-row:1}.rm-code-body{max-height:20.35714rem}.rm-event-row{grid-template-columns:1fr 4.42857rem 1fr}.rm-code-body pre{font-size:0.78571rem}.rm-catalogue-actions{gap:0.71429rem}.rm-catalogue-search{width:12.5rem}}@media(max-width:680px){.rm-page{padding:1.42857rem 1.14286rem}.rm-page h1{font-size:1.71429rem}.rm-head{gap:0.85714rem}.rm-capture-controls{gap:0.42857rem}.rm-capture-time{font-size:0.92857rem}.rm-live-toolbar{flex-wrap:wrap;gap:0.85714rem}.rm-live-toolbar .rm-search{width:100%}.rm-live-toolbar>.rs-text-button{margin-left:0}.rm-live-head{padding-bottom:1.57143rem}.rm-catalogue-toolbar{flex-wrap:wrap;gap:0.85714rem}.rm-catalogue-actions{margin-left:auto}.rm-catalogue-search{width:10.71429rem}.rm-analytics{margin-top:1.85714rem}.rm-event-row{grid-template-columns:1fr 2rem 1fr}.rm-event-before strong,.rm-event-after strong,.rm-event-before small,.rm-event-after small{font-size:0.78571rem}.rm-event-before,.rm-event-after{gap:0.28571rem}.rm-event-before>img,.rm-event-after>img,.rm-event-before>svg,.rm-event-after>svg{flex-basis:1.14286rem;width:1.14286rem;height:1.14286rem}.rm-events-head span:last-child{padding-left:0}.rm-head .rs-btn{font-size:0.85714rem;padding-left:0.64286rem;padding-right:0.64286rem}}@media(prefers-reduced-motion:reduce){.rm-page button{transition:none}}.rm-live-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin:0 0 1.2rem;color:var(--rs-text-secondary,#667085);font-size:.86rem;line-height:1.5}.rm-origin-button{display:inline-flex;align-items:center;gap:.45rem;background:none;border:0;padding:0;font:inherit;color:var(--rs-blue,#0259f0);cursor:pointer}.rm-origin-button:hover{text-decoration:underline}.rm-origin-button .rs-icon{width:1rem;height:1rem}.rm-live-breadcrumb>[aria-current=page]{color:var(--rs-text-strong,#111827)}.rm-capture-meta{display:inline-flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-left:auto;white-space:nowrap;color:var(--rs-text-secondary,#667085);font-size:.85714rem;font-variant-numeric:tabular-nums}.rm-capture-indicator{height:.42857rem;width:.42857rem;border-radius:50%;background:#239b56;flex:none}.rm-capture-indicator.is-paused{background:#9299a1}.rm-live .rm-events-list{height:32rem;overflow-y:auto;scrollbar-gutter:stable}.rm-live .rm-code-body{height:32.71429rem;max-height:none}.rm-listening-empty,.rm-payload-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;gap:.64286rem;color:var(--rs-text-secondary,#667085)}.rm-listening-empty{min-height:100%}.rm-payload-empty{height:32.71429rem}.rm-listening-empty strong,.rm-payload-empty strong{font-weight:500;font-size:1rem;color:var(--rs-text-strong,#111827)}.rm-listening-empty p,.rm-payload-empty p{font-size:.92857rem;line-height:1.6;max-width:20rem}.rm-empty-symbol{height:2.71429rem;min-width:2.71429rem;display:inline-flex;align-items:center;justify-content:center;margin-bottom:.5rem;color:var(--rs-text-secondary,#667085);background:#f6faff;border:1px solid #e4ebf3;border-radius:.5rem;font:1.1rem 'SFMono-Regular',Consolas,monospace}.rm-empty-symbol .rs-icon{width:1.14286rem;height:1.14286rem}@media(max-width:1200px){.rm-live-toolbar{gap:1rem}.rm-live-toolbar .rm-search{width:18rem}.rm-live-toolbar>.rs-text-button{margin-left:0}}@media(max-width:980px){.rm-live .rm-code-body,.rm-payload-empty{height:20.35714rem}.rm-live .rm-events-list{height:28rem}}@media(max-width:680px){.rm-live-toolbar .rm-search{width:100%}.rm-capture-meta{font-size:.78571rem}.rm-listening-empty,.rm-payload-empty{padding:1.5rem}}.rm-page{padding:var(--rs-page-padding,32px 40px)}.rm-search input:focus,.rm-search input:focus-visible{outline:none;box-shadow:none}
@media(hover:none),(pointer:coarse){}
@media(prefers-reduced-motion:reduce){}
@media(max-width:680px){.rm-head{flex-wrap:wrap}.rm-capture-controls{flex-wrap:wrap}.rm-catalogue-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100%}.rm-catalogue-search{max-width:100%}}

/* Chart text stays in CSS pixels; only plotted geometry uses SVG coordinates. */
.rm-chart-card{position:relative;margin-top:16px;background:#fff;border:1px solid var(--rs-line,#d6e1ee);border-radius:8px;padding:16px 20px 12px}
.rm-chart-legend{display:flex;align-items:center;gap:16px;min-height:20px;margin-bottom:20px}
.rm-chart-unit{margin-left:auto;color:#808080;font-size:12px}
.rm-chart-frame{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:168px 28px;column-gap:10px}
.rm-chart-y-axis{position:relative;grid-column:1;grid-row:1;font-size:12px;line-height:18px;color:#808080;font-variant-numeric:tabular-nums}
.rm-chart-y-axis span{position:absolute;right:0;transform:translateY(-50%)}
.rm-chart-plot{position:relative;grid-column:2;grid-row:1;min-width:0;outline-offset:5px;cursor:crosshair}
.rm-chart-plot:focus-visible{outline:2px solid var(--rs-blue,#0259f0);border-radius:2px}
.rm-chart{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.rm-grid-line{stroke:#e1e1e1;stroke-width:1;stroke-dasharray:4 3}
.rm-chart-path{fill:none;stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.rm-delivered-line{stroke:var(--rs-blue,#0259f0)}
.rm-failed-line{stroke:#913569}
.rm-chart-x-axis{grid-column:2;grid-row:2;position:relative;min-width:0;font-size:12px;line-height:18px;color:#808080;font-variant-numeric:tabular-nums}
.rm-chart-x-axis span{position:absolute;top:10px;transform:translateX(-50%);white-space:nowrap}
.rm-chart-x-axis .is-first{transform:none}.rm-chart-x-axis .is-last{transform:translateX(-100%)}
.rm-chart-focus[hidden],.rm-chart-tooltip[hidden]{display:none}
.rm-chart-crosshair{stroke:#9aabbe;stroke-width:1;stroke-dasharray:3 3}
.rm-chart-selected{stroke:#fff;stroke-width:2}.rm-delivered-point{fill:var(--rs-blue,#0259f0)}.rm-failed-point{fill:#913569}
.rm-chart-tooltip{position:absolute;z-index:3;width:164px;min-width:0;max-width:100%;padding:10px 12px;background:#26394f;color:#fff;border-radius:6px;box-shadow:0 4px 14px #1a365225;font-size:12px;line-height:18px;pointer-events:none;font-variant-numeric:tabular-nums}
.rm-chart-tooltip strong{display:block;font-weight:500;margin-bottom:5px;color:#e3ebf6}
.rm-chart-tooltip>span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.rm-chart-tooltip b{font-weight:550;margin-left:auto;padding-left:12px}
.rm-chart-tooltip .rm-dot{height:6px;width:6px;flex:none}.rm-chart-tooltip .rm-blue{background:#6a9aff}.rm-chart-tooltip .rm-plum{background:#df8ebb}
.rm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rm-catalogue>.rs-table-scroll{margin-top:16px}
.rm-catalogue-toolbar{gap:16px;flex-wrap:wrap}.rm-catalogue-actions{gap:12px;flex-wrap:wrap;justify-content:flex-end;max-width:100%}
.rm-catalogue-search{width:260px;height:40px;max-width:100%}
.rm-live-status{width:190px;max-width:100%;flex-shrink:0}.rm-live-status>.rs-select{width:100%}
.rm-live-status select{width:100%;height:40px;border:1px solid var(--rs-line,#d6e1ee);border-radius:6px;background:#fff;color:var(--rs-text,#344054);padding:6px 10px;font:inherit}
.rm-tabs button:hover,.rm-tabs button:active,.rm-tabs button[aria-selected=true]{color:var(--rs-blue,#0259f0);background:transparent}
@media(max-width:680px){.rm-chart-card{padding:16px 12px 12px}.rm-chart-frame{grid-template-columns:28px minmax(0,1fr);grid-template-rows:160px 28px;column-gap:8px}.rm-catalogue-actions{width:100%;justify-content:flex-start}.rm-catalogue-search{width:100%}.rm-live-status{width:180px;flex-shrink:1}.rm-chart-legend{gap:12px}.rm-chart-tooltip{width:148px;padding:8px}}

/* A single catalogue surface keeps its chart and rows in one reading order. */
.rm-monitor .rm-catalogue{margin-top:24px}
.rm-monitor-component{margin-top:16px;border:1px solid var(--rs-line);border-radius:8px;background:var(--rs-white,#fff);overflow:hidden}
.rm-monitor-component .rm-analytics{margin:0}
.rm-monitor-component .rm-chart-card{margin:0;border:0;border-radius:0;padding:20px 20px 16px}
.rm-monitor-component>.rs-table-scroll{border:0;border-top:1px solid var(--rs-line);border-radius:0}
.rm-monitor-component .rm-chart-tooltip{background:#000;color:#fff}
.rm-monitor-component .rm-chart-tooltip strong{color:#fff}

/* Live event headers share the same baseline and full-bleed divider. */
.rm-origin-button,.rm-origin-button:hover,.rm-origin-button:active{background:transparent!important;box-shadow:none!important;text-decoration:none!important}
.rm-origin-button{color:var(--rs-text-secondary)}
.rm-origin-button:hover,.rm-origin-button:active{color:var(--rs-blue)}
.rm-live-head{padding-bottom:24px}
.rm-live-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px}
.rm-events{padding:0;border-color:var(--rs-line)}
.rm-events-head{height:44px;padding:0 16px;grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);gap:8px;border-color:var(--rs-line);font-size:12px;line-height:18px;background:var(--rs-white,#fff)}
.rm-events-head span:last-child{padding-left:0}
.rm-events-transfer-label{text-align:center}
.rm-live .rm-events-list{padding:8px;height:480px;scrollbar-gutter:stable}
.rm-event-row{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);gap:8px;min-height:82px}
.rm-event-before,.rm-event-after{gap:8px;padding:10px 8px;min-height:72px;border-radius:6px;color:var(--rs-text)}
.rm-event-before>img,.rm-event-after>img{height:20px;width:20px;flex-basis:20px;margin-top:0}
.rm-event-before strong,.rm-event-after strong{font-size:13px;line-height:20px}
.rm-event-before small,.rm-event-after small{font-size:12px;line-height:18px}
.rm-event-before:hover,.rm-event-after:hover{box-shadow:none;background:var(--rs-hover)}
.rm-event-before[aria-pressed=true],.rm-event-after[aria-pressed=true]{background:var(--rs-selected);box-shadow:inset 0 0 0 1px var(--rs-blue)}
.rm-event-before:focus-visible,.rm-event-after:focus-visible{outline-offset:-2px}
.rm-event-arrow{padding:0;margin:0;align-self:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;color:var(--rs-text-secondary)}
.rm-event-arrow small{font-size:10px;line-height:16px;white-space:nowrap}
.rm-event-status{display:flex;align-items:center;gap:4px;font-size:11px;line-height:18px;white-space:nowrap;margin-top:2px}
.rm-status{display:inline-flex;width:14px;height:14px;min-width:14px;flex:0 0 14px;align-items:center;justify-content:center;margin:0;padding:0;background:none;border:0;border-radius:0;clip-path:none;color:var(--rs-success,#16834a)}
.rm-status>.rs-icon{width:14px;height:14px}
.rm-status-warning{color:#a96408;background:none;clip-path:none;border-radius:0}
.rm-status-error{color:var(--rs-error-color,#c4384c);background:none}
.rm-status-transferring{color:var(--rs-blue);background:none}
.rm-status-waiting{color:var(--rs-text-secondary);background:none}
.rm-status-transferring>.rs-icon{animation:rm-transfer 1.2s linear infinite}
.rm-event-dropped,.rm-event-error{background:transparent;color:var(--rs-text)}
.rm-payload{border-color:var(--rs-line)}
.rm-code-head{height:44px;min-height:44px;padding:0 12px 0 16px;border-bottom:1px solid var(--rs-line);background:var(--rs-white,#fff)}
.rm-code-head>span:first-child{color:var(--rs-text);font-weight:500}
.rm-code-head small,.rm-code-format{color:var(--rs-text-secondary);font-size:12px;font-weight:400}
.rm-code-actions{display:flex;align-items:center;gap:4px}
.rm-code-actions .rm-code-format{margin-right:8px;font-family:var(--rs-font-mono,'SFMono-Regular',Consolas,monospace)}
.rm-code-actions .rm-copy-button:hover{color:var(--rs-blue);background:var(--rs-hover)}
.rm-code-actions .rm-copy-button[aria-pressed=true]{color:var(--rs-blue)}
.rm-live .rm-code-body{height:450px;padding:14px 0;max-height:none;background:var(--rs-white,#fff);scrollbar-width:thin}
.rm-code-line{min-height:23px}
.rm-line-number{position:sticky;left:0;flex-basis:44px;min-width:44px;padding:0 12px 0 8px;text-align:right;color:var(--rs-text-disabled);background:var(--rs-white,#fff);line-height:23px;font-size:12px}
.rm-code-line code{white-space:pre;overflow-wrap:normal;padding-right:16px}
.rm-code-body.is-wrapped .rm-code-line code{white-space:pre-wrap;overflow-wrap:anywhere}
.rm-code-body:not(.is-wrapped) .rm-code-line{min-width:max-content}
.rm-code-footer{height:30px;border-top:1px solid var(--rs-line);display:flex;justify-content:space-between;align-items:center;padding:0 16px;color:var(--rs-text-secondary);font-size:11px;line-height:18px;background:var(--rs-surface-subtle)}
.rm-payload-empty{height:480px}
.rm-json-key{color:#385eae}.rm-json-string{color:#18735a}.rm-json-literal{color:#9c3652}.rm-json-number{color:#875ca7}
@keyframes rm-transfer{to{transform:rotate(360deg)}}
@media(max-width:1200px){.rm-live-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.rm-event-before,.rm-event-after{gap:6px;padding:8px 4px}.rm-event-row,.rm-events-head{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:4px}.rm-event-before strong,.rm-event-after strong{font-size:12px}.rm-event-before small,.rm-event-after small{font-size:11px}}
@media(max-width:1000px){.rm-live-grid{grid-template-columns:1fr}.rm-payload-slot{grid-row:auto}.rm-live .rm-events-list{height:340px}.rm-live .rm-code-body{height:360px}.rm-payload-empty{height:280px}}
@media(max-width:680px){.rm-live .rm-events-list{height:340px}.rm-event-row,.rm-events-head{grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);gap:2px}.rm-events-head{padding:0 12px}.rm-events-transfer-label{font-size:10px}.rm-event-before>img,.rm-event-after>img{width:16px;height:16px;flex-basis:16px}.rm-event-arrow small{font-size:9px}.rm-event-status{font-size:10px}.rm-monitor-component .rm-chart-card{padding:20px 12px 12px}}
@media(prefers-reduced-motion:reduce){.rm-status-transferring>.rs-icon{animation:none}}

.rm-layout-link{margin-left:auto;color:var(--rs-blue)}

/* Catalogue category choices reserve space for a label, caret and selection mark. */
.rm-category-field{display:inline-flex;width:156px;min-width:156px;max-width:100%;vertical-align:middle}
.rm-category-field .rm-category-select{width:156px;max-width:none}
.rm-category-field>.rs-select{width:100%;min-width:156px;max-width:none}
.rm-category-field .rs-select-trigger{width:100%;min-width:156px;gap:12px}
.rm-category-field .rs-select-value{overflow:visible;text-overflow:clip;white-space:nowrap}
.rm-category-field .rs-select-chevron,.rm-category-field .rs-select-check{flex-shrink:0}
.rm-category-field .rs-select-option{gap:10px;white-space:nowrap}
.rm-category-field .rs-select-option-label{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.rm-category-field .rs-select-option-content{min-width:0;flex:1}

/* Live capture: one bounded stream beside a full-height payload editor. */
body.rs .rm-live{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
body.rs .rm-live-breadcrumb{flex:none;margin-bottom:12px}
body.rs .rm-live-head{flex:none;padding-bottom:24px}
body.rs .rm-live-toolbar{flex:none;gap:12px;flex-wrap:wrap;margin:16px 0}
body.rs .rm-live-toolbar .rm-search{width:280px;max-width:100%;min-width:0}
body.rs .rm-live-toolbar .rm-live-status{width:168px;max-width:100%;min-width:0}
body.rs .rm-live-toolbar .rm-capture-meta{font-size:11px;gap:6px}
body.rs .rm-sample-button{white-space:nowrap}
body.rs .rm-live-focus{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0;gap:0;align-items:stretch;border:1px solid var(--rs-line);border-radius:6px;background:var(--rs-white);overflow:hidden}
body.rs .rm-live-focus>.rm-events{display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;padding:0;border:0;border-right:1px solid var(--rs-line);border-radius:0;overflow:hidden}
body.rs .rm-live-focus>.rm-payload-slot{width:100%;min-width:0;min-height:0;height:auto;grid-row:auto}
body.rs .rm-live-focus .rm-events-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;height:40px;padding:0 14px;border-bottom:1px solid var(--rs-line);background:var(--rs-surface-subtle)}
body.rs .rm-live-focus .rm-events-head strong{font-size:13px;font-weight:500;color:var(--rs-text)}
body.rs .rm-live-focus .rm-stream-count{font-size:11px;color:var(--rs-text-secondary);white-space:nowrap}
body.rs .rm-live-focus .rm-events-list{height:auto;min-height:0;max-height:none;flex:1;padding:0;overflow:auto;scrollbar-width:thin;scrollbar-gutter:stable}
.rm-event-stream{min-width:0}
body.rs .rm-stream-event{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:20px 16px;align-content:center;column-gap:8px;row-gap:2px;position:relative;width:100%;height:56px;padding:8px 14px;text-align:left;border:0;border-bottom:1px solid var(--rs-line);border-radius:0;background:var(--rs-white);color:var(--rs-text);font:inherit;box-shadow:none}
body.rs .rm-stream-event:hover{background:var(--rs-hover)}
body.rs .rm-stream-event[data-selected=true]{background:var(--rs-selected);box-shadow:inset 2px 0 0 var(--rs-blue)}
body.rs .rm-stream-event:focus-visible{outline:2px solid var(--rs-blue);outline-offset:-2px;z-index:1}
.rm-stream-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:20px;font-weight:500}
.rm-stream-event>.rm-status{justify-self:end;align-self:center}
.rm-stream-event time,.rm-stream-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;color:var(--rs-text-secondary)}
.rm-stream-event time{font-variant-numeric:tabular-nums}
.rm-stream-status{text-align:right}
body.rs .rm-stream-event[data-selected=true] :is(time,.rm-stream-status){color:var(--rs-text)}
body.rs .rm-live-focus .rm-listening-empty{padding:24px 16px;gap:6px}
body.rs .rm-live-focus .rm-listening-empty strong{font-size:13px}
body.rs .rm-live-focus .rm-listening-empty p{font-size:12px;line-height:20px}
body.rs .rm-live-focus .rm-inspector{display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;border:0;border-radius:0;background:var(--rs-white)}
body.rs .rm-live-focus .rm-code-head{display:flex;align-items:center;gap:16px;height:40px;min-height:40px;flex:none;padding:0 8px 0 16px;background:var(--rs-surface-subtle);border-bottom:1px solid var(--rs-line)}
.rm-inspector-title{font:500 13px/20px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--rs-text)}
.rm-inspector-filename{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--rs-text-secondary);font:400 12px/20px var(--rs-font-mono,'SFMono-Regular',Consolas,monospace)}
.rm-code-head .rm-code-actions{flex:none;margin-left:auto;gap:2px}
.rm-code-actions button:disabled{color:var(--rs-text-disabled);cursor:default;opacity:.65}
.rm-payload-tabs{display:flex;align-self:stretch;flex:none;gap:20px}
body.rs .rm-payload-tabs button{display:flex;align-items:center;height:100%;padding:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--rs-text-secondary);font:500 13px/20px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
body.rs .rm-payload-tabs button[aria-selected=true]{color:var(--rs-blue);border-bottom-color:var(--rs-blue)}
body.rs .rm-payload-tabs button:hover{color:var(--rs-blue);background:transparent}
body.rs .rm-payload-tabs button:focus-visible{outline-offset:-3px}
body.rs .rm-live-focus .rm-code-body{height:auto;min-height:0;max-height:none;flex:1;padding:12px 0;overflow:auto;scrollbar-width:thin}
body.rs .rm-live-focus .rm-code-body pre{margin:0;min-width:100%;font:400 14px/23px var(--rs-font-mono,'SFMono-Regular',Consolas,'Liberation Mono',monospace)}
body.rs .rm-live-focus .rm-code-line{min-height:23px}
body.rs .rm-live-focus .rm-line-number{flex:0 0 44px;min-width:44px;padding:0 10px 0 8px;margin-right:12px;border-right:1px solid var(--rs-line);font-size:12px;line-height:23px}
body.rs .rm-live-focus .rm-code-line code{font:inherit;padding-right:16px}
body.rs .rm-live-focus .rm-payload-empty{height:auto;min-height:0;flex:1;padding:24px;gap:6px}
body.rs .rm-live-focus .rm-payload-empty strong{font-size:13px}
body.rs .rm-live-focus .rm-payload-empty p{font-size:12px;line-height:20px}
body.rs .rm-live-focus .rm-code-footer{height:28px;flex:none;padding:0 14px;font-size:11px;gap:12px}
@media(max-width:1100px){body.rs .rm-live-focus{grid-template-columns:260px minmax(0,1fr)}body.rs .rm-live-toolbar .rm-search{width:260px}.rm-inspector-filename{display:none}}
@media(max-width:760px){
 body.rs .rm-live{height:auto;min-height:100%;overflow:visible}
 body.rs .rm-live-focus{flex:none;grid-template-columns:minmax(0,1fr);grid-template-rows:208px 480px}
 body.rs .rm-live-focus>.rm-events{border-right:0;border-bottom:1px solid var(--rs-line)}
 body.rs .rm-live-toolbar .rm-search{flex:1;min-width:160px}
 body.rs .rm-live-toolbar .rm-capture-meta{margin-left:0}
 .rm-inspector-filename{display:block}
}
@media(max-width:520px){
 body.rs .rm-live-toolbar .rm-search,body.rs .rm-live-toolbar .rm-live-status{width:100%;flex-basis:100%;min-width:0}
 body.rs .rm-sample-button{max-width:100%;flex:1;font-size:12px;padding-left:8px;padding-right:8px}
 body.rs .rm-live-head{align-items:flex-start}
 body.rs .rm-capture-controls{max-width:100%;gap:6px}
 body.rs .rm-live-focus{grid-template-rows:168px 440px}
 body.rs .rm-live-focus .rm-code-head{gap:12px;padding-left:12px;padding-right:4px}
 .rm-payload-tabs{gap:16px}
 .rm-inspector-filename{display:none}
 body.rs .rm-live-focus .rm-line-number{flex-basis:34px;min-width:34px;margin-right:8px;padding-right:7px}
 body.rs .rm-live-focus .rm-code-footer{padding:0 10px;font-size:10px;gap:6px}
}
