/* Stronger lower dashboards, using the customer's selected palette and genuine
   metric roles. This layer precedes the legacy palette in the appearance entry. */
@layer workspace-refinement{
 html[data-workspace-palette] .crm-shell :is(.company-performance,.ops-history-panel,.ops-source-areas,.ops-work-directory,.portfolio-pearl-intelligence,.portfolio-pearl-departments){font-family:Workspace Sans,Inter,system-ui,sans-serif!important;font-weight:500!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance,.ops-history-panel,.ops-source-areas,.ops-work-directory){background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;box-shadow:0 5px 22px color-mix(in srgb,var(--ui-ink) 3%,transparent)!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance,.ops-history-panel,.ops-source-areas,.ops-work-directory,.owner-department-card){position:relative!important;min-width:0!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance h2,.ops-section-title h2,.portfolio-pearl-departments h2,.portfolio-pearl-intelligence h2){font-family:Workspace Sans,Inter,system-ui,sans-serif!important;font-size:25px!important;line-height:1.25!important;letter-spacing:-.045em!important;font-weight:750!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance-eyebrow,.ops-section-title .ops-eyebrow,.portfolio-pearl-departments .owner-eyebrow,.portfolio-pearl-intelligence .owner-eyebrow){font-size:10px!important;font-weight:750!important;letter-spacing:.12em!important;color:var(--ui-accent)!important}
 html[data-workspace-palette] .crm-shell .company-performance>header{align-items:center!important;gap:18px!important;padding-bottom:22px!important;margin-bottom:20px!important}
 html[data-workspace-palette] .crm-shell .company-performance>header>div{min-width:0!important}
 html[data-workspace-palette] .crm-shell .company-performance [data-performance-period] label{font-size:11px!important;font-weight:650!important;color:var(--ui-muted)!important}
 html[data-workspace-palette] .crm-shell .company-performance [data-performance-period] :is(input,select){font-size:12px!important;font-weight:600!important;background:var(--ui-surface)!important;border-radius:11px!important;min-height:41px!important}
 html[data-workspace-palette] .crm-shell .company-performance [data-performance-period] button{min-height:41px!important;font-weight:700!important}
 html[data-workspace-palette] .crm-shell .company-performance-status{background:color-mix(in srgb,var(--ui-accent) 5%,var(--ui-surface))!important;border:1px solid color-mix(in srgb,var(--ui-accent) 15%,var(--ui-line))!important;border-radius:13px!important;padding:13px 16px!important;align-items:center!important}
 html[data-workspace-palette] .crm-shell .company-performance-status>strong{font-size:12px!important;font-weight:750!important;color:var(--ui-ink)!important;display:inline-flex!important;align-items:center!important;gap:8px!important}
 html[data-workspace-palette] .crm-shell .company-performance-status>strong::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ui-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-accent) 9%,transparent);flex:none}
 html[data-workspace-palette] .crm-shell .company-performance-status>strong.is-loss{color:#b53a4c!important}
 html[data-workspace-palette] .crm-shell .company-performance-status>span{font-size:11px!important;font-weight:550!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics{gap:14px!important;margin:20px 0 28px!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article{display:grid!important;grid-template-columns:31px minmax(0,1fr)!important;column-gap:10px!important;align-content:start!important;position:relative!important;background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-radius:17px!important;padding:18px!important;box-shadow:0 4px 15px color-mix(in srgb,var(--ui-ink) 3%,transparent)!important;min-width:0!important;overflow:hidden!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-metric]::before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:3px;border-radius:0 3px 3px 0;background:var(--ui-accent);opacity:.65}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>.performance-metric-icon{display:block!important;width:31px!important;height:31px!important;padding:7px!important;border-radius:10px!important;background:var(--ui-faint)!important;color:var(--ui-accent)!important;margin:0!important;grid-column:1!important;grid-row:1!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>span{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:12px!important;font-weight:650!important;color:var(--ui-muted)!important;line-height:1.5!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>strong{grid-column:1/-1!important;font-family:Workspace Sans,Inter,system-ui,sans-serif!important;font-size:clamp(20px,1.9vw,29px)!important;font-weight:750!important;letter-spacing:-.05em!important;line-height:1.2!important;margin:9px 0 8px!important;color:var(--ui-ink)!important;white-space:nowrap!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>small{grid-column:1/-1!important;justify-self:start!important;display:inline-flex!important;align-items:center!important;gap:5px!important;max-width:100%!important;font-size:10px!important;font-weight:600!important;line-height:1.55!important;padding:4px 7px!important;background:var(--ui-soft)!important;color:var(--ui-muted)!important;border-radius:7px!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>details{grid-column:1/-1!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>small .performance-change-icon{width:12px;height:12px;flex:none}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=income_cents]{background:linear-gradient(140deg,var(--ui-feature-top),var(--ui-feature-bottom))!important;border-color:transparent!important;box-shadow:0 8px 22px color-mix(in srgb,var(--ui-accent) 15%,transparent)!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=income_cents]::before{display:none}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=income_cents]>:is(span,strong){color:#fff!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=income_cents]>.performance-metric-icon{background:#ffffff24!important;color:#fff!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=income_cents]>small{background:#0000001c!important;color:#fff!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-metric=net_profit_cents]{border-color:color-mix(in srgb,var(--ui-accent) 35%,var(--ui-line))!important;background:linear-gradient(140deg,var(--ui-surface),color-mix(in srgb,var(--ui-accent) 4%,var(--ui-surface)))!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-tone=cash]>.performance-metric-icon{background:color-mix(in srgb,#168371 10%,var(--ui-surface))!important;color:#167363!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-tone=cost]>.performance-metric-icon{background:color-mix(in srgb,#ad7032 11%,var(--ui-surface))!important;color:#966027!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-tone=cost]::before{background:#b78342!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article[data-performance-tone=cash]::before{background:#258e78!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]{background:linear-gradient(140deg,#29262d,#49343d)!important;border-color:transparent!important;box-shadow:0 7px 18px #29262d14!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]::before{display:none}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]>:is(span,strong){color:#fff!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]>.performance-metric-icon{background:#ffffff1b!important;color:#ffb7c0!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]>small{background:#ffffff17!important;color:#fff!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]{gap:0!important;border-color:var(--ui-line)!important;box-shadow:none!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;box-shadow:none!important;border-radius:0!important;background:var(--ui-surface)!important;padding:14px 16px!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article>span{grid-column:1!important;grid-row:1!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article::before,html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article>.performance-metric-icon{display:none!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article>strong{grid-column:2!important;grid-row:1!important;font-size:20px!important;margin:0!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=false]>article>small{display:none!important}
 html[data-workspace-palette] .crm-shell .company-performance-columns{gap:18px!important;align-items:start!important}
 html[data-workspace-palette] .crm-shell .company-performance-columns>section{border:1px solid var(--ui-line)!important;border-radius:18px!important;padding:20px!important;background:var(--ui-surface)!important;overflow:hidden!important;box-shadow:0 4px 15px color-mix(in srgb,var(--ui-ink) 2%,transparent)!important}
 html[data-workspace-palette] .crm-shell .company-performance h3{display:flex!important;align-items:center!important;gap:10px!important;font-size:17px!important;line-height:1.4!important;font-weight:750!important;letter-spacing:-.025em!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell .overview-section-icon{width:32px!important;height:32px!important;padding:7px!important;border-radius:10px!important;background:var(--ui-faint)!important;color:var(--ui-accent)!important;flex:none;vertical-align:middle}
 html[data-workspace-palette] .crm-shell .company-performance-table{border:1px solid var(--ui-line)!important;border-radius:12px!important;overflow:auto!important}
 html[data-workspace-palette] .crm-shell .company-performance table{font-size:11px!important}
 html[data-workspace-palette] .crm-shell .company-performance thead{background:#2d2930!important}
 html[data-workspace-palette] .crm-shell .company-performance thead th{font-size:11.5px!important;font-weight:750!important;letter-spacing:.025em!important;line-height:1.5!important;color:#fff!important;background:#2d2930!important;padding:13px 10px!important;border-color:#ffffff15!important}
 html[data-workspace-palette] .crm-shell .company-performance tbody th{font-size:12px!important;font-weight:600!important;line-height:1.55!important;color:var(--ui-ink)!important;padding:12px 10px!important}
 html[data-workspace-palette] .crm-shell .company-performance tbody td{font-size:13px!important;font-weight:650!important;line-height:1.5!important;padding:12px 10px!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell .company-performance tbody tr:nth-child(even):not(.pnl-total){background:color-mix(in srgb,var(--ui-soft) 45%,var(--ui-surface))!important}
 html[data-workspace-palette] .crm-shell .company-performance .pnl-total{background:color-mix(in srgb,var(--ui-accent) 6%,var(--ui-surface))!important;font-weight:750!important}
 html[data-workspace-palette] .crm-shell .company-performance .pnl-total :is(th,td){font-weight:750!important}
 html[data-workspace-palette] .crm-shell .company-performance tr[data-performance-line=net_profit_cents]{background:linear-gradient(110deg,var(--ui-feature-top),var(--ui-feature-bottom))!important;border-top:0!important}
 html[data-workspace-palette] .crm-shell .company-performance tr[data-performance-line=net_profit_cents] :is(th,td){color:#fff!important;background:transparent!important;font-weight:750!important;border-color:transparent!important}
 html[data-workspace-palette] .crm-shell .company-performance-chart{min-height:190px!important;margin:12px 0!important}
 html[data-workspace-palette] .crm-shell .company-performance-chart text{font-family:Workspace Sans,Inter,sans-serif!important;font-weight:550!important;font-size:14px!important}
 html[data-workspace-palette] .crm-shell .company-performance-chart polyline{stroke-width:3.5!important;stroke-linecap:round!important;filter:drop-shadow(0 2px 3px color-mix(in srgb,var(--ui-ink) 8%,transparent))}
 html[data-workspace-palette] .crm-shell .company-performance-chart polyline[stroke="#b35f33"]{stroke:#d08a36!important}
 html[data-workspace-palette] .crm-shell .company-performance-chart polyline[stroke="#168371"]{stroke:#169376!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend{gap:7px!important;margin:12px 0 18px!important;font-size:10px!important;font-weight:650!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span{gap:6px!important;padding:6px 8px!important;border:1px solid var(--ui-line)!important;border-radius:7px!important;background:var(--ui-surface)!important;color:var(--ui-muted)!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span:nth-child(1){background:color-mix(in srgb,var(--ui-accent) 7%,var(--ui-surface))!important;border-color:color-mix(in srgb,var(--ui-accent) 22%,var(--ui-line))!important;color:var(--ui-link)!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span:nth-child(2){background:color-mix(in srgb,#d08a36 7%,var(--ui-surface))!important;border-color:color-mix(in srgb,#d08a36 22%,var(--ui-line))!important;color:#a06523!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span:nth-child(3){background:color-mix(in srgb,#169376 7%,var(--ui-surface))!important;border-color:color-mix(in srgb,#169376 22%,var(--ui-line))!important;color:#11775f!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span:nth-child(2) rect{fill:#d08a36!important}
 html[data-workspace-palette] .crm-shell .company-performance-legend>span:nth-child(3) rect{fill:#169376!important}
 html[data-workspace-palette] .crm-shell .company-performance-balances{gap:10px!important}
 html[data-workspace-palette] .crm-shell .company-performance-balances>div{padding:13px!important;border:1px solid var(--ui-line)!important;border-radius:11px!important;background:var(--ui-soft)!important}
 html[data-workspace-palette] .crm-shell .company-performance-balances span{font-size:10px!important;font-weight:600!important;line-height:1.5!important}
 html[data-workspace-palette] .crm-shell .company-performance-balances strong{font-family:Workspace Sans,Inter,sans-serif!important;font-size:17px!important;font-weight:750!important;letter-spacing:-.04em!important;line-height:1.3!important}
 html[data-workspace-palette] .crm-shell .company-performance-forecast,html[data-workspace-palette] .crm-shell .ops-model-note{border:1px solid color-mix(in srgb,var(--ui-accent) 18%,var(--ui-line))!important;border-left:4px solid var(--ui-accent)!important;border-radius:15px!important;background:linear-gradient(120deg,var(--ui-surface),color-mix(in srgb,var(--ui-accent) 4%,var(--ui-surface)))!important;padding:20px!important}
 html[data-workspace-palette] .crm-shell .company-performance-forecast :is(h3,strong),html[data-workspace-palette] .crm-shell .ops-model-note>strong{font-weight:750!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell .company-performance-forecast p,html[data-workspace-palette] .crm-shell .ops-model-note p{font-size:12px!important;font-weight:500!important;line-height:1.75!important;color:var(--ui-muted)!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance-source,.owner-source-note,.ops-caption){font-size:11px!important;font-weight:500!important;line-height:1.8!important;color:var(--ui-muted)!important}
 html[data-workspace-palette] .crm-shell .company-performance details>summary{font-weight:650!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell :is(.company-performance-native,.portfolio-pearl-intelligence){background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-radius:18px!important}
 html[data-workspace-palette] .crm-shell .company-performance-native .company-performance-metrics>article{background:var(--ui-soft)!important;box-shadow:none!important}
 html[data-workspace-palette] .crm-shell .ops-section-title{align-items:center!important;margin-bottom:23px!important}
 html[data-workspace-palette] .crm-shell .ops-section-title h2{display:flex!important;align-items:center!important;gap:11px!important}
 html[data-workspace-palette] .crm-shell .ops-history-controls{padding:14px 16px!important;background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:13px!important;align-items:center!important;gap:14px!important}
 html[data-workspace-palette] .crm-shell .ops-history-controls label{font-size:11px!important;font-weight:650!important}
 html[data-workspace-palette] .crm-shell .ops-history-controls select{font-weight:600!important}
 html[data-workspace-palette] .crm-shell .ops-history-controls>span{font-size:11px!important;font-weight:550!important;margin:0!important}
 html[data-workspace-palette] .crm-shell .ops-history-chart{background:linear-gradient(180deg,color-mix(in srgb,var(--ui-accent) 2%,var(--ui-surface)),var(--ui-surface));border-radius:13px!important;padding:10px 3px!important}
 html[data-workspace-palette] .crm-shell .ops-history-line{stroke-width:3.5!important;stroke-linecap:round!important}
 html[data-workspace-palette] .crm-shell .ops-history-point{stroke:var(--ui-surface)!important;stroke-width:2!important}
 html[data-workspace-palette] .crm-shell .ops-chart-label{font-family:Workspace Sans,Inter,sans-serif!important;font-weight:600!important}
 html[data-workspace-palette] .crm-shell .ops-chart-value{font-family:Workspace Sans,Inter,sans-serif!important;font-weight:700!important}
 html[data-workspace-palette] .crm-shell :is(.ops-history-panel,.ops-source-areas,.ops-work-directory){padding:26px!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.ops-work-grid,.owner-department-grid){gap:16px!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid>article,.ops-work-card,.owner-department-card){border:1px solid var(--ui-line)!important;border-radius:16px!important;background:var(--ui-surface)!important;padding:21px!important;box-shadow:0 4px 16px color-mix(in srgb,var(--ui-ink) 3%,transparent)!important;min-width:0!important;overflow:hidden!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid>article,.ops-work-card,.owner-department-card)::before{content:'';position:absolute;left:21px;right:21px;top:0;height:3px;background:linear-gradient(90deg,var(--ui-accent),color-mix(in srgb,var(--ui-accent) 10%,var(--ui-surface)));border-radius:0 0 4px 4px;opacity:.8}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid>article,.ops-work-card){position:relative!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid h3,.ops-work-card h3,.owner-department-card h2){display:flex!important;align-items:center!important;gap:10px!important;font-size:16px!important;font-weight:750!important;line-height:1.4!important;letter-spacing:-.025em!important;color:var(--ui-ink)!important;margin:0 0 14px!important}
 html[data-workspace-palette] .crm-shell .overview-area-icon{display:block;width:33px!important;height:33px!important;padding:8px!important;flex:none;background:var(--ui-faint)!important;border-radius:10px!important;color:var(--ui-accent)!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.owner-department-card) dl>div{gap:14px!important;padding:11px 0!important;border-color:var(--ui-line)!important;align-items:center!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.owner-department-card) dt{font-size:12px!important;font-weight:550!important;line-height:1.65!important;color:var(--ui-muted)!important;min-width:0!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.owner-department-card) dd{font-family:Workspace Sans,Inter,sans-serif!important;font-size:15px!important;font-weight:750!important;letter-spacing:-.03em!important;line-height:1.4!important;color:var(--ui-ink)!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html[data-workspace-palette] .crm-shell .ops-area-grid article>a{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:15px!important;padding:10px 12px!important;border-radius:9px!important;background:var(--ui-faint)!important;color:var(--ui-link)!important;font-size:11px!important;font-weight:700!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.ops-work-card) details{font-weight:500!important;font-size:10px!important;line-height:1.8!important}
 html[data-workspace-palette] .crm-shell :is(.ops-area-grid,.ops-work-card) summary{font-weight:650!important;color:var(--ui-muted)!important}
 html[data-workspace-palette] .crm-shell :is(.ops-work-card a,.owner-work-links :is(a,button)){font-size:11px!important;font-weight:650!important;line-height:1.55!important;min-height:39px!important;border-color:var(--ui-line)!important;color:var(--ui-ink)!important;background:var(--ui-surface)!important}
 html[data-workspace-palette] .crm-shell :is(.ops-work-card a,.owner-work-links :is(a,button)):hover{color:var(--ui-link)!important;background:var(--ui-faint)!important;border-color:color-mix(in srgb,var(--ui-accent) 25%,var(--ui-line))!important}
 html[data-workspace-palette] .crm-shell .owner-department-card .owner-section-heading{margin-bottom:3px!important}
 html[data-workspace-palette] .crm-shell .owner-department-card .owner-open-department{background:var(--ui-faint)!important;color:var(--ui-accent)!important;border:0!important;border-radius:50%!important;min-width:30px!important;min-height:30px!important}
 html[data-workspace-palette] .crm-shell .portfolio-pearl-departments{padding:23px!important;border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important}
 html[data-workspace-palette] .crm-shell .owner-tabs{background:var(--ui-soft)!important;padding:6px!important;gap:5px!important}
 html[data-workspace-palette] .crm-shell .owner-tabs button{font-weight:650!important;border-radius:9px!important}
 html[data-workspace-palette] .crm-shell .owner-tabs button[aria-selected=true]{background:var(--ui-active)!important;color:var(--ui-on-active)!important;box-shadow:0 2px 7px #00000013!important}
 html[data-workspace-palette] .crm-shell .owner-count{font-weight:700!important;border-color:color-mix(in srgb,var(--ui-accent) 20%,var(--ui-line))!important;background:var(--ui-faint)!important;color:var(--ui-link)!important}
 html[data-workspace-palette] .crm-shell .owner-findings>article{background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-left:3px solid var(--ui-accent)!important;box-shadow:none!important}
 html[data-workspace-palette] .crm-shell .owner-finding-meta>span{font-size:10px!important;font-weight:700!important;color:var(--ui-accent)!important}
 html[data-workspace-palette] .crm-shell .owner-findings h3{font-size:17px!important;font-weight:750!important;color:var(--ui-ink)!important}
 html[data-workspace-palette] .crm-shell .owner-next{background:var(--ui-soft)!important;border-radius:10px!important;font-weight:500!important}
 html[data-workspace-mode=night] .crm-shell .company-performance-metrics>article[data-performance-tone=cash]>.performance-metric-icon{color:#8ad2ba!important}
 html[data-workspace-mode=night] .crm-shell .company-performance-metrics>article[data-performance-tone=cost]>.performance-metric-icon{color:#e7b782!important}
 html[data-workspace-mode=night] .crm-shell .company-performance .is-loss{color:#ff9eaf!important}
 html[data-workspace-mode=night] .crm-shell .company-performance-legend>span:nth-child(2){color:#f0bd7e!important}
 html[data-workspace-mode=night] .crm-shell .company-performance-legend>span:nth-child(3){color:#83d9be!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics>article>strong.is-loss{color:#b53a4c!important}
 html[data-workspace-mode=night] .crm-shell .company-performance-metrics>article>strong.is-loss{color:#ff9eaf!important}
 html[data-workspace-palette] .crm-shell .company-performance-metrics[data-financial-available=true]>article[data-performance-metric=net_profit_cents]>strong.is-loss{color:#ffb0bc!important}
 html[data-workspace-density=compact] .crm-shell :is(.company-performance-metrics>article,.ops-area-grid>article,.ops-work-card,.owner-department-card){padding:16px!important}
 html[data-workspace-shape=structured] .crm-shell :is(.company-performance-metrics>article,.company-performance-columns>section,.ops-area-grid>article,.ops-work-card,.owner-department-card){border-radius:9px!important}
 @media(max-width:1100px){html[data-workspace-palette] .crm-shell .company-performance-metrics>article>strong{font-size:23px!important}}
 @media(max-width:800px){html[data-workspace-palette] .crm-shell .company-performance-columns>section{padding:17px!important}html[data-workspace-palette] .crm-shell .company-performance-columns{grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:650px){
  html[data-workspace-palette] .crm-shell :is(.company-performance h2,.ops-section-title h2,.portfolio-pearl-departments h2,.portfolio-pearl-intelligence h2){font-size:22px!important}
  html[data-workspace-palette] .crm-shell :is(.ops-history-panel,.ops-source-areas,.ops-work-directory){padding:19px!important}
  html[data-workspace-palette] .crm-shell .company-performance-metrics>article{padding:16px!important}
  html[data-workspace-palette] .crm-shell .company-performance-metrics>article>strong{font-size:22px!important}
  html[data-workspace-palette] .crm-shell .company-performance-columns>section{padding:14px!important}
  html[data-workspace-palette] .crm-shell .company-performance-chart{min-height:160px!important}
  html[data-workspace-palette] .crm-shell .company-performance-chart text{font-size:23px!important}
  html[data-workspace-palette] .crm-shell .company-performance-balances strong{font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  html[data-workspace-palette] .crm-shell :is(.ops-area-grid>article,.ops-work-card,.owner-department-card){padding:18px!important}
  html[data-workspace-palette] .crm-shell .company-performance :is(.company-performance-forecast,.company-performance-native){padding:16px!important}
  html[data-workspace-palette] .crm-shell .ops-history-controls{padding:12px!important}
  html[data-workspace-palette] .crm-shell .overview-area-icon{width:30px;height:30px;padding:7px}
 }
 @media(max-width:480px){html[data-workspace-palette] .crm-shell .company-performance-metrics{grid-template-columns:minmax(0,1fr)!important}}
}
@layer workspace-refinement {
 html[data-workspace-palette] .crm-shell .company-performance-status>strong::before{background:var(--ui-muted)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-muted) 10%,transparent)!important}
 html[data-workspace-palette] .crm-shell .company-performance-status>strong.is-profit::before{background:#208263!important;box-shadow:0 0 0 4px #20826314!important}
 html[data-workspace-palette] .crm-shell .company-performance-status>strong.is-loss::before{background:#b53a4c!important;box-shadow:0 0 0 4px #b53a4c14!important}
}
