.profile-notification-preferences{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;margin:0 0 15px;padding:14px 16px;border:1px solid #dce3de;border-radius:14px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.profile-notification-preferences:hover{background:#f5f8ef}.profile-notification-preferences:focus-visible{outline:2px solid #536e32;outline-offset:3px}
html.notification-preferences-open,html.notification-preferences-open body{overflow:hidden}
.notification-preferences-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);margin:auto;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.28)}
.notification-preferences-modal{display:flex;flex-direction:column;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);min-width:0}
.notification-preferences-header{position:relative;flex-shrink:0;padding:28px 28px 19px;border-bottom:1px solid var(--line)}
.notification-preferences-header h2{font:800 1.7rem/1.15 'Manrope';letter-spacing:-.04em;margin:9px 25px 9px 0;overflow-wrap:anywhere}
.notification-preferences-header h2:focus{outline:none}.notification-preferences-header>p{margin:0;color:var(--muted);font-size:.83rem;line-height:1.5}
.notification-preferences-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:#64766b;font-size:1.9rem;cursor:pointer}
.notification-preferences-close:hover{background:#f0f4f1}.notification-preferences-close:focus-visible{outline:2px solid #536e32;outline-offset:-3px}
.notification-preferences-content{overflow-y:auto;overscroll-behavior:contain;min-height:80px;padding:4px 28px 12px}
.notification-preference-group{min-width:0;padding:0;margin:20px 0;border:0}
.notification-preference-group legend{font:800 .95rem 'Manrope';color:var(--ink);padding:0;margin:0 0 10px}
.notification-preference-group-note{margin:-3px 0 10px;color:var(--muted);font-size:.76rem;line-height:1.5}
.notification-preference-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:75px;padding:14px 0;border-top:1px solid #e6ebe7;cursor:pointer}
.notification-preference-copy{flex:1;min-width:0}.notification-preference-copy strong{display:block;font-size:.84rem;line-height:1.45;font-weight:800;overflow-wrap:anywhere}.notification-preference-copy small{display:block;margin-top:4px;color:var(--muted);font-size:.74rem;line-height:1.45;overflow-wrap:anywhere}
.notification-preference-control{position:relative;flex:0 0 52px;display:grid;justify-items:center;gap:4px;padding:6px 0;min-height:44px}
.notification-preference-control input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer;z-index:1}
.notification-preference-track{position:relative;width:48px;height:28px;border:1px solid #8b9990;border-radius:20px;background:#dce3de;transition:background .15s ease}
.notification-preference-track::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #10231b33;transition:transform .15s ease}
.notification-preference-control input:checked+.notification-preference-track{background:#355b42;border-color:#355b42}.notification-preference-control input:checked+.notification-preference-track::after{transform:translateX(20px)}
.notification-preference-control input:focus-visible+.notification-preference-track{outline:2px solid #536e32;outline-offset:4px}.notification-preference-control input:disabled{cursor:wait}.notification-preference-control input:disabled+.notification-preference-track{opacity:.65}
.notification-preference-value{font-size:.65rem;color:#53675b;font-weight:700;line-height:1}
.notification-preferences-note{margin:3px 0 5px;padding:13px 14px;border-radius:12px;background:#f0f4ee;color:#526759;font-size:.74rem;line-height:1.6}
.notification-preferences-footer{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:84px;padding:15px 28px max(15px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
.notification-preferences-status{flex:1;min-width:0;margin:0;color:var(--muted);font-size:.76rem;line-height:1.5;overflow-wrap:anywhere}.notification-preferences-status[data-error=true]{color:#913e38}.notification-preferences-footer button{min-height:44px;flex-shrink:0}.notification-preferences-footer .primary-action{padding:0 22px}
@media(max-width:560px){.profile-notification-preferences{min-height:70px;padding:13px 15px}.notification-preferences-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:19px}.notification-preferences-modal{max-height:calc(100dvh - 20px)}.notification-preferences-header{padding:24px 20px 17px}.notification-preferences-header h2{font-size:1.45rem;margin-right:28px}.notification-preferences-content{padding:3px 20px 12px}.notification-preference-row{gap:13px}.notification-preferences-footer{padding-left:20px;padding-right:20px;gap:10px;flex-wrap:wrap}.notification-preferences-status{flex-basis:calc(100% - 95px)}.notification-preferences-footer .quiet-button{order:3;padding:0;text-align:left}.notification-preference-copy strong{font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.notification-preference-track,.notification-preference-track::after{transition:none}}
