[hidden] { display: none !important; }
.ptabs button { padding: 0 0 14px; font-size: 15.5px; font-weight: 700; color: #8a8a85; border-bottom: 3px solid transparent; white-space: nowrap; }
.ptabs button:hover { color: #c9c9c4; }
.ptabs button.on { color: #fff; border-bottom-color: var(--acc); }
.ptabs div { overflow-x: auto; scrollbar-width: none; }
.ptabs div::-webkit-scrollbar { display: none; }

.pb { padding-top: 36px; min-height: 420px; }
.pb h2 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.pb .sub { font-size: 14px; color: var(--gray); font-weight: 600; margin-top: 6px; }
.pb-load { padding: 60px 0; font-size: 15px; font-weight: 700; color: var(--gray); }
.pb-lock { margin: 12px 0 40px; padding: 28px 28px; background: var(--ink); color: #fff; border-left: 8px solid var(--acc); }
.pb-lock h2 { font-size: 22px; }
.pb-lock p { font-size: 14.5px; color: #c9c9c4; margin-top: 8px; line-height: 1.6; }
.pb-lock a { color: #fff; border-bottom: 2px solid var(--acc); }
.pb-chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 8px; margin: 2px 6px 2px 0; background: var(--mist); white-space: nowrap; }
.pb-chip.new { background: var(--acc); }
.pb-chip.off { background: var(--ink); color: #fff; }
.pb-chip.wait { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.pb-link { font-size: 13.5px; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 1px; white-space: nowrap; }
.pb-names { font-size: 12.5px; color: var(--gray); font-weight: 500; line-height: 1.5; margin-top: 2px; }

.pb-list { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); margin-top: 22px; }
.pb-list th { text-align: left; font-size: 12px; font-weight: 700; color: var(--gray); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pb-list td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; vertical-align: top; }
.pb-list .rt { font-size: 22px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.pb-list .rt small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0; color: var(--gray); margin-top: 2px; }
.pb-list tr.now td { background: var(--mist); }
.pb-list tr.now .rt { padding-left: 12px; box-shadow: inset 5px 0 0 var(--acc); }
.pb-list .dt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-list .ac { text-align: right; white-space: nowrap; }
.pb-list .ac button, .pb-list .ac a { margin-left: 10px; }
.pb-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; white-space: nowrap; }
.pb-btn.ink { background: var(--ink); color: #fff; }
.pb-btn:disabled { opacity: .35; cursor: default; }

.pb-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.pb-pick label { font-size: 13px; font-weight: 800; }
.pb-pick select, .pb-pick input { height: 44px; padding: 0 34px 0 14px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; border: 0; border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink); outline: 0; appearance: none; -webkit-appearance: none; }
.pb-pick select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 19px, calc(100% - 13px) 19px; background-size: 6px 6px; background-repeat: no-repeat; }
.pb-pick input { padding-right: 14px; min-width: 0; width: 220px; }
.pb-pick input::placeholder { color: var(--soft); font-weight: 500; }
.pb-pick .pb-to { font-size: 18px; font-weight: 900; }

.pb-round { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 26px; }
.pb-boxes { border-top: 2px solid var(--ink); position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow-y: auto; }
.pb-boxes p { font-size: 12px; font-weight: 800; color: var(--gray); padding: 14px 0 6px; }
.pb-boxes button { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 10px; text-align: left; padding: 10px 10px 10px 0; font-size: 14.5px; font-weight: 700; border-bottom: 1px solid var(--line); }
.pb-boxes button small { font-size: 12px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.pb-boxes button.on { padding-left: 12px; background: var(--ink); color: #fff; }
.pb-boxes button.on small { color: #c9c9c4; }
.pb-box h3 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.pb-box .hist { margin-top: 10px; font-size: 13px; color: var(--gray); font-weight: 600; line-height: 2; }
.pb-box .hist button { font-size: 12.5px; font-weight: 800; padding: 3px 8px; margin: 0 4px 0 0; background: var(--mist); }
.pb-box .hist button.on { background: var(--ink); color: #fff; }
.pb-tb { margin-top: 30px; }
.pb-tb h4 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.pb-tb h4 small { font-size: 13px; font-weight: 700; color: var(--gray); }
.pb-tb h4 input { margin-left: auto; height: 34px; width: 180px; padding: 0 10px; font: inherit; font-size: 13.5px; font-weight: 600; border: 0; border-radius: 0; box-shadow: inset 0 0 0 1.5px var(--ink); outline: 0; }
.pb-grades { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.pb-grades div { padding: 10px 16px 10px 0; margin-right: 16px; }
.pb-grades .k { font-size: 12px; font-weight: 800; color: var(--gray); }
.pb-grades .v { font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.pb-grades .v small { font-size: 12px; font-weight: 700; color: var(--gray); margin-left: 4px; letter-spacing: 0; }
.pb-rows { width: 100%; border-collapse: collapse; }
.pb-rows th { text-align: left; font-size: 12px; font-weight: 700; color: var(--gray); padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pb-rows td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pb-rows td.s { color: var(--gray); font-size: 13px; white-space: nowrap; }
.pb-rows td.p, .pb-rows th.p { text-align: right; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }
.pb-rows td.was { text-align: right; color: var(--gray); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-rows td.pu::before { content: "▲"; } .pb-rows td.pd::before { content: "▼"; }
.pb-rows td.pu::before, .pb-rows td.pd::before { font-size: 9px; color: var(--gray); margin-right: 6px; vertical-align: 1px; }
.pb-more { margin-top: 12px; }
.pb-note { font-size: 13px; color: var(--gray); margin-top: 10px; line-height: 1.6; }

.pb-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 24px; }
.pb-sum div { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); }
.pb-sum div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.pb-sum .k { font-size: 13px; font-weight: 700; color: var(--gray); }
.pb-sum .v { font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1.15; }
.pb-sum .v small { font-size: 15px; font-weight: 700; letter-spacing: 0; margin-left: 3px; }
.pb-diff details { border-bottom: 1px solid var(--line); }
.pb-diff details:first-of-type { border-top: 2px solid var(--ink); margin-top: 26px; }
.pb-diff summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 15px 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.pb-diff summary::-webkit-details-marker { display: none; }
.pb-diff summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 500; }
.pb-diff details[open] summary::after { content: "−"; }
.pb-diff summary small { font-size: 13px; font-weight: 600; color: var(--gray); }
.pb-diff .in { padding: 0 0 22px; }
.pb-diff .in h5 { font-size: 14px; font-weight: 800; margin: 16px 0 6px; }

.pb-gone { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); margin-top: 18px; }
.pb-gone td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.pb-gone td.s { font-size: 13.5px; font-weight: 600; color: var(--gray); white-space: nowrap; }
.pb-gone td.ac { text-align: right; padding-right: 0; }
.pb-sec { margin-top: 56px; }

@media (max-width: 900px) {
  .pb { padding-top: 24px; }
  .pb h2 { font-size: 22px; }
  .pb-list thead { display: none; }
  .pb-list, .pb-list tbody, .pb-list tr, .pb-list td { display: block; }
  .pb-list tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .pb-list tr.now { padding-left: 12px; padding-right: 12px; }
  .pb-list td { padding: 3px 0; border: 0; background: none !important; }
  .pb-list .rt small { display: inline; margin-left: 8px; }
  .pb-list tr.now .rt { padding-left: 0; box-shadow: none; }
  .pb-list .dt { font-size: 13px; color: var(--gray); }
  .pb-list .ac { text-align: left; padding-top: 10px; }
  .pb-list .ac button, .pb-list .ac a { margin: 0 8px 0 0; }
  .pb-round { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pb-boxes { position: static; max-height: 260px; }
  .pb-box h3 { font-size: 21px; }
  .pb-tb h4 input { margin-left: 0; width: 100%; }
  .pb-rows .hide-m { display: none; }
  .pb-rows td { font-size: 13.5px; }
  .pb-pick select { flex: 1 1 130px; min-width: 0; }
  .pb-pick input { width: 100%; }
  .pb-pick.two select { flex: 1 1 calc(100% - 60px); }
  .pb-pick.two .pb-to { display: none; }
  .pb-sum .v { font-size: 26px; }
  .pb-sum div { padding: 12px 8px 14px 0; }
  .pb-sum div + div { padding-left: 10px; }
  .pb-gone td.s { white-space: normal; }
  .pb-gone, .pb-gone tbody, .pb-gone tr, .pb-gone td { display: block; }
  .pb-gone tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .pb-gone td { border: 0; padding: 2px 0; }
  .pb-gone td.ac { text-align: left; padding-top: 8px; }
}

.pb-list.fold tbody tr:nth-child(n+9) { display: none; }
.pb-all { display: block; width: 100%; height: 48px; margin-top: 14px; }
