/* 관리자 화면 휴대폰 재디자인 — notices 영역 (담당 봇만 수정) */
@media (max-width: 600px) {
	/* 검색줄·체크·엑셀 버튼 */
	.bps-nt-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
	.bps-nt-toolbar input[type="text"] { flex: 1 1 0; min-width: 0; width: auto !important; min-height: 44px; font-size: 16px; box-sizing: border-box; margin: 0; }
	.bps-nt-toolbar > button { min-height: 44px; flex: 0 0 auto; width: auto !important; margin: 0; padding: 0 18px; }
	.bps-nt-toolbar > a.bps-btn-primary[href*="bps_central_export"] { background: var(--swin-primary-bg); border-color: var(--swin-primary-line); color: var(--swin-primary-fg); }
	.bps-nt-toolbar .bps-hide-past { flex: 1 1 100%; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
	.bps-nt-toolbar .bps-hide-past input { width: 22px; height: 22px; margin: 0; }
	.bps-nt-toolbar > a.bps-btn { flex: 1 1 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; text-align: center; white-space: normal; }

	/* 공고 표 → 공고당 카드 */
	.bps-bid-table-scroll:has(> .bps-nt-list) { overflow: visible; }
	.bps-nt-list, .bps-nt-list tbody, .bps-nt-list tr, .bps-nt-list td { display: block; width: 100%; box-sizing: border-box; }
	.bps-nt-list { border: 0; min-width: 0 !important; }
	.bps-nt-list thead { display: none; }
	.bps-nt-list tr { display: flex; flex-wrap: wrap; background: var(--swin-panel); border: 1px solid var(--swin-border); border-left: 1px solid var(--swin-border); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; box-shadow: none; }
	.bps-nt-list td { border: 0 !important; padding: 4px 0 !important; font-size: 15px; line-height: 1.45; position: relative; text-align: left; word-break: keep-all; overflow-wrap: anywhere; }
	.bps-nt-list td[data-label] { padding-left: 74px !important; }
	.bps-nt-list td[data-label]::before { content: attr(data-label); position: absolute; left: 0; top: 5px; width: 66px; color: var(--swin-text-2); font-size: 14px; }
	/* 맨 위: 채널·공고번호 작게 한 줄, 공고명 크게 */
	.bps-nt-list td.bps-nt-ch, .bps-nt-list td.bps-nt-no { order: -2; width: auto; color: var(--swin-text); font-size: 14px; font-weight: 600; padding: 0 !important; display: inline-block; }
	.bps-nt-list td.bps-nt-ch { margin-right: 8px; }
	.bps-nt-list td.bps-nt-no { font-size: 14px; }
	.bps-nt-list td.bps-nt-ch::before, .bps-nt-list td.bps-nt-no::before, .bps-nt-list td.bps-nt-title::before { content: none; }
	.bps-nt-list td.bps-nt-title { order: -1; display: block; font-size: 17px; font-weight: 700; color: var(--swin-text); padding: 4px 0 8px !important; margin-bottom: 4px; border-bottom: 1px solid var(--swin-border) !important; }
	.bps-nt-list td.bps-nt-title .bps-comment { font-size: 14px; font-weight: 400; margin-top: 4px; }
	.bps-nt-list td.bps-notice-price { white-space: normal; min-width: 0; }
	.bps-nt-list td.bps-notice-price > div { display: flex; gap: 6px; }
	.bps-nt-list td.bps-notice-price > div > small { flex: 0 0 74px; }
	.bps-nt-list td.bps-notice-price small { display: inline-block; min-width: 64px; color: var(--swin-text-2); font-size: 14px; }
	.bps-nt-list td small { font-size: 14px; }
	/* 버튼 크게 */
	.bps-nt-list td.bps-nt-act { display: flex; gap: 8px; padding-top: 10px !important; }
	.bps-nt-list td.bps-nt-act > a, .bps-nt-list td.bps-nt-act > form { flex: 1 1 0; margin: 0; }
	.bps-nt-list td.bps-nt-act .bps-btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; box-sizing: border-box; }

	/* 공고 수정 폼: '수정'을 누르면 긴 목록 아래가 아니라 맨 위에 바로 보이게 */
	.bps-bid-suite-panel:has(> .bps-nt-edit) { display: flex; flex-direction: column; }
	.bps-bid-suite-panel > .bps-nt-edit { order: -1; }
	/* 공고 수정 폼: 라벨 위, 입력칸 화면 폭 */
	.bps-nt-edit .bps-field, .bps-nt-edit .bps-field-row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0 0 14px; }
	.bps-nt-edit .bps-field > span, .bps-nt-edit .bps-field-row > label { font-size: 14px; font-weight: 600; color: var(--swin-text); line-height: 1.4; }
	.bps-nt-edit input[type="text"], .bps-nt-edit input[type="number"], .bps-nt-edit select, .bps-nt-edit textarea { width: 100% !important; max-width: 100%; min-height: 44px; font-size: 16px; box-sizing: border-box; }
	.bps-nt-edit input[type="checkbox"] { width: 22px; height: 22px; vertical-align: middle; margin: 0 8px 0 0; }
	.bps-nt-edit label:has(> input[name="deposit_exempt"]) { display: flex; align-items: center; min-height: 44px; margin: 0 0 10px; font-size: 15px; }
	.bps-nt-edit .bps-btns .bps-btn, .bps-nt-edit form > .bps-btn { width: 100%; min-height: 48px; font-size: 16px; margin-top: 8px; }
}
