/* 관리자 — Linear 라이트 스타일. 모든 선택자는 .adm- 접두 (공개 CSS와 분리) */
.adm-body { background: #fafafa; color: #1a1a1a; font-size: 14px; }
.adm { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.adm-side { background: #fff; border-right: 1px solid #e6e6e6; padding: 14px 10px 12px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.adm-ws { padding: 4px 8px 14px; }
.adm-ws__logo { height: 22px; display: block; }
.adm-nav { display: grid; gap: 2px; }
.adm-nav__item { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: #3b3b3b; font-size: 13.5px; }
.adm-nav__item svg { color: #7a7a7a; flex: 0 0 auto; }
a.adm-nav__item:hover { background: #f2f2f0; text-decoration: none; }
a.adm-nav__item[aria-current="page"] { background: #e9f1e6; color: #005100; font-weight: 600; }
a.adm-nav__item[aria-current="page"] svg { color: #005100; }
.adm-nav__item.is-soon { color: #a8a8a8; cursor: default; }
.adm-soon { margin-left: auto; font-size: 10.5px; background: #f0f0ee; color: #8a8a8a; padding: 1px 7px; border-radius: 999px; }
.adm-nav__sec { font-size: 11px; color: #9a9a9a; letter-spacing: 0.06em; padding: 14px 8px 4px; margin: 0; }
.adm-side__foot { margin-top: auto; border-top: 1px solid #eee; padding-top: 10px; display: grid; gap: 4px; font-size: 12.5px; color: #666; }
.adm-side__user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: #666; cursor: pointer; text-align: left; }
.adm-link-btn:hover, .adm-side__site:hover { color: #005100; }
.adm-side__site { color: #666; }

.adm-content { min-width: 0; }
.adm-top { height: 48px; border-bottom: 1px solid #e6e6e6; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 5; }
.adm-crumb { font-size: 13.5px; color: #777; }
.adm-crumb a { color: #777; }
.adm-crumb strong { color: #1a1a1a; font-weight: 600; }
.adm-top__actions { display: flex; gap: 8px; }
.adm-main { padding: 20px 24px 56px; max-width: 1240px; }

.adm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.adm-cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.adm-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; padding: 12px 14px; }
.adm-card__label { font-size: 12.5px; color: #777; }
.adm-card__value { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; line-height: 1.2; }
.adm-card__of { font-size: 14px; color: #999; font-weight: 500; }
.adm-card__sub { font-size: 12px; color: #999; margin-top: 2px; }

.adm-panel { background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.adm-panel__head { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 13.5px; }
.adm-panel__more { font-size: 12.5px; font-weight: 500; }
.adm-panel__body { padding: 14px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th { text-align: left; font-weight: 500; color: #888; font-size: 12px; padding: 7px 14px; border-bottom: 1px solid #eee; background: #fcfcfb; white-space: nowrap; }
.adm-table td { padding: 8px 14px; border-bottom: 1px solid #f1f1ef; vertical-align: middle; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover td { background: #f7f7f5; }
.adm-table a { color: inherit; font-weight: 600; }
.adm-table a:hover { color: #005100; text-decoration: none; }
.adm-nowrap { white-space: nowrap; }
.adm-right { text-align: right; }
.adm-muted { color: #8a8a8a; }
.adm-small { font-size: 12px; }
.adm-empty { padding: 28px 14px; color: #8a8a8a; text-align: center; margin: 0; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot--draft { background: #b8b8b8; } .dot--published { background: #005100; } .dot--ongoing { background: #3fa34d; box-shadow: 0 0 0 3px #e9f1e6; }
.dot--closed { background: #d99a00; } .dot--archived { background: #6b6b66; }
.adm-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f0f0ee; color: #555; }
.adm-pill--applied { background: #e9f1e6; color: #005100; } .adm-pill--attended { background: #005100; color: #fff; }
.adm-pill--no_show { background: #fff3d6; color: #8a5a00; } .adm-pill--cancelled { background: #f0f0ee; color: #8a8a8a; text-decoration: line-through; }

.adm-btn { display: inline-flex; align-items: center; gap: 6px; background: #005100; color: #fff; border: 1px solid #005100; border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.3; }
.adm-btn:hover { background: #003a00; border-color: #003a00; text-decoration: none; }
.adm-btn--ghost { background: #fff; color: #1a1a1a; border-color: #dcdcdc; }
.adm-btn--ghost:hover { background: #f2f2f0; border-color: #cfcfcf; }
.adm-btn--sm { padding: 3px 8px; font-size: 12px; }
.adm-btn--block { width: 100%; justify-content: center; }
.adm-btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.adm-inline { display: inline; }
.adm-inline + .adm-inline { margin-left: 4px; }
.adm-link { font-size: 13px; }

.adm-chips { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.adm-chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid #dcdcdc; background: #fff; color: #444; }
.adm-chip:hover { text-decoration: none; border-color: #bbb; }
.adm-chip[aria-current="page"] { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.adm-chip__n { opacity: 0.6; margin-left: 2px; }

.adm-form { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.adm-form__submit { display: flex; gap: 8px; }
.adm-field { display: grid; gap: 4px; margin-bottom: 12px; }
.adm-field label { font-size: 12.5px; color: #555; font-weight: 600; }
.adm-field input:not([type="file"]):not([type="radio"]):not([type="checkbox"]), .adm-field select, .adm-field textarea { font: inherit; font-size: 13.5px; padding: 7px 9px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; width: 100%; }
.adm-field input:focus, .adm-field select:focus, .adm-field textarea:focus { outline: 2px solid #005100; outline-offset: 0; border-color: #005100; }
.adm-field input[disabled] { background: #f5f5f3; color: #999; }
.adm-field [aria-invalid="true"] { border-color: #c0392b; }
.adm-field textarea { resize: vertical; line-height: 1.5; }
.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.adm-hint { font-size: 12px; color: #999; }
.adm-radios { display: flex; gap: 18px; margin-bottom: 12px; font-size: 13.5px; }
.adm-table--fields td { padding: 5px 10px; }
.adm-thumb { margin-top: 8px; border-radius: 6px; border: 1px solid #e6e6e6; display: block; }
.adm-stack { display: grid; gap: 8px; }
.adm-errors { background: #fde8e8; color: #9b1c1c; border: 1px solid #f3b4b4; border-radius: 6px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.adm-flash { border-radius: 6px; padding: 8px 12px; font-size: 13px; margin-bottom: 14px; }
.adm-flash--ok { background: #e9f1e6; color: #005100; }
.adm-flash--bad { background: #fde8e8; color: #9b1c1c; }
.adm-search { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.adm-search input:not([type=submit]) { font: inherit; font-size: 13.5px; padding: 7px 10px; border: 1px solid #dcdcdc; border-radius: 6px; width: 280px; background: #fff; }
.adm-search select.adm-input { width: auto; max-width: 280px; padding: 7px 10px; }

@media (max-width: 760px) {
  .adm { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .adm-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid #e6e6e6; }
  .adm-ws { padding: 4px 8px; width: 100%; }
  .adm-nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .adm-nav__sec, .adm-nav__item.is-soon, .adm-side__foot { display: none; }
  .adm-main { padding: 14px 12px 40px; }
  .adm-cards, .adm-cards--5 { grid-template-columns: 1fr 1fr; }
  .adm-form { grid-template-columns: 1fr; }
  .adm-grid2 { grid-template-columns: 1fr; }
  .adm-panel { overflow-x: auto; }
  .adm-table--people td:nth-child(4), .adm-table--people td:nth-child(5), .adm-table--people td:nth-child(6), .adm-table--people td:nth-child(7), .adm-table--people th:nth-child(4), .adm-table--people th:nth-child(5), .adm-table--people th:nth-child(6), .adm-table--people th:nth-child(7) { display: none; }
  .adm-table--people td:nth-child(3), .adm-table--people th:nth-child(3) { display: none; }
  .adm-table--people td, .adm-table--people th { padding-left: 8px; padding-right: 8px; }
  .adm-table--people .adm-right { white-space: normal; min-width: 150px; }
  .adm-inline + .adm-inline { margin-left: 0; }
  .adm-table--people .adm-inline { margin: 2px 2px 2px 0; }
  .adm-top { height: auto; padding: 8px 12px; gap: 8px; }
}

/* 행사 폼: 필수 표시 · 흐린 플레이스홀더 · 페이지 주소 앞부분 · 외부 링크 칸은 외부 링크일 때만 · 항목 끌어 옮기기 */
.adm-req { color: #b42318; font-weight: 700; }
.adm-field ::placeholder { color: #b5b5b5; opacity: 1; }
.adm-prefix { display: flex; align-items: stretch; }
.adm-prefix > span { display: flex; align-items: center; padding: 0 8px; font-size: 13px; color: #888; background: #f5f5f3; border: 1px solid #dcdcdc; border-right: 0; border-radius: 6px 0 0 6px; }
.adm-field .adm-prefix input { border-radius: 0 6px 6px 0; min-width: 0; }
.adm-apply:has(input[value="internal"]:checked) .adm-apply__external { display: none; }
.adm-apply:has(input[value="external"]:checked) .adm-apply__internal-hint { display: none; }
.adm-drag { cursor: grab; color: #aaa; font-size: 16px; padding: 0 4px; user-select: none; }
.adm-move { font: inherit; font-size: 11px; line-height: 1; padding: 3px 5px; border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; color: #777; cursor: pointer; margin-left: 2px; }
.adm-move:hover { border-color: #bbb; color: #333; }
.adm-table--fields tr.is-dragging { opacity: 0.4; background: #e9f1e6; }
.adm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* AI 초안 칸 */
.adm-ai__busy { color: var(--accent, #005100); font-weight: 600; }
.adm-ai__draft { display: grid; gap: 8px; border-top: 1px solid #e6e6e6; padding-top: 10px; }
.adm-ai__text { white-space: pre-wrap; max-height: 220px; overflow-y: auto; background: #fafafa; border: 1px solid #ececec; border-radius: 6px; padding: 6px 8px; margin-top: 2px; }
/* 마크다운으로 그린 요약 — pre-wrap 이면 태그 사이 줄바꿈까지 빈 줄로 보인다 */
.adm-ai__text--md { white-space: normal; }
.adm-ai__text--md h2 { font-size: 13px; margin: 10px 0 4px; }
.adm-ai__text--md h2:first-child { margin-top: 2px; }
.adm-ai__text--md ul, .adm-ai__text--md p { margin: 0 0 6px; }
.adm-ai__text--md ul { padding-left: 1.2em; }

/* 챗봇 대화 기록 */
.adm-chatlog { display: grid; gap: 10px; }
.adm-chatlog__row { max-width: 80%; }
.adm-chatlog__text { white-space: pre-wrap; }
.adm-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #f0f0ee; color: #555; white-space: nowrap; }
.adm-tag--open { background: #fdecec; color: #b42318; }
.adm-tag--staff { background: #e9f1e6; color: #005100; }
.adm-badge { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #f0f0ee; color: #555; margin: 0 4px; }
.adm-btn--dark { background: #1a1a1a; border-color: #1a1a1a; border-radius: 999px; padding: 8px 16px; }
.adm-btn--dark:hover { background: #333; }

/* 문의함 — 목록 · 대화 · 상세 3단 (채널톡 구성) */
.adm-main--inbox { max-width: none; padding: 0; }
.adm-main--inbox > .adm-flash { position: fixed; top: 58px; left: 50%; transform: translateX(-50%); z-index: 20; margin: 0; box-shadow: 0 6px 20px rgba(0,0,0,.12); animation: adm-toast 4s forwards; pointer-events: none; }
@keyframes adm-toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.adm-inbox { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 48px); min-height: 520px; }
.adm-inbox__list { border-right: 1px solid #ececec; overflow-y: auto; padding: 12px 10px; background: #fff; }
.adm-inbox__tabs { display: flex; gap: 4px; padding: 0 4px 10px; }
.adm-inbox__tab { padding: 5px 11px; border-radius: 999px; font-size: 13px; color: #555; }
.adm-inbox__tab:hover { background: #f2f2f0; text-decoration: none; }
.adm-inbox__tab[aria-current="page"] { background: #ececea; color: #111; font-weight: 700; }
.adm-inbox__n { color: #8a8a85; margin-left: 2px; }
.adm-inbox__n--hot { color: #b42318; font-weight: 700; }
.adm-inbox__item { display: flex; gap: 10px; padding: 10px; border-radius: 10px; color: inherit; }
.adm-inbox__item:hover { background: #f6f6f4; text-decoration: none; }
.adm-inbox__item[aria-current="true"] { background: #efefec; }
.adm-inbox__item-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.adm-inbox__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #8a8a85; }
.adm-inbox__meta strong { font-size: 14px; color: #111; }
.adm-inbox__q { font-size: 13px; color: #333; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-inbox__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.adm-inbox__main { display: grid; grid-template-columns: 1fr 320px; min-height: 0; }
.adm-inbox__none { grid-column: 1 / -1; align-self: center; }
.adm-inbox__conv { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.adm-inbox__detail { border-left: 1px solid #ececec; overflow-y: auto; background: #fafaf8; padding: 4px 16px 24px; }

.adm-avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #fff1c9; color: #8a5a00; font-weight: 700; overflow: hidden; }
.adm-avatar--sm { width: 26px; height: 26px; font-size: 12px; }
.adm-avatar--md { width: 36px; height: 36px; font-size: 14px; }
.adm-avatar--lg { width: 48px; height: 48px; font-size: 19px; }
.adm-avatar--known { background: #e9f1e6; color: #005100; }
.adm-avatar--bot { background: #005100; border-radius: 11px; }
.adm-avatar--bot img { width: 30px; }
.adm-avatar--staff { background: #2f6f3a; color: #fff; }

.adm-conv__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-bottom: 1px solid #ececec; }
.adm-conv__title { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.adm-conv__log { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.adm-conv__day { align-self: center; font-size: 12px; color: #777; border: 1px solid #e6e6e6; border-radius: 999px; padding: 3px 12px; }
.adm-msg { display: flex; gap: 10px; max-width: 78%; }
.adm-msg__meta { font-size: 12px; color: #8a8a85; margin-bottom: 3px; }
.adm-msg__meta strong { color: #111; font-size: 13px; }
.adm-msg__warn { color: #b42318; }
.adm-msg__text { white-space: pre-wrap; font-size: 14px; line-height: 1.6; }
.adm-msg--user { align-self: flex-end; flex-direction: column; align-items: flex-end; }
.adm-msg__line { display: flex; gap: 8px; align-items: flex-start; }
.adm-msg--user .adm-msg__text { background: #f0f0ee; border-radius: 16px; padding: 9px 14px; }
.adm-msg--staff .adm-msg__text { background: #e9f1e6; border-radius: 4px 16px 16px 16px; padding: 9px 14px; }
.adm-conv__foot { padding: 12px 16px 16px; }
.adm-conv__claim { border: 1px solid #ececec; border-radius: 14px; padding: 16px 18px; background: #fafaf8; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.adm-conv__claim p { margin: 4px 0 12px; color: #666; font-size: 13.5px; }
.adm-conv__reply { border: 1px solid #dcdcdc; border-radius: 14px; padding: 8px; display: grid; gap: 6px; }
.adm-conv__reply .adm-input { border: 0; resize: vertical; }
.adm-conv__reply-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

.adm-detail__sec { padding: 14px 0; border-bottom: 1px solid #ececec; }
.adm-detail__sec h3 { margin: 0 0 10px; font-size: 14px; }
.adm-dl { display: grid; grid-template-columns: 84px 1fr; gap: 7px 10px; margin: 0; font-size: 13px; }
.adm-dl dt { color: #777; }
.adm-dl dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.adm-pre { white-space: pre-wrap; text-align: left !important; }
.adm-detail__who { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.adm-detail__who strong { font-size: 16px; margin-right: 6px; }
.adm-detail__who small { display: block; }
.adm-detail__esc { margin-top: 10px; background: #fff8e6; border: 1px solid #f0e2b8; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.adm-detail__esc p { margin: 4px 0; }
/* 고객 정보 바로 고치기 — 평소엔 글자처럼, 누르면 입력 칸 */
.adm-inline { display: grid; gap: 2px; font-size: 13px; }
.adm-inline__row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 10px; margin: 0; }
.adm-inline__row label { color: #777; }
.adm-inline__input { font: inherit; text-align: right; border: 1px solid transparent; border-radius: 6px; background: transparent; padding: 4px 6px; width: 100%; min-width: 0; resize: none; color: inherit; }
.adm-inline__input::placeholder { color: #999; }
.adm-inline__input:hover { background: #f2f2f2; cursor: text; }
.adm-inline__input:focus { outline: none; background: #fff; border-color: #333; text-align: left; }
.adm-inline__row--memo { grid-template-columns: 1fr; gap: 2px; align-items: start; }
.adm-inline__row--memo .adm-inline__input { text-align: left; white-space: pre-wrap; overflow: hidden; }
.adm-inline .adm-small { margin: 6px 0 0; }
.adm-detail__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.adm-detail__list li { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm-detail__search { display: flex; gap: 6px; margin-top: 6px; }
@media (max-width: 1280px) { .adm-inbox__main { grid-template-columns: 1fr; overflow-y: auto; } .adm-inbox__detail { border-left: 0; border-top: 1px solid #ececec; } .adm-inbox__conv { min-height: 70vh; } }
@media (max-width: 900px) { .adm-inbox { grid-template-columns: 1fr; height: auto; } .adm-inbox__list { border-right: 0; } }

/* 만족도 설문 */
.adm-survey-new { max-width: 560px; }
.adm-note { background: #fff8e6; border: 1px solid #f0dca8; color: #7a5a00; border-radius: 6px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.adm-input { font: inherit; font-size: 13.5px; padding: 6px 8px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; width: 100%; }
.adm-input:focus { outline: 2px solid #005100; outline-offset: 0; border-color: #005100; }
.adm-table--survey td:nth-child(2) { width: 100%; }
.adm-table--survey tr.is-off .adm-input { color: #aaa; background: #f7f7f5; }
.adm-score { font-size: 13px; font-variant-numeric: tabular-nums; }
.adm-bars { display: flex; gap: 2px; align-items: flex-end; height: 22px; }
.adm-bars span { width: 8px; background: #005100; opacity: 0.75; min-height: 1px; -webkit-print-color-adjust: exact; print-color-adjust: exact; } /* 인쇄·PDF 에서 "배경 그래픽"을 안 켜도 막대가 보이게 */
.adm-quote { border-left: 3px solid #e6e6e6; padding: 2px 10px; margin: 0 0 6px; color: #444; white-space: pre-line; }
.adm-print { display: none; }
@media print {
  .adm-side, .adm-top, .adm-noprint, .adm-flash { display: none !important; }
  .adm { display: block; }
  .adm-body { background: #fff; }
  .adm-print { display: block; }
  .adm-panel { break-inside: avoid; border-color: #ccc; }
}

/* 출석부 */
.adm-scroll { overflow-x: auto; }
.adm-table--attendance td { height: 34px; }
.adm-table--attendance .adm-sign { width: 40%; }
.adm-table--grid th, .adm-table--grid td { text-align: center; white-space: nowrap; }
.adm-table--grid td:nth-child(2) { text-align: left; }
.adm-table--grid tfoot td { font-weight: 700; border-top: 1px solid #ccc; }
@media print { .adm-table--attendance td, .adm-table--grid td { border: 1px solid #999; } }

/* 초상권 동의서 */
.adm-consent-text p { margin: 0 0 6px; line-height: 1.6; }

/* 자료로 과업 만들기 — 검토 화면 */
.adm-ai__check { margin: 0; padding-left: 1.2em; color: var(--adm-warn-ink, #8a5a00); }
.adm-import-session { border: 1px solid var(--adm-line, #e6e6e6); border-radius: 8px; padding: 12px 14px; margin: 0; }
.adm-import-session legend { font-weight: 700; padding: 0 4px; }

/* 행사 편집 — 챗봇 칸 */
.adm-chatbot__missing { background: #fbf3e2; border-radius: 8px; padding: 8px 10px; }
.adm-chatbot__faqs { margin: 4px 0; padding-left: 1.1em; display: grid; gap: 2px; }

/* 결과보고서 */
.adm-report h1 { font-size: 20px; margin: 0 0 12px; }
.adm-report h2 { font-size: 15px; margin: 0 0 10px; }
.adm-report .adm-panel { padding: 16px; }
.adm-report__facts th { width: 160px; text-align: left; font-weight: 600; }
.adm-report__text { white-space: pre-line; }
.adm-report__sessions td:nth-child(n+7), .adm-report__scores td:nth-child(n+3) { text-align: right; }
.adm-report__sessions tfoot td { font-weight: 700; border-top: 1px solid #ccc; }
.adm-report__memo { border: 1px dashed #bbb; border-radius: 6px; min-height: 72px; padding: 8px 10px; margin-top: 10px; color: #888; font-size: 12px; }
.adm-report__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.adm-report__photos figure { margin: 0; }
.adm-report__photos img { width: 100%; height: auto; display: block; border-radius: 4px; }
.adm-report__photos figcaption { font-size: 12px; color: #666; margin-top: 4px; }
@media print {
  .adm-report .adm-panel { overflow: visible; }
  .adm-report .adm-table { font-size: 11.5px; }
  .adm-report .adm-table td, .adm-report .adm-table th, .adm-report .adm-table tbody tr:last-child td { border: 1px solid #999; padding: 5px 8px; }
}

/* 초상권 사용 동의서 — 회사 기존 서식 */
.adm-portrait__head { text-align: center; line-height: 1.6; margin-bottom: 8px; }
.adm-portrait__head p { margin: 0; }
.adm-portrait h1 { text-align: center; font-size: 22px; margin: 12px 0 16px; letter-spacing: 0.2em; }
.adm-portrait__date { text-align: center; margin: 16px 0 0; }

/* 계획서 */
.adm-plan__editor { width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.5; }
.adm-plan h1 { font-size: 20px; text-align: center; margin: 0 0 14px; }
.adm-plan h2 { font-size: 15px; margin: 18px 0 8px; }
.adm-plan table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-plan th, .adm-plan td { border: 1px solid #ccc; padding: 6px 10px; text-align: left; vertical-align: top; }
.adm-plan table:not(.adm-plan__roster) td:first-child { width: 130px; font-weight: 600; background: #fafaf9; }
@media print { .adm-plan th, .adm-plan td { border-color: #999; } }
.adm-plan__actions { display: flex; gap: 8px; margin-top: 10px; }
.adm-plan__list { margin: 0; padding: 10px 16px 12px 32px; font-size: 13px; line-height: 1.8; }
.adm-report__roster h3 { font-size: 13px; margin: 14px 0 6px; }
@media print { .adm-report__roster { break-before: page; } }

/* 도움말 (운영 가이드) */
.adm-help { padding: 18px 22px; max-width: 920px; line-height: 1.65; }
.adm-help h1 { font-size: 20px; margin: 0 0 8px; }
.adm-help h2 { font-size: 16px; margin: 26px 0 8px; padding-top: 14px; border-top: 1px solid #eee; }
.adm-help ul, .adm-help ol { padding-left: 1.3em; }
.adm-help table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.adm-help th, .adm-help td { border-bottom: 1px solid #eee; padding: 6px 8px; text-align: left; vertical-align: top; }
.adm-help th { background: #f7f7f5; }
.adm-help code { background: #f3f3f1; padding: 0 4px; border-radius: 4px; }
.adm-help figure { margin: 10px 0 14px; }
.adm-help figure img { display: block; max-width: 100%; border: 1px solid #e6e6e6; border-radius: 6px; }
.adm-help figcaption { font-size: 12.5px; color: #777; margin-top: 4px; }
