.pwa-profile-entry{padding:0 20px 14px}.pwa-profile-entry>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 14px;border:1px solid #d9e2f4;border-radius:9px;background:#f5f8ff;color:#254293;text-align:left;font-weight:650}
.pwa-count{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:21px;height:21px;padding:0 5px;box-sizing:border-box;border-radius:20px;background:#cc2343;color:#fff;font-size:11px;font-weight:750;line-height:1}
.pwa-count[hidden],.pwa-install-banner[hidden]{display:none!important}
.pwa-inbox-button{position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;padding:10px!important;border:1px solid #d7e0f0;border-radius:8px;background:#fff;color:#304bc2}.pwa-inbox-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pwa-inbox-button .pwa-count{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;font-size:10px}
.pwa-install-banner{display:grid;grid-template-columns:40px minmax(0,1fr) 44px;gap:8px 12px;align-items:start;margin:0 0 14px;padding:14px;border:1px solid #ccd9fb;border-radius:12px;background:linear-gradient(120deg,#f0f5ff,#fff);color:#1e3154;box-sizing:border-box}.pwa-install-banner>img{width:40px;height:40px;border-radius:10px}.pwa-install-banner h2{margin:0 0 3px;font-size:15px;line-height:1.5}.pwa-install-banner p{margin:0;font-size:12px;line-height:1.6;color:#52647f}.pwa-banner-action{grid-column:2/-1;min-height:44px!important;padding:9px 14px!important;border:1px solid #3355df!important;border-radius:8px!important;background:#3355df!important;color:#fff!important;font-size:14px!important;font-weight:650}.pwa-banner-dismiss{min-width:44px;min-height:44px;display:grid;place-items:center;padding:10px;border:0;border-radius:8px;background:transparent;color:#52647f}.pwa-banner-dismiss svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
#loginView .pwa-install-banner{width:min(390px,calc(100vw - 32px));margin:0 auto 16px}#loginView:has(>.pwa-install-banner:not([hidden])){display:flex;flex-direction:column;align-items:center;justify-content:center;padding-block:24px;min-height:100dvh;height:auto}
#pwaDialog{width:min(540px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(90dvh,850px);height:auto;padding:0;border:1px solid #d9e3f3;border-radius:17px;background:#f7f9fd;color:#1d2d49;box-shadow:0 25px 90px #14264d40;overflow:hidden;box-sizing:border-box}
#pwaDialog[open]{display:flex;flex-direction:column}#pwaDialog::backdrop{background:#0c1c3d80;backdrop-filter:blur(3px)}
.pwa-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:17px 18px;border-bottom:1px solid #e1e8f3;background:#fff}.pwa-dialog-header>div{min-width:0}.pwa-eyebrow{color:#516590;font-size:11px;font-weight:650;letter-spacing:1px}.pwa-dialog-header h2{margin:4px 0 0;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.pwa-icon-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #d6dfed;border-radius:9px;background:#fff;color:#3c4d68}.pwa-icon-button svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
.pwa-dialog-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:grid;gap:14px}.pwa-section{padding:16px;border:1px solid #dce4f2;border-radius:11px;background:#fff}.pwa-section-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.pwa-section h3,.pwa-unread-panel h3{margin:0;font-size:15px;font-weight:750;line-height:1.5}.pwa-section p{margin:9px 0 12px;color:#52627b;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.pwa-state{padding:3px 8px;border-radius:6px;background:#edf1f7;color:#52627b;font-size:11px;font-weight:650}.pwa-state.is-active{background:#e1f5ee;color:#166449}.pwa-steps{margin:10px 0 14px;padding-left:22px;color:#344761;font-size:13px;line-height:1.8}.pwa-steps:empty{display:none}.pwa-steps li+li{margin-top:5px}
#pwaDialog button{min-height:44px;border-radius:8px;font-size:13px;line-height:1.5;padding:10px 14px;font-weight:650}#pwaDialog .pwa-primary{width:100%;border:1px solid #3355df;background:#3355df;color:#fff}#pwaDialog .pwa-primary:hover,.pwa-banner-action:hover{background:#2948c5!important;border-color:#2948c5!important}#pwaDialog button:disabled{opacity:.6;cursor:wait}#pwaDialog button[hidden]{display:none!important}
.pwa-sound-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;margin-top:14px;padding:10px 0;border-top:1px solid #e4eaf4;cursor:pointer}.pwa-sound-row>span{display:grid;gap:4px;min-width:0}.pwa-sound-row b{font-size:14px}.pwa-sound-row small{color:#52627b;font-size:12px;line-height:1.6}.pwa-sound-row input{flex-shrink:0;width:22px;height:22px;margin:0 2px 0 0;accent-color:#3355df}.pwa-section .pwa-footnote{margin:0;color:#5c6c84;font-size:12px}.pwa-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pwa-secondary-actions:has(button:not([hidden])){padding-top:2px}.pwa-secondary-actions button{flex:1;min-width:130px;border:1px solid #d7e0ee;background:#fff;color:#3b4d6a}
.pwa-unread-panel{padding:16px;border:1px solid #d6e1fa;border-radius:11px;background:#edf3ff}.pwa-unread-panel>div{display:flex;align-items:center;gap:14px}.pwa-unread-number{flex-shrink:0;min-width:34px;color:#304bc2;font-size:30px;font-weight:750;line-height:1.2}.pwa-unread-panel p{margin:4px 0 0;color:#52627b;font-size:12px;line-height:1.6}.pwa-unread-panel button{width:100%;margin-top:14px;border:1px solid #bdccef;background:#fff;color:#2946ad}.pwa-message{margin:0;padding:12px;border:1px solid #e8ced1;border-radius:9px;background:#fff3f4;color:#9b2940;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.pwa-message[hidden]{display:none}
.pwa-dialog-footer{flex-shrink:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dce4f1;background:#fff}.pwa-dialog-footer button{width:100%;border:1px solid #d4deed;background:#f7f9fc;color:#344761}
.pwa-message[data-kind=success]{border-color:#b9ded0;background:#edf9f2;color:#176044}
:is(#pwaDialog,.pwa-install-banner,.pwa-profile-entry) :is(button,input):focus-visible,.pwa-inbox-button:focus-visible{outline:2px solid #3355df!important;outline-offset:3px!important}
@media(max-width:900px){html.mobile-order-reader #ordersPage #mobileReaderSearch{grid-template-columns:minmax(0,1fr) 44px 64px 44px!important}.pwa-profile-entry{padding-inline:16px}#pwaDialog{max-height:92dvh}.pwa-dialog-header{padding:14px}.pwa-dialog-header h2{font-size:18px}.pwa-dialog-content{padding:12px;gap:12px}.pwa-section,.pwa-unread-panel{padding:14px}}
@media(prefers-reduced-motion:reduce){#pwaDialog *,.pwa-install-banner *{scroll-behavior:auto!important;transition:none!important}}
