/* ============================================================================
   모던 미니멀 테마 (2026-11-28 사용자 결정: 디자인 시안 2번)
   - 기준 문서: docs/DESIGN.md
   - portal.css(원본)·portal-extra.css 위에 덧씌운다. 화면 구조(HTML)와 기능은 그대로 두고
     색·글자 크기·버튼·입력칸·표·카드 모양을 바꾼다.
   - 원칙: 큰 제목과 넉넉한 여백, 강조색은 파란색 하나, 알약 모양 버튼, 둥근 목록 카드,
     상태는 색 배지로. 그라데이션·장식 아이콘·과한 그림자·애니메이션은 쓰지 않는다.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #e0e0e0;
  --line2: #f0f0f0;
  --forest: #0066cc;      /* 강조색(파란색). 원본 변수 이름을 그대로 써서 모든 화면에 반영된다 */
  --forest2: #004f9e;     /* 눌렀을 때·진한 강조 */
  --pale: #e8f0fb;        /* 강조색 옅은 바탕 */
  --gold: #b07d1f;
  --warning: #b25e00;
  --focus: #0071e3;
  --danger: #d70015;
  --parch: #f5f5f7;       /* 목록·카드 바탕 */
  --tile: #1d1d1f;        /* 어두운 카드 */
  --ok: #1a7f37;
  --radius-card: 18px;
  --radius-input: 12px;
}

/* ---------- 기본 글자: 14px → 16px, 행간 넉넉하게 ---------- */
body { font-size: 16px; line-height: 1.55; letter-spacing: -.015em; background: var(--paper); color: var(--ink); }
small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.eyebrow { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.tiny-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.text-link, a.link-button, .link-button { color: var(--forest); font-size: 15px; font-weight: 600; }

/* ---------- 상단: 얇고 반투명한 흰 막대 ---------- */
.site-top { height: 60px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(12px); }
.identity-mark { width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font: 700 17px/1 'Pretendard', system-ui, sans-serif; letter-spacing: -.04em; }
.identity-label strong { font: 700 14px/1.1 'Pretendard', system-ui, sans-serif; letter-spacing: .02em; }
.identity-label span { font-size: 11px; letter-spacing: 0; }
.nav-main { gap: 28px; }
.nav-main a { font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 0; padding-top: 0; }
.nav-main a:hover { color: var(--ink); }
.nav-main a.current { color: var(--ink); font-weight: 700; border-bottom: 0; box-shadow: inset 0 -2px 0 var(--ink); }
.header-right { gap: 12px; }
.viewer .eyebrow { font-size: 13px; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.viewer-switch { border: 0; padding: 0; background: transparent; }
.viewer-switch button, .viewer-switch button[type=submit] { border-radius: 999px; background: var(--parch); color: var(--ink); font-size: 13px; padding: 7px 14px; }
.viewer-switch button:hover, .viewer-switch button[type=submit]:hover { background: #e8e8ed; }
.identity-circle { background: var(--parch); color: var(--ink); border: 0; font-weight: 700; }
.demo-strip { background: #fff8e6; border-bottom: 1px solid #f2e6c4; color: #6b5a2b; font-size: 13px; }
.mobile-tabs a { font-size: 14px; }
.mobile-tabs a.current { color: var(--ink); border-color: var(--ink); }

/* ---------- 버튼: 알약 모양 ---------- */
.btn { min-height: 44px; border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 600; gap: 10px; border: 1px solid var(--forest); color: var(--forest); background: #fff; }
.btn:hover { background: var(--pale); border-color: var(--forest); }
.btn-primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest2); border-color: var(--forest2); color: #fff; }
.btn-sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn .arrow { font-size: 15px; }
.btn:disabled { opacity: 1; background: var(--parch); border-color: var(--line); color: var(--soft); }

/* ---------- 페이지 머리 ---------- */
.page-head { padding: 56px 0 28px; border-bottom: 0; }
.page-head h1 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin: 6px 0 10px; }
.page-head > div:first-child { flex: 1; min-width: 0; }
.page-head p { font-size: 17px; color: var(--muted); max-width: none; }
.page-head .eyebrow { color: var(--muted); }

/* ---------- 접수자 메인 ---------- */
.hero-section.hero-modern { display: block; text-align: center; background: var(--parch); border: 0; border-radius: 0 0 var(--radius-card) var(--radius-card); padding: 72px 24px 52px; margin: 0 -42px; }
.hero-modern .hero-number { color: var(--muted); font-size: 19px; letter-spacing: 0; font-weight: 500; margin: 0; }
.hero-modern .hero-title { font-size: clamp(30px, 4.3vw, 60px); line-height: 1.15; letter-spacing: -.045em; font-weight: 800; margin: 14px 0 18px; white-space: nowrap; }
.hero-modern .hero-title em { color: var(--ink); font-style: normal; }
.hero-modern .hero-description { font-size: 22px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-modern .hero-side { border: 0; padding: 32px 0 0; margin: 0 auto; max-width: 520px; text-align: center; display: block; }
.hero-modern .side-kicker { color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.hero-modern .deadline { font-size: 34px; font-weight: 700; margin: 6px 0 2px; letter-spacing: -.03em; color: var(--ink); }
.hero-modern .deadline small { font-size: 17px; color: var(--muted); font-weight: 500; }
.hero-modern .hero-aside-text { color: var(--muted); font-size: 15px; margin: 0; }
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 36px 0; }
.stat-band > div + div { border-left: 1px solid var(--line); }
.stat-band strong { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-band span { color: var(--muted); font-size: 15px; }
.step-ribbon { border: 0; gap: 12px; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 8px; }
.ribbon-item, .ribbon-item:first-child, .ribbon-item:last-child { background: var(--parch); border: 0 !important; border-radius: 14px; padding: 20px 22px !important; }
.ribbon-no { font-size: 12px; color: var(--soft); letter-spacing: .04em; }
.ribbon-item strong { font-size: 17px; margin: 4px 0 2px; }
.ribbon-item small { font-size: 14px; color: var(--muted); }
.ribbon-item.active { background: var(--pale); }
.ribbon-item.active .ribbon-no, .ribbon-item.active strong { color: var(--forest); }
.content-grid { gap: 16px; padding: 24px 0 72px; align-items: start; }
.tile { background: var(--parch); border-radius: var(--radius-card); padding: 28px; }
.tile .table-wrap { background: transparent; padding: 0; }
.notes.tile-dark { background: var(--tile); color: #fff; border: 0; }
.notes.tile-dark h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.notes.tile-dark .notes-item { border-color: rgba(255, 255, 255, .14); }
.notes.tile-dark .notes-item .note-num { color: #a1a1a6; }
.notes.tile-dark .notes-item strong { font-size: 16px; color: #fff; }
.notes.tile-dark .notes-item p { color: #a1a1a6; font-size: 14px; }
.notes.tile-dark .tiny-note { color: #a1a1a6; }
.notes.tile-dark .text-link { color: #2997ff; }

/* 메인 아래 두 카드(시안 그대로) */
.home-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 0 72px; }
.home-tiles .tile { padding: 32px; display: flex; flex-direction: column; }
.home-tiles h2 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; margin: 0 0 4px; }
.tile-sub { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.tile-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 16px; color: inherit; min-width: 0; }
.tile-row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tile-row:hover > span:first-child { color: var(--forest); }
.tile-empty { font-size: 15px; color: var(--muted); }
.tile-more { margin-top: 14px; color: var(--forest); font-weight: 600; font-size: 15px; }
.tile-dark { background: var(--tile); color: #fff; }
.tile-dark .tile-sub { color: #a1a1a6; }
.tile-dark .tile-row { border-color: rgba(255, 255, 255, .14); }
.tile-dark .tile-row:hover > span:first-child { color: #2997ff; }

/* ---------- 불필요한 글씨 덜어내기 ---------- */
.identity-mark, .identity-label span, .identity-circle { display: none; }
.identity-label strong { font-size: 15px; letter-spacing: .02em; }
.page-head .eyebrow, .section-heading .eyebrow, .auth-box > .eyebrow { display: none; }
.footer p { display: none; }

/* ---------- 섹션 머리 ---------- */
.section-heading { margin-bottom: 16px; }
.section-heading h2 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.section-heading small { font-size: 14px; }
.group-title, .group-title.sub { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- 표: 둥근 회색 카드 안의 목록 ---------- */
.table-wrap { background: var(--parch); border-radius: var(--radius-card); padding: 6px 24px; }
.data-table { font-size: 15px; }
.data-table th { font-size: 13px; color: var(--muted); font-weight: 600; border-top: 0; border-bottom: 1px solid var(--line); padding: 14px 10px; }
.data-table td { font-size: 15px; padding: 18px 10px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: transparent; }
.table-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.table-title:hover, a.table-title:hover { color: var(--forest); }
.table-code { font-size: 13px; color: var(--soft); }
.table-cta { color: var(--forest); font-size: 15px; font-weight: 600; }
.empty { border: 0; font-size: 15px; padding: 56px 20px; }
.empty strong { font-size: 19px; }
.count-note { font-size: 14px; }

/* 상태: 점 대신 옅은 색 배지 */
.status { font-size: 13px; font-weight: 600; padding: 4px 11px 4px 10px; border-radius: 999px; background: var(--pale); color: var(--forest); gap: 6px; white-space: nowrap; }
.status::before { width: 6px; height: 6px; }
.status.submitted, .status.resubmitted { background: #e9f6ee; color: var(--ok); }
.status.submitted::before, .status.resubmitted::before { background: var(--ok); }
.status.draft { background: #ececf0; color: var(--muted); }
.status.draft::before { background: var(--soft); }
.status.revise { background: #fff4e5; color: var(--warning); }
.status.revise::before { background: var(--warning); }
.status.review { background: var(--pale); color: var(--forest); }
.status.review::before { background: var(--forest); }
.status.done { background: #efe9fb; color: #5a3fb3; }
.status.done::before { background: #5a3fb3; }
.scan.clean { color: var(--ok); } .scan.infected, .scan.error { color: var(--danger); } .scan.pending { color: var(--warning); }

/* ---------- 검색·필터 ---------- */
.toolbar { gap: 10px; }
.search { border: 0; background: var(--parch); border-radius: var(--radius-input); height: 48px; padding: 0 16px; }
.search input { font-size: 16px; }
.filter-select, select.filter-select, input.filter-select { height: 48px; border-radius: var(--radius-input); border: 0; background-color: var(--parch); font-size: 15px; padding: 0 14px; }
.subnav { border-bottom: 1px solid var(--line); gap: 24px; }
.subnav a { font-size: 15px; color: var(--muted); }
.subnav a.current, .subnav a:hover { color: var(--ink); }
.subnav a.current { border-color: var(--ink); }
.pagination a, .pagination span { border-radius: 999px; }
.sort-link { color: inherit; }

/* ---------- 입력칸 ---------- */
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea, select { border: 1px solid #d2d2d7; border-radius: var(--radius-input); font-size: 16px; background: #fff; }
.field input, .field select { min-height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; line-height: 1.6; }
.field textarea.textarea-short { min-height: 62px; }   /* 추진 목표(100자): 기본 상자의 절반 */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: 0; box-shadow: 0 0 0 3px rgba(0, 113, 227, .18); }
.field .field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 13px; color: var(--danger); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field input[readonly] { background: var(--parch); border-color: transparent; }
.callout { border: 0; background: #fff4e5; color: #6b3d00; border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.agreement { background: var(--parch); border: 0; border-radius: 14px; padding: 18px 20px; }
.agreement strong { font-size: 16px; } .agreement p { font-size: 14px; color: var(--muted); }

/* ---------- 신청서 작성 ---------- */
.form-steps > span { font-size: 13px; letter-spacing: .04em; }
.form-step { font-size: 15px; border-radius: 12px; padding: 12px 14px; border: 0; margin-bottom: 4px; }
.form-step .step-no { width: 28px; height: 28px; border-radius: 50%; }
.form-step.active { background: var(--parch); color: var(--ink); font-weight: 700; }
.form-step.active .step-no { background: var(--forest); border-color: var(--forest); color: #fff; }
.form-step.done .step-no { border-color: var(--forest); color: var(--forest); }
.form-content h2 { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.form-sub { font-size: 16px; color: var(--muted); }
.upload-box { background: var(--parch); border: 2px dashed #d2d2d7; border-radius: var(--radius-card); }
.upload-box strong { font-size: 17px; } .upload-box p { font-size: 14px; }
.upload-box label { border-radius: 999px; background: var(--forest); color: #fff; border: 0; padding: 10px 20px; font-size: 15px; font-weight: 600; }
.file-list li { background: var(--parch); border: 0; border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; font-size: 15px; }
.review-row dt { font-size: 14px; color: var(--muted); } .review-row dd { font-size: 16px; }

/* ---------- 상세 패널(오른쪽에서 열림) ---------- */
.backdrop { background: rgba(0, 0, 0, .32); }
.drawer { width: min(820px, 100vw); border-radius: var(--radius-card) 0 0 var(--radius-card); box-shadow: -20px 0 60px rgba(0, 0, 0, .12); padding: 36px 48px 64px; }
.drawer-header span { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.drawer h2 { font-size: 32px; }
.drawer-section p { font-size: 16px; }
.drawer h2 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.drawer .drawer-meta { font-size: 15px; color: var(--muted); }
.drawer-section h3, .drawer-operator h3 { font-size: 17px; font-weight: 700; }
.drawer-section p { font-size: 15px; line-height: 1.7; }
.drawer-file { background: var(--parch); border: 0; border-radius: 12px; padding: 12px 14px; margin-bottom: 6px; font-size: 14px; }
.drawer-alert { background: var(--pale); border: 0; border-radius: 14px; color: #0a3d7a; font-size: 15px; }
.drawer textarea { border-radius: var(--radius-input); border: 1px solid #d2d2d7; font-size: 15px; }
.close { border-radius: 50%; background: var(--parch); border: 0; }

/* 제출 취소: 눈에 띄는 버튼 + 한 번 더 확인 */
.withdraw-box { background: #fff4e5; border-radius: 14px; padding: 20px 22px; }
.withdraw-box h3 { border-top: 0 !important; padding-top: 0 !important; color: #6b3d00; }
.withdraw-box p { color: #6b3d00; }
.withdraw-box .qna-confirm summary { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: var(--warning); color: #fff; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.withdraw-box .qna-confirm summary::-webkit-details-marker { display: none; }
.withdraw-box .qna-confirm summary:hover { background: #8f4b00; color: #fff; }
.withdraw-box .qna-confirm[open] summary { background: #fff; color: var(--warning); border: 1px solid var(--warning); }
.withdraw-box .qna-confirm form { margin-top: 12px; color: #6b3d00; font-size: 15px; }
.withdraw-box .qna-confirm form .btn { border-color: var(--warning); background: var(--warning); color: #fff; }
.withdraw-box .qna-confirm form .btn + .btn { margin-left: 8px; }
.withdraw-box .qna-confirm form .btn-danger-pill { border-color: var(--danger); background: var(--danger); }

/* 임시저장 신청서 삭제: 빨간 테두리 버튼 + 한 번 더 확인 */
.delete-box { border: 1px solid #f3c7c7; border-radius: 14px; padding: 20px 22px; }
.delete-box h3 { border-top: 0 !important; padding-top: 0 !important; }
.delete-box p { color: var(--muted); }
.delete-box .qna-confirm summary { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--danger); color: var(--danger); background: #fff; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.delete-box .qna-confirm summary::-webkit-details-marker { display: none; }
.delete-box .qna-confirm summary:hover { background: #fdecec; }
.delete-box .qna-confirm form { margin-top: 12px; color: var(--danger); font-size: 15px; }
.delete-box .qna-confirm form .btn { border-color: var(--danger); background: var(--danger); color: #fff; }

/* ---------- 운영 현황 숫자 ---------- */
.thin-stat { border: 0; gap: 12px; }
.thin-stat > div, .thin-stat > div:first-child, .thin-stat > div:last-child { background: var(--parch); border: 0 !important; border-radius: 14px; padding: 20px 22px !important; }
.thin-stat span { font-size: 14px; color: var(--muted); }
.thin-stat strong { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.admin-note { background: var(--parch); border: 0; border-radius: var(--radius-card); padding: 24px; }
.review-link { border-radius: 12px; }

/* ---------- 운영 설정·목록 ---------- */
.settings section { border: 0; }
.settings-form { font-size: 15px; }
.category-list, .audit-list { border-top: 0; background: var(--parch); border-radius: var(--radius-card); padding: 4px 24px; }
.category-row, .audit-item { border-bottom: 1px solid rgba(0, 0, 0, .07); }
.category-row:last-child, .audit-item:last-child { border-bottom: 0; }
.category-row { grid-template-columns: 60px 1fr auto; gap: 12px; }
.category-row strong { font-size: 17px; }
.audit-item { font-size: 14px; }
.invite-url { border-radius: var(--radius-input); }

/* ---------- 로그인·가입 등 작은 상자 ---------- */
.auth-box h1 { font-size: 36px; font-weight: 700; letter-spacing: -.035em; }
.auth-box .form-sub { font-size: 16px; }

/* ---------- 안내·문의 ---------- */
.guide-item { background: var(--parch); border: 0; border-radius: var(--radius-card); padding: 24px; }
.guide-item h3 { font-size: 19px; } .guide-item p { font-size: 15px; }
.qna-title { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.qna-body { font-size: 16px; line-height: 1.75; }
.qna-comment { border-color: rgba(0, 0, 0, .07); }
.qna-reply { background: var(--parch); border-radius: 12px; border: 0; }
.mark { border-radius: 999px; }

/* ---------- 알림·바닥글 ---------- */
.toast { background: var(--ink); border-radius: 14px; font-size: 15px; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); }
.footer { border-top: 1px solid var(--line); }
.footer strong { font: 700 12px 'Pretendard', system-ui, sans-serif; letter-spacing: .04em; color: var(--ink); }
.footer span, .footer p { font-size: 12px; color: var(--soft); }

/* ---------- 대기열 화면 ---------- */
.waitroom-position strong { color: var(--forest); }

/* ---------- 원본의 녹색빛 구분선을 중립 회색으로 ---------- */
.form-group, .review-list, .drawer-section h3, .drawer-operator, .compare-table thead th, .qna-answer:first-of-type,
.qna-thread .section-heading, .qna-comment-form { border-color: var(--line); }
.form-step, .form-step:last-child { border-top: 0; border-bottom: 0; }

/* 표의 짧은 칸은 줄바꿈하지 않는다(과제명 칸만 줄바꿈) */
.data-table td:not(.title-cell) { white-space: nowrap; }

/* ---------- 로그인·가입 상자: 가운데 ---------- */
.auth-box { margin: 0 auto; max-width: 600px; padding: 72px 0 96px; }
.auth-box .form-group { border-top: 1px solid var(--line); }

@media (max-width: 1040px) { .hero-section.hero-modern { margin: 0 -30px; } }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 760px) {
  .site-top { height: 56px; }
  .home-tiles { grid-template-columns: 1fr; }
  .home-tiles .tile { padding: 22px; }
  .home-tiles h2 { font-size: 22px; }
  .hero-section.hero-modern { padding: 44px 20px 36px; margin: 0 -20px; border-radius: 0 0 14px 14px; }
  .data-table td:not(.title-cell) { white-space: normal; }
  .auth-box { padding: 40px 0 64px; }
  .hero-modern .hero-title { font-size: clamp(19px, 5.5vw, 28px); white-space: nowrap; }
  .hero-ctas { gap: 8px; flex-wrap: nowrap; }
  .hero-ctas .btn { padding: 8px 14px; font-size: 14px; min-height: 40px; }
  .hero-modern .hero-description { font-size: 16px; }
  .stat-band { padding: 24px 0; }
  .stat-band strong { font-size: 26px; }
  .step-ribbon { grid-template-columns: 1fr 1fr; gap: 8px; }
  .content-grid { display: grid; grid-template-columns: 1fr; }
  .tile { padding: 20px; border-radius: 14px; }
  .table-wrap { padding: 4px 16px; border-radius: 14px; }
  .data-table tr, .data-table tr:first-child { border-top: 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }
  .data-table td, .data-table td:first-child, .data-table td:last-child { font-size: 14px; }
  .data-table .table-title { font-size: 16px; }
  .page-head { padding: 36px 0 20px; }
  .drawer { border-radius: 0; padding: 24px 20px 50px; }
  .thin-stat > div { padding: 16px !important; }
}

/* 한 문장은 한 줄로: 짧은 꼬리말·라벨·버튼은 줄바꿈하지 않는다 */
.table-cta, .check-filter, .data-table th, .section-heading h2, .review-link small, .btn, .status, .mark { white-space: nowrap; }
.review-link small { display: block; overflow: hidden; text-overflow: ellipsis; }
.tiny-note .text-link, p .text-link { font-size: inherit; }
.check-filter { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 2026-12-03 신청서 양식·결과 안내 ---------- */
.thin-stat.one { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
.thin-stat.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; }
.field-label { font-size: 14px; font-weight: 700; }
.check-row { display: flex; gap: 10px; flex-wrap: wrap; }
.check-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--parch); font-size: 15px; font-weight: 600; cursor: pointer; }
.check-chip input { width: 18px; height: 18px; accent-color: var(--forest); }
.task-section { padding-top: 20px; }
.task-list { display: grid; gap: 16px; margin-bottom: 16px; }
.task-card { background: var(--parch); border-radius: 18px; padding: 20px 22px; }
.task-example { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.task-example summary { cursor: pointer; color: var(--forest); font-weight: 600; }
.task-example ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.drawer-fields { margin: 0; }
.drawer-fields > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.drawer-fields dt { color: var(--muted); }
.drawer-fields dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.drawer-task { margin: 0 0 18px; }
.drawer-task > strong { display: block; margin-bottom: 6px; }
.result-box { border-radius: 14px; padding: 20px 22px; margin: 18px 0; background: var(--parch); }
.result-box h3 { margin: 0 0 8px; font-size: 16px; }
.result-box p { margin: 0; line-height: 1.7; }
.result-box.result-pass { background: var(--pale); color: #003a75; }
.result-box.result-not_selected { background: var(--parch); color: var(--ink); }
.status.result-pass { background: var(--pale); color: var(--forest); }
.status.result-pass::before { background: var(--forest); }
.status.result-not_selected { background: #ececf0; color: var(--muted); }
.status.result-not_selected::before { background: var(--soft); }
.result-publish { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--parch); border-radius: 18px; padding: 18px 22px; margin-bottom: 20px; }
.result-publish strong { display: block; font-size: 16px; }
.result-publish span { font-size: 14px; color: var(--muted); }
.category-actions { display: inline-flex; gap: 14px; justify-content: flex-end; }
.danger-link { color: var(--danger) !important; }
.guide-item p { margin: 0 0 8px; }
@media (max-width: 760px) {
  .drawer-fields > div { grid-template-columns: 1fr; gap: 2px; }
  .result-publish { flex-direction: column; align-items: flex-start; }
}

/* 신청 안내: 번호 목록(단계)과 점 목록(알아 둘 점) */
.guide-steps, .guide-points { margin: 12px 0 0; padding: 0; list-style: none; }
.guide-steps { counter-reset: gstep; }
.guide-steps li, .guide-points li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.guide-steps li:first-child, .guide-points li:first-child { border-top: 0; }
.guide-steps li::before { counter-increment: gstep; content: counter(gstep); position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.guide-steps li strong { display: block; font-size: 15px; }
.guide-points li::before { content: ""; position: absolute; left: 9px; top: 19px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.guide-note { margin: 12px 0 0; color: var(--muted); }

/* 서류 심사 결과 안내문 (2026-12-03 사용자 요청: 흰 바탕만 쓰지 않고, 색 머리띠 위에 흰 카드를 걸쳐 놓는다.
   통과는 로열 블루, 미선정은 차분한 딥네이비. 바탕은 옅은 회색) */
.letter { --band: linear-gradient(160deg, #0a4fa8 0%, #0066cc 100%); --band-ink: #fff; --accent: #0066cc; }
.letter-not_selected { --band: linear-gradient(160deg, #26324a 0%, #3a4763 100%); --accent: #3a4763; }
.letter { position: relative; background: #f3f4f6; border-radius: var(--radius-card); overflow: hidden; }
.letter-band { position: relative; background: var(--band); color: var(--band-ink); padding: 44px 56px 92px; }
.letter-kicker { margin: 0; font-size: 15px; opacity: .8; }
.letter-band h1 { margin: 8px 0 10px; font-size: 34px; letter-spacing: -.03em; color: #fff; }
.letter-to { margin: 0; font-size: 17px; font-weight: 600; opacity: .92; }
.letter-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.letter-close:hover { background: rgba(255, 255, 255, .28); }
.letter-card { position: relative; margin: -60px 32px 32px; background: #fff; border-radius: 16px; padding: 32px 40px 28px; box-shadow: 0 12px 40px rgba(16, 24, 40, .10); border-top: 4px solid var(--accent); }
.letter-meta { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 12px; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.letter-meta dt { color: var(--muted); font-size: 13px; }
.letter-meta dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; word-break: keep-all; }
.letter-body { padding: 26px 0 6px; font-size: 16px; line-height: 1.9; word-break: keep-all; color: #222; }
.letter-body p { margin: 0 0 16px; }
.letter-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 18px; border-top: 1px solid var(--line); }
.letter-page { max-width: 820px; margin: 40px auto 24px; }
.letter-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.letter-backdrop { position: fixed; inset: 0; background: rgba(10, 20, 40, .55); }
.letter-dialog { position: relative; width: min(820px, 100%); }
.letter-dialog .letter { box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
body.letter-open { overflow: hidden; }
.status-link { text-decoration: none; cursor: pointer; }
.status-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .letter-band { padding: 32px 64px 80px 22px; }
  .letter-band h1 { font-size: 26px; }
  .letter-card { margin: -56px 12px 16px; padding: 24px 20px 20px; }
  .letter-meta { grid-template-columns: 1fr; }
  .letter-modal { padding: 12px 8px; }
  .letter-page { margin: 16px 0; }
}
@media print {
  .site-top, .mobile-tabs, .footer, .letter-actions, .letter-close, .letter-backdrop { display: none !important; }
  body.letter-open > *:not(.letter-modal) { display: none !important; }
  .letter-modal { position: static; padding: 0; overflow: visible; }
  .letter, .letter-dialog .letter { box-shadow: none; }
  .letter-band, .letter-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .letter-page { margin: 0; max-width: none; }
}

/* 접수자 메인: 배너 하나가 화면을 채운다(머리글·바닥글을 뺀 높이, 가운데 정렬) */
.hero-section.hero-modern.hero-full { min-height: calc(100vh - 190px); min-height: calc(100svh - 190px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 48px; padding-bottom: 56px; margin-bottom: 8px; }
.hero-full .hero-number { font-size: 20px; }
.hero-full .hero-title { font-size: clamp(30px, 5vw, 72px); margin: 18px 0 22px; }
.hero-full .hero-inner { width: 100%; }
.hero-full .hero-description { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-dday { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.hero-full .hero-ctas .btn { min-height: 52px; padding: 12px 28px; font-size: 17px; }
@media (max-width: 760px) {
  .hero-section.hero-modern.hero-full { min-height: calc(100svh - 230px); padding-top: 36px; padding-bottom: 40px; }
  .hero-full .hero-number { font-size: 16px; }
  .hero-full .hero-title { font-size: clamp(19px, 5.5vw, 28px); }
  .hero-full .hero-ctas .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }
}
/* 신청분야가 여러 개면 안내문이 분야마다 한 장씩 이어진다 */
.letter + .letter { margin-top: 24px; }
/* 운영자 상세: 신청분야별 결과 버튼 줄 */
.result-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.result-row > strong { min-width: 72px; font-size: 15px; }
.result-row .drawer-actions { margin: 0; }
.viewer-link { font-size: 13px; color: var(--muted); text-decoration: none; margin-right: 6px; }
.viewer-link:hover { color: var(--ink); }
