.mobile-app-links,
.mobile-app-notice {
    --store-text: var(--tblr-body-color, var(--ink, #172033));
    --store-muted: var(--tblr-muted, var(--ink-soft, #465166));
    --store-surface: var(--tblr-bg-surface, var(--paper-strong, #fffdf8));
    --store-border: var(--tblr-border-color, var(--line, #d8d1c5));
    --store-accent: var(--tblr-primary, var(--blue, #206bc4));
}

.mobile-app-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.mobile-app-links .mobile-app-store {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--store-text);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mobile-app-badge {
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: center;
}

.mobile-app-badge img {
    display: block;
    max-width: none;
    object-fit: contain;
}

.mobile-app-store:focus-visible,
.mobile-app-notice-close:focus-visible {
    outline: 3px solid var(--store-accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.mobile-app-notice {
    position: fixed;
    inset: 0;
    width: min(420px, calc(100vw - 32px));
    height: 232px;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
    color: var(--store-text);
    font: inherit;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-app-notice[open] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-app-notice::backdrop {
    background: rgb(15 23 42 / 55%);
}

.mobile-app-notice h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.mobile-app-notice p {
    flex: 1 1 auto;
    margin: 0;
    overflow-y: auto;
    color: var(--store-muted);
    font-size: 15px;
    line-height: 1.5;
}

.mobile-app-notice-close {
    flex: 0 0 auto;
    align-self: flex-end;
    min-height: 36px;
    padding: 6px 20px;
    border: 0;
    border-radius: 6px;
    background: var(--store-accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.mobile-app-prompt {
    position: fixed;
    z-index: 950;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    max-width: 420px;
    margin-inline: auto;
    padding: 10px;
    border: 1px solid var(--line, #d8d1c5);
    border-radius: 14px;
    background: var(--paper-strong, #fffdf8);
    color: var(--ink, #172033);
    box-shadow: 0 8px 26px rgb(15 23 42 / 16%);
}

.mobile-app-prompt:not([hidden]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
}

.ofis-maintenance-active .mobile-app-prompt,
.ofis-maintenance-allowed .mobile-app-prompt {
    display: none;
}

@media screen {
    .has-mobile-app-prompt:not(.ofis-maintenance-active):not(.ofis-maintenance-allowed) .site-footer {
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }
}

.mobile-app-prompt-logo {
    display: block;
    object-fit: contain;
}

.mobile-app-prompt-copy strong,
.mobile-app-prompt-copy span {
    display: block;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.mobile-app-prompt-copy span {
    margin-top: 3px;
    color: var(--ink-soft, #465166);
    font-size: .875rem;
}

.mobile-app-prompt-store,
.mobile-app-prompt-close {
    display: grid;
    min-height: 44px;
    place-items: center;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}

.mobile-app-prompt-store {
    padding-inline: 12px;
    background: var(--ink, #172033);
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-app-prompt-close {
    width: 44px;
    border: 0;
    background: transparent;
    color: var(--ink-soft, #465166);
}

.mobile-app-prompt :is(a, button):focus-visible {
    outline: 2px solid var(--blue, #206bc4);
    outline-offset: 2px;
}

@media (max-width: 359.98px) {
    .mobile-app-links {
        gap: 8px;
    }
}

@media print {
    .mobile-app-links,
    .mobile-app-notice,
    .mobile-app-prompt {
        display: none !important;
    }
}

.mobile-launch-modal {
    --launch-ink: var(--tblr-body-color, #182b49);
    --launch-muted: var(--tblr-secondary-color, #687991);
    --launch-paper: var(--tblr-bg-surface, #fff);
    --launch-line: var(--tblr-border-color, #e2e9f2);
    --launch-blue: var(--tblr-primary, #206bc4);
    width: min(870px, calc(100vw - 36px));
    height: min(590px, calc(100dvh - 36px));
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--launch-line);
    border-radius: 24px;
    background: var(--launch-paper);
    color: var(--launch-ink);
    box-shadow: 0 30px 100px rgb(10 31 62 / 28%);
    font-family: var(--font-body, var(--tblr-font-family, "Source Sans 3", sans-serif));
}
.mobile-launch-modal[open] { display: block; animation: mobile-launch-enter 240ms cubic-bezier(.2,.75,.25,1) both; }
.mobile-launch-modal::backdrop { background: rgb(12 28 53 / 68%); backdrop-filter: blur(5px); }
.mobile-launch-shell {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: minmax(285px, .88fr) minmax(0, 1.12fr);
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
}
.mobile-launch-dismiss-icon {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--launch-line);
    border-radius: 50%;
    background: var(--launch-paper);
    color: var(--launch-muted);
    font-size: 16px;
    cursor: pointer;
}
.mobile-launch-dismiss-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}
.mobile-launch-art {
    position: relative;
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    padding: 28px 18px 46px;
    background: linear-gradient(145deg, #f4f8fe, #e9f1fc 58%, #d8e7fb);
}
.mobile-launch-art img { display: block; width: min(100%, 420px); max-height: 100%; object-fit: contain; }
.mobile-launch-art-caption {
    position: absolute;
    bottom: 21px;
    left: 24px;
    color: #325780;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}
.mobile-launch-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
    padding: 54px 44px 32px;
}
.mobile-launch-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--launch-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
}
.mobile-launch-kicker > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18a879;
    box-shadow: 0 0 0 4px rgb(24 168 121 / 12%);
}
.mobile-launch-content h2 {
    max-width: 400px;
    margin: 0 0 13px;
    color: var(--launch-ink);
    font-family: var(--font-display, var(--tblr-font-family, "Source Sans 3", sans-serif));
    font-size: clamp(30px, 3.6vw, 40px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.05;
}
.mobile-launch-lead { margin: 0; color: var(--launch-muted); font-size: 16px; line-height: 1.55; }
.mobile-launch-reminder {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0 18px;
    padding: 13px 14px;
    border: 1px solid #dceafa;
    border-radius: 13px;
    background: #f4f8fe;
}
.mobile-launch-reminder-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: #e3efff;
    color: var(--launch-blue);
}
.mobile-launch-reminder-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.mobile-launch-reminder p { margin: 0; color: #52657d; font-size: 13px; line-height: 1.45; }
.mobile-launch-reminder strong { display: block; margin-bottom: 2px; color: var(--launch-ink); font-size: 13px; }
.mobile-launch-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mobile-launch-stores a {
    display: grid;
    min-height: 54px;
    place-items: center;
    padding: 3px 8px;
    border: 1px solid var(--launch-line);
    border-radius: 10px;
    background: #fff;
    transition: transform 160ms ease, border-color 160ms ease;
}
.mobile-launch-stores a:hover { transform: translateY(-2px); border-color: #9ebfe9; }
.mobile-launch-stores img { display: block; max-width: min(152px, 38vw); max-height: 46px; object-fit: contain; }
.mobile-launch-login-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    color: var(--launch-muted);
    font-size: 12px;
    line-height: 1.4;
}
.mobile-launch-login-note i { margin-top: 2px; color: var(--launch-blue); }
.mobile-launch-footer {
    display: flex;
    min-height: 76px;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
    border-top: 1px solid var(--launch-line);
    background: var(--launch-paper);
}
.mobile-launch-footer > span { max-width: 300px; color: var(--launch-muted); font-size: 12px; line-height: 1.35; }
.mobile-launch-footer > div { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.mobile-launch-footer button {
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.mobile-launch-never { border: 0; background: transparent; color: var(--launch-muted); }
.mobile-launch-later { border: 0; background: var(--launch-blue); color: #fff; box-shadow: 0 4px 10px rgb(32 107 196 / 20%); }
.mobile-launch-modal :focus-visible { outline: 3px solid #7fb2f4; outline-offset: 3px; }
@keyframes mobile-launch-enter {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 680px) {
    .mobile-launch-modal { width: calc(100vw - 24px); height: min(760px, calc(100dvh - 24px)); border-radius: 20px; }
    .mobile-launch-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 190px minmax(0, 1fr) auto; }
    .mobile-launch-art { padding: 7px 60px 19px; }
    .mobile-launch-art img { width: min(100%, 270px); }
    .mobile-launch-art-caption { bottom: 10px; left: 17px; font-size: 11px; }
    .mobile-launch-content { padding: 22px 24px 18px; }
    .mobile-launch-kicker { margin-bottom: 10px; font-size: 10px; }
    .mobile-launch-content h2 { max-width: 340px; margin-bottom: 9px; font-size: clamp(27px, 8vw, 35px); }
    .mobile-launch-lead { font-size: 14px; }
    .mobile-launch-reminder { margin: 13px 0; padding: 10px 12px; }
    .mobile-launch-stores { gap: 7px; }
    .mobile-launch-stores a { min-height: 48px; padding: 2px 6px; }
    .mobile-launch-stores img { max-height: 42px; }
    .mobile-launch-login-note { margin-top: 10px; }
    .mobile-launch-footer { min-height: 72px; gap: 8px; padding: 9px 13px; }
    .mobile-launch-footer > span { max-width: 132px; font-size: 10px; }
    .mobile-launch-footer > div { gap: 3px; }
    .mobile-launch-footer button { min-height: 38px; padding: 7px 9px; font-size: 11px; }
}
@media (max-width: 380px) {
    .mobile-launch-shell { grid-template-rows: 155px minmax(0, 1fr) auto; }
    .mobile-launch-content { padding: 17px 18px 13px; }
    .mobile-launch-reminder { margin: 9px 0; }
    .mobile-launch-footer > span { max-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-launch-modal[open] { animation: none; }
    .mobile-launch-stores a { transition: none; }
}
@media print { .mobile-launch-modal { display: none !important; } }
