@charset "UTF-8";

/* [1] Toolbar */
.board-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink-900);
}
.board-toolbar__total {
  margin: 0;
  font-size: 14px; color: var(--ink-700);
}
.board-toolbar__total strong {
  color: var(--kor-red); font-weight: 700;
}
.board-toolbar__page {
  margin-left: 4px; color: var(--ink-500); font-weight: 500;
}

/* Search bar */
.board-search {
  display: flex; align-items: stretch; gap: 6px;
  min-width: 0;
}
.board-search__select,
.board-search__input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 14px; color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.board-search__select {
  width: 110px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.board-search__input { width: 240px; }
.board-search__select:focus,
.board-search__input:focus {
  outline: 0;
  border-color: var(--kor-red);
  box-shadow: 0 0 0 3px rgba(201,10,10,0.12);
}
.board-search__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px;
  padding: 0 18px;
  background: var(--ink-900); color: #fff;
  border: 0; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.board-search__btn:hover { background: var(--kor-red); }
.board-search__btn:active { transform: translateY(1px); }
.board-search__btn i { font-size: 17px; }

/* [2] List */
.board-list-wrap {
  margin-top: 0;
  width: 100%;
}
.board-list {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
  color: var(--ink-700);
}
.board-list__col-no      { width: 80px; }
.board-list__col-cat     { width: 110px; }
.board-list__col-author  { width: 110px; }
.board-list__col-date    { width: 120px; }
.board-list__col-views   { width: 80px; }

.board-list thead th {
  padding: 16px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  background: #fafafa;
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
}
.board-list tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.board-list tbody tr { transition: background .15s ease; }
.board-list tbody tr:hover { background: rgba(201,10,10,0.03); }

.board-list tbody tr.is-pinned {
  background: rgba(201,10,10,0.04);
}
.board-list tbody tr.is-pinned:hover { background: rgba(201,10,10,0.07); }
.board-list tbody tr.is-pinned .board-list__title-text { font-weight: 700; color: var(--ink-900); }

/* 번호 / 핀 */
.board-list__no {
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.board-pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  color: var(--kor-red);
  border-radius: 50%;
  background: rgba(201,10,10,0.1);
}
.board-pin i { font-size: 14px; }

/* 제목 */
.board-list tbody td.board-list__title {
  text-align: left;
  overflow: hidden;
}
.board-list__title-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 0;
  max-width: 100%;
  color: var(--ink-900);
  font-weight: 500;
  transition: color .15s ease;
}
.board-list__title-text {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-list__title-link:hover .board-list__title-text {
  color: var(--kor-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.board-list__attach {
  font-size: 15px;
  color: var(--ink-500);
  flex-shrink: 0;
}
.sign-new {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--kor-red); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1;
  flex-shrink: 0;
}

/* 작성자 / 날짜 / 조회 */
.board-list__author { color: var(--ink-700); }
.board-list__date { color: var(--ink-500); font-variant-numeric: tabular-nums; }
.board-list__views { color: var(--ink-500); font-variant-numeric: tabular-nums; }

/* [3] View */
.view {
  border-top: 2px solid var(--ink-900);
  background: #fff;
}

/* View head */
.view__head {
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.view__meta-top {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.view__title {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
  margin: 0 0 18px;
  word-break: keep-all;
}
.view__head-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.view__meta {
  display: flex; flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  font-size: 13px;
}
.view__meta > div { display: inline-flex; align-items: center; gap: 6px; }
.view__meta dt { color: var(--ink-500); font-weight: 500; }
.view__meta dd { margin: 0; color: var(--ink-700); font-variant-numeric: tabular-nums; }

/* View actions */
.view__actions {
  display: inline-flex; gap: 6px;
  flex-shrink: 0;
}
.btn.view-btn {
  height: 36px;
  padding: 0 14px;
  gap: 6px;
  font-size: 13px; font-weight: 500;
}
.btn.view-btn i { font-size: 16px; }
.btn.view-btn:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* Attachments */
.view__attach {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.view__attach-title {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-700);
  margin: 0 0 12px;
}
.view__attach-title i { font-size: 16px; }
.view__attach-list { list-style: none; margin: 0; padding: 0; }
.view__attach-list li + li { margin-top: 6px; }
.view__attach-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #f7f8fa;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: var(--ink-700);
  font-size: 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.view__attach-list a:hover {
  background: #fff;
  border-color: var(--kor-red);
  color: var(--kor-red);
}
.view__attach-list > li > a > i:first-child {
  font-size: 20px; color: var(--kor-red); flex-shrink: 0;
}
.view__attach-name {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.view__attach-size { color: var(--ink-500); font-size: 12px; flex-shrink: 0; }
.view__attach-dl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  color: var(--ink-500); flex-shrink: 0;
  transition: color .15s ease;
}
.view__attach-dl i { font-size: 18px; }
.view__attach-list a:hover .view__attach-dl { color: var(--kor-red); }

/* Body */
.view__body {
  padding: 40px 24px 50px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 15px; line-height: 1.75;
  word-break: keep-all;
}
.view__body > *:first-child { margin-top: 0; }
.view__body > *:last-child { margin-bottom: 0; }
.view__body h3 {
  font-size: 18px; font-weight: 700;
  color: var(--ink-900);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--kor-red);
  line-height: 1.3;
}
.view__body h4 {
  font-size: 16px; font-weight: 700;
  color: var(--ink-900);
  margin: 24px 0 10px;
}
.view__body p { margin: 12px 0; }
.view__body strong { color: var(--ink-900); font-weight: 700; }
.view__body ul,
.view__body ol { padding-left: 22px; margin: 12px 0; }
.view__body li { margin: 6px 0; }
.view__body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 20px 0; display: block; }
.view__body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: #f7f8fa;
  border-left: 3px solid var(--line-strong);
  color: var(--ink-700);
  font-size: 14px;
}
.view__body a { color: var(--kor-red); text-decoration: underline; text-underline-offset: 3px; }
.view__body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.view__body th,
.view__body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.view__body th { background: #f7f8fa; font-weight: 700; color: var(--ink-900); }
.view__body .view__contact th { width: 120px; }

/* Prev / next navigation */
.view-nav {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-top: 40px;
  background: #fff;
}
.view-nav__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.view-nav__item:last-child { border-bottom: 0; }
.view-nav__item:hover { background: #f7f8fa; }
.view-nav__item:hover .view-nav__title { color: var(--kor-red); }
.view-nav__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-500);
}
.view-nav__label i { font-size: 16px; }
.view-nav__title {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink-700);
  transition: color .15s ease;
  min-width: 0;
}

/* View foot */
.view-foot {
  display: flex; justify-content: center;
  margin-top: 32px;
}

/* [4] Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  margin-top: 40px;
}
.pagination__edge,
.pagination__step,
.pagination__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-700);
  font-size: 14px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pagination__edge i,
.pagination__step i { font-size: 18px; }
.pagination__edge:hover,
.pagination__step:hover,
.pagination__num:hover {
  background: #f7f8fa;
  color: var(--kor-red);
  border-color: var(--line-strong);
}
.pagination__list {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 4px; padding: 0;
  list-style: none;
}
.pagination__num.is-current {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  cursor: default;
}
.pagination__num.is-current:hover { background: var(--ink-900); color: #fff; }

/* [4.5] Integrated Search */
.search-page__bar {
  padding: 24px 24px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 32px;
}
.board-search--wide { width: 100%; }
.board-search--wide .board-search__input {
  flex: 1;
  height: 48px;
  font-size: 15px;
}
.board-search--wide .board-search__btn {
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
}
.search-page__summary {
  margin: 14px 0 0;
  font-size: 14px; color: var(--ink-700);
}
.search-page__summary strong { color: var(--kor-red); font-weight: 800; }

.search-page__results { display: flex; flex-direction: column; gap: 40px; }

.search-block {}
.search-block__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.search_list { border-top: 2px solid #000; }
.search-block__title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; color: var(--ink-900);
  line-height: 1;
}
.search-block__title i { font-size: 20px; color: var(--kor-red); }
.search-block__count {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--kor-red-50); color: var(--kor-red);
  font-size: 12px; font-weight: 700;
}
.search-block__more {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; color: var(--ink-500);
  transition: color .15s ease;
}
.search-block__more:hover { color: var(--kor-red); }
.search-block__more i { font-size: 16px; }

@media (max-width: 640px) {
  .search-page__bar { padding: 18px 16px; }
  .board-search--wide .board-search__input { height: 42px; font-size: 14px; }
  .board-search--wide .board-search__btn { height: 42px; padding: 0 16px; }
  .search-block__title { font-size: 15px; }
}

/* [5] Survey */
.board-list__col-status { width: 88px; }
.board-list__col-period { width: 200px; }
.board-list__col-year   { width: 90px; }

/* 사업공고 마감 행 흐리기 */
.announce-row--close .board-list__title-text,
.announce-row--close .board-list__period,
.announce-row--close .board-list__date,
.announce-row--close .board-list__no,
.announce-row--close .board-list__year { color: var(--ink-500); }
.board-list__col-action { width: 132px; }

/* 상태 chip */
.survey-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  line-height: 1;
}
.survey-status::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.survey-status--open  { background: rgba(201,10,10,0.10); color: var(--kor-red); }
.survey-status--ready { background: rgba(30,110,220,0.10); color: #1e6edc; }
.survey-status--close { background: #f0f1f3; color: var(--ink-500); }

.survey-row--close .board-list__title-text { color: var(--ink-500); }

.survey-progress__bar {
  position: relative; display: block;
  width: 140px; height: 6px;
  border-radius: 999px;
  background: #eef0f3;
  overflow: hidden;
}
.survey-progress__fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--kor-red);
  border-radius: 999px;
  transition: width .3s ease;
}

.board-list__action { text-align: center; }
.board-list__action .btn { min-width: 108px; }
.survey-row--close .btn { color: var(--ink-500); }
.survey-row--close .btn-disable { color: var(--ink-300); }
.btn-disable.js-survey-notice { pointer-events: auto; cursor: pointer; }

[data-survey-empty] { border-top: 1px solid var(--line); margin-top: -1px; }

/* Survey detail */
.view--survey .view__head { background: #fff; }
.survey-info {
  padding: 24px;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}
.survey-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 0;
}
.survey-info__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.survey-info__item--wide { grid-column: 1 / -1; }
.survey-info__item dt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-700);
}
.survey-info__item dt i { font-size: 18px; color: var(--kor-red); }
.survey-info__item dd { margin: 0; color: var(--ink-700); font-size: 14px; }
.survey-info__item dd strong { color: var(--ink-900); font-weight: 700; }
.survey-info__badge {
  display: inline-flex; align-items: center;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(201,10,10,0.08); color: var(--kor-red);
  font-size: 12px; font-weight: 700;
  line-height: 1;
}
.survey-info__progress { display: flex; align-items: center; gap: 14px; }
.survey-info__progress .survey-progress__bar { flex: 1; height: 8px; max-width: 480px; }
.survey-info__count {
  font-size: 13px; color: var(--ink-700);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0; min-width: 140px;
}
.survey-info__count strong { color: var(--ink-900); font-size: 15px; font-weight: 700; }
.survey-info__pct { color: var(--kor-red); font-weight: 700; margin-left: 4px; }

/* Inline survey form */
.survey-form-notice { margin: 24px; }
.survey-form { padding: 0 24px 40px; }

.survey-q {
  border: 0; padding: 0;
  margin: 0 0 56px;
  min-width: 0; width: 100%;
}
.survey-q:last-of-type { margin-bottom: 0; }
.survey-q__title {
  display: flex; align-items: center; flex-wrap: wrap;
  width: 100%; float: none;
  gap: 10px;
  padding: 14px 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 16px; font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
  word-break: keep-all;
}
.survey-q__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--kor-red); color: #fff;
  font-family: var(--font-title);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.survey-q__num--alt { background: var(--ink-900); }
.survey-q__text { flex: 1; min-width: 0; }
.survey-q__text strong { color: var(--kor-red); font-weight: 700; }
.survey-q__type {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2f3f5; color: var(--ink-500);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-left: auto;
}
.survey-q__type[data-type="single"] { background: rgba(0,140,90,0.10); color: #008c5a; }
.survey-q__type[data-type="multi"]  { background: rgba(30,110,220,0.10); color: #1e6edc; }
.survey-q__type[data-type="select"] { background: rgba(120,60,180,0.10); color: #7a3cb4; }
.survey-q__type[data-type="text"]   { background: rgba(180,90,20,0.10); color: #b45a14; }
.survey-q__type[data-type="rating"] { background: rgba(201,10,10,0.10); color: var(--kor-red); }
.survey-q__type[data-type="score"]  { background: rgba(201,10,10,0.10); color: var(--kor-red); }
.survey-q__type[data-type="scale"]  { background: rgba(0,52,120,0.10); color: var(--kor-blue); }

.survey-q__body { padding-left: 0; }
.survey-q__help { margin: 8px 0 0; font-size: 12px; color: var(--ink-500); }
.survey-q__count { text-align: right; }
.survey-q__count [data-count] { color: var(--ink-700); font-weight: 700; }

/* 별점 */
.survey-rating {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 0;
  text-align: center;
}
.survey-rating__item {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  cursor: pointer;
}
.survey-rating__item input {
  position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer;
}
.survey-rating__star {
  font-size: 32px;
  color: var(--line-strong);
  transition: color .15s ease, transform .1s ease;
}
.survey-rating__item input:checked ~ .survey-rating__star,
.survey-rating.is-hover-1 .survey-rating__item:nth-child(-n+1) .survey-rating__star,
.survey-rating.is-hover-2 .survey-rating__item:nth-child(-n+2) .survey-rating__star,
.survey-rating.is-hover-3 .survey-rating__item:nth-child(-n+3) .survey-rating__star,
.survey-rating.is-hover-4 .survey-rating__item:nth-child(-n+4) .survey-rating__star,
.survey-rating.is-hover-5 .survey-rating__item:nth-child(-n+5) .survey-rating__star,
.survey-rating.is-set-1 .survey-rating__item:nth-child(-n+1) .survey-rating__star,
.survey-rating.is-set-2 .survey-rating__item:nth-child(-n+2) .survey-rating__star,
.survey-rating.is-set-3 .survey-rating__item:nth-child(-n+3) .survey-rating__star,
.survey-rating.is-set-4 .survey-rating__item:nth-child(-n+4) .survey-rating__star,
.survey-rating.is-set-5 .survey-rating__item:nth-child(-n+5) .survey-rating__star {
  color: #f5b400;
}
.survey-rating__desc {
  width: 100%;
  margin: 8px 0 0;
  font-size: 13px; color: var(--ink-500);
  font-weight: 600;
  text-align: center;
}

/* 점수형 */
.survey-score { display: flex; flex-wrap: wrap; gap: 6px; }
.survey-score__item {
  position: relative;
  flex: 1; min-width: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.survey-score__item input {
  position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer;
}
.survey-score__label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff; color: var(--ink-700);
  font-family: var(--font-title);
  font-size: 14px; font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.survey-score__item:hover .survey-score__label {
  border-color: var(--kor-red); color: var(--kor-red);
}
.survey-score__item input:checked + .survey-score__label {
  background: var(--kor-red); color: #fff; border-color: var(--kor-red);
}
.survey-score__item input:focus-visible + .survey-score__label {
  box-shadow: 0 0 0 3px rgba(201,10,10,0.2);
}
.survey-score__anchors {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-size: 12px; color: var(--ink-500);
}

/* 척도형 Likert */
.survey-scale { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.survey-scale__anchor { font-size: 12px; color: var(--ink-500); white-space: nowrap; }
.survey-scale__item {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.survey-scale__item input {
  position: absolute; inset: 0;
  opacity: 0; margin: 0; cursor: pointer;
}
.survey-scale__label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-700);
  font-family: var(--font-title);
  font-size: 15px; font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.survey-scale__item:hover .survey-scale__label {
  border-color: var(--kor-red); color: var(--kor-red);
}
.survey-scale__item input:checked + .survey-scale__label {
  background: var(--kor-red); color: #fff; border-color: var(--kor-red);
  transform: scale(1.05);
}
.survey-scale__item input:focus-visible + .survey-scale__label {
  box-shadow: 0 0 0 3px rgba(201,10,10,0.2);
}

.survey-form__actions {
  margin-top: 32px;
  padding-top: 0;
  border-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .board-toolbar {
    align-items: stretch;
    gap: 14px;
  }
  .board-search { width: 100%; }
  .board-search__input { flex: 1; width: auto; min-width: 0; }
  .board-search__btn span { display: none; }
  .board-search__btn { padding: 0 14px; }

  .board-list-wrap { margin-top: 16px; }

  .board-list,
  .board-list thead,
  .board-list tbody,
  .board-list tr,
  .board-list td { display: block; width: 100% !important; }
  .board-list colgroup { display: none; }
  .board-list thead { display: none; }

  .board-list tbody tr {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 16px 12px;
    padding-right: 68px;
    margin-bottom: 10px;
    background: #fff;
  }
  .board-list tbody tr:hover { background: #fff; }
  .board-list tbody tr.is-pinned {
    border-color: rgba(201,10,10,0.35);
    background: rgba(201,10,10,0.03);
  }

  .board-list tbody td {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .board-list__author,
  .board-list__date {
    display: inline-flex !important; align-items: center;
    font-size: 12px; color: var(--ink-500);
    margin-right: 12px;
  }
  .board-list__author::before,
  .board-list__date::before {
    content: attr(data-label) " · ";
    margin-right: 4px;
    color: var(--ink-500);
  }

  .board-list tbody td.board-list__no {
    display: inline-flex !important; align-items: center; justify-content: center;
    position: absolute; top: 12px; right: 12px;
    width: auto !important;
    min-width: 36px; height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f2f3f5;
    font-size: 11px; font-weight: 600;
    color: var(--ink-500);
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }
  .board-list__no::before { display: none; }
  .board-list tbody tr.is-pinned td.board-list__no {
    background: transparent;
    padding: 0;
    width: auto !important;
    min-width: 0; height: auto;
    border-radius: 0;
  }

  .board-list__views { display: none !important; }

  .board-list__cat { display: inline-block !important; margin-bottom: 8px; }
  .board-list__title { margin-bottom: 10px; }
  .board-list__title-link {
    display: block;
    line-height: 1.5;
  }
  .board-list__title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    max-height: calc(1.5em * 2);  /* 폴백 */
  }
  .board-list__title-link .board-list__attach {
    display: inline-block;
    vertical-align: middle;
    margin: 6px 4px 0 0;
  }
  .board-list__title-link .sign-new {
    display: inline-flex;
    vertical-align: middle;
    margin: 6px 4px 0 0;
  }

  /* Pagination */
  .pagination { flex-wrap: wrap; gap: 3px; }
  .pagination__edge,
  .pagination__step,
  .pagination__num {
    min-width: 34px; height: 34px;
    font-size: 13px;
  }

  /* View */
  .view__head { padding: 22px 18px 20px; }
  .view__title { font-size: 18px; margin-bottom: 14px; }
  .view__meta { gap: 4px 16px; font-size: 12px; }
  .view__attach { padding: 16px 18px; }
  .view__body { padding: 28px 18px 36px; font-size: 14px; }
  .view__body h3 { font-size: 16px; margin: 24px 0 10px; }
  .view__head-bottom { gap: 12px; }
  .btn.view-btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .btn.view-btn i { font-size: 14px; }

  .view-nav__item {
    grid-template-columns: 84px 1fr;
    gap: 12px;
    padding: 14px 18px;
  }
  .view-nav__label { font-size: 12px; }

  /* View foot */
  .view-foot .btn { width: 100%; }

  .survey-info { padding: 20px 16px; }
  .survey-info__grid { grid-template-columns: 1fr; gap: 14px 0; }
  .survey-info__item { grid-template-columns: 96px 1fr; gap: 10px; min-height: 32px; }
  .survey-info__item dt { font-size: 12px; }
  .survey-info__item dt i { font-size: 16px; }
  .survey-info__item dd { font-size: 13px; }
  .survey-info__item--wide { grid-column: auto; }
  .survey-info__progress { flex-wrap: wrap; gap: 8px; }
  .survey-info__count { min-width: 0; font-size: 12.5px; }
  .survey-info__progress .survey-progress__bar { max-width: none; }
  .survey-info__badge { margin-left: 6px; font-size: 11px; padding: 2px 8px; }
}
@media (max-width: 425px) {
  .board-search__select { width: 90px; padding: 0 10px; padding-right: 28px; }
  .view__attach-size { display: none; }

  .survey-info__item {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: flex-start;
  }
  .survey-info__item dt {
    padding-bottom: 2px;
    border-bottom: 1px dashed var(--line);
  }
}

@media (max-width: 480px) {
  .survey-form__actions { flex-wrap: wrap; }
  .survey-form__actions .btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .survey-form__actions .gd-primary { flex-basis: 100%; }
}

/* Print: content only */
@media print {
  .skip-to-content, .floatnav-wrap, .fullmenu, .sub-hero, .footer,
  .view__actions, .view-nav, .view-foot, .survey-form__actions,
  .notyf, .swal2-container { display: none !important; }
  body { background: #fff; }
  .sub-main { padding: 0; }
  .container { max-width: none; padding: 0; }
  .view { border-top: 0; }
}
