/* Remote explicit package/draft decision, separate from project recovery. */
#gsPackageSelectionDialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid #567f76;border-radius:12px;background:var(--ts-surface,#0b272d);color:var(--ts-text,#e1f1eb);font:14px/1.55 system-ui,sans-serif}
#gsPackageSelectionDialog::backdrop{background:rgba(0,0,0,.68)}
#gsPackageSelectionDialog #gsPackageSelectionTitle{display:block;font-size:20px;line-height:1.3}
#gsPackageSelectionDialog p{overflow-wrap:anywhere;color:var(--ts-muted,#b9d4ca)}
#gsPackageSelectionDialog button{font:600 14px/1.4 system-ui;padding:12px;margin:5px 8px 0 0;max-width:100%;border:1px solid #567f76;border-radius:7px;background:#163b40;color:#e0f2ec;cursor:pointer}
#gsPackageSelectionDialog button:disabled{opacity:.65;cursor:wait}
#gsPackageSelectionDialog :focus-visible{outline:3px solid #ffe29c;outline-offset:2px}
#gsPackageSelectionDialog[data-fallback]{display:block;position:fixed;inset:12px;margin:auto;z-index:2147483647;height:fit-content;box-shadow:0 0 0 100vmax rgba(0,0,0,.68)}

/* Optional processing recovery; no project management panel. */
#tsRecoverProcessing{margin-top:8px;max-width:100%}
#tsProcessingRecoveryDialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid #567f76;border-radius:12px;background:var(--ts-surface,#0b272d);color:var(--ts-text,#e1f1eb);font:14px/1.5 system-ui,sans-serif}
#tsProcessingRecoveryDialog::backdrop{background:rgba(0,0,0,.68)}
#tsProcessingRecoveryDialog h2{font-size:20px;margin:0 0 10px}
#tsProcessingRecoveryDialog p,#tsWorkNotice{overflow-wrap:anywhere}
#tsProcessingRecoveryDialog section{border-top:1px solid #567f76;margin-top:12px;padding-top:8px}
#tsProcessingRecoveryDialog button{font:600 14px/1.4 system-ui;min-height:44px;padding:10px 14px;border:1px solid #567f76;border-radius:7px;background:#163b40;color:#e0f2ec;cursor:pointer}
#tsProcessingRecoveryDialog :focus-visible{outline:3px solid #ffe29c;outline-offset:2px}
