html,
body,
.rms-page {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 13px;
}

.rms-topbar {
  box-sizing: border-box;
  padding: 10px 14px 8px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f3f6fa 100%);
  border-bottom: 1px solid #d8dce3;
}

.rms-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rms-brand {
  margin-right: 12px;
  color: #173f70;
  font-size: 17px;
  font-weight: 700;
}

.rms-summary {
  margin-left: auto;
  color: #5f6f82;
}

.rms-status-online { color: #16813a; font-weight: 700; }
.rms-status-offline { color: #c43d32; font-weight: 700; }
.rms-status-warn { color: #a56700; font-weight: 700; }

.rms-detail-region,
.rms-log-region {
  background: #fff;
}

.rms-detail-empty {
  padding: 18px;
  color: #738095;
}

.rms-detail {
  padding: 10px 12px 20px;
  overflow: auto;
}

.rms-detail-title {
  margin: 0 0 8px;
  color: #173f70;
  font-size: 16px;
}

.rms-kv-grid {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 5px 8px;
  padding: 8px 0 12px;
  border-bottom: 1px solid #d9dee6;
}

.rms-kv-grid dt { color: #667085; }
.rms-kv-grid dd { margin: 0; color: #1f2937; word-break: break-all; }

.rms-section-title {
  margin: 14px 0 6px;
  color: #344054;
  font-size: 14px;
}

.rms-mini-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rms-mini-table th,
.rms-mini-table td {
  padding: 6px 5px;
  border: 1px solid #dfe3e8;
  text-align: left;
  overflow-wrap: anywhere;
}

.rms-mini-table th { background: #f4f6f8; color: #4b5563; }
.rms-muted { color: #7b8492; }

.rms-operation-log {
  box-sizing: border-box;
  height: 100%;
  padding: 8px 12px;
  overflow: auto;
  color: #39485a;
  line-height: 1.7;
}

.rms-log-line.ok { color: #16813a; }
.rms-log-line.warn { color: #a56700; }
.rms-log-line.error { color: #c43d32; }

.rms-filterbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: #475467;
}

.rms-filterbar label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rms-filter-input,
.rms-filter-select {
  box-sizing: border-box;
  height: 30px;
  border: 1px solid #bfc9d8;
  border-radius: 4px;
  background: #fff;
  color: #25364d;
  outline: none;
}

.rms-filter-input { width: 230px; padding: 0 9px; }
.rms-filter-select { min-width: 108px; padding: 0 6px; }
.rms-filter-input:focus,
.rms-filter-select:focus { border-color: #4c8bdc; box-shadow: 0 0 0 2px rgba(76, 139, 220, .12); }

.rms-text-button,
.rms-button {
  box-sizing: border-box;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #aebccd;
  border-radius: 4px;
  background: #fff;
  color: #27415f;
  cursor: pointer;
}

.rms-text-button:hover,
.rms-button:hover { border-color: #5d8ec9; background: #f4f8fd; }
.rms-button.primary { border-color: #337dcc; background: #337dcc; color: #fff; }
.rms-button.danger { border-color: #d6a8a3; color: #b33a30; }
.rms-button[disabled] { border-color: #d5dbe3; background: #eef1f5; color: #8994a3; cursor: not-allowed; }
.rms-filter-hint { margin-left: auto; color: #7b8797; }

.rms-detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.rms-capability-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rms-capability-summary div {
  padding: 9px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  background: #f8fafc;
  color: #536275;
}

.rms-capability-summary strong { display: block; margin-bottom: 3px; color: #1d4778; font-size: 15px; }

.rms-workspace-loading { padding: 24px; color: #69778a; }
.rms-workspace { height: 100%; display: flex; flex-direction: column; background: #f4f7fb; }

.rms-workspace-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid #d8e0ea;
  background: #fff;
}

.rms-workspace-title { margin: 0 0 5px; color: #173f70; font-size: 20px; }
.rms-workspace-meta { color: #637185; line-height: 1.7; }
.rms-workspace-meta span { margin-right: 18px; }
.rms-workspace-badges { display: flex; align-items: flex-start; gap: 7px; }

.rms-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  background: #edf2f7;
  color: #58677a;
  font-size: 12px;
}

.rms-badge.ok { background: #e7f6ec; color: #16733a; }
.rms-badge.warn { background: #fff3d8; color: #9b6500; }
.rms-badge.error { background: #fde9e7; color: #b42318; }
.rms-badge.plan { background: #edf3ff; color: #2f65aa; }

.rms-workspace-nav {
  display: flex;
  gap: 2px;
  padding: 0 14px;
  border-bottom: 1px solid #ccd7e5;
  background: #eef3f9;
  overflow-x: auto;
}

.rms-workspace-nav button {
  min-width: 94px;
  padding: 11px 13px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #485c73;
  cursor: pointer;
  white-space: nowrap;
}

.rms-workspace-nav button:hover { color: #1f5f9f; background: rgba(255, 255, 255, .55); }
.rms-workspace-nav button.active { border-bottom-color: #347fca; background: #fff; color: #174f86; font-weight: 700; }

.rms-workspace-content { flex: 1; min-height: 0; overflow: auto; padding: 14px; }
.rms-workspace-panel { display: none; }
.rms-workspace-panel.active { display: block; }

.rms-panel-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rms-panel-toolbar h3 { margin: 0 auto 0 0; color: #29435e; font-size: 16px; }
.rms-panel-note { margin: -3px 0 12px; color: #718096; }
.rms-refresh-status { margin-left: auto; color: #6e7d8f; font-size: 12px; white-space: nowrap; }
.rms-refresh-status.pending { color: #956100; }
.rms-refresh-status.success { color: #16733a; }
.rms-refresh-status.warning { color: #956100; }
.rms-refresh-status.error { color: #b53b34; }
.rms-panel-toolbar .rms-refresh-status + .rms-button { margin-left: 0; }

.rms-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rms-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 13px;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(26, 55, 85, .04);
}

.rms-card.wide { grid-column: span 2; }
.rms-card h4 { margin: 0 0 9px; color: #274765; font-size: 14px; }
.rms-card p { margin: 5px 0; color: #536273; line-height: 1.55; }
.rms-card .rms-card-value { margin: 5px 0 0; color: #173f70; font-size: 20px; font-weight: 700; }
.rms-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }

.rms-data-table { width: 100%; border-collapse: collapse; background: #fff; }
.rms-data-table th,
.rms-data-table td { padding: 9px 8px; border: 1px solid #dce3ec; text-align: left; vertical-align: middle; }
.rms-data-table th { background: #edf3f8; color: #405269; font-weight: 600; }
.rms-data-table td { color: #29384a; }
.rms-data-table .actions { white-space: nowrap; }
.rms-wan-table { min-width: 1260px; }
.rms-table-scroll { max-width: 100%; overflow-x: auto; }
.rms-lan-summary,
.rms-voice-summary,
.rms-iptv-summary,
.rms-system-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 15px; }
.rms-lan-summary article,
.rms-voice-summary article,
.rms-iptv-summary article,
.rms-system-summary article { min-width: 0; padding: 11px 12px; border: 1px solid #d9e2ec; border-radius: 5px; background: #fff; }
.rms-lan-summary span,
.rms-lan-summary small,
.rms-voice-summary span,
.rms-voice-summary small,
.rms-iptv-summary span,
.rms-iptv-summary small,
.rms-system-summary span,
.rms-system-summary small { display: block; color: #728196; }
.rms-lan-summary strong,
.rms-voice-summary strong,
.rms-iptv-summary strong,
.rms-system-summary strong { display: block; margin: 5px 0; overflow-wrap: anywhere; color: #244a70; font-size: 16px; }
.rms-maintenance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rms-maintenance-grid article { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid #d9e2ec; border-radius: 5px; background: #fff; }
.rms-maintenance-grid article > div { flex: 1; min-width: 0; }
.rms-maintenance-grid h4 { margin: 0 0 5px; color: #355570; }
.rms-maintenance-grid p { margin: 0; color: #728196; line-height: 1.5; }
.rms-section-title { margin: 15px 0 8px; color: #355570; font-size: 14px; }
.rms-lan-table { min-width: 790px; }
.rms-lan-host-table { min-width: 1040px; }
.rms-voice-line-table { min-width: 1280px; }
.rms-voice-profile-table { min-width: 1000px; }
.rms-iptv-table { min-width: 1180px; }
.rms-port-mac-note { margin: 8px 0 0; padding: 7px 9px; border-left: 3px solid #78a6d2; background: #f1f7fd; color: #587089; line-height: 1.5; }
.rms-code-value { color: #657185; font-family: Consolas, "Courier New", monospace; }
.rms-wan-detail-head { display: flex; align-items: flex-start; gap: 14px; margin: 14px 0 12px; }
.rms-wan-detail-head h3 { margin: 0 0 4px; color: #244a70; }
.rms-wan-detail-head p { margin: 0; color: #6b7a8d; }
.rms-wan-detail-head .rms-badge { margin-left: auto; }
.rms-wan-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rms-wan-detail-grid section { min-width: 0; padding: 11px 12px; border: 1px solid #dbe3ed; border-radius: 5px; background: #fafcfe; }
.rms-wan-detail-grid section.wide { grid-column: 1 / -1; }
.rms-wan-detail-grid h4 { margin: 0 0 8px; color: #365875; }
.rms-wan-detail-grid dl { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 7px 10px; margin: 0; }
.rms-wan-detail-grid dt { color: #758295; }
.rms-wan-detail-grid dd { min-width: 0; margin: 0; color: #293c51; }

.rms-empty-state {
  padding: 30px 20px;
  border: 1px dashed #c8d2df;
  border-radius: 6px;
  background: #fafbfd;
  color: #758297;
  text-align: center;
}
.rms-retry-button { margin-top: 12px; }

.rms-form-preview { padding: 17px 18px; }
.rms-preview-banner { padding: 10px 12px; border: 1px solid #f1d28f; border-radius: 5px; background: #fff8e9; color: #8a6114; }
.rms-live-banner { padding: 10px 12px; border: 1px solid #a8d8b7; border-radius: 5px; background: #eefaf2; color: #246b3c; }
.rms-live-banner.rms-destructive-banner { border-color: #e4b077; background: #fff5e8; color: #934b13; font-weight: 700; }
.rms-preview-description { margin: 12px 0; color: #5e6c7d; line-height: 1.65; }
.rms-form-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
.rms-form-grid label { color: #4f5e70; text-align: right; }
.rms-form-grid input,
.rms-form-grid select {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #c2ccda;
  border-radius: 4px;
  background: #fff;
  color: #26394f;
}
.rms-form-grid input[type="checkbox"] { width: auto; height: auto; justify-self: start; }
.rms-inline-control { display: flex; align-items: center; gap: 8px; }
.rms-inline-control input { flex: 1 1 auto; min-width: 0; }
.rms-inline-control .rms-button { flex: 0 0 auto; white-space: nowrap; }
.rms-field-help,
.rms-field-error { display: block; margin-top: 5px; line-height: 1.4; }
.rms-field-help { color: #778596; }
.rms-field-error { color: #c43d3d; }
.rms-form-grid input.rms-input-invalid { border-color: #d9534f; background: #fff6f6; }
.rms-form-section-title { grid-column: 1 / -1; margin-top: 5px; padding: 7px 9px; border-left: 3px solid #3b82c4; background: #eef5fc; color: #244a70; font-weight: 700; }
.rms-known-password { color: #24527a; font-family: Consolas, "Courier New", monospace; white-space: nowrap; }
.rms-binding-options { display: flex; flex-wrap: wrap; gap: 8px; min-height: 32px; align-items: center; }
.rms-binding-option { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; box-sizing: border-box; padding: 4px 9px; border: 1px solid #cbd5e2; border-radius: 4px; background: #f8fafc; color: #34495e !important; text-align: left !important; }
.rms-binding-option small { margin-left: 2px; color: #7b8796; }
.rms-binding-wifi { align-items: stretch; }
.rms-binding-empty { color: #7c8897; line-height: 1.5; }
.rms-ssid-editor { display: flex; min-width: 0; }
.rms-ssid-editor input { min-width: 0; border-radius: 0 4px 4px 0; }
.rms-ssid-prefix { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; box-sizing: border-box; min-height: 32px; padding: 0 9px; border: 1px solid #c2ccda; border-right: 0; border-radius: 4px 0 0 4px; background: #eef2f6; color: #43556a; font-weight: 700; }
.rms-ssid-prefix b { padding: 1px 5px; border-radius: 9px; background: #dbe4ee; color: #67788a; font-size: 10px; font-weight: 500; }
.rms-capability-field { padding: 7px 9px; border: 1px solid #cbd6e2; border-radius: 4px; background: #f7fafd; color: #43556a; line-height: 1.45; }
.rms-capability-field strong { display: block; color: #2f5d87; }
.rms-capability-field small { display: block; color: #7a8796; }
.rms-capability-view { padding: 17px 18px; }
.rms-capability-view .rms-catalog-table { margin-top: 14px; }
.rms-break-all { overflow-wrap: anywhere; word-break: break-all; }
.rms-records-loading { min-height: 90px; color: #6e7d8f; }
.rms-form-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #e0e5ec; }
.rms-mode-hint { margin: 12px 0 0 132px; padding: 8px 10px; border-radius: 4px; background: #eef5fc; color: #38658f; line-height: 1.5; }
.rms-confirm-danger { color: #b33b32; }

.rms-catalog { padding: 16px; background: #f5f7fa; }
.rms-catalog-intro { margin: 0 0 14px; color: #58677a; line-height: 1.65; }
.rms-catalog-table { width: 100%; border-collapse: collapse; background: #fff; }
.rms-catalog-table th,
.rms-catalog-table td { padding: 9px 8px; border: 1px solid #d7dfe9; text-align: left; vertical-align: top; line-height: 1.55; }
.rms-catalog-table th { background: #eaf1f8; color: #304b67; }
.rms-phase-1 { color: #13743b; font-weight: 700; }
.rms-phase-2 { color: #9a6400; font-weight: 700; }
.rms-phase-3 { color: #6a55a5; font-weight: 700; }

.rms-center-shell { box-sizing: border-box; min-height: 100%; padding: 16px; background: #f4f7fb; }
.rms-center-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.rms-center-header h2 { margin: 0 0 5px; color: #1f466f; font-size: 19px; }
.rms-center-header p { margin: 0; color: #68778a; line-height: 1.55; }
.rms-center-header .rms-badge { margin-left: auto; }

.rms-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 14px; border: 1px solid #d5deea; border-radius: 6px; overflow: hidden; background: #fff; }
.rms-step { position: relative; padding: 11px 12px; border-right: 1px solid #dce3ec; color: #6b7788; }
.rms-step:last-child { border-right: 0; }
.rms-step strong { display: block; margin-bottom: 3px; color: #315676; }
.rms-step.active { background: #eaf3fd; }
.rms-step.active strong { color: #1765ad; }
.rms-step.done { background: #edf8f1; color: #5e7468; }
.rms-step.done strong { color: #197541; }

.rms-center-columns { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 13px; }
.rms-center-panel { min-width: 0; border: 1px solid #d7e0ea; border-radius: 6px; background: #fff; overflow: hidden; }
.rms-center-panel-title { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-bottom: 1px solid #dbe2eb; background: #edf3f8; color: #334f69; font-weight: 700; }
.rms-center-panel-body { padding: 12px; }

.rms-action-groups { display: flex; flex-direction: column; gap: 5px; }
.rms-action-group { padding: 9px 10px; border: 1px solid #dbe3ed; border-radius: 4px; color: #40556c; cursor: pointer; }
.rms-action-group:hover,
.rms-action-group.active { border-color: #5991ca; background: #edf5fd; color: #185f9f; }
.rms-action-group small { display: block; margin-top: 3px; color: #7d8896; }

.rms-selection-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
.rms-selection-summary div { padding: 10px; border: 1px solid #dce4ee; border-radius: 5px; background: #fafbfd; color: #607084; }
.rms-selection-summary strong { display: block; margin-bottom: 3px; color: #1b527f; font-size: 18px; }

.rms-batch-table-wrap { max-width: 100%; overflow: auto; border: 1px solid #dce4ee; }
.rms-batch-table-wrap .rms-data-table { margin: 0; border: 0; }
.rms-batch-device-table { min-width: 900px; }
.rms-batch-device-table th:first-child,
.rms-batch-device-table td:first-child { width: 34px; text-align: center; }
.rms-batch-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rms-batch-action-card { min-height: 128px; padding: 13px; border: 1px solid #d6e0eb; border-radius: 6px; background: #fff; color: #42566c; text-align: left; cursor: pointer; }
.rms-batch-action-card:hover,
.rms-batch-action-card.active { border-color: #4b8fd2; box-shadow: 0 0 0 1px #4b8fd2 inset; background: #f0f7ff; }
.rms-batch-action-card span { display: block; color: #7a8797; font-size: 12px; }
.rms-batch-action-card strong { display: block; margin: 8px 0 6px; color: #215d94; font-size: 16px; }
.rms-batch-action-card small { display: block; color: #657589; line-height: 1.55; }
.rms-batch-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 12px; margin-top: 13px; }
.rms-batch-form-grid.compact { grid-template-columns: repeat(2, minmax(0, 320px)); }
.rms-batch-form-grid label { min-width: 0; color: #56687c; }
.rms-batch-form-grid input,
.rms-batch-form-grid select { box-sizing: border-box; width: 100%; height: 33px; margin-top: 5px; padding: 0 8px; border: 1px solid #bdcad8; border-radius: 4px; background: #fff; color: #2f4358; }
.rms-batch-form-grid .rms-inline-control { margin-top: 5px; }
.rms-batch-form-grid .rms-inline-control input { margin-top: 0; }
.rms-batch-form-grid .rms-inline-control .rms-button { flex: 0 0 auto; white-space: nowrap; }
.rms-batch-shared-form { margin-top: 13px; padding: 14px 16px; border: 1px solid #d9e2ec; border-radius: 5px; background: #fbfdff; }
.rms-batch-shared-form .rms-form-grid { max-width: 980px; }
.rms-batch-shared-form .rms-mode-hint { max-width: 980px; }
.rms-batch-risk-note { margin-top: 13px; padding: 16px; border: 1px solid #efc4be; border-radius: 5px; background: #fff7f5; color: #7b3b34; }
.rms-batch-risk-note strong { color: #a8362d; }
.rms-batch-risk-note p { margin: 7px 0 0; line-height: 1.6; }
.rms-batch-param-summary { margin: 10px 0; padding: 9px 11px; border-left: 3px solid #4d91d2; background: #f2f7fc; color: #50657b; line-height: 1.55; }
.rms-batch-preview-table { min-width: 1080px; }
.rms-batch-preview-table td:last-child { min-width: 280px; }
.rms-batch-result-summary { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.rms-batch-history { margin-bottom: 12px; padding: 10px; border: 1px solid #dce4ee; border-radius: 5px; }
.rms-batch-history summary { color: #1b527f; cursor: pointer; }
.rms-batch-result-summary article { padding: 9px 10px; border: 1px solid #dce4ee; border-radius: 5px; background: #fafbfd; }
.rms-batch-result-summary strong { display: block; color: #1b527f; font-size: 18px; }
.rms-batch-result-summary span { color: #718095; }
.rms-batch-result-table { min-width: 860px; }
.rms-batch-result-table td { vertical-align: top; }
.rms-batch-result-table td:first-child small { display: block; margin-top: 3px; color: #798697; }
.rms-batch-result-table td:nth-child(4) { min-width: 360px; }
.rms-batch-result-table td:last-child { min-width: 76px; }
.rms-records-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 10px; }
.rms-batch-excluded-row td { background: #fffaf8; }

.rms-band-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid #b8cce1;
  border-radius: 4px;
  background: #f7fbff;
  color: #245f95;
  cursor: pointer;
  white-space: nowrap;
}
.rms-band-toggle:hover { border-color: #5b96cf; background: #edf6ff; }
.rms-band-toggle small { color: #71849a; font-weight: 400; }
.rms-wifi-preferred td { background: #fbfefc; }
.rms-data-table td.rms-default-ssid,
.rms-binding-option .rms-default-ssid { color: #18864b; font-weight: 700; }
.rms-preferred-note { display: block; margin-top: 4px; color: #47815d; white-space: nowrap; }
.rms-locked-prefix {
  padding: 1px 2px;
  border-bottom: 2px solid #b7791f;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, #f3dfae, #f3dfae 3px, #fff4d6 3px, #fff4d6 6px);
  color: #80520c;
}

.rms-capability-test-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 10px;
  margin-bottom: 12px;
}
.rms-capability-test-types button {
  min-height: 70px;
  padding: 11px 13px;
  border: 1px solid #d5e0eb;
  border-radius: 6px;
  background: #fff;
  color: #456079;
  text-align: left;
}
.rms-capability-test-types button.active { border-color: #4a91d2; background: #edf6ff; box-shadow: 0 0 0 1px #4a91d2 inset; }
.rms-capability-test-types button:disabled { background: #f5f6f8; color: #9aa5b2; }
.rms-capability-test-types strong,
.rms-capability-test-types small { display: block; }
.rms-capability-test-types strong { margin-bottom: 5px; font-size: 15px; }
.rms-capability-test-types small { line-height: 1.45; }
.rms-panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; color: #566b80; }
.rms-capability-test-table { min-width: 1080px; }
.rms-capability-test-table td { vertical-align: top; }
.rms-capability-test-table td select { min-width: 180px; height: 30px; border: 1px solid #becbd9; border-radius: 4px; color: #334a61; }
.rms-capability-test-table td small { display: block; margin-top: 5px; color: #6f7f91; white-space: nowrap; }
.rms-batch-signature-note { margin: -3px 0 10px; padding: 7px 10px; border-left: 3px solid #4d91d2; background: #f2f7fc; color: #526981; }

.rms-template-layout { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 13px; }
.rms-template-list { width: 100%; border-collapse: collapse; }
.rms-template-list th,
.rms-template-list td { padding: 8px 7px; border: 1px solid #dce3ec; text-align: left; }
.rms-template-list th { background: #eef3f8; color: #40556c; }
.rms-template-list tr.selected td { background: #fff5cf; }

.rms-task-flow { display: flex; flex-direction: column; gap: 8px; }
.rms-task-node { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #d8e1ec; border-radius: 5px; background: #fff; }
.rms-task-node .order { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #e5f0fb; color: #2467a6; font-weight: 700; }
.rms-task-node strong { display: block; color: #304c69; }
.rms-task-node small { color: #768496; }

.rms-inline-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 12px 0; }
.rms-inline-fields label { color: #59697c; }
.rms-inline-fields input,
.rms-inline-fields select { box-sizing: border-box; width: 100%; height: 31px; margin-top: 4px; border: 1px solid #c2ccda; border-radius: 4px; background: #fff; }
.rms-center-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #dce3ec; }

.rms-task-status { display: inline-block; min-width: 46px; padding: 2px 7px; border-radius: 10px; text-align: center; }
.rms-task-status.success { background: #e7f6ec; color: #16733a; }
.rms-task-status.pending { background: #fff3d8; color: #956100; }
.rms-task-status.failed { background: #fae9e7; color: #ae3b32; }

.rms-task-filters { display: grid; grid-template-columns: 170px 210px minmax(260px, 1fr) auto; gap: 9px; align-items: end; margin: 12px 0; }
.rms-task-filters label { color: #59697c; }
.rms-task-filters input,
.rms-task-filters select { box-sizing: border-box; width: 100%; height: 32px; margin-top: 4px; padding: 0 8px; border: 1px solid #c2ccda; border-radius: 4px; background: #fff; }
.rms-task-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
.rms-task-summary article { padding: 9px 11px; border: 1px solid #dce4ee; border-radius: 5px; background: #fff; }
.rms-task-summary strong { display: block; color: #1b527f; font-size: 18px; }
.rms-task-summary span { color: #718095; }
.rms-task-results { min-height: 310px; }
.rms-task-center-table { min-width: 1300px; }
.rms-task-center-table td { max-width: 260px; vertical-align: top; }
.rms-task-center-table td small { display: block; margin-top: 3px; color: #798697; }
.rms-center-footer-note { margin-right: auto; color: #7b8796; line-height: 30px; }
.rms-task-detail { padding: 17px 18px; }
.rms-task-detail dl { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 9px 12px; margin: 14px 0 0; }
.rms-task-detail dt { color: #748295; text-align: right; }
.rms-task-detail dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #2d4055; }

.rms-feature-catalog { table-layout: fixed; }
.rms-feature-catalog td { vertical-align: top; overflow-wrap: anywhere; }
.rms-feature-status { display: block; margin-top: 5px; color: #80691e; font-weight: 400; }
.rms-wifi-table { min-width: 1040px; }
.rms-wireless-view { box-sizing: border-box; padding: 14px; color: #344b65; background: #f5f8fc; min-height: 100%; }
.rms-wireless-view .rms-panel-toolbar { flex-wrap: wrap; gap: 8px; }
.rms-wireless-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 12px 0; color: #667990; }
.rms-wireless-filter select { height: 31px; min-width: 160px; border: 1px solid #b5c7dd; border-radius: 4px; background: #fff; color: #344b65; padding: 0 7px; }
.rms-wireless-sources { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.rms-wireless-source { padding: 7px 9px; border: 1px solid #d8e2ee; border-radius: 4px; background: #fff; }
.rms-wireless-source small, .rms-wireless-table small { display: block; margin-top: 4px; color: #77889b; }
.rms-wireless-table { min-width: 1120px; }
.rms-wireless-table td { vertical-align: top; }
.rms-wireless-path { max-width: 210px; overflow-wrap: anywhere; font-size: 11px; }

@media (max-width: 1100px) {
  .rms-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rms-lan-summary,
  .rms-voice-summary,
  .rms-iptv-summary,
  .rms-system-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rms-maintenance-grid { grid-template-columns: 1fr; }
  .rms-filter-hint { display: none; }
  .rms-center-columns,
  .rms-template-layout { grid-template-columns: 1fr; }
  .rms-wan-detail-grid { grid-template-columns: 1fr; }
  .rms-wan-detail-grid section.wide { grid-column: auto; }
  .rms-task-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rms-batch-action-grid,
  .rms-batch-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rms-batch-result-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rms-lan-gigabit { color:#168041; font-weight:600; }
.rms-lan-fast { color:#ad7900; font-weight:600; }
