.plo-hand { display: inline-flex; gap: 2px; vertical-align: middle; }
.plo-c { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 17px; border-radius: 3px;
font-weight: 700; font-size: 11.5px; color: #fff; line-height: 1; }
.plo-hand.small .plo-c { width: 13px; height: 16px; font-size: 11px; }
.plo-c.s { background: #50545e; } .plo-c.h { background: #c4302a; } .plo-c.d { background: #2a64c8; } .plo-c.c { background: #2a8f45; }
.plo-cols { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.plo-tabs { display: flex; flex: 0 0 auto; gap: 4px; padding: 0 0 6px; overflow-x: auto; }
.plo-cols:not(.narrow) .plo-tabs { display: none; }
.plo-tab { flex: 1 1 0; min-width: 72px; background: var(--panel2); border: 1px solid var(--border); border-bottom: 3px solid var(--tc, #555);
border-radius: 6px; padding: 4px 6px; text-align: left; cursor: pointer; }
.plo-tab b { display: block; font-size: 15px; }
.plo-tab span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.plo-tab.on { background: var(--panel3); outline: 1px solid var(--tc, #555); }
.plo-colwrap { display: flex; gap: 8px; flex: 1 1 auto; min-height: 0; }
.plo-cols.narrow .plo-col:not(.on) { display: none; }
.plo-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border);
border-radius: 6px; overflow: hidden; }
.plo-colhead { flex: 0 0 auto; padding: 6px 8px 0; background: linear-gradient(180deg, var(--ch, #333) -250%, var(--panel2) 100%); }
.plo-colhead .nm { display: flex; justify-content: space-between; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.plo-colhead .nm .sz { color: var(--muted); font-weight: 400; }
.plo-colhead .big { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1px; }
.plo-colhead .big b { font-size: 17px; font-weight: 700; }
.plo-colhead .big span { font-size: 11px; color: var(--muted); }
.plo-colhead .bar { height: 3px; margin: 4px -8px 0; background: #2a2c32; }
.plo-colhead .bar i { display: block; height: 100%; background: var(--ch, #888); }
.plo-labels, .plo-row { display: grid; grid-template-columns: minmax(64px, 1.25fr) 1fr 1fr 1fr 0.9fr 0.9fr; align-items: center; column-gap: 4px; padding: 0 8px; }
.plo-labels { flex: 0 0 auto; height: 22px; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--panel2); }
.plo-labels span { text-align: right; cursor: pointer; user-select: none; white-space: nowrap; }
.plo-labels span:first-child { text-align: left; cursor: default; }
.plo-labels span.on { color: var(--text); }
.plo-labels span.on::after { content: ' \25BE'; }
.plo-labels span.on.asc::after { content: ' \25B4'; }
.plo-labels span.nosort { cursor: default; }
.plo-list { position: relative; flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; min-height: 60px; }
.plo-spacer { width: 1px; }
.plo-rows { position: absolute; left: 0; right: 0; top: 0; }
.plo-row { position: absolute; left: 0; right: 0; height: 22px; font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
.plo-row:hover { background: var(--panel3); }
.plo-row.plo-pin { background: #2c2a1c; box-shadow: inset 2px 0 0 var(--sel); }
.plo-row > span { text-align: right; white-space: nowrap; }
.plo-row > span.pos { color: #6fd08c; } .plo-row > span.neg { color: #ef6b62; }
.plo-empty { position: absolute; left: 0; right: 0; top: 38%; text-align: center; padding: 0 10px; }
.plo-empty b { display: block; font-size: 14px; margin-bottom: 4px; }
.plo-empty span { color: var(--muted); font-size: 12px; }
.plo-link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.plo-end { position: absolute; left: 0; right: 0; height: 22px; text-align: center; font-size: 11px; color: #6c707a; }
.plo-tip { position: fixed; z-index: 60; pointer-events: none; background: #1b1c21; border: 1px solid #454955; border-radius: 6px;
padding: 6px 8px; font-size: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.5); min-width: 170px; }
.plo-tip .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 600; }
.plo-tip .ln { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.plo-tip .ln i { width: 10px; height: 10px; border-radius: 2px; }
.plo-tip .ln em { font-style: normal; color: var(--muted); min-width: 48px; text-align: right; }
.plo-tip .ln.best { font-weight: 600; }
.plo-filt { display: flex; align-items: center; gap: 8px; padding: 0 0 8px; flex-wrap: wrap; }
.plo-search { position: relative; flex: 0 1 260px; min-width: 150px; }
.plo-search input { width: 100%; background: var(--panel2); border: 1px solid var(--border); border-radius: 6px; padding: 5px 46px 5px 8px; outline: none; }
.plo-search input:focus { border-color: #5a5f6b; }
.plo-search.bad input { border-color: var(--err); box-shadow: inset 0 -2px 0 var(--err); }
.plo-search .x { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 0 4px; }
.plo-info { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; box-sizing: border-box; border-radius: 50%;
border: 1px solid #4a4e58; background: none; color: var(--muted); font: 700 10.5px/15px system-ui, sans-serif; padding: 0; cursor: help; text-align: center; }
.plo-info:hover, .plo-info[aria-expanded="true"] { color: var(--text); border-color: #6a6f7b; }
.plo-info.bad { color: var(--err); border-color: var(--err); }
.plo-chiprow { flex: 0 0 100%; order: 10; display: flex; align-items: center; gap: 6px; height: 20px; margin: -5px 0 -2px; overflow-x: auto; overflow-y: hidden;
white-space: nowrap; scrollbar-width: none; min-width: 0; }
.plo-chiprow::-webkit-scrollbar { display: none; }
.plo-fchip { display: inline-flex; align-items: center; gap: 4px; flex: none; max-width: 280px; height: 19px; box-sizing: border-box; padding: 0 1px 0 7px;
border: 1px solid #3a3e47; border-radius: 10px; background: var(--panel2); font-size: 11.5px; line-height: 17px; }
.plo-fchip .k { color: var(--muted); flex: none; }
.plo-fchip .v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.plo-fchip code.v { font: 11.5px/17px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.plo-fchip .plo-hand.small { display: inline-flex; }
.plo-fchip.old { border-style: dashed; }
.plo-fchip .cx { flex: none; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0 5px; font-size: 13px; line-height: 17px; }
.plo-fchip .cx:hover { color: var(--text); }
.plo-clearall { flex: none; border: 0; background: none; color: var(--muted); font-size: 11.5px; cursor: pointer; text-decoration: underline; padding: 0 2px; }
.plo-help { position: fixed; z-index: 60; box-sizing: border-box; background: #1b1c21; border: 1px solid #454955; border-radius: 8px; padding: 10px 12px;
overflow-y: auto; font-size: 12.5px; line-height: 1.4; box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.plo-help code { font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #f0f0f0; }
.plo-help .now { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #33363e; display: grid; gap: 3px; overflow-wrap: anywhere; }
.plo-help .lead { color: var(--muted); margin-right: 6px; }
.plo-help .rd b { font-weight: 600; color: var(--accent); }
.plo-help .nt { color: var(--muted); }
.plo-help .er { color: #ff8a80; }
.plo-help .er .hint { color: var(--text); }
.plo-help code.src { white-space: pre-wrap; }
.plo-help mark { background: rgba(229, 83, 75, .4); color: inherit; border-radius: 2px; }
.plo-help .hd { font-weight: 600; margin-bottom: 5px; }
.plo-help .cheat { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; align-items: baseline; }
.plo-help .cheat code { white-space: pre; }
.plo-help .foot { margin-top: 6px; font-size: 11.5px; }
@media (max-width: 480px) { .plo-help .cheat { grid-template-columns: minmax(0, 1fr); gap: 0; } .plo-help .cheat span { margin-bottom: 4px; } .plo-help .cheat code { color: var(--accent); } }
.plo-btn { background: var(--panel2); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; cursor: pointer; white-space: nowrap; }
.plo-btn:hover { background: var(--panel3); }
.plo-btn.on { border-color: var(--accent); color: var(--accent); }
.plo-btn.pri { background: var(--accent2); border-color: var(--accent); }
.plo-btn:disabled { opacity: .45; cursor: default; }
.plo-chips { display: inline-flex; gap: 2px; }
.plo-count { font-size: 12.5px; white-space: nowrap; }
.plo-count b { font-weight: 600; }
.plosamp { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); white-space: nowrap; cursor: pointer; user-select: none; }
.plosamp input { margin: 0; accent-color: var(--accent); cursor: pointer; }
.plo-pickback { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.45); }
.plo-pick { position: fixed; z-index: 51; background: var(--panel2); border: 1px solid #454955; border-radius: 8px; padding: 10px 12px;
box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.plo-pick .slots { display: flex; gap: 5px; align-items: center; margin-bottom: 10px; }
.plo-pick .slot { width: 30px; height: 38px; border-radius: 5px; border: 1px dashed #4a4e58; display: inline-flex; align-items: center;
justify-content: center; font-weight: 700; font-size: 17px; cursor: pointer; }
.plo-pick .slot.s { background: #50545e; border: 0; } .plo-pick .slot.h { background: #c4302a; border: 0; }
.plo-pick .slot.d { background: #2a64c8; border: 0; } .plo-pick .slot.c { background: #2a8f45; border: 0; }
.plo-pick .trash { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; margin-left: 6px; }
.plo-pick .grid { display: grid; grid-template-columns: repeat(13, 26px); gap: 3px; }
.plo-pick .pc { height: 30px; border: 0; border-radius: 4px; font-weight: 700; font-size: 15px; color: #fff; cursor: pointer; padding: 0; }
.plo-pick .pc.s { background: #50545e; } .plo-pick .pc.h { background: #c4302a; } .plo-pick .pc.d { background: #2a64c8; } .plo-pick .pc.c { background: #2a8f45; }
.plo-pick .pc:hover { filter: brightness(1.25); }
.plo-pick .pc.used { opacity: .22; }
.plo-pick .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.plo-sum { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px 8px; font-size: 12px; }
.plo-sum .plo-stabs { display: flex; gap: 14px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.plo-sum .plo-stabs button { background: none; border: 0; padding: 4px 0 5px; color: var(--muted); cursor: pointer; font-size: 11.5px;
font-weight: 600; letter-spacing: .3px; text-transform: uppercase; border-bottom: 2px solid transparent; }
.plo-sum .plo-stabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.plo-sum .trees { display: flex; gap: 4px; margin: 0 0 4px; }
.plo-sum .trees button { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 1px 9px; font-size: 11px; cursor: pointer; color: var(--muted); }
.plo-sum .trees button.on { color: var(--text); border-color: #5a5f6b; }
.plo-sum .ct-tree { --ct-name: 196px; }
.plo-sum .body { max-height: none; }
.plo-sum .plo-scoll { margin-left: auto; display: none; }
.plo-sum.plo-collapsed .trees, .plo-sum.plo-collapsed .body { display: none; }
.plo-sum .plo-note { color: #7b808b; font-size: 11px; margin-top: 4px; }
.plo-demo { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 12px; padding: 10px 12px; height: calc(100vh - 44px); }
.plo-demo-top { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--panel); }
.plo-demo-top .mock { background: #5a4415; color: #ffd98a; border-radius: 4px; padding: 1px 6px; font-size: 11px; font-weight: 600; }
.plo-demo-top .t { color: var(--muted); font-size: 12px; margin-left: auto; }
.plo-demo .left { display: flex; flex-direction: column; min-height: 0; }
.plo-demo .left .plo-cols { height: auto; flex: 1 1 auto; min-height: 0; }
.plo-demo-top .nodes button { margin-right: 4px; }
.plo-demo .right { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }
.plo-demo .detail { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 8px; min-height: 60px; }
@media (max-width: 760px) {
.plo-demo { grid-template-columns: 1fr; height: auto; }
.plo-demo .left { height: 64vh; }
.plo-sum .plo-scoll { display: inline-block; text-transform: none; }
.plo-demo-top { overflow-x: auto; white-space: nowrap; }
.plo-demo-top .t { display: none; }
.plo-row, .plo-labels { grid-template-columns: minmax(64px, 1.3fr) 1fr 1fr 1fr 0.8fr 0.8fr; }
}
#ploLeft, #ploDetail, #ploSum { display: none; }
body.plo #bMain { grid-template-columns: minmax(0, 1fr) 400px; }
body.plo #bMain .bleft { display: flex; flex-direction: column; min-width: 0; height: calc(100vh - var(--hdr-h) - var(--strip-h) - 58px); min-height: 460px; }
@media (max-width: 899px) { body.plo #bMain { grid-template-columns: minmax(0, 1fr); } body.plo #bMain > .bleft { justify-self: stretch; }
body.plo #bMain .ploleft .plofiltrow > div { flex-shrink: 1; } }
body.plo #bGrid, body.plo #bGridNote, body.plo #bMain .gtools, body.plo #handDetail, body.plo #fbWrongChart { display: none; }
body.plo #ploLeft { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ploleft .plofiltrow { display: flex; align-items: flex-start; gap: 10px; }
.ploleft .plofiltrow > div { flex: 1 1 auto; min-width: 0; }
.ploleft .plonote { flex: none; color: #8f939b; font-size: 11.5px; padding-top: 7px; white-space: nowrap; }
.ploleft .plofiltrow > div { flex-shrink: 0; }
.ploleft .plonote { flex: 0 1 auto; min-width: 0; padding-top: 2px; white-space: normal; line-height: 14px; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ploleft .plo-colsroot { flex: 1 1 auto; min-height: 0; }
.ploleft .ploempty { display: none; }
.ploleft.empty .plo-colsroot { visibility: hidden; }
.ploleft.empty .ploempty { display: block; position: relative; top: -45%; text-align: center; color: var(--muted); }
body.plo #ploDetail { display: block; }
body.plo .detailpanel { flex: 0 0 auto; min-height: 0; }
body.plo #ploSum { display: block; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
body.plo #ploSum[hidden] { visibility: hidden; display: block; }
.plodetail { height: 112px; overflow-y: auto; font-size: 12.5px; }
.plodetail .plodh { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.plodetail .plodt { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 70px; column-gap: 8px; row-gap: 2px; align-items: center; font-variant-numeric: tabular-nums; }
.plodetail .plodt i { width: 10px; height: 10px; border-radius: 2px; }
.plodetail .plodt b, .plodetail .plodt span.muted { text-align: right; }
.plo-cols.plo-noeq .plo-labels, .plo-cols.plo-noeq .plo-row { grid-template-columns: minmax(64px, 1.25fr) 1fr 1fr 1fr 0.9fr; }
.plo-cols.plo-noeq .plo-labels > span:nth-child(5), .plo-cols.plo-noeq .plo-row > span:nth-child(5) { display: none; }
.plo-cols.plo-noev .plo-labels, .plo-cols.plo-noev .plo-row { grid-template-columns: minmax(64px, 1.25fr) 1fr 0.9fr 0.9fr; }
.plo-cols.plo-noev.plo-noeq .plo-labels, .plo-cols.plo-noev.plo-noeq .plo-row { grid-template-columns: minmax(64px, 1.25fr) 1fr 0.9fr; }
.plo-cols.plo-noev .plo-labels > span:nth-child(3), .plo-cols.plo-noev .plo-labels > span:nth-child(4),
.plo-cols.plo-noev .plo-row > span:nth-child(3), .plo-cols.plo-noev .plo-row > span:nth-child(4) { display: none; }
#mPlo { margin: 0 var(--pad, 8px); }
body.plo #mPlo #ploLeft { height: calc(100vh - 230px); min-height: 330px; }
#mPlo .plofiltrow { flex-direction: column; gap: 0; }
#mPlo .plofiltrow > div { width: 100%; }
#mPlo .plonote { padding: 0 0 4px; white-space: normal; overflow: visible; }
body.plo #mPlo #ploDetail { height: auto; min-height: 18px; margin-top: 6px; }
body.plo #mPlo #ploSum { margin: 8px 0 12px; overflow: visible; }
body.plo #mBrowse #bDetail { display: none; }
body.ploflop #bGrid, body.ploflop #mPlo { display: none; }
body.ploload #mPlo { opacity: .45; pointer-events: none; }
#ploSetModal { position: fixed; z-index: 45; }
.plosetbox { min-width: 0; width: min(400px, 96vw); overflow-y: auto; }
.plomenu { display: grid; gap: 8px; margin: 8px 0 4px; }
.plomenu .pmrow { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; }
.plomenu .pmrow input { width: 100%; box-sizing: border-box; }
#sheet .plomenu .pmrow input { min-height: 42px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-size: 16px; }
.plomenu .pmrow select { width: 100%; box-sizing: border-box; }
#sheet .plomenu .pmrow select { min-height: 42px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-size: 16px; }
.plomenu .pmwarn { min-height: 2.6em; line-height: 1.3; color: #efd08c; }
.warnbox.pmw { white-space: normal; }
.dkfoot .msg.pmw { color: #efd08c; }
.calcovl .calctxt { position: absolute; left: 0; right: 0; top: calc(min(170px, 18vh) + 196px); text-align: center; color: #e6e8ec; font-size: 14px; pointer-events: none; }
body.plo #bActs:not(:has(.err)) { display: none; }
#mPlo .ct-tree { --ct-name: 200px; }
#mPlo .ct-tree .ct-row { height: 34px; }
#mPlo .ct-tree .ct-row.hd { height: 22px; }
#mPlo .ct-tree .ct-row .ex, #mPlo .ct-tree .ct-row .ex0 { flex-basis: 30px; width: 30px; height: 32px; }
#mPlo .ct-tree .ct-row .ex svg { width: 12px; height: 12px; }
#mPlo .ct-tree .ct-tool { min-height: 30px; }
#mPlo .ct-tree .ct-mode button { padding: 6px 5px; font-size: 12px; }
body.plo .bright > .rpanel:not(.detailpanel) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 8px 10px; min-height: 36px; }
body.plo .bright > .rpanel:not(.detailpanel) > .rhead, body.plo .bright > .rpanel:not(.detailpanel) > #aBoxes { flex: 1 0 100%; }
body.plo .bright > .rpanel:not(.detailpanel) > .rhead:not(:has(> button:not([hidden]))) { display: none; }
body.plo #aMix { flex: 1 1 0; margin: 0; }
body.plo #aStats { flex: 0 0 auto; margin: 0; }
.plo-cols.narrow .plo-colhead { margin: 6px 6px 4px; padding: 7px 28px 7px 10px; border-radius: 8px; background: var(--ch, #555); position: relative; }
.plo-cols.narrow .plo-colhead::after { content: '\203A'; position: absolute; right: 10px; top: 50%; transform: translateY(-54%); font-size: 22px; font-weight: 600; }
.plo-cols.narrow .plo-colhead .nm { font-size: 14px; }
.plo-cols.narrow .plo-colhead .big span { color: #fff; opacity: .85; }
.plo-cols.narrow .plo-colhead .bar { display: none; }
.plo-colhead { position: relative; }
.plo-colhead .evt { position: absolute; right: 8px; top: 6px; line-height: 17px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.plo-cols.narrow .plo-colhead .evt { right: 28px; top: 8px; color: #fff; opacity: .85; }
.plo-cols.plo-fx .plo-labels, .plo-cols.plo-fx .plo-row { grid-template-columns: minmax(64px, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 1fr); }
.plo-cols.plo-fx.plo-noeq .plo-labels, .plo-cols.plo-fx.plo-noeq .plo-row { grid-template-columns: minmax(64px, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.plo-cols.plo-fx .plo-labels span { position: relative; }
.plo-cols.plo-fx .plo-labels span.on::after { position: absolute; left: 100%; top: 0; content: '\25BE'; }
.plo-cols.plo-fx .plo-labels span.on.asc::after { content: '\25B4'; }
.plo-cols.plo-fx.plo-w4 .plo-labels, .plo-cols.plo-fx.plo-w4 .plo-row { grid-template-columns: minmax(60px, 1.2fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 3px; padding: 0 6px; }
.plo-cols.plo-fx.plo-w4 .plo-row { font-size: 11.5px; }
.plo-cols.plo-fx.plo-w4 .plo-labels > span:nth-child(5), .plo-cols.plo-fx.plo-w4 .plo-row > span:nth-child(5),
.plo-cols.plo-fx.plo-w4 .plo-labels > span:nth-child(6), .plo-cols.plo-fx.plo-w4 .plo-row > span:nth-child(6) { display: none; }
.plo-cols.plo-fx.plo-w5 .plo-labels, .plo-cols.plo-fx.plo-w5 .plo-row { grid-template-columns: minmax(60px, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); }
.plo-cols.plo-fx.plo-w5 .plo-labels > span:nth-child(4), .plo-cols.plo-fx.plo-w5 .plo-row > span:nth-child(4) { display: none; }
.pdf { display: flex; flex-direction: column; gap: 3px; margin: 0 0 6px; font-size: 11px; }
.pdfrow { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pdfl { color: var(--muted); width: 70px; flex: 0 0 70px; }
.pdfb { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 1px 6px; font-size: 11px; cursor: pointer; color: var(--muted); }
.pdfb:hover { color: var(--text); }
.pdfb.on { color: #fff; background: #2f4a37; border-color: var(--accent); }
.pdfb:disabled { opacity: .35; cursor: default; }
.pdfx { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; padding: 0 4px; line-height: 1; }
.pdfx:hover { color: var(--text); }
.pdfn { color: var(--muted); font-size: 10.5px; margin-left: 4px; white-space: nowrap; }
.ploleft .plodfrow { flex: none; margin: 4px 0 6px; min-height: 21px; }
.ploleft .plodfrow .pdf { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 3px 18px; margin: 0; }
#mPlo .plodfrow .pdf { flex-direction: column; gap: 3px; }
#mPlo .plodfrow .pdfrow { justify-content: flex-start; }
#mPlo .plodfrow .pdfl { flex: 0 0 auto; width: auto; min-width: 6.6em; text-align: left; }
body.plo .bleft #scView { width: auto; height: auto; flex: 1 1 0; min-height: 0; }
.scview .sctop { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 2px; }
.scview .scctl { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 1 auto; margin-left: auto; }
.scview .scmix button { padding: 2px 9px; font-size: 11.5px; }
.scview .sclegend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; font-size: 11.5px; }
.scview .sclg { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.scview .sclg i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.scview .scinfo { margin: 2px 0 2px; font-size: 10.5px; height: 14px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scview .scbox { flex: 1 1 0; min-height: 0; position: relative; overflow-x: hidden; overflow-y: auto; }
.scview .scbox canvas { position: absolute; left: 0; top: 0; cursor: crosshair; }
.sctip { position: fixed; z-index: 60; pointer-events: none; background: #1b1c21; border: 1px solid #454955; border-radius: 6px; padding: 6px 8px;
font-size: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.5); max-width: 340px; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.sctip[hidden] { display: none; }
.sctip .sch { display: flex; align-items: center; gap: 6px; }
.sctip .scst { display: grid; grid-template-columns: 9px auto auto auto; column-gap: 6px; row-gap: 1px; align-items: center; margin-top: 2px; }
.sctip .scst i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sctip .scst b { text-align: right; }
.scview .scsel { color: var(--text); margin-right: 10px; white-space: nowrap; }
.scview .scsel b { font-weight: 600; }
.scview .scsel .pdfx { font-size: 12px; line-height: 14px; padding: 0 3px; vertical-align: top; }
.plomenu .pmrow.pmauto { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.plomenu .pmauto .inl { display: flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; }
.plomenu .pmrow.pmauto input[type=checkbox] { width: auto; min-height: 0; }
.plomenu .pmrow.pmauto input.pmAT { width: 64px; }
#sheet .plomenu .pmrow.pmauto input[type=checkbox] { width: 22px; height: 22px; min-height: 0; }
#sheet .plomenu .pmrow.pmauto input.pmAT { width: 76px; }
.plomenu.auto input:disabled { opacity: .45; }
.plomenu .pmauto input:disabled { opacity: .45; }
body.plo5 .plo-labels, body.plo5 .plo-row { grid-template-columns: minmax(80px, 1.25fr) 1fr 1fr 1fr 0.9fr; }
body.plo5 .plo-cols.plo-noev .plo-labels, body.plo5 .plo-cols.plo-noev .plo-row { grid-template-columns: minmax(80px, 1.25fr) 1fr 0.9fr; }
body.plo5 .plo-cols.plo-fx .plo-labels, body.plo5 .plo-cols.plo-fx .plo-row { grid-template-columns: minmax(80px, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
body.plo5 .plo-cols.plo-fx.plo-w4 .plo-labels, body.plo5 .plo-cols.plo-fx.plo-w4 .plo-row { grid-template-columns: minmax(76px, 1.2fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.05fr); }
body.plo5 .plo-cols.plo-fx.plo-w5 .plo-labels, body.plo5 .plo-cols.plo-fx.plo-w5 .plo-row { grid-template-columns: minmax(76px, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 760px) {
body.plo5 .plo-row, body.plo5 .plo-labels { grid-template-columns: minmax(80px, 1.3fr) 1fr 1fr 1fr 0.8fr; }
}
.plospot { margin: 0 0 8px; }
.plospot .psrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.plospot .psrow { height: auto; margin: 0; }
#sheet .plospot input { min-height: 42px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-size: 16px; box-sizing: border-box; }
.plospot label { display: inline-flex; align-items: center; gap: 5px; }
.plospot input { width: 5.5em; }
.plospot .ps-spr { min-width: 9em; }
.psedit { color: var(--sel, #e0b84a); }
#ploRngModal { position: fixed; z-index: 45; }
.plorngbox { min-width: 0; width: min(860px, 98vw); overflow-y: auto; }
.plorng { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.plorng .prhelp { grid-column: 1 / -1; line-height: 1.4; }
.plorng .prcol { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.plorng .prtitle { min-height: 1.4em; }
.plorng .prsrc { align-self: flex-start; }
.plorng .prtxt { width: 100%; box-sizing: border-box; font: 12px/1.35 ui-monospace, monospace; resize: vertical; min-height: 5.5em; }
.plorng .prbtns { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.plorng .prrep { min-height: 1.4em; overflow-wrap: anywhere; }
.plorng .prrep.okbox, .plorng .prrep.warnbox, .plorng .prrep.errbox { margin: 0; padding: 5px 8px; border-radius: 7px; }
.plorng .prrep.okbox { background: #16301f; border: 1px solid #2a6b44; color: #b8ecd0; }
.plorng .prrep.warnbox { background: #33291a; border: 1px solid #5f4a1f; color: #efd08c; }
.plorng .prrep.errbox { background: #3d1b1b; border: 1px solid #7a2c2c; color: #ffc2bc; }
@media (max-width: 640px) { .plorng { grid-template-columns: 1fr; } }
.plorng .prnode { grid-column: 1 / -1; border-top: 1px solid #33363d; padding-top: 8px; }
.prnodeui { display: flex; flex-direction: column; gap: 6px; }
.prnodeui .prtitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prnodeui .prnrow { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; }
.prnodeui .prnname { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prnodeui .prnstat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prnodeui .prnbtns { display: flex; gap: 5px; white-space: nowrap; }
@media (max-width: 480px) { .prnodeui .prnrow { grid-template-columns: minmax(0, 1fr) auto; } .prnodeui .prnstat { grid-column: 1 / -1; grid-row: 2; } }
.prnodeui .prrep.prnrep { height: 1.4em; line-height: 1.4em; padding: 2px 8px; border: 1px solid transparent; border-radius: 7px; margin: 0;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: content-box; }
.prnodeui .prrep.prnrep.okbox { background: #16301f; border-color: #2a6b44; color: #b8ecd0; }
.prnodeui .prrep.prnrep.warnbox { background: #33291a; border-color: #5f4a1f; color: #efd08c; }
.prnodeui .prrep.prnrep.errbox { background: #3d1b1b; border-color: #7a2c2c; color: #ffc2bc; }
.prnodeui .prnhelp { line-height: 1.3; }
.prfmt { background: none; border: 0; padding: 2px 4px; color: var(--sel, #7fb2ff); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline dotted; }
.prfmt:hover, .prfmt[aria-expanded="true"] { color: #fff; }
#ploRngFmt, #sRngFmt { margin-left: 6px; align-self: center; white-space: nowrap; }
.plorng .prfmtrow { grid-column: 1 / -1; }
.prfmtpop { position: fixed; z-index: 10000; box-sizing: border-box; max-height: 70vh; overflow-y: auto; padding: 10px 12px; border-radius: 8px;
background: #1f2126; border: 1px solid #3a3d45; color: #d6d8de; box-shadow: 0 8px 28px rgba(0, 0, 0, .55); line-height: 1.45; }
.prfmtpop ul { margin: 6px 0; padding-left: 18px; }
.prfmtpop li { margin: 2px 0; }
.prfmtpop code { font-size: 11.5px; }
body.plo .bleft #hlView { width: auto; height: auto; flex: 1 1 0; min-height: 0; }
.hlview .hltop { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.hlview .hltot { display: flex; flex-wrap: wrap; gap: 4px; }
.hlview .hlchip { padding: 1px 7px; border-radius: 4px; font-size: 11.5px; font-weight: 600; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.6); white-space: nowrap; }
.hlview .hlmode { margin-left: auto; flex: none; }
.hlview .hlmode button { padding: 2px 9px; font-size: 11.5px; }
.hlview .hlinfo { margin: 2px 0; font-size: 10.5px; height: 14px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hlview .hlsel { font-size: 11px; margin: 0 0 2px; white-space: nowrap; }
.hlview .hlsel[hidden] { display: none; }
.hlview .hlsel .pdfx { font-size: 12px; line-height: 14px; padding: 0 3px; vertical-align: top; margin-left: 6px; }
.hlview .hlbox { flex: 1 1 0; min-height: 0; overflow: auto; }
.hlview .hllegend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; margin: 4px 0 2px; }
.hlview .hllegend .sclg { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hlview .hllegend .sclg i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.hlgrid { display: grid; gap: 2px; grid-template-rows: auto auto; grid-auto-rows: 15px; font-size: 10.5px; align-items: stretch; padding: 0 2px 2px 0; }
.hlgrid .hlch.nl { text-align: center; line-height: 1.05; font-weight: 500; }
.hlgrid .hlcorner { display: flex; align-items: flex-end; font-size: 9.5px; white-space: nowrap; }
.hlgrid .hlch { display: flex; align-items: flex-end; justify-content: center; color: var(--text); font-weight: 600; white-space: nowrap; cursor: pointer; border-radius: 2px; }
.hlgrid .hlch.draw { font-style: italic; font-weight: 500; color: var(--muted); }
.hlgrid .hlrh { display: flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; border-radius: 2px; padding-right: 2px; }
.hlgrid .hlrl { margin-left: auto; font-weight: 600; }
.hlbar { display: inline-block; width: 34px; height: 5px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; flex: none; vertical-align: middle; }
.hlbar i { display: block; height: 100%; background: #8b909c; }
.hlgrid .hlcell { display: flex; border-radius: 0; overflow: hidden; cursor: pointer; min-width: 0; }
.hlgrid .hlcell i { display: block; height: 100%; flex: none; }
.hlgrid .hlcell.empty { background: transparent; cursor: default; }
.hlgrid .hlcell.dim { opacity: .25; }
.hlgrid .sel { outline: 2px solid #fff; outline-offset: 0; }
.hlgrid .hlch.sel, .hlgrid .hlrh.sel { outline: none; background: rgba(255,255,255,0.12); }
.hlgrid .hlband { font-size: 9.5px; line-height: 13px; text-align: center; color: var(--muted); white-space: nowrap; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.18); }
.hlgrid .hlband:empty { border-bottom: none; }
.hlgrid .hlband.drw { border-left: 2px solid rgba(255,255,255,0.45); cursor: help; }
.hlgrid .d0 { border-left: 2px solid rgba(255,255,255,0.45); }
.hlsep { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.hlsep .hlsec { flex: 1 1 300px; min-width: 0; }
.hlsep .hlsech { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: 11.5px; }
.hlsep .hlflt { margin-left: auto; display: flex; gap: 4px; }
.hlsep .hlflt .btn { padding: 1px 7px; font-size: 11px; }
.hlsep .hlflt .btn.on { background: var(--accent, #3a7); color: #fff; }
.hltab { width: 100%; border-collapse: collapse; font-size: 11px; }
.hltab th { text-align: right; font-weight: 600; padding: 2px 6px; border-bottom: 1px solid var(--border, #333); white-space: nowrap; }
.hltab th:first-child, .hltab td.hll { text-align: left; }
.hltab td { padding: 1px 6px; height: 17px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.hltab td.hll { font-weight: 600; white-space: nowrap; }
.hltab tr.draw td.hll { font-style: italic; font-weight: 500; }
.hltab td.hlrg { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hltab td.hlrg .hlbar { width: 28px; margin-right: 6px; }
.hltab td.hlv { text-align: right; color: #fff; font-variant-numeric: tabular-nums; min-width: 34px; }
.hltab tbody tr { cursor: pointer; }
.hltab tbody tr:hover td.hll, .hltab tbody tr:hover td.hlrg { background: rgba(255,255,255,0.06); }
.hltab tr.sel td.hll, .hltab tr.sel td.hlrg { background: rgba(255,255,255,0.14); }
.hltab tr.hlsub td { padding: 12px 0 4px; font-size: 11.5px; border-bottom: none; cursor: help; }
.hltab tr.hlsub td b { margin-right: 8px; }
.hltab tr.hlsub .hlq { margin-left: 6px; color: var(--muted); }
.hltab tbody tr.hlsub, .hltab tbody tr.hlhd, .hltab tbody tr.hlnone { cursor: default; }
.hltab tbody tr.hlsub:hover td, .hltab tbody tr.hlhd:hover th { background: none; }
.hltab tr.hlnone td { font-style: italic; padding: 3px 6px; }
.hltab tbody.hlnolow tr td { border-top: 1px solid var(--border, #333); }
#mHl.hlphone { margin: 8px 0 12px; }
#mHl[hidden], #mHlBody[hidden] { display: none; }
#mHl .hltog { width: 100%; text-align: left; min-height: 40px; font-size: 14px; }
#mHl .hltot { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 8px 0 6px; }
#mHl .hlsep { flex-direction: column; gap: 14px; }
#mHl .hlsep .hlsec { flex: none; width: 100%; }
#mHl .hltab { font-size: 12.5px; }
#mHl .hltab td { height: 22px; }
#mHl .hlsep .hlflt .btn { padding: 4px 10px; font-size: 13px; }
.plodt .evx { opacity: .55; font-style: italic; }
.plo-afic .plo-colhead { padding-right: 32px; }
.plo-afic .plo-colhead .evt { right: 34px; }
.plo-afon .plo-colhead { position: relative; padding-right: 34px; }
.plo-afon.plo-afic .plo-colhead { padding-right: 62px; }
.plo-afon .plo-colhead .ago { position: absolute; top: 5px; right: 5px; width: 24px; height: 22px; padding: 0; display: grid; place-items: center; border-radius: 6px;
border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.28); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.plo-afon .plo-colhead .ago:hover { background: rgba(0,0,0,.55); border-color: #fff; }
.plo-afsel .plo-col:not(.plo-foc) { opacity: .4; }
.plo-afsel .plo-col.plo-foc { box-shadow: inset 0 0 0 2px var(--ch, #fff); }
.plo-cols.narrow.plo-afon .plo-colhead::after { content: none; }
.plo-cols.narrow.plo-afon .plo-colhead { padding-right: 50px; }
.plo-cols.narrow.plo-afon .plo-colhead .ago { top: 50%; transform: translateY(-50%); right: 8px; width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
.plo-afon .plo-colhead .evt { right: 36px; }
.plo-cols.narrow.plo-afon .plo-colhead .evt { right: 48px; }
.plo-afon.plo-afic .plo-colhead .ago { right: 33px; }
.plo-afon.plo-afic .plo-colhead .evt { right: 64px; }
.plo-cols.narrow.plo-afic .plo-colhead .afi { top: 50%; transform: translateY(-50%); right: 26px; }
