.pn-win { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; }
.pn-pane { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--face); }
.pn-bar { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; padding: 2px 4px; }
.pn-bar .pn-btn, .pn-btn { min-width: 0; height: 21px; padding: 0 8px; }
.pn-lab { padding-left: 2px; white-space: nowrap; }
.pn-chk { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.pn-chk input { margin: 0; }
.pn-sel { height: 20px; min-width: 60px; max-width: 200px; padding: 0 2px; border: 0; outline: 0; background: #fff; box-shadow: var(--sunk); font: inherit; }
.pn-fld { width: 90px; height: 20px; padding: 0 3px; border: 0; outline: 0; background: #fff; box-shadow: var(--sunk); font: inherit; cursor: text; -webkit-user-select: text; user-select: text; }
.pn-fld.pn-short { width: 64px; }
.pn-fld.bad { outline: 1px solid #f00; }
.pn-body { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 2px; }
.pn-pane .status { margin: 2px; }
.pn-pane .status span { overflow: hidden; white-space: nowrap; }
.pn-pane .status span:nth-child(1) { flex: 3 1 0; }
.pn-pane .status span:nth-child(2) { flex: 2 1 0; }
.pn-hb { min-height: 40px; }

.pn-t { width: max-content; border-collapse: separate; border-spacing: 0; }
.pn-t th { position: sticky; top: 0; z-index: 1; min-width: 40px; padding: 2px 6px; background: var(--face); box-shadow: var(--button); font-weight: normal; text-align: center; white-space: nowrap; }
.pn-t td { height: 18px; padding: 0 6px; background: #fff; text-align: right; white-space: nowrap; box-shadow: inset -1px -1px #000; }
.pn-t .pn-l { text-align: left; }
.pn-t td.pn-warn { color: #c80000; font-weight: bold; }
.pn-t td.pn-sw { min-width: 12px; padding: 0; }
.pn-t td.pn-fail { background: #ffc7ce; }
.pn-t td.pn-pass { background: #c6efce; }
.pn-t tr.pn-main td { background: #fff59d; }
.pn-t tr.pn-row-on td { background: var(--sel); color: #fff; }
.pn-sp th.up::after, .pn-sp th.dn::after { content: ''; display: inline-block; margin-left: 6px; border: 3px solid transparent; vertical-align: middle; }
.pn-sp th.up::after { border-bottom: 4px solid #000; border-top: 0; }
.pn-sp th.dn::after { border-top: 4px solid #000; border-bottom: 0; }

.pn-tlist, .pn-cwrap, .pn-mwrap, .pn-spwrap { padding: 2px; }
.pn-trow { display: flex; align-items: center; gap: 6px; margin: 0 0 3px; padding: 2px 6px; border: 1px solid #888; background: #f0f0f0; }
.pn-ttl { flex: 1 1 150px; min-width: 110px; overflow: hidden; font-weight: bold; white-space: nowrap; text-overflow: ellipsis; background: transparent; }
.pn-slide { flex: 3 1 140px; min-width: 80px; margin: 0; cursor: default; }
.pn-trow .pn-short { width: 62px; text-align: right; color: #000; }
.pn-x { min-width: 0; width: 18px; height: 18px; padding: 0; }

.pn-msec { margin: 0 0 8px; }
.pn-cap { padding: 1px 4px; font-weight: bold; cursor: default; }
.pn-cap.on { background: var(--sel); color: #fff; }
.pn-t th .pn-mx { display: block; width: 62px; margin: 1px auto; text-align: center; }
.pn-t th .pn-x { display: block; margin: 0 auto; }

.pn-xmain { flex: 1; min-height: 0; display: flex; gap: 2px; }
.pn-xl { flex: 3 1 0; min-width: 0; }
.pn-xplot { flex: 2 1 0; min-width: 160px; }
.pn-cell { width: 100%; min-width: 70px; height: 18px; padding: 0 3px; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: text; -webkit-user-select: text; user-select: text; }
.pn-cell:focus { background: #fff; color: #000; outline: 1px solid #000; }
