/* Shared A2 tokens. View-specific density follows the navigation implementation. */
@font-face{font-family:'Bebas Neue';src:url('fonts/a2-bebas-neue-latin.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Saira';src:url('fonts/a2-saira-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Archivo';src:url('fonts/a2-archivo-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--fs-base:14px;--fs-nav:14px;--fs-small:13px;--fs-meta:12px;--fs-title:20px;--fs-display:28px;--fs-card:14px;--fs-kpi:32px;--weight-regular:400;--weight-semibold:600;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--radius-sm:6px;--radius-card:12px;--radius-pill:100px;--icon-nav:18px;--icon-main:20px;--menu-width:240px;--panel-width:288px;--shell-header:56px;--nav-row:40px;--touch-min:44px;--a2-nav-bg:#061016;--a2-nav-text:#f2f5f3;--a2-nav-muted:#b2c0bd;--a2-nav-line:rgba(177,211,202,.23);--a2-lime:#a6e82c;--a2-lime-hi:#c2ff4d}
@media(max-width:1023px){:root{--fs-kpi:28px;--nav-row:var(--touch-min)}}

/* Secondary text keeps its size; increase tone for AA on the existing panels. */
@layer tl-actions{
 html[data-theme='dark'] body[data-menu-a2]{--tl-text-2:var(--a2-nav-muted);--tl-text-3:var(--a2-nav-muted);--muted:var(--a2-nav-muted)}
 html[data-theme='light'] body[data-menu-a2]{--tl-text-3:#52645e}
}

/* Preserve the former inline heading treatment in the before-comparison mode. */
.a2-card-title{font-weight:700;margin-bottom:8px}

/* Shared density roles; migrate one view at a time without changing its renderer. */
:root{--card-pad:var(--sp-4);--grid-gap:var(--sp-4);--section-gap:var(--sp-6);--line-body:1.5;--line-small:1.4}
@media(max-width:1023px){:root{--card-pad:var(--sp-3);--grid-gap:var(--sp-3);--section-gap:var(--sp-4)}}
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-resumen,#view-forma){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:var(--weight-regular) var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) *{font-weight:inherit!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(b,strong,button,summary,.gz-title,.eb-title,.gl-lbl,.rz-focus-kicker,.hs-kicker,.tl-chart-heading){font-weight:var(--weight-semibold)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(p,.st-note,.eh-msg,.hs-card p,.rz-meta p){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(small,.muted,.lbl,.gz-title,.gz-status,.ehr-lbl,.st-chip,.tl-chart-eyebrow,.rz-role,.gl-num,.hs-kicker,.hs-week span,.hs-race){font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.lbl,.tl-chart-eyebrow,.hs-kicker){font-size:var(--fs-meta)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(h3,.eb-title,.rz-focus-kicker){font-size:var(--fs-card)!important;line-height:1.3!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.view-title,.eh-state){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .view-title{min-height:0!important;height:auto!important;padding:var(--sp-2) var(--sp-3)!important;margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .view-title b{font-weight:400!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.card,.rz-card,.hs-card,.gz-card,.estado-hero,.rz-focus-card){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.card,.rz-card){margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.gz-grid,.rz-focus-grid,.rz-tabs,.hs-home,.hs-week){gap:var(--grid-gap)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-card{display:grid!important;justify-items:center!important;align-content:start!important;gap:var(--sp-1)!important;min-height:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-svg{width:120px!important;height:112px!important;max-width:100%!important;display:block!important;margin:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-big{font:400 var(--fs-kpi)/1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-small{font:400 var(--fs-meta)/1.4 'Saira',sans-serif!important;fill:var(--tl-text-2)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-status{margin:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .a2-card-title{font:var(--weight-semibold) var(--fs-card)/1.4 'Saira',sans-serif!important;margin-bottom:var(--sp-2)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .estado-hero{margin-bottom:var(--grid-gap)!important;gap:var(--sp-3)!important;min-height:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .eh-badge{width:var(--touch-min)!important;height:var(--touch-min)!important;min-width:var(--touch-min)!important;font-size:var(--fs-title)!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .ehr-num{font:400 var(--fs-kpi)/1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .eh-ratio{margin-left:auto!important;min-width:0!important}
 html body[data-density-a2] :is(#view-resumen,#view-forma) .tl-chart-eyebrow{margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-resumen :is(.hs-home h2,.rz-meta h1){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0 var(--sp-2)!important}
 html body[data-density-a2] #view-resumen .hs-home h3{font:600 var(--fs-card)/1.4 'Saira',sans-serif!important;margin:var(--sp-1) 0 var(--sp-2)!important}
 html body[data-density-a2] #view-resumen .hs-week{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-resumen .hs-week article{gap:var(--sp-1)!important}
 html body[data-density-a2] #view-resumen .hs-week strong{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-resumen .hs-card p{margin:var(--sp-2) 0 var(--sp-3)!important}
 html body[data-density-a2] #view-resumen :is(.rz-hero,.rz-tabs){padding:var(--card-pad)!important;gap:var(--grid-gap)!important;margin-top:var(--grid-gap)!important}
 html body[data-density-a2] #view-resumen .rz-hero{min-height:0!important}
 html body[data-density-a2] #view-resumen .rz-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-resumen :is(.rz-ready-row strong,.rz-race-count strong){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-resumen :is(.rz-next-title,.rz-race-name){font-size:var(--fs-card)!important;line-height:1.4!important}
 html body[data-density-a2] #view-resumen .rz-focus-action{font-size:var(--fs-small)!important;min-height:var(--touch-min)!important;padding:var(--sp-2) 0!important}
 html body[data-density-a2] #view-resumen .gz-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-resumen .gz-card{grid-template-columns:120px minmax(0,1fr)!important;align-items:center!important;align-content:center!important;justify-items:start!important;column-gap:var(--sp-3)!important;min-height:136px!important;text-align:left!important}
 html body[data-density-a2] #view-resumen .gz-svg{grid-column:1!important;grid-row:1 / 3!important}
 html body[data-density-a2] #view-resumen .gz-title{grid-column:2!important;grid-row:1!important;align-self:end!important}
 html body[data-density-a2] #view-resumen .gz-status{grid-column:2!important;grid-row:2!important;align-self:start!important}

 html body[data-density-a2] #view-resumen .rz-tabs{padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-resumen .rz-tier{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-height:0!important}
 html body[data-density-a2] #view-resumen .rz-tier h3{margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-resumen .rz-badge{width:128px!important;min-width:128px!important;padding:var(--sp-3)!important}
 html body[data-density-a2] #view-resumen .rz-badge b{font:400 var(--fs-kpi)/1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-resumen .rz-badge small{font-size:var(--fs-meta)!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2]:has(#view-resumen:not(.hidden),#view-forma:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;min-height:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-forma:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2]:has(#view-forma:not(.hidden)) main.center>.top .countdown{min-width:0!important;min-height:0!important;padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2]:has(#view-forma:not(.hidden)) main.center>.top .countdown .num{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}

 @media(min-width:1024px){
  html body[data-density-a2] #formaBody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
  html body[data-density-a2] #formaBody>:is(.estado-hero,.gz-grid,.card:last-child){grid-column:1 / -1!important}
  html body[data-density-a2] #formaBody>:is(.estado-hero,.gz-grid,.card){margin-bottom:0!important}
  html body[data-density-a2] #view-resumen .hs-home:has(.hs-plan-card){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important}
  html body[data-density-a2] #view-resumen .hs-home:has(.hs-plan-card)>header{grid-column:1 / -1!important}
  html body[data-density-a2] #view-resumen .hs-plan-card{grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
  html body[data-density-a2] #view-resumen .hs-plan-card>.btn-prim{margin-top:auto!important}
  html body[data-density-a2] #view-resumen .hs-week{grid-column:2!important;grid-row:2!important}
  html body[data-density-a2] #view-resumen :is(#homeDetail428,.hs-athlete-profile,.hs-race){grid-column:1 / -1!important}
 }
 @media(max-width:1023px){
  html body[data-density-a2]:has(#view-forma:not(.hidden)) main.center>.top{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center!important}
  html body[data-density-a2]:has(#view-forma:not(.hidden)) main.center>.top .countdown{width:100px!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) :is(.gz-grid,.rz-focus-grid,.rz-tabs,.hs-week){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-card{grid-template-columns:120px minmax(0,1fr)!important;align-items:center!important;align-content:center!important;justify-items:start!important;column-gap:var(--sp-3)!important;min-height:136px!important;text-align:left!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-svg{grid-column:1!important;grid-row:1 / 3!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-title{grid-column:2!important;grid-row:1!important;align-self:end!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .gz-status{grid-column:2!important;grid-row:2!important;align-self:start!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .estado-hero{display:grid!important;grid-template-columns:var(--touch-min) minmax(0,1fr)!important;align-items:start!important}
  html body[data-density-a2] :is(#view-resumen,#view-forma) .eh-ratio{grid-column:2!important;margin:0!important;text-align:left!important}
  html body[data-density-a2] #view-resumen .rz-hero{display:flex!important;flex-wrap:wrap!important}
  html body[data-density-a2] #view-resumen .hs-week article{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;min-height:56px!important}
  html body[data-density-a2] #view-resumen .hs-week strong{text-align:right!important}

 }
}

/* Feed and activity use the same density roles as Home/Form. No data or action is replaced. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-feed,.session-modal){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-subsection:var(--fs-title);--tl-type-section:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-hero:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-feed,.session-modal) *{font-weight:inherit!important;box-sizing:border-box}
 html body[data-density-a2] :is(#view-feed,.session-modal) :is(b,strong,button,summary,h3,h4,.sd-panel-title,.ct){font-weight:600!important}
 html body[data-density-a2] :is(#view-feed,.session-modal) :is(p,li){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-feed,.session-modal) :is(small,time,.muted,.sd-date,.sd-state,.sd360-foot,.fd-rail-note,.fd-news-sub,.fd-profile-counts,.sr-empty){font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] :is(#view-feed,.session-modal) :is(button,input,select,textarea){font-size:var(--fs-base)!important}
 html body[data-density-a2] :is(#view-feed,.session-modal) button{min-height:var(--touch-min)!important}
 html body[data-density-a2] #view-feed .view-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;min-height:0!important;margin:0 0 var(--sp-4)!important;padding:0!important}
 html body[data-density-a2] #view-feed .view-title b{font-weight:400!important}
 html body[data-density-a2] #view-feed :is(.feed-shell-v290,.fd-day,.fd-news,.fd-rail){gap:var(--grid-gap)!important;min-width:0!important}
 html body[data-density-a2] #view-feed :is(.fd-profile-card,.fd-rail-card,.fd-news-card,.fd-demo-intro,#ugcTools){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin-top:0!important}
 html body[data-density-a2] #view-feed :is(.fd-profile-card,.fd-rail-card,.fd-news-card,.fd-demo-intro) :is(h3,h4){font-size:var(--fs-card)!important;line-height:1.3!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-feed .fd-day>h3{font-size:var(--fs-meta)!important;line-height:1.4!important;margin:0!important}
 html body[data-density-a2] #view-feed :is(.fs-head,.fs-stats){padding:var(--card-pad)!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-feed .fs-card{border-radius:var(--radius-card)!important;margin-bottom:var(--grid-gap)!important;min-width:0!important}
 html body[data-density-a2] #view-feed .fs-title{font-size:var(--fs-card)!important;line-height:1.4!important;margin:var(--sp-1) 0 0!important}
 html body[data-density-a2] #view-feed .fs-author b{font-size:var(--fs-base)!important}
 html body[data-density-a2] #view-feed .fs-author small{font-size:var(--fs-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-feed .fs-stat b{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;white-space:nowrap!important}
 html body[data-density-a2] #view-feed :is(.fs-stat small,.fs-badge,.fs-track-chip,.fs-track-sport){font:600 var(--fs-meta)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-feed .fs-avatar{width:36px!important;height:36px!important;flex:0 0 36px!important}
 html body[data-density-a2] #view-feed :is(.fd-main,.fd-user-link,.fd-ttl){min-width:0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-feed .fs-author{min-height:0!important}
 html body[data-density-a2] #view-feed .fs-track-open{min-height:0!important}
 html body[data-density-a2] #view-feed .fd-news :is(p,li),html body[data-density-a2] #view-feed .fd-rail :is(p,li){font-size:var(--fs-small)!important}
 html body[data-density-a2] .session-modal{width:min(1080px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:0!important;overflow:auto!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] .session-modal .sd-hero{padding:var(--card-pad)!important;padding-right:var(--sp-4)!important}
 html body[data-density-a2] .session-modal .sd-hero-row{gap:var(--sp-3)!important;padding-right:var(--sp-8)!important;align-items:start!important}
 html body[data-density-a2] .session-modal .m-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] .session-modal .m-type{font-size:var(--fs-meta)!important;padding:var(--sp-1) var(--sp-2)!important}
 html body[data-density-a2] .session-modal .sd-nav{gap:var(--sp-1)!important;padding:var(--sp-1)!important;margin-top:var(--sp-3)!important;border-radius:var(--radius-sm)!important;scroll-padding:var(--sp-1)}
 html body[data-density-a2] .session-modal .sd-nav button{font:600 var(--fs-small)/1.4 'Saira',sans-serif!important;padding:var(--sp-2) var(--sp-3)!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] .session-modal .sd-nav button.active{background:var(--a2-lime)!important;color:#10200d!important;box-shadow:none!important}
 html body[data-density-a2] .session-modal .sd-body{padding:var(--card-pad)!important}
 html body[data-density-a2] .session-modal .sd-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:var(--sp-3)!important;margin:0 0 var(--grid-gap)!important}
 html body[data-density-a2] .session-modal .sd-stat{padding:var(--sp-3)!important;border-radius:var(--radius-sm)!important;min-width:0!important;text-align:left!important}
 html body[data-density-a2] .session-modal .sd-stat .v{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] .session-modal .sd-stat .l{font:600 var(--fs-meta)/1.4 'Saira',sans-serif!important;margin-top:var(--sp-1)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] .session-modal .sd-panel-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:var(--sp-4) 0 var(--sp-3)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] .session-modal :is(.sd360-insights,.sd-sensors,.sd-record-grid){gap:var(--sp-3)!important}
 html body[data-density-a2] .session-modal :is(.sd360-insights article,.sd360-effort,.sd360-note,.sd360-empty,.sd-effort,.sr-panel){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] .session-modal .sd360-insights b{font-size:var(--fs-meta)!important}
 html body[data-density-a2] .session-modal .sd360-insights span{font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] .session-modal :is(.sd360-effort>div>b,.sd-effort>b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] .session-modal .sd360-zone{gap:var(--sp-2)!important;padding:var(--sp-2)!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] .session-modal .sd360-zone>:is(b,small){font-size:var(--fs-meta)!important}
 html body[data-density-a2] .session-modal .sd-actions{gap:var(--sp-3)!important;padding-top:var(--sp-3)!important;margin-top:var(--sp-4)!important}
 html body[data-density-a2] .session-modal .sd-actions button{padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2] .session-modal #sdProfile:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important;align-items:start!important}
 html body[data-density-a2] .session-modal #sdProfile>.sd-panel-title{grid-column:1 / -1!important}
 html body[data-density-a2] .session-modal #sdProfile>.sd-panel-title:empty{display:none!important}
 html body[data-density-a2] .session-modal .chart-block{min-width:0!important;margin:0!important;padding:var(--sp-3)!important}
 html body[data-density-a2] .session-modal .chart-block .ct{font-size:var(--fs-card)!important;margin-bottom:var(--sp-2)!important}
 html body[data-density-a2] .session-modal :is(.ch-axis,.ch-axis span,.chart-axis-label){font-size:var(--fs-meta)!important}
 html body[data-density-a2] .session-modal>.close{width:var(--touch-min)!important;height:var(--touch-min)!important;top:var(--sp-2)!important;right:var(--sp-2)!important}
 @media(min-width:1280px){
  html body[data-density-a2] #view-feed .feed-shell-v290{display:grid!important;grid-template-columns:minmax(148px,.75fr) minmax(0,2.25fr) minmax(172px,.85fr)!important;gap:var(--grid-gap)!important}
  html body[data-density-a2] #view-feed .feed-shell-v290>:is(.fd-news,.fd-center,.fd-rail){grid-column:auto!important;grid-row:auto!important;order:0!important}
  html body[data-density-a2] #view-feed .fd-news{grid-template-columns:1fr!important}
 }
 @media(min-width:1024px) and (max-width:1279px){
  html body[data-density-a2] #view-feed .feed-shell-v290{grid-template-columns:minmax(0,1fr) 188px!important}
  html body[data-density-a2] #view-feed .fd-news{grid-column:1 / -1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;position:static!important}
  html body[data-density-a2] #view-feed .fd-center{grid-column:1!important;grid-row:2!important}
  html body[data-density-a2] #view-feed .fd-rail{grid-column:2!important;grid-row:2!important}
 }
 @media(max-width:1023px){
  html body[data-density-a2] #view-feed .feed-shell-v290{display:flex!important;flex-direction:column!important;gap:var(--grid-gap)!important}
  html body[data-density-a2] #view-feed .feed-shell-v290>:is(.fd-news,.fd-center,.fd-rail){width:100%!important;position:static!important;grid-column:auto!important;grid-row:auto!important}
  html body[data-density-a2] #view-feed .fd-center{order:0!important}
  html body[data-density-a2] #view-feed .fd-news{order:1!important;grid-template-columns:1fr!important}
  html body[data-density-a2] #view-feed .fd-rail{order:2!important}
  html body[data-density-a2] #view-feed .fs-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] .session-modal{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:var(--radius-card)!important}
  html body[data-density-a2] .session-modal .sd-hero-row{flex-direction:column!important;gap:var(--sp-2)!important}
  html body[data-density-a2] .session-modal .sd-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] .session-modal :is(#sdProfile,.sd-sensors,.sd360-insights,.sd-record-grid){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] .session-modal .sd360-zone{grid-template-columns:34px minmax(0,1fr) 72px!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2]:has(#view-feed:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2]:has(#view-feed:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;min-height:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-feed:not(.hidden)) main.center>.top .countdown{min-width:0!important;min-height:0!important;padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2]:has(#view-feed:not(.hidden)) main.center>.top .countdown .num{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-feed :is(.fd-profile-card,.fd-goal-card,.fd-rail-card){padding:var(--card-pad)!important;background:var(--tl-panel)!important;border-color:var(--tl-border)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-feed :is(.fd-profile-head h3,.fd-goal-card h4,.fd-profile-stats button){color:var(--tl-text)!important}
 html body[data-density-a2] #view-feed :is(.fd-profile-head p,.fd-profile-stats span,.fd-profile-link,.fd-goal-card p,.fd-side-empty){color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-feed :is(.fd-profile-kicker,.fd-goal-top>span,.fd-rail-title button){color:var(--lime-ink)!important}
 html body[data-density-a2] #view-feed .fd-goal-top strong{color:var(--lime-ink)!important;background:var(--tl-panel-raised)!important}
 html body[data-density-a2] #view-feed .fd-profile-head{margin:var(--sp-3) 0!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-feed .fd-profile-stats{margin:var(--sp-3) calc(-1 * var(--card-pad))!important}
 html body[data-density-a2] #view-feed .fd-profile-stats b{font:400 var(--fs-title)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-feed .fd-goal-line{margin:var(--sp-3) 0!important}
 html body[data-density-a2] .session-modal :is(.sd360-insights b,.sd360-effort>div>b){color:var(--lime-ink)!important}
 @media(min-width:1024px){html body[data-density-a2] #view-feed .fs-track-frame{height:200px!important;aspect-ratio:auto!important}}
 @media(max-width:1023px){html body[data-density-a2] .session-modal #sdProfile:not([hidden]){grid-template-columns:minmax(0,1fr)!important}}
}

:root{--fs-kpi-compact:24px;--chart-session-height:0px}
@media(max-width:1023px){:root{--chart-session-height:120px}}
@layer tl-density-a2{
 html body[data-density-a2] .session-modal .ch-axis{padding:var(--sp-1) 0!important;margin-top:var(--sp-1)!important;line-height:1.25!important}
 html body[data-density-a2] .session-modal .ch-axis :is(span,b,i){font:400 var(--fs-meta)/1.25 'Saira',sans-serif!important}
 @media(max-width:1023px){
  html body[data-density-a2] .session-modal{--fs-kpi:var(--fs-kpi-compact)}
  html body[data-density-a2] .session-modal .sd-hero-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:var(--sp-1) var(--sp-2)!important;padding-right:0!important}
  html body[data-density-a2] .session-modal .sd-hero-row>div{display:contents!important}
  html body[data-density-a2] .session-modal .sd-hero .m-type{grid-column:1 / -1!important;justify-self:start!important;max-width:calc(100% - var(--touch-min))!important}
  html body[data-density-a2] .session-modal .sd-hero .m-title{grid-column:1 / -1!important;margin:var(--sp-1) 0!important}
  html body[data-density-a2] .session-modal .sd-date{grid-column:1!important;font-size:var(--fs-meta)!important}
  html body[data-density-a2] .session-modal .sd-state{grid-column:2!important;font-size:var(--fs-meta)!important;align-self:center!important}
  html body[data-density-a2] .session-modal .sd360-insights{display:block!important;padding:var(--card-pad)!important;border:1px solid var(--tl-border)!important;border-radius:var(--radius-card)!important;background:var(--tl-panel)!important}
  html body[data-density-a2] .session-modal .sd360-insights article{display:block!important;border:0!important;padding:var(--sp-1) 0!important;background:none!important;border-radius:0!important}
  html body[data-density-a2] .session-modal .sd360-insights :is(b,span){display:inline!important}
  html body[data-density-a2] .session-modal .sd360-insights b{margin-right:var(--sp-2)!important}
 }
}

:root{--a2-light-muted:#52645e}
@layer tl-density-a2{html[data-theme='light'] body[data-density-a2] .session-modal{--tl-text-2:var(--a2-light-muted)!important;--tl-text-3:var(--a2-light-muted)!important;--muted:var(--a2-light-muted)!important}}

/* State and Coach retain their real data/actions; only presentation uses A2 roles. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-estado,#view-coach){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-subsection:var(--fs-title);--tl-type-section:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) *{box-sizing:border-box;font-weight:inherit!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) :is(b,strong,button,.eb-title,.ef-title){font-weight:600!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) :is(button,input,textarea){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) button{min-height:var(--touch-min)!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) .view-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;padding:0!important;margin:0 0 var(--sp-4)!important;min-height:0!important}
 html body[data-density-a2] :is(#view-estado,#view-coach) .view-title b{font-weight:400!important}
 html body[data-density-a2] #estadoBody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-estado :is(.estado-block,.estado-hero,.ef-card){margin:0!important;padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-estado .ef-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sp-3)!important;margin:0!important}
 html body[data-density-a2] #view-estado .ef-card{gap:var(--sp-2)!important;min-height:0!important}
 html body[data-density-a2] #view-estado :is(.ef-title,.eh-msg,.el-txt){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] #view-estado :is(.ef-status,.ef-sub,.eb-hint,.estado-note,.ehr-lbl,.foco-leg,.wkb-lbl,.wkb-val,.st-chip){font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #view-estado :is(.ef-sub,.eb-hint,.estado-note,.ehr-lbl,.wkb-lbl){color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-estado .estado-note{padding:var(--sp-3)!important;margin:0!important}
 html body[data-density-a2] #view-estado :is(.ef-val,.ehr-num,.el-ovr){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;overflow-wrap:anywhere}
 html body[data-density-a2] #view-estado .ef-val small{font:400 var(--fs-small)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-estado :is(.eb-title,.eh-state){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin-bottom:var(--sp-2)!important}
 html body[data-density-a2] #view-estado .estado-hero{gap:var(--sp-3)!important}
 html body[data-density-a2] #view-estado .eh-badge{width:44px!important;height:44px!important;min-width:44px!important;font-size:20px!important}
 html body[data-density-a2] #view-estado :is(.eb-hint,.foco-leg){margin-top:var(--sp-3)!important}
 html body[data-density-a2] #view-estado .wk-bars{gap:var(--sp-2)!important;margin-top:var(--sp-3)!important}
 html body[data-density-a2] #view-coach .coach-wrap{max-width:none!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-coach :is(.coach-intro,.coach-premium-head,.coach-active-panel,.coach-convobar,.coach-input){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin:0!important;gap:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-coach :is(.coach-intro,.coach-premium-copy small,.coach-data-live span,.coach-active-data,.coach-active-main span,.cdash-txt span,.cv-meta,.ca-role,.cv-empty,.coach-role-skill){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-coach :is(.coach-premium-copy>span,.coach-data-live>b,.cdash-usage){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-coach .coach-premium-copy>b{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-coach :is(.coach-mark,.coach-mark img){width:44px!important;height:44px!important;min-width:44px!important}
 html body[data-density-a2] #view-coach :is(.coach-role,.cvb-btn,.cdash-chip,.cv-item,.csug){padding:var(--sp-2) var(--sp-3)!important;border-radius:var(--radius-sm)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .coach-roles{gap:var(--sp-2)!important;padding:0!important}
 html body[data-density-a2] #view-coach .coach-role.active .coach-role-skill{color:inherit!important}
 html body[data-density-a2] #view-coach .coach-main{min-height:0!important;gap:var(--sp-3)!important;border-radius:var(--radius-card)!important;overflow:visible!important}
 html body[data-density-a2] #view-coach .coach-drawer{flex-basis:208px!important;padding:var(--sp-3)!important;gap:var(--sp-2)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-coach .coach-chat{min-height:280px!important;max-height:56vh!important;padding:var(--card-pad)!important;gap:var(--sp-3)!important;overscroll-behavior:contain}
 html body[data-density-a2] #view-coach .cbub{font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;padding:var(--sp-3)!important;border-radius:var(--radius-card)!important;max-width:92%!important;min-width:0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-coach .cmsg-time{font:400 var(--fs-meta)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important;margin-top:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .cmsg.assistant .cmsg-time{color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-coach .cmsg.user .cmsg-time{color:#263a1d!important}
 html body[data-density-a2] #view-coach .coach-avatar{flex-basis:64px!important;padding:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .coach-premium-avatar{width:56px!important;height:56px!important}
 html body[data-density-a2] #view-coach .coach-input{padding:var(--sp-2)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .coach-input textarea{padding:var(--sp-2)!important;min-width:0!important;min-height:44px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-coach .coach-input :is(button,textarea){border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-coach .coach-input .btn-prim{padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2] #view-coach .coach-attach{width:44px!important;height:44px!important}
 html body[data-density-a2] #view-coach .cv-actions button{min-width:44px!important;opacity:1!important;padding:var(--sp-2)!important}
 @media(min-width:1024px){
  html body[data-density-a2] #estadoBody{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #estadoBody>:is(.hist-toolbar,.estado-note,.estado-hero,.ef-grid,.estado-link),html body[data-density-a2] #estadoBody>.estado-block:has(.ef-grid){grid-column:1 / -1!important}
 }
 @media(max-width:1023px){
  html body[data-density-a2] #view-estado .ef-grid{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-estado .ef-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;gap:var(--sp-3)!important}
  html body[data-density-a2] #view-estado .ef-foot{display:flex!important;flex-direction:column!important;align-items:flex-end!important;text-align:right!important}
  html body[data-density-a2] #view-estado .estado-hero{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important}
  html body[data-density-a2] #view-estado .eh-ratio{grid-column:2!important;text-align:left!important;margin:0!important}
  html body[data-density-a2] #view-coach .coach-premium-head{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important}
  html body[data-density-a2] #view-coach .coach-data-live{grid-column:1 / -1!important}
  html body[data-density-a2] #view-coach .coach-role-skill{display:none!important}
  html body[data-density-a2] #view-coach .coach-roles{flex-wrap:wrap!important}
  html body[data-density-a2] #view-coach .coach-active-panel{flex-direction:column!important;align-items:stretch!important}
  html body[data-density-a2] #view-coach .coach-active-data{flex-wrap:wrap!important;justify-content:flex-start!important}
  html body[data-density-a2] #view-coach .coach-chat{min-height:220px!important;max-height:52vh!important}
  html body[data-density-a2] #view-coach .coach-avatar{display:none!important}
  html body[data-density-a2] #view-coach .coach-drawer{display:none!important}
  html body[data-density-a2] #view-coach .coach-drawer.open{display:flex!important;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:none!important;z-index:1000!important;flex-basis:auto!important;background:var(--bg)!important;border:0!important;border-radius:0!important}
  html body[data-density-a2] #view-coach #coachDrawerBtn{display:inline-flex!important}
  html body[data-density-a2] #view-coach .cd-close{display:inline-flex!important;min-width:44px!important}
 }
}

/* Director controls are part of the current Coach, including their dynamically injected CSS. */
@layer tl-density-a2{
 html body[data-density-a2]:has(#view-estado:not(.hidden),#view-coach:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;min-height:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-estado:not(.hidden),#view-coach:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-coach .coach-director-console{padding:var(--card-pad)!important;gap:var(--sp-3)!important;border-radius:var(--radius-card)!important;grid-template-columns:minmax(0,1fr) auto!important}
 html body[data-density-a2] #view-coach :is(.cd-title b,.cd-role-label b,.cd-role-explain b,.cv-name,.cdash-txt>b){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] #view-coach :is(.cd-title small,.cd-role-label small,.cd-role-explain span,.cd-quota small,.cd-quota span,.cd-mode-wrap>span,.cdash-chip small){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-coach :is(.cd-quota b,.cd-mode-btn,.coach-active-data span){font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #view-coach .cd-quota{grid-column:1 / -1!important;text-align:left!important;padding:0!important;border:0!important;min-width:0!important;display:flex!important;gap:var(--sp-2)!important;flex-wrap:wrap!important;align-items:baseline!important}
 html body[data-density-a2] #view-coach .cd-quota b{color:var(--tl-text)!important}
 html body[data-density-a2] #view-coach .coach-roles{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
 html body[data-density-a2] #view-coach .coach-role{min-width:0!important}
 html body[data-density-a2] #view-coach .coach-active-panel{padding:var(--sp-2) var(--sp-3)!important;grid-template-columns:minmax(0,1fr) auto!important}
 html body[data-density-a2] #view-coach .coach-active-data span{padding:var(--sp-1) var(--sp-2)!important}
 html body[data-density-a2] #view-coach :is(.cdash-now,.cdash-recent){gap:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .cdash-txt{min-width:0!important}
 html body[data-density-a2] #view-coach .cv-item{flex-wrap:wrap!important}
 html body[data-density-a2] #view-coach .cv-body{flex-basis:100%!important}
 html body[data-density-a2] #view-coach .cv-actions{margin-left:auto!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-coach :is(.coach-director-console,.coach-active-panel){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-coach .coach-roles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #view-coach .coach-role:last-child{grid-column:1 / -1!important}
  html body[data-density-a2] #view-coach .cd-modes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--sp-1)!important}
  html body[data-density-a2] #view-coach :is(.cd-role-explain,.coach-active-data){flex-wrap:wrap!important}
  html body[data-density-a2] #view-coach .cdash-now{flex-wrap:wrap!important}
  html body[data-density-a2] #view-coach .cdash-txt{flex:1!important}
  html body[data-density-a2] #view-coach .cdash-now>.cvb-btn{margin-left:auto!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-coach :is(.coach-active-main,.coach-active-main>div,.coach-premium-copy,.coach-data-live,.cd-title,.cd-title>div){min-width:0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-coach .coach-active-main{gap:var(--sp-2)!important}
 html body[data-density-a2] #view-coach .coach-active-main :is(b,span){white-space:normal!important;max-width:100%!important}
 html body[data-density-a2] #view-coach .coach-active-ic{flex:0 0 32px!important;width:32px!important;height:32px!important}
 html body[data-density-a2] #view-coach .coach-mark img{max-width:100%!important;object-fit:contain!important}
 @media(max-width:1023px){
  html body[data-density-a2]:has(#view-estado:not(.hidden),#view-coach:not(.hidden)) main.center>.top{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center!important}
  html body[data-density-a2]:has(#view-estado:not(.hidden),#view-coach:not(.hidden)) main.center>.top .countdown{width:100px!important;min-width:0!important;min-height:0!important;padding:var(--sp-2)!important}
  html body[data-density-a2] #view-coach .coach-active-main{flex-wrap:wrap!important}
 }
}

@layer tl-density-a2{
 html[data-theme="light"] body[data-density-a2] #view-estado .st-badge{color:#fff!important}
}

@layer tl-density-a2{
 html[data-theme="dark"] body[data-density-a2] #view-estado .ef-sub{color:#c8d4d0!important}
}

/* Calendar and Profile keep their real models, destinations and editing controls. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-agenda,#view-perfil){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-agenda,#view-perfil) *{font-weight:inherit!important;box-sizing:border-box}
 html body[data-density-a2] :is(#view-agenda,#view-perfil) :is(b,strong,button,summary,label){font-weight:600!important}
 html body[data-density-a2] :is(#view-agenda,#view-perfil) :is(button,input,select){font-family:'Saira',sans-serif!important;font-size:var(--fs-base)!important;line-height:var(--line-body)!important;min-height:var(--touch-min)!important}
 html body[data-density-a2] :is(#view-agenda,#view-perfil) :is(p,li){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-agenda,#view-perfil) :is(small,.muted){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2]:has(#view-agenda:not(.hidden),#view-perfil:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important;min-height:0!important}
 html body[data-density-a2]:has(#view-agenda:not(.hidden),#view-perfil:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-agenda .agenda-v233{gap:var(--grid-gap)!important;min-width:0!important}
 html body[data-density-a2] #view-agenda .agenda-head-v233{gap:var(--sp-3)!important;padding:0!important;align-items:center!important}
 html body[data-density-a2] #view-agenda .agenda-head-v233 h2{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-agenda .agenda-head-v233 p{margin:var(--sp-2) 0 0!important}
 html body[data-density-a2] #view-agenda .agenda-kicker{font-size:var(--fs-meta)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #view-agenda .agenda-nav-v233{gap:var(--sp-2)!important}
 html body[data-density-a2] #view-agenda .agenda-nav-v233 button{min-width:44px!important;height:44px!important;padding:var(--sp-2)!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-agenda .agenda-label{font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:136px!important}
 html body[data-density-a2] #view-agenda .agenda-scroll-v233{min-width:0!important;max-width:100%!important;margin:0!important;padding:0 0 var(--sp-2)!important;overscroll-behavior-inline:contain!important}
 html body[data-density-a2] #view-agenda .cal-month{min-width:784px!important;margin:0!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-agenda .cal-cell{min-height:112px!important;padding:var(--sp-2)!important;gap:var(--sp-1)!important;min-width:0!important}
 html body[data-density-a2] #view-agenda .cal-dow span{padding:var(--sp-2)!important;font:600 var(--fs-meta)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-agenda .cd-num{min-width:44px!important;min-height:44px!important;padding:var(--sp-2)!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] #view-agenda :is(.cal-chip,.cal-done){min-height:44px!important;padding:var(--sp-2)!important;border-radius:var(--radius-sm)!important;cursor:pointer!important}
 html body[data-density-a2] #view-agenda :is(.cal-chip,.cal-race,.cdo-km,.cdo-sub,.cdo-more,.agenda-legend-v233){font:400 var(--fs-meta)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-agenda .cal-race{padding:var(--sp-1) var(--sp-2)!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-agenda .cdo-sub{white-space:normal!important;overflow-wrap:anywhere!important;opacity:1!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-agenda .agenda-legend-v233{gap:var(--sp-3)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-perfil .view-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;min-height:0!important;margin:0 0 var(--sp-4)!important;padding:0!important}
 html body[data-density-a2] #view-perfil .view-title b{font-weight:400!important}
 html body[data-density-a2] #view-perfil :is(.profile-hub,.profile-links){gap:var(--grid-gap)!important;margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] #view-perfil :is(.profile-hero,.profile-link,.profile-edit,.card,.ph-level){border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-perfil :is(.profile-hero,.profile-link,.card){padding:var(--card-pad)!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-perfil .profile-hero{grid-template-columns:64px minmax(0,1fr) auto!important}
 html body[data-density-a2] #view-perfil :is(.ph-avatar,.ph-avatar .tl-avatar-v353){width:64px!important;height:64px!important;--tl-av-size:64px!important}
 html body[data-density-a2] #view-perfil .ph-main h2{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0 var(--sp-2)!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-perfil .ph-main p{font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-perfil :is(.ph-kicker,.ph-level span,.profile-link span){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-perfil :is(.ph-level span,.profile-link span){color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-perfil .ph-level{padding:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-perfil .ph-level b{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-perfil .profile-links{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-perfil .profile-link{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-content:start!important;column-gap:var(--sp-3)!important;row-gap:var(--sp-1)!important;min-height:92px!important}
 html body[data-density-a2] #view-perfil .profile-link svg{grid-row:1 / 3!important;width:20px!important;height:20px!important;margin:0!important}
 html body[data-density-a2] #view-perfil .profile-link b{font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] #view-perfil .profile-link span{margin:0!important}
 html body[data-density-a2] #view-perfil .profile-edit>summary{font-size:var(--fs-base)!important;padding:var(--sp-3) var(--card-pad)!important;min-height:44px!important}
 html body[data-density-a2] #view-perfil .profile-edit>.card{margin:0!important;border-radius:0!important}
 html body[data-density-a2] #view-perfil :is(.field,.grid2){gap:var(--sp-2)!important;margin-bottom:var(--sp-3)!important}
 html body[data-density-a2] #view-perfil .field label{font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 @media(max-width:1023px){
  html body[data-density-a2]:has(#view-agenda:not(.hidden),#view-perfil:not(.hidden)) main.center>.top{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center!important}
  html body[data-density-a2]:has(#view-agenda:not(.hidden),#view-perfil:not(.hidden)) main.center>.top .countdown{width:100px!important;min-width:0!important;min-height:0!important;padding:var(--sp-2)!important}
  html body[data-density-a2] #view-agenda .agenda-nav-v233{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px auto!important;width:100%!important}
  html body[data-density-a2] #view-agenda .agenda-label{min-width:0!important}
  html body[data-density-a2] #view-perfil .profile-hero{grid-template-columns:64px minmax(0,1fr)!important}
  html body[data-density-a2] #view-perfil .ph-level{grid-column:1 / -1!important}
  html body[data-density-a2] #view-perfil .profile-links{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-perfil .profile-link{min-height:76px!important}
  html body[data-density-a2] #view-perfil .grid2{grid-template-columns:minmax(0,1fr)!important}
 }
}

@layer tl-density-a2{
 html[data-theme="dark"] body[data-density-a2] #view-agenda .cdo-more{color:#c8d4d0!important;opacity:1!important}
 html[data-theme="dark"] body[data-density-a2] #view-agenda .cal-race.pA{background:#9d2531!important;color:#fff!important}
 html[data-theme="dark"] body[data-density-a2] #view-agenda .cal-race.pB{background:#14624d!important;color:#fff!important}
 html[data-theme="dark"] body[data-density-a2] #view-agenda .cal-race.pC{background:#3d4f61!important;color:#fff!important}
}

/* History and Training plan share the A2 roles without changing activity or planning models. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-historial,#view-calendario){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--plan-gap:var(--grid-gap);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) *{font-weight:inherit!important;box-sizing:border-box}
 html body[data-density-a2] :is(#view-historial,#view-calendario) :is(b,strong,button,summary,label,.lb){font-weight:600!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) :is(button,input,select){font-family:'Saira',sans-serif!important;font-size:var(--fs-base)!important;line-height:var(--line-body)!important;min-height:44px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) :is(p,li){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) :is(.muted,small,.disclaimer,.sh-sub,.fc-meta,.fc-stat .l,.fc-stat .u,.fc-effort-l,.hl-date,.hl-stats span,.fw-t,.fw-cells span,.hp-count,.hp-size,.pi-sub,.pi-drop-txt,.pr-hint){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) .view-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;min-height:0!important;margin:0 0 var(--sp-4)!important;padding:0!important}
 html body[data-density-a2] :is(#view-historial,#view-calendario) .view-title b{font-weight:400!important}
 html body[data-density-a2]:has(#view-historial:not(.hidden),#view-calendario:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;min-height:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-historial:not(.hidden),#view-calendario:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-historial :is(.hist-toolbar,.hist-filterbar,.hist-pagebar,.hp-right){gap:var(--sp-3)!important;margin:var(--sp-3) 0!important;min-width:0!important}
 html body[data-density-a2] #view-historial :is(.feed-card,.feed-week,.hist-audit,.hl-row){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-historial .feed{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-historial .fc-head{gap:var(--sp-3)!important;margin-bottom:var(--sp-3)!important;align-items:start!important}
 html body[data-density-a2] #view-historial :is(.fc-name,.hl-name){font-size:var(--fs-base)!important;line-height:var(--line-body)!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-historial .fc-av{width:36px!important;height:36px!important;flex:0 0 36px!important}
 html body[data-density-a2] #view-historial .fc-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-historial .fc-stat{min-width:0!important}
 html body[data-density-a2] #view-historial :is(.fc-stat .v,.fw-cells b,.hl-stats b,.fc-effort-v){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-historial :is(.fc-stat .u,.fc-effort-l,.hl-stats span,.fw-cells span){font-size:var(--fs-meta)!important}
 html body[data-density-a2] #view-historial .fc-profile{margin:var(--sp-3) 0 0!important;height:54px!important;overflow:hidden!important}
 html body[data-density-a2] #view-historial .fw-cells{gap:var(--sp-4)!important}
 html body[data-density-a2] #view-historial .hist-list{gap:var(--sp-3)!important}
 html body[data-density-a2] #view-historial .hl-row{gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-historial .hl-stats{gap:var(--sp-3)!important}
 html body[data-density-a2] #view-historial .hist-modes{padding:var(--sp-1)!important;gap:var(--sp-1)!important}
 html body[data-density-a2] #view-calendario :is(.plan-hero,.plan-races,.pdf-import,.imported-plan,.palette){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin:0 0 var(--grid-gap)!important;gap:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-calendario :is(.plan-hero p,.pi-sub){margin:var(--sp-2) 0 0!important}
 html body[data-density-a2] #view-calendario :is(.section-head,.sh-actions,.cal-nav){gap:var(--sp-3)!important}
 html body[data-density-a2] #view-calendario .section-head{margin-bottom:var(--sp-3)!important}
 html body[data-density-a2] #view-calendario :is(.sh-title,.pi-title,.ip-title){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-calendario :is(.plan-step,.pr-lb,.pr-chip small,.week-mini,.col-head,.empty,.sub,.ts-palette-intro small,.ts-pal-group summary small){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-calendario .cal-month{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:var(--radius-card)!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important}
 html body[data-density-a2] #view-calendario .cal-month>:is(.cal-dow,.cal-cells){min-width:784px!important}
 html body[data-density-a2] #view-calendario .cal-cell{min-height:112px!important;padding:var(--sp-2)!important;gap:var(--sp-1)!important}
 html body[data-density-a2] #view-calendario :is(.cal-chip,.cal-done){min-height:44px!important;padding:var(--sp-2)!important;font-size:var(--fs-meta)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #view-calendario :is(.cal-race,.cdo-km,.cdo-sub,.cdo-more){font:400 var(--fs-meta)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important;opacity:1!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-calendario .cdo-sub{color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-calendario .cd-num{min-width:44px!important;padding:var(--sp-2)!important}
 html body[data-density-a2] #view-calendario .cal-nav{padding:var(--sp-1)!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-calendario .cal-nav button{height:44px!important;min-width:44px!important;padding:var(--sp-2)!important}
 html body[data-density-a2] #view-calendario .cal-label{font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-calendario .plan-side{padding-top:var(--grid-gap)!important;margin-top:0!important}
 html body[data-density-a2] #view-calendario .ts-palette-groups{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-calendario .ts-pal-list{grid-template-columns:minmax(0,1fr)!important;gap:var(--sp-2)!important;padding:var(--sp-3)!important}
 html body[data-density-a2] #view-calendario .ts-pal-group{min-width:0!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-calendario .ts-pal-group summary{min-height:44px!important;padding:var(--sp-3)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-calendario .pal-card{min-height:44px!important;padding:var(--sp-2)!important;min-width:0!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] #view-calendario .week-tag-row{margin:var(--sp-4) 0 var(--sp-2)!important;gap:var(--sp-2)!important;padding:0!important}
 html body[data-density-a2] #view-calendario .week-tag{padding:var(--sp-2) var(--sp-3)!important;font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-calendario .week-toggle{width:44px!important;height:44px!important}
 html body[data-density-a2] #view-calendario .grid-wrap{border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-calendario .col{padding:var(--sp-2) var(--sp-3)!important;gap:var(--sp-2)!important;min-height:60px!important}
 html body[data-density-a2] #view-calendario .col-head{flex-basis:44px!important}
 html body[data-density-a2] #view-calendario .chip{padding:var(--sp-2) var(--sp-3)!important;min-height:44px!important;gap:var(--sp-1)!important;min-width:0!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-calendario .chip .lb{font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] #view-calendario .pdf-import .pi-head{gap:var(--sp-3)!important;margin-bottom:var(--sp-3)!important}
 @media(max-width:1023px){
  html body[data-density-a2]:has(#view-historial:not(.hidden),#view-calendario:not(.hidden)) main.center>.top{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center!important}
  html body[data-density-a2]:has(#view-historial:not(.hidden),#view-calendario:not(.hidden)) main.center>.top .countdown{width:100px!important;min-width:0!important;min-height:0!important;padding:var(--sp-2)!important}
  html body[data-density-a2] #view-historial :is(.feed,.hist-filterbar){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-historial .hist-filterbar>*{grid-column:auto!important}
  html body[data-density-a2] #view-historial .fc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #view-historial .fw-cells{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:var(--sp-3)!important}
  html body[data-density-a2] #view-historial .hl-main{flex-basis:calc(100% - 56px)!important}
  html body[data-density-a2] #view-historial .hl-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  html body[data-density-a2] #view-historial .hl-opt{display:block!important}
  html body[data-density-a2] #view-calendario .ts-palette-groups{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-calendario .week-tag-row .week-del{font-size:var(--fs-small)!important;width:auto!important;height:auto!important}
  html body[data-density-a2] #view-calendario .week-del::after{display:none!important}
  html body[data-density-a2] #view-calendario .col-head{flex-basis:100%!important}
  html body[data-density-a2] #view-calendario .chip{flex-basis:100%!important;max-width:none!important}
  html body[data-density-a2] #view-calendario .add-btn{width:100%!important;margin:0!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-calendario .plan-hero{overflow:hidden!important}
 html body[data-density-a2] #view-calendario .plan-races{max-width:100%!important;flex-wrap:wrap!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-calendario .pr-chip{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-calendario .palette.ts-palette{display:block!important;max-width:100%!important;overflow:visible!important}
 html body[data-density-a2] #view-calendario :is(.ts-palette-groups,.ts-palette-intro){width:100%!important;min-width:0!important}
 html body[data-density-a2] #view-calendario .ts-palette-intro{display:flex!important;gap:var(--sp-2)!important;flex-wrap:wrap!important;margin-bottom:var(--sp-3)!important}
 html body[data-density-a2] #view-calendario .ts-pal-group summary{display:grid!important;grid-template-columns:24px minmax(0,1fr) 16px!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-calendario .ts-pal-group summary .ts-pro-icon{width:24px!important;height:24px!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-historial .fc-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body[data-density-a2] #view-historial .fc-stat .v{font-size:var(--fs-kpi-compact,24px)!important}
  html body[data-density-a2] #view-calendario .col{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:start!important}
  html body[data-density-a2] #view-calendario .col-head{grid-column:1!important;grid-row:1!important;padding-top:var(--sp-2)!important}
  html body[data-density-a2] #view-calendario .col>:is(.chip,.empty,.meal-chip,.add-btn){grid-column:2!important;width:100%!important;max-width:100%!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-calendario .double-tag{padding:var(--sp-1)!important;font-size:var(--fs-meta)!important;color:#102007!important;max-width:100%!important}
 html body[data-density-a2] #view-calendario .cdo-more{color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-calendario .cal-race.pA{background:#9d2531!important;color:#fff!important}
 html body[data-density-a2] #view-calendario .cal-race.pB{background:#14624d!important;color:#fff!important}
 html body[data-density-a2] #view-calendario .cal-race.pC{background:#3d4f61!important;color:#fff!important}
 @media(max-width:1023px){html body[data-density-a2] #view-calendario .col{grid-template-columns:64px minmax(0,1fr)!important}}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-historial .fc-stats{row-gap:var(--sp-1)!important}
 html body[data-density-a2] #view-historial .fc-head{margin-bottom:var(--sp-2)!important}
 html body[data-density-a2] #view-historial :is(.fc-meta,.fc-stat .l){font-size:var(--fs-meta)!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-historial .fc-effort{display:flex!important;align-items:baseline!important;justify-content:flex-end!important;gap:var(--sp-1)!important;flex-wrap:wrap!important;max-width:88px!important}
  html body[data-density-a2] #view-historial .fc-effort-v{font-size:var(--fs-kpi-compact,24px)!important}
 }
}

@layer tl-density-a2{
 @media(max-width:1023px){
  html body[data-density-a2] #view-historial .fc-head{row-gap:var(--sp-1)!important}
  html body[data-density-a2] #view-historial .fc-effort{width:auto!important;max-width:none!important;flex-wrap:nowrap!important;justify-content:flex-start!important;padding-left:0!important;gap:var(--sp-2)!important}
 }
}

@layer tl-density-a2{
 html[data-theme="dark"] body[data-density-a2] #view-calendario .cdo-more{color:#c8d4d0!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-calendario .pr-chip b{background:var(--tl-panel)!important;color:var(--tl-text)!important;border:1px solid var(--pc)!important}
}

/* Carreras and Datos del atleta: the existing controllers and saved models are unchanged. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-carreras,#view-datos){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) *{box-sizing:border-box;font-weight:inherit!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) :is(b,strong,label,button){font-weight:600!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) :is(p,input,select,button,a){font-family:'Saira',sans-serif!important;font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) :is(input,select,button,.race-card-actions a){min-height:44px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) :is(.muted,small,.race-status,.race-card-date,.race-card-date span,.race-flip-hint,.race-back-head>div>span,.race-back-note,.rh-sync,.rh-sync small,.race-hub-kicker,.dg-photo-txt label span,.tl-race-intel-note-v334,.tl-race-intel-note-v334>*,.race-track-official-v331 span,.tl-race-profile-head-v332 em){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) :is(.view-title,.race-hub-copy h2){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-3)!important;padding:0!important;min-height:0!important}
 html body[data-density-a2] :is(#view-carreras,#view-datos) .view-title b{font-weight:400!important}
 html body[data-density-a2]:has(#view-carreras:not(.hidden),#view-datos:not(.hidden)) main.center>.top{gap:var(--sp-3)!important;margin-bottom:var(--sp-4)!important;min-height:0!important}
 html body[data-density-a2]:has(#view-carreras:not(.hidden),#view-datos:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-carreras :is(.race-hub,.race-registry,.race-summary){gap:var(--grid-gap)!important;min-width:0!important}
 html body[data-density-a2] #view-carreras :is(.race-hub-hero,.race-summary-card,.race-face,.race-empty){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;background:var(--tl-panel)!important;min-width:0!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras .race-hub-hero{gap:var(--sp-4)!important;box-shadow:inset 4px 0 0 var(--lime)!important}
 html body[data-density-a2] #view-carreras .race-hub-copy p{margin:var(--sp-2) 0 0!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-carreras .race-hub-copy h2{color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras .race-summary-card strong{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;margin-top:var(--sp-1)!important}
 html body[data-density-a2] #view-carreras .race-summary-card small{letter-spacing:normal!important;text-transform:none!important}
 html body[data-density-a2] #view-carreras .race-subnav{gap:var(--sp-2)!important;padding:var(--sp-1)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-carreras .race-registry{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-carreras :is(.race-flip-card,.race-flip-inner,.race-face){height:auto!important;min-height:0!important;overflow:visible!important}
 html body[data-density-a2] #view-carreras .race-flip-inner{display:grid!important}
 html body[data-density-a2] #view-carreras .race-face{position:relative!important;grid-area:1/1!important;gap:var(--sp-3)!important;overflow:hidden!important}
 html body[data-density-a2] #view-carreras .race-card-top{gap:var(--sp-3)!important;margin:0!important;min-width:0!important}
 html body[data-density-a2] #view-carreras :is(.race-card-title h3,.race-back-head h3){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0 0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-carreras :is(.race-card-actions,.race-card-metrics){gap:var(--sp-2)!important;flex-wrap:wrap!important;margin:0!important}
 html body[data-density-a2] #view-carreras .race-metric{padding:var(--sp-2)!important;font-size:var(--fs-meta)!important;color:var(--tl-text-2)!important;min-width:0!important}
 html body[data-density-a2] #view-carreras .race-metric b{font:400 var(--fs-kpi-compact,24px)/1.1 'Bebas Neue',sans-serif!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras .race-flip-hint{margin-top:auto!important;padding-top:var(--sp-2)!important}
 html body[data-density-a2] #view-carreras .race-back-grid{gap:var(--sp-2)!important;margin:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-carreras .race-back-grid article{padding:var(--sp-2)!important;min-width:0!important}
 html body[data-density-a2] #view-carreras .race-back-grid b{font-size:var(--fs-base)!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-carreras .race-back-note{margin:0!important}
 html body[data-density-a2] #view-carreras .rh-sync{gap:var(--sp-3)!important;padding:var(--sp-3)!important;margin:0!important}
 html body[data-density-a2] #view-carreras .tl-race-intel-v334{gap:var(--sp-2)!important;margin:0!important}
 html body[data-density-a2] #view-carreras .tl-race-intel-v334 article{padding:var(--sp-2)!important;min-width:0!important}
 html body[data-density-a2] #view-carreras .tl-race-intel-v334 b{font-size:var(--fs-base)!important;white-space:normal!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras :is(.race-profile-v316,.race-track-official-v331,.tl-race-profile-source-v332){height:auto!important;min-height:0!important;margin:0!important;padding:var(--sp-3)!important;gap:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-carreras .race-profile-v316 .tl-line-v331{width:24px!important;height:24px!important;padding:0!important}
 html body[data-density-a2] #view-datos :is(.card,.athlete-data-note){padding:var(--card-pad)!important;margin:0 0 var(--grid-gap)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-datos :is(.athlete-data-note,.dg-photo-txt p){color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-datos .grid2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-datos .field{margin:0!important;min-width:0!important}
 html body[data-density-a2] #view-datos .field label{display:block!important;font-size:var(--fs-small)!important;line-height:var(--line-small)!important;margin:0 0 var(--sp-1)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-datos .field :is(input,select){width:100%!important;min-width:0!important;padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2] #view-datos .dg-photo{gap:var(--sp-3)!important;margin-bottom:var(--sp-4)!important}
 html body[data-density-a2] #view-datos .dg-avatar{width:64px!important;height:64px!important}
 html body[data-density-a2] #view-datos .dg-photo-txt{min-width:0!important}
 html body[data-density-a2] #view-datos .card>p{margin:var(--sp-3) 0!important}
 html body[data-density-a2] .race-modal .modal{max-width:640px!important;padding:var(--card-pad)!important}
 html body[data-density-a2] .race-modal :is(input,select,button){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-height:44px!important}
 html body[data-density-a2] .race-modal :is(label,.race-modal-intro){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] .race-modal .m-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-carreras :is(.race-registry){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-carreras .race-summary{gap:var(--sp-2)!important}
  html body[data-density-a2] #view-carreras .race-back-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #view-carreras .race-card-top{flex-wrap:wrap!important}
  html body[data-density-a2] #view-carreras .race-card-date{text-align:left!important}
  html body[data-density-a2] #view-carreras .race-hub-hero{flex-direction:column!important;align-items:stretch!important}
  html body[data-density-a2] #view-datos .grid2{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-datos .dg-photo{align-items:start!important}
  html body[data-density-a2] #view-datos .dg-photo-txt{flex-basis:calc(100% - 80px)!important}
  html body[data-density-a2] .race-modal .grid2{grid-template-columns:minmax(0,1fr)!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-carreras :is(.tl-race-intel-v334 article,.race-track-official-v331,.tl-race-profile-source-v332,.race-back-grid article){background:var(--tl-panel-soft)!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras :is(.race-track-official-v331 b,.tl-race-profile-source-v332 b){font-size:var(--fs-base)!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-carreras .race-track-official-v331 a{background:var(--tl-panel)!important;color:var(--tl-text)!important}
}

@layer tl-density-a2{
 /* Only the visible face sets the card height; the larger back does not leave blank front space. */
 html body[data-density-a2] #view-carreras .race-face-back{position:absolute!important}
 html body[data-density-a2] #view-carreras .is-flipped .race-face-front{position:absolute!important}
 html body[data-density-a2] #view-carreras .is-flipped .race-face-back{position:relative!important}
}

/* Preferences and Connections retain their current forms and service decisions. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) *{box-sizing:border-box;font-weight:inherit!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) :is(b,strong,label,button,summary){font-weight:600!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) :is(p,li,input,select,textarea,button,a){font-family:'Saira',sans-serif!important;font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) :is(button,input,select,textarea,summary,.cx-inline){min-height:44px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) :is(.muted,small,.account-hub span,.cx-step-detail,.cx-step-more,.cx-guide summary i,.cx-puente,.cx-section-head>span,.cx-proof p,.cx-troubleshoot small,.cx-soon-card p,.cx-soon-h>span,.cx-mientras,.wc-hero p,.wc-export p,.wc-route-count span,.mapoff-note,.mapoff-head span){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) .view-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-4)!important;padding:0!important;min-height:0!important}
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) .view-title b{font-weight:400!important}
 html body[data-density-a2]:has(#view-preferencias:not(.hidden),#view-conexiones:not(.hidden)) main.center>.top{gap:var(--sp-3)!important;margin-bottom:var(--sp-4)!important;min-height:0!important}
 html body[data-density-a2]:has(#view-preferencias:not(.hidden),#view-conexiones:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-preferencias .prefs-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important;align-items:start!important}
 html body[data-density-a2] #view-preferencias .card{padding:var(--card-pad)!important;margin:0!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-preferencias .eb-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] #view-preferencias .grid2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-preferencias .field{margin:0 0 var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-preferencias .field label{display:block!important;margin:0 0 var(--sp-1)!important;font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #view-preferencias .field :is(input,select,textarea){width:100%!important;min-width:0!important;padding:var(--sp-2) var(--sp-3)!important}
 html body[data-density-a2] #view-preferencias .pref-preview{grid-column:1/-1!important}
 html body[data-density-a2] #view-preferencias #prefSave{margin-top:var(--sp-4)!important}
 html body[data-density-a2] #view-conexiones :is(.account-hub,.cx-hero,.cx-soon,.wc-shell,.third-party-notices){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;background:var(--tl-panel)!important;margin:0 0 var(--grid-gap)!important;gap:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-conexiones :is(.account-hub,.account-actions,.cx-actions,.cx-verify-actions,.wc-export-form){gap:var(--sp-2)!important;min-width:0!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-conexiones .account-hub span{overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-conexiones .conn-v278{gap:var(--grid-gap)!important;margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] #view-conexiones .cx-assistant{padding:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-conexiones .cx-assistant-head{padding:var(--card-pad) var(--card-pad) 0!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-conexiones :is(.cx-assistant-head h2,.wc-hero h2){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important}
 html body[data-density-a2] #view-conexiones :is(.cx-section-head h3,.wc-export h3,.cx-soon-h>b){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0!important}
 html body[data-density-a2] #view-conexiones :is(.cx-progress b,.wc-route-count b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-conexiones .cx-progress{padding:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2] #view-conexiones :is(.cx-progress span,.cx-kicker,.wc-kicker,.cx-status,.cx-tag,.cx-aporta li){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;letter-spacing:normal!important}
 html body[data-density-a2] #view-conexiones .cx-route{margin:0 var(--card-pad)!important;padding:var(--sp-2)!important;gap:var(--sp-2)!important;min-width:0!important;max-width:calc(100% - 2*var(--card-pad))!important}
 html body[data-density-a2] #view-conexiones .cx-purpose{padding:0 var(--card-pad)!important}
 html body[data-density-a2] #view-conexiones :is(.cx-steps,.cx-verification){padding:var(--card-pad)!important;gap:var(--sp-3)!important;margin:0!important}
 html body[data-density-a2] #view-conexiones .cx-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
 html body[data-density-a2] #view-conexiones :is(.cx-step,.cx-step[open],.cx-step-body,.cx-proof,.cx-soon-card,.cx-trouble-grid article,.wc-hero,.wc-export){background:var(--tl-panel-soft)!important;color:var(--tl-text)!important;min-width:0!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-conexiones .cx-step>summary{padding:var(--sp-3)!important;gap:var(--sp-2)!important;align-items:start!important;min-width:0!important}
 html body[data-density-a2] #view-conexiones .cx-step-title{gap:var(--sp-2)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-conexiones .cx-step-title b{font-size:var(--fs-base)!important}
 html body[data-density-a2] #view-conexiones .cx-step-summary{padding-right:var(--sp-4)!important;min-width:0!important}
 html body[data-density-a2] #view-conexiones .cx-step-no{flex:0 0 28px!important;width:28px!important;height:28px!important;font-size:var(--fs-base)!important}
 html body[data-density-a2] #view-conexiones .cx-step-body{padding:var(--sp-3)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-conexiones .cx-step-intro{margin:0!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] #view-conexiones .cx-step-list{gap:var(--sp-2)!important}
 html body[data-density-a2] #view-conexiones .cx-step-list li{padding-top:var(--sp-1)!important;padding-bottom:var(--sp-1)!important}
 html body[data-density-a2] #view-conexiones .cx-assistant>:is(.cx-estado,.cx-guide,.cx-actions,.cx-puente,.cx-warn){margin:0 var(--card-pad)!important}
 html body[data-density-a2] #view-conexiones .cx-assistant>#connV311Clave{margin-bottom:var(--card-pad)!important}
 html body[data-density-a2] #view-conexiones :is(.cx-proof-grid,.cx-trouble-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-conexiones :is(.cx-proof,.cx-soon-card,.cx-trouble-grid article,.wc-hero,.wc-export){padding:var(--card-pad)!important}
 html body[data-density-a2] #view-conexiones .cx-trouble-grid{padding:0 var(--card-pad) var(--card-pad)!important}
 html body[data-density-a2] #view-conexiones :is(.cx-troubleshoot>summary,.cx-guide>summary){padding:var(--sp-3)!important}
 html body[data-density-a2] #view-conexiones .cx-soon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-conexiones :is(.wc-hero,.wc-export){gap:var(--sp-3)!important;margin:0!important}
 html body[data-density-a2] #view-conexiones .cx-cta:not(.ghost){background:var(--lime)!important;color:#102007!important}
 html body[data-density-a2] #view-conexiones .mapoff{padding:0!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-preferencias :is(.prefs-grid,.grid2){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-conexiones :is(.account-hub,.cx-steps,.cx-proof-grid,.cx-trouble-grid,.cx-soon-grid,.cx-fields){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-conexiones :is(.cx-section-head,.cx-assistant-head){display:grid!important}
  html body[data-density-a2] #view-conexiones .cx-route{flex-wrap:wrap!important}
  html body[data-density-a2] #view-conexiones :is(.wc-hero,.wc-export){flex-direction:column!important;align-items:stretch!important}
  html body[data-density-a2] #view-conexiones .wc-export-form{width:100%!important;min-width:0!important;flex-direction:column!important}
  html body[data-density-a2] #view-conexiones .wc-route-count{min-height:0!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] :is(#view-preferencias,#view-conexiones) .view-title{padding:var(--sp-1) var(--sp-8) var(--sp-1) var(--sp-2)!important;width:fit-content!important;max-width:100%!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

@layer tl-density-a2{
 html[data-theme="light"] body[data-density-a2] #view-conexiones,html[data-theme="light"] body[data-density-a2] #view-conexiones *{--tl-text:#102019!important;--ink:#102019!important;--tl-text-2:#52645e!important;--tl-text-3:#52645e!important;--muted:#52645e!important}
 html[data-theme="light"] body[data-density-a2] #view-conexiones :is(.cx-step-title b,.cx-purpose>b,.cx-proof b,.cx-trouble-grid b){color:var(--tl-text)!important}
 html body[data-density-a2] #view-conexiones .cx-status.locked{color:var(--tl-text-2)!important}
 html[data-theme="light"] body[data-density-a2] #view-conexiones .cx-status.ok{color:#315b00!important}
 html[data-theme="light"] body[data-density-a2] #view-conexiones :is(.cx-status.warn,.cx-status.next,.cx-status.check){color:#765100!important}
 html[data-theme="light"] body[data-density-a2] #view-conexiones .cx-status.ready{color:#125a96!important}
 html body[data-density-a2] #view-conexiones .cx-soon-card[data-conn="garmin"] .cx-logo{background:#006ba8!important}
}

/* Guide/Help and the current Training Studio library use the same A2 roles. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-ayuda,#view-tipos){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) *{font-weight:inherit!important;box-sizing:border-box}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) :is(b,strong,button,summary,label){font-weight:600!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) :is(p,li,input,select,button){font-family:'Saira',sans-serif!important;font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) :is(button,input,select,summary){min-height:44px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) :is(small,.muted,.gd-hero-p,.gd-step small,.hlp-sec-sub,.gcard-teaser,.gcard-hint,.sh-sub,.type-count,.ts-library-note small,.ts-card-title span,.ts-card-foot span,.ts-step-more,.ts-sort-note,.ts-pro-session small,.tl-band-shown,.ts-tag,.hp-kicker){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;color:var(--tl-text-2)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) .view-title{font:400 var(--fs-display)/1.2 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-4)!important;padding:var(--sp-1) var(--sp-8) var(--sp-1) var(--sp-2)!important;min-height:0!important;width:fit-content!important;max-width:100%!important;white-space:normal!important}
 html body[data-density-a2] :is(#view-ayuda,#view-tipos) .view-title b{font-weight:400!important}
 html body[data-density-a2]:has(#view-ayuda:not(.hidden),#view-tipos:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important;min-height:0!important}
 html body[data-density-a2]:has(#view-ayuda:not(.hidden),#view-tipos:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 html body[data-density-a2] #view-ayuda :is(.gd-hero,.gd-step,.hp-shell,.hp-manual,.hlp-tools,.hp-faq details,.gcard-face){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-ayuda :is(.gd-hero,.hp-shell,.hp-manual){margin:0 0 var(--grid-gap)!important}
 html body[data-density-a2] #view-ayuda :is(.gd-hero-t,.hp-head h2){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important}
 html body[data-density-a2] #view-ayuda .gd-flow{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--sp-3)!important;margin-top:var(--sp-4)!important}
 html body[data-density-a2] #view-ayuda .gd-flow::before{display:none!important}
 html body[data-density-a2] #view-ayuda .gd-step{display:grid!important;grid-template-columns:32px 32px minmax(0,1fr)!important;min-height:0!important;gap:var(--sp-2)!important;align-items:center!important}
 html body[data-density-a2] #view-ayuda .gd-step-n{width:32px!important;height:32px!important;margin:0!important}
 html body[data-density-a2] #view-ayuda .gd-step-ic{font-size:24px!important}
 html body[data-density-a2] #view-ayuda .gd-step small{grid-column:2/-1!important}
 html body[data-density-a2] #view-ayuda :is(.hp-faq,.gcard-grid){gap:var(--grid-gap)!important;align-items:start!important}
 html body[data-density-a2] #view-ayuda .hp-faq{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-ayuda .gcard-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-ayuda :is(.gcard,.gcard-inner,.gcard-face){height:auto!important;min-height:0!important}
 html body[data-density-a2] #view-ayuda .gcard-inner{display:grid!important}
 html body[data-density-a2] #view-ayuda .gcard-face{grid-area:1/1!important;gap:var(--sp-2)!important;overflow:hidden!important;background:var(--tl-panel)!important;color:var(--tl-text)!important}
 html body[data-density-a2] #view-ayuda .gcard-front{position:relative!important}
 html body[data-density-a2] #view-ayuda .gcard-back{position:absolute!important}
 html body[data-density-a2] #view-ayuda .flipped .gcard-front{position:absolute!important}
 html body[data-density-a2] #view-ayuda .flipped .gcard-back{position:relative!important}
 html body[data-density-a2] #view-ayuda .gcard-scroll{flex:none!important;max-height:none!important;overflow:visible!important}
 html body[data-density-a2] #view-ayuda :is(.gcard-ttl,.gcard-back-h,.hlp-sec){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0!important}
 html body[data-density-a2] #view-ayuda .gcard-ic{font-size:32px!important;margin:0!important}
 html body[data-density-a2] #view-ayuda .gcard-act{gap:var(--sp-2)!important;flex-wrap:wrap!important;margin-top:var(--sp-2)!important}
 html body[data-density-a2] #view-ayuda .gcard-hint{margin:var(--sp-2) 0 0!important}
 html body[data-density-a2] #view-ayuda .hlp-tools{margin:var(--sp-3) 0!important;top:calc(var(--shell-header) + var(--sp-2))!important}
 html body[data-density-a2] #view-ayuda .hlp-sec{margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] #view-ayuda :is(.hlp-idx,.hp-links,.hp-head){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-tipos :is(.section-head,.ts-library-note){padding:var(--card-pad)!important;margin:0 0 var(--grid-gap)!important;gap:var(--sp-3)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-tipos .sh-title{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-tipos :is(.type-tools,.sh-actions){gap:var(--sp-3)!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] #view-tipos #typesGrid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important;min-width:0!important}
 html body[data-density-a2] #view-tipos :is(.ts-band-grid,.ts-pro-session-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important;padding:var(--card-pad)!important;align-items:start!important}
 html body[data-density-a2] #view-tipos .ts-type-card{padding:0!important;min-width:0!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-tipos .ts-card-main{padding:var(--card-pad)!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-tipos .ts-card-head{gap:var(--sp-2)!important;flex-wrap:wrap!important;min-width:0!important}
 html body[data-density-a2] #view-tipos .ts-card-title h3{font:600 var(--fs-card)/1.3 'Saira',sans-serif!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-tipos :is(.ts-card-description,.ts-steps,.ts-load-row){margin:var(--sp-2) 0!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-tipos .ts-card-foot{padding:var(--sp-3) var(--card-pad)!important;gap:var(--sp-2)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-tipos :is(.ts-band>summary,.ts-pro-family>summary){min-height:44px!important;padding:var(--sp-3)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-tipos .ts-pro-session{padding:var(--sp-3)!important;min-width:0!important;gap:var(--sp-2)!important}
 html body[data-density-a2] :is(.ts-detail-modal,.ts-editor-modal) :is(button,input,select){min-height:44px!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(.ts-detail-hero,.ts-detail-body,.ts-editor-top,.ts-form,.ts-preview-pane){padding:var(--card-pad)!important}
 html body[data-density-a2] :is(.ts-detail-hero h3,.ts-editor-top .m-title){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(.ts-detail-body,.ts-editor-modal) :is(p,li,textarea,.ts-detail-step b){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(.ts-detail-modal,.ts-editor-modal) :is(small,label,.ts-detail-hero p){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;color:var(--tl-text-2)!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-ayuda :is(.gd-flow,.hp-faq,.gcard-grid){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-tipos :is(.ts-band-grid,.ts-pro-session-grid,.type-tools){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-tipos .type-tools>*{grid-column:auto!important;min-width:0!important}
  html body[data-density-a2] #view-tipos .section-head{flex-wrap:wrap!important}
  html body[data-density-a2] #view-tipos .tl-band-shown{white-space:normal!important;overflow-wrap:anywhere!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-tipos .ts-type-card{min-height:0!important}
 html body[data-density-a2] #view-tipos .ts-card-head{grid-template-columns:36px minmax(0,1fr) auto!important}
 html body[data-density-a2] #view-tipos .ts-card-head:has(.ts-grip){grid-template-columns:44px 36px minmax(0,1fr) auto!important}
 html body[data-density-a2] #view-tipos .ts-card-icon{width:36px!important;height:36px!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-tipos .ts-grip{width:44px!important;height:44px!important;min-width:44px!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-tipos :is(.ts-band-grid,.ts-pro-session-grid){display:grid!important}
 html body[data-density-a2] #view-tipos .ts-card-head{display:grid!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-ayuda .gd-step{grid-template-columns:32px minmax(0,1fr)!important;gap:var(--sp-1) var(--sp-3)!important}
 html body[data-density-a2] #view-ayuda .gd-step-n{grid-column:1!important;grid-row:1/3!important}
 html body[data-density-a2] #view-ayuda .gd-step-ic{display:none!important}
 html body[data-density-a2] #view-ayuda .gd-step :is(b,small){grid-column:2!important}
 /* At most three columns; a category with one card uses its available width. */
 html body[data-density-a2] #view-tipos :is(.ts-band-grid,.ts-pro-session-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,max(280px,calc((100% - 2*var(--grid-gap))/3))),1fr))!important}
 @media(max-width:1023px){html body[data-density-a2] #view-tipos :is(.ts-band-grid,.ts-pro-session-grid){grid-template-columns:minmax(0,1fr)!important}}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-tipos .ts-card-main>*{margin-top:0!important;margin-bottom:0!important}
 html body[data-density-a2] #view-ayuda .hp-shell{gap:var(--sp-3)!important}
 html body[data-density-a2] #view-ayuda :is(.hp-faq details,.hp-manual){padding:0!important}
 html body[data-density-a2] #view-ayuda :is(.hp-faq summary,.hp-manual>summary){padding:var(--card-pad)!important}
 html body[data-density-a2] #view-ayuda .hp-faq p{padding:0 var(--card-pad) var(--card-pad)!important;margin:0!important}
 html body[data-density-a2] #view-ayuda .hp-manual>div{padding:0 var(--card-pad) var(--card-pad)!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-tipos .ts-step>span,html body[data-density-a2] :is(.ts-detail-step,.ts-step-row)>span{box-sizing:border-box!important;background:var(--tl-panel)!important;color:var(--tl-text)!important;border:1px solid var(--c,var(--ts-color))!important}
}

/* Analytics and Performance: the existing model and graph geometry remain unchanged. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) *{font-weight:inherit!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(b,strong,button,summary,label,th,.ef-title,.st-head h3,.pf-title h3){font-weight:600!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(p,.estado-note,.el-txt,.pf-head p){font-size:var(--fs-base)!important;line-height:var(--line-body)!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(small,.muted,.st-sub,.st-note,.st-range,.st-leg,.st-legkm,.st-legend,.st-kpi-l,.st-kpi-u,.st-delta,.eb-hint,.ef-sub,.ef-status,.eh-msg,.ehr-lbl,.gl-lbl,.gl-num,.pr-sub,.prc-meta,.prc-dt,.pr-flip,.vp-mt,.vp-empty,.pf-note,.pf-empty,.pf-title>span,.pf-zone,.pf-kpis span,.pf-kpis small,.cmp-l,.rpx-g,.rp-garmin,.tl-insight>div>span,.tl-cockpit-head .copy small,.perf-source-card>span){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.pf-kicker,.tl-cockpit-head .copy>span,.st-badge,.tl-source,.st-totals .tl){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;opacity:1!important}
 html[data-theme='dark'] body[data-density-a2] :is(#view-estadisticas,#view-garmin){--muted:var(--a2-nav-muted);--tl-text-2:var(--a2-nav-muted);--tl-text-3:var(--a2-nav-muted)}
 html[data-theme='light'] body[data-density-a2] :is(#view-estadisticas,#view-garmin){--muted:#496157;--tl-text-2:#354f43;--tl-text-3:#496157}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-note,.st-range,.st-sub,.st-kpi-l,.st-kpi-u,.eb-hint,.ef-sub,.ehr-lbl,.gl-num,.pr-sub,.prc-dt,.pr-flip,.st-legend,.pf-note,.pf-kpis small,.tl-cockpit-head .copy small,.perf-source-card>span:first-child){color:var(--muted)!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.view-title,.eh-state){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) .view-title{min-height:0!important;height:auto!important;padding:var(--sp-2) var(--sp-3)!important;margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-card,.st-empty,.st-kpi,.estado-block,.estado-note,.estado-hero,.tl-cockpit,.pf-head,.pf-card,.pf-kpis article,.perf-source-card,.tl-reading){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important;margin-bottom:0!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-head,.tl-cockpit-head,.pf-title){gap:var(--sp-3)!important;margin-bottom:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-head h3,.eb-title,.ef-title,.pf-title h3,.pr-l){font:600 var(--fs-card)/1.4 'Saira',sans-serif!important;margin:0!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.tl-cockpit-head .copy>b,.pf-head h2){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0 var(--sp-2)!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-kpi-v,.st-totals .tv,.ef-val,.ehr-num,.tl-reading>b,.pf-kpis strong,.pr-v,.rpx-t,.rp-time){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(button,select){font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;min-height:var(--touch-min)!important;max-width:100%!important;white-space:normal!important}
 html body[data-density-a2] #statsBody,html body[data-density-a2] #garminBody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-2col,.st-kpis,.pf-kpis,.pf-grid,.ef-grid,.perf-source-grid,.tl-cockpit-grid,.st-totals){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-garmin .ef-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-garmin .perf-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-garmin .ef-card{padding:var(--card-pad)!important;min-width:0!important;border-radius:var(--radius-card)!important;gap:var(--sp-3)!important;min-height:0!important}
 html body[data-density-a2] #view-garmin .ef-foot{gap:var(--sp-2)!important;flex-wrap:wrap!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.pf-shell,.pf-benefits,.pf-sports){gap:var(--grid-gap)!important;margin-bottom:0!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.tl-insight,.tl-insight-actions,.pf-ranges,.st-filter,.st-formchips,.st-donutrow,.hist-toolbar){gap:var(--sp-3)!important;flex-wrap:wrap!important;min-width:0!important}
 html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.tl-insight,.pf-benefits button,.pf-sports>div){padding:var(--sp-3)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-estadisticas :is(.st-filter,.st-syncbar,.st-range){margin:0!important}
 html body[data-density-a2] #view-estadisticas :is(.st-note,.pf-note){margin-top:var(--sp-3)!important;margin-bottom:0!important}
 html body[data-density-a2] #view-estadisticas :is(.pr-grid,.rpx-grid){gap:var(--grid-gap)!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-estadisticas :is(.pr-card,.prc-face,.rpx,.rp-tile){min-width:0!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-estadisticas :is(.prc-front,.prc-back,.rpx,.rp-tile){padding:var(--card-pad)!important}
 html body[data-density-a2] #view-estadisticas .cmp-sels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-estadisticas :is(.cmp-sel,.cmp-sel select,.st-filter select){min-width:0!important;width:100%!important;max-width:100%!important}
 html body[data-density-a2] #view-estadisticas .st-filter select{width:auto!important;flex:1 1 140px!important}
 html body[data-density-a2] #view-estadisticas .st-filter label{flex:0 0 auto!important}
 html body[data-density-a2] #view-estadisticas :is(.st-heatwrap,.cmp-chart,.rmap-wrap){max-width:100%!important;overflow-x:auto!important}
 html body[data-density-a2] #view-estadisticas .vp-row{gap:var(--sp-3)!important;padding:var(--sp-3)!important}
 html body[data-density-a2] #view-estadisticas :is(.vp-nm,.vp-mt,.pf-benefits span,.tl-insight>div,.perf-source-card b){min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-estadisticas .bc-bar{outline-offset:-2px!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) :is(p,input,.gm-f){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) :is(.muted,.gm-f>span){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;color:var(--tl-text-2)!important;opacity:1!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) :is(input,button){min-height:var(--touch-min)!important;min-width:0!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) :is(.gm-sec,.m-title){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:var(--sp-4) 0 var(--sp-3)!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) .gm-grid{gap:var(--grid-gap)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #overlay .modal:has(#gmSave) .gm-f{padding:var(--sp-3)!important;min-width:0!important}
 html body[data-density-a2]:has(#view-estadisticas:not(.hidden),#view-garmin:not(.hidden)) main.center>.top{margin-bottom:var(--sp-4)!important;min-height:0!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-estadisticas:not(.hidden),#view-garmin:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 @media(max-width:1023px){
  html body[data-density-a2] :is(#view-estadisticas,#view-garmin) :is(.st-2col,.st-kpis,.pf-kpis,.pf-grid,.ef-grid,.perf-source-grid,.tl-cockpit-grid,.st-totals,.pr-grid,.rpx-grid,.cmp-sels){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-estadisticas .pf-head{align-items:start!important;flex-direction:column!important}
  html body[data-density-a2] #view-estadisticas .pf-benefits button{flex-wrap:wrap!important}
  html body[data-density-a2] #view-estadisticas .pf-benefits span:last-child{text-align:left!important}
  html body[data-density-a2] #view-garmin .ef-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important}
  html body[data-density-a2] #view-garmin .ef-foot{display:flex!important;flex-direction:column!important;align-items:flex-end!important;text-align:right!important}
  html body[data-density-a2] #overlay .modal:has(#gmSave) .gm-grid{grid-template-columns:minmax(0,1fr)!important}
 }
}

@layer tl-density-a2{
 html[data-theme='dark'] body[data-density-a2] :is(#view-estadisticas,#view-garmin){--muted:#c8d4d1;--tl-text-2:#c8d4d1;--tl-text-3:#c8d4d1}
 html[data-theme='dark'] body[data-density-a2] :is(#view-estadisticas,#view-garmin) .muted{color:#c8d4d1!important}
 html[data-theme='light'] body[data-density-a2] :is(#view-estadisticas,#view-garmin) .muted{color:#40594d!important}
 html body[data-density-a2] #view-estadisticas .prc-open{background:var(--a2-lime)!important;color:#061016!important}
 html[data-theme='light'] body[data-density-a2] #view-estadisticas :is(#cmpResult>div:not(.cmp-chart),.pf-ranges button:not(.active)){color:#183b2f!important}
 html body[data-density-a2] #view-garmin .perf-source-card b{white-space:normal!important;overflow-wrap:anywhere!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-estadisticas .pf-head{background:#fff!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-estadisticas .pf-head :is(h2,p,.pf-kicker){color:#183b2f!important}
 html[data-theme='light'] body[data-density-a2] #view-estadisticas :is(.st-note,.st-note span,.st-sub,.st-legend,.st-kpi-l,.st-kpi-u){color:#496157!important}
 html[data-theme='light'] body[data-density-a2] #view-estadisticas .pf-ranges button:not(.active){background:#edf4ef!important;color:#183b2f!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-estadisticas .st-badge{color:#183b2f!important;background:#e4eee7!important}
 html[data-theme='dark'] body[data-density-a2] #view-estadisticas .st-badge{color:#f2f5f3!important;background:#10252b!important}
}

@layer tl-density-a2{
 html[data-theme='dark'] body[data-density-a2] #view-estadisticas .st-delta{color:#f2f5f3!important;background:#10252b!important}
 html[data-theme='light'] body[data-density-a2] #view-estadisticas .st-delta{color:#183b2f!important;background:#e4eee7!important}
}

/* Skills and Diary: presentation tokens only; keep the anatomical map and metric models. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-atleta,#view-diario){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);--trail-skill-gap:var(--grid-gap);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) *{font-weight:inherit!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) :is(b,strong,button,summary,th,.sn,.atl-title,.prog-bn){font-weight:600!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) :is(p,.ins-sub,.trail-skill-intro p,.trail-skill-note,td){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) :is(small,.muted,.body-hint,.sreal,.mbar .top,.atl-sub,.atl-leg,.ins-sub,.prog-sub,.prog-bp,.trail-axis-legend,.musc-legend,.body-rot .ang){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) :is(.trail-kicker,.trail-body-head>span,.trail-ins-code,.ovr-badge .pos,.prog-pts,.prog-pct){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;opacity:1!important}
 html[data-theme='dark'] body[data-density-a2] :is(#view-atleta,#view-diario){--muted:#c8d4d1;--tl-text-2:#c8d4d1;--tl-text-3:#c8d4d1}
 html[data-theme='dark'] body[data-density-a2] :is(#view-atleta,#view-diario) :is(.muted,.body-hint,.sreal,.atl-sub,.atl-leg,.ins-sub,.trail-axis-legend,.musc-legend,.body-rot .ang,.prog-sub,.prog-bp,.trail-body-head small){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] :is(#view-atleta,#view-diario) :is(.muted,.body-hint,.sreal,.atl-sub,.atl-leg,.ins-sub,.trail-axis-legend,.musc-legend,.body-rot .ang,.prog-sub,.prog-bp,.trail-body-head small){color:#40594d!important;opacity:1!important}
 html body[data-density-a2] :is(#view-atleta,#view-diario) .view-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;min-height:0!important;height:auto!important;padding:var(--sp-2) var(--sp-3)!important;margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] #view-atleta .trail-skill-intro{gap:var(--grid-gap)!important;padding:var(--card-pad)!important;margin-bottom:var(--grid-gap)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-atleta .trail-skill-intro h2{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0 var(--sp-2)!important}
 html body[data-density-a2] #view-atleta .trail-skill-intro p{margin:0!important}
 html body[data-density-a2] #view-atleta .trail-runner-mark{width:144px!important;height:74px!important}
 html body[data-density-a2] #view-atleta .athlete-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr)!important;gap:var(--grid-gap)!important;align-items:start!important}
 html body[data-density-a2] #view-atleta :is(.body-card,.athlete-profile-card,.insight,.atl-card,.prog-br){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important;margin-bottom:0!important}
 html body[data-density-a2] #view-atleta .body-stage{height:360px!important;max-width:100%!important;min-width:0!important}
 html body[data-density-a2] #view-atleta .body-stage>svg{max-height:100%!important;max-width:100%!important}
 html body[data-density-a2] #view-atleta .body-sexrow{margin:var(--sp-2) 0!important;padding:var(--sp-1)!important}
 html body[data-density-a2] #view-atleta :is(button,.skill-row){font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;min-height:var(--touch-min)!important;min-width:0!important;white-space:normal!important}
 html body[data-density-a2] #view-atleta .body-rot button{min-width:var(--touch-min)!important;width:var(--touch-min)!important;height:var(--touch-min)!important}
 html body[data-density-a2] #view-atleta .body-hint{padding:var(--sp-2) 0 0!important;margin:0!important}
 html body[data-density-a2] #view-atleta .ovr-head{gap:var(--grid-gap)!important;padding-bottom:var(--sp-3)!important;margin-bottom:var(--sp-3)!important;align-items:center!important;flex-direction:row!important}
 html body[data-density-a2] #view-atleta .ovr-badge{width:104px!important;min-width:104px!important;height:108px!important}
 html body[data-density-a2] #view-atleta .ovr-badge .num{font:400 var(--fs-kpi)/1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-atleta .ovr-head .meta{min-width:0!important}
 html body[data-density-a2] #view-atleta .ovr-head .meta h3{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:0!important}
 html body[data-density-a2] #view-atleta .ovr-head .meta p{margin:var(--sp-2) 0 0!important}
 html body[data-density-a2] #view-atleta .atleta-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--sp-2)!important;padding:var(--sp-1)!important;margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] #view-atleta .atleta-tabs button{padding:var(--sp-2)!important}
 html body[data-density-a2] #view-atleta .radar-wrap{grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;gap:var(--grid-gap)!important;padding:0!important}
 html body[data-density-a2] #view-atleta #radarBox{min-width:0!important}
 html body[data-density-a2] #view-atleta #radarBox>svg{display:block!important;max-width:100%!important;height:auto!important}
 html body[data-density-a2] #view-atleta .skill-list{gap:var(--sp-1)!important}
 html body[data-density-a2] #view-atleta .skill-row{padding:var(--sp-2)!important;gap:var(--sp-2)!important;width:100%!important}
 html body[data-density-a2] #view-atleta .skill-row .sn{font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;min-width:0!important}
 html body[data-density-a2] #view-atleta .skill-row .sv{font:400 24px/1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-atleta .musc-bars{gap:var(--sp-3)!important;padding-top:var(--sp-3)!important;margin-top:var(--grid-gap)!important}
 html body[data-density-a2] #view-atleta #atletaInsights{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important;margin-top:var(--grid-gap)!important}
 html body[data-density-a2] #view-atleta .ins-h{font:600 var(--fs-card)/1.4 'Saira',sans-serif!important;gap:var(--sp-2)!important;margin-bottom:var(--sp-2)!important}
 html body[data-density-a2] #view-atleta .ins-btn{margin-top:var(--sp-3)!important;max-width:100%!important}
 html body[data-density-a2] #view-atleta .atl-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-atleta .atl-stats-h{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] #view-atleta .atl-title{font:600 var(--fs-card)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-atleta .prog-tree{gap:var(--grid-gap)!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body[data-density-a2] #view-atleta .prog-node{padding:var(--sp-2)!important;gap:var(--sp-2)!important;min-width:0!important}
 html body[data-density-a2] #view-atleta .prog-lb{font:600 var(--fs-card)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-atleta .prog-bn{font:600 var(--fs-card)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-atleta .prog-bh{gap:var(--sp-2)!important;margin-bottom:var(--sp-3)!important}
 html body[data-density-a2] #view-atleta .trail-skill-note{margin:var(--sp-3) 0 0!important}
 html body[data-density-a2] #diarioBody{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:var(--grid-gap)!important;align-items:start!important}
 html body[data-density-a2] #view-diario .card{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important;margin:0!important}
 html body[data-density-a2] #view-diario h2{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] #diarioBody>.card:first-child>p:first-of-type{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] #view-diario table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-diario :is(th,td){padding:var(--sp-2)!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid var(--tl-border)!important;overflow-wrap:anywhere!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] #view-diario :is(th,td):first-child{width:25%!important}
 html body[data-density-a2] #view-diario :is(th,td):nth-child(2){width:18%!important}
 html body[data-density-a2] #view-diario :is(th,td):nth-child(3){width:16%!important}
 html body[data-density-a2] #view-diario button{min-height:var(--touch-min)!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;max-width:100%!important}
 html body[data-density-a2] #overlay :is(.metric-info-modal,.muscle-report-modal,.modal:has(.prog-info-tiles)){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay :is(.metric-info-modal,.muscle-report-modal,.modal:has(.prog-info-tiles)) :is(p,.m-body,.estado-note,.ex-name){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay :is(.metric-info-modal,.muscle-report-modal,.modal:has(.prog-info-tiles)) :is(.muted,.ex-sets,.m-type,.prog-info-tiles span){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important;color:var(--tl-text-2)!important}
 html body[data-density-a2] #overlay :is(.metric-info-modal,.muscle-report-modal,.modal:has(.prog-info-tiles)) .m-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #overlay :is(.metric-info-modal,.muscle-report-modal,.modal:has(.prog-info-tiles)) button{min-width:var(--touch-min)!important;min-height:var(--touch-min)!important}
 html body[data-density-a2]:has(#view-atleta:not(.hidden),#view-diario:not(.hidden)) main.center>.top{min-height:0!important;margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-atleta:not(.hidden),#view-diario:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-atleta :is(.athlete-grid,.radar-wrap,.atl-stats,.prog-tree,#atletaInsights),html body[data-density-a2] #diarioBody{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-atleta .body-stage{height:320px!important}
  html body[data-density-a2] #view-atleta .body-card{max-width:none!important}
  html body[data-density-a2] #view-atleta .trail-skill-intro{flex-direction:column!important;align-items:start!important}
  html body[data-density-a2] #view-atleta .trail-intro-side{display:flex!important;align-items:center!important;gap:var(--sp-3)!important}
  html body[data-density-a2] #view-atleta .radar-wrap{justify-items:stretch!important}
  html body[data-density-a2] #view-atleta #radarBox>svg{max-width:280px!important;margin:0 auto!important}
  html body[data-density-a2] #view-atleta .atleta-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #view-atleta .ovr-head{flex-wrap:wrap!important}
  html body[data-density-a2] #view-atleta .ovr-head .meta{flex:1 1 150px!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-atleta .ovr-badge .pos{width:88px!important;max-width:88px!important;overflow-wrap:normal!important}
 html body[data-density-a2] #view-atleta .radar-wrap,html body[data-density-a2] #view-atleta #radarBox{align-items:start!important;align-self:start!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-diario .tl-diary-table{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain}
 html body[data-density-a2] #view-diario .tl-diary-table:focus-visible{outline:2px solid var(--a2-lime);outline-offset:2px}
 html body[data-density-a2] #view-diario :is(th,td){padding:var(--sp-1) var(--sp-2)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #view-diario :is(th,td):first-child{width:21%!important;white-space:nowrap!important}
 html body[data-density-a2] #view-diario :is(th,td):nth-child(2){width:15%!important}
 html body[data-density-a2] #view-diario :is(th,td):nth-child(3){width:13%!important}
 html body[data-density-a2] #view-diario th{white-space:nowrap!important}
 @media(max-width:1023px){html body[data-density-a2] #view-diario table{min-width:560px!important}}
}

/* Nutrition and Gear retain their workspaces, draft calculations and inventory interactions. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-nutricion,#view-equipo){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) *{font-weight:inherit!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(b,strong,button,summary,label,.ef-title,.eb-title,.fc-name,.pc-name,.rc-name,.eq-it,.gk-cat){font-weight:600!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(p,.estado-note,.nut-beta-note,.nut-legal,.ins-sub,.nut-meal-slot,.check-item){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(small,.muted,.eb-hint,.ef-sub,.ef-status,.nut-command-stat span,.nut-block-head span,.plate-panel-head span,.plates-stats span,.pc-meta,.rc-meta,.rc-desc,.pi-por,.pi-kcal,.eq-hint,.eq-sn,.eq-wear .lb,.eq-chest-callout span,.eqp-stat span,.gk-pct,.gk-cat-chip,.ndr-sub,.nut-slot-name,.nut-plan-actions>span){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(.nut-section-kicker,.nut-command-k,.eqp-title,.eq-tb,.fc-title small){font-size:var(--fs-meta)!important;line-height:var(--line-small)!important;opacity:1!important}
 html[data-theme='dark'] body[data-density-a2] :is(#view-nutricion,#view-equipo){--muted:#c8d4d1;--tl-text-2:#c8d4d1;--tl-text-3:#c8d4d1}
 html[data-theme='dark'] body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(.muted,small,.eb-hint,.ef-sub,.eq-hint,.eq-sn,.eq-wear .lb,.eq-chest-callout span,.eqp-stat span,.gk-cat-chip,.pc-meta,.rc-meta,.rc-desc,.plate-panel-head span,.nut-block-head span,.nut-plan-actions>span){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(.muted,small,.eb-hint,.ef-sub,.eq-hint,.eq-sn,.eq-wear .lb,.eq-chest-callout span,.eqp-stat span,.gk-cat-chip,.pc-meta,.rc-meta,.rc-desc,.plate-panel-head span,.nut-block-head span,.nut-plan-actions>span){color:#40594d!important;opacity:1!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) .view-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;min-height:0!important;height:auto!important;padding:var(--sp-2) var(--sp-3)!important;margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(.estado-block,.estado-note,.nut-legal,.nut-command,.nut-edit-block,.nut-fuel-block,.nut-race,.plates-command,.plato-libcol,.plato-col,.plate-history,.rec-card,.nut-plan-day,.card,#rpgBody){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #nutBody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #nutBody>*{margin-top:0!important;margin-bottom:0!important;min-width:0!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(h3,.eb-title,.nut-block-head b,.plate-panel-head b,.plates-command h3,.eqp-head .eqp-title){font:600 var(--fs-card)/1.4 'Saira',sans-serif!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-nutricion :is(.nut-command-main b,.plates-command h3){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(.ef-val,.nut-command-stat b,.eqp-stat b,.pt-kcal,.nut-fuel-result b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-nutricion,#view-equipo) :is(button,input,select){min-height:var(--touch-min)!important;min-width:0!important;max-width:100%!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important}
 html body[data-density-a2] #view-equipo input[type='checkbox']{min-height:20px!important;width:20px!important;height:20px!important;flex:0 0 20px!important}
 html body[data-density-a2] #view-equipo .check-item{min-height:var(--touch-min)!important;padding:var(--sp-2) 0!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-nutricion :is(.ef-grid,.food-grid,.rec-grid,.nut-plan-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-nutricion .nut-workspace-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--sp-2)!important;padding:var(--sp-1)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-nutricion :is(.nut-block-head,.plates-command,.plate-tools,.plate-panel-head,.nut-plan-actions,.nut-plate-tray,.nwb-modes){gap:var(--grid-gap)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-nutricion .plato-build{grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-nutricion .food-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-nutricion :is(.food-chip,.plato-card){padding:var(--sp-2)!important;gap:var(--sp-2)!important;border-radius:var(--radius-card)!important;min-width:0!important}
 html body[data-density-a2] #view-nutricion .food-chip :is(.fc-name,.fc-copy small){white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-nutricion :is(.plato-col,.food-lib){position:static!important;max-height:none!important;overflow:visible!important}
 html body[data-density-a2] #view-nutricion .plato-drop{min-height:180px!important;padding:var(--sp-3)!important}
 html body[data-density-a2] #view-nutricion :is(.plato-item,.pt-macros){gap:var(--sp-2)!important}
 html body[data-density-a2] #view-nutricion :is(.plato-hist,.nut-fuel-controls){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-nutricion .nut-fuel-result{gap:var(--grid-gap)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-nutricion :is(.nut-plan-day,.nut-meal-slot,.nut-plate-drag){min-width:0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-nutricion .nut-meal-slot{padding:var(--sp-2)!important;min-height:var(--touch-min)!important}
 html body[data-density-a2] #view-nutricion .nut-legal{line-height:var(--line-body)!important}
 html body[data-density-a2] #view-equipo :is(.eqp-head,.eq-chest-callout,.gk-head,.gk-cat-summary,.eq-completion){gap:var(--grid-gap)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-equipo .eq-stage{max-width:900px!important}
 html body[data-density-a2] #view-equipo .eq-node{width:144px!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-equipo .eq-thumb{height:64px!important}
 html body[data-density-a2] #view-equipo .eq-body{padding:var(--sp-2)!important}
 html body[data-density-a2] #view-equipo .eq-it{font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-equipo .eq-chest-callout{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin-top:var(--grid-gap)!important}
 html body[data-density-a2] #view-equipo>.card{margin-top:var(--grid-gap)!important}
 html body[data-density-a2] #view-equipo .gk-head select{flex:1 1 220px!important}
 html body[data-density-a2] #overlay :is(.gear-chest-modal,.gear-new-modal,.gear-item-modal,.gear-slot-modal,.food-editor-modal){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay :is(.gear-chest-modal,.gear-new-modal,.gear-item-modal,.gear-slot-modal,.food-editor-modal) :is(p,.m-body,.gfc-name,.ii-n,label){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay :is(.gear-chest-modal,.gear-new-modal,.gear-item-modal,.gear-slot-modal,.food-editor-modal) :is(.muted,.gfc-meta,.gfc-back p,.ii-m,small,.m-type){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;color:var(--tl-text-2)!important;opacity:1!important}
 html body[data-density-a2] #overlay :is(.gear-chest-modal,.gear-new-modal,.gear-item-modal,.gear-slot-modal,.food-editor-modal) :is(input,select,button){min-height:var(--touch-min)!important;min-width:0!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay :is(.gear-chest-modal,.gear-new-modal,.gear-item-modal,.gear-slot-modal,.food-editor-modal) .m-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #overlay .gear-flip-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2]:has(#view-nutricion:not(.hidden),#view-equipo:not(.hidden)) main.center>.top{min-height:0!important;margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important}
 html body[data-density-a2]:has(#view-nutricion:not(.hidden),#view-equipo:not(.hidden)) #viewHeading{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-1) 0!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-nutricion :is(.ef-grid,.food-grid,.rec-grid,.nut-plan-grid,.plato-build,.plato-hist,.nut-fuel-controls,.nut-fuel-result){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-nutricion .nut-workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body[data-density-a2] #view-nutricion .plate-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-nutricion .plate-cats{flex-wrap:wrap!important;gap:var(--sp-2)!important}
  html body[data-density-a2] #view-nutricion .plates-command{flex-direction:column!important;align-items:start!important}
  html body[data-density-a2] #view-equipo .eq-stage{aspect-ratio:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:var(--grid-gap)!important}
  html body[data-density-a2] #view-equipo .eq-wires{display:none!important}
  html body[data-density-a2] #view-equipo .eq-avatar{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;width:144px!important;max-width:100%!important}
  html body[data-density-a2] #view-equipo .eq-plat{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;width:144px!important;height:12px!important}
  html body[data-density-a2] #view-equipo .eq-nodes{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important;width:100%!important}
  html body[data-density-a2] #view-equipo .eq-node{position:static!important;transform:none!important;width:100%!important;display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important}
  html body[data-density-a2] #view-equipo .eq-thumb{height:80px!important}
  html body[data-density-a2] #view-equipo .eq-tb{top:var(--sp-1)!important;left:var(--sp-1)!important;padding:var(--sp-1)!important;font-size:var(--fs-meta)!important;right:0!important;padding:0!important;text-align:center!important;white-space:normal!important}
  html body[data-density-a2] #overlay .gear-flip-grid{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #overlay .gear-chest-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--sp-3)!important}
 }
}

@layer tl-density-a2{
 html[data-theme='dark'] body[data-density-a2] #view-equipo .eq-node.empty .eq-it{color:#c8d4d1!important}
 html[data-theme='light'] body[data-density-a2] #view-equipo .eq-node.empty{background:#edf4ef!important}
 html[data-theme='light'] body[data-density-a2] #view-equipo .eq-node.empty .eq-it{color:#40594d!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-nutricion .food-lib{max-height:560px!important;overflow-y:auto!important;overflow-x:hidden!important}
 @media(min-width:1024px){html body[data-density-a2] #view-nutricion .plato-col{position:sticky!important;top:72px!important;align-self:start!important}}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-equipo .eq-tb{color:#d2dbd8!important;background:#182b31!important}
 html[data-theme='light'] body[data-density-a2] #view-nutricion .nwb-chip.active{color:#102108!important;background:#abe623!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-nutricion .food-chip{background:#edf4ef!important;color:#102019!important;border-color:#bacbbf!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-nutricion .plate-tools label>span{color:#40594d!important}
 html body[data-density-a2] #overlay .food-editor-modal :is(.food-form,.food-form>*,.ff-macros,.ff-macros>*,.ff-icons){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html body[data-density-a2] #overlay .food-editor-modal :is(input,select){width:100%!important;box-sizing:border-box!important}
 html body[data-density-a2] #overlay .food-editor-modal .ff-icons{display:flex!important;flex-wrap:wrap!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #overlay .food-editor-modal .ff-icon-field{margin:0!important;padding:0!important;border:0!important}
 html body[data-density-a2] #overlay .food-editor-modal :is(.ff-hint,.ff-sec){white-space:normal!important;overflow-wrap:anywhere!important}
}

/* Achievements and Summits keep the same catalogs, evidence and collapsible groups. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) *{font-weight:inherit!important;min-width:0}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(b,strong,button,summary){font-weight:600!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(p,.achv-desc){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(small,footer,.muted,.achv-cond,.achv-sub,.achv-lock,.achv-xp,.achv-cat-count,.achv-cat-shown,.ach-main-feature small,.achm-kpis span,.achm-cats span,.achm-cats small,.summit-atlas-copy span,.summit-atlas-kpis span,.summit-ring span,.summit-band-count,.summit-band-shown,.tl-band-count,.tl-band-shown,.world-summit-copy i,.europe-summit-copy i){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(.ach-main-kicker,.world-atlas-head>div>span,.europe-atlas-head>div>span,.summit-card-state,.world-summit-state,.europe-summit-state){font:600 var(--fs-meta)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(.ach-main-hero,.ach-metrics-v221,.achv-gallery-card,.cimas-hero-v392){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin:0 0 var(--section-gap)!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(.ach-main-copy h2,.cimas-hero-v392 h2){font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(h3,.mn-comp-h){font:600 var(--fs-card)/1.4 'Saira',sans-serif!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(.ach-main-ring b,.ach-main-stats b,.achm-score b,.achm-kpis b,.summit-ring b,.summit-atlas-kpis b,.europe-progress>div>b,.world-progress-v316 b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(button,input,select,summary){min-height:var(--touch-min)!important;max-width:100%!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) :is(.achv-row,.achv-cats,.ach-hub-nav,.achm-head,.summit-atlas-head,.world-atlas-head,.europe-atlas-head,.summit-atlas-tools,.world-tools,.summit-filter-row,.world-filter-row,.europe-filters){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-logros :is(.ach-main-featured,.achv-grid,.achm-cats,.achm-kpis){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-logros .achv-card{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-logros .achv-imgw{height:128px!important;aspect-ratio:auto!important}
 html body[data-density-a2] #view-logros .achv-img{height:128px!important;width:100%!important}
 html body[data-density-a2] #view-logros .achv-title{font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-logros :is(.ach-main-feature,.achm-kpis article,.achm-cats article){padding:var(--sp-3)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-logros .ach-main-feature{min-height:100px!important}
 html body[data-density-a2] #view-logros .achv-cat-h{gap:var(--sp-2)!important;padding:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-logros .ach-main-ring{width:88px!important;height:88px!important}
 html body[data-density-a2] #view-cimas :is(.summit-atlas-v223,.world-atlas-v227,.europe-atlas-v234){border-radius:var(--radius-card)!important;margin:0 0 var(--section-gap)!important}
 html body[data-density-a2] #view-cimas :is(.summit-atlas-head,.world-atlas-head,.europe-atlas-head){padding:var(--card-pad)!important}
 html body[data-density-a2] #view-cimas :is(.summit-atlas-tools,.summit-grid-head,.world-tools,.world-grid-head,.world-bands-v264,.europe-filters,.eu-bands-v264,.europe-progress,.world-progress-v316){margin:var(--grid-gap) var(--card-pad)!important}
 html body[data-density-a2] #view-cimas :is(.summit-band-grid,.europe-summit-grid,.world-summit-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important;padding:var(--card-pad)!important}
 html body[data-density-a2] #view-cimas .summit-collection-grid{padding:0!important;display:block!important}
 html body[data-density-a2] #view-cimas .summit-atlas-progress{grid-template-columns:88px minmax(0,1fr)!important;gap:var(--grid-gap)!important;padding:var(--card-pad)!important;margin:var(--grid-gap) var(--card-pad)!important}
 html body[data-density-a2] #view-cimas .summit-atlas-copy{grid-column:1/-1!important}
 html body[data-density-a2] #view-cimas .summit-ring{width:88px!important;height:88px!important}
 html body[data-density-a2] #view-cimas .summit-atlas-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-cimas :is(.summit-atlas-kpis article,.summit-band-h,.tl-band-h){padding:var(--sp-3)!important}
 html body[data-density-a2] #view-cimas :is(.summit-card-v223,.europe-summit-card,.world-summit-card){border-radius:var(--radius-card)!important;min-height:0!important;grid-template-rows:144px auto auto!important}
 html body[data-density-a2] #view-cimas :is(.summit-card-art,.europe-summit-art,.world-summit-art){height:144px!important}
 html body[data-density-a2] #view-cimas :is(.summit-card-copy,.europe-summit-copy,.world-summit-copy){padding:var(--sp-3)!important}
 html body[data-density-a2] #view-cimas :is(.summit-card-copy b,.europe-summit-copy b,.world-summit-copy b){font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-cimas footer{padding:var(--card-pad)!important}
 html body[data-density-a2] :is(#view-logros,#view-cimas,#view-manada) .view-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;height:auto!important;padding:var(--sp-2) var(--sp-3)!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] .achv-modal-box,html body[data-density-a2] #overlay :is(.summit-detail-v223,.summit-detail-v227,.europe-detail-v234){border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] .achv-modal-box{padding:var(--card-pad)!important}
 html body[data-density-a2] .achv-modal-box :is(button,.achv-flip-cta){font-size:var(--fs-small)!important;min-height:var(--touch-min)!important}
 html body[data-density-a2] .achv-modal-box :is(.achv-m-title){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] .achv-modal-box :is(.achv-m-k,.achv-m-prog2,.achv-xp,.achv-m-lock,.achv-flip-cta){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important}
 html body[data-density-a2] #overlay :is(.summit-detail-body,.summit-v227-body,.europe-detail-body){padding:var(--card-pad)!important}
 html body[data-density-a2] #overlay :is(.summit-detail-v223,.summit-detail-v227,.europe-detail-v234) :is(p,span,small){font-size:var(--fs-small)!important;line-height:var(--line-small)!important}
 html body[data-density-a2] #overlay :is(.summit-detail-v223,.summit-detail-v227,.europe-detail-v234) :is(button,a){min-height:var(--touch-min)!important;font-size:var(--fs-small)!important}
 html body[data-density-a2]:has(#view-logros:not(.hidden),#view-cimas:not(.hidden)) main.center>.top{min-height:0!important;margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-logros :is(.ach-main-featured,.achv-grid,.achm-cats,.achm-kpis,.ach-main-stats,.ach-main-hero){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-logros .achv-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-cimas :is(.summit-band-grid,.europe-summit-grid,.world-summit-grid,.summit-atlas-progress,.summit-atlas-kpis,.cimas-hero-v392){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-cimas :is(.summit-atlas-tools,.world-tools){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-cimas .summit-filter-row{overflow:visible!important}
  html body[data-density-a2] #view-cimas .summit-atlas-head .btn-prim{min-width:0!important;width:100%!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-logros .ach-main-ring>div{width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;background:#0c1b23!important;border-radius:50%!important;display:grid!important;place-content:center!important}
 html body[data-density-a2] #view-logros .ach-main-ring span{color:#d1ddd8!important}
 html body[data-density-a2] #view-logros .achv-rar{color:#0d141d!important}
 html body[data-density-a2] #view-cimas .summit-ring :is(b,span){background:#0c1b23!important;color:#d1ddd8!important}
 html[data-theme='dark'] body[data-density-a2] #view-cimas .world-ring-v316 :is(b,span){background:#0c1b23!important;color:#d1ddd8!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .world-ring-v316 :is(b,span){background:#fff!important;color:#40594d!important}
 html body[data-density-a2] #view-cimas :is(.summit-card-no,.world-summit-no,.europe-summit-number,.summit-card-state,.world-summit-state,.europe-summit-state){background:#102b2c!important;color:#d1ddd8!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-v223{--tl-text:#102019;--tl-text-2:#40594d;--tl-text-3:#40594d;background:#fff!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas :is(.summit-atlas-head,.summit-atlas-v223>footer){background:#fff!important;color:#40594d!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-head :is(p,span){color:#40594d!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-progress{background:#edf4ef!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-copy :is(b,span){color:#40594d!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-cimas :is(.summit-atlas-tools label>span,.summit-grid-head span){color:#40594d!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-logros .ach-hub-nav button span{display:inline!important}
}

@layer tl-density-a2{
 html body[data-density-a2] .achv-modal-box .achv-modal-x{right:0!important;top:0!important;width:44px!important;height:44px!important;min-height:44px!important;z-index:3!important}
 html body[data-density-a2] .achv-modal-box .achv-flip-action{color:#d1ddd8!important;background:#102b2c!important}
 html body[data-density-a2] .achv-modal-box .achv-rar{color:#0d141d!important}
 html body[data-density-a2] .achv-modal-box .achv-m-v[style]{color:#d1ddd8!important}
 html body[data-density-a2] .achv-modal-box :is(.achv-flip-front,.achv-flip-back){background:#08171b!important;color:#e5f0e9!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #overlay .summit-detail-v223 .summit-detail-zone{color:#c8d4d1!important}
 html body[data-density-a2] #overlay :is(.summit-detail-v223,.summit-detail-v227,.europe-detail-v234) .close{min-width:44px!important;min-height:44px!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #overlay .summit-detail-v223 .summit-detail-zone{color:#40594d!important}
 html body[data-density-a2] #overlay .summit-detail-v223 :is(.summit-detail-number,.summit-detail-badge){background:#102b2c!important;color:#d1ddd8!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-kpis article{background:#fff!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-kpis b{color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-kpis span{color:#40594d!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-tools input{background:#fff!important;color:#102019!important}
 html body[data-density-a2] #view-cimas .summit-ring{width:104px!important;height:104px!important;background:radial-gradient(circle,#0c1b23 58%,transparent 60%),conic-gradient(var(--tl-accent) calc(var(--pct)*1%),var(--tl-border) 0)!important}
 html body[data-density-a2] #view-cimas .summit-ring span{letter-spacing:0!important;max-width:100%!important}
 @media(min-width:1024px){html body[data-density-a2] #view-cimas .summit-atlas-progress{grid-template-columns:104px minmax(0,1fr)!important}}
}

@layer tl-density-a2{html body[data-density-a2] #view-cimas .cimas-hero-v392{background-color:#0c1b23!important}}

@layer tl-density-a2{html[data-theme='light'] body[data-density-a2] #view-cimas .summit-atlas-kpis b i{color:#40594d!important}}

/* The Catalunya progress ring deliberately keeps its dark center in the light theme. */
@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-ring{background:radial-gradient(circle,#0c1b23 58%,transparent 60%),conic-gradient(var(--tl-accent) calc(var(--pct)*1%),var(--tl-border) 0)!important}
 html[data-theme='light'] body[data-density-a2] #view-cimas .summit-ring :is(b,span){background:#0c1b23!important;color:#d1ddd8!important}
}

/* Routes and the existing shop notice share the A2 density contract. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-rutas,#view-tienda){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-subsection:var(--fs-title);--tl-type-stat:var(--fs-kpi);--tl-type-display:var(--fs-display);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) *{min-width:0;font-weight:inherit!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) :is(b,strong,button,label,.rt-name){font-weight:600!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) :is(p,.route-editor-guide,.shop-soon-p,.route-potential-note){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) :is(.muted,.rt-meta,.rt-l,.routes-map-badge,.sh-sub,.rp-main>span,.route-ach span>span,.route-editor-kicker,small,.shop-soon-tag){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) .view-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;padding:var(--sp-2) var(--sp-3)!important;margin:0 0 var(--sp-3)!important;height:auto!important}
 html body[data-density-a2] #view-rutas :is(h3,.eb-title,.rt-name,.sh-title){font:600 var(--fs-card)/1.4 'Saira',sans-serif!important}
 html body[data-density-a2] #view-rutas :is(.rt-title,.route-editor-title){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important}
 html body[data-density-a2] #view-rutas .rt-v{font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-rutas,#view-tienda) :is(button,input,select){min-height:var(--touch-min)!important;max-width:100%!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important}
 html body[data-density-a2] #view-rutas :is(.hist-toolbar,.route-detail-head,.section-head){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-rutas .routes-shell{height:auto!important;min-height:520px!important;grid-template-columns:minmax(260px,.85fr) minmax(0,1.8fr)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-rutas .routes-side{padding:var(--card-pad)!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-rutas .routes-list{gap:var(--grid-gap)!important;max-height:520px!important;overflow-y:auto!important}
 html body[data-density-a2] #view-rutas .rt-card{padding:var(--sp-3)!important;gap:var(--sp-3)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-rutas .rt-name{white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important}
 html body[data-density-a2] #view-rutas .rt-map{height:360px!important;min-height:320px!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-rutas .routes-map-wrap .rt-map{height:100%!important;min-height:520px!important;border-radius:0!important}
 html body[data-density-a2] #view-rutas .rt-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important;margin:var(--sp-3) 0!important}
 html body[data-density-a2] #view-rutas :is(.rt-tile,.card,.route-editor-guide,.ruta-live-profile){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-rutas :is(.rt-tile,.route-editor-guide,.route-poi,.route-ach){min-width:0!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-rutas .route-ach-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-rutas :is(.route-editor-tools,.route-editor-save){gap:var(--sp-3)!important}
 html body[data-density-a2] #view-rutas .route-editor-guide{margin:0!important}
 html body[data-density-a2] #view-rutas .route-poi{padding:var(--sp-3)!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-rutas :is(.pc-del,[data-poidel]){min-width:44px!important;flex:0 0 44px!important}
 html body[data-density-a2] #view-tienda #tiendaBody{min-height:240px!important}
 html body[data-density-a2] #view-tienda .shop-soon{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;gap:var(--grid-gap)!important;box-sizing:border-box!important}
 html body[data-density-a2] #view-tienda .shop-soon-t{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-tienda .shop-soon-tag{padding:var(--sp-2) var(--sp-3)!important}
 html[data-theme='dark'] body[data-density-a2] :is(#view-rutas,#view-tienda) :is(.muted,.rt-meta,.rt-l,.routes-map-badge,.sh-sub,.rp-main>span,.route-ach span>span,.route-editor-guide,.route-potential-note,.shop-soon-p,small){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] :is(#view-rutas,#view-tienda) :is(.muted,.rt-meta,.rt-l,.routes-map-badge,.sh-sub,.rp-main>span,.route-ach span>span,.route-editor-guide,.route-potential-note,.shop-soon-p,small){color:#40594d!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] #view-rutas :is(.routes-side,.routes-map-badge,.rt-map){background:#edf4ef!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-rutas :is(.rt-card,.rt-tile,.route-editor-guide,.ruta-live-profile){background:#fff!important;color:#102019!important}
 html body[data-density-a2] #overlay .route-poi-modal{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay .route-poi-modal :is(input,select,button){min-height:44px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:var(--fs-small)!important}
 html body[data-density-a2] #overlay .route-poi-modal :is(.field,.grid2){min-width:0!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #overlay .route-poi-modal .m-title{font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #overlay .route-poi-modal :is(p,label){font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2]:has(#view-rutas:not(.hidden),#view-tienda:not(.hidden)) main.center>.top{min-height:0!important;margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-rutas .routes-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
  html body[data-density-a2] #view-rutas .routes-side{border-right:0!important;border-bottom:1px solid var(--tl-border)!important}
  html body[data-density-a2] #view-rutas .routes-list{max-height:360px!important}
  html body[data-density-a2] #view-rutas :is(.rt-tiles,.route-ach-grid){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-rutas .rt-map,html body[data-density-a2] #view-rutas .routes-map-wrap .rt-map{height:280px!important;min-height:280px!important}
  html body[data-density-a2] #view-rutas .route-editor-tools{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #overlay .route-poi-modal .grid2{grid-template-columns:minmax(0,1fr)!important}
 }
}

@layer tl-density-a2{html body[data-density-a2] #view-rutas .rt-map:has(>.muted){display:grid!important;place-items:center!important}}

@layer tl-density-a2{
 html[data-theme='dark'] body[data-density-a2] #view-rutas .route-editor-guide a{color:#65e2c5!important}
 html[data-theme='light'] body[data-density-a2] #view-rutas .route-editor-guide a{color:#16634f!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-rutas .elev-v232{border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-rutas .ep-head{padding:var(--card-pad)!important;gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-rutas .ep-head b{font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-rutas :is(.ep-head em,.ep-stats small,.ep-stats b){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-rutas .ep-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #view-rutas .ep-stats>span{padding:var(--card-pad)!important}
 html[data-theme='dark'] body[data-density-a2] #view-rutas .elev-v232 :is(.ep-stats small,.ep-head em){color:#c8d4d1!important}
 html[data-theme='light'] body[data-density-a2] #view-rutas .elev-v232 :is(.ep-stats small,.ep-head em){color:#c8d4d1!important}
 @media(max-width:1023px){html body[data-density-a2] #view-rutas .ep-stats{grid-template-columns:minmax(0,1fr)!important}}
}


/* Phase 2: effective Pro v371 and Amigos views; no entitlement/relationship changes. */
@layer tl-density-a2{
 html body[data-density-a2] :is(#view-pro,#view-amigos){--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-section:var(--fs-title);--tl-type-card-title:var(--fs-card);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] :is(#view-pro,#view-amigos) *{font-weight:400!important;min-width:0}
 html body[data-density-a2] :is(#view-pro,#view-amigos) :is(b,strong,button,th){font-weight:600!important}
 html body[data-density-a2] :is(#view-pro,#view-amigos) :is(p,li,.nm,.r-nm){font-size:var(--fs-base)!important;line-height:var(--line-body)!important;overflow-wrap:anywhere}
 html body[data-density-a2] :is(#view-pro,#view-amigos) :is(small,.muted,.pro313-trust,.pro313-buy-proof,.pro313-fine,.pro-status-copy span,.pro-step p,.pro313-kicker,.pro313-title i,.pro-status-badge,.am279-aviso span,.am-row .mt,.am-chip,.mn-tag,.fifa-hint,.fifa-cat,.fifa-st i,.fifa-ovr span,.fbk-sec,.fbk-priv,.fbk-extra i,.fbk-rank small,.amc-lbl,.amc-drel,.amc-dstats,.amc-legend){font-size:var(--fs-small)!important;line-height:var(--line-small)!important;opacity:1!important}
 html body[data-density-a2] :is(#view-pro,#view-amigos) :is(.view-title,h3,.pro-status-copy strong){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] :is(#view-pro,#view-amigos) .view-title{margin:var(--sp-4) 0 var(--sp-3)!important;padding:0!important;min-height:0!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-pro :is(.pro313-hero,.pro-status,.pro-guide,.pro-check article,.pro313-buy,.pro313-compare,.pro313-cols article,.pro-step,.pro313-founder){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin-bottom:var(--grid-gap)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-pro .pro313-hero{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important}
 html body[data-density-a2] #view-pro .pro313-copy h2{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;margin:var(--sp-2) 0!important}
 html body[data-density-a2] #view-pro :is(.pro313-score,.pro313-score-grid article){padding:var(--card-pad)!important;min-height:0!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-pro :is(.pro313-score-grid,.pro-steps,.pro-check,.pro313-plans,.pro313-cols){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-pro :is(.pro313-score-grid b,.pro313-plans button>b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-pro :is(.pro313-buy,.pro313-compare){grid-template-columns:minmax(0,1fr)!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-pro :is(.pro313-trust,.pro313-buy-proof,.pro-actions){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-pro .pro313-plans button{padding:var(--card-pad)!important;min-height:0!important;border-radius:var(--radius-card)!important;gap:var(--sp-2)!important;white-space:normal!important}
 html body[data-density-a2] #view-pro .pro313-plans button.best{padding-top:48px!important}
 html body[data-density-a2] #view-pro .pro313-plans button>i{font-size:var(--fs-meta)!important;white-space:normal!important}
 html body[data-density-a2] #view-pro :is(.pro-check h4,.pro-step strong,.pro313-cols article>b){font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-pro :is(.pro313-cols ul,.pro313-fine){margin:var(--sp-3) 0!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-amigos :is(.card,.am279-aviso){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin:0 0 var(--grid-gap)!important}
 html body[data-density-a2] #view-amigos :is(.am-top,.am-chips,.am-seg,.amc-detail,.amc-legend){gap:var(--sp-2)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-amigos .am-seg{display:flex!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-amigos :is(button,input){min-height:44px!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-amigos :is(.am-row,.r-who,.mn-comp-h){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-amigos .am-row .nm{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-amigos .fifa-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-amigos .fifa{padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;text-shadow:none!important;background:linear-gradient(150deg,#153d32,#081c24)!important;color:#f2f6f4!important}
 html body[data-density-a2] #view-amigos .am279-sin .fifa-face{filter:none!important;opacity:1!important}
 html body[data-density-a2] #view-amigos .fifa-nm{white-space:normal!important;overflow-wrap:anywhere!important;font-size:var(--fs-base)!important;margin:var(--sp-3) 0!important}
 html body[data-density-a2] #view-amigos .fifa-st{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-amigos :is(.fifa-ovr b,.fbk-rank b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-amigos :is(.fifa-st b,.fbk-extra b){font-size:var(--fs-base)!important}
 html body[data-density-a2] #view-amigos .fifa-flip{min-height:460px!important;height:auto!important}
 html body[data-density-a2] #view-amigos .fifa-in{height:100%!important;min-height:460px!important}
 html body[data-density-a2] #view-amigos .fifa-back{overflow-y:auto!important}
 html body[data-density-a2] #view-amigos .am279-tag{max-width:90%!important;white-space:normal!important;text-align:center!important;z-index:3}
 html body[data-density-a2] #view-amigos .fbk-h{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font:600 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-amigos .fbk-btns{gap:var(--sp-2)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-amigos .amc-sky{max-height:520px!important;min-height:320px!important}
 html body[data-density-a2] #view-amigos .amc-lbl{color:#d2e1da!important;overflow-wrap:anywhere!important}
 html body[data-density-a2] #view-amigos .amc-detail{padding:var(--card-pad)!important}
 html body[data-density-a2] #view-amigos .mn-rank{min-width:650px!important}
 html body[data-density-a2] #view-amigos .mn-rank :is(td,th){padding:var(--sp-3)!important;font-size:var(--fs-small)!important}
 html[data-theme='dark'] body[data-density-a2] :is(#view-pro,#view-amigos) :is(.muted,small,.pro-status-copy span,.pro-step p,.pro-guide-head p,.pro313-buy-copy p,.pro313-compare>div>p,.pro-check p,.pro313-fine,.am279-aviso span,.am-row .mt,.fbk-sec,.fbk-priv,.amc-drel,.amc-dstats){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] :is(#view-pro,#view-amigos) :is(.muted,small,.pro-status-copy span,.pro-step p,.pro-guide-head p,.pro313-buy-copy p,.pro313-compare>div>p,.pro-check p,.pro313-fine,.am279-aviso span,.am-row .mt,.amc-drel,.amc-dstats){color:#40594d!important;opacity:1!important}
 html body[data-density-a2] #view-pro .pro313-hero :is(small,p,i,.pro313-trust,.pro313-score-label){color:#c8d4d1!important;opacity:1!important}
 html body[data-density-a2] #view-amigos .fifa :is(small,i,.fifa-hint,.fbk-sec,.fbk-priv){color:#d2e1da!important;opacity:1!important}
 html body[data-density-a2] #overlay .pp-modal{max-width:520px!important;padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #overlay .pp-modal :is(.pp-stats,.pp-wrap,.pp-chips,.pp-head){gap:var(--grid-gap)!important}
 html body[data-density-a2] #overlay .pp-modal .pp-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body[data-density-a2] #overlay .pp-modal :is(.pp-stat,.pp-levelbar,.pp-lock,.pp-donut-wrap){padding:var(--card-pad)!important}
 html body[data-density-a2] #overlay .pp-modal :is(.pp-nm,.pp-lvl-badge,.pp-stat b){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #overlay .pp-modal :is(small,i,.muted,.pp-follow-counts,.pp-meta,.pp-lvl-tx){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important}
 html body[data-density-a2] #overlay .pp-modal :is(button){min-height:44px!important;white-space:normal!important;max-width:100%!important}
 html body[data-density-a2] #overlay .pp-modal .pp-head{flex-wrap:wrap!important}
 html body[data-density-a2] #overlay .pp-modal .pp-nm{overflow-wrap:anywhere!important}
 html[data-theme='dark'] body[data-density-a2] #overlay .pp-modal :is(small,i,.muted,.pp-follow-counts,.pp-meta){color:#c8d4d1!important}
 html[data-theme='light'] body[data-density-a2] #overlay .pp-modal :is(small,i,.muted,.pp-follow-counts,.pp-meta){color:#40594d!important}
 html body[data-density-a2]:has(#view-pro:not(.hidden),#view-amigos:not(.hidden)) main.center>.top{min-height:0!important;margin-bottom:var(--sp-4)!important;gap:var(--sp-3)!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-pro :is(.pro313-hero,.pro313-score-grid,.pro-steps,.pro-check,.pro313-plans,.pro313-cols){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-amigos .fifa-grid{grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-amigos .am-top{align-items:stretch!important}
  html body[data-density-a2] #view-amigos .am-row{align-items:stretch!important}
  html body[data-density-a2] #view-amigos .amc-lbl{max-width:76px!important}
  html body[data-density-a2] #overlay .pp-modal .pp-stats{grid-template-columns:minmax(0,1fr)!important}
 }
}

@layer tl-density-a2{html body[data-density-a2] #view-amigos .am-rank-scroll:focus-visible{outline:2px solid var(--a2-lime);outline-offset:3px;border-radius:var(--radius-sm)}}

@layer tl-density-a2{
 html body[data-density-a2] #view-pro .pro313-cols article{overflow:hidden!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-hero{background:radial-gradient(circle at 88% 8%,rgba(183,239,69,.16),transparent 34%),linear-gradient(135deg,#08291e,#061914)!important;color:#f2f6f4!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-hero :is(small,p,i,.pro313-trust,.pro313-score-label){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='dark'] body[data-density-a2] #view-amigos .fifa :is(small,i,.fifa-hint,.fbk-sec,.fbk-priv){color:#d2e1da!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .fifa :is(small,i,.fifa-hint,.fbk-sec,.fbk-priv){color:#d2e1da!important;opacity:1!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-pro .pro313-title{overflow:hidden!important}
 html body[data-density-a2] #view-pro .pro313-hero{background-color:#061914!important}
 html body[data-density-a2] #view-amigos .am279-sin .fifa-front{padding-top:64px!important}
}

@layer tl-density-a2{
 html body[data-density-a2] #view-pro{overflow-x:clip}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-hero{background-color:#061914!important}
 html body[data-density-a2] #view-pro .pro313-cols article{opacity:1!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-cols article{background:#fff!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-cols article>span{color:#40594d!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-compare{background:#fff!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-compare h3{color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-compare>div>p{color:#40594d!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-pro :is(.pro313-kicker,.pro-status-badge,.pro-guide-head small){color:#755100!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-hero .pro313-kicker{color:#e9c66b!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro-step[data-state='ok'] .pro-step-dot{color:#355c00!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro-actions a{color:#16634f!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .mn-rank :is(.r-lvl,.rk,.r-cat){color:#355c00!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .mn-rank .r-nm{color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #overlay .pp-modal :is(.pp-rel,.pp-cat,.pp-lvl-badge,.am-chip.sel){color:#355c00!important}
 html[data-theme='light'] body[data-density-a2] #overlay .pp-modal .pp-stat.pp-world b{color:#16634f!important}
}

@layer tl-density-a2{html body[data-density-a2] #overlay .pp-modal button{font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important}}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-buy{background:#fff!important;color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-pro .pro313-buy h3{color:#102019!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .mn-rank .rk{background:#fff!important;color:#102019!important;border:1px solid #53655b!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .mn-rank .p1 .rk{border-color:#8b6800!important}
 html[data-theme='light'] body[data-density-a2] #view-amigos .mn-rank .p3 .rk{border-color:#88573e!important}
}

@layer tl-density-a2{html[data-theme='light'] body[data-density-a2] #view-pro .pro313-buy-proof span{color:#40594d!important}}

/* Phase 2: El Refugio, its existing clubs, competition filters and rankings. */
@layer tl-density-a2{
 html body[data-density-a2] #view-manada{--tl-type-body:var(--fs-base);--tl-type-meta:var(--fs-small);--tl-type-kicker:var(--fs-meta);--tl-type-card-title:var(--fs-card);--tl-type-section:var(--fs-title);--tl-type-stat:var(--fs-kpi);font:400 var(--fs-base)/var(--line-body) 'Saira',sans-serif!important}
 html body[data-density-a2] #view-manada *{min-width:0;font-weight:400!important}
 html body[data-density-a2] #view-manada :is(b,strong,button,summary,th){font-weight:600!important}
 html body[data-density-a2] #view-manada :is(p,.nm,.mn-mem,.mn-comp-id>b,.mn-comp-h>b){font-size:var(--fs-base)!important;line-height:var(--line-body)!important;overflow-wrap:anywhere!important;white-space:normal!important;text-overflow:clip!important}
 html body[data-density-a2] #view-manada :is(small,.muted,.mn-lvl,.mn-xp span,.mn-code,.mn-tag,.mn-role,.sh-sub,.ref-kicker,.ref-live,.ref-metric span,.ref-results,.mn-comp-count,.mn-comp-meta,.mn-state,.mn-flip-hint,.mn-comp-kpis span,.mn-club-kpis span,.ref-console-cell span,.ref-comp-console .lead>span,.ref-rank-head span,.ref-podium-place span){font:400 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;opacity:1!important}
 html body[data-density-a2] #view-manada :is(.sh-title,.view-title,h2){font:400 var(--fs-title)/1.2 'Bebas Neue',sans-serif!important;margin:0 0 var(--sp-2)!important}
 html body[data-density-a2] #view-manada .mn-hero{min-height:180px!important;margin:0 0 var(--section-gap)!important;background-color:#061b1c!important;border-radius:var(--radius-card)!important}
 html body[data-density-a2] #view-manada .mn-hero-c{padding:var(--card-pad)!important;padding-top:72px!important;gap:var(--sp-3)!important}
 html body[data-density-a2] #view-manada .mn-hero b.nm{font:400 var(--fs-display)/1.1 'Bebas Neue',sans-serif!important;white-space:normal!important}
 html body[data-density-a2] #view-manada .tl-ref-visual-actions-v332{top:var(--sp-3)!important;right:var(--sp-3)!important;left:var(--sp-3)!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-manada :is(.card,.ref-command,.ref-comp-console,.mn-comp,.mn-club-b,.ref-rank-summary){padding:var(--card-pad)!important;border-radius:var(--radius-card)!important;margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] #view-manada :is(.mn-grid,.ref-command-stats,.ref-podium){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-manada :is(.mn-club-kpis,.mn-comp-kpis){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sp-2)!important}
 html body[data-density-a2] #view-manada :is(.ref-metric,.ref-podium-place,.ref-console-cell){padding:var(--sp-3)!important;border-radius:var(--radius-sm)!important}
 html body[data-density-a2] #view-manada :is(.ref-metric>b,.mn-club-kpis b,.mn-comp-kpis b){font:400 var(--fs-kpi)/1.1 'Bebas Neue',sans-serif!important}
 html body[data-density-a2] #view-manada :is(.mn-club-kpis article,.mn-comp-kpis article){padding:var(--sp-3) var(--sp-1)!important}
 html body[data-density-a2] #view-manada :is(.section-head,.sh-actions,.ref-command-head,.ref-command-actions,.mn-actions,.mn-comp-top,.mn-comp-h,.mn-code,.mn-banner,.achv-qnav){gap:var(--sp-3)!important;flex-wrap:wrap!important}
 html body[data-density-a2] #view-manada .section-head{margin:var(--section-gap) 0 var(--sp-3)!important}
 html body[data-density-a2] #view-manada .mn-banner{padding:var(--card-pad)!important;background:#102f29!important;color:#f2f6f4!important}
 html body[data-density-a2] #view-manada .mn-banner>b{overflow-wrap:anywhere!important;white-space:normal!important;font-size:var(--fs-base)!important}
 html body[data-density-a2] #view-manada :is(button,input,select){min-height:44px!important;max-width:100%!important;box-sizing:border-box!important;font:600 var(--fs-small)/var(--line-small) 'Saira',sans-serif!important;white-space:normal!important}
 html body[data-density-a2] #view-manada .ref-tools{display:grid!important;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))!important;gap:var(--sp-3)!important;margin:0 0 var(--grid-gap)!important}
 html body[data-density-a2] #view-manada .ref-tools>input{width:100%!important;min-width:0!important}
 html body[data-density-a2] #view-manada .ref-results{grid-column:1/-1!important}
 html body[data-density-a2] #view-manada .mn-comp-id{flex:1 1 180px!important}
 html body[data-density-a2] #view-manada .mn-comp-flip{margin-bottom:var(--grid-gap)!important}
 html body[data-density-a2] #view-manada .mn-comp-fi{min-height:0!important}
 html body[data-density-a2] #view-manada .mn-comp{height:auto!important}
 html body[data-density-a2] #view-manada .mn-rank{min-width:600px!important}
 html body[data-density-a2] #view-manada .mn-rank :is(th,td){font-size:var(--fs-small)!important;padding:var(--sp-3)!important;white-space:normal!important}
 html body[data-density-a2] #view-manada .ref-comp-console{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--grid-gap)!important}
 html body[data-density-a2] #view-manada .ref-comp-console .lead{grid-column:1/-1!important}
 html body[data-density-a2] #view-manada :is(.mn-empty,.ref-filter-empty){font-size:var(--fs-base)!important;padding:var(--card-pad)!important}
 html body[data-density-a2] #view-manada .mn-rank-scroll{max-width:100%;overflow-x:auto}
 html body[data-density-a2] #view-manada .mn-rank-scroll:focus-visible{outline:2px solid var(--a2-lime);outline-offset:3px}
 html body[data-density-a2] #view-manada .mn-front:focus-visible{outline:2px solid var(--a2-lime);outline-offset:3px}
 html[data-theme='dark'] body[data-density-a2] #view-manada :is(.muted,small,.mn-lvl,.mn-xp span,.mn-code,.mn-role,.sh-sub,.ref-kicker,.ref-live,.ref-metric span,.ref-results,.mn-comp-meta,.mn-flip-hint,.ref-console-cell span,.ref-comp-console .lead>span,.ref-rank-head span,.ref-podium-place span){color:#c8d4d1!important;opacity:1!important}
 html[data-theme='light'] body[data-density-a2] #view-manada :is(.muted,small,.mn-lvl,.mn-code,.mn-role,.sh-sub,.ref-kicker,.ref-live,.ref-metric span,.ref-results,.mn-comp-meta,.mn-flip-hint,.ref-console-cell span,.ref-comp-console .lead>span,.ref-rank-head span,.ref-podium-place span){color:#40594d!important;opacity:1!important}
 html body[data-density-a2] #view-manada :is(.mn-hero,.mn-banner) :is(.mn-lvl,.mn-role,.mn-xp span){color:#d4e3dd!important;opacity:1!important}
 html body[data-density-a2] #view-manada .ref-command{background:#0d292a!important;color:#f2f6f4!important}
 html body[data-density-a2] #view-manada .ref-command :is(p,.ref-kicker,.ref-live,.ref-metric span){color:#d4e3dd!important}
 html body[data-density-a2] #view-manada .ref-metric{background:#13322f!important;color:#f2f6f4!important}
 @media(max-width:1023px){
  html body[data-density-a2] #view-manada :is(.mn-grid,.ref-command-stats,.ref-podium,.ref-tools,.ref-comp-console){grid-template-columns:minmax(0,1fr)!important}
  html body[data-density-a2] #view-manada .mn-hero-c{padding-top:120px!important}
  html body[data-density-a2] #view-manada .mn-comp-top{align-items:start!important}
  html body[data-density-a2] #view-manada .mn-comp-id{flex-basis:180px!important}
 }
}

@layer tl-density-a2{
 html body[data-density-a2] #view-manada .view-title{padding:var(--sp-2) var(--sp-3)!important;min-height:0!important;height:auto!important;margin:0 0 var(--sp-3)!important}
 html body[data-density-a2] #view-manada .ref-command-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 @media(max-width:1023px){html body[data-density-a2] #view-manada .ref-command-stats{grid-template-columns:minmax(0,1fr)!important}}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .mn-av i{color:#f2f6f4!important}
 html body[data-density-a2] #view-manada .mn-hero :is(.nm,.mn-lvl,.mn-xp span){background-color:#061b1c!important;border-radius:var(--radius-sm)!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .mn-hero :is(.mn-lvl,.mn-xp span){color:#d4e3dd!important}
 html body[data-density-a2] #view-manada .tl-ref-visual-actions-v332{position:absolute!important;bottom:auto!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .mn-banner :is(b,.mn-role){color:#f2f6f4!important}
 html[data-theme='light'] body[data-density-a2] #view-manada .ref-command :is(p,.ref-kicker,.ref-live,.ref-metric span){color:#d4e3dd!important}
 html[data-theme='light'] body[data-density-a2] #view-manada .ref-command :is(h2,.ref-metric>b){color:#f2f6f4!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .mn-banner span.mn-role{color:#f2f6f4!important}
 html[data-theme='light'] body[data-density-a2] #view-manada :is(.achv-cat-count,.achv-state,.achv-chip.on,.achv-cond,.mn-rank .r-nm){color:#355c00!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .mn-tag.gen{color:#16634f!important}
 html[data-theme='light'] body[data-density-a2] #view-manada .achv-ok{color:#355c00!important}
}

@layer tl-density-a2{
 html[data-theme='light'] body[data-density-a2] #view-manada .achv-chip.on{background:#edf4e6!important;color:#355c00!important}
 html[data-theme='light'] body[data-density-a2] #view-manada .ref-command .btn-ghost{background:#13322f!important;color:#d4e3dd!important}
}
