/* 공고 행방 — 공고 상세의 원래 공고 문서(.wh-side)와 경로(.wh-route) (search/_whereabouts·_whereabouts_open, iter-284·285).
 * 상세 레이아웃(layouts/bid, bid_page.css)의 두 열 .wh-page 에 놓인다. 공고 문서는 나눔명조, 화면 글자는 사이트 글꼴.
 * 빨강은 이 공고로 계약하지 않은 것(취소·유찰), 회색 띠는 정상 마감, 파란 띠는 진행 중, 파랑은 서울비드 안에서 이어지는 길.
 * 초기화(여백·링크 색)는 문서와 경로 안에만 — 같은 열의 기존 상세 섹션은 Tailwind 그대로 둔다. */
.wh, .bid-page {
  --wh-desk: #EEF1F5; --wh-sheet: #FFFFFF; --wh-ink: #16181D; --wh-ink-2: #5B616B; --wh-rule: #CDD2DA; --wh-rule-soft: #E3E7EC;
  --wh-seal: #CF2E2E; --wh-seal-wash: #FDF0EF; --wh-seal-line: #F3CFCB; --wh-shut-wash: #F2F4F7;
  --wh-route: #2346C8; --wh-route-strong: #1B37A3; --wh-route-wash: #E8EDFD; --wh-on-route: #FFFFFF; --wh-muted-dot: #8C929C;
  --wh-serif: 'Nanum Myeongjo', 'AppleMyungjo', serif;
}
.wh { color: var(--wh-ink); }
.wh-side, .wh-route { font-size: 15px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.wh-side a, .wh-route a { color: inherit; }
.wh :focus-visible { outline: 3px solid var(--wh-route); outline-offset: 2px; border-radius: 2px; }
.wh-side :is(h1, h2, h3, h4, p, dl, dd, ol, ul), .wh-route :is(h1, h2, h3, h4, p, dl, dd, ol, ul) { margin: 0; }

/* 원래 공고: 공문 한 장 */
.wh-notice { position: relative; background: var(--wh-sheet); border: 1px solid var(--wh-rule); padding: 18px 16px 8px; box-shadow: 0 1px 0 var(--wh-rule-soft); }
.wh-no { margin: 0 0 6px; font: 400 13px/1.5 var(--wh-serif); color: var(--wh-ink-2); }
.wh-notice h1 { font: 800 22px/1.4 var(--wh-serif); letter-spacing: -.6px; color: var(--wh-ink); }
.wh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--wh-rule); border: 1px solid var(--wh-rule); font-family: var(--wh-serif); }
.wh-form > div { background: var(--wh-sheet); padding: 7px 10px 8px; min-width: 0; }
.wh-form .wh-wide { grid-column: 1 / -1; }
.wh-form dt { font-size: 12px; line-height: 1.4; color: var(--wh-ink-2); }
.wh-form dd { margin: 2px 0 0; font-size: 15px; line-height: 1.4; font-weight: 700; }
.wh-form dd .wh-plain { text-decoration: underline; text-decoration-color: var(--wh-rule); text-underline-offset: 3px; }
.wh-form dd .wh-plain:hover { text-decoration-color: currentColor; }
.wh-form dd s { font-weight: 400; color: var(--wh-ink-2); text-decoration-thickness: 1px; }

/* 상태 띠: 문서 맨 위 한 줄 */
.wh-band { margin: -18px -16px 16px !important; padding: 11px 16px; font-size: 14px; line-height: 1.5; }
.wh-band strong { display: block; font-size: 16px; font-weight: 700; }
.wh-band--stop { background: var(--wh-seal-wash); border-bottom: 1px solid var(--wh-seal-line); color: var(--wh-seal); }
.wh-band--closed { background: var(--wh-shut-wash); border-bottom: 1px solid var(--wh-rule-soft); color: var(--wh-ink-2); }
.wh-band--closed strong { color: var(--wh-ink); }

.wh-with-art { display: flex; align-items: flex-start; gap: 12px; }
.wh-with-art > div, .wh-with-art > p { flex: 1; min-width: 0; }
.wh-notice-head { margin-bottom: 16px; }
.wh-art { flex: none; display: block; width: 76px; height: 76px; object-fit: contain; }
.wh-art--sm { width: 56px; height: 56px; }
.wh-art--wide { display: none; }
.wh-more { margin-top: 4px; font-size: 14px; color: var(--wh-ink-2); }
.wh-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; list-style: none; }
.wh-more summary::-webkit-details-marker { display: none; }
.wh-more summary::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.wh-more[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.wh-more dl { margin: 0 0 4px; display: grid; grid-template-columns: 5.6em 1fr; gap: 6px 10px; font-size: 13px; }
.wh-more dt { color: var(--wh-ink-2); }
.wh-more dd { color: var(--wh-ink); }
.wh-inline { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; color: var(--wh-route) !important; text-decoration: underline; text-underline-offset: 3px; }

/* 경로 */
.wh-route { margin-top: 36px; }
.wh-route-title { margin: 0 0 20px 2px !important; font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -.5px; }
.wh-stops { list-style: none; padding: 0; }
.wh-stop { position: relative; padding: 0 0 52px 34px; }
.wh-stop::before { content: ''; position: absolute; left: 8px; top: 14px; bottom: -6px; width: 2px; background: var(--wh-route); transform-origin: top; }
.wh-stop::after { content: ''; position: absolute; left: 3px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--wh-route); box-shadow: 0 0 0 3px var(--wh-desk); }
.wh-stop--now::after { left: 0; top: 2px; width: 18px; height: 18px; box-shadow: 0 0 0 3px var(--wh-desk), 0 0 0 6px var(--wh-route-wash); }
.wh-stop--now::before { background: none; border-left: 2px dashed var(--wh-route); width: 0; }
.wh-stop--next { padding-bottom: 24px; }
.wh-stop--next::before { display: none; }
.wh-stop--next::after { background: var(--wh-desk); border: 2px dashed var(--wh-route); }
.wh-when { display: block; font-size: 13px; font-weight: 600; color: var(--wh-ink-2); line-height: 22px; }
.wh-stop h3 { margin: 2px 0 12px; font-size: 19px; line-height: 1.4; letter-spacing: -.4px; font-weight: 700; }
.wh-lede { margin: -4px 0 18px !important; font-size: 14px; color: var(--wh-ink-2); max-width: 36em; }

/* 다시 올라온 공고·같은 사업 공고: 새 문서 */
.wh-sheet { background: var(--wh-sheet); border: 1px solid var(--wh-rule); border-top: 3px solid var(--wh-route); padding: 16px 16px 18px; }
.wh-sheet .wh-no { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.wh-tag { display: inline-block; padding: 0 7px; font-size: 12px; font-weight: 600; line-height: 20px; border-radius: 3px; background: var(--wh-rule-soft); color: var(--wh-ink-2); }
.wh-sheet h4 { margin: 0 0 10px !important; font: 800 19px/1.4 var(--wh-serif); letter-spacing: -.4px; }
.wh-sheet h4 a { text-decoration: none; }
.wh-sheet h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wh-basis { margin: 10px 0 0 !important; font-size: 12px; line-height: 1.55; color: var(--wh-ink-2); }
.wh-basis b { font-weight: 600; color: var(--wh-ink); }
.wh-locked { color: var(--wh-ink-2); font-size: 14px; }
/* 첫 화면 가입 칸 (iter-359) — 상태 띠 바로 아래, 가린 칸 하나와 경로 안의 것과 같은 버튼 */
.wh-hook { margin: -6px 0 16px; padding: 10px 12px 12px; border: 1px solid var(--wh-rule); background: var(--wh-route-wash); }
.wh-hook p { margin: 0; font-size: 15px; line-height: 1.5; }
.wh-hook b { margin-right: 6px; font-weight: 700; }
.wh-hook .wh-btn { min-height: 44px; margin-top: 8px; font-size: 15px; }

.wh-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 14px; padding: 10px 16px; background: var(--wh-route); color: var(--wh-on-route) !important; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; border-radius: 4px; }
.wh-btn:hover { background: var(--wh-route-strong); }
.wh-btn--line { background: transparent; color: var(--wh-route) !important; border: 1.5px solid var(--wh-route); }
.wh-btn--line:hover { background: var(--wh-route-wash); }

/* 개찰 */
.wh-opening { background: var(--wh-sheet); border: 1px solid var(--wh-rule); padding: 18px 16px 16px; }
.wh-opening p { margin: 0 0 6px; font-size: 14px; }
/* 회사명으로 순위 찾기 (iter-363) */
.wh-rank { margin-top: 16px; padding: 12px; border: 1px solid var(--wh-rule); background: var(--wh-route-wash); }
.wh-rank label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.wh-rank-row { display: flex; gap: 8px; }
.wh-rank-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--wh-rule); border-radius: 4px; background: var(--wh-sheet); font-size: 16px; }
.wh-rank-row .wh-btn { width: auto; min-width: 0; min-height: 44px; margin-top: 0; padding: 8px 18px; border: 0; cursor: pointer; }
.wh-rank-result { margin-top: 10px; }
.wh-rank-result:empty { display: none; }
.wh-rank-result .wh-form { margin-top: 8px; }
.wh-rank-name { margin: 0 !important; font-size: 15px !important; }
.wh-rank-join p { margin: 12px 0 0 !important; font-size: 13px !important; color: var(--wh-ink-2); }
/* 공고 결과 안내 신청 (iter-364) — 첫 화면(top)은 맨 위 가입 칸(.wh-hook)과 같은 자리·바탕 */
.wh-watch { margin-top: 14px; padding: 10px 12px 12px; border: 1px solid var(--wh-rule); background: var(--wh-route-wash); }
.wh-watch--top { margin: -6px 0 16px; }
.wh-watch p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.wh-watch b { margin-right: 6px; font-weight: 700; }
.wh-watch .wh-basis { margin: 8px 0 0 !important; }
.wh-watch .wh-btn--line { min-height: 44px; margin-top: 0; }
.wh-watch-form { margin: 0; }
.wh-watch--done p { margin: 0; }
.wh-chart { position: relative; margin-top: 4px; }
.wh-chart svg { display: block; width: 100%; overflow: visible; }
.wh-chart .wh-dot { cursor: default; }
.wh-chart .wh-dot:focus { outline: none; }
.wh-chart .wh-dot:focus-visible .wh-ring { stroke: var(--wh-ink); stroke-width: 2; }
.wh-tip { position: absolute; z-index: 2; pointer-events: none; background: var(--wh-ink); color: var(--wh-sheet); font-size: 12px; line-height: 1.45; padding: 6px 8px; border-radius: 4px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity .12s; }
.wh-tip.wh-on { opacity: 1; }
.wh-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0 !important; padding: 0; list-style: none; font-size: 12px; color: var(--wh-ink-2); }
.wh-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.wh-legend .wh-ok i { background: var(--wh-route); }
.wh-legend .wh-low i { border: 2px solid var(--wh-muted-dot); }
.wh-table { margin-top: 6px; font-size: 13px; }
.wh-table summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; color: var(--wh-ink-2); }
.wh-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wh-table th, .wh-table td { padding: 5px 0; border-top: 1px solid var(--wh-rule-soft); text-align: right; }
.wh-table th:first-child, .wh-table td:first-child { text-align: left; }
.wh-table th { font-weight: 500; color: var(--wh-ink-2); }
/* 비회원: 1순위 줄만 보이고 그 아래는 흐린 줄 몇 개 (iter-372) — 값은 HTML 에 남는다 */
.wh-table tbody.wh-rows-locked td { filter: blur(4px); user-select: none; pointer-events: none; }

/* 빈 자리: 없는 것을 있는 것처럼 꾸미지 않고 한 줄로 말한다 */
.wh-gap { border: 1.5px dashed var(--wh-rule); padding: 14px 16px; font-size: 14px; line-height: 1.6; color: var(--wh-ink-2); }
.wh-out { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--wh-ink) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wh-out svg { width: 14px; height: 14px; flex: none; }

/* 오늘: 두 갈래 */
.wh-branches { display: grid; gap: 40px; }
.wh-branch h4 { margin: 0 0 2px !important; font-size: 16px; font-weight: 700; }
.wh-branch-head { align-items: center; margin-bottom: 14px; }
.wh-why { margin: 0 !important; font-size: 13px; color: var(--wh-ink-2); }
.wh-list { list-style: none; padding: 0; background: var(--wh-sheet); border: 1px solid var(--wh-rule); }
.wh-list li + li { border-top: 1px solid var(--wh-rule-soft); }
.wh-list a { display: block; padding: 12px 14px; text-decoration: none; }
.wh-list a:hover { background: var(--wh-route-wash); }
.wh-list--plain { margin-top: 12px !important; border-width: 1px 0 0; }
.wh-list--plain a { padding: 10px 0; }
.wh-t { display: block; font-weight: 600; font-size: 15px; line-height: 1.45; letter-spacing: -.2px; }
.wh-list a:hover .wh-t { text-decoration: underline; text-underline-offset: 3px; }
.wh-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-size: 13px; color: var(--wh-ink-2); }
.wh-facts .wh-due { color: var(--wh-route); font-weight: 600; }
.wh-facts .wh-hit { color: var(--wh-ink); }
.wh-facts mark { background: var(--wh-route-wash); color: inherit; padding: 0 2px; }
.wh-more-link { display: flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--wh-route) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 다음: 발주 달력 */
.wh-cal { background: var(--wh-sheet); border: 1px solid var(--wh-rule); padding: 18px 16px; }
.wh-cal table { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.wh-cal th { font-size: 11px; font-weight: 500; color: var(--wh-ink-2); text-align: center; padding: 0; }
.wh-cal th.wh-y { width: 38px; text-align: left; }
.wh-cal td { height: 26px; background: var(--wh-rule-soft); text-align: center; font-size: 11px; font-weight: 700; border-radius: 2px; padding: 0; }
.wh-cal td.wh-has { background: var(--wh-route); color: var(--wh-on-route); }
.wh-cal td.wh-today { box-shadow: inset 0 0 0 2px var(--wh-ink); }
.wh-cal td.wh-today:not(.wh-has) { background: transparent; }
.wh-cal td.wh-none { background: transparent; }
.wh-cal td.wh-end { outline: 2px dashed var(--wh-ink-2); outline-offset: -3px; }
.wh-renew { margin-top: 12px !important; }
.wh-cal-note { margin: 8px 0 0 !important; font-size: 12px; color: var(--wh-ink-2); }
.wh-hist { list-style: none; margin: 12px 0 0 !important; padding: 0; }
.wh-hist li { border-top: 1px solid var(--wh-rule-soft); }
.wh-hist a { display: grid; grid-template-columns: 5.6em 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; font-size: 14px; text-decoration: none; }
.wh-hist a:hover .wh-n { text-decoration: underline; text-underline-offset: 3px; }
.wh-hist .wh-d { font-size: 12px; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }
.wh-hist .wh-r { font-size: 12px; color: var(--wh-ink-2); text-align: right; white-space: nowrap; }
.wh-hist .wh-r--stop { color: var(--wh-seal); }
.wh-alert p { margin: 14px 0 0 !important; font-size: 13px; color: var(--wh-ink-2); }

.wh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wh-source { margin: 0 0 8px 34px !important; font-size: 12px; color: var(--wh-ink-2); }
.wh-jump { display: none; }

/* ── 진행 중 공고 (iter-285): 파란 띠, 지나온 정류장은 실선, 남은 일정은 점선 ── */
.wh-band--open { background: var(--wh-route-wash); border-bottom: 1px solid #C9D4F8; color: var(--wh-ink-2); }
.wh-band--open strong { color: var(--wh-route-strong); }
.wh-form dd.wh-due { color: var(--wh-route); }
.wh-form dd.wh-due small { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; font-family: inherit; }
.wh-sheet--ended { border-top-color: var(--wh-seal); }
.wh-tag--stop { background: var(--wh-seal-wash); color: var(--wh-seal); }
.wh-compare { margin: 10px 0 0 !important; padding: 0; list-style: none; font-size: 13px; color: var(--wh-ink-2); }
.wh-compare li { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--wh-rule-soft); }
.wh-compare b { min-width: 5.2em; font-weight: 500; color: var(--wh-ink-2); }
.wh-compare span { color: var(--wh-ink); font-weight: 600; }
.wh-stop--future::before { background: none; border-left: 2px dashed var(--wh-route); width: 0; }
.wh-stop--future::after { background: var(--wh-desk); border: 2px solid var(--wh-route); }
.wh-stop--quiet { padding-bottom: 36px; }
.wh-stop--quiet h3 { margin-bottom: 4px; }
.wh-prep { background: var(--wh-sheet); border: 1px solid var(--wh-rule); border-top: 3px solid var(--wh-route); padding: 16px 16px 18px; }
.wh-prep .wh-with-art > dl { flex: 1; min-width: 0; }
.wh-prep dl { display: grid; grid-template-columns: 5.6em 1fr; font-size: 14px; }
.wh-prep dt, .wh-prep dd { padding: 9px 0; border-top: 1px solid var(--wh-rule-soft); }
.wh-prep dl > :nth-child(-n+2) { border-top: 0; }
.wh-prep dt { color: var(--wh-ink-2); }
.wh-prep dd { font-weight: 600; }
.wh-prep dd span { display: block; font-weight: 400; font-size: 13px; color: var(--wh-ink-2); }
.wh-btn-row { display: grid; gap: 8px; margin-top: 14px; }
.wh-btn-row .wh-btn { margin-top: 0; }
.wh-btn-form { display: contents; }
.wh-btn-form button { cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; }
.wh-dist p { margin: 0 0 6px; font-size: 14px; }
.wh-histo { position: relative; margin-top: 8px; }
.wh-histo svg { display: block; width: 100%; overflow: visible; }
.wh-histo .wh-bar { cursor: default; }
.wh-histo .wh-bar:focus { outline: none; }
.wh-histo .wh-bar:focus-visible rect.wh-v { stroke: var(--wh-ink); stroke-width: 2; }
.wh-counts-title { margin: 16px 0 2px !important; font-size: 13px; font-weight: 600; }
.wh-counts { margin: 0 !important; padding: 0; list-style: none; font-size: 13px; }
.wh-counts li { display: grid; grid-template-columns: 5.6em 1fr 3em; gap: 8px; align-items: center; padding: 3px 0; }
.wh-counts .wh-lab { color: var(--wh-ink-2); }
.wh-counts .wh-track { height: 12px; background: var(--wh-rule-soft); border-radius: 2px; overflow: hidden; }
.wh-counts .wh-fill { display: block; height: 100%; background: var(--wh-route); border-radius: 0 2px 2px 0; }
.wh-counts .wh-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.wh-recent { list-style: none; margin: 14px 0 0 !important; padding: 0; }
.wh-recent li { border-top: 1px solid var(--wh-rule-soft); }
.wh-recent a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; font-size: 14px; text-decoration: none; }
.wh-recent a:hover .wh-rn { text-decoration: underline; text-underline-offset: 3px; }
.wh-recent .wh-rm { grid-column: 1 / -1; font-size: 12px; color: var(--wh-ink-2); }
.wh-recent .wh-rr { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wh-cal td.wh-has.wh-today { background: var(--wh-route); color: var(--wh-on-route); }
.wh-branches--one { grid-template-columns: 1fr !important; }
@media (min-width: 1024px) {
  .wh-btn-row { display: flex; flex-wrap: wrap; }
  .wh-btn-row .wh-btn { width: auto; min-width: 240px; }
  .wh-prep { padding: 20px 22px 22px; }
}

/* 한 번의 움직임: 파란 선이 첫 정류장으로 내려간다 */
@media (prefers-reduced-motion: no-preference) {
  .wh-stop--key:first-child::before { animation: wh-draw .5s ease-out .4s both; }
  @keyframes wh-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

@media (min-width: 560px) {
  .wh-notice { padding: 24px 24px 12px; }
  .wh-notice h1 { font-size: 26px; }
  .wh-band { margin: -24px -24px 18px !important; padding: 12px 24px; }
  .wh-art--wide { display: block; }
  .wh-notice .wh-art { width: 92px; height: 92px; }
}
@media (min-width: 1024px) {
  .wh-page { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
  .wh-side { position: sticky; top: 80px; }
  .wh-jump { display: block; margin: 20px 0 0 !important; padding: 14px 16px; border-left: 3px solid var(--wh-route); background: var(--wh-sheet); font-size: 14px; color: var(--wh-ink-2); }
  .wh-jump a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; color: var(--wh-route); text-underline-offset: 3px; }
  .wh-notice h1 { font-size: 23px; }
  .wh-art { width: 96px; height: 96px; }
  .wh-notice .wh-art { width: 88px; height: 88px; }
  .wh-art--sm { width: 64px; height: 64px; }
  .wh-route { margin-top: 4px; }
  .wh-route-title { font-size: 23px; margin-bottom: 28px !important; }
  .wh-stop { padding-bottom: 64px; }
  .wh-stop h3 { font-size: 21px; margin-bottom: 16px; }
  .wh-sheet { padding: 20px 22px 22px; }
  .wh-opening { padding: 22px 22px 18px; }
  .wh-cal { padding: 22px; }
  .wh-btn { width: auto; display: inline-flex; min-width: 260px; }
}
@media (min-width: 1280px) {
  .wh-branches { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── 알림 신청 화면 (registrations/_alert_page, iter-320): 공고 상세와 같은 공문 한 장 + 파란 윗선 종이의 가입 ── */
.wh-signup { max-width: 560px; margin: 0 auto; padding: 24px 16px 56px; font-size: 15px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.wh-signup :is(h1, h2, p, dl, dd, ul) { margin: 0; }
.wh-signup-note { margin: 12px 0 0 !important; font-size: 14px; color: var(--wh-ink-2); }
.wh-signup-sub { margin: 22px 0 0 !important; font-size: 13px; font-weight: 600; color: var(--wh-ink-2); }
.wh-hist--plain li { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; align-items: baseline; padding: 9px 0; font-size: 14px; }
.wh-signup-form { margin-top: 20px; }
.wh-signup-form-title { margin: 0 0 16px !important; font-size: 18px; font-weight: 700; letter-spacing: -.4px; }
.wh-signup-login { margin: 18px 0 0 !important; text-align: center; font-size: 14px; color: var(--wh-ink-2); }
.wh-signup-login a { color: var(--wh-route); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 560px) { .wh-signup-form { padding: 22px 24px 24px; } }
@media (min-width: 1024px) { .wh-signup { padding-top: 40px; } }

/* ── 공고번호 검색의 차수 목록 (search/rounds, iter-337): 공고 한 장 안에 차수를 오래된 순으로, 최종 차수만 파란 테 ── */
.wh-rounds { padding: 18px 16px 18px; }
.wh-rounds :is(h1, p, ol) { margin: 0; }
.wh-rounds-no { font-size: 13px; font-weight: 600; color: var(--wh-ink-2); letter-spacing: .2px; }
.wh-rounds-title { margin: 8px 0 4px !important; font: 800 21px/1.4 var(--wh-serif); letter-spacing: -.5px; word-break: keep-all; }
.wh-rounds-org { font-size: 14px; color: var(--wh-ink-2); }
.wh-rounds-lede { margin: 14px 0 16px !important; font-size: 14px; line-height: 1.6; color: var(--wh-ink-2); }
.wh-rounds-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.wh-round { border: 1px solid var(--wh-rule); padding: 12px 14px 14px; background: var(--wh-sheet); }
.wh-round--current { border-color: var(--wh-route); box-shadow: inset 3px 0 0 var(--wh-route); }
.wh-round-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.wh-round-ord { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wh-ink); }
.wh-round-mark { font-size: 12px; font-weight: 600; color: var(--wh-route); }
.wh-round--searched .wh-round-mark::before { content: "● "; font-size: 9px; vertical-align: 1px; }
.wh-round-when { margin-top: 4px !important; font-size: 13px; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }
.wh-round .wh-btn { min-height: 44px; margin-top: 10px; font-size: 15px; }
.wh-tag--route { background: var(--wh-route-wash); color: var(--wh-route-strong); }
@media (min-width: 640px) {
  .wh-rounds { padding: 24px 26px; }
  .wh-round { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
  .wh-round-when { grid-column: 1; }
  .wh-round > :is(a, span[data-controller]) { grid-column: 2; grid-row: 1 / span 2; }
  .wh-round .wh-btn { width: auto; margin-top: 0; padding: 8px 18px; }
}

/* ── 사전규격 (prespecs/show, iter-358): 차수 목록과 같은 종이 한 장. 맨 위 상태 띠 → 번호·이름 → 항목 → 첨부 → 알림 ── */
.wh-prespec .wh-band { margin: -18px -16px 16px !important; }
.wh-prespec .wh-form { margin-top: 16px; }
.wh-prespec-links { margin-top: 8px !important; padding: 0; list-style: none; display: grid; gap: 8px; }
.wh-prespec-links a { color: var(--wh-route-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wh-prespec-links span { display: block; font-size: 12px; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }
.wh-prespec-h { margin: 24px 0 8px !important; font-size: 15px; font-weight: 700; }
.wh-prespec .wh-basis a { color: var(--wh-route); text-decoration: underline; text-underline-offset: 3px; }
.wh-prespec-files li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.wh-prespec-files .wh-t { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.wh-prespec-files small { color: var(--wh-ink-2); font-size: 12px; white-space: nowrap; }
.wh-prespec-files .wh-btn { display: inline-flex; width: auto; min-width: 0; min-height: 36px; margin: 0; padding: 4px 12px; font-size: 13px; }
@media (min-width: 640px) { .wh-prespec .wh-band { margin: -24px -26px 18px !important; padding: 12px 26px; } }
