/* Read-only performance views use the same owner palette in light and dark. */
.owner-workspace .ow-performance{min-width:0}
.owner-workspace .ow-perf-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}
.owner-workspace .ow-perf-intro>div{min-width:0}
.owner-workspace .ow-perf-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px 18px;background:var(--surface2);border:1px solid var(--border);border-radius:11px}
.owner-workspace .ow-perf-filter{display:grid;gap:6px;flex:1;min-width:140px;max-width:265px;font-size:10px;color:var(--muted)}
.owner-workspace .ow-perf-filter select{width:100%;min-width:0;background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:7px;min-height:37px;padding:8px 28px 8px 10px;font-size:11px}
.owner-workspace .ow-perf-filters>.btn{margin-left:auto}
.owner-workspace .ow-perf-table{min-width:850px;width:100%;font-size:11px}
.owner-workspace .ow-perf-table th:first-child{min-width:165px}
.owner-workspace .ow-perf-table tbody th{text-align:left;font-weight:400;color:var(--text);font-size:11px}
.owner-workspace .ow-perf-table small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:4px;white-space:normal;max-width:180px}
.owner-workspace .ow-perf-table td{vertical-align:middle}
.owner-workspace .ow-perf-channel{background:var(--surface2)}
.owner-workspace .ow-perf-channel th:first-child{font-weight:500}
.owner-workspace .ow-perf-channel small{font-weight:400}
.owner-workspace .ow-perf-table .ow-perf-service th:first-child{padding-left:23px;color:var(--muted)}
.owner-workspace .ow-perf-service th>span{color:var(--faint);margin-right:7px}
.owner-workspace .ow-perf-shared td{font-size:9px;color:var(--muted);font-style:italic}
.owner-workspace .ow-perf-table tbody+tbody .ow-perf-channel>*{border-top:14px solid var(--surface)}
.owner-workspace .ow-perf-link{padding:3px 0;border:0;background:transparent;color:var(--accent);font:inherit;text-align:inherit;cursor:pointer;text-underline-offset:3px}
.owner-workspace .ow-perf-link:hover{text-decoration:underline}
.owner-workspace .ow-stat .ow-perf-link{line-height:1.2}
.owner-workspace .ow-perf-rate{font-size:10px;color:var(--olive);font-variant-numeric:tabular-nums}
.owner-workspace .ow-perf-small-sample{color:var(--muted);border-bottom:1px dotted var(--faint)}
.owner-workspace .ow-performance .ow-card>.ow-footnote{margin:16px 0 0}
.owner-workspace .ow-perf-trend{display:grid;gap:0}
.owner-workspace .ow-perf-trend-head,.owner-workspace .ow-perf-trend-row{display:grid;grid-template-columns:68px minmax(90px,1fr) 46px 88px;gap:14px;align-items:center}
.owner-workspace .ow-perf-trend-head{font-size:8px;color:var(--muted);padding:0 0 10px}
.owner-workspace .ow-perf-trend-head>span:nth-child(n+3){text-align:right}
.owner-workspace .ow-perf-trend-row{padding:11px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.owner-workspace .ow-perf-trend-row>.num{text-align:right}
.owner-workspace .ow-perf-trend-row small{display:block;font-size:8px}
.owner-workspace .ow-perf-trend-count{display:grid;gap:5px}
.owner-workspace .ow-perf-trend-count>.ow-perf-link{justify-self:start;color:var(--text)}
.owner-workspace .ow-perf-trend-bar{height:6px;display:block;position:relative;background:var(--surface2);border-radius:3px;overflow:hidden}
.owner-workspace .ow-perf-trend-bar i,.owner-workspace .ow-perf-trend-bar b{display:block;position:absolute;left:0;top:0;height:100%;border-radius:3px;background:var(--olive);opacity:.3}
.owner-workspace .ow-perf-trend-bar b{background:var(--accent);opacity:1}
.owner-workspace .ow-perf-explainer h3,.owner-workspace .ow-perf-evidence h3{font-size:18px;line-height:1.4;font-weight:400;letter-spacing:-.025em;color:var(--text);margin:15px 0 10px;max-width:370px}
.owner-workspace .ow-perf-explainer p,.owner-workspace .ow-perf-evidence p{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0}
.owner-workspace .ow-perf-badge{display:inline-flex;font-size:9px;line-height:1.4;padding:5px 8px;border:1px solid var(--border);border-radius:5px;background:var(--surface2);color:var(--olive)}
.owner-workspace .ow-perf-period{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;display:grid;gap:5px;color:var(--muted)}
.owner-workspace .ow-perf-period>span{font-size:10px}
.owner-workspace .ow-perf-period>strong{font-size:28px;font-weight:400;letter-spacing:-.03em}
.owner-workspace .ow-perf-period>small{font-size:9px}
.owner-workspace .ow-perf-matrix{width:100%;min-width:830px;table-layout:fixed}
.owner-workspace .ow-perf-matrix th{white-space:normal!important;line-height:1.5}
.owner-workspace .ow-perf-matrix th:first-child{width:140px}
.owner-workspace .ow-perf-matrix tbody th{font-weight:500;font-size:11px;color:var(--text);text-align:left}
.owner-workspace .ow-perf-matrix td{vertical-align:top;border-left:1px solid var(--line)}
.owner-workspace .ow-perf-matrix .ow-perf-link{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left}
.owner-workspace .ow-perf-matrix .ow-perf-link strong{font-size:21px;font-weight:400;letter-spacing:-.04em;color:var(--olive)}
.owner-workspace .ow-perf-matrix .ow-perf-link span{font-size:9px;color:var(--text)}
.owner-workspace .ow-perf-matrix td>small{display:block;font-size:9px;color:var(--muted);margin-top:6px;white-space:normal}
.owner-workspace .ow-perf-story{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:22px;background:var(--hero);color:var(--hero-text);padding:25px 28px;border-radius:13px}
.owner-workspace .ow-perf-story div>span{font-size:8px;letter-spacing:.1em;color:var(--hero-muted)}
.owner-workspace .ow-perf-story h3{font-size:18px;line-height:1.4;letter-spacing:-.025em;font-weight:400;margin:10px 0;color:var(--hero-text)}
.owner-workspace .ow-perf-story p{font-size:10px;line-height:1.7;color:var(--hero-muted);margin:0}
.owner-workspace .ow-perf-story>i{font-size:24px;align-self:center;font-style:normal;color:var(--hero-muted)}
.owner-workspace .ow-perf-detail{border-color:var(--olive);box-shadow:0 5px 22px #00000009;scroll-margin-top:20px}
.owner-workspace .ow-perf-detail .ow-card-head{align-items:start}
.owner-workspace .ow-perf-detail .ow-card-head h2{line-height:1.5}
.owner-workspace .ow-perf-detail-toolbar{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px}
.owner-workspace .ow-perf-detail-toolbar label{display:grid;gap:6px;font-size:10px;color:var(--muted);width:320px;max-width:100%}
.owner-workspace .ow-perf-detail-toolbar input{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:7px;min-height:36px;padding:8px 10px;font-size:11px}
.owner-workspace .ow-perf-detail-toolbar>span{font-size:10px;color:var(--muted)}
.owner-workspace .ow-perf-pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:17px;color:var(--muted);font-size:10px}
.owner-workspace .ow-perf-pagination button:disabled{cursor:default}
.owner-workspace .ow-perf-coverage{display:flex;justify-content:space-between;align-items:center;gap:20px}
.owner-workspace .ow-perf-coverage .ow-footnote{margin:0}
.owner-workspace .ow-perf-coverage>.btn{flex:none}
@media(max-width:1150px){
  .owner-workspace .ow-performance .ow-two-col{grid-template-columns:1fr}
  .owner-workspace .ow-perf-story{gap:15px;padding:22px}
  .owner-workspace .ow-perf-trend-head,.owner-workspace .ow-perf-trend-row{grid-template-columns:78px minmax(90px,1fr) 55px 105px}
}
@media(max-width:700px){
  .owner-workspace .ow-perf-intro{align-items:start;flex-direction:column;gap:12px}
  .owner-workspace .ow-perf-filters{padding:13px;gap:10px}
  .owner-workspace .ow-perf-filter{min-width:calc(50% - 10px);max-width:none}
  .owner-workspace .ow-perf-filters>.btn{margin-left:0}
  .owner-workspace .ow-perf-story{grid-template-columns:1fr;gap:15px;padding:22px}
  .owner-workspace .ow-perf-story>i{display:none}
  .owner-workspace .ow-perf-story>div+div{border-top:1px solid #daceb433;padding-top:12px}
  .owner-workspace .ow-perf-story h3{font-size:17px;margin:5px 0 7px}
  .owner-workspace .ow-perf-trend-head,.owner-workspace .ow-perf-trend-row{grid-template-columns:58px minmax(64px,1fr) 42px 72px;gap:9px}
  .owner-workspace .ow-perf-trend-row{font-size:9px}
  .owner-workspace .ow-perf-trend-head{font-size:7px}
  .owner-workspace .ow-perf-detail-toolbar{align-items:start;flex-direction:column;gap:9px}
  .owner-workspace .ow-perf-detail-toolbar label{width:100%}
  .owner-workspace .ow-perf-pagination{justify-content:space-between;gap:8px}
  .owner-workspace .ow-perf-coverage{align-items:start;flex-direction:column;gap:10px}
}
