[hidden] { display: none !important; }   /* .fld · .note 처럼 display 를 정한 것도 hidden 이면 숨김 */

/* admin.css — 관리 화면에만 있는 모양. 쪽 · 카드 · 표 · 입력 · 대화창 틀은 app.css(업무형 템플릿), 색 · 단추 · 아이콘은 sejak.css */

:root {
    --st-orange-bg: #fff5e6; --st-orange-bd: #f2c27a; --st-orange-t: #c26a00;
    --st-blue-bg: #edf4ff; --st-blue-bd: #a9c9f5; --st-blue-t: #2b67c2;
    --st-green-bg: #ebf9f0; --st-green-bd: #9fdcb7; --st-green-t: #1f8048;
    --st-red-bg: #fdecec; --st-red-bd: #f1b0b0; --st-red-t: #c03030;
    --st-gray-bg: #f4f4f5; --st-gray-bd: #d4d4d8; --st-gray-t: #71717a;
}

/* 상태 칩: 등록자 · 키 · 관리자(pending · active · blocked), 자원(plan · beta · stable · deprecated) */
.st { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid var(--st-gray-bd); border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--st-gray-bg); color: var(--st-gray-t); white-space: nowrap; }
.st.pending, .st.beta { border-color: var(--st-orange-bd); background: var(--st-orange-bg); color: var(--st-orange-t); }
.st.active, .st.stable { border-color: var(--st-green-bd); background: var(--st-green-bg); color: var(--st-green-t); }
.st.blocked { border-color: var(--st-red-bd); background: var(--st-red-bg); color: var(--st-red-t); }
.st.plan { border-color: var(--st-blue-bd); background: var(--st-blue-bg); color: var(--st-blue-t); }

/* 위 막대의 '예제 자료' 표시 */
.mode-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px dashed var(--st-orange-bd); border-radius: 7px; background: var(--st-orange-bg); color: var(--st-orange-t); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mode-chip .se-i { font-size: 15px; }
.mode-chip[hidden] { display: none; }

/* 목록 도구 줄: 거르기 탭 · 찾기 · 개수 */
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.tools .se-input { width: 220px; height: 30px; }
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--se-border-soft); border-radius: 8px; background: var(--se-surface-2); }
.seg button { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--se-text-2); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--se-text); }
.seg button.on { background: var(--se-surface); border-color: var(--se-border); color: var(--se-text); font-weight: 600; }
.seg button .n { font-size: 11px; color: var(--se-text-3); font-weight: 500; }

/* 표 안 */
.tbl td.sub, .tbl small { color: var(--se-text-3); }
.tbl td .nm b { display: block; } .tbl td .nm small { display: block; font-size: 11.5px; }
.tbl td.act { text-align: right; width: 1%; }
.tbl td.act .se-btn + .se-btn { margin-left: 4px; }
.tbl tr.off td { color: var(--se-text-3); }
.tbl td.wrap { white-space: normal; min-width: 160px; }
.tbl code, .kv code { font-size: 12px; color: var(--se-text-2); }

/* 개요의 숫자 카드 (누르면 그 목록으로) */
.stat { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--se-text-3); }
.stat .lbl { display: flex; align-items: center; gap: 6px; color: var(--se-text-2); font-size: 12px; }
.stat .lbl .se-i { font-size: 16px; color: var(--se-text-3); }
.stat.hot b { color: var(--st-orange-t); }

/* 알림 상자 (예제 자료 안내 등) */
.note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--se-border-soft); border-radius: 9px; background: var(--se-surface-2); color: var(--se-text-2); line-height: 1.6; margin-bottom: 14px; }
.note > .se-i { font-size: 18px; color: var(--se-text-3); margin-top: 1px; }
.note.demo { border-style: dashed; border-color: var(--st-orange-bd); background: var(--st-orange-bg); color: var(--st-orange-t); }
.note.demo > .se-i { color: var(--st-orange-t); }
.note > div { flex: 1; }
.note .se-btn { flex: none; }

/* 자세히 패널 (sliders/registrant) */
.sec { padding: 14px 18px; border-bottom: 1px solid var(--se-border-soft); }
.sec:last-child { border-bottom: 0; }
.sec > h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--se-text-3); letter-spacing: .03em; }
.sec > h4 .sp { flex: 1; }
.kv { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px 10px; align-items: center; }
.kv > span { color: var(--se-text-3); font-size: 12px; }
.row-btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.list-lite { display: flex; flex-direction: column; gap: 4px; }
.list-lite a, .list-lite div { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--se-text); text-decoration: none; }
.list-lite a:hover { background: var(--se-surface-2); }
.list-lite .se-i { font-size: 17px; color: var(--se-text-3); }
.list-lite small { margin-left: auto; color: var(--se-text-3); }

/* 한 번만 보이는 키 · 비밀번호 */
.secret { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--se-border); border-radius: 8px; background: var(--se-surface-2); font-family: ui-monospace, 'Nanum Gothic Coding', monospace; font-size: 12.5px; word-break: break-all; }
.secret code { flex: 1; }

/* 짧은 알림 */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 500; max-width: min(520px, calc(100vw - 32px)); padding: 9px 14px; border-radius: 9px; background: var(--se-text); color: var(--se-surface); font-size: 13px; box-shadow: var(--se-shadow); transition: opacity .3s; }
.toast.err { background: var(--st-red-t); color: #fff; }
.toast.out { opacity: 0; }

.err { color: var(--se-danger, #c03030); font-size: 12px; min-height: 16px; }

/* 작은 단추 (표 · 패널 안) */
.se-btn.sm { height: 28px; padding: 0 9px; font-size: 12.5px; gap: 4px; }
.se-btn.sm .se-i { font-size: 16px; }
.se-btn.icon.sm { width: 28px; padding: 0; }
