/* ── 입찰 공고 알림(#/bids — views/bids.js · bids-settings.js, 사용자 승인 2026-10-10) ─────────────────
   읽기 쉬움이 먼저(사용자 요구): 글자 PC 16px · 휴대폰 17px 이상, 누르는 곳 48px 이상. 카드 하나 = 공고 하나(공고명이 가장 크다), 마감은 오른쪽 위 D-n.
   앱 색은 자주(--bids) — 앱 전환 · 빠른 메뉴의 그림 칸에만. */
:root { --bids: #7C3AED; --bids-d: #5B21B6; --bids-t: #F1EAFE; }
.appicon.bids { background: var(--bids); }
.tile.bids { background: var(--bids-t); color: var(--bids-d); }
.quick-app i.bids { background: var(--bids); }

.bn-page { max-width: 1200px; gap: 18px; font-size: 16px; }
.bn-crumb { font-size: 15px; color: var(--ink3); }
.bn-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.bn-head > .grow { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bn-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.bn-head p { font-size: 16px; color: var(--ink2); }
.bn-head-acts { display: flex; gap: 8px; }
.bn-status { font-size: 15px; color: var(--ink3); }
.bn-status.wrn { color: var(--wrn-ink); font-weight: 700; }
.btn.bn-btn { height: 48px; padding: 0 18px; border-radius: 12px; font-size: 16px; }
.btn.bn-btn .ic { width: 18px; height: 18px; }
.btn.bn-btn.sm2 { height: 44px; padding: 0 14px; font-size: 15px; }
.bn-note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink3); }

.bn-tools { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bn-searchbox { position: relative; }
.bn-searchbox > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink3); pointer-events: none; }
.bn-search.input { height: 52px; padding-left: 44px; border-radius: 12px; font-size: 17px; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-chips.groups { padding-top: 12px; border-top: 1px dashed var(--line); }
.bn-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; white-space: nowrap; }
.bn-chip:hover { background: var(--soft); }
.bn-chip b { font-weight: 700; color: var(--ink3); }
.bn-chip .ic { color: #D97706; }
.bn-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.bn-chip[aria-pressed="true"] b, .bn-chip[aria-pressed="true"] .ic { color: #fff; }
.bn-chip.soon[aria-pressed="false"] { border-color: #F2C76E; color: #78350F; }
.bn-chip.g { font-weight: 400; }
.bn-chip.g.off { opacity: .6; }
.bn-tools-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bn-count { font-size: 16px; font-weight: 700; color: var(--ink2); }
.check.bn-closed { min-height: 48px; font-size: 16px; color: var(--ink2); }
.check.bn-closed input { width: 20px; height: 20px; }

.bn-list { display: flex; flex-direction: column; gap: 12px; }
.bn-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bn-card.starred { border-color: #F2C76E; box-shadow: inset 4px 0 0 #F2B33D; }
.bn-card.closed { background: #FAFBFC; }
.bn-card.closed .bn-title { color: var(--ink2); }
.bn-card-top { display: flex; align-items: flex-start; gap: 12px; }
.bn-tags { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bn-tags .badge { padding: 4px 10px; font-size: 14px; }
.bn-kind { padding: 4px 10px; border-radius: 6px; background: #EEF1F5; color: var(--ink2); font-size: 14px; font-weight: 700; }
.bn-kind.goods { background: #E7F0FD; color: #1D4F91; }
.bn-kind.service { background: var(--bids-t); color: var(--bids-d); }
.bn-kind.construction { background: #FDF0E3; color: #8A4B0F; }
.bn-group { padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; color: var(--ink2); font-size: 14px; }
.bn-dday { flex: none; min-width: 72px; padding: 6px 12px; border-radius: 10px; font-size: 18px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.bn-dday.dgr { background: var(--dgr-t); color: var(--dgr); }
.bn-dday.wrn { background: var(--wrn-t); color: var(--wrn); }
.bn-dday.ok { background: var(--ok-t); color: var(--ok); }
.bn-dday.ink { background: #EEF1F5; color: var(--ink3); }
.bn-title { font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bn-meta { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.bn-meta > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bn-meta dt { font-size: 14px; color: var(--ink3); }
.bn-meta dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.bn-meta .bn-amt { font-weight: 700; }
.bn-meta .bn-urgent { color: var(--dgr); font-weight: 700; }
.bn-memo { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 10px; background: #FFFBEB; color: #78350F; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bn-memo .ic { margin-top: 3px; flex: none; }
.bn-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bn-g2b { margin-right: auto; }
.bn-star { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); color: var(--ink3); }
.bn-star:hover { background: var(--soft); }
.bn-star .ic { width: 22px; height: 22px; }
.bn-star.on { border-color: #F2C76E; background: #FFF7E0; color: #D97706; }
.bn-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-size: 17px; color: var(--ink2); text-align: center; }
.bn-more { display: flex; justify-content: center; }
.bn-more .btn { min-width: 240px; }

/* 탭 — [입찰공고] · [개찰결과](2026-11-10 A안) */
.bn-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.bn-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; margin-bottom: -1px; border-bottom: 3px solid transparent;
  font-size: 18px; font-weight: 700; color: var(--ink3); text-decoration: none; }
.bn-tab:hover { color: var(--ink); }
.bn-tab .n { min-width: 28px; padding: 1px 9px; border-radius: 999px; background: #EEF1F5; color: var(--ink2); font-size: 15px; text-align: center; }
.bn-tab[aria-selected="true"] { border-bottom-color: var(--bids); color: var(--bids-d); }
.bn-tab[aria-selected="true"] .n { background: var(--bids-t); color: var(--bids-d); }
.bn-chips-label { align-self: center; margin-right: 4px; font-size: 14px; font-weight: 700; color: var(--ink3); }
.bn-chips.groups { padding-top: 0; border-top: none; }
.bn-chip.g .ic { color: var(--bids); }
.bn-chip.g[aria-pressed="true"] .ic { color: #fff; }
.bn-cond { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 10px; background: #F6F2FE; color: #4C1D95; font-size: 15px; line-height: 1.5; }
.bn-cond[hidden] { display: none; }
.bn-cond .ic { flex: none; margin-top: 3px; }
.bn-hint { font-size: 14px; color: var(--ink3); }
.bn-group.rg { display: inline-flex; align-items: center; gap: 4px; border-color: #D8C8FB; color: var(--bids-d); }
.bn-group.rg .ic { width: 13px; height: 13px; }
.bn-meta.five { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }

/* 개찰결과 카드 */
.bn-dday.bn-rstatus { font-size: 16px; }
.bn-first, .bn-ours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 16px; border-radius: 12px; font-size: 16px; }
.bn-first { background: #F6F8FA; border: 1px solid #E8ECF1; color: var(--ink2); }
.bn-first b { color: var(--ink); }
.bn-first .who, .bn-ours .who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.bn-first .who b, .bn-ours .who b { font-size: 17px; overflow-wrap: anywhere; }
.bn-rank1 { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.bn-ours { background: #F6F2FE; border: 1px solid #DDD0FB; color: #4C1D95; }
.bn-ours-tag { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--bids); color: #fff; font-size: 14px; font-weight: 700; }
.bn-rnote { margin: 0; font-size: 15px; color: var(--ink3); }
.bn-ranks { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bn-ranks table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.bn-ranks th { padding: 8px 14px; background: #F6F8FA; color: var(--ink3); font-size: 14px; font-weight: 500; text-align: left; }
.bn-ranks td { padding: 8px 14px; border-top: 1px solid #EEF1F5; overflow-wrap: anywhere; }
.bn-ranks .num { text-align: right; white-space: nowrap; }
.bn-ranks .rk { width: 64px; color: var(--ink3); white-space: nowrap; }
.bn-ranks tr.ours td { background: #F6F2FE; color: #4C1D95; font-weight: 700; }
.bn-ranks tr.ours .bn-ours-tag { margin-left: 8px; font-size: 13px; }
.bn-ranks tr.gap td { padding: 2px 14px; color: var(--ink3); text-align: center; }
.bn-ranks-foot { margin: 0; padding: 8px 14px; border-top: 1px solid #EEF1F5; font-size: 14px; color: var(--ink3); }

/* 메모 창 */
dialog.bn-dlg .dlg-body { font-size: 16px; }
.bn-dlg-body { display: flex; flex-direction: column; gap: 10px; }
.bn-dlg-title { font-size: 16px; font-weight: 700; color: var(--ink2); }
.bn-dlg-body label { font-size: 15px; color: var(--ink2); }
.bn-memo-input.input, .bn-words.input { height: auto; padding: 12px 14px; font-size: 16px; line-height: 1.5; resize: vertical; }
dialog.bn-dlg .dlg-foot .btn { height: 48px; padding: 0 20px; font-size: 16px; }

/* 설정 */
.bn-set-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bn-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bn-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bn-panel-head { display: flex; align-items: center; gap: 10px; }
.bn-panel-head h2 { flex: 1; font-size: 20px; font-weight: 700; }
.bn-panel .hint, .bn-form .hint { font-size: 14.5px; color: var(--ink3); line-height: 1.5; }
.bn-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bn-field > label { font-size: 15px; font-weight: 700; color: var(--ink2); }
.bn-field .input { font-size: 16px; }
.bn-inline { display: flex; gap: 8px; }
.bn-inline .input { flex: 1; min-width: 0; height: 48px; }
.bn-runs h3 { margin-bottom: 6px; font-size: 16px; }
.bn-runs ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bn-runs li { display: grid; grid-template-columns: 130px 80px minmax(0, 1fr); gap: 8px; padding: 10px 14px; border-top: 1px solid #EEF1F5; font-size: 15px; }
.bn-runs li:first-child { border-top: none; }
.bn-runs li.bad { background: var(--dgr-t); color: #8E241E; }
.bn-runs .when { font-variant-numeric: tabular-nums; color: var(--ink2); }
.bn-runs .why { color: var(--ink3); }
.bn-groups { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bn-gcard { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.bn-gcard.off { background: #FAFBFC; }
.bn-gcard-head { display: flex; align-items: center; gap: 8px; }
.bn-gcard-head b { flex: 1; min-width: 0; font-size: 18px; }
.bn-gline { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.bn-gline .k { color: var(--ink3); font-size: 15px; }
.bn-plist h3 { margin: 4px 0 6px; font-size: 16px; }
.bn-plist ul { margin: 0; padding: 0; list-style: none; }
.bn-plist li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; padding: 6px 0; border-top: 1px solid #EEF1F5; font-size: 16px; }
.bn-plist li .muted { flex: 1; font-size: 15px; }

/* 우리 회사 사업자등록번호 */
.bn-companies { display: flex; flex-direction: column; gap: 10px; }
.bn-company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.bn-company .input { height: 48px; }
.bn-inline-acts { display: flex; justify-content: flex-end; gap: 8px; }

/* 묶음 창 */
.bn-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bn-mode { display: flex; align-items: flex-start; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; cursor: pointer; }
.bn-mode input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--bids); }
.bn-mode .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-mode b { font-size: 16px; }
.bn-mode .grow span { font-size: 14.5px; color: var(--ink3); line-height: 1.45; }
.bn-mode:has(input:checked) { border-color: var(--bids); background: #FAF7FF; }
.bn-form [hidden] { display: none !important; }
.bn-svc-hint { margin: 4px 0 0; font-size: 14.5px; }
.bn-form { display: flex; flex-direction: column; gap: 16px; }
.bn-form-row { display: flex; align-items: flex-end; gap: 16px; }
.bn-form-row > .bn-field { flex: 1; }
.bn-form-row.two > .bn-field { flex: 1 1 0; }
.bn-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 16px; font-weight: 700; }
.bn-fs { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; gap: 8px; }
.bn-fs legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--ink2); }
.bn-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.check.bn-check { min-height: 48px; font-size: 17px; color: var(--ink); }
.check.bn-check input, .check.bn-person input { width: 22px; height: 22px; }
.bn-people { display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.check.bn-person { min-height: 56px; padding: 6px 14px; border-top: 1px solid #EEF1F5; font-size: 16px; color: var(--ink); }
.check.bn-person:first-child { border-top: none; }
.check.bn-person .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.check.bn-person .grow span { font-size: 14.5px; color: var(--ink3); }

@media (max-width: 1000px) {
  .bn-set-cols { grid-template-columns: minmax(0, 1fr); }
  .bn-meta.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bn-meta.five > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  .bn-page { padding-top: 14px; gap: 14px; font-size: 17px; }
  .bn-crumb { display: none; }
  .bn-head h1 { font-size: 24px; }
  .bn-head p { font-size: 17px; }
  .bn-head-acts { width: 100%; }
  .bn-head-acts .btn { flex: 1; }
  .bn-tools { margin: 0 -16px; padding: 12px 16px; border-left: none; border-right: none; border-radius: 0; }
  .bn-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -16px; background: var(--surface); }
  .bn-tab { justify-content: center; padding: 0 8px; }
  .bn-chips-label { display: none; }
  .bn-meta.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-first, .bn-ours { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; font-size: 17px; }
  .bn-ranks table { font-size: 15px; }
  .bn-ranks th, .bn-ranks td { padding: 8px 10px; }
  .bn-ranks .rk { width: 48px; }
  .bn-ranks th:nth-child(4), .bn-ranks td:nth-child(4) { display: none; }
  .bn-modes { grid-template-columns: minmax(0, 1fr); }
  .bn-company { grid-template-columns: minmax(0, 1fr); padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
  .bn-inline-acts .btn { flex: 1; }
  .bn-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .bn-chips::-webkit-scrollbar { display: none; }
  .bn-chip { min-height: 48px; font-size: 17px; }
  .bn-count, .check.bn-closed { font-size: 17px; }
  .bn-card { padding: 16px; gap: 10px; }
  .bn-title { font-size: 19px; }
  .bn-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .bn-meta > div:first-child { grid-column: 1 / -1; }
  .bn-meta dt { font-size: 15px; }
  .bn-meta dd, .bn-memo { font-size: 17px; }
  .bn-tags .badge, .bn-kind, .bn-group { font-size: 15px; }
  .bn-acts { flex-wrap: wrap; }
  .bn-res .bn-acts > .bn-rk-toggle { flex: 1 1 100%; }
  .bn-acts .bn-g2b { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .bn-acts .btn.bn-btn:not(.bn-g2b) { padding: 0 12px; }
  .btn.bn-btn { height: 52px; font-size: 17px; }
  .bn-star { width: 52px; height: 52px; }
  .bn-note { font-size: 16px; }
  .bn-panel { padding: 16px; }
  .bn-gline { grid-template-columns: 1fr; gap: 0; font-size: 17px; }
  .bn-runs li { grid-template-columns: 1fr; gap: 2px; font-size: 16px; }
  .bn-form-row, .bn-form-row.two { flex-direction: column; align-items: stretch; }
  .check.bn-person, .check.bn-check { font-size: 17px; }
}

/* ── 공고 상세(#/bids/n/<번호> — views/bids-detail.js, 2026-11-16) ───────────────────── */
.bn-title-link { color: inherit; text-decoration: none; }
.bn-title-link:hover { color: var(--bids-d); text-decoration: underline; }
.bn-card.clickable { cursor: pointer; }
.bn-card.clickable:hover { border-color: #D8C8FB; }
.bnd-view { gap: 16px; }
.bnd-head { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bnd-title { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bnd-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 15px; color: var(--ink3); }
.bnd-sub span + span::before { content: '·'; margin-right: 14px; color: var(--line2); }
.bnd-change { margin: 0; }
.bnd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bnd-acts .bn-g2b { margin-right: auto; }
.bnd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.bnd-main { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bnd-side { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; position: sticky; top: 76px; }
.bnd-sec h2, .bnd-side-card h2 { font-size: 19px; font-weight: 700; }
.bnd-side-card { gap: 10px; }
.bnd-side-card .bn-panel-head h2 { flex: 1; }
.bnd-side-card .btn { align-self: flex-start; }
.bnd-side-card .bn-first, .bnd-side-card .bn-ours { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; font-size: 15px; }
.bnd-side-card .hint.wrn { color: var(--wrn-ink); }

/* 진행 막대 */
.bnd-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.bnd-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 4px; text-align: center; font-size: 14px; color: var(--ink3); }
.bnd-step::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.bnd-step:first-child::before { display: none; }
.bnd-step .dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line2); background: var(--surface); }
.bnd-step b { font-size: 15px; color: var(--ink2); }
.bnd-step .when { font-variant-numeric: tabular-nums; }
.bnd-step .left { font-weight: 700; color: var(--ink2); }
.bnd-step.done .dot { border-color: var(--bids); background: var(--bids); }
.bnd-step.done::before, .bnd-step.next::before { background: var(--bids); }
.bnd-step.next .dot { border-color: var(--bids); box-shadow: 0 0 0 5px var(--bids-t); }
.bnd-step.next b, .bnd-step.next .left { color: var(--bids-d); }

/* 금액 */
.bnd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bnd-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFC; }
.bnd-tile .k { font-size: 14px; color: var(--ink3); }
.bnd-tile b { font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bnd-tile.strong b { color: var(--ink); }
.bnd-tile .s { font-size: 13.5px; color: var(--ink3); }
.bnd-parts { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.bnd-parts summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ink2); }
.bnd-parts ul { margin: 0 0 10px; padding: 0; list-style: none; }
.bnd-parts li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #EEF1F5; font-size: 15px; font-variant-numeric: tabular-nums; }

/* 정보 표 — 두 줄(PC), 한 줄(.one · 휴대폰) */
.bnd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; }
.bnd-grid.one { grid-template-columns: minmax(0, 1fr); }
.bnd-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid #EEF1F5; font-size: 15.5px; }
.bnd-grid > .bnd-row:nth-child(-n+2) { border-top: none; }
.bnd-grid.one > .bnd-row:nth-child(2) { border-top: 1px solid #EEF1F5; }
.bnd-row dt { color: var(--ink3); font-size: 14.5px; }
.bnd-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bnd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bnd-chip { padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; color: var(--ink2); text-decoration: none; }
a.bnd-chip:hover { background: var(--soft); }

/* 첨부 · 공고원문 */
.bnd-files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.bnd-files li { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 0; border-top: 1px solid #EEF1F5; }
.bnd-files li:first-child { border-top: none; }
.bnd-files .name { font-size: 15.5px; overflow-wrap: anywhere; }
.bnd-ext { flex: none; min-width: 48px; padding: 3px 6px; border-radius: 6px; background: #EEF1F5; color: var(--ink2); font-size: 12px; font-weight: 700; text-align: center; }
.bnd-ext.pdf { background: #FDECEC; color: #B42318; }
.bnd-ext.hwp, .bnd-ext.hwpx { background: #E7F0FD; color: #1D4F91; }
.bnd-ext.xls, .bnd-ext.xlsx { background: #E8F6EC; color: #157347; }
.bnd-doc-head { display: flex; align-items: center; gap: 10px; }
.bnd-doc-head .muted { font-size: 14px; overflow-wrap: anywhere; }
.bnd-doc { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 12px; background: #EEF1F5; }
.bnd-pdfpage { width: 100%; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
.bnd-pdfpage canvas { display: block; width: 100%; height: auto; }
.bnd-doc-msg { margin: 0; padding: 28px 12px; text-align: center; font-size: 15.5px; color: var(--ink2); }
.bnd-officer { display: flex; flex-direction: column; margin: 0; }
.bnd-officer b { font-size: 17px; }
.bnd-contact { display: flex; flex-direction: column; gap: 6px; }
.bnd-contact .btn { justify-content: flex-start; overflow-wrap: anywhere; height: auto; min-height: 44px; }

/* 한 줄(태블릿 · 휴대폰) — 두 기둥을 풀고(display: contents) 카드마다 차례를 정한다: 진행 → 개찰결과 → 내 메모 → 금액 → 기본정보 → 자격 → 일시 → 첨부 →
   담당자 → 맞은 묶음 → 공고원문 */
@media (max-width: 1000px) {
  .bnd-cols { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .bnd-main, .bnd-side { display: contents; }
  .bnd-cols .is-steps { order: 1; } .bnd-cols .is-result { order: 2; } .bnd-cols .is-memo { order: 3; } .bnd-cols .is-money { order: 4; }
  .bnd-cols .is-basic { order: 5; } .bnd-cols .is-qual { order: 6; } .bnd-cols .is-dates { order: 7; } .bnd-cols .is-files { order: 8; }
  .bnd-cols .is-officer { order: 9; } .bnd-cols .is-groups { order: 10; } .bnd-cols .is-orig { order: 11; }
}
@media (max-width: 719px) {
  .bnd-head { margin: 0 -16px; padding: 16px; border-left: none; border-right: none; border-radius: 0; }
  .bnd-title { font-size: 22px; }
  .bnd-sub { flex-direction: column; gap: 2px; }
  .bnd-sub span + span::before { display: none; }
  .bnd-acts .bn-g2b { flex: 1 1 100%; margin-right: 0; }
  .bnd-steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 10px; }
  .bnd-step { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-align: left; padding: 0; font-size: 15px; }
  .bnd-step::before { display: none; }
  .bnd-step b { min-width: 104px; font-size: 16px; }
  .bnd-step .left { margin-left: auto; }
  .bnd-tiles { grid-template-columns: minmax(0, 1fr); }
  .bnd-grid { grid-template-columns: minmax(0, 1fr); }
  .bnd-grid > .bnd-row:nth-child(2) { border-top: 1px solid #EEF1F5; }
  .bnd-row { grid-template-columns: 104px minmax(0, 1fr); font-size: 16px; }
  .bnd-files li { flex-wrap: wrap; }
  .bnd-files .name { flex: 1 1 calc(100% - 60px); }
  .bnd-doc { margin: 0 -16px; border-radius: 0; padding: 8px; }
}
