/* V3 hero 3D chart (All Categories) + hidden legacy left sections. 2026-11-22 */
.lc-hero3d{display:block;width:100%;box-sizing:border-box;padding:0;margin:0}
.lc-hero3d .cat-charts{display:block!important;width:100%;margin:0}
/* Card = Constant Vitals #v2-hero-dash (signed-in size) */
.lc-hero3d .cat-panel,.lc-hero3d .v3-all3d{box-sizing:border-box;margin:12px 16px 8px!important;padding:0;background:#f8fafc!important;color:#0f1d3a!important;border:1px solid #e4e4e7!important;border-radius:16px!important;overflow:hidden;display:flex!important;flex-direction:column;height:72vh;max-height:calc(100vh - 69px - 7.5rem);min-height:280px!important;width:auto!important}
html.h3d-off .lc-hero3d .cat-panel,html.h3d-off .lc-hero3d .v3-all3d{height:auto;max-height:none;min-height:0!important}
/* Header bar = .v2hd-bar */
.lc-hero3d .cat-panel-hd,.lc-hero3d .v3-all3d-hd{flex:none;display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:flex-start!important;gap:8px 12px!important;padding:10px 16px!important;background:#fff!important;border-bottom:1px solid #e4e4e7!important}
.lc-hero3d .cat-panel-hd h2,.lc-hero3d .v3-all3d-hd h2{margin:0!important;font:700 16px/1.2 Inter,system-ui,sans-serif!important;color:#0f1d3a!important;white-space:nowrap;flex:none}
.lc-hero3d .cat-panel-hd p,.lc-hero3d .v3-all3d-hd p{margin:0!important;font:500 12px/1.2 Inter,system-ui,sans-serif!important;color:#475569!important;flex:0 1 auto}
.lc-hero3d .c3-tools{display:inline-flex;gap:6px;margin-left:auto!important}
.lc-hero3d .c3-btn{font:700 11px Inter,system-ui,sans-serif!important;letter-spacing:.04em!important;padding:4px 9px!important;border-radius:6px!important;border:1px solid #0f1d3a!important;background:transparent!important;color:#0f1d3a!important;cursor:pointer;text-transform:none!important}
.lc-hero3d .c3-btn[aria-pressed="true"]{background:#0f1d3a!important;color:#fff!important}
/* Hide | Show = .v2hd-pill */
.h3d-tg{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;flex:none;border:0;background:transparent}
.h3d-tg button{font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.02em;padding:6px 12px;border-radius:999px;border:1px solid #0f1d3a;background:#fff;color:#0f1d3a;cursor:pointer;text-transform:none}
.h3d-tg button+button{border-left:1px solid #0f1d3a}
.h3d-tg button[aria-pressed="true"]{background:#0f1d3a;color:#fff}
/* Chart body = .v2hd-chart */
.lc-hero3d .cat-stage,.lc-hero3d .v3-all3d-stage{position:relative;flex:1 1 auto!important;min-height:80px!important;height:auto!important;background:#fff;overflow:hidden}
/* Canvas fills the stage at any devicePixelRatio / browser zoom (renderer.setSize(...,false) leaves CSS size unset) */
.lc-hero3d .gl{position:absolute;inset:0;overflow:hidden}.lc-hero3d .gl canvas{display:block;width:100%!important;height:100%!important}
.h3d-scores{position:relative;z-index:1}
/* Score chips = .v2hd-scores */
.h3d-scores{flex:none;display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:8px 16px 12px;list-style:none;background:#fff;border-top:1px solid #e4e4e7}
.h3d-scores li{display:inline-flex;align-items:center;gap:6px;font:600 12px/1.2 Inter,system-ui,sans-serif;color:#0f1d3a;background:#f8fafc;border:1px solid #e4e4e7;border-radius:999px;padding:4px 10px}
.h3d-dot{width:8px;height:8px;border-radius:50%;flex:none}
.h3d-na{font-weight:600;color:#64748b}
html.h3d-off .lc-hero3d .cat-stage,html.h3d-off .lc-hero3d .v3-all3d-stage,html.h3d-off .lc-hero3d .cat-panel-hd p,html.h3d-off .lc-hero3d .v3-all3d-hd p,html.h3d-off .lc-hero3d .c3-tools,html.h3d-off .h3d-scores{display:none!important}
html.h3d-off .lc-hero3d .cat-panel-hd,html.h3d-off .lc-hero3d .v3-all3d-hd{border-bottom:0!important}
@media(max-width:700px){
 .lc-hero3d .cat-panel,.lc-hero3d .v3-all3d{margin:8px 10px 6px!important;height:70vh;max-height:calc(100vh - 69px - 6.5rem);min-height:240px!important;border-radius:14px!important}
 html.h3d-off .lc-hero3d .cat-panel,html.h3d-off .lc-hero3d .v3-all3d{height:auto;max-height:none;min-height:0!important}
 .lc-hero3d .cat-panel-hd,.lc-hero3d .v3-all3d-hd{padding:8px 12px!important}
 .lc-hero3d .cat-panel-hd h2,.lc-hero3d .v3-all3d-hd h2{white-space:normal}
 .h3d-scores{padding:8px 12px 10px}
}
/* Hidden on every category page (source kept) */
.v3-dev,#wix,#example-story,.lcc-jump,.lcs-left .lcr-actions{display:none!important}
.lcs-left .cat-hero .v3-sec .v3-sec-hd{display:none!important}
.v3-sec-grid{grid-template-columns:1fr!important}
.lcs-left .cat-hero .v3-sec{margin-top:12px}
.lcs-left>.cat-hero{padding-bottom:0!important;margin-bottom:0!important}.lcs-left>.v3-foot{margin-top:16px!important}
#sphere-people,.v3-people{display:none!important}
/* Same card width as /constantvitals/ (viewport minus 16px left, 16px right, 84px rail gutter) */
@media(min-width:1024px){.lc-hero3d .cat-panel,.lc-hero3d .v3-all3d{width:calc(100vw - 116px)!important;margin-left:16px!important;margin-right:0!important}}
@media(max-width:1023px){.lc-hero3d .cat-panel,.lc-hero3d .v3-all3d{width:auto!important}}
main>.lc-hero3d{margin-left:-32px;width:calc(100% + 32px)}
@media(max-width:767px){main>.lc-hero3d{margin-left:-16px;width:calc(100% + 32px)}}
/* Short viewports (e.g. 1024x460): one compact chips row and a slimmer bar so the chart and the body peek both fit */
@media(max-height:620px) and (min-width:701px){
 .lc-hero3d .cat-panel-hd,.lc-hero3d .v3-all3d-hd{padding:6px 12px!important}
 .h3d-scores{flex-wrap:wrap;gap:4px 6px;padding:6px 12px 8px}
 .h3d-scores li{font-size:11px;padding:3px 8px;white-space:nowrap;flex:none}
}
/* Category tab bar: stretch end to end on one line (desktop); phone keeps horizontal scroll */
@media(min-width:1024px){
 .v3-tabs{justify-content:space-between;gap:2px}
 .v3-tab{flex:1 1 auto;justify-content:center;padding:0 8px}
}
@media(min-width:1024px) and (max-width:1365px){
 .v3-tab{font-size:12px;gap:5px;padding:0 6px}
 .v3-tab .v3-ico{width:15px;height:15px}
}
@media(min-width:1024px) and (max-width:1199px){
 .v3-tabs{gap:0}
 .v3-tab{font-size:11.5px;gap:4px;padding:0 4px}
 .v3-tab .v3-ico{width:14px;height:14px}
}
/* Constant Vitals dashboard (#v2-hero-dash, same markup/CSS/JS) on category pages: same card width as /constantvitals/ */
@media(min-width:1024px){.lc-cvdash #v2-hero-dash{width:calc(100vw - 116px);margin-left:16px;margin-right:0}}
/* Same body peek as /constantvitals/: shorten the card by the extra space above it (tab bar), --cvdy set inline per page */
.lc-cvdash #v2-hero-dash:not(.is-collapsed){height:calc(72vh - var(--cvdy,0px));max-height:calc(100vh - 69px - 7.5rem - var(--cvdy,0px));min-height:min-content}
.lc-cvdash .v2hd-chart{min-height:90px}
@media(max-width:700px){.lc-cvdash #v2-hero-dash:not(.is-collapsed){height:calc(70vh - var(--cvdy,0px));max-height:calc(100vh - 69px - 6.5rem - var(--cvdy,0px));min-height:min-content}}
@media(max-height:620px) and (min-width:701px){
 .lc-cvdash .v2hd-bar{padding:6px 12px}
 .lc-cvdash .v2hd-scores{gap:4px 6px;padding:6px 12px 8px}
 .lc-cvdash .v2hd-scores li{font-size:11px;padding:3px 8px}
}
