
/* ==========================================================================
   6.2.8.16.9.4.7 – REFERENCE PRESENTATION COMPOSITION & CONTENT SCALE
   Baseline 9.4.6 | Geometry 9.3.5 | Contract V1.0 §5.7
   ========================================================================== */
html body.btc-rc4836 .btc62816935-boundary-authority{
  --btc-ref-gap:12px;
  --btc-ref-radius:14px;
  --btc-ref-title:18px;
  --btc-ref-copy:13px;
}

/* Intro */
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-intro,[data-btc6281693-slot="intro"]){
  padding:18px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-intro,[data-btc6281693-slot="intro"]) :is(h2,h3){
  font-size:22px!important;line-height:1.08!important;margin:4px 0 10px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-intro,[data-btc6281693-slot="intro"]) p{
  font-size:14px!important;line-height:1.45!important;max-width:36ch!important;
}

/* Property cards */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-property-label{
  font-size:12px!important;letter-spacing:.16em!important;margin:0 0 8px 4px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-property-grid{
  gap:var(--btc-ref-gap)!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-property-grid > .btc628169-master-panel{
  min-height:148px!important;padding:14px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc62816942-card-header{
  grid-template-columns:minmax(0,1fr) 38px!important;column-gap:10px!important;margin:0 0 12px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
.btc62816942-card-title-slot :is(h2,h3,h4){
  font-size:15px!important;line-height:1.15!important;white-space:normal!important;
  overflow:visible!important;text-overflow:clip!important;max-width:none!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc62816942-card-icon-slot{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;font-size:21px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-property-grid > .btc628169-master-panel :is(p,li){
  font-size:13px!important;line-height:1.42!important;
}

/* Approved reference analysis composition, still one real 3-track grid */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-analysis{
  display:grid!important;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:var(--btc-ref-gap)!important;
  align-items:stretch!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-analysis > .btc628169-master-panel{
  min-width:0!important;margin:0!important;padding:15px 16px!important;border-radius:var(--btc-ref-radius)!important;overflow:hidden!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-recommendations,[data-btc6281693-slot="recommendations"]){
  grid-column:1!important;grid-row:1 / 3!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-more-recommendations,[data-btc6281693-slot="more-recommendations"]){
  grid-column:2 / 4!important;grid-row:1!important;min-height:150px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-axes,[data-btc6281693-slot="axes"]){
  grid-column:2 / 4!important;grid-row:2!important;min-height:248px!important;
}

/* Semantic section icon headers */
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-recommendations,.btc628169-slot-more-recommendations,.btc628169-slot-axes,.btc628169-slot-goals,.btc628169-slot-radar)
> :is(h2,h3,h4):first-child{
  display:flex!important;align-items:center!important;gap:10px!important;
  font-size:var(--btc-ref-title)!important;line-height:1.18!important;margin:0 0 10px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-recommendations,.btc628169-slot-more-recommendations,.btc628169-slot-axes,.btc628169-slot-goals,.btc628169-slot-radar)
> :is(h2,h3,h4):first-child::before{
  width:30px!important;height:30px!important;min-width:30px!important;display:grid!important;place-items:center!important;
  border-radius:999px!important;border:1px solid rgba(179,92,255,.42)!important;background:rgba(179,92,255,.10)!important;
  color:#bd75ff!important;font-size:16px!important;line-height:1!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-recommendations > :is(h2,h3,h4):first-child::before{content:"◈"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-more-recommendations > :is(h2,h3,h4):first-child::before{content:"✓"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes > :is(h2,h3,h4):first-child::before{content:"↗"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-goals > :is(h2,h3,h4):first-child::before{content:"◎"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-radar > :is(h2,h3,h4):first-child::before{content:"▦"!important;}

/* Recommendation cards */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-recommendations .bmp-coach-rec-card{
  padding:12px!important;margin:0 0 9px!important;border-radius:11px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-recommendations .bmp-coach-rec-card :is(h3,h4,strong){
  font-size:13px!important;line-height:1.28!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-recommendations .bmp-coach-rec-card p{
  font-size:12px!important;line-height:1.38!important;margin:4px 0!important;
}

/* Further recommendations */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-more-recommendations p{
  font-size:13px!important;line-height:1.5!important;margin:5px 0!important;max-width:78ch!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-more-recommendations p:not(:first-of-type)::before{
  content:"✓";color:#b66dff;font-weight:800;margin-right:7px;
}

/* Performance axes: existing native radar + existing native values */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes{
  display:grid!important;
  grid-template-columns:minmax(220px,.85fr) minmax(260px,1.15fr)!important;
  grid-template-rows:auto 1fr!important;
  column-gap:18px!important;row-gap:8px!important;align-items:center!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes > :is(h2,h3,h4):first-child{
  grid-column:1 / -1!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host{
  grid-column:1!important;grid-row:2!important;min-height:190px!important;display:grid!important;place-items:center!important;overflow:visible!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host svg{
  width:min(100%,260px)!important;max-width:260px!important;max-height:220px!important;height:auto!important;overflow:visible!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars{
  display:grid!important;grid-column:2!important;grid-row:auto!important;min-width:0!important;
  font-size:12px!important;line-height:1.25!important;padding:5px 8px!important;margin:0!important;
  border-radius:8px!important;background:rgba(255,255,255,.018)!important;border-bottom:1px solid rgba(110,150,180,.12)!important;
  overflow:visible!important;opacity:1!important;
}

/* Development row */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-development{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:var(--btc-ref-gap)!important;align-items:stretch!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-development > .btc628169-master-panel{
  min-height:132px!important;padding:14px 16px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-goals p{
  font-size:13px!important;line-height:1.46!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-radar :is(button,.button){
  min-height:38px!important;padding:8px 15px!important;font-size:13px!important;
}

/* Context rail */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail{
  gap:var(--btc-ref-gap)!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel{
  padding:15px 16px!important;border-radius:var(--btc-ref-radius)!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel > :is(h2,h3,h4):first-child{
  display:flex!important;align-items:flex-start!important;gap:9px!important;font-size:17px!important;line-height:1.18!important;margin:0 0 10px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel > :is(h2,h3,h4):first-child::before{
  width:28px!important;height:28px!important;min-width:28px!important;display:grid!important;place-items:center!important;
  border-radius:999px!important;border:1px solid rgba(177,102,255,.42)!important;background:rgba(177,102,255,.10)!important;color:#bd75ff!important;font-size:15px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel:nth-child(1) > :is(h2,h3,h4):first-child::before{
  content:"▦"!important;color:#39d98a!important;border-color:rgba(57,217,138,.42)!important;background:rgba(57,217,138,.08)!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel:nth-child(2) > :is(h2,h3,h4):first-child::before{
  content:"i"!important;color:#f3c21d!important;border-color:rgba(243,194,29,.55)!important;background:rgba(243,194,29,.07)!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel:nth-child(3) > :is(h2,h3,h4):first-child::before{content:"☵"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel:nth-child(4) > :is(h2,h3,h4):first-child::before{content:"▣"!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-context-rail > .btc628169-master-panel :is(p,li,label){
  font-size:13px!important;line-height:1.48!important;
}

/* Wrapping */
html body.btc-rc4836 .btc62816935-boundary-authority :is(.btc628169-master-panel,.btc62816942-card-title-slot){
  min-width:0!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-master-panel :is(h1,h2,h3,h4,p,li,strong,span,label){
  overflow-wrap:normal!important;word-break:normal!important;hyphens:auto!important;
}

/* Deterministic responsive fallbacks */
@media (max-width:1180px){
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-analysis{grid-template-columns:1fr 1fr!important;}
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-recommendations{grid-column:1!important;grid-row:auto!important;}
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-more-recommendations{grid-column:2!important;grid-row:auto!important;}
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes{grid-column:1 / -1!important;grid-row:auto!important;}
}
@media (max-width:860px){
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-analysis,
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-main-development{grid-template-columns:1fr!important;}
  html body.btc-rc4836 .btc62816935-boundary-authority :is(.btc628169-slot-recommendations,.btc628169-slot-more-recommendations,.btc628169-slot-axes){
    grid-column:1!important;grid-row:auto!important;
  }
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes{grid-template-columns:1fr!important;}
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host,
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars{grid-column:1!important;}
}
