/* SX-CUSTOMREPORT: 커스텀 레포트 › 레포트 관리(마스터), 사이드바 기기 승인 배지. 왼쪽 세로 막대 없음. */
#customReportsPanel.admin-tab-content {
  padding: 24px 32px 192px; /* 아래 여백: 떠 있는 조회 스코프 카드·도우미가 마지막 줄 스위치를 가리지 않게(cr-floating-clearance) */
  background: transparent;
  border: 0;
  box-shadow: none;
}
/* 셸 공통 패널 규칙보다 앞서야 넓은 화면에서도 여백이 실제로 적용된다(1366 실측). */
html body #customReportsPanel.admin-tab-content { padding-bottom: 192px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
#customReportsPanel .cr-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#customReportsPanel .cr-tools select,
#customReportsPanel .cr-tools input {
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--sxr-line, #dcdcdc);
  border-radius: 8px;
  background-color: var(--sxr-card, #fff);
  color: inherit;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
#customReportsPanel .cr-tools select { flex: 0 0 220px; width: 220px; max-width: 100%; }
#customReportsPanel .cr-tools input { flex: 1 1 240px; width: auto; min-width: 0; }
#customReportsPanel .cr-note { margin: 8px 0 16px; font-size: 13px; line-height: 1.5; color: var(--sxr-sub, #636a76); word-break: keep-all; }
#customReportsPanel .cr-co { margin: 0 0 16px; overflow: hidden; border: 1px solid var(--sxr-line, #dcdcdc); border-radius: 12px; background: var(--sxr-card, #fff); box-shadow: var(--sxr-card-shadow, none); }
#customReportsPanel .cr-co > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--sxr-line-soft, #ebebeb); }
#customReportsPanel .cr-co h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
#customReportsPanel .cr-co-code,
#customReportsPanel .cr-count { font-size: 13px; color: var(--sxr-sub, #636a76); }
#customReportsPanel .cr-count { flex: none; white-space: nowrap; }
#customReportsPanel .cr-co ul { margin: 0; padding: 0; list-style: none; }
#customReportsPanel .cr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 20px; box-sizing: border-box; }
#customReportsPanel .cr-row + .cr-row { border-top: 1px solid var(--sxr-line-soft, #ebebeb); }
#customReportsPanel .cr-site { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
#customReportsPanel .cr-site strong { font-size: 14px; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
#customReportsPanel .cr-site span { font-size: 13px; color: var(--sxr-sub, #636a76); }
#customReportsPanel .cr-sw { display: flex; flex: none; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
#customReportsPanel .cr-state { min-width: 28px; font-size: 13px; text-align: right; color: var(--sxr-sub, #636a76); }
#customReportsPanel .soc-switch-input { width: 44px; height: 24px; min-width: 44px; min-height: 24px; padding: 0; margin: 0; }
/* 다크 입력칸 공통 규칙(:is 안의 id)이 켜짐 색을 덮지 않게 id를 두 번 쓴다. */
html body #customReportsPanel#customReportsPanel .soc-switch-input:checked { background: #ff6b00 !important; border-color: #ff6b00 !important; }
html body #customReportsPanel .soc-switch-input:disabled { opacity: .55; cursor: progress; }
html body #customReportsPanel .soc-switch-input:focus-visible { outline: 2px solid var(--ui-focus-color, #111827); outline-offset: 2px; }
html[data-theme="dark"] body #customReportsPanel .soc-switch-input:focus-visible { outline-color: #fff; }
#customReportsPanel .cr-status { padding: 32px 20px; text-align: center; color: var(--sxr-sub, #636a76); font-size: 14px; }
#customReportsPanel .cr-status button { margin-top: 12px; }
@media (max-width: 767px) {
  #customReportsPanel.admin-tab-content { padding: 16px 16px 192px; }
  #customReportsPanel .cr-tools select,
  #customReportsPanel .cr-tools input { flex: 1 1 100%; width: 100%; }
  #customReportsPanel .cr-co > header,
  #customReportsPanel .cr-row { padding-left: 16px; padding-right: 16px; }
  #customReportsPanel .cr-site { flex-direction: column; align-items: flex-start; }
}
/* 기기 승인: 설정 탭 줄 없이 그 화면만, 사이드바 배지 */
#notificationSettingsPanel [data-settings-nav][hidden] { display: none !important; }
.soc-menu-sub-item .soc-menu-sub-item-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 18px; height: 18px; margin-left: auto; padding: 0 5px; border-radius: 9px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.soc-menu-sub-item .soc-menu-sub-item-badge[hidden] { display: none; }
/* D1 F-AW aw-master-reports: one table — company group heads + sites, 20 rows a page (DESIGN 9장 Master console · 표 정렬). */
#customReportsPanel .cr-title { margin: 0 0 24px; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--d1-ink, #1b1c1f); }
#customReportsPanel .cr-tools select,
#customReportsPanel .cr-tools input { border-color: var(--d1-line, #e5e7ea); border-radius: var(--d1-r-work, 8px); }
#customReportsPanel .cr-tools select { flex: 0 0 200px; width: 200px; }
#customReportsPanel .cr-tools input { flex: 0 1 300px; width: 300px; }
#customReportsPanel .cr-tools [data-cr-company] { flex-basis: 200px; }
#customReportsPanel .cr-tools [data-cr-status] { flex-basis: 140px; width: 140px; }
#customReportsPanel .cr-note { margin: 8px 0 16px; font-size: 13px; color: var(--d1-sub, #5f6368); }
#customReportsPanel .cr-table-card { overflow: hidden; border: 1px solid var(--d1-line, #e5e7ea); border-radius: var(--d1-r-card, 12px); background: var(--d1-card, #fff); }
#customReportsPanel .cr-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
#customReportsPanel .cr-c-code { width: 18%; }
#customReportsPanel .cr-c-state { width: 12%; }
#customReportsPanel .cr-c-when { width: 20%; }
#customReportsPanel .cr-c-sw { width: 104px; }
#customReportsPanel .cr-table thead th { height: 44px; padding: 0 12px; border-bottom: 1px solid var(--d1-rule, #d1d5da); font-size: 13px; font-weight: 600; color: var(--d1-strong, #3c4043); text-align: center; white-space: nowrap; }
#customReportsPanel .cr-table thead th.cr-al { text-align: left; }
#customReportsPanel .cr-table td { height: 48px; padding: 0 12px; border-bottom: 1px solid var(--d1-line, #e5e7ea); text-align: center; color: var(--d1-ink, #1b1c1f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#customReportsPanel .cr-table td.cr-site { text-align: left; }
#customReportsPanel .cr-table td.cr-site strong { font-size: 14px; font-weight: 600; }
#customReportsPanel .cr-table td.cr-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--d1-strong, #3c4043); }
#customReportsPanel .cr-table td.cr-when { font-variant-numeric: tabular-nums; color: var(--d1-strong, #3c4043); }
#customReportsPanel .cr-state { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; text-align: left; color: var(--d1-sub, #5f6368); }
#customReportsPanel .cr-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--d1-mute, #9aa0a6); }
#customReportsPanel .cr-state.is-on { color: var(--d1-selt, #b64000); }
#customReportsPanel .cr-state.is-on::before { background: var(--d1-key, #ff6b00); }
#customReportsPanel .cr-sw { justify-content: center; }
#customReportsPanel tr.cr-group th { padding: 0; border-bottom: 1px solid var(--d1-line, #e5e7ea); background: var(--d1-hover, #f8f9fa); font-weight: 400; text-align: left; }
#customReportsPanel tr.cr-group + tr.cr-row td { border-top: 0; }
#customReportsPanel tbody tr.cr-group:not(:first-child) th { border-top: 1px solid var(--d1-rule, #d1d5da); }
#customReportsPanel .cr-group-in { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px; }
#customReportsPanel .cr-group-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--d1-ink, #1b1c1f); }
#customReportsPanel .cr-group-in .cr-co-code { flex: none; font-size: 12px; }
#customReportsPanel .cr-group-in .cr-count { margin-left: auto; font-size: 12px; }
#customReportsPanel .cr-group-in .cr-count b { color: var(--d1-ink, #1b1c1f); font-weight: 700; }
#customReportsPanel .cr-bulk { flex: none; min-height: 32px; padding: 0 4px; border: 0; background: transparent; color: var(--d1-selt, #b64000); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
#customReportsPanel .cr-bulk.is-off { color: var(--d1-strong, #3c4043); }
#customReportsPanel .cr-bulk:disabled { color: var(--d1-mute, #9aa0a6); cursor: default; }
#customReportsPanel .cr-bulk[aria-busy="true"] { color: var(--d1-sub, #5f6368); }
#customReportsPanel .cr-bulk:focus-visible { outline: 2px solid var(--d1-key, #ff6b00); outline-offset: 2px; border-radius: 6px; }
#customReportsPanel .cr-pager { display: flex; justify-content: center; padding: 12px 16px; }
#customReportsPanel .cr-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; border: 1px solid var(--d1-line, #e5e7ea); border-radius: var(--d1-r-card, 12px); background: var(--d1-card, #fff); }
@media (max-width: 1279px) {
  #customReportsPanel .cr-c-code { width: 16%; }
  #customReportsPanel .cr-c-when { width: 22%; }
}
@media (max-width: 767px) {
  #customReportsPanel .cr-table-card { overflow-x: auto; }
  #customReportsPanel .cr-table { min-width: 640px; }
}
/* the shell's generic table/list rules (card rows) must not reach this table */
html body #customReportsPanel .cr-table { display: table !important; width: 100% !important; min-width: 0; margin: 0 !important; border: 0 !important; background: transparent !important; }
html body #customReportsPanel .cr-table thead { display: table-header-group !important; }
html body #customReportsPanel .cr-table tbody { display: table-row-group !important; }
html body #customReportsPanel .cr-table tr { display: table-row !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
html body #customReportsPanel .cr-table :is(td, th) { display: table-cell !important; vertical-align: middle !important; float: none !important; width: auto; }
html body #customReportsPanel .cr-table td { border-width: 0 0 1px !important; border-style: solid !important; border-color: var(--d1-line, #e5e7ea) !important; padding: 0 12px !important; height: 48px !important; }
html body #customReportsPanel .cr-table td::before { content: none !important; display: none !important; }
html body #customReportsPanel .cr-table-card { width: 100%; box-sizing: border-box; }
