#pda-overlay{position:fixed;inset:0;z-index:99990;background:#12264c30;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}#pda-window{position:fixed;z-index:99992;right:26px;bottom:26px;width:390px;height:min(650px,calc(100svh - 90px));border:1px solid #ffffffb3;border-radius:21px;box-shadow:0 18px 70px #12264b40;background:#f5f9f0eb;backdrop-filter:blur(20px);overflow:hidden;transition:width .22s ease,height .22s ease,border-radius .22s ease}#pda-window iframe{width:100%;height:100%;border:0;display:block;background:transparent}#pda-window.pda-expanded{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 64px));height:min(820px,calc(100svh - 64px));border-radius:24px}#pda-launch{position:fixed;z-index:99991;right:26px;bottom:26px;display:flex;align-items:center;gap:16px;padding:15px 21px;background:#f6faefed;color:#234460;border:1px solid #fff;border-radius:17px;box-shadow:0 8px 40px #12294b35;backdrop-filter:blur(18px);font:300 17px Exo,Arial,sans-serif;text-align:left;cursor:pointer}#pda-launch small{display:block;font-size:10px;margin-top:3px;color:#607781}#pda-launch>span:last-child{font-size:23px;color:#008dcb}#pda-launch .pda-spark{font-size:29px;color:#008dcb}#pda-test-badge{position:fixed;z-index:1001;top:14px;left:50%;transform:translateX(-50%);pointer-events:none;padding:5px 13px;border-radius:30px;background:#f7fbefdb;color:#244b6a;font:400 8px Exo,Arial,sans-serif;letter-spacing:1.4px;white-space:nowrap}#pda-test-badge span{margin-left:10px;letter-spacing:0;font-size:10px}#pda-window[hidden],#pda-launch[hidden],#pda-overlay[hidden]{display:none!important}body.pda-modal{overflow:hidden!important}@media(max-width:600px){#pda-window,#pda-window.pda-expanded{inset:10px;transform:none;width:auto;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:18px}#pda-launch{right:14px;bottom:max(18px,env(safe-area-inset-bottom));padding:12px 16px;font-size:15px;gap:12px}#pda-test-badge{top:8px;font-size:7px}#pda-test-badge span{display:none}}@media(prefers-reduced-motion:reduce){#pda-window{transition:none}}
@media(max-width:600px){#pda-window,#pda-window.pda-expanded{top:calc(var(--pda-top,0px) + 10px);bottom:auto;height:calc(var(--pda-height,100dvh) - 20px);max-height:calc(var(--pda-height,100dvh) - 20px)}}
@media(min-width:601px){#pda-window:not(.pda-expanded){right:var(--pda-safe-right,26px);bottom:var(--pda-safe-bottom,26px);height:min(650px,calc(100svh - var(--pda-safe-top,26px) - var(--pda-safe-bottom,26px)))}#pda-launch{right:var(--pda-safe-right,26px);bottom:var(--pda-safe-bottom,26px)}}

/* Avatar dock: upper silhouette stays transparent, shoulders end in a circular arc. */
#pda-dock{position:fixed;z-index:99991;right:var(--pda-safe-right,26px);bottom:var(--pda-safe-bottom,26px);display:flex;align-items:flex-end;gap:9px;isolation:isolate}#pda-dock[hidden]{display:none!important}
#pda-dock #pda-launch{position:relative;inset:auto;display:block;padding:0;width:80px;height:99px;background:none;border:0;box-shadow:none;border-radius:0;backdrop-filter:none;flex:none}
.pda-avatar{position:absolute;inset:0;overflow:hidden;border-radius:0 0 50% 50% / 0 0 40px 40px;filter:drop-shadow(0 4px 7px #163b4738)}.pda-avatar::before{content:'';position:absolute;left:0;bottom:0;width:80px;height:80px;border-radius:50%;background:linear-gradient(145deg,#f7faf2f5,#cde5deed);border:1px solid #ffffffc9;box-sizing:border-box}.pda-avatar img{position:absolute;left:-8px;top:-2px;width:96px;height:96px;max-width:none;object-fit:contain;display:block}
#pda-invite{position:relative;margin:0 0 8px;padding:11px 35px 11px 17px;border:1px solid #ffffffd9;border-radius:13px 13px 3px 13px;background:#f5faefef;backdrop-filter:blur(15px);box-shadow:0 6px 24px #163b472b;color:#244655;text-align:left;font:400 15px/1.35 Exo,Arial,sans-serif;cursor:pointer}#pda-invite small{display:block;margin-top:3px;font-size:11px;font-weight:300;color:#537b80}#pda-dismiss{position:absolute;right:94px;bottom:47px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#638082;font:300 21px/1 Arial,sans-serif;cursor:pointer}#pda-dismiss:hover{background:#d5e7e2}#pda-dock.pda-compact #pda-invite,#pda-dock.pda-compact #pda-dismiss{display:none}#pda-dock.pda-compact #pda-launch{width:62px;height:76px}#pda-dock.pda-compact .pda-avatar{border-bottom-left-radius:31px;border-bottom-right-radius:31px}#pda-dock.pda-compact .pda-avatar::before{width:62px;height:62px}#pda-dock.pda-compact .pda-avatar img{width:75px;height:75px;left:-6px;top:-1px}
@media(min-width:601px){#pda-window:not(.pda-expanded){width:420px}#pda-window.pda-expanded{width:min(820px,calc(100vw - 64px))}}
@media(max-width:600px){#pda-dock{right:14px;bottom:max(16px,env(safe-area-inset-bottom))}#pda-dock #pda-launch{width:68px;height:85px}.pda-avatar{border-bottom-left-radius:34px;border-bottom-right-radius:34px}.pda-avatar::before{width:68px;height:68px}.pda-avatar img{width:83px;height:83px;left:-7px;top:-1px}#pda-invite{padding:10px 32px 10px 14px;font-size:14px;margin-bottom:6px}#pda-dismiss{right:81px;bottom:42px}#pda-dock.pda-compact #pda-launch{width:54px;height:67px}#pda-dock.pda-compact .pda-avatar{border-bottom-left-radius:27px;border-bottom-right-radius:27px}#pda-dock.pda-compact .pda-avatar::before{width:54px;height:54px}#pda-dock.pda-compact .pda-avatar img{width:65px;height:65px;left:-5px}}

/* Seat the bitmap against the lower circular edge; compact badge explains the action. */
#pda-dock .pda-avatar img{top:5px}#pda-dock.pda-compact .pda-avatar img{top:3px}.pda-chat-badge{display:none;position:absolute;right:-4px;bottom:1px;width:23px;height:23px;align-items:center;justify-content:center;color:#fff;background:#078fb9;border:2px solid #f3f8ef;border-radius:50%;box-shadow:0 2px 7px #214b5433;box-sizing:border-box}#pda-dock.pda-compact .pda-chat-badge{display:flex}.pda-chat-badge svg{display:block}
@media(max-width:600px){#pda-dock .pda-avatar img{top:4px}#pda-dock.pda-compact .pda-avatar img{top:4px}.pda-chat-badge{width:21px;height:21px;right:-4px;bottom:0}}

#pda-dock.pda-compact .pda-chat-badge{width:28px;height:27px;right:-7px;bottom:0;background:none;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 2px 3px #1b333c40)}.pda-chat-badge svg{width:100%;height:100%}@media(max-width:600px){#pda-dock.pda-compact .pda-chat-badge{width:25px;height:24px;right:-6px;bottom:0}}

#pda-dock.pda-compact .pda-chat-badge{top:0;bottom:auto;right:-8px}@media(max-width:600px){#pda-dock.pda-compact .pda-chat-badge{top:-1px;bottom:auto;right:-7px}}
