/* 실판매 총개편(2026-10-18) — realsales.js 가 화면을 열 때 이 파일을 스스로 불러온다(index.html 은 그대로).
   한 화면에 위에서 아래로: 핵심 지표 4칸 → 월별 추이 → 채널 표. 엑셀 시트 1(종합) 모양. 새 클래스는 n2r- 접두사. 글자 12px 이상.
   색은 --ps-* 토큰만. 움직임은 data-fx="on" 일 때만(motion.js 가 끄기·움직임 줄이기를 정한다). 컴퓨터·폰 같은 구성(폰은 맨 아래 640 이하 규칙). */
#page-realsales.ui.ps-page {
  --n2r-h1: var(--ps-head-tint, var(--ps-panel));
  --n2r-h2: var(--ps-raised);
  --n2r-cur: color-mix(in srgb, var(--ps-ac, var(--ps-brand)) 24%, var(--ps-bg));
  --n2r-band: var(--ps-ac, var(--ps-brand));
}

/* 화면 전체가 위아래로 스크롤(컴퓨터는 공통 규칙이 높이를 고정하므로 이 화면만 풀어 준다) */
@media (min-width: 900px) {
  #page-realsales.ui.ps-page.on { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  #page-realsales.ui.ps-page .mx-view { flex: none; }
}

#page-realsales.ui.ps-page .n2r-flow { padding: 6px 0 40px; }
#page-realsales.ui.ps-page .n2r-bt { margin: 8px 0 16px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-bt { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-bt small { font-size: 13px; font-weight: 400; color: var(--ps-muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
#page-realsales.ui.ps-page .n2r-bt .rs-warn { font-size: 13px; font-weight: 500; }

/* ---- 핵심 지표 4칸: 주황 띠 + 큰 숫자 ---- */
#page-realsales.ui.ps-page .n2r-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; border: 2px solid var(--ps-box); }
#page-realsales.ui.ps-page .n2r-k { display: flex; flex-direction: column; min-width: 0; }
#page-realsales.ui.ps-page .n2r-k + .n2r-k { border-left: 1px solid var(--ps-hair); }
#page-realsales.ui.ps-page .n2r-kl { background: var(--n2r-band); color: var(--ps-btn-ink); font-weight: 500; font-size: 13px; text-align: center; padding: 7px 8px; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-kl { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-kmain { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; white-space: nowrap; padding: 12px 10px 14px; background: var(--n2r-h1); }
#page-realsales.ui.ps-page .n2r-kv { font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--ps-text); font-variant-numeric: tabular-nums; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-kv { font-weight: 700; } }
#page-realsales.ui.ps-page .n2r-ku { font-size: 13px; font-weight: 500; color: var(--ps-text2); }

/* ---- 표 공통(월별 추이 · 채널 표) ---- */
#page-realsales.ui.ps-page .n2r-box { border: 2px solid var(--ps-box); overflow: auto; max-width: 100%; scrollbar-width: thin; }
#page-realsales.ui.ps-page .n2r-trend { margin-bottom: 16px; }
#page-realsales.ui.ps-page .n2r-tbl { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
#page-realsales.ui.ps-page .n2r-tbl th, #page-realsales.ui.ps-page .n2r-tbl td { height: 38px; padding: 0 8px; border-right: 1px solid var(--ps-hair); border-bottom: 1px solid var(--ps-hair); white-space: nowrap; text-align: center; font-weight: 400; background: var(--ps-bg); color: var(--ps-text); }
#page-realsales.ui.ps-page .n2r-tbl tr > *:last-child { border-right: 0; }
#page-realsales.ui.ps-page .n2r-tbl tbody tr:last-child > * { border-bottom: 0; }
#page-realsales.ui.ps-page .n2r-tbl thead th { background: var(--n2r-h1); font-weight: 500; }
#page-realsales.ui.ps-page .n2r-tbl .n2r-l { text-align: left; }
#page-realsales.ui.ps-page .n2r-tbl .n2r-cur, #page-realsales.ui.ps-page .n2r-tbl thead th.n2r-cur { background: var(--n2r-cur); }
#page-realsales.ui.ps-page .n2r-tbl .n2r-z { color: var(--ps-muted); }
#page-realsales.ui.ps-page .n2r-tbl .n2r-avg { font-weight: 500; border-left: 2px solid var(--ps-sec); } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-tbl .n2r-avg { font-weight: 700; } }
#page-realsales.ui.ps-page .n2r-tbl .n2r-nodata { font-size: 12px; color: var(--ps-muted); font-variant-numeric: normal; }
#page-realsales.ui.ps-page .n2r-tt thead th { padding: 0; }
#page-realsales.ui.ps-page .n2r-tt thead th.n2r-l { padding: 0 12px; }
#page-realsales.ui.ps-page .n2r-tt tbody th { background: var(--n2r-h1); font-weight: 500; padding: 0 12px; }
#page-realsales.ui.ps-page .n2r-tt td { padding: 0 3px; }
#page-realsales.ui.ps-page .n2r-tt thead th:not(.n2r-l):not(.n2r-avg) { min-width: 0; }

/* 월 머리 단추: 눌러서 기준 월 바꾸기 + 상태(점 + 글자) */
#page-realsales.ui.ps-page .n2r-mbtn { width: 100%; height: 100%; min-height: 38px; padding: 0 6px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 500; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
#page-realsales.ui.ps-page .n2r-mbtn:hover:not(:disabled) { background: var(--ps-raised); }
#page-realsales.ui.ps-page .n2r-mbtn:disabled { color: var(--ps-muted); font-weight: 400; cursor: default; }
#page-realsales.ui.ps-page .n2r-mbtn[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--ps-ac, var(--ps-text)); }
#page-realsales.ui.ps-page .n2r-mbtn:focus-visible { outline: 2px solid var(--ps-text); outline-offset: -2px; }
#page-realsales.ui.ps-page .n2r-st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 400; color: var(--ps-text2); white-space: nowrap; }
#page-realsales.ui.ps-page .n2r-st-open { color: var(--ps-warnc, var(--ps-brand)); font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-st-open { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-st-closed { color: var(--ps-good); font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-st-closed { font-weight: 600; } }

/* ---- 채널 표: 머리 2단 고정 · 왼쪽 두 열 고정 · 맨 아래 합계 고정 ---- */
#page-realsales.ui.ps-page .n2r-tablebox { min-width: 0; }
#page-realsales.ui.ps-page .n2r-xl thead tr:first-child th { position: sticky; top: 0; z-index: 3; height: 42px; }
#page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th { position: sticky; top: 42px; z-index: 3; height: 34px; background: var(--n2r-h2); border-bottom: 2px solid var(--ps-rule); }
#page-realsales.ui.ps-page .n2r-xl thead th.n2r-mh { padding: 0; }
#page-realsales.ui.ps-page .n2r-xl thead th.n2r-cur { background: var(--n2r-cur); }
#page-realsales.ui.ps-page .n2r-xl .n2r-no { position: sticky; left: 0; z-index: 2; width: 44px; min-width: 44px; padding: 0 4px; color: var(--ps-muted); }
#page-realsales.ui.ps-page .n2r-xl .n2r-nm { position: sticky; left: 44px; z-index: 2; min-width: 150px; font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-xl .n2r-nm { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-xl thead th.n2r-no, #page-realsales.ui.ps-page .n2r-xl thead th.n2r-nm { z-index: 5; background: var(--n2r-h1); }
#page-realsales.ui.ps-page .n2r-xl thead th.n2r-e { border-bottom: 0; }
#page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th.n2r-no, #page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th.n2r-nm { z-index: 6; background: var(--n2r-h1); border-bottom: 2px solid var(--ps-rule); }
#page-realsales.ui.ps-page .n2r-xl tbody td.ui-num { min-width: 0; padding: 0 5px; }
#page-realsales.ui.ps-page .n2r-chunk + .n2r-chunk { margin-top: 24px; }
#page-realsales.ui.ps-page .n2r-ht { margin: 0 0 8px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-ht { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-xl tbody tr:hover > td:not(.n2r-cur), #page-realsales.ui.ps-page .n2r-xl tbody tr:hover > th { background: var(--ps-raised); }
#page-realsales.ui.ps-page .n2r-xl tr.n2r-co1 > * { border-top: 2px solid var(--ps-rule); }
#page-realsales.ui.ps-page .n2r-xl tfoot th, #page-realsales.ui.ps-page .n2r-xl tfoot td { position: sticky; bottom: 0; z-index: 3; background: var(--n2r-h1); font-weight: 500; font-size: 14px; border-top: 2px solid var(--ps-box); border-bottom: 0; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-xl tfoot th, #page-realsales.ui.ps-page .n2r-xl tfoot td { font-weight: 700; } }
#page-realsales.ui.ps-page .n2r-xl tfoot th { left: 0; z-index: 4; text-align: left; padding: 0 12px; }
#page-realsales.ui.ps-page .n2r-xl tfoot td.n2r-cur { background: var(--n2r-cur); }
#page-realsales.ui.ps-page .n2r-xl .xt-sort { cursor: pointer; user-select: none; color: var(--ps-text); }
#page-realsales.ui.ps-page .n2r-xl .xt-sort:hover { color: var(--ps-text); }
#page-realsales.ui.ps-page .n2r-xl .xt-sort[aria-sort="ascending"], #page-realsales.ui.ps-page .n2r-xl .xt-sort[aria-sort="descending"] { font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-xl .xt-sort[aria-sort="ascending"], #page-realsales.ui.ps-page .n2r-xl .xt-sort[aria-sort="descending"] { font-weight: 700; } }
#page-realsales.ui.ps-page .n2r-xl .xt-sort:focus-visible { outline: 2px solid var(--ps-text); outline-offset: -2px; }
/* 이름 칸 안: 순위 숫자는 No 칸이 대신하므로 숨기고, 작은 표시는 12px */
#page-realsales.ui.ps-page .n2r-xl .rs-rk { display: none; }
#page-realsales.ui.ps-page .n2r-xl .rs-nmrow { display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%; }
#page-realsales.ui.ps-page .n2r-xl .rs-nmrow .fl-chip { margin-left: auto; min-height: 28px; font-size: 12px; }
#page-realsales.ui.ps-page .n2r-xl .rs-nm2 { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
#page-realsales.ui.ps-page .n2r-xl .rs-part { display: block; font-size: 12px; font-weight: 400; color: var(--ps-muted); white-space: nowrap; line-height: 1.2; }
#page-realsales.ui.ps-page .n2r-xl .ps-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 899px) {
  #page-realsales.ui.ps-page .n2r-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #page-realsales.ui.ps-page .n2r-k:nth-child(3) { border-left: 0; }
  #page-realsales.ui.ps-page .n2r-k:nth-child(n+3) { border-top: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page .n2r-kv { font-size: 22px; }
}

/* ---- 움직임: 켜져 있을 때만(꺼짐·움직임 줄이기이면 정적) ---- */
@keyframes n2r-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html[data-fx="on"] #page-realsales .n2r-enter .n2r-k { animation: n2r-in var(--m-max) cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
html[data-fx="on"] #page-realsales .n2r-enter .n2r-trend tbody tr { animation: n2r-in var(--m-slow) cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 40ms + 200ms); } /* 폰은 예전 값 */ @media (max-width: 640px) { html[data-fx="on"] #page-realsales .n2r-enter .n2r-trend tbody tr { animation: n2r-in 340ms cubic-bezier(.23, 1, .32, 1) both; } }
html[data-fx="on"] #page-realsales .n2r-enter .n2r-xl tbody tr { animation: n2r-in var(--m-slow) cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 30ms + 320ms); } /* 폰은 예전 값 */ @media (max-width: 640px) { html[data-fx="on"] #page-realsales .n2r-enter .n2r-xl tbody tr { animation: n2r-in 340ms cubic-bezier(.23, 1, .32, 1) both; } }
html[data-fx="on"] #page-realsales .n2r-mbtn, html[data-fx="on"] #page-realsales .n2r-xl .xt-sort { transition: transform var(--m-fast) ease-out, background-color var(--m-quick) ease-out; } /* 폰은 예전 값 */ @media (max-width: 640px) { html[data-fx="on"] #page-realsales .n2r-mbtn, html[data-fx="on"] #page-realsales .n2r-xl .xt-sort { transition: transform 100ms ease-out, background-color 160ms ease-out; } }
html[data-fx="on"] #page-realsales .n2r-mbtn:active:not(:disabled) { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  #page-realsales .n2r-k, #page-realsales .n2r-trend tbody tr, #page-realsales .n2r-xl tbody tr { animation: none !important; }
  #page-realsales .n2r-mbtn { transition: none !important; transform: none !important; }
}

/* ---- 폰(640 이하): 같은 구성. 지표 2x2 · 표는 상자 안에서 가로·세로로 밀고 왼쪽 열 고정 · 줄 높이 48 ---- */
@media (max-width: 640px) {
  #page-realsales.ui.ps-page .n2r-flow { padding-bottom: 96px; }
  #page-realsales.ui.ps-page .n2r-bt { font-size: 18px; margin: 4px 0 12px; gap: 8px 12px; }
  #page-realsales.ui.ps-page .n2r-kv { font-size: 22px; }
  #page-realsales.ui.ps-page .n2r-kmain { padding: 10px 6px 12px; }
  #page-realsales.ui.ps-page .n2r-tbl th, #page-realsales.ui.ps-page .n2r-tbl td { height: 48px; padding: 0 6px; }
  #page-realsales.ui.ps-page .n2r-tt thead th { height: 48px; }
  #page-realsales.ui.ps-page .n2r-tt td { min-width: 88px; }
  #page-realsales.ui.ps-page .n2r-tt thead th.n2r-l, #page-realsales.ui.ps-page .n2r-tt tbody th { position: sticky; left: 0; z-index: 2; padding: 0 8px; }
  #page-realsales.ui.ps-page .n2r-mbtn { min-height: 48px; }
  #page-realsales.ui.ps-page .n2r-xl thead tr:first-child th { height: 44px; }
  #page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th { top: 44px; height: 40px; }
  #page-realsales.ui.ps-page .n2r-xl .n2r-no { width: 30px; min-width: 30px; padding: 0 2px; }
  #page-realsales.ui.ps-page .n2r-xl .n2r-nm { left: 30px; min-width: 150px; max-width: 170px; }
  #page-realsales.ui.ps-page .n2r-xl .rs-nmrow .fl-chip { min-height: 44px; min-width: 44px; }
  #page-realsales.ui.ps-page .n2r-xl tfoot th { padding: 0 8px; }
  #page-realsales.ui.ps-page .n2r-xl tr.n2r-co1 > * { border-top-width: 2px; }
}

/* ---- 위 상태 요약 한 줄(눌러서 펼침). 문제가 있을 때만 주황 ---- */
#page-realsales.ui.ps-page .n2r-stat { margin: 4px 0 0; border-bottom: 1px solid var(--ps-hair); }
#page-realsales.ui.ps-page .n2r-stat > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-size: 13px; color: var(--ps-text2); }
#page-realsales.ui.ps-page .n2r-stat > summary::-webkit-details-marker { display: none; }
#page-realsales.ui.ps-page .n2r-stat > summary small { font-size: 13px; color: var(--ps-muted); font-variant-numeric: tabular-nums; }
#page-realsales.ui.ps-page .n2r-stat > summary:focus-visible { outline: 2px solid var(--ps-text); outline-offset: 2px; }
#page-realsales.ui.ps-page .n2r-stat .n2r-stt { color: var(--ps-good); font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-stat .n2r-stt { font-weight: 600; } }
#page-realsales.ui.ps-page .n2r-stat.n2r-bad .n2r-stt { color: var(--ps-brand-ink); font-weight: 500; } /* 폰은 예전 값 */ @media (max-width: 640px) { #page-realsales.ui.ps-page .n2r-stat.n2r-bad .n2r-stt { font-weight: 700; } }
#page-realsales.ui.ps-page .n2r-stbody { padding: 4px 0 12px; display: flex; flex-direction: column; gap: 6px; }
#page-realsales.ui.ps-page .n2r-stasof { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ps-muted); }
#page-realsales.ui.ps-page .n2r-stasof b { font-weight: 500; color: var(--ps-text2); font-variant-numeric: tabular-nums; }
#page-realsales.ui.ps-page .n2r-stbody .rs-warn { font-size: 13px; }

/* ---- 폰 표: 분기마다 한 덩어리 · 칸 하나에 수량(위)·금액(아래) · 좌우로 밀지 않는다 ---- */
@media (max-width: 640px) {
  #page-realsales.ui.ps-page .n2r-box { overflow-x: auto; }
  #page-realsales.ui.ps-page .n2r-xp { table-layout: fixed; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-nm { position: static; width: 86px; min-width: 0; max-width: none; padding: 0 6px; font-size: 13px; }
  #page-realsales.ui.ps-page .n2r-xp thead th { height: 52px; padding: 0; }
  #page-realsales.ui.ps-page .n2r-xp thead th.n2r-nm { padding: 0 6px; }
  #page-realsales.ui.ps-page .n2r-xp td { height: 52px; padding: 0 3px; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-pq { font-size: 12px; color: var(--ps-text2); line-height: 1.25; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-pa { font-size: 12px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
  #page-realsales.ui.ps-page .n2r-xp tfoot .n2r-pq, #page-realsales.ui.ps-page .n2r-xp tfoot .n2r-pa { font-weight: 700; color: var(--ps-text); }
  #page-realsales.ui.ps-page .n2r-xp .n2r-nm .ps-nm { white-space: normal; line-height: 1.2; overflow-wrap: break-word; word-break: keep-all; }
  #page-realsales.ui.ps-page .n2r-xp .rs-nmrow { gap: 0; }
  #page-realsales.ui.ps-page .n2r-xp .rs-nmrow .fl-chip { display: none; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-go { cursor: pointer; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-nodata { font-size: 12px; }
  #page-realsales.ui.ps-page .n2r-xp .n2r-mbtn { font-size: 13px; }
  #page-realsales.ui.ps-page .n2r-xp tfoot th { font-size: 13px; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt td { font-size: 13px; padding: 0 8px; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt thead th, #page-realsales.ui.ps-page .n2r-tv .n2r-tt tbody th { position: static; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt tbody th { padding: 0; }
  /* 검수 2026-10-31 P01·P08: 월 칸은 왼쪽에 고정(가로로 밀어도 남음), 숫자 칸은 오른쪽 정렬(자릿수 맞춤) */
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt tr > :first-child { position: sticky; left: 0; z-index: 1; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt thead th:not(:first-child), #page-realsales.ui.ps-page .n2r-tv .n2r-tt td { text-align: right; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-tt thead th:not(:first-child) { padding: 0 8px; }
  #page-realsales.ui.ps-page .n2r-xp td.ui-num { text-align: right; }
  #page-realsales.ui.ps-page .n2r-tv .n2r-mrow { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 0 10px; }
  #page-realsales.ui.ps-page .n2r-tv tr.n2r-curr > * { background: var(--n2r-cur); }
  #page-realsales.ui.ps-page .n2r-tv tr.n2r-avgr > * { border-top: 2px solid var(--ps-box); background: var(--n2r-h1); font-weight: 700; }
  #page-realsales.ui.ps-page .n2r-tv tr.n2r-avgr th { padding: 0 10px; }
  #page-realsales.ui.ps-page .n2r-tv tbody tr:last-child > * { border-bottom: 0; }
}

/* ===== 2026-10-27 화면 통일 2단계: 부품 한 벌(컴퓨터 폭 641px 이상만, 폰 모양은 위 규칙 그대로) =====
   고른 달·지금 달 = 회색 채움(주황 틴트·밑줄 삭제), 표·카드 바깥 한 겹 1px hair, 월 머리 단추는 '월 + 상태'를 한 줄로. 색은 토큰만. */
@media (min-width: 641px) {
  #page-realsales.ui.ps-page { --n2r-cur: color-mix(in srgb, var(--ps-text) 14%, var(--ps-bg)); --n2r-band: var(--p-fill-on); }
  #page-realsales.ui.ps-page .n2r-kl { color: var(--ps-text); }
  #page-realsales.ui.ps-page :is(.n2r-kpi, .n2r-box) { border: 1px solid var(--ps-hair); border-radius: var(--r-lg); }
  #page-realsales.ui.ps-page .n2r-mbtn { flex-direction: row; gap: 6px; white-space: nowrap; }
  #page-realsales.ui.ps-page .n2r-mbtn[aria-pressed="true"] { box-shadow: none; }
  #page-realsales.ui.ps-page .n2r-st-open { color: var(--ps-text); }      /* 진행 중 표시는 글자로 구분(회색 칸 위 대비 4.5) */
  #page-realsales.ui.ps-page .n2r-mbtn:focus-visible { outline: 0; box-shadow: var(--p-ring); }
  #page-realsales.ui.ps-page .n2r-tbl .n2r-avg { border-left: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th, #page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th.n2r-no, #page-realsales.ui.ps-page .n2r-xl thead tr:nth-child(2) th.n2r-nm { border-bottom: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page .n2r-xl tr.n2r-co1 > * { border-top: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page .n2r-xl tfoot th, #page-realsales.ui.ps-page .n2r-xl tfoot td { border-top: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page :is(.rd-sheet td.rd-cum:first-of-type, .rd-sheet th.rd-cum, .rd-sumbox .rd-tot:first-of-type, .rd-sumbox thead tr:first-child th.rd-tot, .rd-sumbox thead tr:first-child th.rd-cum) { border-left: 1px solid var(--ps-hair); }
  #page-realsales.ui.ps-page .n2r-xl .xt-sort:focus-visible, #page-realsales.ui.ps-page .n2r-stat > summary:focus-visible { outline: 0; box-shadow: var(--p-ring); }
}

/* 진짜 실판매 표가 없거나 깨졌을 때 한 줄(검수 2026-10-28 2번) */
#page-realsales.ui.ps-page .n2r-tswarn { margin: 2px 0 8px; font-size: 13px; line-height: 1.4; }
#page-realsales.ui.ps-page .n2r-tswarn .rs-warn { font-size: 13px; }
#page-realsales.ui.ps-page .n2r-part { margin-left: 5px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ps-muted); white-space: nowrap; cursor: help; }
#page-realsales.ui.ps-page .n2r-spnm { font-style: normal; color: var(--ps-text2); }
