.header-personal-actions{position:relative;display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
.header-personal-actions .my-bookstore-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border:1px solid currentColor;border-radius:999px;text-decoration:none;white-space:nowrap;font-size:.85rem}
.header-personal-actions .my-bookstore-link[hidden]{display:none!important}
.header-personal-actions .account-open{margin:0;min-height:44px;white-space:nowrap}
.notification-open{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #b8b2a5;border-radius:50%;background:#fffdf8;color:#243735;cursor:pointer;touch-action:manipulation}
.notification-open[hidden],.notification-badge[hidden],.notification-inbox[hidden]{display:none!important}
.notification-open svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{position:absolute;top:-4px;right:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#a74232;color:#fff;font:700 11px/18px system-ui,sans-serif;text-align:center}
.notification-inbox{position:absolute;z-index:50;top:calc(100% + 8px);right:0;box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:min(70vh,580px);overflow:auto;margin:0;padding:16px;background:#fffdf8;border:1px solid #b9b4a7;border-radius:12px;box-shadow:0 14px 36px #262c2440;color:#252525;text-align:left;white-space:normal}
.notification-inbox h2{margin:0 52px 12px 0;font-size:1.25rem}
.notification-inbox h3{font-size:1rem;margin:20px 0 8px}
.notification-close{position:absolute;top:8px;right:8px;min-width:44px;min-height:44px;border:0;background:transparent;color:#243735;cursor:pointer}
.notification-open:focus-visible,.notification-inbox button:focus-visible,.notification-inbox a:focus-visible{outline:3px solid #346e5a;outline-offset:2px}
.notification-item{padding:12px 0;border-top:1px solid #d6d3cb;overflow-wrap:anywhere}
.notification-item p{margin:0 0 4px}
.notification-item small{display:block;margin-bottom:8px}
.notification-item button,.notification-item a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;margin-right:8px}
.notification-preferences{display:grid;grid-template-columns:1fr;gap:8px}
.notification-preferences label{display:flex;gap:12px;align-items:center;min-height:44px;cursor:pointer}
.notification-preferences input{width:20px;height:20px}
@media(max-width:700px){.site-header{flex-wrap:wrap}.site-header .header-personal-actions{margin-left:auto}.site-header .install-button{margin-left:0}.notification-inbox{max-height:min(70dvh,580px)}}
