/* 관리자 웹: 병원 웹(clinic-inbox.css) 디자인을 그대로 쓰고, 관리자 화면에만 필요한 부분만 더합니다. */
#sign-in form > button { width: 100%; min-height: 42px; margin-top: 4px; }
#sign-in form > button + button { margin-top: 8px; }
.admin-gap { margin-top: 14px; }
.admin-grow { flex: 1 1 220px; }
.admin-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 12px; }
.admin-badge {
  display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px;
  background: var(--brand-pink); color: #fff; font-size: 11px; line-height: 18px;
}
.ops-table-wrap td.num, .ops-table-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ops-table-wrap td .admin-actions { display: flex; gap: 6px; }
.ops-table-wrap td.admin-text { min-width: 220px; max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-table-wrap td select { min-width: 96px; margin: 0; padding: 4px 6px; font-size: 13px; }
.ops-tag[data-status="suspended"], .ops-tag[data-status="disabled"] { background: #fdecea; color: #b3261e; }
.ops-tag[data-status="active"], .ops-tag[data-status="done"] { background: var(--plum-soft); color: var(--plum-text); }
.ops-tag[data-status="new"] { background: var(--accent-soft); color: var(--accent); }
.ops-tag[data-status="in_progress"] { background: #fff1d6; color: #8a4b00; }
.danger { border-color: #f1c4c0; background: var(--surface); color: #b3261e; }
.danger:hover { background: #fdecea; }
.admin-secret {
  margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft);
  font: 700 20px/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; user-select: all; overflow-wrap: anywhere;
}
#dialog-body p { color: var(--muted); }

.admin-period { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.admin-period select { width: auto; margin: 0; font-size: 14px; }
.ops-chart li.admin-wide { grid-template-columns: minmax(7em, 10em) minmax(24px, 1fr) minmax(6.5em, auto); }
.ops-chart li.ops-empty { display: block; }

.admin-warning { border-left-color: #b3261e; }
.admin-warning strong { color: #b3261e; }
.admin-reset-list { list-style: none; margin: 0 0 14px; padding: 0; }
.admin-reset-list li { border-top: 1px solid var(--border); }
.admin-reset-list label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 2px; cursor: pointer; }
.admin-reset-list input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
.admin-reset-list span { flex: 1; }
.admin-reset-list b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-reset-list .ops-meta { display: block; font-size: 12px; }
