/* Mi empresa - expediente ejecutivo. Todo queda encapsulado en .brb-company-hub. */
.brb-company-hub{
  /* tema.css redefine los nombres globales, por eso estos tokens son propios. */
  --ch-ink:#080807;
  --ch-surface:#fff;
  --ch-surface-2:#f4f7fb;
  --ch-paper:#0d1b2e;
  --ch-muted:#5b6b83;
  --ch-dim:#8494aa;
  --ch-gold:#8f651a;
  --ch-gold-hi:#d8bd75;
  --ch-green:#146c45;
  --ch-red:#b83d2d;
  --ch-line:rgba(13,27,46,.105);
  --ch-ease:var(--ease,cubic-bezier(.32,.72,0,1));
  width:100%;max-width:1460px;margin:0 auto;color:var(--ch-paper);font-family:var(--sans,"Instrument Sans",sans-serif);
}
.brb-company-hub *{box-sizing:border-box}
.brb-company-hub h1,.brb-company-hub h2,.brb-company-hub h3,.brb-company-hub p{margin-top:0}
.brb-company-hub button{font:inherit}
.brb-company-hub .is-undated{color:var(--ch-red)!important;font-weight:680;letter-spacing:.06em}
.ch-kicker,.ch-block-label,.ch-section-label>span,.ch-narrative>span,.ch-treatment-next>span,.ch-treatment-detail>div>span{
  color:var(--ch-gold);font-size:10px;font-weight:680;letter-spacing:.18em;text-transform:uppercase;
}

/* Encabezado: el sello empresarial es la firma visual del expediente. */
.ch-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:48px;align-items:end;min-height:430px;padding:clamp(34px,5.5vw,78px);overflow:hidden;border:1px solid rgba(216,189,117,.2);border-radius:28px;background:#0a0a09;color:#f1eee7;box-shadow:0 30px 90px rgba(0,0,0,.22)}
.ch-hero::before{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(circle at 82% 48%,rgba(216,189,117,.13),transparent 0 25%,transparent 43%),linear-gradient(115deg,#0a0a09 0 55%,#13110d 100%)}
.ch-hero::after{content:"";position:absolute;z-index:-1;inset:0;opacity:.35;background-image:linear-gradient(rgba(216,189,117,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(216,189,117,.08) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(90deg,transparent 25%,#000)}
.ch-hero-copy{max-width:880px}.ch-hero .ch-kicker{color:#e2c77e}.ch-hero h1{max-width:970px;margin:15px 0 25px;color:#f1eee7;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(50px,6.1vw,92px);font-weight:500;letter-spacing:-.052em;line-height:.87;text-wrap:balance}
.ch-hero h1 em{display:block;color:var(--ch-gold-hi);font-weight:500}.ch-hero-copy>p{max-width:690px;margin:0;color:#b9b3a9;font-size:14px;line-height:1.75}
.ch-hero-meta{display:flex;flex-wrap:wrap;gap:0;margin-top:32px;border-top:1px solid rgba(241,238,231,.12);border-bottom:1px solid rgba(241,238,231,.12)}
.ch-hero-meta span{display:grid;gap:4px;min-width:160px;padding:14px 20px 14px 0;color:#a9b6c6;font-size:10px;letter-spacing:.04em}.ch-hero-meta span+span{padding-left:20px;border-left:1px solid rgba(241,238,231,.12)}
.ch-hero-meta b{color:#d9d3c9;font-size:13px;font-weight:620;letter-spacing:0}
.ch-company-seal{position:relative;display:grid;place-items:center;align-self:center;width:188px;aspect-ratio:1;margin:auto;border-radius:50%;border:1px solid rgba(216,189,117,.38);background:rgba(8,8,7,.62);box-shadow:0 0 0 18px rgba(216,189,117,.035),0 0 0 38px rgba(216,189,117,.025)}
.ch-company-seal::before,.ch-company-seal::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(216,189,117,.13)}.ch-company-seal::before{inset:17px}.ch-company-seal::after{inset:42px}
.ch-company-seal img{position:relative;z-index:1;width:86px;height:86px;object-fit:contain;border-radius:50%;background:#fff}.ch-company-seal>span{position:relative;z-index:1;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:66px;color:var(--ch-gold-hi)}
.ch-company-seal small{position:absolute;z-index:2;bottom:-15px;padding:8px 13px;border:1px solid rgba(216,189,117,.3);border-radius:99px;background:#0c0c0b;color:#e2c77e;font-size:8px;font-weight:680;letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}

/* Ficha declarada */
.ch-company-profile{display:grid;grid-template-columns:minmax(190px,.62fr) minmax(300px,1.45fr) minmax(220px,.68fr);margin-top:18px;border:1px solid var(--ch-line);border-radius:22px;background:var(--ch-surface);overflow:hidden}
.ch-company-profile>div{padding:28px 30px}.ch-company-profile>div+div{border-left:1px solid var(--ch-line)}
.ch-section-label h2{max-width:240px;margin:10px 0 0;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:31px;font-weight:500;line-height:.98}
.ch-company-description{max-width:740px;margin:0 0 22px;color:#33455e;font-size:14px;line-height:1.72}.ch-company-description.is-empty{color:var(--ch-muted);font-style:italic}
.ch-profile-body dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin:0}.ch-profile-fact{min-width:0;padding-top:10px;border-top:1px solid var(--ch-line)}
.ch-profile-fact dt{margin-bottom:5px;color:#53657b;font-size:10px;font-weight:650;letter-spacing:.11em;text-transform:uppercase}.ch-profile-fact dd{margin:0;color:#27394f;font-size:12.5px;line-height:1.48;overflow-wrap:anywhere}
.ch-profile-status{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.ch-profile-status>b{font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:36px;font-weight:500;color:var(--ch-gold);line-height:1}.ch-profile-status>span{margin:6px 0 17px;color:var(--ch-muted);font-size:10.5px}
.ch-profile-status button,.ch-treatment-card footer button,.ch-wide-empty button,.ch-error button{margin-top:17px;padding:10px 15px;border:1px solid rgba(143,101,26,.35);border-radius:99px;background:transparent;color:var(--ch-gold);cursor:pointer;font-size:11px;font-weight:650;transition:background .35s var(--ch-ease),color .35s var(--ch-ease)}
.ch-profile-status button:hover,.ch-treatment-card footer button:hover,.ch-wide-empty button:hover,.ch-error button:hover{background:var(--ch-gold-hi);color:#15120b}

/* Toda fuente conserva detalle y fecha. */
.ch-source{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px;color:var(--ch-muted);font-size:10px;line-height:1.5}.ch-source span{overflow-wrap:anywhere}.ch-source time{color:#647389;font-size:9px;text-transform:uppercase;white-space:nowrap}

/* Franja de decisión: prioridad -> acción -> sesión. */
.ch-decision-strip{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(280px,.72fr);margin-top:18px;border:1px solid var(--ch-line);border-radius:22px;background:var(--ch-surface);overflow:hidden}
.ch-decision-strip>div{min-height:285px;padding:30px;display:flex;flex-direction:column}.ch-decision-strip>div+div{border-left:1px solid var(--ch-line)}
.ch-priority-value,.ch-priority-empty,.ch-next-value,.ch-next-empty{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.ch-priority-level{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(143,101,26,.28);border-radius:99px;color:var(--ch-gold);font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.ch-priority-level[data-level="critica"]{border-color:rgba(184,61,45,.38);color:var(--ch-red)}.ch-priority-level[data-level="alta"]{border-color:rgba(143,101,26,.42);color:var(--ch-gold)}
.ch-priority-value h2,.ch-next-value h3{margin:14px 0 16px;color:var(--ch-paper);font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(27px,2.6vw,38px);font-weight:500;line-height:1.02;text-wrap:balance}.ch-next-value h3{font-size:clamp(23px,2.2vw,31px)}
.ch-priority-empty>span,.ch-next-empty>span{color:var(--ch-red);font-size:10px;font-weight:680;letter-spacing:.12em;text-transform:uppercase}.ch-priority-empty p,.ch-next-empty p{max-width:450px;margin:12px 0 0;color:var(--ch-muted);font-size:12px;line-height:1.65}
.ch-action-state{color:var(--ch-green);font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.ch-due{margin:0 0 13px;color:var(--ch-muted);font-size:10.5px}.ch-due time{color:#52647c}
.ch-session-block{position:relative;isolation:isolate;justify-content:flex-end!important;background:linear-gradient(145deg,#d8bd75,#a88643);color:#17140e;overflow:hidden}.ch-session-block::after{content:"";position:absolute;z-index:-1;right:-54px;top:-54px;width:180px;aspect-ratio:1;border:1px solid rgba(23,20,14,.18);border-radius:50%;box-shadow:0 0 0 28px rgba(23,20,14,.04),0 0 0 56px rgba(23,20,14,.025)}
.ch-session-mark{position:absolute;top:27px;right:29px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:38px;color:#3d321e}.ch-session-block h2{max-width:370px;margin:0 0 13px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:32px;font-weight:600;line-height:.96}.ch-session-block p{margin:0;color:#17140e;font-size:12.5px;line-height:1.58}
.ch-session-block button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:22px;padding:7px 8px 7px 16px;border:0;border-radius:99px;background:#15120c;color:#f3dfaa;cursor:pointer;font-size:11px;font-weight:680}.ch-session-block button span:last-child{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);font-size:15px;transition:transform .35s var(--ch-ease)}.ch-session-block button:hover span:last-child{transform:translateX(3px)}

/* Matriz de ocho dimensiones */
.ch-dimensions-section,.ch-narratives-section,.ch-treatments-section{padding-top:58px}.ch-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:22px}.ch-section-head h2{max-width:760px;margin:9px 0 0;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(35px,4vw,57px);font-weight:500;letter-spacing:-.035em;line-height:.95}.ch-section-head>p{max-width:430px;margin:0;color:var(--ch-muted);font-size:12px;line-height:1.55;text-align:right}
.ch-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.ch-legend span,.ch-state{display:inline-flex;align-items:center;gap:6px;color:var(--ch-muted);font-size:9.5px;font-weight:680;letter-spacing:.1em;text-transform:uppercase}.ch-legend span::before,.ch-state::before{content:"";width:6px;height:6px;border-radius:50%;background:#56524c}.ch-legend [data-state="con_fuente"]::before,.ch-state[data-state="con_fuente"]::before,.ch-state[data-state="documentada"]::before{background:var(--ch-green);box-shadow:0 0 12px rgba(184,211,123,.3)}.ch-legend [data-state="en_atencion"]::before,.ch-state[data-state="en_atencion"]::before{background:var(--ch-gold);box-shadow:0 0 12px rgba(216,189,117,.35)}.ch-state[data-state="sin_fecha"]::before,.ch-state[data-state="bloqueada"]::before{background:var(--ch-red)}
.ch-dimensions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ch-line);border-left:1px solid var(--ch-line);border-radius:18px;overflow:hidden;background:var(--ch-surface)}
.ch-dimension{min-width:0;border-right:1px solid var(--ch-line);border-bottom:1px solid var(--ch-line)}.ch-dimension details,.ch-dimension summary{min-width:0}.ch-dimension summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;gap:15px;align-items:center;min-height:150px;padding:22px;cursor:pointer;list-style:none;transition:background .35s var(--ch-ease)}.ch-dimension summary::-webkit-details-marker{display:none}.ch-dimension summary:hover,.ch-dimension details[open]>summary{background:rgba(13,27,46,.025)}
.ch-dimension-index{align-self:start;padding-top:2px;color:var(--ch-gold);font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:22px}.ch-dimension-heading{min-width:0}.ch-dimension-heading h3{margin:8px 0 6px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:28px;font-weight:500;line-height:1}.ch-dimension-heading p{max-width:360px;margin:0;color:var(--ch-muted);font-size:12px;line-height:1.5}
.ch-dimension-proof{display:grid;justify-items:end;gap:7px;text-align:right}.ch-dimension-proof b{max-width:170px;color:#52647c;font-size:10.5px;font-weight:560;line-height:1.4}.ch-dimension-proof time{color:#53657b;font-size:9.5px;text-transform:uppercase}
.ch-disclosure{position:relative;width:16px;height:16px}.ch-disclosure::before,.ch-disclosure::after{content:"";position:absolute;left:2px;top:7px;width:12px;height:1px;background:var(--ch-gold);transition:transform .35s var(--ch-ease)}.ch-disclosure::after{transform:rotate(90deg)}.ch-dimension details[open] .ch-disclosure::after{transform:rotate(0)}
.ch-dimension-detail{padding:0 22px 24px 79px}.ch-state-copy{margin:0 0 14px;padding:12px 14px;border-left:2px solid var(--ch-gold);background:rgba(216,189,117,.09);color:#4c5e75;font-size:12px;line-height:1.6}.ch-dimension-detail ul{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--ch-line)}
.ch-record,.ch-treatment-ref{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.62fr);gap:16px;padding:15px 0;border-bottom:1px solid var(--ch-line)}.ch-record>div>span,.ch-treatment-ref>div>span{display:block;margin-bottom:5px;color:#53657b;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase}.ch-record p{margin:0;color:#33455e;font-size:12.5px;line-height:1.55;overflow-wrap:anywhere}.ch-treatment-ref{grid-template-columns:minmax(0,1fr) auto}.ch-treatment-ref b{font-size:12.5px;font-weight:580}.ch-treatment-ref>.ch-source{grid-column:1/-1}.ch-record-more,.ch-record-empty{padding:14px 0;color:var(--ch-muted);font-size:10.5px;line-height:1.5}
.ch-mini-state{align-self:start;padding:5px 8px;border:1px solid var(--ch-line);border-radius:99px;color:var(--ch-muted);font-size:9px;font-weight:680;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.ch-mini-state[data-state="activo"],.ch-mini-state[data-state="completado"]{border-color:rgba(28,138,90,.28);color:var(--ch-green)}.ch-mini-state[data-state="en_pausa"],.ch-mini-state[data-state="bloqueada"]{border-color:rgba(184,61,45,.28);color:var(--ch-red)}

/* Lectura narrativa */
.ch-narratives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--ch-line);border-radius:20px;background:var(--ch-surface);overflow:hidden}.ch-narrative{min-width:0;padding:28px}.ch-narrative+article{border-left:1px solid var(--ch-line)}.ch-narrative p{display:-webkit-box;max-height:270px;margin:15px 0 22px;overflow:hidden;color:#33455e;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:19px;line-height:1.45;-webkit-line-clamp:8;-webkit-box-orient:vertical;white-space:pre-line}
.ch-wide-empty{padding:38px;border:1px dashed rgba(216,189,117,.22);border-radius:18px;background:rgba(216,189,117,.025)}.ch-wide-empty h3{margin:0 0 8px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:28px;font-weight:500}.ch-wide-empty p{max-width:720px;margin:0;color:var(--ch-muted);font-size:13px;line-height:1.65}

/* Tratamientos */
.ch-treatments-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ch-treatment-card{display:flex;flex-direction:column;min-width:0;padding:27px;border:1px solid var(--ch-line);border-radius:20px;background:var(--ch-surface)}.ch-treatment-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ch-treatment-card>h3{margin:20px 0 10px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:31px;font-weight:500;line-height:1}.ch-treatment-objective{margin:0 0 21px;color:#33455e;font-size:13px;line-height:1.62}.ch-treatment-objective.is-empty,.ch-treatment-next.is-empty p{color:var(--ch-muted);font-style:italic}
.ch-treatment-count{display:flex;align-items:baseline;gap:8px;padding:13px 0;border-top:1px solid var(--ch-line);border-bottom:1px solid var(--ch-line)}.ch-treatment-count b{font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:25px;font-weight:500;color:var(--ch-gold)}.ch-treatment-count span{color:var(--ch-muted);font-size:10.5px}
.ch-treatment-next{margin-top:18px}.ch-treatment-next p{margin:7px 0 11px;color:#33455e;font-size:12.5px;line-height:1.55}.ch-treatment-detail{margin-top:17px;padding:13px 0;border-top:1px solid var(--ch-line)}.ch-treatment-detail summary{color:var(--ch-gold);font-size:10.5px;cursor:pointer}.ch-treatment-detail>div{margin-top:16px}.ch-treatment-detail>div p{margin:7px 0 0;color:var(--ch-muted);font-size:12px;line-height:1.65;white-space:pre-line}
.ch-treatment-card>footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:auto;padding-top:20px}.ch-treatment-card>footer .ch-source{max-width:65%}.ch-treatment-card footer button{flex:none;margin:0}

/* Registro de fuentes */
.ch-sources-register{margin-top:58px;border:1px solid var(--ch-line);border-radius:18px;background:var(--ch-surface);overflow:hidden}.ch-sources-register>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:18px;align-items:center;padding:20px 24px;cursor:pointer;list-style:none}.ch-sources-register>summary::-webkit-details-marker{display:none}.ch-sources-register>summary span{font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:24px}.ch-sources-register>summary b{color:var(--ch-gold);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase}.ch-sources-register>summary i{position:relative;width:16px;height:16px}.ch-sources-register>summary i::before,.ch-sources-register>summary i::after{content:"";position:absolute;left:2px;top:7px;width:12px;height:1px;background:var(--ch-gold);transition:transform .3s}.ch-sources-register>summary i::after{transform:rotate(90deg)}.ch-sources-register[open]>summary i::after{transform:rotate(0)}
.ch-sources-body{padding:0 24px 22px}.ch-sources-body ol{margin:0;padding:0;list-style:none;border-top:1px solid var(--ch-line)}.ch-sources-body li{display:grid;grid-template-columns:8px minmax(180px,.9fr) minmax(180px,1.2fr) auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--ch-line)}.ch-source-mark{width:5px;height:5px;border-radius:50%;background:var(--ch-gold)}.ch-sources-body li b,.ch-sources-body li small{display:block}.ch-sources-body li b{font-size:11.5px;font-weight:580}.ch-sources-body li small{margin-top:3px;color:#53657b;font-size:9.5px}.ch-sources-body li>span:nth-child(3){color:var(--ch-muted);font-size:10.5px}.ch-sources-body li time{color:#647389;font-size:9.5px;text-transform:uppercase;white-space:nowrap}.ch-sources-note,.ch-sources-empty{margin:16px 0 0;color:var(--ch-muted);font-size:10.5px}

.ch-fidelity-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:16px;padding:16px 19px;border-left:2px solid var(--ch-gold);background:rgba(216,189,117,.055)}.ch-fidelity-note>span{color:var(--ch-gold);font-size:9.5px;font-weight:720;letter-spacing:.16em}.ch-fidelity-note p,.ch-fidelity-note small{margin:0;color:var(--ch-muted);font-size:10px;line-height:1.5}.ch-fidelity-note small{text-align:right}

/* Carga y errores */
.ch-is-loading{display:grid;gap:18px}.ch-loading-hero,.ch-loading-grid span{position:relative;overflow:hidden;background:#121210}.ch-loading-hero::after,.ch-loading-grid span::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(216,189,117,.08),transparent);animation:ch-shimmer 1.6s infinite}.ch-loading-hero{display:grid;align-content:end;gap:13px;min-height:410px;padding:60px;border-radius:28px}.ch-loading-hero span{display:block;height:14px;border-radius:4px;background:#211f1a}.ch-loading-hero span:first-child{width:26%;height:9px}.ch-loading-hero span:nth-child(2){width:70%;height:62px}.ch-loading-hero span:last-child{width:48%}.ch-loading-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--ch-line)}.ch-loading-grid span{height:150px}
@keyframes ch-shimmer{to{transform:translateX(100%)}}
.ch-error{max-width:720px;margin:7vh auto;padding:38px;border:1px solid rgba(220,118,109,.26);border-left:3px solid var(--ch-red);border-radius:18px;background:var(--ch-surface)}.ch-error h2{margin:11px 0 10px;font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:38px;font-weight:500}.ch-error p{margin:0;color:var(--ch-muted);font-size:12px;line-height:1.65}

.brb-company-hub button:focus-visible,.brb-company-hub summary:focus-visible{outline:2px solid var(--ch-gold-hi);outline-offset:4px}

@media(max-width:1120px){
  .ch-company-profile{grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr)}.ch-profile-status{grid-column:1/-1!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px 16px}.ch-company-profile>.ch-profile-status{border-left:0;border-top:1px solid var(--ch-line)}.ch-profile-status>b{grid-row:1/3}.ch-profile-status>span{margin:0}.ch-profile-status>.ch-source{grid-column:2}.ch-profile-status>button{grid-column:3;grid-row:1/3;margin:0}
  .ch-decision-strip{grid-template-columns:1fr 1fr}.ch-session-block{grid-column:1/-1;min-height:230px!important;border-left:0!important;border-top:1px solid var(--ch-line)}
  .ch-profile-body dl{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
  .ch-hero{grid-template-columns:minmax(0,1fr) 108px;gap:20px;min-height:380px;padding:36px 26px}.ch-hero h1{font-size:clamp(43px,12vw,68px)}.ch-company-seal{width:104px}.ch-company-seal>span{font-size:40px}.ch-company-seal img{width:52px;height:52px}.ch-company-seal small{bottom:-12px;font-size:6.5px}.ch-hero-meta span{min-width:0;flex:1;padding-right:10px}.ch-hero-meta span+span{padding-left:10px}
  .ch-company-profile{grid-template-columns:1fr}.ch-company-profile>div+div{border-left:0;border-top:1px solid var(--ch-line)}.ch-section-label h2{max-width:none}.ch-profile-status{grid-column:auto!important}
  .ch-dimensions-grid{grid-template-columns:1fr}.ch-dimension summary{min-height:138px}
  .ch-narratives{grid-template-columns:1fr}.ch-narrative+article{border-left:0;border-top:1px solid var(--ch-line)}
  .ch-treatments-grid{grid-template-columns:1fr}.ch-section-head{align-items:flex-start}.ch-legend{display:none}.ch-section-head>p{text-align:left}
  .ch-fidelity-note{grid-template-columns:1fr;gap:7px}.ch-fidelity-note small{text-align:left}
}

@media(max-width:580px){
  .ch-hero{grid-template-columns:1fr;min-height:auto;padding:31px 21px 38px}.ch-hero-copy{display:contents}.ch-hero h1{margin-bottom:17px}.ch-hero-copy>p{font-size:12px}.ch-company-seal{position:absolute;right:25px;top:27px;width:66px;box-shadow:none}.ch-company-seal::before{inset:8px}.ch-company-seal::after{display:none}.ch-company-seal>span{font-size:28px}.ch-company-seal img{width:36px;height:36px}.ch-company-seal small{display:none}.ch-hero .ch-kicker{padding-right:70px}.ch-hero-meta{grid-column:1/-1;display:grid;grid-template-columns:1fr}.ch-hero-meta span,.ch-hero-meta span+span{padding:11px 0;border-left:0;border-top:1px solid rgba(241,238,231,.12)}.ch-hero-meta span:first-child{border-top:0}
  .ch-company-profile>div,.ch-decision-strip>div{padding:24px 21px}.ch-profile-body dl{grid-template-columns:1fr 1fr}.ch-profile-status{display:flex}.ch-profile-status>button{margin-top:15px}
  .ch-decision-strip{grid-template-columns:1fr}.ch-decision-strip>div{min-height:230px}.ch-decision-strip>div+div{border-left:0;border-top:1px solid var(--ch-line)}.ch-session-block{grid-column:auto}
  .ch-dimensions-section,.ch-narratives-section,.ch-treatments-section{padding-top:45px}.ch-section-head{display:grid;gap:13px}.ch-section-head h2{font-size:39px}
  .ch-dimension summary{grid-template-columns:34px minmax(0,1fr) 16px;gap:11px;padding:19px 16px}.ch-dimension-proof{grid-column:2;grid-row:2;justify-items:start;text-align:left}.ch-disclosure{grid-column:3;grid-row:1}.ch-dimension-detail{padding:0 16px 20px}.ch-record{grid-template-columns:1fr}.ch-treatment-ref{grid-template-columns:1fr auto}
  .ch-treatment-card{padding:22px 19px}.ch-treatment-card>footer{align-items:flex-start;flex-direction:column}.ch-treatment-card>footer .ch-source{max-width:none}
  .ch-sources-register>summary{padding:18px}.ch-sources-body{padding:0 18px 18px}.ch-sources-body li{grid-template-columns:8px 1fr auto}.ch-sources-body li>span:nth-child(3){grid-column:2/-1}.ch-sources-body li time{grid-column:3;grid-row:1}
  .ch-wide-empty{padding:28px 22px}
}

@media(prefers-reduced-motion:reduce){
  .brb-company-hub *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* 3.0.2 · contraste blindado del expediente.
   network.css declara #app h1 con mayor especificidad que el tema encapsulado;
   la cabecera oscura nunca debe heredar ese azul de superficies claras. */
#app .brb-company-hub .ch-hero h1{
  color:#f5f2eb;
  text-shadow:0 2px 28px rgba(0,0,0,.48);
}
#app .brb-company-hub .ch-hero h1 em{color:#e2c77e}
#app .brb-company-hub .ch-hero .ch-kicker{color:#f0cf70}
#app .brb-company-hub .ch-hero-copy>p{color:#d0c9bd}
#app .brb-company-hub .ch-hero-meta span{color:#bdcadb}
#app .brb-company-hub .ch-hero-meta b{color:#f2ede5}
