    /* 摄像头操作按钮 */
    .btn-disable { background: #fff; color: var(--orange); border: 1px solid var(--orange); }
    .btn-disable:hover { background: #fff8ee; }
    .btn-enable { background: var(--brand); color: #fff; }
    .btn-enable:hover { background: var(--brand-dark); }
    .btn-edit { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
    .btn-edit:hover { background: #e8f0fb; }
    .btn-delete { background: #fff; color: var(--red); border: 1px solid var(--red); }
    .btn-delete:hover { background: #fff0f0; }
    .btn-download { background: var(--brand); color: #fff; }
    .btn-download:hover { background: var(--brand-dark); }
    .btn-confirm { background: var(--brand); color: #fff; }
    .btn-confirm:hover { background: var(--brand-dark); }
    .btn-cancel-order { background: #fff; color: var(--text-muted); border: 1px solid var(--border); }
    .btn-cancel-order:hover { color: var(--red); border-color: var(--red); }
    .btn-start { background: var(--brand); color: #fff; }
    .btn-start:hover { background: var(--brand-dark); }
    /* 洗护单 / 寄养单列表的操作按钮：完成、服务报告用品牌绿（主操作），
       更多、查看为中性次操作。本组为全局唯一定义，勿在其它 CSS 重复声明。 */
    .btn-complete { background: var(--brand); color: #fff; }
    .btn-complete:hover { background: var(--brand-dark); }
    .btn-report { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
    .btn-report:hover { background: var(--brand-light); }
    .btn-more { background: #fff; color: var(--text-secondary); border: 1px solid var(--border); }
    .btn-more:hover { background: var(--sidebar-bg); }
    .btn-view { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
    .btn-view:hover { background: #e8f0fb; }
    .status-confirm { background: #fff7e6; color: #d48806; }
    .status-serving { background: #e6f7ff; color: #096dd9; }
    .status-active { background: #e6f7ff; color: #096dd9; }
    .status-done { background: #f0fdf4; color: #38a169; }
    .status-published { background: #f0fdf4; color: #38a169; }
    .camera-preview-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      height: 28px;
      padding: 0 12px;
      border: 1px solid #409eff;
      border-radius: var(--radius-sm);
      background: #fff;
      color: #2f7edb;
      font-size: 12px;
      cursor: pointer;
      transition: all .15s;
      white-space: nowrap;
    }
    .camera-preview-btn:hover {
      background: #eef6ff;
      border-color: #2f7edb;
    }
    .camera-preview-btn .preview-icon {
      font-size: 10px;
      line-height: 1;
    }

    /* ===== 摄像头单元格 ===== */
    .cell-camera {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all .15s;
      white-space: nowrap;
    }
    .cell-camera.active {
      background: var(--brand-light);
      color: var(--brand-dark);
      font-weight: 500;
    }
    .cell-camera.active:hover {
      background: #d9f0e4;
    }
    .cell-camera.none {
      color: var(--text-muted);
      border: 1px dashed var(--border);
    }
    .cell-camera.none:hover {
      border-color: var(--brand);
      color: var(--brand);
    }
    .cell-camera.disabled {
      color: var(--text-muted);
      cursor: default;
    }
    .camera-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--green);
      display: inline-block;
      animation: cam-blink 1.5s infinite;
    }
    @keyframes cam-blink {
      0%, 100% { opacity: 1; }
      50% { opacity: .3; }
    }
    .camera-switch-tag {
      font-size: 10px;
      padding: 1px 5px;
      background: #fff3e0;
      color: #e67e22;
      border-radius: 3px;
      font-weight: 500;
    }

    /* ===== 摄像头弹窗（洗护单内） ===== */
    .cam-modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,.45);
      z-index: 1001;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cam-modal-box {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: 0 12px 40px rgba(0,0,0,.2);
      width: 620px;
      max-height: 80vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .cam-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border-light);
      flex-shrink: 0;
    }
    .cam-modal-header h3 {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-primary);
    }
    .cam-modal-close {
      width: 28px; height: 28px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      font-size: 16px;
      color: var(--text-muted);
      cursor: pointer;
      transition: all .15s;
    }
    .cam-modal-close:hover { background: var(--border-light); color: var(--text-primary); }
    .cam-modal-body {
      padding: 0;
      overflow-y: auto;
      flex: 1;
    }

    /* 弹窗内 Tab */
    .cam-tabs {
      display: flex;
      border-bottom: 1px solid var(--border-light);
      background: #fafbfc;
    }
    .cam-tab {
      padding: 10px 20px;
      font-size: 13px;
      color: var(--text-secondary);
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all .15s;
      font-weight: 500;
    }
    .cam-tab:hover { color: var(--text-primary); }
    .cam-tab.active {
      color: var(--brand);
      border-bottom-color: var(--brand);
    }

    /* 实时视频区 */
    .cam-live-section {
      padding: 20px;
    }
    .cam-video-area {
      width: 100%;
      height: 300px;
      background: #0d1117;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .cam-video-placeholder {
      color: #4a5568;
      text-align: center;
    }
    .cam-video-placeholder .cam-icon { font-size: 48px; margin-bottom: 8px; }
    .cam-video-placeholder .cam-text { font-size: 13px; }
    .cam-live-badge {
      position: absolute;
      top: 12px; left: 12px;
      background: rgba(232,88,88,.9);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 3px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .cam-live-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #fff;
      animation: cam-blink 1s infinite;
    }
    .cam-info-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 12px;
      font-size: 12px;
      color: var(--text-secondary);
    }
    .cam-info-row .cam-name { font-weight: 500; color: var(--text-primary); font-size: 13px; }

    /* 选择摄像头列表 */
    .cam-select-section {
      padding: 20px;
    }
    .cam-select-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .cam-select-item {
      display: flex;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all .15s;
    }
    .cam-select-item:hover { border-color: var(--brand); background: var(--brand-light); }
    .cam-select-item.selected { border-color: var(--brand); background: var(--brand-light); }
    .cam-select-icon {
      width: 36px; height: 36px;
      border-radius: var(--radius-sm);
      background: var(--border-light);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      margin-right: 12px;
      flex-shrink: 0;
    }
    .cam-select-item.selected .cam-select-icon { background: var(--brand); }
    .cam-select-info { flex: 1; }
    .cam-select-info .cam-name-text { font-size: 13px; font-weight: 500; color: var(--text-primary); }
    .cam-select-info .cam-code-text { font-size: 11px; color: var(--text-muted); margin-top: 2px; font-family: monospace; }
    .cam-select-status {
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 3px;
      font-weight: 500;
    }
    .cam-select-status.online { background: #e8f5ef; color: #3a9a6a; }
    .cam-select-status.offline { background: #f2f4f3; color: var(--text-muted); }

    /* 回看列表 */
    .cam-playback-section {
      padding: 20px;
    }
    .cam-playback-empty {
      text-align: center;
      padding: 40px 20px;
      color: var(--text-muted);
      font-size: 13px;
    }
    .cam-playback-empty .cam-playback-icon { font-size: 36px; margin-bottom: 8px; }
    .cam-playback-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .cam-playback-item {
      display: flex;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all .15s;
    }
    .cam-playback-item:hover { border-color: var(--blue); background: #f0f6ff; }
    .cam-playback-thumb {
      width: 64px; height: 40px;
      background: #0d1117;
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      margin-right: 12px;
      flex-shrink: 0;
      position: relative;
    }
    .cam-playback-thumb .play-icon {
      font-size: 14px;
      color: #fff;
      opacity: .8;
    }
    .cam-playback-info { flex: 1; }
    .cam-playback-info .pb-cam-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
    .cam-playback-info .pb-time-range { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
    .cam-playback-info .pb-duration { font-size: 11px; color: var(--blue); margin-top: 2px; }
    .cam-playback-action {
      font-size: 12px;
      color: var(--blue);
      padding: 4px 10px;
      border: 1px solid var(--blue);
      border-radius: var(--radius-sm);
      white-space: nowrap;
    }
    .cam-playback-action:hover { background: var(--blue); color: #fff; }

    /* 弹窗底栏 */
    .cam-modal-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      padding: 14px 20px;
      border-top: 1px solid var(--border-light);
      flex-shrink: 0;
    }

    /* 第一步：确认 / 修改实际服务人（「开始」流程的前置步骤） */
    /* 作为 .cam-modal-box 的直接子元素，需自己撑开并滚动，否则内容多时被压扁 */
    .cam-step {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
    }
    .cam-step-section { padding: 18px 20px 20px; }
    .cam-step-hint {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 10px;
    }
