/* Shared English/French Install dialog; page geometry stays with its existing CSS. */
.parents-inline-link { display: inline; appearance: none; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; vertical-align: baseline; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.parents-inline-link:hover { color: #0064c9; }
button[data-early-install] { padding: 0; }
.early-access-help { color: #285f94; font-size: 12px; line-height: 1.35; text-align: center; text-underline-offset: 3px; min-height: 28px; display: flex; align-items: center; justify-content: center; }
.early-access-help[hidden] { display: none; }
.app-actions:has([data-early-install]) { position: relative; }
.app-actions > .early-access-help { position: absolute; left: 17px; right: 0; bottom: -4px; }
.detail-download-actions > .early-access-help { flex: 1 0 100%; margin-top: -5px; }
.early-access { color: var(--navy); border: 1px solid var(--border); border-radius: 22px; padding: 0; width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); box-shadow: 0 20px 70px #123b6c40; overflow: auto; overscroll-behavior: contain; background: #fff; }
.early-access::backdrop { background: #10294399; }
.early-access[data-state="send"] { width: min(560px, calc(100% - 32px)); }
.early-access[data-state="apple"] { width: min(620px, calc(100% - 32px)); }
.early-access[data-state="tester-confirmed"] { width: min(620px, calc(100% - 32px)); }
.ea-copy-field { display: flex; align-items: center; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: #f1f7fc; }
.ea-tester-url { display: block; flex: 1; min-width: 0; width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--navy); font: 14px/1.6 ui-monospace, monospace; }
.ea-tester-url:focus-visible { outline: 3px solid #126b4e; outline-offset: 3px; }
.ea-copy-button { display: grid; place-items: center; flex: 0 0 auto; min-width: 80px; min-height: 44px; padding: 10px 12px; border: 0; border-left: 1px solid var(--border); border-radius: 0 6px 6px 0; background: transparent; color: #0064c9; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ea-copy-button:hover { background: #e0edfa; }
.ea-copy-label, .ea-copy-confirmation { grid-area: 1 / 1; transition: opacity 180ms ease; }
.ea-copy-confirmation, .ea-copy-button[data-copied] .ea-copy-label { opacity: 0; }
.ea-copy-button[data-copied] .ea-copy-confirmation { opacity: 1; }
.ea-copy-error { display: block; margin-top: 10px; color: var(--copy); font-size: 14px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
    .ea-copy-label, .ea-copy-confirmation { transition: none; }
}
.ea-actions.ea-send-close { justify-content: center; margin-top: 24px; }
.early-access [hidden] { display: none !important; }
.ea-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 2; padding: 10px 18px 10px 28px; border-bottom: 1px solid var(--border); background: #f1f7fc; font-size: 13px; font-weight: 700; }
.ea-close { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 10px; background: transparent; color: var(--navy); font-size: 30px; cursor: pointer; }
.ea-close:hover { background: #e0edfa; }
.ea-body { padding: 26px 32px 30px; }
.early-access h2 { margin: 0 0 20px; color: var(--navy); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -.6px; font-weight: 900; }
.early-access h2:focus { outline: none; }
.early-access h3 { margin: 28px 0 14px; font-size: 19px; line-height: 1.4; }
.early-access p { font-size: 16px; line-height: 1.6; color: var(--copy); margin: 0 0 16px; }
.early-access .ea-question { font-size: 19px; font-weight: 700; color: var(--navy); margin-top: 24px; }
.early-access .ea-note { font-size: 14px; margin-top: 16px; }
.early-access .ea-callout { padding: 16px 18px; border-left: 3px solid #0078ef; border-radius: 0 10px 10px 0; background: #edf6ff; color: var(--navy); font-weight: 700; }
.ea-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 0; }
.ea-actions > .button { width: auto; min-height: 46px; padding: 11px 18px; white-space: normal; text-align: center; line-height: 1.4; cursor: pointer; }
.ea-actions > .button-secondary:hover { background: #edf6ff; }
.early-access[data-state="apple"] .button-secondary:hover { color: #0064c9; }
.ea-text-action { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 2px; color: #285f94; background: transparent; border: 0; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.ea-reset { margin-top: 16px; }
.early-access a:focus-visible, .early-access button:focus-visible, .early-access summary:focus-visible, .early-access-help:focus-visible { outline: 3px solid #126b4e; outline-offset: 3px; }
.ea-join-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.ea-account-visual { min-width: 0; }
.ea-account-visual .play-tutorial--modal { width: 100%; max-width: 220px; }
/* Keep the account example legible at the compact scale, using the same screen. */
.play-tutorial--modal .tutorial-account-identity { display: block; text-align: center; }
.play-tutorial--modal .tutorial-account-identity > .tutorial-avatar { margin-bottom: 2cqw; }
.play-tutorial--modal .tutorial-email { font-size: clamp(11px, 6.5cqw, 14px); }
.play-tutorial--modal .tutorial-manage { margin-left: 0; }
.ea-troubleshooting { border-top: 1px solid var(--border); }
.ea-troubleshooting details { border-bottom: 1px solid var(--border); padding: 0 2px; }
.ea-troubleshooting summary { padding: 14px 4px; min-height: 48px; font-size: 15px; line-height: 1.45; font-weight: 700; cursor: pointer; }
.ea-troubleshooting p { font-size: 14px; margin: 0 6px 14px; }
.ea-troubleshooting a { overflow-wrap: anywhere; }
.ea-troubleshooting .ea-actions { margin: 0 6px 12px; }
@media (max-width: 1399px) {
    /* Cards put Install and Learn More side by side at this breakpoint. */
    .app-actions > .early-access-help { position: static; grid-column: 1 / -1; margin-top: -4px; }
}
@media (max-width: 620px) {
    .early-access-help { min-height: 44px; }
    .early-access { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
    .early-access[data-state="send"] { width: calc(100% - 20px); }
    .early-access[data-state="apple"] { width: calc(100% - 20px); }
    .early-access[data-state="tester-confirmed"] { width: calc(100% - 20px); }
    .ea-header { padding: 6px 10px 6px 20px; }
    .ea-body { padding: 20px; }
    .ea-join-grid { grid-template-columns: 1fr; gap: 20px; }
    .ea-account-visual { width: 190px; justify-self: center; }
    .ea-actions > .button { flex: 1 1 100%; }
    .ea-send-close > .button { flex: 0 0 auto; }
}
@media (max-height: 500px) and (min-width: 621px) {
    .early-access { max-height: calc(100dvh - 16px); }
    .ea-header { padding-block: 2px; }
    .ea-body { padding-block: 18px; }
    .ea-join-grid { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; }
    .early-access h2 { margin-bottom: 16px; }
}
