html.archidex-in-app-browser,
html.archidex-in-app-browser body {
    overflow: hidden;
    height: 100%;
}

html.archidex-in-app-browser body > *:not(#archidex-in-app-browser-overlay) {
    display: none !important;
}

#archidex-in-app-browser-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    color: #1a1a1a;
    font-family: "Source Sans Pro", "Montserrat", Arial, sans-serif;
}

.archidex-in-app-browser__panel {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(15, 117, 189, 0.15);
    text-align: center;
}

.archidex-in-app-browser__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: transparent;
    color: #0f75bd;
}

#archidex-in-app-browser-overlay h1 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

#archidex-in-app-browser-overlay p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #444444;
}

.archidex-in-app-browser__steps {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 15px;
    line-height: 1.55;
    color: #333333;
}

.archidex-in-app-browser__steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.archidex-in-app-browser__steps li + li {
    margin-top: 14px;
}

.archidex-in-app-browser__step-number {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0f75bd;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.archidex-in-app-browser__button {
    display: inline-block;
    width: 100%;
    margin: 0 0 12px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: #0f75bd;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.archidex-in-app-browser__button:active {
    background: #0c629f;
}

.archidex-in-app-browser__button:disabled {
    background: #6baed6;
    cursor: default;
}

.archidex-in-app-browser__hint {
    margin: 0 0 16px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #777777 !important;
}

.archidex-in-app-browser__url {
    margin-bottom: 0 !important;
    padding: 12px;
    border-radius: 8px;
    background: #f3f6f9;
    word-break: break-all;
    font-size: 12px !important;
    color: #666666 !important;
    -webkit-user-select: text;
    user-select: text;
}

.archidex-in-app-browser__url--highlight {
    background: #e8f4fc;
    outline: 2px solid rgba(15, 117, 189, 0.35);
}
