.bi .page-wide2 { max-width: 1200px; margin: 0 auto; padding: 28px 40px 64px; }
.bi .top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bi .top h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.bi .meta { font-size: 12px; color: var(--color-ink-2); white-space: nowrap; }
.bi .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bi .grid-parts { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.bi .row { margin-top: 20px; }
.bi .blk { min-width: 0; margin-top: 20px; padding: 14px 20px 6px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-container); }
.bi .grid2 > .blk, .bi .grid-parts > .blk { margin-top: 0; }
.bi .blk h2, .bi .grp h2 { display: flex; align-items: center; gap: 2px; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.bi .grp { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.bi .seg { display: inline-flex; overflow: hidden; border: 1px solid var(--color-ctl); border-radius: var(--radius-control); }
.bi .seg a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; background: var(--color-surface); color: var(--color-ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bi .seg a + a { border-left: 1px solid var(--color-ctl); }
.bi .seg a[aria-pressed="true"] { background: var(--color-ink); color: #FFFFFF; }
.bi .tbl-wrap { overflow-x: auto; }
.bi table.t { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13.5px; }
.bi .t th { padding: 6px 0 6px 12px; border-bottom: 1px solid var(--color-line); font-size: 12px; font-weight: 600; color: var(--color-ink-2); text-align: right; white-space: nowrap; }
.bi .t td { height: 32px; padding: 0 0 0 12px; border-bottom: 1px solid var(--color-row); text-align: right; white-space: nowrap; }
.bi .t th:first-child, .bi .t td:first-child { padding-left: 0; text-align: left; }
.bi .t tbody tr:last-child td { border-bottom: 0; }
.bi .t td.l, .bi .t th.l { text-align: left; }
.bi .t th[colspan] { text-align: center; }
.bi .t tr.sum td { border-top: 1px solid var(--color-line); font-weight: 700; }
.bi .t .pc { display: inline-block; min-width: 46px; margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--color-ink-2); text-align: right; }
.bi .t .pc-n { min-width: 0; }
.bi .t .wt { color: var(--color-ink-3); }
.bi .t td.part { font-weight: 600; }
.bi .t td.dif { font-weight: 700; }
.bi .top h1 { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.bi .held .kv { margin-top: 6px; }
.bi .held .kv dd { white-space: nowrap; }
.bi .held .actions { margin: 14px 0 14px; }
.bi .grid2.row:has(> .held) { align-items: start; }
.bi .stats { display: flex; gap: 32px; margin-top: 8px; font-size: 13.5px; }
.bi .stats > div { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.bi .stats .l { font-size: 12px; color: var(--color-ink-2); }
.bi .stats b { font-size: 13.5px; }
.bi .empty { margin-top: 20px; padding: 18px 20px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-container); font-size: 13.5px; color: var(--color-ink-2); }
.bi .blk .empty-in { padding: 10px 0 12px; font-size: 13.5px; color: var(--color-ink-2); }
.bi .spark { position: relative; display: inline-block; vertical-align: middle; }
.bi .spark svg { display: block; overflow: visible; }
.bi .spark polyline { fill: none; stroke: var(--color-ink-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bi .spark .last { fill: var(--color-ink); }
.bi .spark .hov { fill: var(--color-ink); stroke: var(--color-surface); stroke-width: 2; }
.bi .spark .rule { stroke: var(--color-ctl); stroke-width: 1; }
.bi .spark-tip { position: absolute; bottom: calc(100% + 6px); z-index: 40; padding: 4px 8px; transform: translateX(-50%); border-radius: var(--radius-inline); background: var(--color-ink); color: #FFFFFF; font-size: 12px; white-space: nowrap; pointer-events: none; }

.adm-page .kv { margin-top: 14px; }
.adm-page .sub-h2 { margin: 44px 0 0; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.adm-page .page-lead { margin-top: 6px; }
.adm { padding: 8px 28px; }
.adm-row { display: grid; grid-template-columns: 1fr 104px 104px 150px; gap: 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--color-row); }
.adm-row:last-child { border-bottom: 0; }
.adm-row > span:nth-child(2), .adm-row > span:nth-child(3) { text-align: right; }
.adm-row > span:first-child { font-weight: 600; }
.adm-row > span:last-child { color: var(--color-ink-2); }
.adm-head { font-size: 13px; font-weight: 600; color: var(--color-ink-2); border-bottom: 1px solid var(--color-line); }
.adm-narrow { display: none; }

@media (max-width: 1179px) {
  .bi .grid2, .bi .grid-parts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bi .page-wide2 { padding: 20px 16px 48px; }
  .bi .top { flex-wrap: wrap; }
  .bi .grp { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bi .blk { padding: 12px 16px 6px; }
  .bi .blk h2 { white-space: normal; }
  .bi .blk h2, .bi .grp h2, .bi .top h1 { position: relative; }
  .bi .blk h2 .tipw, .bi .grp h2 .tipw, .bi .top h1 .tipw { position: static; }
  .bi .stats { flex-wrap: wrap; gap: 8px 24px; }
  .bi .tbl-wrap { overflow: visible; }
  .bi .t:not(.t-keep) thead { display: none; }
  .bi .t:not(.t-keep), .bi .t:not(.t-keep) tbody { display: block; }
  .bi .t:not(.t-keep) tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--color-row); }
  .bi .t:not(.t-keep) tbody tr:last-child { border-bottom: 0; }
  .bi .t:not(.t-keep) td { display: flex; justify-content: space-between; gap: 12px; height: auto; padding: 2px 0; border: 0; text-align: right; }
  .bi .t:not(.t-keep) td::before { content: attr(data-l); color: var(--color-ink-2); font-size: 12px; font-weight: 400; text-align: left; }
  .bi .t:not(.t-keep) td:first-child { font-weight: 700; }
  .bi .t:not(.t-keep) td:first-child::before { content: none; }

  .adm { padding: 4px 16px; }
  .adm-row { grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 0; }
  .adm-row > span:nth-child(3), .adm-row > span:nth-child(4) { grid-column: 1 / -1; text-align: left; font-size: 13px; color: var(--color-ink-2); }
  .adm-head > span:nth-child(3), .adm-head > span:nth-child(4) { display: none; }
  .adm-wide { display: none; }
  .adm-narrow { display: inline; }
  .adm-page .sub-h2 { font-size: 20px; }
}

.bi .blk-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bi .t-fun td.fun-n { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.bi .t-fun .fun-k { font-weight: 600; }
.bi .t-fun .fun-l { margin-left: 8px; color: var(--color-ink-2); }
.bi .t-fun tr.sum td { font-weight: 700; }
.bi .kf { padding-bottom: 18px; }
.bi .kf-row { display: flex; align-items: flex-start; gap: 16px; margin-top: 4px; }
.bi .kf-row .field { margin-top: 12px; min-width: 0; }
.bi .kf-ch { border: 0; padding: 0; margin-inline: 0; }
.bi .kf-ch legend { margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 600; }
.bi .kf-l { flex: 1 1 auto; min-width: 0; }
.bi .kf-n { flex: 0 0 140px; }
.bi .kf .field-error { white-space: nowrap; }
.bi .kf-b { flex: none; margin-top: 12px; padding-top: 29px; }
.bi .seg-r { height: 46px; }
.bi .seg-r label { position: relative; display: inline-flex; }
.bi .seg-r label + label { border-left: 1px solid var(--color-ctl); }
.bi .seg-r input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bi .seg-r span { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; background: var(--color-surface); font-size: 15px; font-weight: 600; white-space: nowrap; }
.bi .seg-r input:checked + span { background: var(--color-ink); color: #FFFFFF; }
.bi .seg-r input:focus-visible + span { outline: 3px solid var(--color-ink); outline-offset: -3px; }
.bi .t-kody td.kl-l { white-space: normal; min-width: 220px; }
.bi .kl-u { display: inline-flex; align-items: center; gap: 10px; }
.bi .kl-t { font-variant-numeric: tabular-nums; }
.bi .kl-c { height: 30px; padding: 0 10px; font-size: 13px; }
.bi .t-kody td { height: 44px; }
@media (max-width: 1179px) { .bi .kf-row { flex-wrap: wrap; } .bi .kf-l { flex-basis: 100%; order: 2; } .bi .kf-ch { order: 1; flex-basis: 100%; } .bi .kf-n { order: 3; } .bi .kf-b { order: 4; } }
@media (max-width: 640px) {
  .bi .blk-h { flex-wrap: wrap; gap: 8px; }
  .bi .t-fun td.fun-n { max-width: none; white-space: normal; display: block; text-align: left; }
  .bi .t-fun .fun-l { display: block; margin-left: 0; font-size: 12px; font-weight: 400; }
  .bi .kf-n { flex: 1 1 0; }
  .bi .seg-r span { padding: 0 8px; font-size: 14px; }
  .bi .t-kody td.kl-l { min-width: 0; text-align: right; }
  .bi .kl-u { gap: 8px; }
}
