/* Universia · Notificaciones. Paleta clara de Mi Universia, componente aislado. */
.un-notify {
  box-sizing: border-box;
  color: #214971;
  background: radial-gradient(ellipse at 95% 5%, rgba(191, 205, 240, .46), transparent 62%), linear-gradient(120deg, #f6fbff, #e5effc 58%, #e1dff5);
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  margin: 24px auto;
  max-width: 960px;
  font-family: Satoshi, 'Avenir Next', system-ui, sans-serif;
  box-shadow: inset 0 1px #fff, 0 12px 34px rgba(97, 137, 194, .12);
  text-align: left;
}
.un-notify *, .un-notify *::before, .un-notify *::after { box-sizing: border-box; }
.un-notify h1, .un-notify h2, .un-notify h3 { color: #173e69; }
.un-notify h1 { font-size: clamp(30px, 5.5vw, 45px); font-weight: 450; line-height: 1.12; letter-spacing: -.055em; margin: 18px 0; }
.un-notify h2 { font-size: clamp(23px, 3.2vw, 31px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 8px 0 14px; }
.un-notify h3 { font-size: 19px; font-weight: 600; margin: 24px 0 10px; }
.un-notify p, .un-notify label, .un-notify small { color: #456b91; line-height: 1.6; }
.un-notify p { margin: 12px 0 18px; }
.un-notify small { font-size: 13px; }
.un-notify .un-kicker { color: #55789d; font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; margin: 0; }
.un-notify .un-layout { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.un-notify .un-orb { flex: 0 0 56px; height: 56px; color: #6c77b3; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e2dff7 58%, #c9d8f0); border: 1px solid #fff; display: grid; place-items: center; box-shadow: inset 0 1px #fff, 0 6px 18px #8e9fc526; }
.un-notify .un-orb svg { width: 34px; height: 34px; stroke: currentColor; }
.un-notify .un-copy { flex: 1; min-width: 180px; }
.un-notify .un-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.un-notify .un-btn, .mu-notifications .un-btn {
  display: inline-block;
  font: 600 14px/1.4 Satoshi, 'Avenir Next', system-ui, sans-serif;
  text-decoration: none;
  color: #2c557c;
  background: linear-gradient(115deg, #f1faff, #e8e4fa);
  border: 1px solid #a9c3e0;
  border-radius: 12px;
  padding: 13px 18px;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}
.un-notify .un-btn:hover, .mu-notifications .un-btn:hover { background: linear-gradient(115deg, #fff, #efebfc); box-shadow: 0 4px 12px #829ac31a; }
.un-notify .un-btn.secondary { background: rgba(255, 255, 255, .56); }
.un-notify .un-btn:focus-visible, .un-notify input:focus-visible, .un-notify a:focus-visible, .mu-notifications .un-btn:focus-visible { outline: 3px solid #6295c7; outline-offset: 4px; }
.un-notify .un-btn:disabled { opacity: .65; cursor: wait; }
.un-notify input[type=checkbox] { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #6b78ad; cursor: pointer; }
.un-notify .un-preferences { min-width: 0; margin: 22px 0; padding: 18px 20px 10px; border: 1px solid #b9cde4; border-radius: 18px; background: rgba(255, 255, 255, .28); }
.un-notify legend { padding: 0 8px; color: #254f79; font-size: 20px; font-weight: 550; letter-spacing: -.025em; }
.un-notify .un-help { color: #4c6c8a; font-size: 13px; line-height: 1.6; margin: 12px 0 20px; }
.un-notify .un-preferences .un-help { margin: 0 0 16px; }
.un-notify .un-preference-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.un-notify .un-preference-table thead th { color: #4b6c8d; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 0 6px 10px; text-align: center; width: 25%; }
.un-notify .un-preference-table thead th:first-child { width: 50%; }
.un-notify .un-preference-table tbody th { color: #2d5279; text-align: left; font-size: 15px; font-weight: 550; padding: 12px 12px 12px 0; overflow-wrap: anywhere; }
.un-notify .un-preference-table tbody tr { border-top: 1px solid #b9cde480; }
.un-notify .un-preference-table .un-select-all { background: rgba(255, 255, 255, .3); }
.un-notify .un-preference-table .un-select-all th { font-weight: 650; }
.un-notify .un-preference-table td { text-align: center; padding: 0; }
.un-notify .un-checkbox { display: flex; min-height: 54px; width: 100%; align-items: center; justify-content: center; cursor: pointer; }
.un-notify .un-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; cursor: pointer; }
.un-notify .un-consent input { margin-top: 2px; }
.un-notify [hidden] { display: none !important; }
.un-notify .un-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.un-notify .un-status { color: #466d91; font-size: 14px; }
.un-notify .un-status:empty { display: none; }
.un-notify .un-account { overflow-wrap: anywhere; font-size: 13px; color: #4d7094; margin: 22px 0 0; }
.un-notify .un-feedback { margin: 16px 0 0; padding: 13px 16px; border-radius: 12px; border: 1px solid #aac6df; color: #315674; background: #f0f7fd; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; scroll-margin-block: 24px; }
.un-notify .un-feedback[data-state=success] { color: #2a5e50; background: #edf7f4; border-color: #a7cdbf; }
.un-notify .un-feedback[data-state=error] { color: #824352; background: #fff2f4; border-color: #dcb7bf; }
.un-notify .un-feedback[data-state=loading] { display: flex; align-items: flex-start; gap: 10px; }
.un-notify .un-feedback[data-state=loading]::before { content: ''; flex: 0 0 15px; width: 15px; height: 15px; margin-top: 3px; border: 2px solid #bdd2e7; border-top-color: #577fb2; border-radius: 50%; animation: un-notify-turn .85s linear infinite; }
.un-notify a { color: #386998; text-underline-offset: 3px; }
.un-notify hr { border: 0; border-top: 1px solid #b4c9e0; margin: 30px 0 24px; }
.un-notify #un-history-title { font-size: clamp(21px, 3vw, 25px); margin-bottom: 6px; }
.un-notify #un-history > .un-help { margin: 6px 0 14px; }
.un-notify .un-notice-list { list-style: none; margin: 0; padding: 0; }
.un-notify .un-notice { border-top: 1px solid #b9cde480; margin: 0; padding: 0; }
.un-notify .un-notice a { display: flex; align-items: center; min-height: 44px; padding: 11px 2px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.un-notify .un-notice-more { border-top: 1px solid #b9cde480; }
.un-notify .un-notice-more summary { color: #386998; font-size: 13px; font-weight: 600; min-height: 44px; padding: 12px 2px; cursor: pointer; }
.un-notify .un-notice-more summary::marker { color: #6b78ad; }
.un-notify .un-notice-more summary:focus-visible { outline: 3px solid #6295c7; outline-offset: 4px; }
.un-notify #un-history > .un-recent-footer { margin: 14px 0 0; font-size: 12px; }
.un-notify-page { color-scheme: light; background: radial-gradient(ellipse at 80% 0%, #dce8fa, transparent 55%), radial-gradient(ellipse at 5% 80%, #e5e5fb, transparent 60%), linear-gradient(180deg, #f7fbff, #eef4fd); min-height: 100vh; margin: 0; padding: clamp(18px, 3vw, 36px) 16px 48px; color: #214971; font: 16px/1.6 Satoshi, 'Avenir Next', system-ui, sans-serif; }
.un-notify-page .un-notify { max-width: 720px; }
.un-notify-page .un-nav { display: flex; gap: 18px; justify-content: space-between; align-items: center; max-width: 720px; margin: auto; }
.un-notify-page .un-nav a { color: #416c94; font-size: 14px; text-decoration: none; }
.un-notify-page .un-nav a:focus-visible { outline: 3px solid #6295c7; outline-offset: 4px; }
.un-notify-page .un-heading > p:last-child { max-width: 560px; font-size: 15px; }
/* La tarjeta comparte columna, borde y padding con Tu Precurso. */
.mu-grid > .mu-card.mu-notifications { grid-column: 1; min-height: 0; margin: 0; background: radial-gradient(ellipse at 95% 10%, rgba(180, 190, 229, .32), transparent 62%), linear-gradient(114deg, rgba(243, 250, 255, .94), rgba(215, 230, 250, .85) 58%, rgba(221, 216, 242, .9)); }
.mu-notifications .un-btn { margin-top: 22px; }
.mu-notifications h2 { max-width: 100%; }
@media (min-width: 921px) {
  .mu-grid > .mu-notifications { grid-row: 2; }
  .mu-grid > .mu-secondary { grid-column: 2; grid-row: 1; }
}
@media (max-width: 500px) {
  .un-notify { padding: 25px 20px; border-radius: 24px; }
  .un-notify-page { padding: 20px 12px 36px; }
  .un-notify-page .un-nav a { font-size: 12px; }
  .un-notify .un-preferences { padding: 16px 12px 8px; }
  .un-notify .un-preference-table thead th { padding-inline: 3px; font-size: 11px; }
  .un-notify .un-preference-table tbody th { font-size: 14px; }
  .un-notify .un-actions .un-btn { width: 100%; text-align: center; }
  .un-notify .un-btn { font-size: 13px; }
  .un-notify .un-feedback { padding: 12px; font-size: 13px; }
  .mu-notifications .un-btn { max-width: 100%; text-align: center; }
}
@keyframes un-notify-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .un-notify .un-btn, .mu-notifications .un-btn { transition: none; } .un-notify .un-feedback[data-state=loading]::before { animation: none; } }

/* Estado confirmado y catálogo de temas. */
.un-notify .un-confirmed { margin: 24px 0 12px; padding: 20px; border: 1px solid #a8c8c3; border-radius: 18px; background: linear-gradient(110deg, #f2faf7, #e6f1f3); scroll-margin-block: 24px; }
.un-notify .un-confirmed h2 { margin: 0 0 8px; font-size: clamp(21px, 3.5vw, 26px); color: #2c5f56; }
.un-notify .un-confirmed p { margin: 0; font-size: 14px; color: #3f6c64; }
.un-notify .un-confirmed[data-active=false] { background: #f0f4fa; border-color: #b9cbe1; }
.un-notify .un-confirmed[data-active=false] h2, .un-notify .un-confirmed[data-active=false] p { color: #3d6080; }
.un-notify .un-topic-note { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.4; }
.un-notify #un-recheck { margin-top: 14px; }
@media (max-width: 500px) {
  .un-notify .un-preference-table tbody th { font-size: 13px; padding: 12px 7px 12px 0; }
  .un-notify .un-topic-note { font-size: 11px; }
  .un-notify .un-confirmed { padding: 16px; }
}
