/* Layout fixes for the operational screens; CSS only, no screenshots embedded. */
.bd-theme-section-banner[hidden]{display:none!important}
.bd-theme-section-banner{display:flex;gap:20px;align-items:center;position:relative;overflow:hidden;min-height:124px;border-radius:18px;padding:25px 30px;margin:0 0 22px;background:linear-gradient(110deg,var(--theme-paper),var(--theme-hero));border:1px solid var(--theme-line);color:var(--theme-contrast);box-shadow:var(--theme-shadow)}
.bd-theme-section-banner h2{font-size:clamp(19px,2vw,28px);line-height:1.15;margin:5px 0}
.bd-theme-section-banner p{margin:0;opacity:.72}
.bd-theme-section-banner small{font-size:10px;font-weight:800;letter-spacing:.13em}
.bd-theme-section-mark{font-size:32px;flex-shrink:0;width:68px;height:68px;border-radius:18px;display:grid;place-items:center;color:var(--theme-contrast);background:var(--theme-soft)}
.bd-theme-section-marker{position:absolute;right:-45px;bottom:-84px;width:225px;height:195px;background:var(--theme-glow);opacity:.15;transform:rotate(-20deg);border-radius:60% 35% 55% 25%}
:root:not([data-theme='classic']) #content>.theme-home-layout{margin:0 0 26px}
:root:not([data-theme='classic']) #content>.bd-analytical-section{border-top:4px solid var(--green)}
:root[data-theme='eco'] #shell{grid-template-columns:240px minmax(0,1fr)}
:root[data-theme='eco'] #shell aside{background:linear-gradient(160deg,#14542e,#1e793d 68%,#2c8c54);border-radius:0 20px 20px 0}
:root[data-theme='eco'] #shell nav button.active{background:#a4e67d;color:#174b29;border-left:none;border-radius:15px}
:root[data-theme='eco'] .bd-theme-section-banner{border-radius:26px;background:radial-gradient(circle at 90% 80%,#b1f289 0%,transparent 38%),linear-gradient(120deg,#f1fbed,#d7f3d9)}
:root[data-theme='eco'] .bd-theme-section-mark{border-radius:50%;background:#bbecb5;color:#1f8237}
:root[data-theme='modern'] #shell{grid-template-columns:265px minmax(0,1fr)}
:root[data-theme='modern'] #shell aside{background:linear-gradient(170deg,#0e254f,#2148a6);box-shadow:6px 0 24px #2157ba22}
:root[data-theme='modern'] #shell nav button.active{border-radius:12px;border-left:0;background:#fff;color:#172c60;box-shadow:0 5px 13px #10244d33}
:root[data-theme='modern'] .bd-theme-section-banner{background:linear-gradient(115deg,#1b4295,#448ee9);color:#fff;box-shadow:0 16px 32px #2e62af2b}
:root[data-theme='modern'] .bd-theme-section-mark{background:#ffffff24;color:#fff;backdrop-filter:blur(5px)}
:root[data-theme='modern'] .bd-theme-section-banner .bd-theme-section-marker{background:#fff;opacity:.13}
:root[data-theme='minimal'] #shell{grid-template-columns:210px minmax(0,1fr)}
:root[data-theme='minimal'] #shell aside{background:#f7f9fb;border-right:1px solid #dbe3e8;box-shadow:none;color:#273747}
:root[data-theme='minimal'] #shell aside .brand,:root[data-theme='minimal'] #shell nav button{color:#273747}
:root[data-theme='minimal'] #shell nav button.active{background:#e9eff2;color:#1b3543;border-left:3px solid #68899d;border-radius:3px}
:root[data-theme='minimal'] .bd-theme-section-banner{border-radius:2px;background:#fff;border-left:4px solid #637e90;box-shadow:none;min-height:95px}
:root[data-theme='minimal'] .bd-theme-section-mark{border-radius:1px;background:transparent;color:#355064;width:44px;height:44px}
:root[data-theme='minimal'] #content>.card{border-radius:4px;box-shadow:none}
:root[data-theme='corporate'] #shell{grid-template-columns:252px minmax(0,1fr)}
:root[data-theme='corporate'] #shell aside{background:#0b4152}
:root[data-theme='corporate'] #shell nav button{border-radius:0;border-bottom:1px solid #ffffff1a}
:root[data-theme='corporate'] #shell nav button.active{background:#1f6a75;border-left:4px solid #c6e18e}
:root[data-theme='corporate'] .bd-theme-section-banner{background:linear-gradient(105deg,#0b4758,#197b7f);color:#fff;border-radius:5px;border-left:8px solid #b9dc7f}
:root[data-theme='corporate'] .bd-theme-section-mark{background:#ffffff18;color:#fff;border-radius:5px}
:root[data-theme='dark'] #shell{grid-template-columns:258px minmax(0,1fr)}
:root[data-theme='dark'] #shell aside{background:linear-gradient(180deg,#08131d,#15283b)}
:root[data-theme='dark'] #shell nav button.active{background:#244b46;border:1px solid #407967;border-radius:12px;color:#b4f1c8}
:root[data-theme='dark'] .bd-theme-section-banner{background:linear-gradient(110deg,#152d3a,#253c44);border:1px solid #3d6365;color:#e4f9eb}
:root[data-theme='dark'] .bd-theme-section-mark{background:#224b4b;color:#b6efbf}
:root[data-theme='dark'] .bd-theme-section-banner .bd-theme-section-marker{opacity:.09}
:root:not([data-theme='classic']) #shell main{min-width:0}
:root:not([data-theme='classic']) .theme-home-layout{position:relative}
.explosion-launch{border:1px solid var(--theme-line);border-left:5px solid var(--green)!important;background:var(--theme-paper)}
.explosion-head{display:flex;align-items:center;gap:18px}
.explosion-head>div{flex:1}
.explosion-head>div small{font-weight:750;letter-spacing:.12em;color:var(--muted)}
.explosion-head h2{margin:5px 0}
.explosion-head p{max-width:850px;margin:0;color:var(--muted)}
.explosion-illustration{font-size:32px;border-radius:16px;padding:15px;background:var(--theme-soft);color:var(--theme-contrast)}
.explosion-active{margin-top:17px;border-top:1px solid var(--line);padding-top:14px;display:flex;gap:12px;justify-content:space-between;align-items:center}
.explosion-active small{display:block;margin-top:6px;color:var(--muted)}
.explosion-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.explosion-mode{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--theme-paper);color:var(--theme-contrast)}
.explosion-mode input{grid-row:1/3}
.explosion-mode small{grid-column:2;line-height:1.5;font-weight:400;color:var(--muted)}
.explosion-preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.explosion-preview-metrics>div{border-radius:11px;padding:14px;background:var(--theme-soft);display:grid;gap:5px}
.explosion-preview-metrics strong{font-size:18px}
@media(max-width:900px){.explosion-head{flex-wrap:wrap}.explosion-mode-grid{grid-template-columns:1fr}}
@media(max-width:760px){:root[data-theme] #shell{display:block!important}:root[data-theme] #shell aside{position:relative;height:auto;width:auto}:root[data-theme] .bd-theme-section-banner{padding:20px}.explosion-preview-metrics{grid-template-columns:1fr}}
@media print{.bd-theme-section-banner,.explosion-launch{display:none!important}}


/* v2.5.5 — Encabezado compacto de las pantallas internas. */
:root:not([data-theme='classic']) .bd-theme-section-banner{min-height:0;padding:12px 18px;gap:12px;margin-bottom:13px;border-radius:9px}
:root:not([data-theme='classic']) .bd-theme-section-banner h2{font-size:clamp(16px,1.6vw,20px);margin:2px 0}
:root:not([data-theme='classic']) .bd-theme-section-banner p{font-size:11px;line-height:1.3}
:root:not([data-theme='classic']) .bd-theme-section-mark{font-size:22px;width:41px;height:41px;border-radius:9px}
:root[data-theme='corporate'] .bd-theme-section-banner{border-radius:4px;border-left-width:6px}

.explosion-summary{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.explosion-summary>b{padding:9px 12px;border:1px solid var(--line);border-radius:9px;font-size:12px;background:var(--bg)}
