/* 频道信息 · 管理窗口（经典风格：左页签 + 右表单） */
.ca-mask {
  position: fixed; inset: 0; z-index: 9800; display: none;
  background: rgba(20, 28, 44, .28); align-items: center; justify-content: center;
}
.ca-mask.on { display: flex; }
.ca-win {
  width: 620px; max-width: calc(100vw - 40px); max-height: calc(100vh - 60px);
  background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(15, 24, 40, .35);
  display: flex; flex-direction: column; overflow: hidden;
}
.ca-hd {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  background: #1b1d22; color: #fff; font-size: 14px; font-weight: 600; flex: 0 0 auto;
}
.ca-hd .ca-tt { flex: 1 1 auto; }
.ca-x {
  width: 26px; height: 26px; border-radius: 6px; color: #cfd6e2; font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.ca-x:hover { background: #e5484d; color: #fff; }

.ca-body { display: flex; min-height: 360px; }
.ca-tabs {
  flex: 0 0 132px; background: #f6f8fb; border-right: 1px solid #e9edf5;
  padding: 8px 0; display: flex; flex-direction: column;
}
.ca-tab {
  height: 36px; padding: 0 14px; text-align: left; font-size: 13px; color: #4a5468;
  border-left: 2px solid transparent;
}
.ca-tab:hover { background: #eef3fb; color: #2f3b52; }
.ca-tab.on { background: #fff; color: #3554d1; font-weight: 600; border-left-color: #3554d1; }

.ca-pane { flex: 1 1 auto; padding: 14px 16px; overflow: auto; font-size: 13px; color: #333c4e; }

.ca-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ca-row.col { flex-direction: column; align-items: stretch; gap: 6px; }
.ca-row > label { flex: 0 0 96px; color: #5b6678; text-align: right; }
.ca-row.col > label { text-align: left; flex: none; }
.ca-row input[type="text"], .ca-row input:not([type]), .ca-row input[type="number"], .ca-row select, .ca-row textarea {
  flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 9px; font-size: 13px;
  border: 1px solid #d8deea; border-radius: 6px; background: #fff; color: #2b3344;
}
.ca-row textarea { height: auto; padding: 7px 9px; line-height: 1.6; resize: vertical; }
.ca-hint { flex: 0 0 auto; font-size: 11.5px; color: #98a2b3; }
.ca-switch { display: inline-flex; align-items: center; gap: 6px; color: #4a5468; }

.ca-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.ca-btn {
  height: 30px; padding: 0 14px; border: 1px solid #d8deea; border-radius: 6px;
  background: #fff; color: #37425a; font-size: 13px;
}
.ca-btn:hover { border-color: #b9c6df; }
.ca-btn.primary { background: #3554d1; border-color: #3554d1; color: #fff; }
.ca-btn.primary:hover { background: #2f4ac0; }
.ca-btn.small { height: 24px; padding: 0 9px; font-size: 12px; }

.ca-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.ca-card {
  border: 1px solid #e9edf5; border-radius: 8px; padding: 10px 12px; background: #fafcff;
  display: flex; flex-direction: column; gap: 4px;
}
.ca-card b { font-size: 16px; color: #22304a; }
.ca-card span { font-size: 11.5px; color: #8b95a7; }
.ca-note { font-size: 12px; color: #7d8798; line-height: 1.7; }

.ca-list { border: 1px solid #e9edf5; border-radius: 8px; overflow: hidden; }
.ca-li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-bottom: 1px solid #f1f4fa; }
.ca-li:last-child { border-bottom: 0; }
.ca-li-n { flex: 1 1 auto; color: #2f3b52; }
.ca-li-r { font-size: 11.5px; color: #98a2b3; }

body.narrow .ca-win { width: calc(100vw - 24px); }
body.narrow .ca-tabs { flex: 0 0 96px; }
