.realtime-page{min-width:0;background:#f5f7fb;padding:22px 24px 36px}.realtime-page h1{margin:0 0 18px;font-size:26px;letter-spacing:0}.rt-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px}.rt-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:12px;padding:18px;align-items:center}.rt-filters input,.rt-filters select{height:40px;border-color:#cfd7e3;border-radius:6px}.rt-actions{display:flex;gap:10px}.rt-actions button{height:40px}.rt-toolbar{display:flex;justify-content:flex-end;padding:0 18px 16px}.rt-toolbar .primary{height:40px}.rt-table-wrap{overflow:auto;border-top:1px solid #e5e7eb}.rt-table{min-width:1270px;table-layout:auto}.rt-table th{height:auto;padding:13px 14px;background:#f8fafc;color:#475467;font-size:13px;white-space:nowrap}.rt-table td{height:auto;padding:14px;font-size:13px;white-space:nowrap}.rt-link{color:#1677ff;cursor:pointer}.rt-status{display:inline-flex;padding:3px 9px;border-radius:999px;font-size:12px}.rt-status.on{color:#16a34a;background:#eefbf1}.rt-status.draft{color:#d97706;background:#fff7ed}.rt-status.off{color:#667085;background:#f2f4f7}.rt-ops{display:flex;gap:14px}.rt-footer{height:auto;justify-content:flex-end;align-items:center;padding:14px 18px}.rt-footer select{width:100px;height:34px}.rt-modal{width:min(1120px,96vw);height:min(890px,92vh);max-height:92vh;display:flex;flex-direction:column}.rt-modal>.modal-body{padding:20px 24px;max-height:none;flex:1;overflow:auto}.rt-modal>header{height:64px;padding:0 24px}.rt-modal h2{font-size:20px}.rt-section{margin-bottom:22px}.rt-section h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:0;border:0;font-size:16px}.rt-section h3:before{content:"";width:4px;height:18px;border-radius:2px;background:#1677ff}.rt-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px}.rt-field{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:center}.rt-field.full{grid-column:1/-1;align-items:start}.rt-field label{color:#344054;text-align:right;white-space:nowrap}.rt-field b{color:#ef4444;font-weight:400;margin-left:2px}.rt-field input,.rt-field select{height:40px;border-color:#cfd7e3;border-radius:6px}.rt-field textarea{min-height:74px;border-color:#cfd7e3;border-radius:6px}.rt-param-box{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.rt-param-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.rt-param-head strong{font-size:14px}.rt-param-head small{color:#98a2b3}.rt-param-group{border-bottom:1px solid #e5e7eb}.rt-param-group:last-child{border:0}.rt-param-group-title{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#eef9f1;color:#087f4b;font-weight:700;cursor:pointer}.rt-param-group.collapsed .rt-param-group-body{display:none}.rt-param-group.collapsed .rt-arrow{transform:rotate(-90deg)}.rt-arrow{font-size:12px;transition:.2s}.rt-param-group-body{display:grid;grid-template-columns:1fr 1fr}.rt-param-line{display:grid;grid-template-columns:180px minmax(0,1fr) 145px;align-items:center;min-height:50px;border-top:1px solid #edf1f5}.rt-param-line:nth-child(odd){border-right:1px solid #edf1f5}.rt-param-line>span{padding:8px 12px;font-size:13px}.rt-param-code{font-family:Consolas,monospace;font-weight:600;color:#344054}.rt-param-desc,.rt-param-input{border-left:1px solid #edf1f5;color:#475467}.rt-param-input input,.rt-param-input select{height:34px;padding:6px 8px}.rt-param-empty{padding:24px;text-align:center;color:#98a2b3}.rt-modal footer{height:68px;padding:0 24px}.rt-script-modal{width:min(1120px,96vw)}.rt-script-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 18px;margin-bottom:14px}.rt-script-meta div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:10px 12px;font-size:13px}.rt-script{min-height:360px;margin:0;background:#0f172a;color:#dbeafe;border-radius:8px;padding:18px;white-space:pre-wrap;font:13px/1.65 Consolas,monospace}@media(max-width:980px){.rt-filters,.rt-grid,.rt-script-meta{grid-template-columns:1fr}.rt-param-group-body{grid-template-columns:1fr}.rt-param-line:nth-child(odd){border-right:0}}
