#rmsTemplateBody .rtpl{padding:22px;background:#f3f6fa;color:#1d3554;font:14px/1.6 "Microsoft YaHei",sans-serif;min-height:100%;box-sizing:border-box}
#rmsTemplateBody .rtpl *{box-sizing:border-box}#rmsTemplateBody .rtpl header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
#rmsTemplateBody .rtpl h2{font-size:24px;margin:2px 0 5px;color:#152d4b}#rmsTemplateBody .rtpl h3{font-size:16px;margin:0 0 12px}#rmsTemplateBody .rtpl h4{margin:0 0 10px}#rmsTemplateBody .rtpl p{margin:5px 0 12px}#rmsTemplateBody .rtpl small,#rmsTemplateBody .rtpl-help{color:#71839a;font-size:12px}
#rmsTemplateBody .rtpl nav{display:flex;gap:8px;border-bottom:1px solid #dce5f0;padding-bottom:14px;margin-bottom:18px}#rmsTemplateBody .rtpl button{cursor:pointer;font:inherit}#rmsTemplateBody .rtpl button:disabled{cursor:default;opacity:.5}#rmsTemplateBody .rtpl button[aria-pressed=true]{background:#e8f0ff;color:#175abe;border-color:#8eafe3}
#rmsTemplateBody .rtpl input:not([type=checkbox]),#rmsTemplateBody .rtpl select{width:100%;min-width:0;border:1px solid #cbd9eb;border-radius:5px;min-height:36px;padding:7px 9px;background:white;color:#173457;font:inherit}#rmsTemplateBody .rtpl input[type=checkbox]{accent-color:#256bd1}#rmsTemplateBody .rtpl input:focus,#rmsTemplateBody .rtpl select:focus{outline:2px solid #a8caff;outline-offset:1px}
#rmsTemplateBody .rtpl-card{border:1px solid #d7e2ef;border-radius:8px;background:#fff;padding:18px;margin-bottom:16px;min-width:0}#rmsTemplateBody .rtpl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}#rmsTemplateBody .rtpl-full{grid-column:1/-1}#rmsTemplateBody .rtpl-field{display:flex;flex-direction:column;gap:6px;min-width:0}#rmsTemplateBody .rtpl-field>span{font-size:13px;color:#617d9f}#rmsTemplateBody .rtpl-source{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px;align-items:start}
#rmsTemplateBody .rtpl-toolbar,#rmsTemplateBody .rtpl footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}#rmsTemplateBody .rtpl-toolbar h3{margin:0;margin-right:auto}#rmsTemplateBody .rtpl-toolbar>input{max-width:340px}#rmsTemplateBody .rtpl footer{justify-content:flex-end;padding:16px 0;border-top:1px solid #d7e2ef}
#rmsTemplateBody .rtpl-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px}#rmsTemplateBody .rtpl-tasks{list-style:none;padding:0;margin:0 0 14px}#rmsTemplateBody .rtpl-tasks button{display:flex;gap:10px;text-align:left;align-items:flex-start;width:100%;border:1px solid #dce6f2;border-radius:6px;background:#fff;padding:12px 9px;margin:0 0 9px;color:#24496f}#rmsTemplateBody .rtpl-tasks strong,#rmsTemplateBody .rtpl-tasks small{display:block}#rmsTemplateBody .rtpl-order{border-radius:5px;background:#eef3fa;padding:0 6px;font-size:12px}
#rmsTemplateBody .rtpl-checks{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0}#rmsTemplateBody .rtpl-check{display:inline-flex;align-items:center;gap:5px}#rmsTemplateBody .rtpl-note{padding:9px 12px;border-radius:5px;background:#edf4ff;color:#416993;font-size:12px}#rmsTemplateBody .rtpl-warning{padding:10px 14px;background:#fff2db;border:1px solid #edcc91;border-radius:5px;color:#85520e}
#rmsTemplateBody .rtpl-badge{display:inline-block;border-radius:4px;font-size:12px;padding:2px 8px;background:#edf1f6;color:#677a93;white-space:nowrap}#rmsTemplateBody .rtpl-success,#rmsTemplateBody .rtpl-published{background:#e4f5ed;color:#247650}#rmsTemplateBody .rtpl-running{background:#e8f0ff;color:#2365c7}#rmsTemplateBody .rtpl-failed{background:#fdebea;color:#bf4444}#rmsTemplateBody .rtpl-partial{background:#fff2d8;color:#987020}
#rmsTemplateBody .rtpl-table{overflow-x:auto}#rmsTemplateBody .rtpl-table td{vertical-align:middle;padding:12px}#rmsTemplateBody .rtpl-actions{display:flex;flex-wrap:wrap;gap:6px}#rmsTemplateBody .rtpl-categories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#rmsTemplateBody .rtpl-catalog-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#rmsTemplateBody .rtpl-catalog-items button{padding:15px;text-align:left;border:1px solid #d7e2ef;border-radius:6px;background:#f8faff;color:#24496f}#rmsTemplateBody .rtpl-catalog-items strong,#rmsTemplateBody .rtpl-catalog-items small{display:block}
#rmsTemplateBody .rtpl-section{border-top:1px solid #e1e8f2;padding-top:18px;margin-top:5px}#rmsTemplateBody .rtpl-empty{text-align:center;padding:45px 10px;color:#6c819a}#rmsTemplateBody .rtpl-variable-list{display:flex;flex-wrap:wrap;gap:10px}#rmsTemplateBody .rtpl-variable-list span{padding:7px 12px;border:1px solid #dfe7f1;border-radius:5px;font-size:12px}#rmsTemplateBody .rtpl-device-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#rmsTemplateBody .rtpl-device-list label{padding:12px;border:1px solid #e0e7f1;border-radius:5px;overflow-wrap:anywhere}
#rmsTemplateBody .rtpl details{margin-top:14px}#rmsTemplateBody .rtpl summary{cursor:pointer;color:#286dc5;margin-bottom:12px}#rmsTemplateBody .rtpl-per-device{padding:12px 0;border-top:1px solid #e0e7f1}#rmsTemplateBody .rtpl-secret-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}#rmsTemplateBody .rtpl-secret-row input{max-width:180px!important}#rmsTemplateBody .rtpl-feedback:not(:empty){border:1px solid #bfceed;background:#eaf2ff;padding:12px;border-radius:6px;margin-bottom:16px;white-space:pre-wrap}
@media(max-width:850px){#rmsTemplateBody .rtpl-workspace{grid-template-columns:210px minmax(0,1fr)}#rmsTemplateBody .rtpl-grid,#rmsTemplateBody .rtpl-source{grid-template-columns:1fr}#rmsTemplateBody .rtpl-catalog-items{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#rmsTemplateBody .rtpl{padding:12px}#rmsTemplateBody .rtpl-workspace,#rmsTemplateBody .rtpl-device-list,#rmsTemplateBody .rtpl-catalog-items{grid-template-columns:1fr}#rmsTemplateBody .rtpl header{align-items:flex-start}#rmsTemplateBody .rtpl header>.rtpl-badge{display:none}}
