.ra-editor{background:#fff}
.ra-principle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;background:#f7faff;border-bottom:1px solid #dce6f1;font-size:13px;color:#35618c;flex-shrink:0}
.ra-principle small{font-size:11px;color:#8c9db0}
.ra-layout .rm-scroll{min-height:260px}
.ra-table{width:100%;min-width:1285px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:13px;color:#355577}
.ra-table th{position:sticky;top:0;z-index:2;background:#3478ba;color:#fff;text-align:left;height:54px;padding:8px 12px;border-right:1px solid #78a2cc;font-weight:500}
.ra-table th small{color:#d8e8f7;font-size:10px}
.ra-table td{border-right:1px solid #e0e7ef;border-bottom:1px solid #e0e7ef;padding:11px 12px;vertical-align:top;background:#fff;line-height:1.65}
.ra-table tbody tr:nth-child(even) td{background:#fafcfe}
.ra-table tbody tr.selected td{background:#edf4ff}
.ra-table tbody tr.ra-running td{background:#e1f3ec}
.ra-table td strong{font-size:13px;font-weight:600;display:block;color:#2c527b}
.ra-table td small{font-size:11px;color:#92a1b2;display:block}
.ra-table td .rp-button{font-size:12px;min-height:44px;padding:7px 11px}
.ra-step{min-width:36px;min-height:44px;padding:4px;border:0;background:transparent;color:#4278b2;font:15px ui-monospace,Consolas,monospace}
.ra-dispatch{display:inline-block;background:#e9f0fa;color:#5e81a9;font-size:10px;padding:1px 6px;border-radius:3px;margin-bottom:4px}
.ra-command{font-size:12px;color:#345777;line-height:1.7;overflow-wrap:anywhere}
.ra-command>span{display:inline-block;min-width:16px;color:#7b9aba}
.ra-command em{display:inline-block;font-style:normal;font-size:9px;border:1px solid #e3d9c6;color:#a18a58;border-radius:3px;padding:0 4px;margin-left:4px}
.ra-check{font-size:12px;color:#367b6d;line-height:1.9}
.ra-gate{font-size:12px;color:#617c9a}
.ra-time{font:13px ui-monospace,Consolas,monospace!important;color:#557596}
.rp-dialog.ra-wide-dialog{width:1100px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 36px)}
.ra-wide-dialog .rp-modal-body{padding:20px 24px;max-height:calc(100dvh - 210px);overflow:auto}
.ra-wide-dialog .rp-modal-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #e0e8f0}
.ra-form{border:0;padding:0;margin:0;min-width:0}
.ra-form-top{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}
.ra-section-title{display:flex;justify-content:space-between;align-items:center;margin:15px 0 10px;border-top:1px solid #e1e8f0;padding-top:12px}
.ra-section-title h4{font-size:14px;color:#3f658b;margin:0}
.ra-section-title button,.ra-row-buttons button,.ra-check-row>button{background:#f2f7fd;border:1px solid #cdddeb;color:#4676a8;border-radius:4px;min-width:44px;min-height:44px;padding:5px 12px;font-size:13px}
.ra-command-row{display:grid;grid-template-columns:26px 145px minmax(180px,1fr) 130px 95px 92px;align-items:start;gap:7px;background:#f8fafd;border:1px solid #e0e8f0;border-radius:5px;padding:10px;margin-bottom:9px}
.ra-command-row select,.ra-command-row input,.ra-check-row select,.ra-check-row input{width:100%;min-height:44px;border:1px solid #cbd9e7;background:white;border-radius:4px;font:13px 'Microsoft YaHei','PingFang SC',sans-serif;color:#355a7b;padding:7px}
.ra-command-row select:nth-child(4):last-of-type{grid-column:4/6}
.ra-item-number{font:12px ui-monospace,Consolas,monospace;color:#8ca0b4;padding-top:15px;text-align:center}
.ra-row-buttons{display:flex;gap:4px;grid-column:6}
.ra-row-buttons button{padding:5px}
.ra-ramp{grid-column:3/6;display:flex;align-items:center;gap:10px;font-size:11px;color:#8294a8}
.ra-ramp input{max-width:150px;min-height:40px}
.ra-binding-note{grid-column:2/-1;font-size:11px;color:#a08b5b}
.ra-check-row{display:flex;align-items:center;gap:8px;margin-bottom:9px;border:1px solid #d9e9e4;padding:10px;background:#f7fbf9;border-radius:5px}
.ra-check-row select:first-child{flex:2.2}
.ra-check-row select:not(:first-child),.ra-check-row input{flex:1}
.ra-gate-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}
.ra-wide-dialog .rp-field{font-size:12px}
.ra-wide-dialog textarea{font:13px 'Microsoft YaHei','PingFang SC',sans-serif;width:100%;min-height:62px;padding:9px;border:1px solid #ccd9e8;border-radius:4px;color:#355a7b}
.ra-preset-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:22px}
.ra-preset-choices button{min-height:56px;padding:9px;background:#f5f8fc;border:1px solid #d5e0eb;color:#55799d;border-radius:5px;font-size:12px;line-height:1.6}
.ra-preset-choices button.active{border-color:#6d9fd7;background:#e9f2ff;color:#2767b0;box-shadow:inset 0 -2px #4b86c5}
.ra-preset-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.ra-checkbox{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:12px;color:#7088a1;min-height:44px}
.ra-checkbox input{width:20px!important;min-height:20px!important}
.ra-catalog-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}
.ra-catalog-summary>div{background:#f1f6fc;border:1px solid #d9e4f0;padding:15px;border-radius:5px}
.ra-catalog-summary strong{font-size:25px;color:#386b9f;display:block}
.ra-catalog-summary span{display:block;font-size:13px;color:#4e7496;margin:5px 0}
.ra-catalog-summary small{font-size:10px;color:#8a9db1}
.ra-issues{border:1px solid #e8ddc9;background:#fffaf0;padding:12px 16px;border-radius:4px;color:#9a835c;font-size:12px;line-height:1.8;margin:18px 0}
.ra-issues summary{cursor:pointer;min-height:28px}
.ra-issues p{margin:8px 0}
.ra-catalog-list h4{font-size:14px;color:#406b93;margin:20px 0 8px}
.ra-catalog-list table{border-collapse:collapse;width:100%;font-size:12px}
.ra-catalog-list th,.ra-catalog-list td{text-align:left;border:1px solid #dce6ef;padding:9px 11px;color:#5b7894}
.ra-catalog-list th{background:#eff5fb;color:#426b91;font-weight:500}
.ra-layout .rm-runtime-strip{flex-wrap:wrap}
.ra-layout .rm-runtime-strip>div:first-child{flex-wrap:wrap}
.ra-layout .ra-phase{flex-basis:100%;color:#6886a2;font-size:11px;max-width:900px;white-space:normal}
@media(max-width:1450px){.ra-principle small{display:none}.ra-layout .rm-table-toolbar{flex-wrap:wrap}.ra-layout .rm-runtime-strip strong{max-width:240px}}
@media(max-width:900px){.ra-command-row{grid-template-columns:24px 120px 1fr}.ra-command-row .ra-row-buttons{grid-column:auto}.ra-ramp,.ra-binding-note{grid-column:1/-1}.ra-preset-choices{grid-template-columns:repeat(3,1fr)}.ra-gate-form{grid-template-columns:1fr 1fr}.ra-catalog-summary{grid-template-columns:1fr 1fr}.ra-check-row{flex-wrap:wrap}}
