.pf-intro { color: var(--muted); margin: -14px 0 22px; font-size: 13px; }
.pf-toolbar { gap: 12px 18px; margin-bottom: 24px; }
.pf-toolbar label, .portfolio .sec-head label { font-size: 12.5px; color: var(--muted); }
.pf-toolbar select { max-width: 235px; }
.pf-toolbar input { width: 300px; }
.pf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 18px 0; margin-bottom: 28px; }
.pf-kpis > div { padding: 0 24px; border-left: 1px solid var(--line-2); min-width: 0; }
.pf-kpis > div:first-child { padding-left: 0; border: 0; }
.pf-kpis > div > span { font-size: 13px; color: var(--muted); }
.pf-kpis strong { display: block; font: 600 34px/1.65 var(--font-sans); font-variant-numeric: tabular-nums; }
.pf-kpis strong small { display: inline; font-size: 12px; margin-left: 7px; }
.pf-kpis > div > small { font-size: 11px; }
.pf-kpis .tag { font-size: 16px; padding: 4px 10px; vertical-align: 4px; }
.pf-distribution { margin: 0 0 22px; }
.pf-status-bar { display: flex; height: 20px; gap: 3px; margin-bottom: 12px; }
.pf-status-deal { background: var(--red); }
.pf-status-fail { background: var(--bar2); }
.pf-status-live { background: var(--ink); }
.pf-status-wait { background: white; border: 1px solid var(--ink); }
.pf-status-plain { background: var(--soft); border: 1px solid var(--line-2); }
.pf-status-legend { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.pf-status-legend button { border: 0; padding: 0 0 5px; height: 32px; font-size: 12.5px; border-bottom: 2px solid transparent; }
.pf-status-legend button.on { border-bottom-color: var(--red); color: var(--red); }
.pf-status-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; }
.pf-status-legend b { font: 500 14px var(--font-sans); margin-left: 4px; }
.pf-focus { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 18px 0 8px; font-size: 12px; }
.pf-focus > .muted { margin-right: 8px; }
.pf-focus button { border-color: var(--line-2); font-size: 12.5px; padding: 0 12px; }
.pf-focus b { margin-left: 12px; font: 500 15px var(--font-sans); }
.pf-focus button.on { border-color: var(--ink); background: var(--ink); color: white; }
.pf-focus-note { margin: 0 0 24px; font-size: 11.5px; color: var(--muted); }
.pf-list { margin-top: 24px; }
.pf-inline { padding: 0; height: auto; line-height: 1.6; background: transparent; border: 0; color: var(--red); font-size: inherit; text-decoration: underline; margin-left: 6px; }
.pf-signal { white-space: nowrap; margin-top: 4px; color: var(--muted); font-size: 11px; }
.pf-asset-table td.name { max-width: 380px; min-width: 240px; width: 36%; }
.pf-asset-table td.name small, .pf-enterprise-table td.name small { margin-top: 4px; }
.pf-enterprise-table td.name { max-width: 320px; min-width: 240px; width: 30%; }
.pf-enterprise-info { margin: -8px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.pf-enterprise-info summary { cursor: pointer; color: var(--muted); }
.pf-enterprise-info[open] summary { margin-bottom: 14px; color: var(--ink); }
.pf-method { margin-top: 24px; }
.pf-asset-summary .pf-kpis { border-top: 0; padding-top: 0; }
.pf-result-note { border-top: 1px solid var(--line); padding: 12px 0; color: var(--red); font-size: 13px; margin: -12px 0 24px; }
.portfolio button:active { transform: scale(.98); }
@media (max-width: 1200px) {
  .pf-kpis > div { padding: 0 14px; }
  .pf-kpis strong { font-size: 28px; }
}
@media (max-width: 760px) {
  .pf-toolbar { gap: 12px; }
  .pf-toolbar input { width: 100%; }
  .pf-toolbar label { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .pf-toolbar select { width: 220px; max-width: 70%; }
  .pf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .pf-kpis > div, .pf-kpis > div:first-child { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); }
  .pf-kpis > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .pf-kpis strong { font-size: 26px; }
  .pf-focus { gap: 8px; }
  .pf-focus > .muted { width: 100%; }
  .pf-enterprise-info .info { grid-template-columns: 85px minmax(0, 1fr); }
  .pf-enterprise-info summary { line-height: 1.8; }
}
