/* Attached, self-sizing holder: every wrapped row remains inside its frame. */
body .page-heading>.header-nav,body:has(#notes-app) .page-heading>.header-nav{display:flex!important;flex-wrap:wrap!important;box-sizing:border-box!important;align-items:center!important;gap:8px!important;margin:-20px 12px 0!important;padding:10px!important;width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;height:auto!important;overflow:visible!important;border:1px solid #c8dddd!important;border-radius:18px!important;background:linear-gradient(180deg,#fbfefe 0%,#edf6f5 48%,#e4efee 100%)!important;box-shadow:inset 0 1px 0 #fff,0 5px 14px #133e4714!important}
body .page-heading>.header-nav>:is(a,button){flex:0 1 auto!important;min-width:0!important;max-width:100%!important;min-height:38px!important;height:auto!important;padding:9px 18px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important;text-align:center;background:linear-gradient(180deg,#ffffff 0%,#f5fafa 46%,#e3eeee 51%,#f1f7f7 100%)!important;box-shadow:inset 0 1px 1px #fff,0 2px 5px #163e4715!important}
body .page-heading>.header-nav>:is(a.active,button.active,[aria-current="page"],[aria-pressed="true"]){background:linear-gradient(180deg,#fff096 0%,#ffe45c 44%,#ffd21e 49%,#ffdc37 100%)!important;border-color:#e2bc26!important;color:#182625!important;box-shadow:inset 0 1px 1px #fff7bf,0 2px 6px #ad8d2425!important}
body .page-heading>.header-nav>:is(a,button):focus-visible{outline:3px solid #087775;outline-offset:2px}
body .desktop-sticky{background:linear-gradient(145deg,#ffffff,var(--sticky-bg) 58%)!important;box-shadow:inset 0 1px 0 #fff,0 8px 24px #16485422!important}
body .desktop-sticky .sticky-handle{background:linear-gradient(180deg,#ffffffd9,var(--sticky-head))!important;border-bottom:1px solid var(--sticky-line)}
body .desktop-sticky footer{background:linear-gradient(180deg,#ffffff80,var(--sticky-bg))!important}
body .chat-dock{background:linear-gradient(145deg,#fff,#edf8f6)!important;border:1px solid #bedbd7!important;box-shadow:inset 0 1px 0 #fff,0 10px 30px #123d4829!important}
body .chat-dock-head{background:linear-gradient(180deg,#faffff,#d9eeeb)!important;color:#173f48!important;border-bottom:1px solid #c2ddd8}
body .chat-dock .messages{background:linear-gradient(160deg,#fff,#f0f8f7)!important}
body .chat-dock .message{background:linear-gradient(160deg,#fff,#e9f1f3)!important;box-shadow:inset 0 1px 0 #fff,0 2px 4px #143b450a}
body .chat-dock .message.mine{background:linear-gradient(160deg,#f2fffb,#d8eee7)!important}
body :is(.sticky-toggle,.floating-chat-launcher){background:linear-gradient(155deg,#ffffff 0%,#f0fcf9 43%,#cbe8e1 53%,#e4f5ef 100%)!important;color:#1c5558!important;border:1px solid #a9cfc5!important;text-shadow:none!important;box-shadow:inset 0 2px 1px #fff,0 4px 12px #16485425;animation:r20-breathe 3.6s ease-in-out infinite!important;transform:none!important}
@keyframes r20-breathe{0%,100%{box-shadow:inset 0 2px 1px #fff,0 4px 12px #16485425,0 0 0 0 #6bb7a642}50%{box-shadow:inset 0 2px 1px #fff,0 5px 16px #16485430,0 0 0 7px #6bb7a600}}
body :is(.sticky-toggle,.floating-chat-launcher):is(:hover,:focus-visible,:active),body .floating-chat-launcher[aria-expanded="true"],body .sticky-tray:has(.sticky-menu:not([hidden])) .sticky-toggle{animation-play-state:paused!important}
@media(max-width:650px){body .page-heading>.header-nav,body:has(#notes-app) .page-heading>.header-nav{margin:-16px 6px 0!important;width:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important;padding:8px!important;gap:6px!important;border-radius:14px!important}body .page-heading>.header-nav>:is(a,button){padding:8px 12px!important;min-height:36px!important;font-size:12px!important}}
@media(prefers-reduced-motion:reduce){body :is(.sticky-toggle,.floating-chat-launcher){animation:none!important}}
body .chat-dock .dock-conversations button{background:linear-gradient(180deg,#fff,#e6f3ef)!important;color:#173f48!important;text-shadow:none!important;border:1px solid #c5dcd5!important;box-shadow:inset 0 1px 0 #fff,0 2px 5px #163e4712!important}
/* Remove the full-width backing strip, retaining the wrapping layout. */
body .page-heading>.header-nav,body:has(#notes-app) .page-heading>.header-nav{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
/* Keep the launchers opaque and visible throughout each breathing cycle. */
body :is(.sticky-toggle,.floating-chat-launcher){background:linear-gradient(155deg,#f0fff9 0%,#b5e5d5 42%,#69bda8 54%,#a0dcc9 100%)!important;color:#104b4b!important;border:1px solid #448f80!important;opacity:1!important;animation:r20-breathe-strong 3.2s ease-in-out infinite!important}
@keyframes r20-breathe-strong{0%,100%{box-shadow:inset 0 2px 1px #ffffffd9,0 4px 12px #16485440,0 0 0 3px #31977c40}50%{box-shadow:inset 0 2px 1px #fff,0 6px 20px #16485455,0 0 0 9px #31977c66}}
@media(prefers-reduced-motion:reduce){body :is(.sticky-toggle,.floating-chat-launcher){animation:none!important;box-shadow:inset 0 2px 1px #fff,0 4px 12px #16485440,0 0 0 3px #31977c40!important}}
