@charset "UTF-8";
/* ==========================================================================
   김천대학교 입학처(학부 입시) - 공통 디자인 (반응형)
   대학원 원서접수(ipsi_graduate_egov)의 ui.css 를 그대로 가져와 학부 화면에 필요한 것만 덧붙였다(파일 끝).
   원본 common.css·erp-*.css(고정폭 표 레이아웃)를 대신한다.
   화면의 입력 필드 name/id, 스크립트는 그대로 두고 모양만 이 파일이 맡는다.
   ========================================================================== */

:root {
  --primary: #1f4e9c;
  --primary-dark: #163a78;
  --primary-soft: #eaf1fb;
  --primary-line: #c9d8f0;
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #1c2433;
  --muted: #667085;
  --line: #e2e6ee;
  --danger: #d13b3b;
  --danger-soft: #fdeeee;
  --warn: #b7791f;
  --warn-soft: #fdf6e7;
  --ok: #1f8a5b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  --field-h: 48px;
  --max: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--primary); }
img { max-width: 100%; }

/* ---------- 머리글 / 바닥글 ---------- */
.app-header {
  background: #fff;
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.app-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-header__logo { height: 32px; width: auto; display: block; }
.app-header__title {
  font-size: 15px; font-weight: 700; color: var(--primary-dark);
  padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.2;
}
.app-header__right { margin-left: auto; font-size: 13px; }
.app-header__right a { color: var(--muted); text-decoration: none; }
.app-header__right a:hover { color: var(--primary); }
@media (max-width: 480px) {
  .app-header__logo { height: 26px; }
  .app-header__title { font-size: 14px; padding-left: 10px; }
  .app-header__right { display: none; }
}

.app-footer {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 20px 16px 110px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ---------- 본문 ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 20px 16px 0; }

.page-title { margin: 4px 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.page-desc { margin: 0 0 18px; color: var(--muted); }

/* 진행 단계 */
.steps {
  display: flex; gap: 6px;
  list-style: none; margin: 0 0 18px; padding: 0;
  counter-reset: step;
}
.steps li {
  flex: 1;
  text-align: center;
  font-size: 12px; color: var(--muted);
  position: relative;
  padding-top: 34px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: var(--muted);
}
.steps li::after {
  content: ""; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px);
  height: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps li.is-done::before { background: var(--primary); border-color: var(--primary); color: #fff; content: "✓"; }
.steps li.is-done::after { background: var(--primary); }
.steps li.is-current { color: var(--primary); font-weight: 700; }
.steps li.is-current::before { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* 카드 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}
.card__title {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-size: 17px; font-weight: 700;
}
.card__title::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); flex: none;
}
.card__sub { margin: -8px 0 14px; color: var(--muted); font-size: 13px; }

/* 알림 */
.alert {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 14px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
}
.alert--danger { background: var(--danger-soft); border-color: #f4c7c7; color: #8f1f1f; }
.alert--warn { background: var(--warn-soft); border-color: #f1ddb0; color: #7a4f0e; }
.alert strong { font-weight: 700; }

/* 목록 */
.list { margin: 0; padding-left: 20px; }
.list > li { margin: 4px 0; }
.list--dot { list-style: none; padding-left: 0; }
.list--dot > li { position: relative; padding-left: 14px; }
.list--dot > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.list ul, .list ol { padding-left: 18px; margin: 4px 0; }

.text-danger { color: var(--danger); font-weight: 600; }
.text-primary { color: var(--primary); font-weight: 600; }
.text-muted { color: var(--muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- 표 (모바일에서는 줄마다 카드로 쌓인다) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}
.table thead th {
  background: #f7f9fc;
  color: #475467;
  font-weight: 600;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.table tbody th { background: #fafbfd; font-weight: 600; width: 160px; }

/* 입력 표(항목명 | 입력칸) */
.form-table { width: 100%; border-collapse: collapse; }
.form-table > tbody > tr > th,
.form-table > tr > th {
  width: 170px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #344054;
  padding: 12px 12px 12px 0;
  vertical-align: top;
  padding-top: 24px;
}
.form-table > tbody > tr > td,
.form-table > tr > td {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.form-table .req::after { content: " *"; color: var(--danger); }

@media (max-width: 640px) {
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td, .table--stack th { display: block; width: 100%; }
  .table--stack tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 6px 12px; background: #fff; }
  .table--stack td, .table--stack tbody th { border: 0; padding: 6px 0; background: none; }
  .table--stack td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px;
  }

  .form-table, .form-table > tbody, .form-table > tbody > tr,
  .form-table > tbody > tr > th, .form-table > tbody > tr > td { display: block; width: 100%; }
  .form-table > tbody > tr > th { padding: 14px 0 4px; }
  .form-table > tbody > tr > td { padding: 0 0 12px; }
}

/* ---------- 입력 ---------- */
.field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field + .field { margin-top: 8px; }
.field__help { width: 100%; font-size: 13px; color: var(--muted); margin-top: 2px; }

.input, .select, .textarea,
.card input[type=text], .card input[type=password], .card input[type=tel], .card input[type=email],
.card input[type=number], .card select, .card textarea {
  height: var(--field-h);
  padding: 0 14px;
  font: inherit;
  font-size: 16px;               /* iOS 확대 방지 */
  color: var(--text);
  background: #fff;
  border: 1px solid #cfd6e2;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  max-width: 100%;
  min-width: 0;
}
.card textarea, .textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.6; width: 100%; resize: vertical; }
.card select, .select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667085' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 10px;
}
.card input:focus, .card select:focus, .card textarea:focus,
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.card input[readonly], .card input[disabled], .card select[disabled] { background: #f4f6fa; color: #475467; }

.w-full { width: 100%; }
.w-xs { width: 90px; }
.w-sm { width: 130px; }
.w-md { width: 220px; }
.w-lg { width: 340px; }
.sep { color: var(--muted); }

@media (max-width: 640px) {
  .w-md, .w-lg { width: 100%; }
  .field--split > input, .field--split > select { flex: 1 1 0; width: auto; }
}

/* 라디오·체크박스를 큰 선택지로 */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #cfd6e2;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  user-select: none;
}
.choice input[type=radio], .choice input[type=checkbox] {
  width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none;
}
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.choices--block { flex-direction: column; }
.choices--block .choice { border-radius: var(--radius-sm); width: 100%; }

/* 동의 박스 */
.agree {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}
.agree__head { padding: 14px 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.agree__num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 13px; flex: none;
}
.agree__body {
  padding: 0 16px 14px 48px;
  color: #475467; font-size: 14px;
  max-height: 240px; overflow-y: auto;
}
.agree__body ol, .agree__body ul { margin: 0; padding-left: 18px; }
@media (max-width: 640px) { .agree__body { padding-left: 16px; max-height: 200px; } }
.agree__foot {
  padding: 12px 16px;
  background: #f7f9fc;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.agree__q { font-weight: 600; font-size: 14px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px;
  padding: 0 20px;
  font: inherit; font-size: 16px; font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary-line); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { background: #eef1f6; color: #344054; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1c2c2; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 24px 0 8px;
}
/* 모바일: 주 버튼을 화면 아래에 붙인다 */
@media (max-width: 640px) {
  .actions--sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
  }
  .actions--sticky .btn { flex: 1 1 0; }
  .actions--stack .btn { width: 100%; }
}

/* 선택 카드 (대학원 선택 등) */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.option-card {
  text-align: left;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--primary-line);
  background: #fff;
  border-radius: var(--radius);
  font: inherit; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.option-card:hover { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.option-card strong { font-size: 16px; color: var(--primary-dark); }
.option-card span { font-size: 13px; color: var(--muted); }

/* 일정 타임라인 */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li {
  display: grid; grid-template-columns: 150px 1fr; gap: 4px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.timeline > li:last-child { border-bottom: 0; }
.timeline__label { font-weight: 700; }
.timeline__date { font-weight: 600; color: var(--primary-dark); }
.timeline__date.is-key { color: var(--danger); }
.timeline__note { grid-column: 2; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .timeline > li { grid-template-columns: 1fr; }
  .timeline__note { grid-column: 1; }
}

/* 요약 정보 (라벨/값) */
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; }
.kv > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.kv dd { margin: 2px 0 0; font-weight: 600; }

/* 사진 */
.photo-box {
  width: 120px; height: 160px;
  border: 1px dashed #b9c3d3; border-radius: var(--radius-sm);
  background: #f7f9fc; overflow: hidden;
  display: grid; place-items: center; color: var(--muted); font-size: 12px;
}
.photo-box img { width: 100%; height: 100%; object-fit: cover; }

/* 원서 접수 기간 아님 등 빈 상태 */
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }

/* 팝업 창(학과·학교·주소 찾기) */
.popup .container { padding-top: 16px; }
.popup .app-header { position: static; }
/* 대화상자 안에서는 머리글·바닥글을 숨긴다 (ui.js 가 html 에 in-dialog 를 붙인다) */
.in-dialog .app-header, .in-dialog .app-footer { display: none; }
.in-dialog body { background: #fff; }
.in-dialog .container { padding-top: 12px; padding-bottom: 16px; }

/* 찾기 화면의 선택 목록 (학과·학교·국가·주소) */
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 14px 14px; min-height: 56px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--text); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.pick:hover, .pick:focus { border-color: var(--primary); background: var(--primary-soft); outline: none; }
.pick__no { color: var(--muted); font-size: 13px; text-align: center; }
.pick__main { font-weight: 600; }
.pick__sub { color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) {
  .pick { grid-template-columns: 28px 1fr; }
  .pick__sub { grid-column: 2; }
}

/* 찾기 대화상자 (ui.js - uiDialog)
   이름을 ui-dialog 로 하지 말 것: jQuery UI 가 .ui-dialog 를 position:absolute 로 정의해
   jquery-ui.css 를 읽는 화면(원서작성)에서 대화상자가 화면 위쪽에만 뜬다. */
.app-dialog {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16, 24, 40, .45);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.app-dialog__panel {
  width: min(760px, 100%); height: min(640px, 100%);
  background: #fff; border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 24, 40, .25);
}
.app-dialog__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line);
}
.app-dialog__close {
  width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; border-radius: 8px;
}
.app-dialog__close:hover { background: #f2f4f7; }
.app-dialog__frame { flex: 1; width: 100%; border: 0; }
@media (max-width: 640px) {
  .app-dialog { padding: 0; align-items: stretch; }
  .app-dialog__panel { width: 100%; height: 100%; border-radius: 0; }
}

@media print {
  .app-header, .app-footer, .actions { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; }
}

.grow { flex: 1 1 180px; min-width: 0; }

/* 오류·안내 한 장짜리 화면 */
.error-card { max-width: 560px; margin: 40px auto 0; text-align: center; }
.error-card .page-title { font-size: 20px; }

/* 찾기 화면 검색줄 (라벨 + 입력 + 버튼 한 줄) */
.search-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search-bar > input, .search-bar > select { flex: 1 1 180px; min-width: 0; }

/* 목록에서 고른 줄 / 누를 수 있는 줄 */
.table tr.is-selected > td { background: var(--primary-soft); }
/* 입력할 수 없는 줄(예: 외국인 원서의 트랙에 맞지 않는 어학 성적) - Ipsi012_02 applyLangTrack() */
.form-table tr.is-disabled > th, .form-table tr.is-disabled > td { opacity: .45; }
.form-table tr.is-disabled select, .form-table tr.is-disabled input { background: #f2f4f7; cursor: not-allowed; }
.table tr[onclick] { cursor: pointer; }
.table tr[onclick]:hover > td { background: #f7f9fc; }

/* 읽기 전용 글상자, 날짜 입력 */
.card textarea[readonly] { background: #f7f9fc; }
.card input[type=date] {
  height: var(--field-h); padding: 0 14px; font: inherit; font-size: 16px;
  border: 1px solid #cfd6e2; border-radius: var(--radius-sm); background: #fff; color: var(--text);
}

/* 처리 중 표시 */
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 4px solid var(--primary-soft); border-top-color: var(--primary);
  animation: ui-spin .8s linear infinite; margin: 0 auto 14px;
}
@keyframes ui-spin { to { transform: rotate(360deg); } }

/* 로그인 한 장 화면 */
.login-card { max-width: 480px; margin-left: auto; margin-right: auto; }

/* 입력칸 묶음 안의 묶음(로그인 화면의 주민번호 등)이 화면 밖으로 밀리지 않게 */
.field > .field { flex: 1 1 100%; min-width: 0; }
.field--split > .grow { flex: 1 1 0; width: 0; }   /* 입력칸 기본 너비(size)가 줄을 밀어내지 않게 */

/* jQuery UI 달력(원서작성 화면의 날짜칸) - 고정 머리글(z-index 50) 위로, 누르기 쉬운 크기로 */
.ui-datepicker { z-index: 60 !important; font-family: inherit; font-size: 15px; padding: 8px; border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(16, 24, 40, .18); }
.ui-datepicker .ui-datepicker-header { background: var(--primary-soft); border: 0; border-radius: 8px; }
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { font-size: 14px; padding: 2px 4px; border-radius: 6px; }
.ui-datepicker td a { text-align: center; padding: .45em .2em; }
.ui-datepicker .ui-state-active, .ui-datepicker .ui-state-active:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
/* 2026.10.08 달력 아이콘 대신 날짜 칸을 눌러 달력을 연다 - 누를 수 있다는 표시 */
input.hasDatepicker:not(:disabled) { cursor: pointer; }
.ui-datepicker .ui-state-highlight { border-color: var(--primary-line); background: #fff; color: var(--primary-dark); }

/* 달력으로만 고르는 날짜칸(readonly) - 읽기 전용 회색이 아니라 누를 수 있는 칸으로 보이게
   2026.10.08 칸 안의 달력 그림은 뺐다(달력 아이콘 없이 칸을 누르면 달력 - 사용자 요청) */
.card input.hasDatepicker[readonly]:not(:disabled) {
  background-color: #fff; color: var(--text); cursor: pointer;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-clear { float: left; }

/* 외국인 원서 본국주소(건물·번지/거리·지역명·도시·국가) - 한 줄에 한 항목, 이름 왼쪽·입력칸 오른쪽. 휴대폰은 이름 아래 입력칸 (Ipsi012_02) */
.addr-grid { display: flex; flex-direction: column; gap: 8px; }
.addr-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 4px 12px; font-size: 13px; color: #475467; }
.card .addr-item > input { min-width: 0; width: 100%; max-width: 420px; }
.addr-item .addr-grid__search input { min-width: 0; width: 100%; }
.addr-grid__search { flex-wrap: nowrap; gap: 4px; width: 100%; max-width: 320px; }
.addr-grid__search .btn { flex: 0 0 auto; align-self: stretch; min-height: 0; white-space: nowrap; padding: 0 12px; }
@media (max-width: 640px) { .addr-item { grid-template-columns: 1fr; } .card .addr-item > input, .addr-grid__search { max-width: none; } }

/* ==========================================================================
   학부 입시에서 덧붙인 것
   ========================================================================== */
/* 넓은 화면 - 교직원용 현황·목록(IPSI00302, IPSI01502)처럼 열이 많은 표 */
.container--wide { max-width: 1280px; }
.app-header--wide .app-header__inner, .app-footer--wide { max-width: 1280px; }

/* 열이 많아 카드로 쌓기 어려운 목록 - 좁은 화면에서 가로로 민다 (table-wrap 안에서) */
.table--scroll { min-width: 720px; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table tfoot td, .table tfoot th { background: #f7f9fc; font-weight: 700; border-top: 2px solid var(--line); }

/* 리포트 뷰어(.mrd) 를 그리는 iframe */
.report-frame { width: 100%; min-height: 640px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }

/* 모집요강 발췌 같은 긴 안내 글 */
.prose { font-size: 14px; color: #344054; }
.prose p { margin: 0 0 10px; }
.prose h3 { font-size: 15px; margin: 18px 0 8px; color: var(--primary-dark); }

/* 표 칸(td) 안에 바로 둔 도움말도 줄을 바꿔 아래에 오게 (div.field 밖에서는 width:100% 가 듣지 않는다) */
.field__help { display: block; }
.field > .field__help { display: inline; }

/* 카드 안 소제목, kv 한 줄 전체, 버튼 줄 정렬 - 변환하며 인라인 style 로 반복된 것 (새 화면에서 쓴다) */
.card__h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 700; color: var(--primary-dark); }
.kv > .kv__full { grid-column: 1 / -1; }
.actions--start { justify-content: flex-start; }
.actions--end { justify-content: flex-end; }
.list--plain { list-style: none; padding-left: 0; }

/* 상태 표시 (합격·불합격·신청완료 등) */
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--primary-soft); color: var(--primary-dark); }
.badge--success { background: #e6f4ee; color: var(--ok); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
