/* "Download for iOS / Android" box. Markup: ee_app_install.php. Each platform sets the --ag-* values
   through its config (look); the fallbacks are a plain light theme. */
.app-get {
    --ag-ink: #13283a;
    --ag-ink-2: #4c5b69;
    --ag-paper: #fefdfa;
    --ag-line: #d4d9e0;
    --ag-accent: #c2391f;
    --ag-accent-ink: #ffffff;
    --ag-accent-press: #a8301a;
    --ag-focus: #e7a83a;
    --ag-radius: 8px;
    --ag-font: inherit;
    box-sizing: border-box;
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    color: var(--ag-ink);
    text-align: center;
}
.app-get *, .app-get *::before, .app-get *::after { box-sizing: border-box; }
.app-get h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
    line-height: 1.15;
}
.app-get__lede { margin: 0 auto 1.25rem; max-width: 34rem; color: var(--ag-ink-2); }
.app-get__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.app-get__buttons[hidden] { display: none; }
.app-get__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    min-width: min(100%, 14rem);
    padding: 0.7rem 1.25rem;
    border: 2px solid var(--ag-ink);
    border-radius: var(--ag-radius);
    background: var(--ag-paper);
    color: var(--ag-ink);
    font: 600 1rem/1.2 var(--ag-font);
    cursor: pointer;
    touch-action: manipulation;
}
.app-get__btn[hidden] { display: none; }
.app-get__btn.is-yours { background: var(--ag-accent); border-color: var(--ag-accent); color: var(--ag-accent-ink); }
.app-get__btn.is-yours:hover { background: var(--ag-accent-press); border-color: var(--ag-accent-press); }
.app-get__btn:not(.is-yours):hover,
.app-get__btn[aria-expanded="true"]:not(.is-yours) { background: var(--ag-line); }
.app-get__btn:focus-visible { outline: 3px solid var(--ag-focus); outline-offset: 2px; }
.app-get__steps {
    margin: 1rem auto 0;
    padding: 1rem 1rem 1rem 2.25rem;
    max-width: 26rem;
    border: 1px solid var(--ag-line);
    border-radius: min(var(--ag-radius), 16px);
    background: var(--ag-paper);
    color: var(--ag-ink);
    text-align: left;
    line-height: 1.6;
}
.app-get__steps[hidden] { display: none; }
.app-get__steps li + li { margin-top: 0.35rem; }
.app-get__steps svg { vertical-align: -3px; }
.app-get__status { min-height: 1.5em; margin: 0.75rem 0 0; font-weight: 600; }
.app-get__status:empty { min-height: 0; margin: 0; }
.app-get__in { margin: 0; font-weight: 600; }
.app-get__in[hidden] { display: none; }
.app-get__note { margin: 1rem auto 0; max-width: 32rem; font-size: 0.875rem; color: var(--ag-ink-2); }
@media (max-width: 480px) {
    .app-get__btn { width: 100%; }
}
