/* Round twenty-nine: stable TV layout for chronic, executive and family pages. */

html.page-chronic body.page-chronic .chronic-trend-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;min-width:0!important;}
html.page-chronic body.page-chronic [data-header-legend="chronic-trend"]{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;column-gap:0!important;margin-left:10px!important;white-space:nowrap!important;}
html.page-chronic body.page-chronic [data-header-legend="chronic-trend"]>.chart-header-legend-item+.chart-header-legend-item{margin-left:8px!important;}

html.page-executive.page-executive.page-executive body.page-executive.page-executive.page-executive .score-card .score-ring{position:relative!important;width:216px!important;height:216px!important;min-width:216px!important;min-height:216px!important;max-width:216px!important;max-height:216px!important;flex:0 0 216px!important;margin-left:auto!important;margin-right:auto!important;overflow:visible!important;}
html.page-executive.page-executive.page-executive body.page-executive.page-executive.page-executive .score-card .score-ring>svg{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;display:block!important;transform:rotate(-90deg)!important;transform-origin:center center!important;}
html.page-executive.page-executive.page-executive body.page-executive.page-executive.page-executive .score-card .score-content{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;transform:none!important;z-index:2!important;}
html.page-executive body.page-executive .executive-ai-grid{gap:0!important;column-gap:0!important;}
html.page-executive body.page-executive .executive-ai-grid>.executive-ai-item+.executive-ai-item{margin-left:12px!important;}
html.page-executive body.page-executive .executive-ai-item{display:flex!important;align-items:flex-start!important;border:1px solid var(--dashboard-border)!important;background:var(--dashboard-surface)!important;border-radius:10px!important;padding:12px!important;column-gap:0!important;}
html.page-executive body.page-executive .executive-ai-icon{width:40px!important;height:40px!important;min-width:40px!important;border-radius:10px!important;margin:0 10px 0 0!important;}

html.page-family.page-family.page-family body.page-family.page-family.page-family .family-chart-row>.family-split-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:12px!important;min-width:0!important;min-height:0!important;}
html.page-family body.page-family .family-archive-card,
html.page-family body.page-family .family-risk-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;overflow:hidden!important;}
html.page-family.page-family.page-family body.page-family.page-family.page-family .family-archive-card>.family-risk-progress-pane{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;justify-content:center!important;margin:0!important;min-height:0!important;}
html.page-family.page-family.page-family body.page-family.page-family.page-family .family-risk-card>.family-risk-archive-content{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;align-items:center!important;}
html.page-family body.page-family .family-risk-card #familyRiskChart{grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:150px!important;}
html.page-family body.page-family .family-risk-card .family-risk-labels{grid-column:1!important;grid-row:2!important;width:100%!important;padding-top:4px!important;}
