.group-install-entry{display:flex;justify-content:flex-end;margin:-8px 0 18px}
.st-install-ready #groupInstallOpen{display:inline-flex;align-items:center;gap:8px;font-size:13px;min-height:44px;background:var(--sc-surface,#fffdf8);color:var(--sc-text,#23372e);border-color:var(--sc-border,#d4e0d9)}
.st-install-ready #groupInstallDialog{box-sizing:border-box;width:min(460px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid var(--sc-border,#d4e0d9);border-radius:20px;background:var(--sc-surface,#fffdf8);color:var(--sc-text,#23372e);box-shadow:0 20px 65px #122d2633;overflow:auto;overscroll-behavior:contain}
#groupInstallDialog::backdrop{background:#0a1f2066}
#groupInstallDialog .group-install-heading{display:flex;align-items:center;gap:12px;padding-inline-end:42px}
#groupInstallDialog .group-install-heading img{width:44px;height:44px;border-radius:10px}
#groupInstallDialog h2{font:600 25px/1.2 'Playfair Display',Georgia,serif;margin:0;letter-spacing:-.4px}
#groupInstallDialog p{font-size:14px;line-height:1.65;margin:16px 0;color:inherit}
.st-install-ready #groupInstallClose{position:absolute;inset-block-start:14px;inset-inline-end:14px;display:grid;place-items:center;min-height:44px;min-width:44px;padding:8px;border:0;background:transparent;color:inherit;font-size:24px}
#groupInstallDialog .group-install-tabs{display:flex;gap:6px;padding:5px;border-radius:12px;background:var(--sc-bg,#eef4ef);margin:20px 0 16px}
.st-install-ready #groupInstallDialog [role=tab]{flex:1;min-width:0;min-height:44px;padding:8px 6px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;font-size:13px}
.st-install-ready #groupInstallDialog [role=tab][aria-selected=true]{background:var(--sc-surface,#fffdf8);border-color:var(--sc-border,#d4e0d9);font-weight:750}
#groupInstallDialog [role=tabpanel]{padding:0 2px;min-height:104px}
#groupInstallDialog .group-install-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
#groupInstallDialog .group-install-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--sc-border,#d4e0d9);border-radius:9px;color:inherit;text-decoration:none;font-size:14px;font-weight:650}
.st-install-ready #groupInstallNative{background:#b2e8d2;color:#173e30;border-color:#a5dec5}
html[data-theme=dark] #groupInstallDialog{background:#182a26;color:#e6f2ed;border-color:#3f5c50}
html[data-theme=dark] #groupInstallDialog .group-install-tabs{background:#10211c}
html[data-theme=dark] #groupInstallDialog [role=tab][aria-selected=true]{background:#2a4438;border-color:#557363}
html[data-theme=dark] #groupInstallOpen{background:#182a26;color:#e6f2ed;border-color:#3f5c50}
@media(max-width:380px){.st-install-ready #groupInstallDialog{padding:21px 17px}#groupInstallDialog h2{font-size:22px}#groupInstallDialog .group-install-heading{gap:9px}}

.st-install-ready #groupInstallDialog [hidden]{display:none!important}
#groupInstallDialog [data-st-install-mark]{display:flex;flex:0 0 44px;align-items:center;justify-content:center}
#groupInstallDialog [data-st-install-mark] .st-brand-mark{width:44px!important;height:44px!important;flex-basis:44px!important}

/* Compact install entry; installed app windows never show installation controls. */
.st-install-ready .group-install-entry[hidden],.st-install-ready #groupInstallOpen[hidden]{display:none!important}
.st-install-ready .group-install-entry{margin:0;flex:0 0 auto}
.st-install-ready #groupInstallOpen{width:auto!important;max-width:100%;white-space:nowrap;min-height:44px;padding:8px 12px;border-radius:10px}
@media(display-mode:standalone){.group-install-entry{display:none!important}}
