/* Independent offline presentation widget. Copyright 2026 Utrend AB. GPL-2.0-or-later. */
.bpb{--bpb-ink:#19353d;--bpb-muted:#62727b;--bpb-line:#e0e7eb;--bpb-accent:#d33e4d;--bpb-navy:#152f39;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--bpb-ink);font-size:14px;line-height:1.5;position:relative;z-index:99990}
.bpb *,.bpb *::before,.bpb *::after{box-sizing:border-box}.bpb [hidden]{display:none!important}.bpb :is(button,textarea,a){font:inherit}.bpb button{cursor:pointer;box-shadow:none;line-height:1.2}.bpb button:disabled{cursor:not-allowed}.bpb :is(button,a):focus-visible{outline:3px solid #2f82b9;outline-offset:4px}.bpb svg{display:block}.bpb .bpb-launch{position:fixed;inset:auto max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) auto;display:grid;place-items:center;width:58px;height:58px;border:0;border-radius:20px;background:var(--bpb-navy);color:white;box-shadow:0 10px 28px rgb(13 37 49 / 24%);padding:15px;transition:background .16s ease,transform .16s ease;z-index:99990}.bpb .bpb-launch:hover{background:#254853;transform:translateY(-2px)}.bpb-launch svg{width:28px;height:28px}.bpb-launch-status{position:absolute;inset:3px 3px auto auto;width:11px;height:11px;background:#b8c3ca;border:2px solid white;border-radius:50%}
.bpb .bpb-dialog{position:fixed;inset:auto max(22px,env(safe-area-inset-right)) calc(max(22px,env(safe-area-inset-bottom)) + 74px) auto;margin:0;padding:0;width:370px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);border:1px solid #dde5e9;border-radius:24px;background:#fff;color:var(--bpb-ink);box-shadow:0 26px 80px rgb(13 37 49 / 24%);overflow:auto;text-align:start}.bpb .bpb-dialog:not([open]){display:none}.bpb-dialog::backdrop{background:rgb(12 28 35 / 24%)}
.bpb-header{display:flex;align-items:center;gap:12px;padding:22px 22px 20px;background:var(--bpb-navy);color:white;min-height:98px}.bpb-avatar{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;background:#fff1f0;border:1px solid rgb(255 255 255 / 30%);border-radius:15px;color:var(--bpb-accent);font-size:26px;font-weight:750;line-height:1}.bpb-identity{min-width:0;flex:1}.bpb .bpb-identity h2{font-family:inherit;font-size:18px;font-weight:650;letter-spacing:-.3px;line-height:1.3;margin:0;color:white}.bpb .bpb-identity p{margin:5px 0 0;font-size:11px;line-height:1.4;color:#c7d5dc;display:flex;align-items:center;gap:6px}.bpb-status-dot{width:6px;height:6px;border-radius:50%;background:#b5c5cd}.bpb .bpb-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:8px;border:1px solid #4b626b;border-radius:11px;background:transparent;color:#fff}.bpb .bpb-close:hover{background:#2c4752}.bpb-close svg{width:20px;height:20px}
.bpb-body{padding:30px 25px 32px;text-align:center;background:radial-gradient(ellipse at 50% 10%,#f1f6f8 0,white 70%)}.bpb-offline-mark{display:grid;place-items:center;margin:0 auto 20px;width:60px;height:60px;border-radius:20px;border:1px solid #dfe7eb;background:white;color:#7c909a;box-shadow:0 5px 15px rgb(35 65 78 / 4%)}.bpb-offline-mark svg{width:30px;height:30px}.bpb-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.2px;color:var(--bpb-muted);overflow-wrap:anywhere}.bpb .bpb-message{font:650 21px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;letter-spacing:-.2px;color:var(--bpb-ink);margin:12px 0 10px;overflow-wrap:anywhere}.bpb .bpb-note{font-size:12px;line-height:1.6;color:var(--bpb-muted);margin:0;overflow-wrap:anywhere}
.bpb-composer{display:flex;align-items:center;gap:10px;margin:0 18px;padding:8px 8px 8px 14px;border:1px solid var(--bpb-line);border-radius:14px;background:#f7f9fa}.bpb .bpb-composer textarea{flex:1;min-width:0;width:100%;min-height:26px;max-height:26px;resize:none;border:0;background:transparent;box-shadow:none;outline:none;padding:4px 0;margin:0;color:#6a7881;font-size:12px;line-height:18px;opacity:1;-webkit-text-fill-color:#6a7881}.bpb-composer textarea::placeholder{color:#6a7881;opacity:1}.bpb .bpb-send{flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;padding:8px;border:0;border-radius:10px;background:#e7ecef;color:#8f9ca4}.bpb-send svg{width:18px;height:18px}.bpb .bpb-footer{background:white;text-align:center;padding:14px 16px 18px;color:#5d6d76;font-size:10px;line-height:1.5}.bpb .bpb-footer a{color:#5d6d76;text-decoration:none;font-size:10px}.bpb .bpb-footer a:hover{text-decoration:underline}.bpb-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.bpb .bpb-launch{inset-inline-end:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px;border-radius:19px}.bpb .bpb-dialog{right:16px;left:16px;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 72px);width:auto;max-width:none;max-height:calc(100dvh - 108px);border-radius:21px}.bpb-header{padding:20px}.bpb-body{padding:26px 22px}.bpb .bpb-message{font-size:20px}}
@media(max-height:500px){.bpb .bpb-dialog{top:12px;bottom:12px;max-height:calc(100dvh - 24px)}.bpb-body{padding:18px}.bpb-offline-mark{display:none}}
@media(prefers-reduced-motion:reduce){.bpb *{transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){.bpb :is(.bpb-dialog,.bpb-launch,.bpb-close,.bpb-avatar,.bpb-composer){border:1px solid CanvasText}.bpb-launch-status,.bpb-status-dot{border:1px solid CanvasText}}
