.bench-pwa-dialog{width:min(440px,calc(100vw - 48px));box-sizing:border-box;padding:24px;border:1px solid #ddd;border-radius:20px;background:var(--bench-pwa-surface,#fff);color:var(--bench-pwa-text,#171719);font:16px/1.5 "PragmaticaWebMedium",Arial,sans-serif}
.bench-pwa-dialog::backdrop{background:rgba(0,0,0,.45)}
.bench-pwa-dialog h2{margin:0 0 12px;font-size:24px}.bench-pwa-dialog p{margin:0 0 20px}
.bench-pwa-dialog button{font:inherit;padding:10px 16px;border:0;border-radius:10px;background:#242428;color:#fff;cursor:pointer}
button.bench-header-account-menu__item{width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}
html[data-bench-theme="dark"] .bench-pwa-dialog{--bench-pwa-surface:#242428;--bench-pwa-text:#f5f5f7}
.bench-header-account-menu__item[hidden]{display:none!important}
/* The startup layer is mounted before the header and owns the entire viewport. */
body > #pwa-loader{display:none!important}
html.bench-pwa-booting body{opacity:1!important;overflow:hidden!important}
html.bench-pwa-booting body > :not(#pwa-loader){visibility:hidden!important}
html.bench-pwa-booting #pwa-loader{display:flex!important;position:fixed;inset:0;width:100%;height:100%;z-index:2147483647;flex-direction:column;gap:18px;background:#fff;color:#171719;isolation:isolate}
.bench-pwa-loader-logo{display:block;width:180px;height:32px;animation:mascotIdle 4.2s ease-in-out infinite}
.bench-pwa-loader-logo img{display:block;width:100%;height:100%;object-fit:contain}
.bench-pwa-loader-logo .bench-pwa-loader-logo__dark{display:none}
.bench-pwa-loader-label{font:14px/1.5 "PragmaticaWebMedium",Arial,sans-serif;color:#777}
html[data-bench-theme="dark"].bench-pwa-booting #pwa-loader{background:#171719;color:#f5f5f7}
html[data-bench-theme="dark"] .bench-pwa-loader-logo__light{display:none}
html[data-bench-theme="dark"] .bench-pwa-loader-logo .bench-pwa-loader-logo__dark{display:block}
.bench-pwa-notice{position:fixed;right:24px;bottom:24px;z-index:10000;width:min(340px,calc(100vw - 48px));box-sizing:border-box;padding:20px;border:1px solid #ddd;border-radius:18px;background:#fff;color:#171719;box-shadow:0 8px 32px #0002;font:14px/1.5 "PragmaticaWebMedium",Arial,sans-serif}
.bench-pwa-notice strong{font-size:16px}.bench-pwa-notice p{margin:8px 0 16px}.bench-pwa-notice button{padding:9px 14px;border:0;border-radius:9px;background:#242428;color:white;font:inherit;cursor:pointer}.bench-pwa-notice [data-pwa-dismiss]{margin-left:8px;background:transparent;color:inherit}
html[data-bench-theme="dark"] .bench-pwa-notice{background:#242428;color:#f5f5f7;border-color:#444}
@media(prefers-reduced-motion:reduce){.bench-pwa-loader-logo{animation:none}}
/* Install panel and personal icon workshop. */
.bench-pwa-notice{width:min(380px,calc(100vw - 32px));padding:24px;border-radius:26px;border-color:#e7e7ec;background:linear-gradient(135deg,#fff 45%,#f1edff);box-shadow:0 16px 56px #17171920;right:20px;bottom:20px}
.bench-pwa-notice-top{display:flex;align-items:center;gap:14px;padding-right:12px}
.bench-pwa-notice-top>img{width:54px;height:54px;border-radius:15px;box-shadow:0 4px 12px #0001}
.bench-pwa-eyebrow{display:block;color:#85818f;font:400 12px/1.5 "PragmaticaWebMedium",Arial,sans-serif;letter-spacing:0;margin-bottom:5px}
.bench-pwa-notice strong{display:block;font-size:17px;line-height:1.25;letter-spacing:0}
.bench-pwa-notice p{color:#6c6975;line-height:1.5;margin:16px 0 20px}
.bench-pwa-notice-actions{display:flex;gap:8px}
.bench-pwa-notice-actions button{border-radius:12px;padding:11px 14px;font-size:13px;font-weight:600}
.bench-pwa-notice .bench-pwa-close,.bench-pwa-dialog .bench-pwa-close{position:absolute;top:12px;right:12px;width:28px;height:28px;display:grid;place-items:center;padding:0;margin:0;background:#00000008;color:#777;font-size:20px;border-radius:50%;line-height:1}
.bench-pwa-install-dialog{position:fixed;max-height:calc(100dvh - 40px);overflow:auto;width:min(480px,calc(100vw - 32px));padding:32px;border-radius:28px;box-shadow:0 24px 100px #0003;text-align:center}
.bench-pwa-install-dialog::backdrop{background:#17171977;backdrop-filter:blur(7px)}
.bench-pwa-icon-preview{width:88px;height:88px;margin:0 auto 24px;border-radius:22px;box-shadow:0 10px 30px #0002;overflow:hidden}
.bench-pwa-icon-preview img{display:block;width:100%;height:100%;object-fit:cover}
.bench-pwa-install-dialog h2{font-size:28px;line-height:1.15;letter-spacing:-.055em;margin:8px 0 14px}
.bench-pwa-install-copy{font-size:14px;color:#75717c}
.bench-pwa-dialog .bench-pwa-primary{width:100%;border-radius:13px;font-size:14px;font-weight:600;padding:13px}
.bench-pwa-dialog button:focus-visible,.bench-pwa-notice button:focus-visible{outline:3px solid #a08cfa;outline-offset:3px}
html[data-bench-theme="dark"] .bench-pwa-notice{background:linear-gradient(135deg,#242428,#312c40);border-color:#45414d}
html[data-bench-theme="dark"] .bench-pwa-notice p,html[data-bench-theme="dark"] .bench-pwa-install-copy{color:#b8b3c4}
html[data-bench-theme="dark"] .bench-pwa-close{background:#ffffff18;color:#ccc}
.bench-pwa-install-dialog{padding:26px}
.bench-pwa-icon-preview{width:72px;height:72px;border-radius:19px;margin-bottom:18px}
@media(max-height:760px){.bench-pwa-install-dialog{padding:22px}.bench-pwa-icon-preview{width:60px;height:60px;margin-bottom:12px}.bench-pwa-install-dialog h2{font-size:25px}}
.bench-pwa-notice{z-index:10030}
.bench-pwa-notice .bench-pwa-close{background:transparent;border-radius:0}
html[data-bench-theme="dark"] .bench-pwa-notice .bench-pwa-close{background:transparent}
