* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  width: 260px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fff;
  padding: 14px;
  color: #1f2937;
}
.head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.title { font-size: 15px; font-weight: 700; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
.label { font-size: 14px; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  border-radius: 24px;
  transition: background .2s;
}
.slider::before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.switch input:checked + .slider { background: #2563eb; }
.switch input:checked + .slider::before { transform: translateX(20px); }
.status { margin-top: 12px; font-size: 12px; color: #6b7280; line-height: 1.5; }
.status.on { color: #2563eb; }
.status.off { color: #dc2626; }
