/*
 * PrivilegeFans v33 · módulo «notificaciones» (D) · estilos (prefijo nf-)
 * Pantalla (diseño 2026 de la maqueta de Antonio), filas, ventanas (propuesta de precio, sugerencias, citas, cancelar renovación) y panel de Ajustes.
 */
:root { --nf-red: #d3202b; --nf-dot: #2d7fd6; --nf-tint: #eef5fd; --nf-box: #f3f6fa; --nf-ok: #159447; --nf-wait: #b18937; }

/* ───────────── pantalla: hoja lavanda, campana dorada, Públicas / Privadas, filtros en píldora y lista con barra dorada ───────────── */
.pfx-page.nf-page { width: min(var(--pf-w, 1500px), 100%); }
.nf-screen { --nf-night: #0A1230; --nf-night2: #16224A; --nf-gold: #F7B500; --nf-gold2: #F2C230; --nf-edge: #C9D6EE; --nf-ink: #0B1B3F; --nf-text: #1A2C55; --nf-soft: #D9E2F2; }
html body .dz-band + main.pfx-page.nf-screen { padding: 30px 34px 48px; background: linear-gradient(180deg, #F9FBFF 0%, #EFF4FC 55%, #E8EFFA 100%); border-radius: 30px 30px 0 0; }

.nf-screen .nf-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin: 0 0 24px; }
.nf-bell { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: radial-gradient(circle at 50% 28%, #1D2A58 0, #0A1230 74%); box-shadow: inset 0 0 0 2.5px var(--nf-gold2), 0 0 0 5px rgba(242, 194, 48, .16), 0 12px 26px rgba(10, 18, 48, .30); }
.nf-bell i { font-size: 38px; color: #FFC21E; filter: drop-shadow(0 0 7px rgba(255, 194, 30, .55)); }
.nf-titles { min-width: 0; }
.nf-screen .nf-head h1 { margin: 0; font-size: 40px; line-height: 1.04; font-weight: 900; color: var(--nf-ink); letter-spacing: -.015em; }
.nf-sub { margin: 7px 0 0; font-size: 17.5px; line-height: 1.35; color: var(--nf-text); }

.nf-screen .nf-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nf-screen .nf-tool { position: relative; height: 56px; min-width: 56px; padding: 0; border: 1.5px solid var(--nf-edge); border-radius: 19px; background: linear-gradient(180deg, #fff, #F0F4FB); color: var(--nf-ink); font: inherit; font-size: 21px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; box-shadow: 0 5px 14px rgba(21, 50, 100, .12), inset 0 1px 0 #fff; transition: transform .12s, box-shadow .12s, background .12s; }
.nf-screen .nf-tool:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(21, 50, 100, .16), inset 0 1px 0 #fff; background: linear-gradient(180deg, #fff, #E9F0FA); color: var(--nf-ink); }
.nf-screen .nf-tool.txt { padding: 0 26px; border-radius: 99px; border-color: #F2C23C; background: linear-gradient(180deg, #FFF4CB, #FFE49A); box-shadow: 0 5px 14px rgba(224, 168, 24, .22), inset 0 1px 0 rgba(255, 255, 255, .8); }
.nf-screen .nf-tool.txt:hover:not(:disabled) { background: linear-gradient(180deg, #FFF0B8, #FFDB7E); }
.nf-screen .nf-tool.txt span { font-size: 17px; font-weight: 800; white-space: nowrap; }
.nf-screen .nf-tool.txt i { font-size: 19px; }
.nf-screen .nf-tool:disabled { opacity: .5; cursor: default; box-shadow: none; }
.nf-screen .nf-tool.filtered::after { content: ""; position: absolute; top: 8px; inset-inline-end: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--nf-gold); box-shadow: 0 0 0 2.5px #fff; }
.nf-zone:focus-visible, .nf-tab:focus-visible, .nf-tool:focus-visible, .nf-more:focus-visible { outline: 2px solid var(--pfx-gold); outline-offset: 2px; }

/* Públicas / Privadas: un solo control oscuro; la zona activa se marca con borde y resplandor dorados */
.nf-zones { display: grid; grid-template-columns: 1fr 1fr; width: min(1110px, 100%); margin: 0 auto 26px; padding: 5px; border-radius: 99px; background: linear-gradient(180deg, #1B2B5E, #0E1A3E); border: 2px solid #8DA3D6; box-shadow: 0 10px 24px rgba(10, 18, 48, .24); }
.nf-zone { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; height: 76px; padding: 0 28px; border: 3px solid transparent; border-radius: 99px; background: transparent; color: #fff; font: inherit; text-align: start; cursor: pointer; transition: background .16s, border-color .16s, box-shadow .16s; }
.nf-zic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.nf-zic i { font-size: 36px; color: #fff; }
.nf-zone[data-zone="private"] .nf-zic i { color: #F6C335; }
.nf-ztx { display: grid; gap: 3px; min-width: 0; }
.nf-zname { font-size: 24px; line-height: 1.1; font-weight: 800; }
.nf-ztx small { font-size: 16px; line-height: 1.25; font-weight: 400; opacity: .94; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-zone:hover:not(.on) { background: rgba(255, 255, 255, .07); }
.nf-zone.on { border-color: #F2B420; background: radial-gradient(120% 150% at 50% 0, #3B2B12 0, #1B140A 56%, #100B06 100%); color: #FFF3D6; box-shadow: 0 0 0 2px rgba(242, 180, 32, .25), 0 0 22px rgba(242, 180, 32, .45), inset 0 0 24px rgba(242, 180, 32, .12); }
.nf-zone.on .nf-zic i { color: #F6C335; }
.nf-zone.locked { opacity: .92; }
.nf-zbadge:empty { display: none; }
.nf-zbadge { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 26px; }
.nf-lockic { font-size: 11px; background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .34); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }

/* filtros en píldora con contador: «Todas» activa en azul noche con borde dorado; las demás, blancas con el icono en su color */
.nf-badge { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 8px; border-radius: 99px; background: #E8121A; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.nf-tabs { display: flex; flex-wrap: wrap; gap: 12px 9px; margin: 0 0 14px; padding: 8px 4px 14px; }
.nf-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 16px; border: 1.5px solid var(--nf-edge); border-radius: 99px; background: linear-gradient(180deg, #fff, #F0F4FB); color: var(--nf-ink); font: inherit; font-size: 16.5px; font-weight: 800; cursor: pointer; white-space: nowrap; scroll-snap-align: center; box-shadow: 0 4px 12px rgba(21, 50, 100, .10), inset 0 1px 0 #fff; transition: background .12s, border-color .12s, transform .12s; }
.nf-tab i { font-size: 20px; }
.nf-tab:hover:not(.on) { background: linear-gradient(180deg, #fff, #E9F0FA); border-color: #AFC1E3; transform: translateY(-1px); }
.nf-tab.on { background: linear-gradient(180deg, #121E44, #080E25); border: 2px solid var(--nf-gold2); color: #fff; box-shadow: 0 0 0 3px rgba(242, 194, 48, .22), 0 8px 20px rgba(8, 14, 37, .34); }
.nf-tab.on i { color: var(--nf-gold) !important; }
.nf-tab.on .nf-badge { background: var(--nf-gold); color: var(--nf-night); }
html body .nf-screen .nf-tab[data-tab="todos"] i, html body .nf-screen .nf-tab[data-tab="megusta"] i, html body .nf-screen .nf-tab[data-tab="tienda"] i { --ic: #0B1B3F; }
html body .nf-screen .nf-tab[data-tab="seguidores"] i { --ic: #6A3FCB; } html body .nf-screen .nf-tab[data-tab="comentarios"] i, html body .nf-screen .nf-tab[data-tab="chat"] i, html body .nf-screen .nf-tab[data-tab="buzon"] i { --ic: #7A4BD6; }
html body .nf-screen .nf-tab[data-tab="calendario"] i { --ic: #17407D; } html body .nf-screen .nf-tab[data-tab="sistema"] i { --ic: #5B4BD0; }
html body .nf-screen .nf-tab[data-tab="privilegiados"] i { --ic: #C29A1E; } html body .nf-screen .nf-tab[data-tab="propinas"] i { --ic: #23935A; }
html body .nf-screen .nf-tab[data-tab="reals"] i { --ic: #EBB72A; } html body .nf-screen .nf-tab[data-tab="directos"] i { --ic: #D23B3B; }

/* lista: filas sobre la propia hoja, separadas por una línea fina */
.nf-list { min-height: 160px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.nf-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 18px 14px 34px; padding-inline: 34px 18px; cursor: pointer; transition: background .12s, opacity .18s, transform .18s; outline: none; border-bottom: 1.5px solid var(--nf-soft); border-radius: 0; background: transparent; }
.nf-row:last-of-type { border-bottom: 0; }
.nf-row:hover { background: rgba(255, 255, 255, .72); } .nf-row:focus-visible { box-shadow: inset 0 0 0 2px var(--pfx-gold); }
.nf-row.unread::before { content: ""; position: absolute; inset-inline-start: 9px; top: 10px; bottom: 10px; width: 5px; border-radius: 4px; background: linear-gradient(180deg, #FFC21E, #F7A800); }
.nf-row.recent { background: #FDEDC4; border-radius: 12px; border-bottom-color: transparent; } .nf-row.recent:hover { background: #FCE5AE; }
.nf-row.leaving { opacity: 0; transform: translateX(26px); pointer-events: none; background: #FFF6D8; }
.nf-row.fresh { animation: nfFresh 1.6s ease-out; }
@keyframes nfFresh { 0% { background: #FCE5AE; transform: translateY(-8px); opacity: 0; } 12% { opacity: 1; transform: none; } 100% { background: #FDEDC4; } }

.nf-av { flex: none; width: 86px; display: flex; align-items: center; }
.nf-avw { position: relative; display: inline-block; margin-inline-start: 8px; }
.nf-av .pfx-avatar, .nf-av > .nf-avw > img { width: 54px !important; height: 54px !important; font-size: 17px; display: grid; place-items: center; }
.nf-sysav { width: 74px; height: 50px; margin-inline-start: -8px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(160deg, #1D2B5C, #0A1230 82%); color: #F7B500; font-size: 24px; box-shadow: inset 0 0 0 2px rgba(242, 194, 48, .88), 0 6px 14px rgba(10, 18, 48, .28); }
.nf-sysav i { filter: drop-shadow(0 0 4px rgba(247, 181, 0, .5)); }
.nf-tb { position: absolute; inset-inline-end: -9px; bottom: -8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0F1B3C; box-shadow: 0 0 0 2.5px #fff, 0 3px 8px rgba(10, 18, 48, .30); }
.nf-tb i { color: #fff; font-size: 13px; }
.nf-sysav + .nf-tb { inset-inline-end: -6px; bottom: -9px; width: 32px; height: 32px; }

.nf-main { min-width: 0; display: grid; gap: 3px; }
.nf-line { margin: 0; font-size: 17px; line-height: 1.38; color: var(--nf-text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-nick { color: var(--nf-ink); font-weight: 900; }
.nf-line .pfx-verified { margin-inline-start: 3px; font-size: 13px; color: #3d86c6; }
.nf-ttl { color: var(--nf-ink); font-size: 19px; font-weight: 900; }
.nf-body { margin: 0; font-size: 16.5px; line-height: 1.42; color: var(--nf-text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-txt b { font-weight: 800; color: var(--nf-ink); }
.nf-q { quotes: none; color: var(--nf-ink); font-style: normal; }
.nf-meta { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: #5C7090; }
.nf-meta i { font-style: normal; }
.nf-user { color: #3E6AA6; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-meta .nf-time.m, .nf-meta .nf-sepm { display: none; }
.nf-meta.nf-nou { display: none; }

/* a la derecha: importe o miniatura, hora en píldora, punto de «sin leer» (anillo dorado con el centro oscuro) y menú «…» */
.nf-right { display: flex; align-items: center; gap: 18px; justify-self: end; }
.nf-time { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border: 1.5px solid var(--nf-edge); border-radius: 99px; background: linear-gradient(180deg, #fff, #F3F6FC); color: #12234A; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(21, 50, 100, .06); }
.nf-thumb { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; background: #e6edf5; flex: 0 0 auto; box-shadow: 0 2px 8px rgba(15, 54, 84, .12); }
.nf-amt { font-size: 19px; font-weight: 900; color: #1F7A4D; white-space: nowrap; font-variant-numeric: tabular-nums; } .nf-amt.gem { color: #8A6A1C; font-size: 17px; }
.nf-dot { flex: 0 0 auto; box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; border: 5px solid transparent; background: transparent; transition: background .15s, border-color .15s; }
.nf-row.unread .nf-dot { border-color: var(--nf-gold); background: var(--nf-night); box-shadow: 0 0 0 3px rgba(247, 181, 0, .18); }
.nf-more { width: 58px; height: 42px; border: 1.5px solid var(--nf-edge); border-radius: 21px; background: linear-gradient(180deg, #fff, #F3F6FC); color: var(--nf-ink); font-size: 18px; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; box-shadow: 0 4px 10px rgba(21, 50, 100, .10); transition: background .12s, border-color .12s; }
.nf-more:hover, .nf-more.menu-open { background: var(--ice, #fff); border-color: #9FB4DC; color: var(--nf-ink); }

/* fila de «Motivo: …» (buzón de sugerencias, chat) */
.nf-motivo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; justify-content: flex-start; }
.nf-mot { font-size: 15px; color: #2D4A72; } .nf-mot b { color: var(--pfx-blue-2); font-weight: 800; }
.nf-neg { font-size: 14px; color: var(--pfx-blue-2); } .nf-neg b { color: var(--nf-red); }
.nf-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; background: #fff4de; color: #9a6a0a; border: 1px solid #f3dca8; }
.nf-chip.ok { background: #e7f6ed; color: var(--nf-ok); border-color: #bfe5cd; } .nf-chip.bad { background: #fdecec; color: var(--nf-red); border-color: #f4c4c7; } .nf-chip.wait { background: #fff4de; color: #9a6a0a; border-color: #f3dca8; }

.nf-more-wrap { display: flex; justify-content: center; padding: 14px 0 16px; }
.nf-empty .pfx-empty { padding: 46px 18px; } .nf-empty .pfx-empty i { font-size: 38px; }
.nf-lock-tx { margin: 0; text-align: center; color: #51657b; font-size: 14px; line-height: 1.55; }

/* ───────────── ventanas (mismo diseño que el resto de la plataforma) ───────────── */
.nf-pop .pfx-pop-head { position: relative; justify-content: center; padding: 18px 54px 13px; }
.nf-pop .pfx-pop-titles { flex: 0 1 auto; text-align: center; } .nf-pop .pfx-pop-titles h3 { font-size: 17px; font-weight: 800; color: var(--pfx-blue); }
.nf-pop .pfx-pop-x { position: absolute; right: 14px; top: 50%; margin-top: -17px; background: transparent; color: #9aaabc; }
.nf-pop .pfx-pop-icon { display: none; }
.nf-pop .pfx-pop-body { padding: 20px 26px 12px; }
.nf-pop .pfx-pop-foot { border-top: 0; justify-content: center; padding: 6px 26px 22px; }
.nf-pop .pfx-pop-btns { margin: 0 auto; justify-content: center; }
.nf-pop .pfx-pop-btns .pfx-btn { min-width: 150px; }
.nf-pop [hidden], .nf-set [hidden] { display: none !important; }
.nf-gold { color: var(--pfx-gold-2); }
.nf-pp-user { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 2px 0 18px; }
.nf-pp-user .pfx-avatar, .nf-pp-user img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.nf-pp-who { display: grid; gap: 1px; text-align: left; min-width: 0; } .nf-pp-nick { color: var(--pfx-gold-2); font-size: 16px; font-weight: 800; } .nf-pp-un { color: var(--pfx-blue); font-size: 12.5px; font-weight: 700; }
.nf-pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.nf-pp-one { display: grid; justify-items: center; margin-top: 16px; } .nf-pp-one .nf-pp-cell { width: min(300px, 100%); }
.nf-pp-cell { text-align: center; min-width: 0; } .nf-pp-cell > label, .nf-pp-block > label { display: block; color: var(--pfx-blue); font-weight: 800; font-size: 13px; line-height: 1.3; }
.nf-pp-val, .nf-pp-box { background: var(--nf-box); border-radius: 9px; padding: 11px 12px; margin-top: 7px; color: #3c5069; font-size: 13.5px; overflow-wrap: anywhere; }
.nf-pp-val.red { color: var(--nf-red); font-weight: 800; } .nf-pp-val b { color: var(--pfx-blue-2); }
.nf-pp-block { margin-top: 16px; text-align: center; } .nf-pp-block:first-of-type { margin-top: 0; }
.nf-pp-box { text-align: center; min-height: 42px; white-space: pre-wrap; } .nf-pp-box.c { white-space: normal; } .nf-pp-box.muted { color: #8496aa; }
.nf-pp-foot { margin: 16px 0 4px; text-align: center; color: #6a7e94; font-size: 12.5px; line-height: 1.5; }
.nf-st { font-weight: 800; } .nf-st.ok { color: var(--nf-ok); } .nf-st.bad { color: var(--nf-red); } .nf-st.wait { color: var(--nf-wait); }

/* solicitud de cita */
.nf-kindic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; font-size: 24px; }
.nf-kindic.chat { background: #dcf4ec; color: #3fb496; } .nf-kindic.call { background: #e1eefb; color: #2b7fd0; } .nf-kindic.video { background: #fde8e2; color: #ee7e66; }
.nf-ap-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 10px; margin: 14px 0 6px; }
.nf-ap-grid > .nf-pp-cell { grid-column: span 3; } .nf-ap-grid > .nf-pp-cell:nth-child(n+3):nth-child(-n+5) { grid-column: span 2; }
.nf-ap-grid .nf-pp-val { background: transparent; padding: 3px 0 0; margin: 0; font-size: 13px; }
.nf-ap-user { display: inline-flex; flex-wrap: wrap; gap: 3px 8px; justify-content: center; } .nf-ap-un { color: var(--pfx-blue); font-weight: 700; }
.nf-earn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 4px; padding: 12px 14px; border-radius: 8px; background: var(--pfx-blue); color: #fff; font-size: 13.5px; }
.nf-earn i { color: var(--pfx-gold); font-size: 18px; } .nf-earn b { font-size: 15px; }
.nf-ap-state { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 4px; } .nf-ap-state label { color: var(--pfx-blue); font-weight: 800; font-size: 13px; }
.nf-ap-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 22px; border: 1px solid #dbe4ee; border-radius: 9px; background: var(--ice, #fff); font-size: 12.5px; font-weight: 700; color: #3c5069; }
.nf-ap-chip.ok i { color: var(--nf-ok); } .nf-ap-chip.bad i { color: var(--nf-red); } .nf-ap-chip.wait i { color: #f0a020; }
.nf-appt .pfx-btn.primary i { color: #6fe39a; } .nf-appt .pfx-btn.ghost i { color: var(--nf-red); }
.nf-appt .nf-pp-block { margin-top: 18px; }

/* avisos de «Cita Aceptada» / «Cita Denegada» */
.nf-info .pfx-pop-icon { display: grid; position: absolute; left: 18px; top: 50%; margin-top: -19px; background: var(--pfx-blue); color: #fff; border-radius: 50%; width: 38px; height: 38px; }
.nf-info .pfx-pop-head { padding-left: 64px; padding-right: 54px; }
.nf-info .pfx-pop-titles h3 { color: var(--pfx-blue); }
.nf-info-tx { margin: 6px 0 14px; text-align: center; color: #2b5b8c; font-size: 15px; line-height: 1.75; } .nf-info-tx u { text-decoration-thickness: 1px; font-weight: 700; }
.nf-info-imp { margin: 0 0 6px; text-align: center; color: #2b5b8c; font-size: 11.5px; line-height: 1.5; } .nf-info-imp b { display: block; }
.nf-info .pfx-pop-btns { width: 100%; } .nf-info .pfx-pop-btns .pfx-btn { flex: 0 1 62%; }

/* cancelar renovación / negociar precio */
.nf-banner { display: flex; align-items: center; gap: 10px; background: var(--pfx-blue); color: #fff; border-radius: 9px; padding: 11px 14px; font-size: 12.5px; line-height: 1.4; margin-bottom: 18px; } .nf-banner i { color: var(--pfx-gold); font-size: 16px; flex: 0 0 auto; }
.nf-f { margin-bottom: 14px; } .nf-f > label { color: var(--pfx-blue); }
.nf-cancel .nf-f select { text-align: left; }
.nf-swrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px 0 14px; color: var(--pfx-blue); font-weight: 800; font-size: 13px; flex-wrap: wrap; }
.nf-sw { display: inline-flex; align-items: center; gap: 8px; } .nf-sw em { font-style: normal; font-weight: 700; color: #51657b; font-size: 12.5px; }
.nf-hint { margin: -6px 0 14px; text-align: center; color: #8a6a1d; background: #fff8e6; border: 1px solid #f3e1ae; border-radius: 9px; padding: 8px 12px; font-size: 12.2px; line-height: 1.45; }
.nf-count { text-align: right; font-size: 11px; color: #8a9bb0; margin-top: 3px; }

/* ───────────── Ajustes → Notificaciones (diseño 2026: tarjetas por sección, filas con icono + texto + interruptor) ───────────── */
.nf-set { display: grid; gap: 14px; max-width: 880px; }
.nf-set-lead { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #F5F9FD; border: 1px solid #E3EDF7; color: #4F6680; font-size: 13px; line-height: 1.55; } .nf-set-lead > i { color: #6F98C4; margin-top: 3px; } .nf-set-lead b { color: var(--d-ink, #0B2D52); }
.nf-acc { background: var(--ice, #fff); border: 1px solid var(--d-line, #E9EEF4); border-radius: 16px; box-shadow: var(--d-card-shadow, 0 4px 18px rgba(15, 54, 84, .05)); overflow: hidden; }
.nf-acc-head { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: var(--ice, #fff); padding: 16px 18px; color: var(--d-ink, #0B2D52); font: inherit; font-weight: 900; font-size: 15.5px; text-align: left; cursor: pointer; transition: background .12s; }
.nf-acc-head:hover { background: #F7FAFD; }
.nf-acc-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--d-navy, #154C82); color: #fff; font-size: 14px; }
.nf-acc[data-sec="private"] .nf-acc-ic { background: var(--d-gold-grad, linear-gradient(180deg, #E2B53A, #B8891F)); }
.nf-acc-t { flex: 1; min-width: 0; }
.nf-acc-n { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #6B7F95; background: #EEF3F9; border-radius: 99px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.nf-acc-chev { color: var(--d-navy, #154C82); transition: transform .18s; } .nf-acc.open .nf-acc-chev { transform: rotate(180deg); }
.nf-acc-body { display: none; padding: 0 18px 6px; border-top: 1px solid #EEF2F6; } .nf-acc.open .nf-acc-body { display: block; animation: pfxFade .16s; }
.nf-prow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #EEF2F6; } .nf-prow:last-child { border-bottom: 0; }
.nf-pic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EEF3F9; color: #7A8DA2; font-size: 16px; transition: background .14s, color .14s; }
.nf-prow.on .nf-pic { background: #EAF2FB; color: var(--d-navy, #154C82); }
.nf-pl { flex: 1; min-width: 0; display: grid; gap: 2px; } .nf-pl > b { color: var(--d-ink, #0B2D52); font-weight: 800; font-size: 14.5px; } .nf-pl > small { color: #6B7F95; font-size: 12.5px; line-height: 1.4; }
.nf-prow:not(.on) .nf-pl > b { color: #5D7189; }
.nf-prow > .pfx-switch { flex: 0 0 auto; }
.nf-pch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .nf-pch[hidden] { display: none; }
.nf-chn { position: relative; display: inline-flex; cursor: pointer; }
.nf-chn input { position: absolute; opacity: 0; pointer-events: none; }
.nf-chn span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid #DCE5EF; background: var(--ice, #fff); color: #6B7F95; font-size: 12.5px; font-weight: 700; transition: background .12s, color .12s, border-color .12s; }
.nf-chn span i { font-size: 11.5px; }
.nf-chn span::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #E9EEF4; color: transparent; }
.nf-chn input:checked + span { background: #EAF2FB; border-color: #B9D0EA; color: var(--d-navy, #154C82); } .nf-chn input:checked + span::after { background: var(--d-navy, #154C82); color: #fff; }
.nf-chn input:focus-visible + span { box-shadow: 0 0 0 3px rgba(21, 76, 130, .2); }
.nf-set-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 6px 0 6px; position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 30%); }
.nf-save { min-width: 220px; height: 46px; border-radius: 12px; font-weight: 900; justify-content: center; }
.nf-dirty { color: #8A6A1C; font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; } .nf-dirty i { font-size: 7px; color: #f0a020; }
.nf-set-card .nf-set { padding: 18px 16px 22px; }

/* ───────────── tableta y móvil ───────────── */
@media (max-width: 1100px) {
  html body .dz-band + main.pfx-page.nf-screen { padding: 24px 22px 44px; }
  .nf-zone { gap: 16px; padding: 0 18px; } .nf-zname { font-size: 21px; } .nf-ztx small { font-size: 14px; }
  .nf-row { gap: 14px; } .nf-time { padding: 0 14px; font-size: 14px; } .nf-right { gap: 12px; }
}
@media (max-width: 760px) {
  html body .dz-band + main.pfx-page.nf-screen { padding: 18px 12px 96px; border-radius: 22px 22px 0 0; }
  .nf-screen .nf-head { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; margin-bottom: 14px; }
  .nf-bell { width: 54px; height: 54px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--nf-gold2), 0 0 0 3px rgba(242, 194, 48, .16), 0 8px 18px rgba(10, 18, 48, .26); } .nf-bell i { font-size: 27px; }
  .nf-screen .nf-head h1 { font-size: 26px; } .nf-sub { margin-top: 3px; font-size: 13.5px; }
  .nf-screen .nf-tools { grid-column: 1 / -1; gap: 10px; }
  .nf-screen .nf-tool { height: 48px; min-width: 48px; border-radius: 16px; font-size: 18px; }
  .nf-screen .nf-tool.txt { flex: 1 1 auto; padding: 0 14px; } .nf-screen .nf-tool.txt span { font-size: 15px; } .nf-screen .nf-tool.txt i { font-size: 16px; }
  .nf-zones { margin-bottom: 14px; padding: 4px; }
  .nf-zone { height: 56px; gap: 10px; padding: 0 10px; border-width: 2.5px; } .nf-zic { width: 30px; height: 30px; } .nf-zic i { font-size: 24px; }
  .nf-zname { font-size: 17px; } .nf-ztx small { display: none; }
  .nf-zbadge { inset-inline-end: 8px; } .nf-zbadge .nf-badge { min-width: 22px; height: 20px; padding: 0 6px; font-size: 11px; }
  .nf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0 -12px 8px; padding: 6px 12px 12px; gap: 8px; } .nf-tabs::-webkit-scrollbar { display: none; } .nf-tab { height: 44px; padding: 0 14px; font-size: 14px; gap: 8px; } .nf-tab i { font-size: 17px; }
  .nf-badge { min-width: 24px; height: 22px; padding: 0 7px; font-size: 12px; }
  .nf-list { margin: 0 -12px; }
  .nf-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 12px 8px 12px 20px; padding-inline: 20px 8px; align-items: start; }
  .nf-row.unread::before { inset-inline-start: 6px; top: 8px; bottom: 8px; width: 4px; }
  .nf-av { width: 66px; } .nf-avw { margin-inline-start: 4px; }
  .nf-av .pfx-avatar, .nf-av > .nf-avw > img { width: 44px !important; height: 44px !important; font-size: 14px; }
  .nf-sysav { width: 56px; height: 40px; margin-inline-start: -4px; border-radius: 14px; font-size: 19px; }
  .nf-tb { width: 24px; height: 24px; inset-inline-end: -8px; bottom: -7px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(10, 18, 48, .28); } .nf-tb i { font-size: 10.5px; } .nf-sysav + .nf-tb { inset-inline-end: -5px; bottom: -7px; width: 26px; height: 26px; }
  .nf-line { font-size: 15px; -webkit-line-clamp: 3; } .nf-ttl { font-size: 16px; } .nf-body { font-size: 14px; }
  .nf-meta { flex-wrap: wrap; gap: 6px 8px; margin-top: 3px; }
  .nf-meta.nf-nou { display: flex; }
  .nf-meta .nf-time.m { display: inline-flex; height: 28px; padding: 0 12px; font-size: 12.5px; } .nf-meta .nf-sepm { display: inline; }
  .nf-right .nf-time.d { display: none; }
  .nf-right { gap: 8px; align-self: center; } .nf-thumb { width: 46px; height: 46px; border-radius: 11px; } .nf-amt { font-size: 15px; } .nf-amt.gem { font-size: 13.5px; }
  .nf-dot { width: 18px; height: 18px; border-width: 4px; } .nf-more { width: 42px; height: 34px; border-radius: 17px; font-size: 15px; }
  .nf-motivo { flex-direction: column; align-items: flex-start; gap: 5px; }
  .nf-acc-head { padding: 14px; font-size: 14.5px; } .nf-acc-body { padding: 0 14px 4px; }
  .nf-prow { align-items: flex-start; gap: 12px; } .nf-pic { width: 36px; height: 36px; font-size: 15px; } .nf-prow > .pfx-switch { margin-top: 4px; }
  .nf-save { flex: 1; min-width: 0; } .nf-set-actions { justify-content: stretch; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .nf-pop .pfx-pop-body { padding: 16px 16px 8px; } .nf-pop .pfx-pop-foot { padding: 4px 16px 18px; } .nf-pop .pfx-pop-btns { width: 100%; } .nf-pop .pfx-pop-btns .pfx-btn { min-width: 0; flex: 1; }
  .nf-pp-grid { gap: 14px 10px; } .nf-pp-cell > label { font-size: 12.5px; }
  .nf-ap-grid > .nf-pp-cell:nth-child(3) { grid-column: span 6; } .nf-ap-grid > .nf-pp-cell:nth-child(4), .nf-ap-grid > .nf-pp-cell:nth-child(5) { grid-column: span 3; }
  .nf-info .pfx-pop-btns .pfx-btn { flex: 1; }
  .nf-tab:not(.on) .nf-tabl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nf-tab:not(.on) { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .nf-row, .nf-dot, .nf-row.fresh, .nf-tab, .nf-tool { transition: none; animation: none; } }
/* respaldo de Ajustes → Notificaciones sin el módulo «ajustes» */
.nf-set-card .nf-head { padding: 16px 16px 0; margin: 0; } .nf-set-card .nf-head h1 { font-size: 22px; }
.nf-gear { width: 40px; height: 40px; border: 1px solid #E1E9F2; border-radius: 12px; background: var(--ice, #fff); color: #4F6680; font-size: 15px; display: grid; place-items: center; cursor: pointer; }
