/* CTGM V85 · Popup opcional y franja informativa superior. */
html:not(.app-mode) body.ctgm-ui .ctgm-folio-reminder[data-ctgm-app] { display:none!important; }
body.ctgm-ui .ctgm-folio-reminder {
  position:fixed!important;
  top:var(--ctgm-folio-top,90px)!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  z-index:1500!important;
  width:min(520px,calc(100vw - 24px))!important;
  max-height:min(72dvh,510px)!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  padding:20px 20px 18px!important;
  border-radius:20px!important;
  border:1px solid rgba(163,210,225,.65)!important;
  background:#0f2b3b!important;
  color:#f5fbff!important;
  box-shadow:0 18px 55px rgba(0,9,19,.40)!important;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  text-align:left!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-tag{
  color:#9fe2e9!important;font:800 10px/1.4 system-ui,sans-serif!important;letter-spacing:.14em!important;
}
body.ctgm-ui .ctgm-folio-reminder h2{
  margin:12px 0 8px!important;color:#fff!important;
  font:800 clamp(19px,4.8vw,24px)/1.17 system-ui,sans-serif!important;
  letter-spacing:-.035em!important;
}
body.ctgm-ui .ctgm-folio-reminder p{
  margin:0!important;color:#e1eef5!important;
  font:400 13.5px/1.56 system-ui,sans-serif!important;
}
body.ctgm-ui .ctgm-folio-reminder p strong{font-weight:800!important;color:#fff!important}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-actions{
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin-top:15px!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-cta,
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-dismiss,
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-x{
  box-sizing:border-box!important;cursor:pointer!important;font-family:system-ui,sans-serif!important;
  text-decoration:none!important;box-shadow:none!important;text-shadow:none!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-cta{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:11px 13px!important;min-height:42px!important;
  background:#d7f7ff!important;border:1px solid #d7f7ff!important;
  border-radius:11px!important;color:#103144!important;font-size:12px!important;font-weight:850!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-dismiss{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:11px 13px!important;min-height:42px!important;
  background:transparent!important;border:1px solid #87b6c7!important;
  border-radius:11px!important;color:#eaf6fa!important;font-size:12px!important;font-weight:750!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-x{
  flex:none!important;display:grid!important;place-items:center!important;
  width:33px!important;height:33px!important;min-height:33px!important;
  padding:0!important;background:#27485a!important;border:1px solid #678899!important;
  border-radius:10px!important;color:#fff!important;font-size:25px!important;line-height:1!important;
}
body.ctgm-ui .ctgm-folio-reminder :is(a,button):focus-visible{
  outline:3px solid #ffdb7e!important;outline-offset:3px!important;
}
@media(max-width:430px) {
  body.ctgm-ui .ctgm-folio-reminder { padding:16px 16px 15px!important;max-height:70dvh!important }
  body.ctgm-ui .ctgm-folio-reminder p{font-size:12.8px!important}
  body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-actions>*{flex:1 1 auto}
}

/* Casilla que cambia inmediatamente del pop-up a la franja informativa. */
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-preference {
  display:flex!important;align-items:flex-start!important;gap:11px!important;
  margin:15px 0 2px!important;padding:12px 11px!important;
  border:1px solid #5a899a!important;border-radius:12px!important;
  background:#1b3b4d!important;color:#f5fbff!important;
  font:750 13px/1.35 system-ui,sans-serif!important;
  text-transform:none!important;cursor:pointer!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-preference input[type="checkbox"] {
  flex:none!important;appearance:auto!important;-webkit-appearance:checkbox!important;
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
  margin:0!important;padding:0!important;border:1px solid #b1e7f8!important;
  accent-color:#b6f36a!important;background:transparent!important;cursor:pointer!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-preference span {
  display:block!important;color:#f6fcff!important;
}
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-preference small {
  display:block!important;margin-top:3px!important;
  color:#bcd5de!important;font:400 11.5px/1.4 system-ui,sans-serif!important;
}
/* Franja permanente en el flujo: primero en body, ANTES de todo el diseño. */
html:not(.app-mode) body.ctgm-ui .ctgm-folio-strip[data-ctgm-app] {display:none!important}
body.ctgm-ui .ctgm-folio-strip {
  position:relative!important;inset:auto!important;z-index:60!important;
  display:block!important;width:100%!important;max-width:none!important;
  box-sizing:border-box!important;margin:0!important;
  padding:8px max(14px,env(safe-area-inset-left)) 8px max(14px,env(safe-area-inset-right))!important;
  border:0!important;border-bottom:1px solid #96becd!important;
  border-radius:0!important;
  background:linear-gradient(110deg,#12364a,#194b5c)!important;
  color:#f5fbff!important;box-shadow:none!important;
  text-align:left!important;
}
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-inner {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:9px 16px!important;
  max-width:1220px!important;margin:0 auto!important;
}
body.ctgm-ui .ctgm-folio-strip p {
  flex:1 1 310px!important;min-width:0!important;margin:0!important;
  padding:0!important;color:#e8f5fb!important;
  font:500 12.5px/1.5 system-ui,sans-serif!important;
}
body.ctgm-ui .ctgm-folio-strip p strong {color:#fff!important;font-weight:850!important}
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions {
  flex:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:8px!important;
}
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions a,
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions button {
  box-sizing:border-box!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  min-height:32px!important;margin:0!important;padding:6px 10px!important;
  border-radius:9px!important;box-shadow:none!important;text-decoration:none!important;
  font:800 11.5px/1.2 system-ui,sans-serif!important;
  transform:none!important;cursor:pointer!important;
}
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions a {
  color:#143243!important;background:#d7f7ff!important;border:1px solid #d7f7ff!important;
}
body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions button {
  color:#e1f1f7!important;background:transparent!important;border:1px solid #7aabbc!important;
}
body.ctgm-ui .ctgm-folio-strip :is(a,button):focus-visible,
body.ctgm-ui .ctgm-folio-reminder .ctgm-folio-preference input:focus-visible {
  outline:3px solid #ffdb7e!important;outline-offset:2px!important;
}
@media(max-width:600px) {
  body.ctgm-ui .ctgm-folio-strip {padding:9px 12px!important}
  body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-inner {gap:7px!important}
  body.ctgm-ui .ctgm-folio-strip p {flex-basis:100%!important;font-size:11.5px!important;line-height:1.45!important}
  body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions a,
  body.ctgm-ui .ctgm-folio-strip .ctgm-folio-strip-actions button {
    min-height:30px!important;padding:5px 9px!important;font-size:11px!important;
  }
}
