/* Product signature shared with the module film; scoped to the application header. */
.compact-header{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 28% 110%,#157e7f38,transparent 52%),linear-gradient(110deg,#071f30,#123c50 68%,#0b2b3c);border-bottom:2px solid #58cdbd;}
.compact-header::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:repeating-radial-gradient(circle at 18% 50%,transparent 0 48px,#8ee8d60b 49px 50px,transparent 51px 96px);mask-image:linear-gradient(90deg,#0009,transparent 80%);}
.compact-header .brand{grid-template-columns:minmax(290px,.9fr) minmax(270px,1fr);gap:28px;align-items:center;}
.compact-header .brand-stack{grid-template-columns:88px minmax(0,1fr);grid-template-rows:18px 63px 24px;column-gap:24px;row-gap:2px;align-content:center;}
.compact-header .brand-stack .radar-symbol{width:88px!important;height:88px!important;grid-row:1/4;filter:drop-shadow(0 0 20px #66d9d028);}
.compact-header .brand-stack .radar-symbol img{width:100%;height:100%;}
.compact-header .brand-endorsement{font-size:12px;letter-spacing:2.4px;color:#91e9d6;}
.compact-header .brand-endorsement span{font-size:10px;letter-spacing:.8px;color:#bbd5dd;}
.compact-header .radar-name svg{display:block;width:248px;height:60px;max-width:100%;overflow:visible;filter:drop-shadow(0 3px 10px #0002);}
.compact-header .brand-direction{font-size:12px;letter-spacing:.1px;color:#cbe6e7;white-space:nowrap;}
.compact-header .brand-copy{border-left:1px solid #8ed7d33b;padding:2px 0 2px 28px;}
.compact-header .brand-promise{margin:0 0 8px;font-size:clamp(23px,1.6vw,30px);line-height:1.14;letter-spacing:-.4px;font-weight:650;color:#f4fcf8;}
.compact-header .brand-promise strong{display:block;font-weight:750;color:#91e9d6;}
.compact-header .brand-copy .brand-meaning{font-size:12px;line-height:1.45;color:#b8d5de;margin:0;max-width:440px;font-weight:450;}
.compact-header .brand-meaning strong{font-weight:550;color:#d7ecef;}
.compact-header .brand-capabilities{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0 0;}
.compact-header .brand-capabilities span{padding:4px 9px;border:1px solid #8ce6d331;background:#a2f2db09;border-radius:20px;font-size:10px;font-weight:600;line-height:1.3;color:#d5f5eb;white-space:nowrap;}
.compact-header .brand-owner{font-size:10px!important;line-height:1.3;margin-top:9px!important;color:#a8c7d3;}
.compact-header .brand-owner::before{background:#91e9d6;width:4px;height:4px;}
@media(min-width:1200px){.compact-header,.signed-in .compact-header{grid-template-columns:minmax(0,1fr) minmax(310px,430px);gap:30px;padding:20px 28px;}.signed-in .compact-header .brand{grid-template-columns:minmax(290px,.9fr) minmax(270px,1fr);gap:28px;}.signed-in .header-actions{width:100%;}.signed-in .header-actions nav{justify-content:flex-end;}}
@media(min-width:1200px) and (max-width:1450px){.compact-header .brand-stack{grid-template-columns:76px minmax(0,1fr);column-gap:17px;grid-template-rows:17px 52px 22px;}.compact-header .brand-stack .radar-symbol{width:76px!important;height:76px!important;}.compact-header .radar-name svg{height:48px;width:209px;}.compact-header .brand-direction{font-size:10px;}.compact-header .brand-promise{font-size:23px;}.compact-header .brand-capabilities{display:none;}.compact-header .brand-copy{padding-left:22px;}}
@media(max-width:1199px){.compact-header .brand{grid-template-columns:minmax(300px,.9fr) minmax(270px,1fr);gap:24px;}.compact-header .brand-stack{grid-template-columns:76px minmax(0,1fr);column-gap:18px;}.compact-header .brand-stack .radar-symbol{width:76px!important;height:76px!important;}.compact-header .radar-name svg{width:235px;height:56px;}.compact-header .brand-direction{font-size:11px;}.compact-header .brand-promise{font-size:25px;}}
@media(max-width:720px){.compact-header .brand{grid-template-columns:1fr;gap:17px;}.compact-header .brand-stack{grid-template-columns:72px 230px;grid-template-rows:16px 48px 22px;column-gap:18px;}.compact-header .brand-stack .radar-symbol{width:72px!important;height:72px!important;}.compact-header .radar-name svg{width:225px;height:48px;}.compact-header .brand-copy{border-left:0;border-top:1px solid #8ed7d32b;padding:17px 0 0;}.compact-header .brand-promise{font-size:25px;}.compact-header .brand-promise strong{display:inline;}.compact-header .brand-capabilities{gap:5px;margin-top:10px;}.compact-header .brand-owner{font-size:9px!important;}}
@media(max-width:380px){.compact-header .brand-stack{grid-template-columns:60px minmax(0,1fr);column-gap:13px;}.compact-header .brand-stack .radar-symbol{width:60px!important;height:60px!important;}.compact-header .radar-name svg{width:200px;}.compact-header .brand-direction{font-size:10px;}}
@media print{.compact-header{background:#fff;color:#143b4e;}.compact-header::before{display:none}.compact-header .brand-promise,.compact-header .brand-promise strong{color:#143b4e;}.compact-header .brand-capabilities span{color:#143b4e;border-color:#b5cfce;}}

.compact-header .brand-stack{grid-template-rows:30px 63px 24px;}
@media(max-width:720px){.compact-header .brand-stack{grid-template-rows:30px 48px 22px;}}

/* Keep the message beside the product signature instead of stretching its first column. */
@media(min-width:1451px){.compact-header .brand,.signed-in .compact-header .brand{grid-template-columns:360px minmax(270px,1fr);column-gap:24px;}.compact-header .brand-copy{padding-left:24px;}}
@media(min-width:1200px) and (max-width:1450px){.compact-header .brand,.signed-in .compact-header .brand{grid-template-columns:310px minmax(270px,1fr);column-gap:20px;}}
@media(min-width:721px) and (max-width:1199px){.compact-header .brand,.signed-in .compact-header .brand{grid-template-columns:330px minmax(270px,1fr);column-gap:20px;}.compact-header .brand-copy{padding-left:20px;}}
/* RADAR 25/10/2026: una cuadrícula coherente para la identidad existente. */
.compact-header,.signed-in .compact-header,body:has(#epinex-access-stage:not([hidden]))>.compact-header{height:auto;min-height:0;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(190px,360px);gap:24px;padding:12px 24px;overflow:visible}
.compact-header .brand,.signed-in .compact-header .brand,body:has(#epinex-access-stage:not([hidden]))>.compact-header .brand{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:center;min-width:0}
.compact-header .brand-stack,body:has(#epinex-access-stage:not([hidden]))>.compact-header .brand-stack{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto 42px auto;gap:3px 14px;min-width:0;align-items:center}
.compact-header .brand-stack .radar-symbol,body:has(#epinex-access-stage:not([hidden]))>.compact-header .brand-stack .radar-symbol{grid-column:1;grid-row:1/4;width:58px!important;height:58px!important;min-width:0;filter:none}
.compact-header .brand-endorsement{grid-column:2;grid-row:1;font-size:10px;line-height:1.25;letter-spacing:1.4px;white-space:normal}
.compact-header .brand-endorsement span{font-size:9px}
.compact-header .brand-stack .radar-name,body:has(#epinex-access-stage:not([hidden]))>.compact-header .radar-name{grid-column:2;grid-row:2;margin:0;padding:0;font-size:initial!important;line-height:1}
.compact-header .radar-name svg{width:200px;height:42px;max-width:100%;display:block;filter:none}
.compact-header .brand-direction{grid-column:2;grid-row:3;font-size:10px;line-height:1.3;margin:0;white-space:normal}
.compact-header .brand-copy{min-width:0;padding:0 0 0 22px;border-top:0;border-left:1px solid #8ed7d33b}
.compact-header .brand-promise{font-size:20px;line-height:1.15;margin:0 0 6px}
.compact-header .brand-copy .brand-meaning{font-size:11px;line-height:1.4;margin:0}
.compact-header .brand-capabilities{display:flex;gap:5px;margin:6px 0 0}
.compact-header .brand-capabilities span{font-size:9px;padding:2px 6px;white-space:normal}
.compact-header .brand-owner{font-size:9px!important;line-height:1.4;margin-top:5px!important}
.compact-header .header-actions{width:100%;max-width:360px;min-width:0;gap:8px}
.compact-header .header-trust{min-width:0;padding:10px 12px;gap:10px}
.compact-header .header-trust strong{font-size:12px}.compact-header .header-trust span:not(.trust-shield){font-size:11px}.compact-header .trust-shield{font-size:24px}
.compact-header .top-tools nav{gap:5px}
.compact-header .top-tools :is(button,a.file-button){font-size:11px;line-height:1.3;padding:6px 8px;min-height:30px}
@media(max-width:1199px){.compact-header,.signed-in .compact-header,body:has(#epinex-access-stage:not([hidden]))>.compact-header{grid-template-columns:minmax(0,1fr);gap:12px}.compact-header .header-actions{max-width:none;align-items:flex-start}.compact-header .top-tools nav{justify-content:flex-start}}
@media(max-width:700px){.compact-header,.signed-in .compact-header,body:has(#epinex-access-stage:not([hidden]))>.compact-header{padding:14px 16px}.compact-header .brand,.signed-in .compact-header .brand,body:has(#epinex-access-stage:not([hidden]))>.compact-header .brand{grid-template-columns:minmax(0,1fr);gap:12px}.compact-header .brand-stack,body:has(#epinex-access-stage:not([hidden]))>.compact-header .brand-stack{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 36px auto;column-gap:12px}.compact-header .brand-stack .radar-symbol{width:48px!important;height:48px!important}.compact-header .radar-name svg{width:175px;height:36px}.compact-header .brand-copy{border-left:0;border-top:1px solid #8ed7d33b;padding:12px 0 0}.compact-header .brand-promise{font-size:20px}.compact-header .brand-promise strong{display:inline}}

/* HEADER_TWO_ROWS_20261030: same controls, compact signed-in header. */
.signed-in .compact-header .header-actions{max-width:none;gap:6px;align-items:stretch}
.signed-in .compact-header .top-tools{width:100%;min-width:0}
.signed-in .compact-header .top-tools nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;align-items:stretch}
.signed-in .compact-header .top-tools nav>:is(button,a){box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:32px;padding:6px 7px;font-size:11px;line-height:1.2;text-align:center;white-space:normal;text-decoration:none}
.signed-in .compact-header .top-tools nav>[hidden]{display:none!important}
.signed-in .compact-header #identity{align-self:flex-end;min-height:26px;padding:3px 10px;font-size:11px}
@media(min-width:1200px){.signed-in .compact-header{grid-template-columns:minmax(0,1fr) minmax(500px,600px);gap:20px;padding:10px 24px}.signed-in .compact-header .brand-promise{font-size:20px}.signed-in .compact-header .brand-owner{margin-top:5px!important}}
@media(min-width:701px) and (max-width:1199px){.signed-in .compact-header .header-actions{align-items:stretch}.signed-in .compact-header .top-tools nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.signed-in .compact-header .top-tools nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.signed-in .compact-header .top-tools nav>:is(button,a){min-height:36px;font-size:12px}}

/* 30/10/2026: content-sized controls and a single capability row. */
.compact-header .brand-capabilities{display:flex!important;flex-wrap:nowrap;gap:4px;margin:4px 0 0;min-width:0}
.compact-header .brand-capabilities span{font-size:10px;line-height:1.2;padding:2px 5px;white-space:nowrap;flex:0 0 auto}
.signed-in .compact-header .top-tools nav{display:grid;grid-template-columns:repeat(5,max-content);gap:4px 5px;justify-content:end;align-items:center;width:100%}
.signed-in .compact-header .top-tools nav>:is(button,a){width:auto;min-height:28px;padding:4px 9px;line-height:1.15;font-size:12px;white-space:nowrap;gap:3px}
.signed-in .compact-header .header-actions{gap:4px}
.signed-in .compact-header #identity{min-height:22px;padding:2px 8px;font-size:11px;line-height:1.2}
@media(min-width:1200px){
 .signed-in .compact-header{grid-template-columns:minmax(0,1fr) max-content;gap:18px;padding:7px 20px}
 .signed-in .compact-header .brand{grid-template-columns:240px minmax(0,1fr);gap:16px}
 .signed-in .compact-header .brand-copy{padding-left:16px}
 .signed-in .compact-header .brand-promise{font-size:18px;line-height:1.1;margin-bottom:4px}
 .signed-in .compact-header .brand-copy .brand-meaning{font-size:10px;line-height:1.3}
 .signed-in .compact-header .brand-owner{font-size:9px!important;line-height:1.2;margin-top:3px!important}
 .signed-in .compact-header .brand-stack{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 34px auto;gap:2px 10px}
 .signed-in .compact-header .brand-stack .radar-symbol{width:48px!important;height:48px!important}
 .signed-in .compact-header .radar-name svg{width:170px;height:34px}
 .signed-in .compact-header .brand-direction{font-size:9px}
 .signed-in .compact-header .brand-endorsement{font-size:9px;letter-spacing:.8px}
}
@media(min-width:701px) and (max-width:1199px){
 .signed-in .compact-header{gap:6px;padding:8px 16px}
 .signed-in .compact-header .top-tools nav{justify-content:start}
}
@media(max-width:700px){
 .compact-header .brand-capabilities span{font-size:9px;padding:2px 4px}
 .signed-in .compact-header .top-tools nav{display:flex;flex-wrap:wrap;justify-content:start;gap:4px}
 .signed-in .compact-header .top-tools nav>:is(button,a){min-height:32px;font-size:11px;padding:5px 8px}
}
