.admin-header {
  margin-bottom: 18px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr);
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
}

.admin-picker {
  position: relative;
}

.admin-picker-panel {
  max-height: 380px;
}

.admin-option-list {
  margin: 0 0 8px;
}

.robot-model-list button.is-selected {
  color: var(--accent);
  background: #f6e8e8;
  font-weight: 800;
}

.admin-model-series {
  margin-left: 14px;
}

.admin-model-brand {
  margin-left: 0;
}

.excel-tables {
  display: grid;
  gap: 18px;
}

.excel-table-card {
  padding: 18px;
}

.excel-table-card h2 {
  margin-bottom: 6px;
}

.excel-table-card p {
  color: var(--muted);
  font-size: 14px;
}

.table-scroll {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid var(--line);
}

.excel-rule-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}

.excel-rule-table th,
.excel-rule-table td {
  border: 1px solid var(--line);
  padding: 7px 8px;
  text-align: center;
}

.excel-rule-table th {
  color: var(--muted);
  background: #f5f5f5;
  font-weight: 800;
}

.excel-rule-table td:first-child,
.excel-rule-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 260px;
  text-align: left;
  background: #ffffff;
}

.excel-rule-table th:first-child {
  z-index: 2;
  background: #f5f5f5;
}

.series-row td {
  color: #ffffff;
  background: #333333 !important;
  font-weight: 800;
}

.excel-rule-table tr.is-highlighted-rule td {
  background: #fff4f4;
}

.excel-rule-table tr.is-highlighted-rule td:first-child {
  color: var(--accent);
  font-weight: 800;
}

.excel-rule-table td.is-highlighted-angle {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.rule-status {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 28px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 800;
}

.rule-status.status-ok {
  background: var(--switch-on);
}

.rule-status.status-no {
  background: var(--switch-off);
}

@media (max-width: 760px) {
  .admin-header,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }
}
