/* index 화면 전용 한 화면 모드(wk) 서식 — 화면 파일의 <style> 에서 옮김(구조 린트 inline_style 비율 유지, D236) */
/* 업무 레일(한 화면 모드, D236) — 제목·지표 칩 → 탭 → 필터 줄 → 표(안에서만 스크롤) → 하단 선택 바. 다른 인스턴스는 body.rail-on 이 없어 기존 규칙 그대로 */
body.rail-on main.wrap.wide.wk.ls { padding-bottom: 0; }
body.rail-on main.ls > :not(.wk-work) { flex-shrink: 0; }
body.rail-on main.ls .wk-work { gap: 8px; padding-bottom: 0; overflow: hidden; }
body.rail-on main.ls #topScroll, body.rail-on main.ls #pagerTop { display: none; }
body.rail-on main.ls .tablebox { flex: 1 1 auto; min-height: 0; overflow: auto; box-shadow: none; border-color: var(--line); }
body.rail-on main.ls #kanban { flex: 1 1 auto; min-height: 0; }
body.rail-on main.ls .pager { flex: 0 0 auto; margin: 0; }
body.rail-on main.ls #selBar, body.rail-on main.ls #batchBar { order: 90; flex: 0 0 auto; margin: 0 -20px; padding: 8px 20px; border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -4px 14px rgba(15, 40, 80, .06); }
body.rail-on main.ls #batchBar { order: 89; }
body.rail-on main.ls #filterBar { margin: 0 0 8px; }
body.rail-on main.ls thead th { position: sticky; top: 0; z-index: 2; }
body.rail-on main.ls #emptyHome { margin: 0 0 8px; padding: 14px 16px !important; }
/* 설명 «?» 풍선 자리 (F1, 2026-11-05) */
.tbl-note .help { margin-left: 6px; vertical-align: middle; }
.tbl-note { text-align: left; }

/* ═══ 시안 톤(2026-11-05, 디자인 2단계) — 레일 터넌트만(html.rail-pre). «저장한 공고» 화면처럼: 검색 알약 + 필터·정렬 알약 + 제품 행 카드 ═══
 * 표·칸반 보기와 표의 정렬·일괄·페이지 기능은 그대로 두고, 기본 보기만 행 카드(목록)다. 색은 토큰만 쓴다. */
html.rail-pre main.ls #filterBar { gap: 10px; flex-wrap: wrap; align-items: center; }
html.rail-pre main.ls #filterBar .search { flex: 1 1 260px; width: auto !important; min-height: 44px; border-radius: 999px; background: var(--field); }
html.rail-pre main.ls #filterBar .search svg { left: 16px; width: 18px; height: 18px; }
html.rail-pre main.ls #filterBar .search input { height: 44px; padding-left: 44px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; }
html.rail-pre main.ls #filterBar .search:focus-within { box-shadow: var(--focus); }
html.rail-pre main.ls #filterBar :is(summary.btn, #fSort, .btn) { min-height: 44px; border-radius: 999px; }
html.rail-pre main.ls #filterBar #fSort { padding: 0 34px 0 16px; border: 1.5px solid var(--line-strong); background-color: var(--card); color: var(--ink); font-weight: 700; }
html.rail-pre main.ls #filterBar .flt-more > summary.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
html.rail-pre main.ls #filterBar .flt-pop { display: flex; flex-direction: column; gap: 8px; min-width: 260px; padding: 12px; border-radius: var(--radius); }
html.rail-pre main.ls #filterBar .flt-pop select { width: 100% !important; min-height: 44px; }
html.rail-pre main.ls #filterBar .seg { height: 44px; border-radius: 999px; border-color: var(--line-strong); }
html.rail-pre main.ls #filterBar .seg button { padding: 0 16px; background: var(--card); }
html.rail-pre main.ls #filterBar .seg button.on { background: var(--card); color: var(--brand-dark); box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 10%, transparent); }
html.rail-pre main.ls #dash .chip.on { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-dark); }
html.rail-pre main.ls #dash .chip.on b { color: inherit; }

/* 제품 행 카드 — 왼쪽 선택·썸네일 · 가운데 제목+보조+메타 · 오른쪽 상태 알약 · › (카드 전체가 제품 화면으로 가는 링크) */
html.rail-pre .cardlist { display: flex; flex-direction: column; gap: 10px; }
html.rail-pre .cardlist[hidden] { display: none; }
body.rail-on main.ls .cardlist { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 2px 2px 8px; }
html.rail-pre .pc { position: relative; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; min-height: 92px; padding: 14px 44px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
html.rail-pre .pc::after { content: '›'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 24px; line-height: 1; }
html.rail-pre .pc:hover { border-color: var(--brand-line); }
html.rail-pre .pc.off { opacity: .6; }
html.rail-pre .pc-sel { position: relative; z-index: 2; display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; }
html.rail-pre .pc-main { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
html.rail-pre .pc-main::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
html.rail-pre .pc-th { flex: 0 0 auto; }
html.rail-pre .pc .pthumb { width: 64px; height: 64px; border-radius: 14px; }
html.rail-pre .pc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.rail-pre .pc-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 800; color: var(--ink); }
html.rail-pre .pc-s { font-size: 13px; color: var(--sub); }
html.rail-pre .pc-s:empty { display: none; }
html.rail-pre .pc-m { font-size: 12.5px; color: var(--faint); }
html.rail-pre .pc-st { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
html.rail-pre .pc-all { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 13px; color: var(--sub); }
@media (max-width: 700px) {
  html.rail-pre .pc { flex-wrap: wrap; padding-right: 36px; }
  html.rail-pre .pc-st { flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding-left: 42px; }
}
html.rail-pre main.ls #filterBar #fSort { flex: 0 0 auto; width: auto; max-width: 100%; }
