@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/source-sans-3-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/source-sans-3-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  /* Colores institucionales AICCyL (documento AVALIA SII 2.0 y logotipo) */
  --granate: #7D184C;
  --granate-osc: #5E1239;
  --granate-logo: #772A45;
  --rosa: #C4949E;
  --rosa-claro: #EBD6DB;
  --rosa-texto: #9B5F6E; /* rosa con contraste AA para textos */
  --rosa-suave: #F6ECEF;
  --crema: #F7EAE0;
  --fondo: #FBF7F4;
  --papel: #FFFFFF;
  --texto: #2A2027;
  --texto-2: #595959;
  --borde: #E7DCDF;
  --sombra: 0 1px 2px rgba(94, 18, 57, .06), 0 6px 24px rgba(94, 18, 57, .07);
  --radio: 14px;
  --ok: #1E6B3A;
  --parcial: #8F5B0F;
  --no: #B03A2E;
  --fuente: 'Source Sans 3', 'Segoe UI', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.55;
  color: var(--texto);
  background: var(--fondo);
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--granate); }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--papel); border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 20px; color: var(--granate); letter-spacing: .02em; }
.brand-ver { font-weight: 600; color: var(--rosa-texto); font-size: 15px; }
.brand-sub { font-size: 12.5px; color: var(--texto-2); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--texto-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--rosa-suave); color: var(--granate); font-weight: 600; font-size: 13.5px; }
.progress { height: 4px; background: var(--rosa-suave); }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--granate), var(--rosa)); transition: width .35s ease; }

.main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 32px 24px 48px; outline: none; }
.footer { text-align: center; font-size: 13px; color: var(--texto-2); padding: 14px 16px 18px; border-top: 1px solid var(--borde); background: var(--papel); }
.footer .dot { margin: 0 8px; color: var(--rosa-texto); }

/* ---------- Elementos comunes ---------- */
.card { background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); padding: 28px 32px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 34px; font-weight: 800; color: var(--granate); }
h2 { font-size: 24px; font-weight: 700; color: var(--granate); }
h3 { font-size: 19px; font-weight: 700; color: var(--granate-osc); }
p { margin: 0 0 .9em; }
.muted { color: var(--texto-2); }
.small { font-size: 14.5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1.5px solid var(--granate); background: var(--granate); color: #fff; font-weight: 700; font-size: 16px; padding: 11px 22px; cursor: pointer; transition: background .15s, transform .05s, box-shadow .15s; text-decoration: none; }
.btn:hover { background: var(--granate-osc); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sec { background: transparent; color: var(--granate); }
.btn.sec:hover { background: var(--rosa-suave); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--granate); padding-inline: 12px; }
.btn.ghost:hover { background: var(--rosa-suave); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.aviso { border-left: 5px solid var(--granate); background: var(--rosa-suave); border-radius: 10px; padding: 16px 20px; font-size: 15.5px; }
.aviso strong { color: var(--granate); }
.aviso p:last-child { margin: 0; }
.nota { background: var(--crema); border-radius: 10px; padding: 14px 18px; font-size: 15.5px; }

/* ---------- Inicio ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.hero-main { padding: 40px 44px; }
.hero-logo { height: 120px; margin-bottom: 18px; }
.titlebar { background: var(--granate); color: #fff; border-radius: 10px; padding: 16px 22px; font-weight: 700; font-size: 20px; line-height: 1.3; margin: 6px 0 16px; }
.lead { font-size: 19px; color: var(--texto); }
.doc-box { display: flex; gap: 16px; align-items: flex-start; border: 1.5px dashed var(--rosa); border-radius: 12px; padding: 18px 20px; background: #fff; margin: 18px 0; }
.doc-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--granate); color: #fff; display: grid; place-items: center; font-size: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; cursor: pointer; font-size: 16px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--granate); flex: none; }
.side-col { display: flex; flex-direction: column; gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--rosa-suave); color: var(--granate); font-weight: 800; display: grid; place-items: center; }

/* ---------- Selección de sector ---------- */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 24px 0; }
.sector { text-align: left; border: 2px solid var(--borde); border-radius: 16px; background: #fff; padding: 26px 26px 22px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; color: inherit; font-size: 16px; }
.sector:hover { border-color: var(--rosa); box-shadow: var(--sombra); }
.sector.sel { border-color: var(--granate); box-shadow: 0 0 0 4px var(--rosa-suave); }
.sector .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--rosa-suave); color: var(--granate); display: grid; place-items: center; margin-bottom: 14px; }
.sector.sel .ico { background: var(--granate); color: #fff; }
.sector h3 { font-size: 21px; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 20px; max-width: 560px; }
.field label { font-weight: 700; font-size: 15px; }
.field input { font: inherit; padding: 11px 14px; border: 1.5px solid var(--borde); border-radius: 10px; background: #fff; }
.field input:focus { outline: none; border-color: var(--granate); box-shadow: 0 0 0 3px var(--rosa-suave); }

/* ---------- Cuestionario ---------- */
.quiz { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 92px; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 14px 10px; max-height: calc(100vh - 130px); overflow: auto; }
.sidebar h4 { margin: 4px 12px 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); }
.nav-item { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: none; border: 0; border-radius: 9px; padding: 8px 12px; font-size: 15px; color: var(--texto); cursor: pointer; }
.nav-item:hover:not(:disabled) { background: var(--rosa-suave); }
.nav-item:disabled { color: #857A80; cursor: default; }
.nav-item.act { background: var(--granate); color: #fff; font-weight: 700; }
.nav-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rosa); display: grid; place-items: center; font-size: 12px; }
.nav-item.done .nav-dot { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.nav-item.act .nav-dot { border-color: #fff; }
.nav-item.act.done .nav-dot { background: #fff; color: var(--granate); }

.block-head { margin-bottom: 18px; }
.block-kicker { font-size: 14px; font-weight: 700; color: var(--rosa-texto); text-transform: uppercase; letter-spacing: .07em; }
.q { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px 24px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(94,18,57,.04); transition: border-color .2s; }
.q.nuevo { animation: aparecer .25s ease; }
.q.answered { border-color: #E2D3D8; }
.q.missing { border-color: var(--no); box-shadow: 0 0 0 3px rgba(176,58,46,.12); }
.q.child { margin-left: 26px; border-left: 4px solid var(--rosa); }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--rosa-suave); color: var(--granate); }
.tag.star { background: #FFF4D6; color: #8A6100; }
.tag.gate { background: #E9EEF6; color: #2E4A73; }
.tag.cond { background: #EEF3EC; color: #2F5D3A; }
.q-num { font-weight: 800; color: var(--rosa-texto); margin-right: 6px; }
.q-text { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.q-ref { font-size: 14px; color: var(--texto-2); margin-bottom: 10px; }
.q-ref::before { content: '§ '; color: var(--rosa-texto); font-weight: 700; }
.q-extra { font-size: 15px; color: var(--texto); background: var(--fondo); border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.q-extra b { color: var(--granate-osc); }
.q-extra.efic { background: var(--crema); }
details.q-more { margin: 8px 0; font-size: 15px; }
details.q-more summary { cursor: pointer; color: var(--granate); font-weight: 600; }
details.q-more div { margin-top: 8px; background: var(--fondo); border-radius: 10px; padding: 10px 14px; }
.answers { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ans { min-width: 128px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--borde); background: #fff; font-size: 16px; font-weight: 700; cursor: pointer; color: var(--texto); transition: all .12s; }
.ans:hover:not(:disabled) { border-color: var(--rosa); background: var(--rosa-suave); }
.ans.sel.si { background: var(--ok); border-color: var(--ok); color: #fff; }
.ans.sel.parcialmente { background: var(--parcial); border-color: var(--parcial); color: #fff; }
.ans.sel.no { background: var(--no); border-color: var(--no); color: #fff; }
.ans:disabled { cursor: not-allowed; }
.forced-note { font-size: 14.5px; color: var(--texto-2); margin-top: 10px; font-style: italic; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.err { color: var(--no); font-weight: 600; font-size: 15px; }

/* ---------- Resultados / certificado ---------- */
.cert { position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 40px 48px 32px; overflow: hidden; }
.cert::before { content: ''; position: absolute; inset: 12px; border: 2px solid var(--rosa-claro); border-radius: 12px; pointer-events: none; }
.cert-head { display: flex; align-items: center; gap: 22px; border-bottom: 2px solid var(--rosa-claro); padding-bottom: 18px; margin-bottom: 22px; position: relative; }
.cert-head img { height: 84px; }
.cert-kicker { font-size: 13.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--rosa-texto); font-weight: 800; }
.cert-title { font-size: 28px; font-weight: 800; color: var(--granate); margin: 2px 0 0; }
.cert-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; position: relative; }
.cert-meta div { background: var(--fondo); border-radius: 10px; padding: 10px 14px; }
.cert-meta span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); font-weight: 700; }
.cert-meta strong { font-size: 16.5px; }
.congrats { text-align: center; margin: 6px 0 22px; position: relative; }
.congrats .big { font-size: 30px; font-weight: 800; color: var(--granate); }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.score { border-radius: 14px; padding: 22px; text-align: center; border: 1px solid var(--borde); }
.score-label { font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--texto-2); }
.score-val { font-size: 64px; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.score-val small { font-size: 24px; color: var(--texto-2); font-weight: 600; }
.score-level { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 15px; }
.stars { font-size: 40px; letter-spacing: 4px; color: #E0A800; margin: 8px 0 2px; }
.stars .off { color: #E3D8C2; }
.score-sub { font-size: 14px; color: var(--texto-2); margin-top: 6px; }
.cert-foot { margin-top: 22px; position: relative; }
.scale { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.scale td { padding: 6px 10px; border-bottom: 1px solid var(--borde); }
.scale .sw { width: 16px; height: 16px; border-radius: 4px; display: inline-block; vertical-align: middle; }
.scale tr.cur td { font-weight: 800; background: var(--rosa-suave); }

.res-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 24px 0 36px; }

.plan h2 { margin-top: 8px; }
.plan-sec { margin: 26px 0; }
.plan-sec > h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.plan-sec > h3 .count { font-size: 14px; background: var(--rosa-suave); color: var(--granate); padding: 2px 10px; border-radius: 999px; }
.plan-intro { color: var(--texto-2); margin-bottom: 14px; }
.amb-title { font-size: 15px; font-weight: 800; color: var(--granate); text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 8px; }
.item { background: #fff; border: 1px solid var(--borde); border-left: 5px solid var(--no); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; break-inside: avoid; }
.item.parcial { border-left-color: var(--parcial); }
.item.mejora { border-left-color: #E0A800; }
.item.atencion { border-left-color: var(--rosa); }
.item-text { font-weight: 600; }
.item-meta { font-size: 14px; color: var(--texto-2); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.item-note { font-size: 14.5px; background: var(--crema); border-radius: 8px; padding: 8px 12px; margin-top: 8px; }
.empty { background: #EEF6EF; color: #1E5A31; border-radius: 10px; padding: 14px 18px; font-weight: 600; }
.recordatorio { background: var(--granate); color: #fff; border-radius: 16px; padding: 26px 30px; margin: 30px 0 10px; break-inside: avoid; }
.recordatorio h3 { color: #fff; font-size: 22px; }
.recordatorio p { color: #F7EAF0; }
.recordatorio .lema { font-size: 19px; font-weight: 700; color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(42, 20, 32, .45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal-card { background: #fff; border-radius: 16px; padding: 26px 28px; max-width: 520px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ---------- Adaptación a pantallas pequeñas ---------- */
@media (max-width: 960px) {
  .hero, .quiz, .sector-grid, .scores { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .cert-meta { grid-template-columns: 1fr; }
  .hero-main, .cert { padding: 26px 22px; }
  .brand-sub { display: none; }
}

/* ---------- Impresión / PDF ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; font-size: 12.5px; }
  .topbar, .footer, .res-actions, .no-print { display: none !important; }
  .main { padding: 0; max-width: none; }
  .cert { box-shadow: none; padding: 26px 30px; page-break-after: always; }
  .score-val { font-size: 48px; }
  .card, .q, .item { box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Clases que sustituyen estilos en línea (CSP estricta: style-src 'self') ---------- */
.h1-bloque { font-size: 30px; }
.doc-txt { margin: .3em 0 .5em; }
.privacidad { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #EEF4F0; color: #1F4D30; font-size: 15px; }
.privacidad svg { flex: none; margin-top: 2px; }
.privacidad-res { text-align: center; max-width: 760px; margin: -22px auto 32px; }
.congrats-msg { font-size: 18px; margin: .3em 0; }
.congrats-stars { font-size: 17px; margin: 0; }
.mt10 { margin-top: 10px; }
.mt14 { margin-top: 14px; }
.mb0 { margin-bottom: 0; }
.col-sw { width: 28px; }
.col-rango { width: 110px; }
.n0 { --c: #1E6B3A; } .n1 { --c: #3D9A50; } .n2 { --c: #D9A400; } .n3 { --c: #E07A1F; } .n4 { --c: #C0392B; }
.sw { background: var(--c); }
.score-nota { border-color: color-mix(in srgb, var(--c) 35%, white); background: color-mix(in srgb, var(--c) 6%, white); }
.score-nota .score-val { color: var(--ct, var(--c)); }
.score-nota .score-level { background: color-mix(in srgb, var(--c) 16%, white); color: var(--ct, #2A2027); border: 1px solid color-mix(in srgb, var(--c) 45%, white); }
.score-mejora { background: #FFFBF0; border-color: #F1E2B5; }
.score-mejora .score-val { color: #8A6100; }

.clausulas { margin: 26px 0 0; }
.clausulas h3 { font-size: 17px; }
.congrats .big.aviso-n2 { color: #9A7400; }
.congrats .big.aviso-n3 { color: #C2620F; }
.congrats .big.aviso-n4 { color: #B03A2E; }

/* ---------- Inicio en una sola columna (lectura de arriba abajo) ---------- */
.inicio { max-width: 880px; margin: 0 auto; }
.inicio-card { padding: 40px 48px; }
.inicio-head { text-align: center; border-bottom: 2px solid var(--rosa-claro); padding-bottom: 22px; margin-bottom: 26px; }
.inicio-head .hero-logo { height: 110px; }
.inicio-head .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.inicio-sec { margin: 0 0 24px; }
.inicio-sec h2 { font-size: 22px; margin-bottom: 14px; }
.inicio .steps li { padding-bottom: 12px; }
.resp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.resp-item { display: flex; flex-direction: column; gap: 8px; background: var(--fondo); border-radius: 10px; padding: 12px 14px; }
.resp-chip { align-self: flex-start; font-weight: 700; font-size: 14px; padding: 3px 12px; border-radius: 999px; color: #fff; }
.resp-chip.si { background: var(--ok); } .resp-chip.parcialmente { background: var(--parcial); } .resp-chip.no { background: var(--no); }
.inicio .aviso { margin-top: 8px; }
.inicio-start { border-top: 2px solid var(--rosa-claro); margin-top: 24px; padding-top: 6px; text-align: left; }
.btn-grande { font-size: 17px; padding: 13px 28px; }
@media (max-width: 760px) { .inicio-card { padding: 26px 20px; } .resp-grid { grid-template-columns: 1fr; } }

/* ---------- Accesibilidad: foco visible con teclado ---------- */
:focus-visible { outline: 3px solid #5E1239; outline-offset: 2px; }
.ans:focus-visible, .btn:focus-visible, .sector:focus-visible, .nav-item:focus-visible { outline: 3px solid #5E1239; outline-offset: 2px; }
details.q-more summary { display: inline-block; padding: 2px 0; }
details.q-more div p { margin: 0 0 .5em; }
details.q-more div p:last-child { margin-bottom: 0; }
details.q-more .efic { background: var(--crema); border-radius: 8px; padding: 8px 10px; }

/* ---------- Dentro de una página de WordPress (marco con altura automática) ---------- */
html.embebido, html.embebido body { height: auto; }
html.embebido .topbar { position: static; }
html.embebido .sidebar { position: static; max-height: none; }
html.embebido .main { padding-top: 22px; }
.avalia-vista-previa { background: #FFF4D6; color: #5C4300; text-align: center; font-weight: 700; padding: 8px 12px; border-bottom: 1px solid #F1E2B5; }

/* Lista de ámbitos: siempre visible en ordenador; desplegable en móvil y tablet */
.sidebar-desplegable > summary { display: none; }
@media (max-width: 960px) {
  .sidebar { padding: 4px 8px; }
  .sidebar-desplegable > summary { display: block; cursor: pointer; padding: 10px 8px; font-weight: 700; color: var(--granate); }
  .sidebar-desplegable:not([open]) > h4 { display: none; }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 8px 14px; gap: 10px; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 17px; }
  .topbar-right > span:not(.chip) { display: none; }
  .chip { white-space: nowrap; font-size: 12.5px; padding: 3px 10px; }
  .main { padding: 22px 14px 36px; }
}

/* Dentro de una página de la web: sin el logo pequeño de la cabecera (la web ya muestra el de la AICCyL) */
html.embebido .brand-logo { display: none; }
/* Dentro de una página de la web: sin el nombre de la cabecera (la web ya lo muestra);
   la barra solo aparece cuando hay sector o progreso que mostrar */
html.embebido .brand { display: none; }
html.embebido .topbar-inner { justify-content: flex-end; padding-top: 8px; padding-bottom: 8px; }
html.embebido .topbar.vacia { display: none; }
